/* ==========================================================================
   B.L Contenedores — V2 "Sobrio corporativo confiable"
   Light-led, paper + blanco, navy como ancla, hairlines cromo, grilla prolija.
   Tipografía: Libre Franklin (linaje Franklin Gothic = confianza corporativa).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:      oklch(21.7% 0.042 257.8);   /* #0D1A2D */
  --black:    oklch(16.9% 0.034 261.5);   /* #070F1E */
  --navy:     oklch(28.1% 0.072 256.2);   /* #0E294C */
  --cta:      oklch(46.0% 0.096 252.3);   /* #2C5A8C */
  --cta-bright: oklch(52% 0.112 250);
  --acero:    oklch(42.5% 0.068 253.8);   /* #335073 */
  --slate:    oklch(49.0% 0.027 258.4);   /* #576170 */
  --steel-3:  oklch(64.7% 0.035 254.1);   /* #8090A4 */
  --steel-4:  oklch(73.0% 0.031 248.3);   /* #99AABB */
  --cromo:    oklch(83.6% 0.014 251.6);   /* #C3CAD2 */
  --paper:    oklch(97.5% 0.006 255.5);   /* #F4F7FB */
  --surface:  oklch(100% 0 0);            /* white panels */
  --surface-2: oklch(98.8% 0.004 255);    /* faint tint */
  --white:    oklch(98.5% 0.004 250);

  --on-light-strong: var(--ink);
  --on-light-body:   oklch(34% 0.026 256);   /* ~9:1 on paper */
  --on-light-muted:  var(--slate);

  --on-dark-strong: var(--white);
  --on-dark-body:   var(--cromo);
  --on-dark-muted:  var(--steel-4);

  --line:       oklch(83.6% 0.014 251.6 / 0.55);  /* cromo hairline on light */
  --line-strong: oklch(83.6% 0.014 251.6 / 0.9);
  --line-dark:  oklch(73% 0.03 248 / 0.16);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-xs: 0 1px 2px oklch(28% 0.05 256 / 0.06);
  --shadow-sm: 0 4px 14px -6px oklch(28% 0.05 256 / 0.18);
  --shadow-md: 0 16px 36px -16px oklch(28% 0.05 256 / 0.28);
  --shadow-lg: 0 30px 60px -24px oklch(20% 0.05 256 / 0.4);
  --shadow-cta: 0 10px 24px -8px oklch(46% 0.096 252.3 / 0.45);

  --font-display: "Libre Franklin", system-ui, sans-serif;
  --font-body: "Libre Franklin", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --z-fab: 60;
  --z-header: 80;
  --z-scrim: 90;
  --z-mobile-nav: 100;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--on-light-body);
  line-height: 1.62;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--on-light-strong);
}
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cta); color: var(--white); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--cta); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: var(--r-sm); font-weight: 700;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.85em; --btn-pad-x: 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; text-align: center; min-height: 48px;
  transition: transform 0.22s var(--ease-out), background 0.22s var(--ease-out),
              box-shadow 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}
.btn-sm { font-size: 0.9rem; --btn-pad-y: 0.62em; --btn-pad-x: 1.05em; min-height: 42px; }
.btn-lg { font-size: 1.0625rem; --btn-pad-y: 0.95em; --btn-pad-x: 1.7em; }
.btn-xl { font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3rem); --btn-pad-y: 1em; --btn-pad-x: 2em; }

.btn-wa { background: var(--cta); color: var(--white); box-shadow: var(--shadow-cta); }
.btn-wa:hover { background: var(--cta-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -8px oklch(46% 0.096 252.3 / 0.6); }
.btn-wa:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--cta); color: var(--cta); background: oklch(46% 0.096 252.3 / 0.05); transform: translateY(-2px); }

