/* =========================
   VARIABLES
========================= */

:root{
--color-azul:#0D7CC1;
--color-amarillo:#F4B400;
--color-base:#ffffff;
--color-soft:#f3f5f8;
--color-text:#1f1f1f;
--color-text-soft:#555555;
--color-borde:#e7e7e7;
--color-azul-principal: #1f7db7;
--color-amarillo-principal: #f2b21a;
--color-rojo-alerta: #d62828;

--max-width:1100px;
--radius:18px;
}

/* =========================
   RESET
========================= */

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

html{
scroll-behavior:smooth;
}

body{
font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
color:var(--color-text);
line-height:1.6;
background:var(--color-base);
}

img{
max-width:100%;
display:block;
height:auto;
}

a{
color:inherit;
}

/* =========================
   CONTAINER
========================= */

.container{
max-width:var(--max-width);
margin:0 auto;
padding:0 1rem;
}

/* =========================
   HEADER
========================= */

.header{
background:var(--color-azul);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
gap:.8rem;
padding:1rem 0;
flex-wrap:nowrap;
}

.logo img{
width:160px;
max-width:100%;
}

.menu{
display:flex;
gap:.6rem;
list-style:none;
flex-wrap:nowrap;
justify-content:flex-end;
white-space:nowrap;
margin:0;
padding:0;
}

.menu a{
color:#ffffff;
text-decoration:none;
font-size:.9rem;
font-weight:600;
padding:.3rem .2rem;
}

.menu a:hover,
.menu a:focus{
text-decoration:underline;
text-underline-offset:3px;
}

.menu__destacado{
color:var(--color-amarillo);
font-weight:700;
}
/* =========================
   SECCIONES
========================= */

.section{
padding:clamp(2.2rem,5vw,4.5rem) 0;
}

.section__inner{
max-width:var(--max-width);
margin:0 auto;
padding:0 1rem;
}

.section--base{
background:var(--color-base);
}

.section--soft{
background:var(--color-soft);
}

/* =========================
   HERO
========================= */

.hero__grid{
display:grid;
grid-template-columns:1fr;
gap:2rem;
align-items:center;
}

.hero__content p{
max-width:62ch;
}

.media--hero{
margin-top:0;
}

/* =========================
   TIPOGRAFÍA
========================= */

h1{
font-size:clamp(2rem,5vw,3.2rem);
line-height:1.08;
margin-bottom:1rem;
text-wrap:balance;
}

h2{
font-size:clamp(1.5rem,3vw,2.1rem);
line-height:1.18;
margin-bottom:1rem;
text-wrap:balance;
}

h3{
font-size:clamp(1.2rem,2.2vw,1.55rem);
line-height:1.25;
margin-bottom:.75rem;
text-wrap:balance;
}

p{
margin-bottom:1rem;
font-size:1rem;
}

.section p:last-child,
.card p:last-child,
.cta-bloque p:last-child{
margin-bottom:0;
}

.texto-azul{
  color: var(--color-azul-principal);
}

.texto-amarillo{
  color: var(--color-amarillo-principal);
}
.texto-azul,
.texto-amarillo{
  font-weight: 700;
  letter-spacing: -0.5px;
}
.texto-rojo{
  color: var(--color-rojo-alerta);
  font-weight: 700;
}
.hero__detalle {
  font-size: 0.82rem;
  opacity: 0.65;
}

/* =========================
   GRID
========================= */

.grid-2{
display:grid;
grid-template-columns:1fr;
gap:1.5rem;
}

.grid-cards{
margin-top:1.5rem;
}

/* =========================
   CARDS
========================= */

.card{
display:block;
background:#ffffff;
border:1px solid var(--color-borde);
border-top:6px solid var(--color-azul);
border-radius:var(--radius);
padding:1.5rem 1.4rem;
text-decoration:none;
color:inherit;
box-shadow:0 8px 20px rgba(0,0,0,.04);
transition:transform .2s ease, box-shadow .2s ease, border-top-color .2s ease;
}

.card:hover,
.card:focus{
transform:translateY(-4px);
box-shadow:0 14px 28px rgba(0,0,0,.08);
border-top-color:var(--color-amarillo);
}

.card__icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:2.6rem;
height:2.6rem;
border-radius:999px;
background:rgba(13,124,193,.10);
font-size:1.25rem;
margin-bottom:1rem;
}

