/* ===============================
   LexKeeper – Estilos principales
   Desktop-first | Identidad oficial
   =============================== */

:root {
  --color-primario: #0B2B4C; /* Azul LexKeeper */
  --color-secundario: #1F6AE1;
  --color-acento: #F4B400;
  --color-texto: #1E1E1E;
  --color-texto-suave: #555;
  --color-fondo: #FFFFFF;
  --color-gris-claro: #F6F7F9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Lato', sans-serif;
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.6;
}
/* ================= HEADER ================= */

#main-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-texto);
  font-size: 0.95rem;
  font-weight: 400;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-secundario);
}

.btn-registro {
  background: var(--color-secundario);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}
img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* ================= HERO ================= */
#hero-lexkeeper {
  background: linear-gradient(135deg, #0B2B4C 0%, #143A63 100%);
  color: #fff;
  text-align: center;
}

#hero-lexkeeper h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 32px;
}

.hero-cta-principal {
  background-color: var(--color-acento);
  color: #000;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.hero-beneficios {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.hero-beneficios li {
  font-size: 0.95rem;
}

.hero-idiomas {
  margin-top: 12px;
  font-size: 0.9rem;
}

.hero-banderas {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero-banderas img {
  width: 28px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-banderas img:hover {
  transform: scale(1.1);
  opacity: 1;
}


/* ================= HISTORIAS ================= */
#historias {
  background-color: var(--color-gris-claro);
}

#historias h2 {
  text-align: center;
  margin-bottom: 48px;
}

.carrusel {
  display: flex;
  gap: 32px;
}

.slide {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  flex: 1;
}

.slide h3 {
  font-size: 1.1rem;
  margin: 16px 0;
}

.cta-slide {
  margin-top: 16px;
  background: var(--color-secundario);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
}

/* ================= PLANES ================= */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

#planes h2 {
  text-align: center;
  margin-bottom: 12px;
}

#planes p {
  text-align: center;
  margin-bottom: 24px;
}

#togglePlan {
  display: block;
  margin: 0 auto 48px;
  padding: 12px 20px;
  border-radius: 20px;
  background: var(--color-gris-claro);
}

.plan {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  max-width: 400px;
  margin: 0 auto;
}

.logo-plan {
  height: 60px;
  margin-bottom: 16px;
}

.descripcion-plan {
  margin: 16px 0;
}

.incluye {
  list-style: none;
  margin-bottom: 24px;
}

.incluye li {
  margin-bottom: 8px;
}

.plan-ctas {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-text {
  background: var(--color-secundario);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
}

.cta-icon {
  background: var(--color-gris-claro);
  padding: 10px;
  border-radius: 50%;
}

/* ================= OPCIONES ================= */
#opciones-testamento {
  background-color: var(--color-gris-claro);
}

.grupo-opciones {
  margin-top: 48px;
}

.grupo-titulo {
  margin-bottom: 24px;
}

.opciones-lista {
  list-style: none;
  display: flex;
  gap: 32px;
}

.opciones-lista li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
}

.opciones-lista img {
  width: 40px;
  margin-bottom: 12px;
}

/* ================= PROCESO ================= */

.proceso-imagen {
  margin: 48px auto;
  text-align: center;
}

.proceso-imagen img {
  max-width: 100%;
  height: auto;
}



#proceso-lexkeeper h2 {
  text-align: center;
}

.proceso-diagrama {
  margin: 48px auto;
}

.proceso-pasos {
  margin-top: 40px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.proceso-pasos li {
  text-align: center;
  flex: 1;
}

.numero {
  display: inline-block;
  background: var(--color-secundario);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  margin-bottom: 12px;
}

.cta-proceso {
  display: block;
  margin: 48px auto 0;
  background: var(--color-acento);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
}

/* ================= FOOTER ================= */
#footer-lexkeeper {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-texto-suave);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    #hero-lexkeeper h1 {
        font-size: 2rem;
    }

    .hero-beneficios {
        flex-direction: column;
        gap: 12px;
    }
    .planes-grid {
        grid-template-columns: 1fr;
    }
    .carrusel {
        flex-direction: column;
    }

    .opciones-lista {
        flex-direction: column;
    }

    .proceso-pasos {
        flex-direction: column;
    }
}
/* ================= FOOTER PRO ================= */
#footer-lexkeeper {
  background: var(--color-primario);
  color: #FFFFFF;
  padding: 60px 40px;
  font-size: 14px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFF;
}

.footer-column p, .footer-column address {
  line-height: 1.5;
  color: #EFEFEF;
  font-style: normal;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.flag-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.flag-section img {
  width: 24px;
}

.contact-col input {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  width: 100%;
  margin-top: 8px;
}

.cta-newsletter {
  margin-top: 10px;
  background: var(--color-acento);
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 32px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
    font-weight: bold;
}

/* ================= FOOTER MOBILE ================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #footer-lexkeeper {
    padding: 40px 20px 30px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .flag-section {
        justify-content: center;
    }
}