.ico-wa { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(97.5% 0.006 255 / 0.7);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  background: oklch(99% 0.004 255 / 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; padding-block: 0.6rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-logo {
  height: 42px; width: auto; flex: none;
  border-radius: 7px;
  box-shadow: 0 1px 3px oklch(20% 0.05 256 / 0.22), 0 0 0 1px oklch(83.6% 0.014 251.6 / 0.5);
}
.brand-lockup { display: inline-flex; align-items: baseline; gap: 0.5ch; }
.brand-mark { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--navy); }
.brand-dot { color: var(--cta); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

.nav-desktop { display: none; gap: clamp(1rem, 2vw, 2rem); }
.nav-desktop a {
  font-weight: 600; font-size: 0.95rem; color: var(--slate);
  padding: 0.4rem 0; position: relative; transition: color 0.2s var(--ease-out);
}
.nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--cta); transition: width 0.25s var(--ease-out); }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--navy); }
.nav-desktop a:hover::after, .nav-desktop a.is-active::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle-bar { height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: oklch(99% 0.004 255 / 0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); }
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile-cta { margin-top: 1rem; border-bottom: 0 !important; color: var(--white) !important; }
.nav-scrim { position: fixed; inset: 0; background: oklch(20% 0.04 256 / 0.35); z-index: var(--z-scrim); }
.nav-scrim[hidden] { display: none; }

/* ---------- Accent rule (brand device en lugar de eyebrow) ---------- */
.rule { display: block; width: 44px; height: 3px; background: var(--cta); border-radius: 2px; margin-bottom: 1.25rem; }
.rule--light { background: var(--cromo); }
.section-head--center .rule { margin-inline: auto; }

.eyebrow {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cta); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cta); }

/* ==========================================================================
   HERO (split, light)
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(70% 120% at 100% 0%, oklch(46% 0.096 252.3 / 0.06), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-title {
  font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.025em; color: var(--ink);
}
.hero-sub { margin-top: 1.25rem; max-width: 38rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--on-light-body); text-wrap: pretty; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-trust {
  list-style: none; padding: 1.4rem 0 0; margin-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-trust li { font-size: 0.92rem; color: var(--slate); display: flex; align-items: center; gap: 0.5ch; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; background: var(--cta); border-radius: 50%; flex: none; }
.hero-trust strong { color: var(--navy); font-weight: 700; }

.hero-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figcap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, oklch(13% 0.03 261 / 0.78));
}
.hero-figcap-slogan { color: var(--white); font-style: italic; font-weight: 500; font-size: 1.05rem; }

/* ==========================================================================
   SECTIONS base
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2.3vw, 2.7rem); letter-spacing: -0.025em; }
.section-title--light { color: var(--white); }
.section-lead { margin-top: 1rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--on-light-muted); text-wrap: pretty; }
.section-lead--light { color: var(--cromo); }

.usos, .tipos, .proyectos { background: var(--paper); }
.proceso { background: var(--surface-2); border-block: 1px solid var(--line); }
.aliados { background: var(--paper); }

.solucion {
  background:
    radial-gradient(90% 120% at 85% -10%, var(--acero) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy), var(--ink));
  color: var(--on-dark-body);
  overflow: hidden;
}

/* ==========================================================================
   USOS (horizontal media cards)
   ========================================================================== */
.uso-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.3rem); }
.uso-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.uso-thumb { position: relative; overflow: hidden; min-height: 130px; }
.uso-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.uso-text { display: flex; flex-direction: column; padding: 1.3rem 1.4rem; }
.uso-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); color: var(--ink); letter-spacing: -0.02em; }
.uso-p { margin-top: 0.4rem; color: var(--on-light-body); font-size: 0.98rem; }
.uso-link { margin-top: auto; padding-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.5ch; font-weight: 700; color: var(--cta); font-size: 0.95rem; }
.uso-link .arr { transition: transform 0.25s var(--ease-out); }
.uso-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cromo); }
.uso-card:hover .uso-thumb img { transform: scale(1.06); }
.uso-card:hover .uso-link .arr { transform: translateX(5px); }

/* ==========================================================================
   SOLUCIÓN (navy anchor)
   ========================================================================== */
