
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
      Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #e8e8e8;
    background: #131313 url('https://images.unsplash.com/photo-1470165518249-f043df86c457?auto=format&fit=crop&w=1350&q=80')
      no-repeat center / cover fixed;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.img_shadow {
    box-shadow: 12px 12px 15px rgba(0, 0, 0, 0.8);
    border-radius: 20px; /* según la imagen, tiene esquinas redondeadas */
    overflow: hidden;
}

.green_h2{
    color: #62D7C3;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
li{
    display: flex;
    text-align: center;
    align-items: center;
}
/* Utility */
.container {
  width: min(92%, 1200px);
  margin-inline: auto;
}
.btn {
    
    width: 150px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #62D7C3;
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0.674);
    color: #E7E7E7;
    font-size: 16px; /* Ajusta según el tamaño real del texto */
    font-family: sans-serif; /* Cámbialo por la fuente usada si es distinta */
    cursor: pointer;
    box-sizing: border-box;
      
}
.btn:hover {
  box-shadow: 0 0 10px #62D7C3, 0 0 20px #62D7C3;
  color: #62D7C3;
  text-shadow: 0 0 5px #62D7C3, 0 0 10px #62D7C3;
}

/* NAVBAR */
header {
  background: linear-gradient(180deg, #2E2E2E 0%, #0B0B0B 100%);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
}
/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(19, 19, 19, 0.8);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}

.navbar__brand {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .6px;
}

.navbar__links {
  display: flex;
  gap: 3rem;
  transition: transform .35s ease;
}

/* ---------- TOGGLE (hamburguesa) ---------- */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.navbar__toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* animación X */
.navbar__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15%;
  background-image: url("./asstes/frame1.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 900px;
  z-index: 0;
  position: relative;
}
.hero__content {
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.hero p {
    font-family: Roboto;
    font-size: 16px;
    width: 400px;

  margin-bottom: 1.6rem;
  opacity: 0.85;
  font-weight: 600;
}

.hero_pages{
    height: 900px;
    width: 780px;
    background-image: url("./asstes/paginas.png");
}

.hero_info{
    width: 100%;
    height: 220px; /* Ajusta según necesidad */
    background: linear-gradient(
      90deg,
      #62D7C3 0%,
      #347166 75%
    );
    color: #E7E7E7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero_info p{
    font-family: 'Roboto';
    max-width: 900px;
    font-weight: 400;
    font-size: 22px;
}

.hero_info p span{
    font-weight: 700;
}

/* FEATURES GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin: 4rem 0;
  margin-bottom: 110px;
}
.card {
  background: #131313;
  border: 1px solid #62D7C3;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  padding-bottom: 25px;
}
.card:hover {
  transform: translateY(-6px);
}
.card img {
  width: 303px;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* MISSION & VISION */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin: 4rem 0;
}
.split.reverse {
  flex-direction: row-reverse;
}
.split img {
  flex: 1 1 300px;
  border-radius: 10px;
}
.split div {
  flex: 1 1 280px;
}
.split h2 {
  font-size: 3rem;
  margin-bottom: 0.6rem;
}
.split p{
    font-size: 21px;
}

/* OTHER SERVICES */
.other-services {
  margin: 5rem 0;
}

/* FAQ */
.faq {
  margin: 4rem auto;
  max-width: 1200px;
  color: var(--c-text);
}

.faq__wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

/* ---------- LISTA ---------- */
.faq__list {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  border: 1px solid var(--c-main);
  border-radius: 12px;
  background: #131313;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease;
  border: 1px solid #62D7C3;
  flex-direction: column;
}

.faq__item.active {
  background-color: #62D7C3;
  border: 1px solid #F0F0F0;
  color: #131313;
}

.faq__question {
  display: block;
  width: 100%;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.faq__answer {
  padding: 0 1.4rem 1rem;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 400px;       /* suficiente para el texto */
  opacity: 1;
}

/* ---------- SOPORTE ---------- */
.faq__support {
  flex: 1 1 320px;
  border: 1px solid var(--c-main);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #131313;
  border: 1px solid #62D7C3;
}

.faq__support{
  cursor: pointer;
}

.faq__support h2{
  color: #62D7C3 !important;
}

.faq__tag {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.faq__support h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--c-main);
  margin-bottom: 0.8rem;
}

