/* Pagina de entrada para visitantes sin sesion (index.php).
   Todo va dentro de .landing para no pisar los estilos del resto del sitio. */
.landing {
  --azul: #022A80;
  --azul-osc: #0B1F4D;
  --texto: #364969;
  --suave: #5E6E8C;
  --fondo: #F4F7FC;
  --celeste: #C5D3EB;
  --linea: #DCE4F2;
  --acento: #FFC94D;
  --rojo: #E5484D;
  --amarillo: #F5B400;
  --verde: #2EA66B;
  color: var(--texto);
  background: var(--fondo);
  font-size: 1.02rem;
  line-height: 1.6;
  padding-bottom: 3rem;               /* el footer es fixed */
}
.landing h1, .landing h2, .landing h3 { color: var(--azul-osc); font-weight: 700; letter-spacing: -.01em; }
.landing h2 { font-size: 1.9rem; margin-bottom: .75rem; }
.landing h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.landing .seccion { padding: 4.5rem 0; }
.landing .seccion.blanca { background: #fff; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.landing .bajada { color: var(--suave); max-width: 40rem; }
.landing .etiqueta {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--azul); background: #E3EAF7;
  padding: .2rem .65rem; border-radius: 999px; margin-bottom: .9rem;
}

/* Botones */
.landing .btn-landing {
  display: inline-block; font-weight: 600; border-radius: .5rem; padding: .8rem 1.5rem;
  border: 2px solid var(--azul); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.landing .btn-landing.lleno { background: var(--azul); color: #fff; box-shadow: 0 6px 18px rgba(2,42,128,.25); }
.landing .btn-landing.lleno:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(2,42,128,.3); color: #fff; }
.landing .btn-landing.borde { background: transparent; color: var(--azul); }
.landing .btn-landing.borde:hover { background: #E3EAF7; color: var(--azul); }
.landing .nota-cta { font-size: .85rem; color: var(--suave); margin-top: .75rem; }

/* Portada: foto original (fondo liso #FFCE8C a la izquierda, chica a la derecha) */
.landing .portada {
  background: #FFCE8C url("../imagenes/portada.jpg") no-repeat right center;
  background-size: auto 100%;
  min-height: 34rem; display: flex; align-items: center;
  padding: 3.5rem 0;
}
.landing .portada > .container { width: 100%; }
.landing .portada h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 1rem; }
.landing .portada .bajada { font-size: 1.15rem; margin-bottom: 1.75rem; color: #4A3A22; }
.landing .portada .nota-cta { color: #6B5535; }
.landing .portada .etiqueta { background: rgba(255,255,255,.6); }
.landing .portada .btn-landing.borde:hover { background: rgba(255,255,255,.45); }
.landing .foto-portada { display: none; }
.landing .ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Debajo de 1200px la chica quedaria tapada por el texto: la foto pasa abajo */
@media (max-width: 1199.98px) {
  .landing .portada { background-image: none; display: block; min-height: 0; padding: 3rem 0 0; }
  .landing .foto-portada { display: block; width: 100%; height: auto; margin-top: 2rem; }
}

/* Mision */
.landing .mision { max-width: 46rem; margin: 0 auto; text-align: center; }
.landing .mision p.grande { font-size: 1.35rem; line-height: 1.55; color: var(--azul-osc); }

/* Tarjetas */
.landing .tarjeta {
  background: #fff; border: 1px solid var(--linea); border-radius: .85rem; padding: 1.5rem;
  height: 100%;
}
.landing .seccion.blanca .tarjeta { background: var(--fondo); }
.landing .icono {
  width: 2.6rem; height: 2.6rem; border-radius: .6rem; display: flex; align-items: center; justify-content: center;
  background: #E3EAF7; color: var(--azul); margin-bottom: .9rem;
}
.landing .icono svg { width: 1.35rem; height: 1.35rem; }
.landing .tarjeta p { margin-bottom: 0; color: var(--suave); font-size: .97rem; }

/* Importador */
.landing .flujo { display: flex; align-items: stretch; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.landing .planilla, .landing .lista {
  background: #fff; border: 1px solid var(--linea); border-radius: .6rem; font-size: .8rem; overflow: hidden;
  flex: 1 1 13rem; max-width: 17rem; box-shadow: 0 8px 24px rgba(11,31,77,.08);
}
.landing .planilla .cab, .landing .lista .cab { background: #1D6F42; color: #fff; padding: .4rem .7rem; font-weight: 600; }
.landing .lista .cab { background: var(--azul); }
.landing .planilla table { width: 100%; border-collapse: collapse; }
.landing .planilla td { border: 1px solid #E2E8F0; padding: .3rem .5rem; }
.landing .planilla td.col { background: #F3F4F6; color: #6B7280; text-align: center; width: 1.6rem; }
.landing .lista ul { list-style: none; margin: 0; padding: .3rem 0; }
.landing .lista li { padding: .35rem .7rem; display: flex; gap: .5rem; align-items: center; }
.landing .lista li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--verde); flex: none; }
.landing .flecha { align-self: center; color: var(--azul); font-weight: 700; font-size: .85rem; text-align: center; }
.landing .flecha svg { width: 2rem; height: 2rem; display: block; margin: 0 auto .2rem; }
.landing .pasos { counter-reset: paso; list-style: none; padding: 0; margin: 0; }
.landing .pasos li { counter-increment: paso; position: relative; padding-left: 2.8rem; margin-bottom: 1.1rem; }
.landing .pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--azul); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.landing .pasos li b { color: var(--azul-osc); display: block; }

/* Numeros */
.landing .numeros { background: var(--azul-osc); color: #DCE6FA; padding: 3rem 0; }
.landing .numeros .n { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.landing .numeros p { margin: 0; font-size: .95rem; }

/* Preguntas */
.landing details { background: #fff; border: 1px solid var(--linea); border-radius: .6rem; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.landing details summary { cursor: pointer; font-weight: 600; color: var(--azul-osc); outline: none; }
.landing details p { margin: .6rem 0 0; color: var(--suave); }

/* Cierre */
.landing .cierre { text-align: center; }
.landing .cierre .caja {
  background: linear-gradient(135deg, var(--azul) 0%, #1A4DB8 100%); color: #DCE6FA;
  border-radius: 1.25rem; padding: 3rem 1.5rem;
}
.landing .cierre h2 { color: #fff; }
.landing .cierre .btn-landing.lleno { background: #fff; color: var(--azul); border-color: #fff; }
.landing .cierre .btn-landing.borde { color: #fff; border-color: rgba(255,255,255,.6); }
.landing .cierre .btn-landing.borde:hover { background: rgba(255,255,255,.1); }
.landing .cierre .ctas { justify-content: center; }

@media (max-width: 767.98px) {
  .landing .portada { padding-top: 2.5rem; }
  .landing .portada h1 { font-size: 2rem; }
  .landing h2 { font-size: 1.55rem; }
  .landing .seccion { padding: 3rem 0; }
  .landing .flujo { flex-direction: column; align-items: stretch; }
  .landing .flecha svg { transform: rotate(90deg); }
  .landing .planilla, .landing .lista { max-width: 100%; flex: none; }
  .landing .ctas .btn-landing { flex: 1 1 100%; text-align: center; }
}