.assembly { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2rem); position: relative; }
.assembly-step {
  padding: 1.6rem 1.5rem 1.7rem;
  background: oklch(100% 0 0 / 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}
.assembly-index { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--steel-4); letter-spacing: 0.02em; }
.assembly-step h3 { margin-top: 0.5rem; color: var(--white); font-size: 1.3rem; font-weight: 800; }
.assembly-step p { margin-top: 0.55rem; color: var(--cromo); }
.assembly-step strong { color: var(--white); font-weight: 700; }
.solucion-cta { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }

/* ==========================================================================
   TIPOS (spec table)
   ========================================================================== */
.tipo-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tipo-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "fig main" "spec spec" "link link";
  gap: 0.5rem 1.4rem;
  align-items: center;
  padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.9rem);
  border-bottom: 1px solid var(--line);
}
.tipo-row:last-child { border-bottom: 0; }
.tipo-row:nth-child(even) { background: var(--surface-2); }
.tipo-figure { grid-area: fig; display: flex; align-items: center; }
.tipo-main { grid-area: main; }
.tipo-main h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.tipo-main p { margin-top: 0.4rem; color: var(--on-light-body); max-width: 52ch; }
.tipo-tag {
  font-size: 0.62em; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cta); border: 1px solid oklch(46% 0.096 252.3 / 0.4);
  padding: 0.18em 0.55em; border-radius: 4px; vertical-align: middle; text-transform: uppercase;
}
.spec {
  grid-area: spec;
  font-variant-numeric: tabular-nums;
  font-weight: 600; font-size: 0.9rem; color: var(--acero);
  background: oklch(46% 0.096 252.3 / 0.07); padding: 0.3em 0.7em; border-radius: 5px;
  justify-self: start; white-space: nowrap;
}
.tipo-link {
  grid-area: link; justify-self: start;
  display: inline-flex; align-items: center; gap: 0.4ch;
  font-weight: 700; color: var(--cta); font-size: 0.95rem;
}
.tipo-link .arr { transition: transform 0.25s var(--ease-out); }
.tipo-link:hover { color: var(--cta-bright); }
.tipo-link:hover .arr { transform: translateX(5px); }

/* Container silhouettes (light theme) */
.ctr {
  display: block;
  width: clamp(96px, 24vw, 190px);
  border: 1.5px solid var(--acero);
  border-radius: 3px;
  background-color: var(--cromo);
  background-image:
    linear-gradient(180deg, oklch(100% 0 0 / 0.55), transparent 32%, oklch(49% 0.027 258.4 / 0.12)),
    repeating-linear-gradient(90deg, oklch(90% 0.01 251) 0 5px, oklch(80% 0.016 251) 5px 9px);
  box-shadow: inset 0 0 0 3px oklch(100% 0 0 / 0.45), var(--shadow-xs);
  position: relative;
}
.ctr::before, .ctr::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--acero); border-radius: 1px; }
.ctr::before { left: -1px; top: -1px; box-shadow: 0 calc(100% - 5px) 0 var(--acero); }
.ctr::after  { right: -1px; top: -1px; box-shadow: 0 calc(100% - 5px) 0 var(--acero); }
.ctr--20 { aspect-ratio: 6.06 / 2.59; width: clamp(72px, 16vw, 110px); }
.ctr--40 { aspect-ratio: 12.19 / 2.59; }
.ctr--hc { aspect-ratio: 12.19 / 2.90; }
.ctr--nor { aspect-ratio: 12.19 / 2.59; border-top: 1.5px dashed var(--cta); }

/* ==========================================================================
   PROCESO
   ========================================================================== */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2rem); position: relative; }