.card h3{
max-width:22ch;
}

.card p{
color:var(--color-text-soft);
}

/* =========================
   CTA
========================= */

.cta-bloque{
text-align:center;
}

.cta-bloque__inner{
max-width:760px;
margin:0 auto;
padding:0 1rem;
}

.boton-cta{
display:inline-block;
margin-top:1.2rem;
padding:.95rem 1.8rem;
background:var(--color-amarillo);
color:var(--color-text);
text-decoration:none;
font-weight:700;
border-radius:999px;
border:2px solid var(--color-amarillo);
box-shadow:0 8px 18px rgba(0,0,0,.06);
transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.boton-cta:hover,
.boton-cta:focus{
transform:translateY(-2px);
box-shadow:0 12px 22px rgba(0,0,0,.10);
background:#ffc423;
}

/* =========================
   MEDIA / FIGURE
========================= */

.media{
margin-top:1.5rem;
}

.media img{
width:100%;
border-radius:var(--radius);
}

.media figcaption{
margin-top:.75rem;
font-size:.95rem;
color:var(--color-text-soft);
text-align:center;
}

/* =========================
   FOOTER
========================= */

.footer{
background:var(--color-azul);
color:#ffffff;
padding:1.6rem 0;
}

.footer__inner{
display:flex;
flex-direction:column;
gap:1rem;
align-items:center;
justify-content:center;
text-align:center;
}

.footer__menu{
list-style:none;
display:flex;
flex-wrap:wrap;
gap:1rem;
justify-content:center;
}

.footer__menu a{
color:#ffffff;
text-decoration:none;
font-weight:600;
}

.footer__menu a:hover,
.footer__menu a:focus{
text-decoration:underline;
text-underline-offset:4px;
}
/* =========================
   RESPONSIVE
========================= */

@media (min-width:768px){

.hero__grid{
grid-template-columns:1.05fr .95fr;
}

.grid-2{
grid-template-columns:1fr 1fr;
}

.card{
padding:1.7rem 1.6rem;
}

}

@media (max-width:767px){

.nav{
flex-direction:row;
align-items:center;
justify-content:space-between;
gap:.6rem;
flex-wrap:nowrap;
}

.menu{
width:auto;
justify-content:flex-end;
gap:.6rem;
flex-wrap:nowrap;
white-space:nowrap;
overflow-x:auto;
scrollbar-width:none;
}

.menu::-webkit-scrollbar{
display:none;
}

.logo img{
width:140px;
}

.menu a{
font-size:.9rem;
padding:.3rem .15rem;
}

}

/* =========================



/* =========================
   seccion operativo
========================= */
.bloque-operativo{
background:var(--color-amarillo);
padding:clamp(2.2rem,5vw,3.5rem) 1rem;
}

.bloque-operativo__inner{
max-width:760px;
margin:0 auto;
}

.bloque-operativo h2{
font-size:clamp(1.5rem,3vw,2rem);
margin-bottom:0.8rem;
color:#1f1f1f;
font-weight:600;
}

.bloque-operativo p{
font-size:1rem;
line-height:1.6;
color:#2a2a2a;
}

/* =========================
   BLOQUE DIAGRAMA OPERATIVO
========================= */

.bloque-diagrama-operativo{
padding:clamp(2.5rem,5vw,4rem) 1rem;
text-align:center;
}

.bloque-diagrama-operativo h2{
font-size:clamp(1.6rem,3vw,2.2rem);
margin-bottom:2rem;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

/* CONTENEDOR */

.diagrama-operativo{
max-width:420px;
margin:0 auto 2rem;
}

/* SVG base */

.diagrama-operativo svg{
width:100%;
height:auto;
}

/* NODOS */

.nodo{
fill:#ffffff;
stroke:var(--color-azul);
stroke-width:2;
}

.nodo-entrada{
fill:#f5faff;
}

.nodo-salida{
fill:#f5faff;
}

/* LINEAS */

.linea{
stroke:var(--color-azul);
stroke-width:2;
}

/* NUCLEO */

.nucleo{
fill:#fff8e1;
stroke:var(--color-amarillo);
stroke-width:2;
}

/* TEXTOS */

.texto-nodo{
font-size:12px;
font-weight:600;
fill:#1f1f1f;
}

.texto-nodo-sec{
font-size:10px;
fill:#555;
}

.texto-nucleo-titulo{
font-size:13px;
font-weight:700;
fill:#1f1f1f;
}

.texto-nucleo{
font-size:11px;
fill:#333;
}

/* TEXTO DEBAJO */

.diagrama-explicacion{
max-width:720px;
margin:0 auto;
font-size:1rem;
line-height:1.7;
color:#2a2a2a;
}


/* =========================
   BLOQUE MAPA OPERATIVO
========================= */

.bloque-mapa-operativo{
padding:clamp(2.5rem,5vw,4rem) 1rem;
text-align:center;
}

.bloque-mapa-operativo h2{
font-size:clamp(1.6rem,3vw,2.2rem);
margin-bottom:1.5rem;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

/* TEXTOS */

.mapa-intro,
.mapa-cierre{
max-width:720px;
margin:0 auto 1.5rem;
font-size:1rem;
line-height:1.7;
color:#2a2a2a;
}

/* SVG WRAP */

.mapa-operativo-wrap{
max-width:420px;
margin:2rem auto;
}

/* SVG */

.mapa-operativo-wrap svg{
width:100%;
height:auto;
}

/* CENTRO */

.mapa-centro{
fill:#f5faff;
stroke:var(--color-azul);
stroke-width:2;
}

.mapa-centro-t{
font-size:12px;
font-weight:600;
fill:#1f1f1f;
}

/* LINEAS */

.mapa-linea{
stroke:var(--color-azul);
stroke-width:1.5;
}

/* NODOS */

.mapa-nodo-titulo{
font-size:11px;
font-weight:600;
fill:#1f1f1f;
}

.mapa-nodo{
font-size:10px;
fill:#555;
}

/* =========================
   BLOQUE PRINCIPIOS OPERATIVOS
========================= */

.bloque-principios-operativos{
background:#f4f6f8;
padding:clamp(2.5rem,5vw,4rem) 1rem;
}

/* TÍTULO */

.bloque-principios-operativos h2{
text-align:center;
font-size:clamp(1.6rem,3vw,2.2rem);
margin-bottom:1.2rem;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

/* TEXTOS */

.principios-intro,
.principios-cierre{
max-width:720px;
margin:0 auto 1.8rem;
font-size:1rem;
line-height:1.7;
color:#2a2a2a;
text-align:center;
}

/* LISTA */

.lista-principios{
max-width:900px;
margin:2rem auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:1.5rem;
}

/* ITEM */

.principio{
padding:1.2rem;
border-radius:16px;
background:#ffffff;
border:1px solid rgba(0,0,0,0.06);
}

/* TÍTULO PRINCIPIO */

.principio dt{
font-size:1.05rem;
font-weight:600;
margin-bottom:0.5rem;
color:#1f1f1f;
}

/* DESCRIPCIÓN */

.principio dd{
margin:0;
font-size:0.95rem;
line-height:1.6;
color:#444;
}


.flujo-operativo{
display:flex;
flex-wrap:wrap;
gap:.6rem;
justify-content:center;
align-items:center;
margin:1.2rem 0 1.4rem;
font-weight:600;
font-size:1.05rem;
}

.flujo-operativo span{
background:#f3f5f7;
padding:.4rem .7rem;
border-radius:999px;
}

.flujo-operativo .arrow{
background:none;
padding:0;
font-weight:400;
opacity:.6;
}

.bloque-operativo__inner,
.bloque-diagrama-operativo,
.bloque-mapa-operativo,
.bloque-principios-operativos{
max-width:var(--max-width);
margin-left:auto;
margin-right:auto;
}

.card{
background:#ffffff;
border:1px solid var(--color-borde);
border-top:6px solid var(--color-azul);
border-radius:var(--radius);
padding:1.5rem 1.4rem;
box-shadow:0 10px 24px rgba(13,124,193,.06);
}


.menu__destacado{
color:var(--color-amarillo);
font-weight:700;
}

/* =========================
   SUBMENU (CLUSTER)
========================= */

.header-subnav{
background:#2a86b8; /* 👈 ligeramente distinto del header principal */
border-top:1px solid rgba(255,255,255,.15);
}

/* contenedor */

.submenu{
display:flex;
gap:1rem;
list-style:none;
margin:0;
padding:.6rem 0; /* 👈 más aire */
flex-wrap:nowrap;
white-space:nowrap;
overflow-x:auto;
scrollbar-width:none;
scroll-behavior:smooth; /* 👈 scroll elegante */
}

.submenu::-webkit-scrollbar{
display:none;
}

/* links */

.submenu a{
color:rgba(255,255,255,.85);
text-decoration:none;
font-size:.9rem;
font-weight:500;
padding:.35rem .25rem;
transition:opacity .2s ease, color .2s ease;
}

.submenu a:hover{
opacity:1;
color:#ffffff;
text-decoration:underline;
text-underline-offset:3px;
}

/* estado activo */

.submenu__activo{
color:#ffffff;
font-weight:700;
border-bottom:2px solid var(--color-amarillo);
padding-bottom:.2rem; /* 👈 mejor alineación visual */
}


/* =========================
   CTA LINEA (WHATSAPP)
========================= */

.cta-linea{
background:#25D366; /* 👈 más claro que footer */
padding:1rem 0;
}

.cta-linea__inner{
display:flex;
justify-content:space-between;
align-items:center;
gap:1rem;
flex-wrap:wrap;
}

.cta-linea__texto{
margin:0;
color:#ffffff;
font-size:.95rem;
font-weight:500;
}

.cta-linea__boton{
display:inline-block;
background:#ffffff;
color:#128C7E; 
text-decoration:none;
font-weight:700;
font-size:.9rem;
padding:.5rem 1rem;
border-radius:999px;
transition:transform .2s ease, box-shadow .2s ease;
}

.cta-linea__boton:hover{
transform:translateY(-2px);
box-shadow:0 6px 14px rgba(0,0,0,.1);
}
.cta-linea{
background:linear-gradient(90deg,#25D366,#1ebe5d);
}

/* móvil */

@media (max-width:767px){

.cta-linea__inner{
flex-direction:column;
align-items:flex-start;
}

.cta-linea__boton{
width:auto;
}

}

/* =========================
   BLOQUE RELACIONADO
========================= */

.bloque-relacionado{
margin:2rem 0;
padding:1.5rem 1.2rem;
background:#f3f5f8;
border-radius:var(--radius);
}

.bloque-relacionado h3{
margin-bottom:.6rem;
}

.bloque-relacionado__intro{
font-size:.95rem;
color:var(--color-text-soft);
margin-bottom:1rem;
}

.bloque-relacionado__lista{
list-style:none;
padding:0;
margin:0;
display:flex;
flex-direction:column;
gap:.6rem;
}

.bloque-relacionado__lista a{
display:block;
text-decoration:none;
background:#ffffff;
padding:.6rem .8rem;
border-radius:12px;
border:1px solid var(--color-borde);
font-weight:600;
color:var(--color-text);
transition:transform .15s ease, box-shadow .15s ease;
}

.bloque-relacionado__lista a:hover{
transform:translateY(-2px);
box-shadow:0 6px 14px rgba(0,0,0,.08);
}
/* =========================
   SOLUCIONES VISUAL
========================= */

.soluciones-intro{
max-width:700px;
margin-bottom:1.5rem;
color:var(--color-text-soft);
}

/* GRID */

.grid-soluciones{
display:grid;
grid-template-columns:1fr;
gap:1.5rem;
margin-top:1.5rem;
}

/* CARD */

.sol-card{
display:block;
background:#ffffff;
border-radius:var(--radius);
border:1px solid var(--color-borde);
overflow:hidden;
text-decoration:none;
color:inherit;
transition:transform .2s ease, box-shadow .2s ease;
box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.sol-card:hover{
transform:translateY(-4px);
box-shadow:0 16px 32px rgba(0,0,0,.08);
}

/* IMAGEN */

.sol-card__media{
width:100%;
aspect-ratio:1 / 1;
overflow:hidden;
background:#f5f5f5;
}

.sol-card__media img{
width:100%;
height:100%;
object-fit:cover;
}

/* CONTENIDO */

.sol-card__content{
padding:1.2rem 1.2rem 1.4rem;
}

.sol-card__content h3{
font-size:1.15rem;
margin-bottom:.4rem;
}

.sol-card__content p{
font-size:.95rem;
color:var(--color-text-soft);
}

/* RESPONSIVE */

@media (min-width:768px){

.grid-soluciones{
grid-template-columns:1fr 1fr;
}

}

/* =========================
   SECCIÓN NUBE DE SOLUCIONES
========================= */

#nube-soluciones{
background:linear-gradient(180deg,#eaf6ff 0%, #f6fbff 100%);
padding:2.5rem 1.2rem;
border-radius:28px;
margin:2rem 0;
}

/* CONTENEDOR */

#nube-soluciones .section__inner{
max-width:1100px;
margin:0 auto;
}

/* TÍTULO */

#titulo-nube{
color:#2a5c8f;
font-size:clamp(1.8rem,3vw,2.5rem);
line-height:1.2;
margin-bottom:.8rem;
}

/* INTRO */

.nube-intro{
max-width:720px;
margin-bottom:1.6rem;
color:#3f5f7a;
font-size:1.05rem;
line-height:1.7;
}

/* CONTENEDOR NUBE */

.nube-palabras{
display:flex;
flex-wrap:wrap;
gap:.5rem;
justify-content:flex-start;
margin-top:1.5rem;
}

/* TAG BASE */

.tag{
display:inline-block;
text-decoration:none;
padding:.45rem .9rem;
border-radius:999px;
background:#ffffff;
border:1px solid rgba(0,0,0,.08);
color:#2d2d2d;
transition:all .25s ease;
white-space:nowrap;
box-shadow:0 6px 14px rgba(0,0,0,.05);
}

/* HOVER */

.tag:hover{
background:#2a5c8f;
color:#ffffff;
border-color:#2a5c8f;
transform:scale(1.08) translateY(-2px);
box-shadow:0 10px 20px rgba(0,0,0,.12);
}

/* TAMAÑOS */

.tag.grande{
font-size:1.4rem;
font-weight:700;
}

.tag.media{
font-size:1rem;
}

.tag.pequena{
font-size:.8rem;
opacity:.75;
}

/* DESORDEN CONTROLADO (efecto nube real) */

.tag:nth-child(3n){
margin-left:12px;
}

.tag:nth-child(5n){
margin-right:10px;
}

.tag:nth-child(7n){
margin-top:6px;
}

.tag:nth-child(4n){
margin-bottom:4px;
}

/* RESPONSIVE */

@media (max-width:768px){

#nube-soluciones{
padding:2rem 1rem;
}

.tag.grande{
font-size:1.2rem;
}

.tag.media{
font-size:.95rem;
}

.tag.pequena{
font-size:.75rem;
}

}
#nube-soluciones::before{
content:"";
display:block;
width:100%;
height:60px;
background:radial-gradient(circle at 20% 50%, rgba(255,255,255,.6), transparent 60%);
margin-bottom:-40px;
}


/* =========================
   SECCIÓN QUE SOLUCION
========================= */


.seccion-soluciones {
  background: #fff6d8; /* amarillo suave */
  padding: 3rem 1.2rem;
}

.seccion-soluciones__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* TÍTULO */
.seccion-soluciones h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #1f3c5b; /* azul más sobrio */
  margin-bottom: 1.8rem;
}

/* LISTA */
.lista-soluciones {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
}

/* ÍTEMS (CLAVE) */
.lista-soluciones li {
  margin-bottom: 1.2rem;   /* ← aire entre ítems */
  line-height: 1.7;        /* ← mejora lectura */
  font-size: 1rem;
}

/* TEXTO FINAL */
.texto-refuerzo {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
}

/* =========================
   SECCION SOLUCIONES
========================= */
.seccion-seleccion {
  background: #eef8fc;
  padding: 3rem 1.2rem;
}

.seccion-seleccion__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.seccion-seleccion h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #1f3c5b;
  margin-bottom: 0.8rem;
}

