/* ============================================================================
   KAIZOU LABS — GovTech area theme

   Same technique as the Health Tech theme: no component CSS is duplicated.
   styles.css reads every brand colour through var(), so re-declaring those
   variables inside a scope recolours the shared components.

   Scoped to `.area-govtech main` — the class is NOT `govtech`, because
   styles.css already uses `.govtech` for the dark band section, and putting
   that name on <body> would paint the whole page.

   Colour source: the blues come from the corporate home the user built
   (01_Web_Actual/KAIZOU_LABS_Inicio.html), which defines the three-area
   scheme as `.govtech{background:linear-gradient(145deg,#2572b8,#0a285c)}`.
   GovTech was already on the brand's azul marino (#102A5C) by default; this
   moves it to that brighter, distinctly blue end so the three areas read
   apart when seen side by side.
   ========================================================================= */
.area-govtech main {
  /* dark surfaces: hero, dark bands, panels */
  --navy-700: #1B5590;   /* white on this = 6.0:1 */
  --navy-800: #123D6B;
  --navy-900: #0A285C;   /* the dark end of the user's gradient */

  /* light tint for hover fills and soft surfaces */
  --navy-50: #E4EFFA;

  /* accents */
  --sky-50:  #EFF6FE;
  --sky-200: #A8D4F7;
  /* #70BDFF is the eyebrow colour in that same file, but on this hero it is
     3.79:1 at 12px. Lightened to clear AA. */
  --sky-300: #9ED3FF;   /* 4.81:1 on the hero */
  --sky-500: #2572B8;   /* the user's GovTech blue */
  --sky-600: #1C5C96;   /* text weight on paper = 6.71:1 */

  /* Semantic aliases resolve at :root, so re-point them or eyebrows and
     links keep the corporate value. */
  --accent:       var(--sky-600);
  /* El .eyebrow lee --eyebrow-ink, no --accent, porque el valor
     corporativo no llega a AA sobre claro. Se vuelve a apuntar acá
     para que el eyebrow siga el color del área. */
  --eyebrow-ink:  var(--sky-600);
  --accent-hover: var(--sky-600);
  --brand:        var(--navy-700);
  --brand-hover:  var(--navy-800);
  --link:         var(--sky-600);
  --info:         var(--sky-500);
  --info-bg:      var(--sky-50);

  /* The ribbon, the orange CTA, the gold highlight and the focus ring stay
     corporate: deliberately NOT re-declared. */
}

/* Hard-coded rgba() in styles.css does not follow the variables above. */
.area-govtech main .hero .glow1 { background: radial-gradient(circle, rgba(68,139,215,.55), transparent 60%); }
.area-govtech main .govtech .glow-gov { background: radial-gradient(circle, rgba(68,139,215,.34), transparent 62%); }

/* ============================================================================
   GovTech general: el método en tres pasos y los dos frentes (gobierno
   inteligente y ciudades inteligentes). Menos texto a la vista: cada
   capacidad abre su explicación sólo si se la pide.
   ========================================================================= */
.gv-frase{max-width:24ch;font-size:clamp(32px,4.2vw,54px);line-height:1.1;letter-spacing:-.02em;overflow-wrap:break-word;min-width:0;}
#metodo .sec-head p{font-size:19px;color:var(--sky-600);font-weight:500;}
.gv-pasos{list-style:none;margin:56px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap-card);counter-reset:paso;}
.gv-pasos li{counter-increment:paso;padding-top:24px;border-top:2px solid var(--navy-700);}
.gv-pasos li::before{content:counter(paso);display:block;margin-bottom:16px;font-family:var(--font-display);font-size:56px;font-weight:600;line-height:1;color:var(--sky-500);}
.gv-pasos h3{margin:0;font-family:var(--font-display);font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.25;color:var(--fg-1);}
.gv-pasos p{margin:8px 0 0;max-width:40ch;font-size:16px;line-height:1.6;color:var(--fg-2);}