.step { position: relative; padding-left: 4rem; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--cta); background: var(--surface);
  border: 1.5px solid var(--cta); border-radius: 50%;
}
.step h3 { color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.step p { margin-top: 0.35rem; color: var(--on-light-body); }

/* ==========================================================================
   PROYECTOS (caption below image)
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.4rem); }
.gallery-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.gallery-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item:hover .gallery-img img { transform: scale(1.05); }
.gallery-item figcaption { padding: 0.95rem 1.1rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.gallery-note { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; font-size: 0.9rem; color: var(--on-light-muted); font-style: italic; }
.ph-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cta); flex: none; box-shadow: 0 0 0 4px oklch(46% 0.096 252.3 / 0.16); }

/* ==========================================================================
   ALIADOS
   ========================================================================== */
.aliados-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: center; }
.aliados-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.aliados-media img { width: 100%; height: 100%; object-fit: cover; }
.respaldo-list { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: 1.3rem; }
.respaldo-list li { padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.respaldo-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.respaldo-list h3 { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.respaldo-list p { margin-top: 0.3rem; color: var(--on-light-body); }

/* ==========================================================================
   CTA FINAL (navy band)
   ========================================================================== */
.cta-final {
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, var(--acero) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy), var(--ink));
  color: var(--on-dark-body);
}
.cta-content { max-width: 44rem; margin-inline: auto; }
.cta-title { color: var(--white); font-weight: 800; font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); letter-spacing: -0.025em; }
.cta-lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); color: var(--cromo); text-wrap: pretty; }
.cta-final .btn { margin-top: 2rem; }
.cta-phone { margin-top: 1.4rem; color: var(--steel-4); font-size: 0.95rem; }
.cta-phone a { color: var(--cromo); font-weight: 700; border-bottom: 1px solid oklch(83.6% 0.014 251.6 / 0.4); }
.cta-phone a:hover { color: var(--white); }

/* ==========================================================================
   FOOTER (dark)
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--cromo); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { width: 64px; height: auto; border-radius: var(--r-sm); }
.footer-name { margin-top: 0.8rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--white); letter-spacing: -0.02em; }
.footer-slogan { margin-top: 0.2rem; font-style: italic; color: var(--steel-3); font-size: 0.95rem; }
.footer-nav h3, .footer-contact h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-3); font-weight: 700; margin-bottom: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { color: var(--cromo); font-weight: 500; width: max-content; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.footer-wa { display: inline-flex; align-items: center; gap: 0.6ch; color: var(--cromo); font-weight: 700; }
.footer-wa .ico-wa { width: 1.15em; height: 1.15em; color: var(--steel-4); }
.footer-wa:hover { color: var(--white); }
.footer-ig { color: var(--cromo); font-weight: 600; }
.footer-ig:hover { color: var(--white); }
.ph-inline { color: var(--steel-3); font-weight: 400; font-size: 0.85em; font-style: italic; }
.footer-zone { color: var(--steel-3); font-size: 0.9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--steel-3); }
.footer-version { letter-spacing: 0.04em; }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.fab-wa {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: 0.5ch;
  padding: 0.85rem 1.15rem; background: var(--cta); color: var(--white);
  font-family: var(--font-display); font-weight: 700; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s, background 0.2s var(--ease-out);
}
.fab-wa.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fab-wa:hover { transform: translateY(-3px); background: var(--cta-bright); }
.fab-wa .ico-wa { width: 1.5em; height: 1.5em; }
.fab-label { font-size: 0.95rem; }

/* ==========================================================================
   REVEAL (progressive enhancement)
   ========================================================================== */
.reveal-ready [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 620px) {
  .uso-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 920px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-figure { aspect-ratio: 3 / 3.5; }
  .assembly { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; top: 1.45rem; left: 6%; right: 6%; height: 1.5px; background: var(--line-strong); z-index: 0; }
  .step { padding-left: 0; padding-top: 3.8rem; }
  .tipo-row {
    grid-template-columns: minmax(120px, 200px) 1fr auto auto;
    grid-template-areas: "fig main spec link";
    gap: 0 2rem;
  }
  .spec { justify-self: center; }
  .aliados-grid { grid-template-columns: 0.9fr 1.1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .uso-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
