/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.hero-header {
  width: 100%;
  height: 60vh;
  background: linear-gradient(to right, rgba(4, 21, 117, 0.8), rgba(4, 4, 111, 0.9));
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTENEDOR INTERNO */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
  max-width: 800px;
  width: 100%;
  animation: fadeIn 1.5s ease-out forwards;
}

/* LOGO */
.hero-logo {
  width: 170px;
  height: 120px;
  object-fit: contain;
  border-radius: 25%;
  background: rgba(255,255,255,0.1);
  padding: 5px;
}

/* TEXTO PRINCIPAL */
.hero-text {
  font-size: 1.6rem;
  color: rgb(255, 213, 0);
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  animation: slideUp 1.8s ease-out forwards;
}

/* TEXTO SECUNDARIO ANIMADO */
.hero-subtext {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeText 3s ease-in-out 0.8s forwards;
}

/* BOTÓN DE LLAMADA */
.call-button {
    font-size: 1.5rem;
  margin-top: 0.5rem;
  background: #f4e80a;
  color: #030303;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.call-button:hover,
.call-button:focus {
  background: #00a844;
  transform: scale(1.05);
  outline: none;
}

/* ANIMACIONES */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeText {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .hero-logo {
    width: 150px;
    height: 130px;
  }
  .hero-text-container {
    flex: 1;
  }
  .hero-text {
    font-size: 2rem;
  }
  .hero-subtext {
    font-size: 1.3rem;
  }
  .call-button {
    align-self: center;
    font-size: 1.5rem;
  }
  .hero-header {
    height: 15vh;
  }
}


 /* === BASE Y RESET === */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* === SECCIÓN PRINCIPAL === */
  .info-section {
    width: 100%;
    padding: 2rem 1rem;
    background: #f8f9fb;
    color: #1a1a1a;
    display: flex;
    justify-content: center;
  }

  .info-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
  }

  /* === TEXTO === */
  .info-text {
    text-align: center;
  }

  .info-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #021b41, #4604b0);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }

  .info-description {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #444;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
  }

  /* === IMAGEN === */
  .info-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }


  .info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }

  .info-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .info-image:hover img {
    transform: scale(1.05);
  }

  /* === RESPONSIVE PARA ESCRITORIO === */
  @media (min-width: 768px) {
    .info-container {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }

    .info-text {
      text-align: left;
    }
  }


/* === SECCIÓN === */
  .animated-list-section {
    width: 100%;
    background: #f9fafc;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    color: #222;
  }

  .list-container {
    width: 100%;
    max-width: 700px;
    text-align: center;
  }

  .list-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #012d5d, #0603a2);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* === LISTA === */
  .animated-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .animated-list li {
    font-size: clamp(1.3rem, 3vw, 1.45rem);
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-family: 'Segoe UI', sans-serif;
    color:#002650;
    letter-spacing: 1px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
  }

  .animated-list li.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* === ACCESIBILIDAD (REDUCE MOTION) === */
  @media (prefers-reduced-motion: reduce) {
    .animated-list li {
      transition: none;
      transform: none;
      opacity: 1;
    }
  }