.seleccion-intro {
  font-size: 0.95rem;
  opacity: 0.78;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 1.8rem;
}

.seleccion-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.btn-solucion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f4fa8;
  color: #ffffff;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-solucion:hover {
  background: #0b3c80;
  transform: translateY(-2px);
}

.btn-solucion:active {
  transform: scale(0.97);
}

.btn-solucion--prioridad {
  font-weight: 700;
}

.seleccion-separador {
  flex-basis: 100%;
  height: 0.45rem;
}

.seleccion-separador--final {
  height: 0.8rem;
}

/* BOTÓN ESPECIAL */
.btn-solucion--especial {
  background: #ffffff;
  color: #1f3c5b;
  border: 1px solid rgba(31, 60, 91, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.btn-solucion--especial:hover {
  background: #fff8e6;
  color: #16314c;
  border-color: rgba(214, 162, 0, 0.35);
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .seleccion-nav {
    gap: 0.8rem;
  }

  .btn-solucion {
    font-size: 0.88rem;
    padding: 0.68rem 1rem;
    max-width: 100%;
  }

  .seleccion-separador {
    height: 0.3rem;
  }

  .seleccion-separador--final {
    height: 0.65rem;
  }
}
/* BOTONES SECUNDARIOS (menos peso visual) */
.btn-solucion--secundario {
  background: #e3edf9; /* azul muy suave */
  color: #1f3c5b;
  box-shadow: none;
  font-weight: 500;
}

/* hover suave */
.btn-solucion--secundario:hover {
  background: #d4e3f7;
  transform: translateY(-1px);
}

.seleccion-microcopy {
  font-size: 0.58rem;
  opacity: 0.9;
  margin-top: 1.8rem;
  line-height: 1.5;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.bloque-flujo-sistema {
  padding: 3rem 1.2rem;
  text-align: center;
  background: #f7f9fb;
}

.bloque-flujo-sistema h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
  color: #1f3c5b;
}

/* CONTENEDOR */
.flujo-sistema {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* NODOS */
.flujo-item {
  background: #ffffff;
  border: 2px solid #1f77c8;
  border-radius: 50px;
  padding: 0.8rem 1.4rem;
  width: 160px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}

.flujo-titulo {
  display: block;
  font-weight: 700;
  color: #1f77c8;
}

.flujo-sub {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* LÍNEA */
.flujo-linea {
  width: 2px;
  height: 50px;
  background: #1f77c8;
}

/* NÚCLEO */
.flujo-nucleo {
  background: #fff6df;
  border: 2px solid #e0a800;
  border-radius: 18px;
  padding: 1.2rem 1rem;
  width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.flujo-nucleo strong {
  display: block;
  margin-bottom: 0.6rem;
  color: #7a5b00;
}

.flujo-nucleo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flujo-nucleo li {
  font-size: 0.85rem;
  margin: 0.3rem 0;
}

/* TEXTO FINAL */
.flujo-explicacion {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.flujo-accesos {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.6rem 0;
}

.flujo-accesos span {
  font-size: 0.7rem;
  background: #eef3f8;
  color: #1f3c5b;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(31,60,91,0.15);
  opacity: 0.8;
}

/* =========================================
FAQ - SOLUCION CASILLEROS
========================================= */

.faq-section{
  background:#eef3f9; /* fondo suave */
  padding:3rem 1.2rem;
}

.faq-content{
  max-width:800px;
  margin:auto;
}

.faq-content h2{
  font-size:clamp(1.6rem,3vw,2.2rem);
  margin-bottom:2rem;
  color:#1f2d3d;
}

/* BLOQUES */
.faq-content details{
  background:#ffffff;
  border-radius:14px;
  margin-bottom:1rem;
  padding:1rem 1.2rem;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:all .25s ease;
  cursor:pointer;
}

/* HOVER */
.faq-content details:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* CLICK (TACTIL) */
.faq-content details:active{
  transform:scale(0.99);
}

/* PREGUNTA */
.faq-content summary{
  font-weight:600;
  font-size:1.05rem;
  color:#1e3a5f; /* azul profundo */
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* QUITAR FLECHA NATIVA */
.faq-content summary::-webkit-details-marker{
  display:none;
}

/* ICONO */
.faq-content summary::after{
  content:"▶";
  font-size:0.75rem;
  transition:transform .25s ease;
  opacity:0.6;
}

/* ROTACION */
.faq-content details[open] summary::after{
  transform:rotate(90deg);
  opacity:1;
}
.faq-content details[open] summary{
  color:#0d5cab;
}

/* RESPUESTA */
.faq-content p{
  margin-top:0.8rem;
  color:#555;
  line-height:1.6;
}

/* MODO ABIERTO (ligero feedback visual) */
.faq-content details[open]{
  background:#fdfefe;
}
.faq-content summary:hover{
  color:#0d5cab;
}