.faq__support p {
  max-width: 32ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ---------- BUSCADOR ---------- */
.faq__search {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--c-main);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
}

.faq__search svg {
  width: 20px;
  stroke: var(--c-main);
  margin-right: 0.6rem;
}

.faq__search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--c-text);
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  outline: none;
}

.bg2{
    width: 100%;
    background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, #131313 100%), url("./asstes/bg2.png");
    height: 2100px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
}

/* FOOTER */
footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;

  /* ① Capa de degradado (negro arriba, transparente hacia abajo)
     ② Tu imagen de fondo  */
  background-image:
  linear-gradient(to bottom,
  rgba(19, 19, 19, 0.8) 0%,      /* negro fuerte solo en el borde superior  */
  rgba(0, 0, 0, 0.4) 25%,     /* se va aclarando…                    */
  rgba(0, 0, 0, 0)   60%),    /* …hasta ser 100 % transparente       */
    url("./asstes/footer.png");     /* <-- corrige la ruta si es “assets”  */

  background-size: cover;
  background-repeat: no-repeat;
}

footer h2{
  font-size: 40px;
}

footer p {
  font-size: 21px;
}
footer img{
  display: flex;
  top: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer img:hover{
  cursor: pointer;
}
#vision,#mision,.other-services{
    display: flex;
    top: 200px;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
}



.other-services{
  flex-direction: column;
  top: 750px;
  text-align: center;
}

.other-services h2{
  font-size: 3rem;
}

.other-services .text{
  font-size: 21px;
}

.other-services .card img{
  width: 600px;
}

.other-services .card p{
  padding-left: 15px;
  padding-right: 15px;
}

.other-services .features {
  grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
  gap: 4rem;
  margin: 4rem 0;
  margin-bottom: 110px;
  background: radial-gradient(circle, #115448 0%, #131313 50%);

}

/* === Animaciones de entrada ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeZoom {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Estado inicial (oculto) */
.fade-up,
.fade-zoom { opacity: 0; }

/* Se activan cuando se agrega .visible vía JS */
.fade-up.visible   { animation: fadeUp   .7s ease-out forwards; }
.fade-zoom.visible { animation: fadeZoom .8s ease-out forwards; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.05); }
}

/* Clases utilitarias */
.slide-down.visible  { animation: slideDown .6s ease-out forwards; }
.slide-left.visible  { animation: slideLeft .7s ease-out forwards; }
.slide-right.visible { animation: slideRight .7s ease-out forwards; }
.pulse.visible       { animation: pulse 1.2s ease-out forwards; }

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  /* Ocultar lista mientras no se abra */
  .navbar__links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: min(75%, 300px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: #0b0b0b;
    transform: translateX(100%);
    display: none;
  }
  /* Mostrar lista cuando el toggle tiene clase active */
  .navbar__links.open { display: flex;transform: translateX(0); }

  /* Mostrar botón hamburguesa */
  .navbar__toggle { display: flex; }

  /* Evita que en desktop el menú se esconda */
  .navbar__inner > .navbar__links { gap: 2rem; }
  .hero p {
    width: auto;
    width: 300px;
  }
  .hero__content {
    background-color: #000000d7;
    border-radius: 9px;
    padding: 15px;
    position: relative;
    left: -30px;
  }
  .hero h1 {
    width: 300px;
  }
  .hero_pages{
    width: 100vw;
    display: flex;
    position: absolute;
    left: 0px;
    z-index: -1;
    background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(12, 12, 12, 1) 100%),
    url("./asstes/paginas.png");
  }
  .hero_info{
    padding: 30px;
  }
   .hero_info p{
    font-size: 19px;
  }
  .card img{
    width: 200px;
    margin-bottom: 0;

  }

  .split p, .split h2{
    text-align: center;
  }
  .bg2{
    height: 5100px;
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
  }

  .other-services .card img{
    width: 400px;
  }

  .other-services{
    top: 1000px;
    margin-bottom: 0px;
  }
  
  
  .other-services .features {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    background: radial-gradient(circle, #115448 0%, #131313 20%);
    margin-bottom: 10px;
  }
  
}

@media (min-width: 769px) and (max-width: 1150px) {
  .other-services{
    top: 1250px;
  }
  .other-services .features {
    margin-bottom: 1000 px;
  }
  .faq{
    margin-top: 100px;
  }
}