.gv-frentes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap-card);}
.gv-frente{overflow:hidden;border-radius:var(--radius-xl);padding:40px;}
.gv-frente-gob{background:var(--navy-800);color:var(--white);}
.gv-frente-ciudad{background:var(--surface);border:1px solid var(--border);}
/* Foto de cada frente: a sangre arriba del panel, se funde hacia abajo. */
.gv-frente-foto{position:relative;margin:-40px -40px 0;aspect-ratio:1376/768;-webkit-mask-image:linear-gradient(180deg,var(--white) 58%,transparent);mask-image:linear-gradient(180deg,var(--white) 58%,transparent);}
.gv-frente-foto img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;}
.gv-frente h3{margin:24px 0 0;font-family:var(--font-display);font-size:clamp(26px,2.6vw,32px);font-weight:600;letter-spacing:-.015em;line-height:1.2;}
.gv-frente-p{margin:8px 0 0;font-size:16px;line-height:1.6;color:var(--fg-2);}
.gv-frente-gob .gv-frente-p{color:var(--on-dark-2);}
.gv-items{margin-top:28px;border-bottom:1px solid var(--border);}
.gv-frente-gob .gv-items{border-color:var(--on-dark-rule);}
.gv-item{border-top:1px solid var(--border);}
.gv-frente-gob .gv-item{border-color:var(--on-dark-rule);}
.gv-item summary{display:flex;align-items:center;gap:12px;padding:16px 0;list-style:none;cursor:pointer;font-size:17px;font-weight:600;line-height:1.35;color:var(--fg-1);transition:color .15s ease;}
.gv-frente-gob .gv-item summary{color:var(--white);}
.gv-item summary::-webkit-details-marker{display:none;}
.gv-item summary svg{flex:none;width:20px;height:20px;color:var(--sky-600);}
.gv-frente-gob .gv-item summary svg{color:var(--sky-300);}
.gv-item summary span{flex:1;min-width:0;}
.gv-item summary .gv-chev{width:18px;height:18px;color:var(--fg-3);transition:transform .2s ease;}
.gv-frente-gob .gv-item summary .gv-chev{color:var(--on-dark-2);}
.gv-item[open] summary .gv-chev{transform:rotate(180deg);}
.gv-item summary:hover{color:var(--sky-600);}
.gv-frente-gob .gv-item summary:hover{color:var(--sky-300);}
.gv-item summary:focus-visible{outline-offset:2px;}
.gv-item p{margin:0 0 16px 32px;max-width:52ch;font-size:15.5px;line-height:1.6;color:var(--fg-2);}
.gv-frente-gob .gv-item p{color:var(--on-dark-2);}
.gv-cta{margin-top:32px;}
@media(max-width:920px){.gv-frentes{grid-template-columns:1fr;}.gv-pasos{grid-template-columns:1fr;gap:32px;}}
@media(max-width:560px){.gv-frente{padding:28px 24px;}.gv-frente-foto{margin:-28px -24px 0;}.gv-pasos li::before{font-size:44px;}}

/* Costos: la banda que dice por qué importa la eficiencia del Estado. */
.gv-costos{background:var(--navy-800);color:var(--white);padding:96px 0;}
.gv-costos h2{margin:0;max-width:22ch;font-family:var(--font-display);font-size:clamp(30px,3.8vw,48px);font-weight:600;letter-spacing:-.02em;line-height:1.12;color:var(--white);overflow-wrap:break-word;min-width:0;}
.gv-costos-p{margin:20px 0 0;max-width:56ch;font-size:18px;line-height:1.6;color:var(--on-dark-2);}
.gv-costos-lista{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap-card);}
.gv-costos-lista li{display:flex;flex-direction:column;gap:16px;padding-top:24px;border-top:1px solid var(--on-dark-rule);font-family:var(--font-display);font-size:20px;font-weight:500;line-height:1.35;color:var(--white);}
.gv-costos-lista svg{width:28px;height:28px;color:var(--sky-300);}
@media(max-width:760px){.gv-costos{padding:64px 0;}.gv-costos-lista{grid-template-columns:1fr;gap:0;}.gv-costos-lista li{flex-direction:row;align-items:center;padding:20px 0;}.gv-costos-lista svg{flex:none;width:24px;height:24px;}}
