@import url('https://rsms.me/inter/inter.css');

:root {
  --color-bg: #fff;
  --color-text: #111;
  --color-primary: #0a3d62;
  --color-primary-light: #227093;
  --color-shadow: rgba(0,0,0,0.1);
  --font-family: 'Inter', sans-serif;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0; padding: 0; box-sizing: border-box;
}
header { 
  transition: transform 0.3s ease-in-out;
}
section {
  scroll-margin-top: 80px; /* ajusta según la altura de tu header */
}
body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}
.notch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top);
  background-color: white;
  z-index: 9999; /* encima de todo */
  pointer-events: none;
}
header {
  position: fixed;
  top: env(safe-area-inset-top); /* empieza justo debajo del notch */
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* debajo de la capa del notch */
  box-shadow: 0 1px 5px var(--color-shadow);
}
header .main-nav {
  display: flex;
  gap: 1.5rem;
}

header .main-nav a {
  text-decoration: none;
  color: #0a3d62;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

header .main-nav a:hover {
  background: #1e90ff;
  color: #ffffff;
}

/* Botón hamburguesa oculto por defecto */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Transformación a X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.logo-container {
  display: flex;          /* Horizontal */
  align-items: center;    /* Centrado vertical */
  gap: 12px;              /* Espacio entre imagen y texto */
}

.logo-img {
  height: 30px;           /* Ajusta según tu diseño */
  width: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  user-select: none;
  transition: color 0.3s ease;
  margin: 0;
}
.volver-btn {
  background: #1e90ff;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.volver-btn:hover {
  background: #0a74d6;
}
/* ==========================
   MENU CARD ESTÉTICA MODERNA
========================== */
.menu-card {
  display: none; /* oculto por defecto */
  position: absolute;
  top: 100%;
  right: 1rem;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 1rem;
  width: 220px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none; /* bloqueado cuando oculto */
  z-index: 1050;
}

/* Mostrar el menú */
.menu-card.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Estilo de enlaces */
.menu-card a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-card a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Botón de acción dentro del menú (si hay) */
.menu-card .menu-btn {
  display: inline-block;
  text-align: center;
  background: #0a3d62;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.menu-card .menu-btn:hover {
  background: #227093;
}

/* Separadores opcionales */
.menu-card hr {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 0.5rem 0;
}

/* Iconos dentro del menú (si los usas) */
.menu-card .menu-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.menu-card .menu-item:hover {
  background: rgba(10,61,98,0.1);
}
/* Botón "Empezar" dentro de la tarjeta */
.menu-card .volver-btn-card {
  display: block;
  text-align: center;
  background: #0a3d62;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.menu-card .volver-btn-card:hover {
  background: #227093;
  transform: translateY(-2px);
}
/* HERO SECTION SPLIT */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  color: #fff; /* texto claro sobre fondo */
  background: url('../img/mas/fondo.png') no-repeat center center;
  background-size: cover; /* la imagen cubre toda la sección */
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* capa semi-transparente */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2; /* para que el texto quede encima del overlay */
}
.hero-text {
  flex: 1;
  max-width: 600px;
}
.hero-text h1 {
  margin-top: 12rem;
  margin-bottom: 20px;
}
.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero .cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ff7a59;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.hero .cta-btn:hover {
  background-color: #ff5a33;
}

/* ================================
   CONTENEDOR DE TODAS LAS TARJETAS
================================ */
.pricing-cards-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 0;
}

/* ================================
   ESTILOS BASE DE UNA CARD
================================ */
.pricing-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 100px;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.1);
}

/* ================================
   PARTES DE LA CARD
================================ */
.pricing-card-header {
  padding: 2rem 1.5rem 1rem;
  text-align: left;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.pricing-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.pricing-card-price {
  margin-top: 1.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 600;
  color: #111827;
}

.pricing-period {
  font-size: 1rem;
  color: #6b7280;
  margin-left: 0.25rem;
}

.pricing-card-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

/* ================================
   BOTONES BASE
================================ */
.pricing-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ================================
   VARIANTES DE COLOR
================================ */

/* Starter - Negro */
.pricing-card--starter {
  border-top: 6px solid #000;
}

.pricing-btn--starter {
  background: #000;
  border-color: #000;
  color: #fff;
}

.pricing-btn--starter:hover {
  background: transparent;
  color: #000;
}

/* Pro - Azul/Violeta */
.pricing-card--pro {
  border-top: 6px solid #4f46e5;
}

.pricing-btn--pro {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.pricing-btn--pro:hover {
  background: transparent;
  color: #4f46e5;
}

/* ================================
   RESPONSIVE: MENOS DE 1366px
================================ */
@media (max-width: 1366px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin: 2rem 0;
    margin-top: -50px;
  }

 

  .pricing-card {
    max-width: 90%;
  }
}
/* ================================
   RESPONSIVE: MÓVILES Y TABLETS
   (hasta 1024px de ancho)
================================ */
@media (max-width: 1024px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
  }

  /* Ocultar navegación principal y demás elementos */
  .main-nav,
  header > *:not(.logo-container):not(.hamburger):not(.menu-card){
    display: none;
  }
.hamburger {
    display: flex; /* mantener dirección columna */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100; /* encima del menú */
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%; /* asegura que se vea */
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
}
  /* Mantener visible logo + imagen */
  .logo,
  .logo-img {
    display: inline-flex;
    align-items: center;
    font-size: 1rem; /* más pequeño */
    height: 25px;   
  }

  /* Ajustar botón volver */
  .volver-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Reducir tipografía general */
  body {
    font-size: 14px;
    margin-top: -100px;
  }

   .hero-text h1 {
    display: none;
    font-size: 1rem;   /* más pequeño en tablets */
    margin-top: 15rem;   /* menos espacio superior */
  }
  .hero-text h2{
    margin-top: 250px;
  }



/* Móviles grandes */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
}
@media (max-width: 652px) {
  .pricing-card {
    min-width: 200px;
    max-width: 250px;
    margin-top: 80px; /* opcional, si quieres ajustar el espaciado */
  }
}
/* Móviles pequeños */
@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

