/* =========================================================================
   MASTER CONTAINERS · styles.css
   Paleta tomada del logo: azul marino #052754 y naranja #FC6B07.
   Tipografías: Archivo (títulos en ancho expandido, como el logotipo) e
   IBM Plex Mono (datos técnicos, cotas y etiquetas).
   ========================================================================= */

:root {
  --navy: #052754;
  --navy-950: #021430;
  --navy-900: #03183A;
  --navy-800: #082B5C;
  --navy-700: #0F3B78;
  --navy-600: #1D4F92;
  --navy-100: #E4EAF3;
  --navy-50: #F1F4F9;
  --orange: #FC6B07;
  --orange-600: #E85F00;
  --orange-100: #FFEEDF;
  --orange-ink: #B84D00;   /* naranja para TEXTO sobre fondos claros (contraste AA) */
  --wa: #108542;           /* verde WhatsApp con contraste AA para texto blanco */
  --wa-dark: #0C6E36;
  --ink: #0B1A2F;
  --text: #2D3C51;
  --muted: #5B6B82;
  --line: #D6DEE9;
  --line-2: #E8EDF3;
  --paper: #F3F5F8;
  --white: #FFFFFF;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 4px;
  --r-lg: 8px;
  --hdr-top: 72px;
  --hdr-nav: 50px;
  --hdr-h: calc(var(--hdr-top) + var(--hdr-nav));
  --sec: clamp(64px, 9vw, 120px);
  --shadow: 0 1px 2px rgba(3, 24, 58, .06), 0 8px 24px rgba(3, 24, 58, .08);
  --shadow-lg: 0 2px 6px rgba(3, 24, 58, .08), 0 24px 60px rgba(3, 24, 58, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (max-width: 1079px) {
  :root { --hdr-top: 60px; --hdr-nav: 0px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: rgba(252, 107, 7, .6); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; font-weight: 800; font-stretch: 112%; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.h-lg { font-size: clamp(30px, 3.6vw, 46px); }
.h-md { font-size: clamp(26px, 2.8vw, 36px); }
.gap-t-s { margin-top: 12px; }
.gap-t-m { margin-top: 18px; }
.gap-t-l { margin-top: 30px; }
.sh-tight { margin-bottom: 24px; }
.sec-tight { padding-top: clamp(40px, 5vw, 64px); }
.pos-70-55 { object-position: 70% 55%; }
.agree .i { color: var(--orange); margin-top: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy-900); padding: 10px 16px; font-weight: 700; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
.i-xl { width: 44px; height: 44px; stroke-width: 1.4; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r); border: 1.5px solid transparent;
  font-weight: 700; font-size: 15.5px; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--orange); color: var(--navy-900); }
.btn-primary:hover { background: var(--orange-600); color: var(--navy-900); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.lnk {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--navy);
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.lnk .i { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .2s var(--ease); }
.lnk:hover .i { transform: translateX(3px); }
.lnk-light { color: #fff; }
.lnk-light:hover { color: #fff; }

/* ---------- Cabecera ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: #fff; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(3, 24, 58, .08); }
.hdr-top { height: var(--hdr-top); border-bottom: 1px solid var(--line-2); }
.hdr-top-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.hdr-claim {
  margin: 0; padding-left: 24px; border-left: 1px solid var(--line);
  font-weight: 700; font-stretch: 105%; color: var(--orange-ink); font-size: 15px; line-height: 1.2;
}
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15px; }
.hdr-phone .i { width: 20px; height: 20px; color: var(--wa); }
.hdr-phone small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.burger { display: none; }

.hdr-nav { position: relative; background: var(--navy); color: #fff; height: var(--hdr-nav); }
.hdr-nav-in { height: 100%; display: flex; align-items: stretch; }
.tabs { display: flex; align-items: stretch; height: 100%; margin-left: -14px; }
.tabs > li { display: flex; position: relative; }
.tabs > li + li::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: rgba(255, 255, 255, .16); }
.tab {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px;
  color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: none; border: 0;
}
.tab .i { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s var(--ease); opacity: .8; }
.tab::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.tab:hover, .tab[aria-expanded="true"] { color: #fff; }
.tab:hover::after, .tab.is-current::after, .tab[aria-expanded="true"]::after { transform: scaleX(1); }
.tab.is-current { color: #fff; }
.tab[aria-expanded="true"] .i { transform: rotate(180deg); }
.hdr-nav-aside { margin-left: auto; display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hdr-nav-aside a { color: rgba(255, 255, 255, .8); display: inline-flex; }
.hdr-nav-aside a:hover { color: #fff; }
.hdr-nav-aside .i { width: 18px; height: 18px; }

/* ---------- Menú desplegable (mega) ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--orange);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.mega.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega-in {
  max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto;
  display: grid; grid-template-columns: 318px minmax(0, 1fr) 268px; min-height: 360px;
}
.mega-col { background: var(--navy-900); color: #fff; padding: 18px 0 22px; }
.mega-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 22px 10px; padding: 6px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 19px;
}
.mega-head .i { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.4; }
.mega-head:hover { color: #fff; }
.mega-link {
  position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; align-items: center;
  padding: 10px 22px; color: rgba(255, 255, 255, .82); text-decoration: none; transition: background-color .15s, color .15s;
}
.mega-link .i { grid-row: span 2; width: 20px; height: 20px; color: rgba(255, 255, 255, .6); }
.mega-link .t { font-weight: 600; font-size: 15px; line-height: 1.25; }
.mega-link .m { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .5); letter-spacing: .02em; }
.mega-link::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--orange); transform: scaleY(0); transition: transform .18s var(--ease); }
.mega-link.is-on, .mega-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.mega-link.is-on::before { transform: scaleY(1); }
.mega-link.is-on .i { color: var(--orange); }
.mega-pv { position: relative; padding: 28px 34px; }
.pv { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; height: 100%; }
.pv.is-on { display: grid; animation: pvIn .22s var(--ease); }
@keyframes pvIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.pv-art { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 230px; }
.pv-art--img { max-height: 300px; }
.pv-art--img img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.pv-art--draw { padding: 18px; background-color: var(--paper); background-image: linear-gradient(rgba(5, 39, 84, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 39, 84, .06) 1px, transparent 1px); background-size: 24px 24px; }
.pv-art--draw .ct-svg { width: 100%; height: auto; }
.pv-art--stack { flex-direction: column; gap: 6px; align-items: stretch; }
.pv-art--mark { color: var(--navy); background: var(--navy-50); }
.pv-h { font-size: 22px; margin-bottom: 10px !important; font-weight: 800; font-stretch: 112%; color: var(--ink); line-height: 1.12; letter-spacing: -.012em; }
.pv-txt p { font-size: 15px; color: var(--text); }
.pv-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 6px !important; font-weight: 500; }
.pv-specs { margin: 14px 0 18px; border-top: 1px solid var(--line); }
.pv-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.pv-specs dt { color: var(--muted); }
.pv-specs dd { font-family: var(--mono); font-weight: 500; color: var(--ink); text-align: right; }
.pv-person { align-self: stretch; background: var(--navy-50); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: center; }

.pv-role { color: var(--muted); font-size: 14.5px; margin: 2px 0 16px !important; }
.pv-ch li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.pv-ch .i { width: 18px; height: 18px; color: var(--navy); }
.pv-ch a { text-decoration: none; font-weight: 600; word-break: break-all; }
.mega-aside { background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--line-2); }
.mega-aside p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.mega-aside .btn { align-self: flex-start; }
.mega-wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--navy); font-size: 15px; }
.mega-wa .i { color: var(--wa); }
.hdr.mega-open::after { content: ""; position: fixed; inset: var(--hdr-h) 0 0; background: rgba(2, 20, 48, .28); z-index: -1; pointer-events: none; }

/* ---------- Cajón móvil ---------- */
.veil { position: fixed; inset: 0; background: rgba(2, 20, 48, .55); z-index: 140; opacity: 0; transition: opacity .25s; }
.veil.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 150; width: min(88vw, 380px);
  background: var(--navy-900); color: #fff; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .28s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); flex: none; }
.dr-head img { height: 32px; width: auto; }
.dr-close { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: #fff; }
.dr-close .i { width: 24px; height: 24px; }
.dr-list { padding: 10px 0; }
.dr-item {
  position: relative; width: 100%; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 20px;
  background: none; border: 0; color: #fff; text-decoration: none; font-weight: 600; font-size: 16.5px; text-align: left;
}
.dr-item .i { color: rgba(255, 255, 255, .6); }
.dr-item.is-current { background: rgba(255, 255, 255, .06); }
.dr-item.is-current::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--orange); }
.dr-item.is-current .i { color: var(--orange); }
.dr-chev { margin-left: auto; transition: transform .2s; }
.dr-item[aria-expanded="true"] .dr-chev { transform: rotate(180deg); }
.dr-sub { background: rgba(0, 0, 0, .18); padding: 6px 0; }
.dr-sub a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 20px 0 54px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; }
.dr-sub a .i { width: 18px; height: 18px; color: rgba(255, 255, 255, .45); }
.dr-sub a:hover { color: #fff; }
.dr-foot { margin-top: auto; padding: 22px 20px 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.dr-claim { font-weight: 700; font-stretch: 108%; color: var(--orange); margin-bottom: 16px !important; }
.dr-foot .btn { width: 100%; margin-bottom: 14px; }
.dr-ch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dr-ch a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); color: #fff; text-decoration: none; font-size: 12.5px; }
.dr-ch .i { width: 20px; height: 20px; }

@media (max-width: 1079px) {
  .hdr-nav { display: none; }
  .hdr-claim, .hdr-phone { display: none; }
  .hdr-top-in { gap: 12px; }
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: -6px; flex: none;
    background: var(--navy); border: 0; border-radius: var(--r); padding: 0;
  }
  .burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; }
  .burger span + span { display: none; }
  .brand img { height: 32px; }
  .hdr-actions .btn { min-height: 40px; padding: 0 14px; }
}
@media (max-width: 380px) {
  .brand img { height: 27px; }
  .hdr-actions .btn { padding: 0 12px; font-size: 14px; }
}

/* ---------- Encabezados de sección ---------- */
.sec { padding: var(--sec) 0; }
.sec-paper { background: var(--paper); }
.sec-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.sec-navy h2, .sec-navy h3, .sec-navy h4 { color: #fff; }
.ribs { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 18px, transparent 18px 36px); }
.sh { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.sh h2 { font-size: clamp(30px, 3.6vw, 46px); }
.sh h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--orange); margin-top: 18px; }
.sh .lead { margin-top: 20px; }
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; }
.sh-row > div { max-width: 760px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text); }
.sec-navy .lead { color: rgba(255, 255, 255, .78); }
.kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px !important; }
.sec-navy .kicker { color: var(--orange); }