/* === SECCIÓN === */
  .whatsapp-banner-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
  }

  /* === BANNER === */
  .whatsapp-banner {
    background: #25d366;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(40px);
    opacity: 0;
    animation: fadeSlideUp 1.2s ease-out forwards;
  }

  /* === CONTENIDO === */
  .whatsapp-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .whatsapp-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
  }

  .banner-title {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 700;
  }

  .banner-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    opacity: 0.9;
  }

  /* === BOTÓN === */
  .whatsapp-button {
    background: #fff;
    color: #12ab4a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .whatsapp-button:hover,
  .whatsapp-button:focus {
    background: #e9f9ef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }

  .whatsapp-button:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 3px;
  }

  /* === ANIMACIÓN === */
  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* === ACCESIBILIDAD: Reduce motion === */
  @media (prefers-reduced-motion: reduce) {
    .whatsapp-banner {
      animation: none;
      transform: none;
      opacity: 1;
    }
    .whatsapp-button {
      transition: none;
    }
  }

  /* === RESPONSIVE === */
  @media (min-width: 600px) {
    .whatsapp-banner {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
    }

    .whatsapp-content {
      text-align: left;
    }
  }



.service-section {
    width: 100%;
    background: #f3f5f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1.5rem;
  }

  .service-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    align-items: center;
  }

  /* === TEXTO === */
  .service-text {
    text-align: center;
  }

  .service-title {
    font-size: clamp(1.7rem, 5vw, 3rem);
    font-weight: 800;
    color: #0d2239;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    cursor: default;
  }

  /* ANIMACIÓN INTERACTIVA EN EL TÍTULO */
  .service-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 6px;
    background: linear-gradient(90deg, #c8cb01, #c3b300);
    border-radius: 2px;
    transition: width 0.8s ease;
  }


  .service-title:hover::before {
    width: 100%;
  }

  .service-description {
    font-size: clamp(1.35rem, 2.5vw, 1.45rem);
    color: #444;
    line-height: 1.8;
    max-width: 600px;
    margin: 1.5rem auto 2rem;
  }

  .service-button {
    display: inline-block;
    background: linear-gradient(180deg, #d2ac00, #c0c300);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-size: 1.5rem;
  }

  .service-button:hover,
  .service-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.3);
  }

  .service-button:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 3px;
  }

  /* === IMAGEN === */
  .service-image {
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
  }

  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
  }

  .service-image:hover img {
    transform: scale(1.05);
  }

  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
  }

  /* === ANIMACIONES === */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* === RESPONSIVE (DESKTOP) === */
  @media (min-width: 768px) {
    .service-container {
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }

    .service-text {
      text-align: left;
    }

    .service-title {
      display: inline-block;
    }
  }

  /* === ACCESIBILIDAD === */
  @media (prefers-reduced-motion: reduce) {
    .service-title::before,
    .service-image,
    .service-image img {
      transition: none;
      animation: none;
    }
  }

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }

  .faq-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
  }

  .faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
  }

  .faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    color: #005175;
  }

  .faq-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
  }

  .faq-question[aria-expanded="true"]::after {
    content: "–";
  }

  .faq-answer {
    font-size: 1.4rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 1rem;
  }

  .faq-answer p {
    margin: 0;
    color: #444;
    line-height: 1.5;
  }

  /* Responsive adjustments */
  @media (min-width: 600px) {
    .faq-title {
      font-size: 1.7rem;
    }

    .faq-question {
      font-size: 1.35rem;
    }
  }

   .lock-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #e0f7ff, #f1fcff);
    border-radius: 16px;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
  }

  .lock-content {
    max-width: 500px;
  }

  .lock-section h2 {
    font-size: 1.5rem;
    color: #003c57;
    margin-bottom: 0.5rem;
  }

  .lock-description {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .lock-button {
    background-color: #0077a6;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .lock-button:hover,
  .lock-button:focus {
    background-color: #005175;
  }

  .lock-animation {
    margin-bottom: 2rem;
  }

  .lock-svg {
    width: 120px;
    height: auto;
  }

  /* Responsive design */
  @media (min-width: 600px) {
    .lock-section {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
      padding: 1.5rem;
    }

    .lock-animation {
      margin-bottom: 0;
    }

    .lock-svg {
      width: 190px;
    }

    .lock-content h2 {
      font-size: 1.7rem;
    }

    .lock-description {
      font-size: 1.25rem;
    }
  }



 .service-areas-section {
    background: linear-gradient(135deg, #f2fbff, #e6f6fb);
    padding: 2rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    color: #003b55;
    max-width: 960px;
    margin: 2rem auto;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
  }

  .areas-container {
    text-align: center;
  }

  .areas-title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #002c3f;
  }

  .areas-description {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #444;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .areas-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    font-size: 1.4rem;
  }

  .areas-list li {
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .areas-list li:hover {
    transform: translateY(-2px);
    background: #e0f7ff;
  }

  .areas-list a {
    color: #005175;
    text-decoration: none;
    font-weight: 600;
    display: block;
  }

  .areas-list a:hover,
  .areas-list a:focus {
    text-decoration: underline;
    outline: none;
  }

  @media (min-width: 600px) {
    .areas-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 900px) {
    .areas-list {
      grid-template-columns: repeat(3, 1fr);
    }

    .areas-title {
      font-size: 1.7rem;
    }

    .areas-description {
      font-size: 1.4rem;
    }
  } 

/* Estilo general para el footer */
.footer {
  width: 100%;
  padding: 20px;
  background: linear-gradient(to right, rgba(4, 21, 117, 0.8), rgba(4, 4, 111, 0.9));
  color: #fff; /* Texto blanco */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor principal del footer */
.footer-container {
  max-width: 1200px; /* Para evitar que el contenido se expanda demasiado */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenido del footer */
.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Estilo de la imagen */
.footer-image {
  width: 200px; /* Tamaño de la imagen */
  height: auto;
  border-radius: 29%; /* Imagen circular */
  object-fit: cover;
  margin-bottom: 15px;
}

/* Estilo del texto */
.footer-text {
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 90%;
  margin-bottom: 15px;
}

/* Estilo del botón de llamada */
.cta-button {
  padding: 12px 30px;
  font-size: 1.5rem;
  background-color: #ab0a0a;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #008c9e; /* Cambio de color al pasar el mouse */
  transform: translateY(-3px); /* Efecto de elevación */
}

/* Responsividad para móviles */
@media (max-width: 767px) {
  .footer-text {
    font-size: 1.3rem; /* Texto más pequeño en móviles */
  }
  .footer-container {
    padding: 20px;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 1.5rem;
  }
}