/* From Uiverse.io by gharsh11032000 */ 
.animated-button {
  position: relative;
  display: inline-flex; /* Cambio de flex a inline-flex */
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none; /* Para que <a> no tenga subrayado */
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}




.feature-block {
  text-align: center;
  padding: 60px 20px;
  background-color: white;
}

.feature-block h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 40px;
}

.feature-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* espacio entre imagen y texto */
  flex-wrap: wrap; /* para que en móvil se apilen */
}

.feature-inner img {
  width: 500px;
  max-width: 100%;
  border-radius: 15px;

}

.feature-text {
  max-width: 500px;
  text-align: left;
}

.feature-subtitle {
  font-size: 1.6rem; /* más grande que el párrafo */
  color: #1e3a8a;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #374151;
}

.feature-block-wide {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.feature-block-wide h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 30px;
}

.feature-inner-wide {
  display: flex;
  flex-direction: column; /* texto arriba, imagen abajo */
  align-items: center;
  gap: 0px;
}

.feature-text-wide {
  max-width: 700px;
  text-align: center;
}

.feature-text-wide p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #374151;
}

.feature-inner-wide img {
  width: 80%; /* imagen amplia pero no ocupa toda la pantalla */
  max-width: 900px;
  border-radius: 15px;
  
}


.feature-block-legal {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.feature-block-legal h2 {
  font-size: 2.2rem;
  color: #1e40af;
  margin-bottom: 20px;
}

.feature-block-legal p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 30px;
}

.feature-block-legal img {
  width: 60%;
  max-width: 500px;

}


.feature-section-gps {
  background-color: #f4d8ad; /* fondo naranja claro para toda la sección */
  color: #000000; /* texto negro */
  padding: 60px 20px;
}

.feature-section-gps .feature-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* centra títulos y párrafos */
}

.feature-section-gps .feature-text {
  flex: 1;
  min-width: 300px;
}

.feature-section-gps .feature-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.feature-section-gps .feature-text h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-section-gps .feature-text p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.feature-section-gps .feature-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.feature-section-gps .feature-image img {
  max-width: 60%;
  border-radius: 10px;
}

/* Responsive: columna única en móviles */
@media (max-width: 768px) {
  .feature-section-gps .feature-container {
    flex-direction: column;
    padding: 0 10px;
  }
  .feature-section-gps .feature-text,
  .feature-section-gps .feature-image {
    padding: 10px 0;
  }
  
}

/* BENEFICIOS */
.beneficios {
  padding: 6rem 5%;
  background-color: #f0f4f8;
  text-align: center;
}

.beneficios h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0a3d62;
}

/* Grid de tarjetas */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Tarjetas */
.beneficio-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Iconos */
.beneficio-card .icono {
  margin-bottom: 1rem;
  color: #1e3a8a; /* azul corporativo */
}