/* ---------- Hero de inicio ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 20, 48, .94) 0%, rgba(3, 24, 58, .82) 34%, rgba(3, 24, 58, .35) 62%, rgba(3, 24, 58, .12) 100%),
    linear-gradient(0deg, rgba(2, 20, 48, .7) 0%, rgba(2, 20, 48, 0) 38%);
}
.hero-in { min-height: clamp(560px, 82vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 150px; }
@media (max-width: 1079px) {
  .hero::before { background: linear-gradient(90deg, rgba(2, 20, 48, .9) 0%, rgba(3, 24, 58, .6) 100%), linear-gradient(0deg, rgba(2, 20, 48, .7) 0%, rgba(2, 20, 48, 0) 40%); }
}
@media (min-width: 1080px) {
  /* Portada partida: texto sobre azul sólido (como la tapa del dossier) y foto a la derecha */
  .hero { background-color: var(--navy-900); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 18px, transparent 18px 36px); }
  .hero-media { left: 50%; }
  .hero::before { background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 50%, rgba(3, 24, 58, .7) 54%, rgba(3, 24, 58, .15) 66%, rgba(3, 24, 58, 0) 80%), linear-gradient(0deg, rgba(2, 20, 48, .55) 0%, rgba(2, 20, 48, 0) 28%); }
  .hero::before { background-repeat: no-repeat; }
  .hero .hero-in > * { max-width: min(610px, 43vw); }
  .hero .hero-in h1 { font-size: clamp(44px, 4.6vw, 70px); }
}
.hero-loc { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 22px !important; }
.hero-loc::before { content: ""; width: 28px; height: 3px; background: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 78px); font-stretch: 118%; font-weight: 800; line-height: 1.02; max-width: 13.5em; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-credit { position: absolute; right: var(--gut); bottom: 128px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .5); letter-spacing: .04em; }