.beneficio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.beneficio-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* Colores de fondo suaves */
.beneficio-card:nth-child(1) { background-color: #e0f2ff; }
.beneficio-card:nth-child(2) { background-color: #fff3e0; }
.beneficio-card:nth-child(3) { background-color: #e6ffed; }
.beneficio-card:nth-child(4) { background-color: #fce4ff; }

/* CARRUSEL */
.carrusel {
  padding: 6rem 5%;
  text-align: center;
  background: #ffffff;
}

.carrusel h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #0a3d62;
}

/* Contenedor del slider */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Pista de slides */
.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* Cada tarjeta */
.slider-track .card {
  min-width: 100%;
  user-select: none;

  /* Centrar contenido */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Fijar tamaño cuadrado */
  width: 600px;
  height: 600px;
  margin: 0 auto; /* Centrar la tarjeta en el slider */

  /* Espacio interno */
  padding: 20px; /* margen interno para que la imagen no toque los bordes */
  box-sizing: border-box;
}

/* Imagen dentro de la tarjeta */
.slider-track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* mantiene proporción, no se estira */
  display: block;
  border-radius: 16px;
}


/* Puntos de navegación */
.slider-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background-color: #1e3a8a; /* azul corporativo */
}
/* Contenedor de imagen con padding solo para tarjetas 1 y 2 */
.slider-track .card-1 .img-wrapper,
.slider-track .card-2 .img-wrapper {
  padding: 60px; /* espacio deseado */
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Imagen dentro del contenedor */
.slider-track .card-1 img,
.slider-track .card-2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

/* Mantener estilo general de las imágenes */
.slider-track .card-1 img,
.slider-track .card-2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}


/* ----------------------------
   MEDIA QUERIES CARRUSEL
---------------------------- */

/* Tablets grandes */
@media (max-width: 1024px) {
  .slider-track .card {
    width: 450px;
    height: 450px;
    padding: 15px;
  }
  .slider-track .card-1 .img-wrapper,
  .slider-track .card-2 .img-wrapper {
    padding: 40px;
  }
}

/* Tablets pequeñas / móviles grandes */
@media (max-width: 768px) {
  .slider-track .card {
    width: 350px;
    height: 350px;
    padding: 10px;
  }
  .slider-track .card-1 .img-wrapper,
  .slider-track .card-2 .img-wrapper {
    padding: 30px;
  }
  .carrusel h2 {
    font-size: 2rem;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .slider-track .card {
    width: 250px;
    height: 250px;
    padding: 5px;
  }
  .slider-track .card-1 .img-wrapper,
  .slider-track .card-2 .img-wrapper {
    padding: 15px;
  }
  .carrusel h2 {
    font-size: 1.5rem;
  }
}
/* PARTNERS */
.partners {
  padding: 5rem 5%;
  text-align: center;
  background: #f9fafb; /* gris claro para diferenciar la sección */
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #0a3d62;
  font-weight: 600;
}

/* Contenedor de logos */
.partners .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Logos individuales */
.partners .logos img {
  max-height: 60px; /* controla la altura de los logos */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%); /* logos en gris inicialmente */
  opacity: 0.7;
}

/* Efecto hover */
.partners .logos img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .partners .logos {
    gap: 2rem;
  }
  .partners .logos img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .partners h2 {
    font-size: 1.5rem;
  }
  .partners .logos img {
    max-height: 40px;
  }
}


/* FAQ */
.faq {
  padding: 5rem 5%;
  background: #fff;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0a3d62;
  font-weight: 600;
}

/* Contenedor */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* Item FAQ */
.faq-item {
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: #e8f0fa;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  position: relative;
  padding-right: 2rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: #0a3d62;
  transition: transform 0.3s ease;
}

/* Respuesta oculta por defecto */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-top: 0.5rem;
  color: #444;
  line-height: 1.5;
}

/* Activo */
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-question::after {
  content: "−"; /* cambia el + por un - */
  transform: rotate(180deg);
}


/* CONTACTO */
.contacto {
  padding: 5rem 5%;
  background: #f4f6fb; /* gris azulado suave */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0a3d62;
  font-weight: 600;
}

/* Estilo de la tarjeta del formulario */
.contacto form {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Inputs y textarea */
.contacto input,
.contacto textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #dce1eb;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  resize: none;
  background: #fdfdfd;
}

.contacto input:focus,
.contacto textarea:focus {
  border-color: #1e90ff;
  outline: none;
  box-shadow: 0 0 6px rgba(30, 144, 255, 0.25);
}

/* Botón */
.contacto button {
  padding: 0.9rem;
  background: #1e90ff;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contacto button:hover {
  background: #0a74d6;
  transform: translateY(-2px);
}

.contacto button:active {
  transform: translateY(0);
}

.contacto p{
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
  .contacto h2 {
    font-size: 1.6rem;
  }

  .contacto form {
    padding: 2rem 1.5rem;
  }
}


/* FOOTER */
footer {
  background-color: #0a3d62 !important;
  color: #fdfdfd;
  padding: 2.5rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

/* Correo de contacto */
footer a[href^="mailto:"] {
  color: #fdfdfd;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

footer a[href^="mailto:"]:hover {
  color: #ffdd57; /* amarillo suave */
  text-decoration: none;
}

/* Redes sociales */
footer .redes {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

footer .redes a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

footer .redes a:hover img {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 600px) {
  footer {
    padding: 2rem 3%;
  }

  footer .redes {
    gap: 1rem;
  }

  footer .redes a img {
    width: 24px;
    height: 24px;
  }
}

/* Contenedor de mensajes flash */
.flash-messages {
    margin: 15px 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Mensaje de éxito */
.flash.success {
    background-color: #e0f7e9; /* verde muy suave */
    color: #2a7a42; /* verde oscuro para el texto */
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

/* Mensaje de error */
.flash.error {
    background-color: #fdecea; /* rojo muy suave */
    color: #b02a2a; /* rojo oscuro para el texto */
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

/* Mensaje neutro / info (opcional) */
.flash.info {
    background-color: #e7f3fe; /* azul muy suave */
    color: #1a5d9a; /* azul oscuro */
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}