/* Barra de consulta rápida (inspirada en las herramientas rápidas de las navieras) */
.qq-wrap { position: relative; z-index: 3; margin-top: -96px; }
.qq { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.qq-head { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: var(--navy-900); color: #fff; flex-wrap: wrap; }
.qq-head strong { font-weight: 800; font-stretch: 112%; font-size: 17px; }
.qq-head span { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .65); letter-spacing: .04em; }
.qq-head .qq-more { margin-left: auto; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.qq-head .qq-more .i { width: 16px; height: 16px; color: var(--orange); }
.qq-fields { display: grid; grid-template-columns: 1.25fr 1.15fr 150px 1.25fr auto; gap: 0; align-items: stretch; padding: 10px; }
.fld { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 16px; border-right: 1px solid var(--line-2); min-width: 0; }
.fld > span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fld select, .fld input {
  width: 100%; border: 0; background: transparent; padding: 4px 0; font-size: 16px; font-weight: 600; color: var(--ink);
  outline: none; appearance: none; -webkit-appearance: none; min-width: 0;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23052754' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 22px; cursor: pointer; }
.fld input::placeholder, .qf input::placeholder, .qf textarea::placeholder, .cfield input::placeholder { color: #66758A; font-weight: 400; opacity: 1; }
.fld:focus-within { background: var(--navy-50); border-radius: var(--r); }
.qq .btn { margin-left: 10px; min-height: 60px; padding: 0 28px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 50%; color: var(--navy); padding: 0; }
.stepper button:hover { border-color: var(--navy); }
.stepper button .i { width: 14px; height: 14px; stroke-width: 2.4; }
.stepper input { text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qq-note { padding: 0 26px 14px; font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Qué hacemos (tres líneas) ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.line-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s; }
.line-card:hover { border-color: var(--navy); color: inherit; }
.line-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); position: relative; }
.line-card figure img { width: 100%; height: 100%; object-fit: cover; }
.line-card figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.line-card:hover figure::after { transform: scaleX(1); }
.line-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.line-n { font-family: var(--mono); font-size: 13px; color: var(--orange-ink); font-weight: 500; margin-bottom: 10px !important; letter-spacing: .06em; }
.line-body h3 { font-size: 23px; margin-bottom: 12px; }
.line-body p { font-size: 16px; }
.line-body .lnk { margin-top: auto; align-self: flex-start; padding-top: 18px; border-bottom: 0; }
.line-body .lnk span { border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

/* ---------- Visor de fichas ---------- */
.viewer { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.viewer-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.viewer-tabs button {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 22px; border: 0; background: none; text-align: left;
  border-right: 1px solid var(--line-2); color: var(--muted);
}
.viewer-tabs button:last-child { border-right: 0; }
.viewer-tabs b { font-weight: 800; font-stretch: 110%; font-size: 19px; color: var(--ink); }
.viewer-tabs small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; }
.viewer-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .22s var(--ease); }
.viewer-tabs button[aria-selected="true"] { background: var(--navy-50); }
.viewer-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.viewer-tabs button:hover b { color: var(--navy-700); }
.viewer-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
.viewer-stage {
  padding: 34px 28px 22px; display: flex; align-items: center; min-height: 360px;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(5, 39, 84, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 39, 84, .055) 1px, transparent 1px);
  background-size: 29px 29px; background-position: -1px -1px;
}
.viewer-stage .ct-svg { width: 100%; height: auto; animation: pvIn .25s var(--ease); }
.dim-t { font-family: var(--mono); fill: var(--navy); font-weight: 500; }
.ghost-t { font-family: var(--mono); fill: rgba(5, 39, 84, .72); }
.viewer-info { padding: 30px 32px; border-left: 1px solid var(--line); }
.v-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 6px !important; font-weight: 500; }
.v-name { font-size: 30px; margin-bottom: 10px; }
.v-desc { font-size: 16px; }
.spec-dl { margin: 18px 0 24px; border-top: 1px solid var(--line); }
.spec-dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.spec-dl dt { font-size: 15px; color: var(--muted); }
.spec-dl dd { font-family: var(--mono); font-weight: 600; font-size: 15.5px; color: var(--ink); text-align: right; }
.v-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.v-cta .btn { flex: 1 1 auto; }
.viewer-foot { padding: 14px 24px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; display: flex; gap: 10px; align-items: center; }
.viewer-foot .i { width: 18px; height: 18px; color: var(--navy); }

/* ---------- Aplicaciones (sección azul) ---------- */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); }
.app { padding: 30px 28px 6px 0; }
.app + .app { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.app .i { width: 34px; height: 34px; color: var(--orange); stroke-width: 1.5; margin-bottom: 20px; }
.app h3 { font-size: 20px; margin-bottom: 10px; }
.app p { font-size: 15.5px; color: rgba(255, 255, 255, .74); }
.prio { margin-top: clamp(48px, 6vw, 76px); display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .16); }
.prio h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.prio h3 span { color: var(--orange); display: block; }
.prio ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.prio li { display: flex; align-items: center; gap: 12px; padding: 6px 20px; font-weight: 700; color: #fff; font-size: 16.5px; border-left: 2px solid var(--orange); }
.prio li .i { color: rgba(255, 255, 255, .7); }

/* ---------- Caso destacado ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-meta { margin: 26px 0; border-top: 1px solid var(--line); }
.case-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.case-meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case-meta dd { font-weight: 600; color: var(--ink); }
.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-photos figure { margin: 0; }
.case-photos img { width: 100%; aspect-ratio: 595 / 620; object-fit: cover; border-radius: var(--r); background: var(--paper); }
.case-photos figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
.case-quote { margin-top: 22px; padding: 22px 26px; background: var(--paper); border-left: 4px solid var(--orange); font-size: 16.5px; color: var(--ink); }

/* ---------- Sectores ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.sector { padding: 22px 22px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sector:not(:nth-child(4n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.sector .n { font-family: var(--mono); font-size: 12.5px; color: var(--orange-ink); font-weight: 500; }
.sector h3 { font-size: 19px; font-stretch: 106%; line-height: 1.2; }
.sectors-foot { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.sectors-foot p { max-width: 760px; }

/* ---------- Empresa (bloque de inicio) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-fig { margin: 0; position: relative; }
.about-fig img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 806 / 570; object-fit: cover; }
.about-since { position: absolute; left: -1px; bottom: -1px; background: var(--navy); color: #fff; padding: 18px 24px 16px; border-radius: 0 var(--r-lg) 0 var(--r-lg); }
.about-since small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--orange); }
.about-since b { font-size: 46px; font-weight: 800; font-stretch: 118%; line-height: 1; }
.checks { margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 16px; }
.checks .i { color: var(--orange); stroke-width: 2.6; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Llamado final ---------- */
.cta { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0%, rgba(3, 24, 58, .86) 45%, rgba(3, 24, 58, .55) 100%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 112px); }
.cta h2 { color: #fff; font-size: clamp(32px, 4.2vw, 54px); font-stretch: 116%; }
.cta h2 span { color: var(--orange); }
.cta-in > div:first-child > p { color: rgba(255, 255, 255, .82); font-size: 18px; margin-top: 18px; max-width: 560px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.card-person { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.card-person .kicker { margin-bottom: 8px !important; }
.card-person h3 { font-size: 26px; }
.card-person .role { color: var(--muted); margin: 2px 0 18px !important; }
.card-person ul { border-top: 1px solid var(--line); }
.card-person li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.card-person li .i { color: var(--navy); }
.card-person li a { text-decoration: none; font-weight: 700; color: var(--navy); word-break: break-word; }
.card-person li a:hover { text-decoration: underline; }

/* ---------- Pie ---------- */
.ftr { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: 15px; }
.ftr a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; padding-block: 72px 56px; }
.ftr-brand img { height: 74px; width: auto; margin-bottom: 20px; }
.ftr-brand p { max-width: 320px; }
.ftr-h { color: #fff; font-size: 15px; font-stretch: 108%; margin-bottom: 16px; letter-spacing: .01em; }
.ftr-tag { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.ftr li { padding: 5px 0; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .i { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr-bottom-in { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-block: 22px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: rgba(255, 255, 255, .5); }

/* Botón flotante de WhatsApp */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 28px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 22px rgba(3, 24, 58, .3);
}
.fab:hover { color: #fff; background: var(--wa-dark); }
.fab { transition: opacity .25s, transform .25s var(--ease), background-color .2s; }
.fab.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab .i { width: 26px; height: 26px; }

/* ---------- Páginas interiores ---------- */
.phero { position: relative; isolation: isolate; color: #fff; background: var(--navy); }
.phero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0%, rgba(3, 24, 58, .8) 45%, rgba(3, 24, 58, .35) 100%); }
.phero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(44%, 620px); height: 8px; background: var(--orange); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.pos-cranes { object-position: 72% 40%; }
.phero.ribs::before { background: linear-gradient(90deg, rgba(2, 20, 48, .5), rgba(2, 20, 48, 0)); }
.phero-in { padding-block: clamp(48px, 7vw, 88px) clamp(52px, 7vw, 92px); }
.phero-in > * { max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; margin-bottom: 22px !important; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--orange); }
.phero-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.phero-mark { width: clamp(120px, 15vw, 210px); height: auto; opacity: .92; }
.opt-art--q { justify-content: center; align-items: center; color: var(--navy); }
.opt-art--q .i { width: 30px; height: 30px; }
.phero h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); font-stretch: 116%; }
.phero p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .84); max-width: 680px; }

/* Barra lateral estilo panel (escritorio) */
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); align-items: start; }
.rail { position: sticky; top: var(--hdr-h); height: calc(100vh - var(--hdr-h)); background: var(--navy-900); color: #fff; display: flex; flex-direction: column; z-index: 5; transition: width .25s var(--ease); }
.rail-title { padding: 22px 22px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.rail-nav { overflow-y: auto; flex: 1; }
.rail-link { position: relative; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 22px; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.rail-link .i { color: rgba(255, 255, 255, .55); }
.rail-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.rail-link.is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.rail-link.is-on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--orange); }
.rail-link.is-on .i { color: var(--orange); }
.rail-foot { padding: 16px 22px 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rail-foot .btn { flex: 1; }
.rail-toggle { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; color: var(--navy); }
.rail-toggle .i { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.rail-min .layout { grid-template-columns: 72px minmax(0, 1fr); }
.rail-min .rail-title, .rail-min .rail-link span, .rail-min .rail-foot .btn { display: none; }
.rail-min .rail-link { justify-content: center; padding: 0; }
.rail-min .rail-foot { justify-content: center; padding: 16px 0 22px; }
.rail-min .rail-toggle .i { transform: rotate(180deg); }
.content { min-width: 0; }
.content .wrap { max-width: calc(1080px + var(--gut) * 2); }
.chips { display: none; }

@media (max-width: 1179px) {
  .layout { display: block; }
  .rail { display: none; }
  html { scroll-padding-top: calc(var(--hdr-h) + 72px); }
  .chips {
    display: flex; gap: 8px; position: sticky; top: var(--hdr-h); z-index: 20; overflow-x: auto; scrollbar-width: none;
    padding: 10px var(--gut); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
  .chips a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
}

/* Fichas de contenedor (contenedores.html) */
.overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ov { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; color: inherit; overflow: hidden; transition: border-color .2s; }
.ov:hover { border-color: var(--navy); color: inherit; }
.ov-art { padding: 20px 16px 12px; background: var(--paper); min-height: 112px; display: flex; align-items: flex-end; }
.ov-art .ct-svg { width: 100%; height: auto; }
.ov-body { padding: 16px 18px 18px; }
.ov-body h3 { font-size: 18px; }
.ov-body p { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.ficha { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.ficha-grid { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3vw, 40px); }
.ficha-grid > div:last-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px); align-content: start; }
.ficha-grid > div:last-child > * { grid-column: 1; }
.ficha-grid > div:last-child > .spec-dl { grid-column: 2; grid-row: 1 / span 6; margin: 0; align-self: start; }
.ficha-stage { border-radius: var(--r-lg); padding: 30px 20px 16px; background-color: var(--paper); background-image: linear-gradient(rgba(5, 39, 84, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 39, 84, .055) 1px, transparent 1px); background-size: 29px 29px; }
.ficha-stage .ct-svg { width: 100%; height: auto; }
.ficha h2 { font-size: clamp(28px, 3.2vw, 40px); }
.ficha .tagline { margin-top: 10px; font-size: 18px; color: var(--ink); }
.ficha .note { font-size: 15.5px; color: var(--muted); margin-top: 14px; }
.ficha-photo { margin: 18px 0 0; }
.ficha-photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 21 / 8; object-fit: cover; }
.ficha-photo figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.ficha .v-cta { margin-top: 6px; }

.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp-scroll { overflow-x: auto; border-radius: var(--r-lg); }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cmp thead th { background: var(--navy); color: #fff; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cmp tbody th { font-weight: 800; font-stretch: 108%; color: var(--ink); font-size: 17px; white-space: nowrap; }
.cmp td { font-family: var(--mono); font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.cmp td.art { width: 34%; min-width: 220px; }
.cmp td.art .ct-svg { width: 100%; height: auto; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Calculadora */
.calc { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.calc-form { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.calc-form h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.calc-form > p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.cfield { display: block; margin-top: 18px; }
.cfield > span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-bottom: 6px; }
.cfield .in { display: flex; align-items: center; background: #fff; border-radius: var(--r); overflow: hidden; }
.cfield input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; font-size: 17px; font-weight: 600; color: var(--ink); outline: none; }
.cfield .in:focus-within { outline: 3px solid var(--orange); }
.cfield .u-lab { padding: 0 14px; font-family: var(--mono); color: var(--muted); font-size: 14px; }
.ccheck { display: flex; gap: 12px; align-items: center; margin-top: 20px; font-weight: 600; cursor: pointer; }
.ccheck input { width: 20px; height: 20px; accent-color: var(--orange); }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.calc-empty { grid-column: 1 / -1; padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.calc-r { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.calc-r.is-best { border: 2px solid var(--orange); }
.calc-flag { position: absolute; top: -12px; left: 16px; background: var(--orange); color: var(--navy-900); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.calc-r-head { display: flex; align-items: baseline; gap: 10px; }
.calc-n { font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--orange-ink); }
.calc-r h4 { font-size: 18px; }
.calc-r-art { background: var(--paper); border-radius: var(--r); padding: 10px; }
.calc-r-art .ct-svg { width: 100%; height: auto; }
.u { display: grid; grid-template-columns: 64px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.u span { color: var(--muted); }
.u b { font-family: var(--mono); font-weight: 600; text-align: right; color: var(--ink); }
.u-bar { height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.u-bar i { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.calc-note { font-size: 13px; color: var(--muted); }
.calc-r .lnk { margin-top: auto; align-self: flex-start; font-size: 14px; }
.disclaimer { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; }
.disclaimer .i { width: 18px; height: 18px; color: var(--navy); margin-top: 2px; }

/* Servicios */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; }
.svc-fig { margin: 0; }
@media (min-width: 1080px) { .svc:nth-child(even) .svc-fig { order: 2; } }
.svc-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.svc-n { font-family: var(--mono); color: var(--orange-ink); font-size: 13px; letter-spacing: .08em; margin-bottom: 12px !important; }
.svc h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.svc .v-cta { margin-top: 26px; }
.factors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg); overflow: hidden; }
.factor { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .18); }
.factor:last-child { border-right: 0; }
.factor .n { font-family: var(--mono); font-size: 12px; color: var(--orange); }
.factor h3 { margin-top: 10px; font-size: 19px; }
.factor .i { width: 30px; height: 30px; color: rgba(255, 255, 255, .7); stroke-width: 1.5; margin-top: 18px; }
.agree { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-left: 4px solid var(--orange); background: rgba(255, 255, 255, .06); color: #fff; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { position: relative; padding: 0 26px 0 0; }
.step::before { counter-increment: s; content: "0" counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--mono); font-weight: 600; font-size: 15px; margin-bottom: 20px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--text); }
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prod-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.prod-list li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 17px; }
.prod-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.prod-list .i { color: var(--orange-600); width: 26px; height: 26px; stroke-width: 1.6; }

/* Empresa */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote-big { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; font-stretch: 106%; line-height: 1.3; color: var(--ink); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.tl { position: relative; padding-top: 40px; }
.tl::before { content: ""; position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); }
.tl.is-now::before { border-color: var(--orange); }
.tl .when { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); font-weight: 500; }
.tl h3 { font-size: 21px; margin: 8px 0 10px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.value { padding: 32px 24px; display: flex; flex-direction: column; gap: 18px; }
.value + .value { border-left: 1px solid rgba(255, 255, 255, .18); }
.value .i { width: 36px; height: 36px; color: var(--orange); stroke-width: 1.5; }
.value h3 { font-size: clamp(20px, 2vw, 26px); }
.commit { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.commit h3 { font-size: 20px; }
.commit ul { display: flex; flex-wrap: wrap; gap: 10px; }
.commit li { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 22px; color: #fff; font-weight: 600; font-size: 15px; }

/* Contacto / cotizador */
.qgrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.q-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; counter-reset: q; }
.q-progress li { position: relative; }
.q-progress button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: none; border: 0; padding: 12px 10px 12px 0; text-align: left; color: var(--muted); font-size: 14px; font-weight: 600; border-top: 4px solid var(--line); }
.q-progress button span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }
.q-progress .is-on button { border-top-color: var(--orange); color: var(--ink); }
.q-progress .is-done button { border-top-color: var(--navy); color: var(--navy); }
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.q-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-step legend, .q-step h3 { line-height: 1.15; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; font-stretch: 112%; color: var(--ink); padding: 0; margin-bottom: 6px; outline: none; }
.q-step .hint { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.opts { display: grid; gap: 12px; }
.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opts-4 { grid-template-columns: repeat(2, 1fr); }
.opts-ct { grid-template-columns: repeat(3, 1fr); }
.opts-ct .opt:last-child { grid-column: span 2; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt-box { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s, background-color .15s; }
.opt-box .i { color: var(--navy); width: 26px; height: 26px; stroke-width: 1.6; }
.opt-box b { color: var(--ink); font-size: 16.5px; line-height: 1.25; }
.opt-box small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.opt-art { background: var(--paper); border-radius: var(--r); padding: 10px 8px 6px; min-height: 62px; display: flex; align-items: flex-end; }
.opt-art .ct-svg { width: 100%; height: auto; }
.opt input:checked + .opt-box { border-color: var(--orange); background: var(--orange-100); box-shadow: inset 0 0 0 1px var(--orange); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.opt-box .chk { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; }
.opt-box .chk .i { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.opt input:checked + .opt-box .chk { background: var(--orange); border-color: var(--orange); }
.opt input:checked + .opt-box .chk .i { opacity: 1; color: var(--navy-900); }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf { display: block; margin-top: 16px; }
.qf > span { display: block; font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 6px; }
.qf > span em { font-style: normal; color: var(--muted); font-weight: 400; }
.qf input, .qf select, .qf textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 16px; background: #fff; color: var(--ink); outline: none; transition: border-color .15s; }
.qf textarea { min-height: 96px; resize: vertical; }
.qf input:focus, .qf select:focus, .qf textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5, 39, 84, .12); }
.qf select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23052754' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.qty-row > span { font-weight: 700; color: var(--ink); }
.qty-row .stepper { border: 1.5px solid var(--line); border-radius: 26px; padding: 4px; }
.qty-row .stepper button { width: 38px; height: 38px; }
.qty-row .stepper input { width: 56px; border: 0; font-size: 18px; font-weight: 700; color: var(--ink); outline: none; }
.q-err { margin-top: 16px; color: #B3261E; font-weight: 600; font-size: 15px; }
.q-nav { display: flex; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.q-nav .q-next, .q-nav .q-send { margin-left: auto; }
.q-ok { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: #E7F6EC; color: #145C2E; font-weight: 600; font-size: 15px; }
.q-side { position: sticky; top: calc(var(--hdr-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.q-sum { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.q-sum h3 { color: #fff; font-size: 19px; margin-bottom: 14px; }
.q-sum dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.q-sum dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding-top: 2px; }
.q-sum dd { color: #fff; font-weight: 600; word-break: break-word; }
.q-sum .muted { color: rgba(255, 255, 255, .64); font-weight: 400; }
.q-art { margin-top: 14px; }
.q-art .ct-svg { width: 100%; height: auto; }
.q-side .card-person { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Adaptación ---------- */
@media (max-width: 1179px) {
  .mega-in { grid-template-columns: 290px minmax(0, 1fr); }
  .mega-aside { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 1079px) {
  .qq-fields { grid-template-columns: 1fr 1fr; padding: 6px; gap: 0; }
  .fld { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 12px 14px; }
  .qq .btn { grid-column: 1 / -1; margin: 10px 8px 6px; }
  .lines { grid-template-columns: 1fr; }
  .line-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .line-card figure { aspect-ratio: auto; min-height: 100%; }
  .viewer-body { grid-template-columns: 1fr; }
  .viewer-info { border-left: 0; border-top: 1px solid var(--line); }
  .viewer-stage { min-height: 0; }
  .apps { grid-template-columns: 1fr 1fr; }
  .app:nth-child(3) { padding-left: 0; border-left: 0; }
  .app:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .prio { grid-template-columns: 1fr; }
  .prio ul { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .case { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .sector:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr 1fr; }
  .ficha-grid, .calc, .svc, .two, .prod, .qgrid { grid-template-columns: 1fr; }
  .ficha-grid > div:last-child { display: block; }
  .ficha-grid > div:last-child > .spec-dl { margin: 18px 0 24px; }
  .ficha-photo img { aspect-ratio: 16 / 9; }
  .svc-fig { order: -1; }
  .factors { grid-template-columns: 1fr 1fr; }
  .factor { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .factor:nth-child(even) { border-right: 0; }
  .factor:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .step:nth-child(2)::after { display: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .commit { grid-template-columns: 1fr; }
  .q-side { position: static; }
  .sectors-foot { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero-in { padding-bottom: 120px; min-height: 0; padding-top: 72px; }
  .hero-credit { display: none; }
  .phero-mark { display: none; }
  .phero-split { display: block; }
  .hero-cta .btn { flex: 1 1 100%; }
  .qq-wrap { margin-top: -72px; }
  .qq-fields { grid-template-columns: 1fr; }
  .qq-head .qq-more { margin-left: 0; }
  .line-card { display: flex; }
  .line-card figure { aspect-ratio: 16 / 9; min-height: 0; }
  .qq-head span { display: none; }
  .hero-loc { font-size: 11px; letter-spacing: .06em; }
  .viewer-tabs { grid-template-columns: repeat(2, 1fr); }
  .viewer-tabs button:nth-child(2) { border-right: 0; }
  .viewer-tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .viewer-tabs b { font-size: 17px; }
  .viewer-stage { padding: 22px 10px 12px; }
  .viewer-info { padding: 24px 20px; }
  .apps { grid-template-columns: 1fr; }
  .app, .app + .app { padding: 24px 0; border-left: 0; }
  .app + .app { border-top: 1px solid rgba(255, 255, 255, .16); }
  .prio ul { grid-template-columns: 1fr 1fr; }
  .case-photos { grid-template-columns: 1fr 1fr; }
  .case-photos figure:last-child { grid-column: 1 / -1; }
  .case-photos figure:last-child img { aspect-ratio: 16 / 10; }
  .case-meta div { grid-template-columns: 96px 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .sector, .sector:nth-child(even) { padding-left: 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 16px; padding: 16px 0; }
  .checks { grid-template-columns: 1fr; }
  .about-since b { font-size: 36px; }
  .ftr-top { grid-template-columns: 1fr 1fr; padding-block: 56px 40px; gap: 32px 24px; }
  .ftr-contact { grid-column: 1 / -1; }
  .fab span { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .overview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ov-art { padding: 14px 10px 8px; min-height: 70px; }
  .ov-body { padding: 12px 12px 14px; }
  .ov-body h3 { font-size: 16px; }
  .factors { grid-template-columns: 1fr; }
  .factor { border-right: 0; }
  .factor:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 72px; min-height: 52px; }
  .step::before { position: absolute; left: 0; top: 0; margin: 0; }
  .step::after { left: 25px; top: 52px; bottom: -28px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 14px); display: block; }
  .step:nth-child(2)::after { display: block; }
  .step:last-child::after { display: none; }
  .prod-list { grid-template-columns: 1fr; }
  .prod-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 36px; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl { padding-top: 0; }
  .tl::before { left: -36px; top: 2px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { padding: 24px 16px; }
  .opts-3, .opts-4 { grid-template-columns: 1fr; }
  .opts-ct { grid-template-columns: 1fr 1fr; }
  .qrow { grid-template-columns: 1fr; gap: 0; }
  .q-progress button { font-size: 0; gap: 0; }
  .q-progress button span { font-size: 11.5px; }
  .q-nav .btn { flex: 1 1 auto; }
  .q-nav .q-next, .q-nav .q-send { margin-left: 0; }
  .cmp td.art { min-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .fab, .rail, .chips, .ftr, .qq-wrap { display: none !important; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 880px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; flex: none; color: var(--orange-ink); stroke-width: 2.2; transition: transform .2s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy-700); }
.faq .ans { padding: 0 48px 24px 0; max-width: 760px; }
.faq .ans p { margin: 0; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(56px, 9vw, 120px); }
.nf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.nf-art { border-radius: var(--r-lg); padding: 28px 20px 14px; background-color: var(--paper); background-image: linear-gradient(rgba(5, 39, 84, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 39, 84, .055) 1px, transparent 1px); background-size: 29px 29px; }
.nf-art .ct-svg { width: 100%; height: auto; }
.nf h1 { font-size: clamp(34px, 4.6vw, 58px); font-stretch: 116%; margin: 6px 0 18px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 1079px) { .nf-in { grid-template-columns: 1fr; } }

/* ---------- Página de marca (marca.html) ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bcard { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.bcard-art { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 7% 16%; }
.bcard-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.bcard-wide { padding: 7% 9%; }
.bcard-iso { padding: 12% 28%; }
.on-white { background: #fff; border-bottom: 1px solid var(--line-2); }
.on-paper { background: var(--paper); }
.on-navy { background: var(--navy); }
.on-dark { background: var(--navy-900); }
.on-orange { background: var(--orange); }
.bcard figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 18px; flex-wrap: wrap; }
.bcard figcaption b { display: block; color: var(--ink); font-size: 16px; }
.bcard figcaption span { color: var(--muted); font-size: 14px; }
.bcard-dl { display: flex; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: 18px; background: #fff; color: var(--navy); font-weight: 700; font-size: 13.5px; text-decoration: none; cursor: pointer; }
.chip-btn:hover { background: var(--navy); color: #fff; }
.zoom-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zoom-box { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.zoom-box img { position: absolute; max-width: none; height: auto; }
.zoom-raster img { width: 610%; left: -154.5%; top: -60.6%; image-rendering: pixelated; }
.zoom-vector img { width: 611.8%; left: -156.4%; top: -63%; }
.zoom-box figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 4px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sw { width: 100%; height: 100%; padding: 0; text-align: left; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.sw:hover { border-color: var(--navy); }
.sw-c { display: block; height: 110px; }
.c-navy { background: #052754; } .c-orange { background: #FC6B07; } .c-deep { background: #03183A; } .c-ink { background: #B84D00; } .c-paper { background: #F3F5F8; border-bottom: 1px solid var(--line-2); }
.sw-b { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.sw-b b { color: var(--ink); font-size: 15px; }
.sw-b code { font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.sw-b small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.copy-ok { margin-top: 14px; font-weight: 600; color: var(--navy); }
.type-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.type-big { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; font-stretch: 118%; color: var(--ink); line-height: 1.05; letter-spacing: -.015em; margin: 6px 0 18px !important; }
.type-mono { font-family: var(--mono); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); margin: 6px 0 18px !important; }
.type-name { color: var(--muted); font-size: 14px; }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 2px solid var(--navy); }
.rules li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules b { color: var(--ink); font-size: 17px; }
@media (max-width: 1079px) { .swatches { grid-template-columns: repeat(3, 1fr); } .type-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .brand-grid, .zoom-cmp, .rules { grid-template-columns: 1fr; } .swatches { grid-template-columns: 1fr 1fr; } }

/* ---------- Trabajos: galerías ---------- */
.tj-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.tj-meta { margin: 22px 0 0; }
.tg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); grid-auto-flow: dense; gap: 10px; }
.tg-it { position: relative; display: block; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--navy-900); }
.tg-it.is-tall { grid-row: span 2; }
.tg > .tg-it:first-child:not(.is-tall) { grid-column: span 2; grid-row: span 2; }
.tg-it img, .tg-it video { width: 100%; height: 100%; object-fit: cover; display: block; }
a.tg-it img { transition: transform .5s var(--ease), opacity .3s; }
a.tg-it:hover img { transform: scale(1.035); }
a.tg-it::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(3, 24, 58, .08); border-radius: inherit; pointer-events: none; }
a.tg-it:focus-visible { outline-offset: 3px; }
.tg-vid video { background: #000; }
.tg-vid::before { content: "VIDEO"; position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: #fff; background: rgba(2, 20, 48, .72); border-radius: 2px; pointer-events: none; }
.tj-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.tj-more { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); }
.sec-paper .tj-more { border-color: var(--line-2); }
.tj-more h3 { font-size: 21px; }
.tj-more > p { margin: 6px 0 16px; color: var(--muted); font-size: 15.5px; }
.tg-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(96px, 9vw, 130px); gap: 8px; }
.tg-sm > .tg-it:first-child:not(.is-tall) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 899px) {
  .tj-head { grid-template-columns: 1fr; gap: 14px; }
  .tg { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .tg-it.is-tall { grid-row: span 2; }
  .tj-more-grid { grid-template-columns: 1fr; }
  .tg-sm { grid-auto-rows: 26vw; }
}

/* Visor a pantalla completa */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(2, 12, 30, .94); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.lb-fig { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 18px; }
.lb-fig img { max-width: 100%; max-height: calc(100dvh - 120px); margin: 0 auto; object-fit: contain; border-radius: 2px; }
.lb-fig figcaption { display: flex; justify-content: space-between; gap: 16px; max-width: 1100px; width: 100%; margin: 14px auto 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.lb-n { font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 50%; justify-self: center; }
.lb-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-prev .i { transform: rotate(180deg); }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb.is-single .lb-prev, .lb.is-single .lb-next { visibility: hidden; }
@media (max-width: 699px) {
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .lb-fig figcaption { padding: 0 16px 64px; }
}

/* Inicio: trabajos recientes */
.recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.recent-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.recent-card:hover { border-color: var(--navy-100); box-shadow: var(--shadow); color: inherit; }
.recent-card .rc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.recent-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.recent-card:hover .rc-img img { transform: scale(1.04); }
.recent-card .rc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.recent-card .rc-loc { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.recent-card h3 { font-size: 21px; }
.recent-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.recent-card .lnk { margin-top: auto; padding-top: 10px; }
.recent-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 899px) { .recent { grid-template-columns: 1fr; } .recent-card { flex-direction: row; } .recent-card .rc-img { width: 38%; aspect-ratio: auto; flex: none; } }
@media (max-width: 479px) { .recent-card { flex-direction: column; } .recent-card .rc-img { width: auto; aspect-ratio: 16 / 10; } }
