/* ==========================================================================
   CHAEBOL HOLDING · Hoja de estilos
   Lenguaje visual inspirado en Apple: tipografía display contundente,
   blanco / gris perla / negro, degradados de color y movimiento ligado al scroll.
   En Mac e iPhone se usa la tipografía del sistema (SF Pro); en Windows, Inter.
   ========================================================================== */

/* Tipografías alojadas en el propio servidor (sin Google Fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-tight-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Paleta */
  --white: #ffffff;
  --pearl: #f5f5f7;
  --mist: #e8e8ed;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, .08);
  --ink: #1d1d1f;
  --anthracite: #333336;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --black: #000;
  --dark-2: #161617;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --teal: #00c7be;
  --slate: #1d1d1f;
  --steel: #6e6e73;
  --warn: #b25000;
  --warn-soft: #fff4e5;
  --teal-soft: rgba(0, 199, 190, .12);

  /* Degradados */
  --g-brand: linear-gradient(90deg, #0a84ff 0%, #5e5ce6 35%, #bf5af2 65%, #ff375f 100%);
  --g-cool: linear-gradient(90deg, #00c7be, #0a84ff 50%, #5e5ce6);
  --g-warm: linear-gradient(90deg, #ff9f0a, #ff375f 60%, #bf5af2);

  /* Tipografía */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Medidas */
  --maxw: 1240px;
  --wide: 1440px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --nav-h: 52px;
  --header-h: 52px;
  --radius: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 60px); overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font-text); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: inherit; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(0, 113, 227, .2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--wide); }
.sec { padding: clamp(96px, 13vw, 168px) 0; position: relative; }
.sec--tight { padding: clamp(64px, 8vw, 110px) 0; }
.sec--alt { background: var(--pearl); }
.sec--dark { background: var(--black); color: #f5f5f7; }
.center { text-align: center; }
.center .lead, .center .t-sub { margin-left: auto; margin-right: auto; }

/* ---------- Tipografía ---------- */
.t-hero { font-size: clamp(52px, 8.2vw, 116px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.t-headline { font-size: clamp(42px, 6vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.t-title { font-size: clamp(32px, 4.2vw, 58px); font-weight: 600; letter-spacing: -.038em; line-height: 1.06; }
.t-sub { font-size: clamp(21px, 2.1vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--muted); max-width: 30em; }
.sec--dark .t-sub { color: #86868b; }
.t-eyebrow { display: inline-block; font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--muted); letter-spacing: -.02em; max-width: 36em; }
.lead strong, .lead b { color: var(--ink); font-weight: 600; }
.sec--dark .lead { color: #a1a1a6; } .sec--dark .lead strong { color: #f5f5f7; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grad {
  background: var(--g, var(--g-brand)); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.grad--anim { }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 980px; border: 1px solid transparent; font-size: 17px; font-weight: 400; letter-spacing: -.02em; white-space: nowrap;
  background: var(--blue); color: #fff; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.97); }
.btn svg { width: 15px; height: 15px; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); border-color: transparent; }
.btn--light:hover { background: var(--pearl); }
.btn--glass { background: rgba(255,255,255,.18); color: #fff; -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.btn--glass:hover { background: rgba(255,255,255,.3); }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn--xs { min-height: 28px; padding: 0 12px; font-size: 12px; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-size: clamp(17px, 1.4vw, 19px); letter-spacing: -.02em; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease-out); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(3px, -1px); }
.sec--dark .link, .on-dark .link { color: var(--link-dark); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.center .ctas { justify-content: center; }

.plus {
  width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none;
  background: rgba(30, 30, 32, .62); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform .4s var(--ease-spring), background .3s;
}
.plus svg { width: 16px; height: 16px; }
.plus:hover { transform: scale(1.1); background: rgba(30,30,32,.85); }
.plus--light { background: rgba(255,255,255,.75); color: var(--ink); }
.circle-arrow { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: rgba(255,255,255,.2); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background .35s, color .35s, transform .35s var(--ease-out); }
.circle-arrow svg { width: 15px; height: 15px; }

/* ==========================================================================
   MARCAS EN TEXTO (para marcas sin logotipo)
   ========================================================================== */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; white-space: nowrap; color: inherit; font-family: var(--font-display); letter-spacing: 0; }
.wordmark__a { font-weight: 700; }
.wordmark__b { font-size: .34em; letter-spacing: .3em; text-transform: uppercase; margin-top: .5em; font-weight: 600; opacity: .85; }
.wordmark--wide .wordmark__a { letter-spacing: .14em; }
.wordmark--stack .wordmark__a { font-weight: 800; }
.wordmark--bold .wordmark__a { font-size: 1.15em; letter-spacing: -.02em; }
.wordmark--bold .wordmark__b { letter-spacing: .04em; text-transform: none; }
.wordmark--tv, .wordmark--inline { flex-direction: row; align-items: baseline; }
.wordmark--tv .wordmark__b, .wordmark--inline .wordmark__b { font-size: 1em; letter-spacing: -.01em; margin: 0; text-transform: none; opacity: 1; }
.wordmark--tv .wordmark__b { color: var(--teal); font-weight: 800; }
.wordmark--inline .wordmark__b { font-weight: 400; }
.wordmark--serif .wordmark__a { font-family: Georgia, "Times New Roman", serif; letter-spacing: .04em; }
.wordmark--serif .wordmark__b { font-family: Georgia, serif; font-style: italic; letter-spacing: .02em; text-transform: none; font-size: .45em; font-weight: 400; }
.logo-img { display: block; max-width: 100%; height: auto; object-fit: contain; }

/* ==========================================================================
   NAVEGACIÓN GLOBAL
   ========================================================================== */
.brand { display: inline-flex; align-items: center; color: var(--ink); flex: none; }
.brand img { height: 30px; width: auto; }
.brand--stacked img { height: 84px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand__text b { font-size: 15px; letter-spacing: .16em; } .brand__text span { font-size: 11px; letter-spacing: .44em; margin-top: 3px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(250, 250, 252, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header.is-flyout { background: rgba(250, 250, 252, .97); }
.site-header.is-dark:not(.is-flyout) { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255,255,255,.06); }
.site-header.is-dark:not(.is-flyout) .nav__link { color: rgba(245,245,247,.8); }
.site-header.is-dark:not(.is-flyout) .nav__link:hover, .site-header.is-dark:not(.is-flyout) .nav__link[aria-current="page"] { color: #fff; }
.site-header.is-dark:not(.is-flyout) .brand img { filter: invert(1) hue-rotate(180deg); }
.site-header.is-dark:not(.is-flyout) .header-actions .btn--dark { background: #f5f5f7; color: var(--ink); }
.site-header.is-dark:not(.is-flyout) .menu-toggle span { background: #f5f5f7; }
body.menu-open .site-header { background: rgba(250,250,252,.98) !important; }
body.menu-open .site-header .brand img { filter: none !important; }
body.menu-open .site-header .menu-toggle span { background: var(--ink) !important; }
.site-header > .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1100px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); height: 100%; }
.nav__link {
  height: 100%; display: inline-flex; align-items: center; gap: 4px; padding: 0 2px; border: 0; background: none;
  font-size: 13px; letter-spacing: -.01em; color: rgba(29, 29, 31, .82); transition: color .25s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link svg { width: 9px; height: 9px; opacity: .6; transition: transform .3s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Mega menú (flyout) */
.flyout {
  position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 99;
  background: rgba(250, 250, 252, .97); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility .5s;
  box-shadow: 0 30px 40px -30px rgba(0,0,0,.15);
}
.flyout.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.flyout__inner { max-width: 1100px; margin: 0 auto; padding: 40px var(--gutter) 64px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.flyout h3 { font-family: var(--font-text); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.flyout__big a { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.45; color: var(--ink); }
.flyout__big a small { font-family: var(--font-text); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.flyout__big a:hover { color: var(--blue); }
.flyout__small a { display: block; font-size: 12px; font-weight: 600; line-height: 2.2; color: var(--anthracite); }
.flyout__small a:hover { color: var(--blue); }
.flyout li { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease-out); }
.flyout.is-open li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 30ms + 80ms); }
.nav-scrim { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 98; background: rgba(232, 232, 237, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.nav-scrim.is-on { opacity: 1; visibility: visible; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease-out), top .3s; }
.menu-toggle span:nth-child(1) { top: 18px; } .menu-toggle span:nth-child(2) { top: 25px; } .menu-toggle span:nth-child(3) { display: none; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: rgba(250,250,252,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 20px 40px 48px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__title { font-size: 12px; color: var(--muted); margin: 18px 0 6px; }
.mobile-menu a.big { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.55; color: var(--ink); }
.mobile-menu a.small { display: block; font-size: 17px; font-weight: 600; line-height: 2; color: var(--anthracite); }
.mobile-menu a[aria-current="page"] { color: var(--blue); }
.mobile-menu .stagger > * { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease-out); }
.mobile-menu.is-open .stagger > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 25ms + 60ms); }
body.menu-open { overflow: hidden; }

/* Navegación local (fichas de empresa) */
.lnav { position: sticky; top: var(--nav-h); z-index: 90; height: 52px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); }
.lnav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 1100px; }
.lnav__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.lnav__links { display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.lnav__links::-webkit-scrollbar { display: none; }
.lnav__links a { font-size: 12px; color: var(--anthracite); white-space: nowrap; }
.lnav__links a:hover, .lnav__links a.is-current { color: var(--ink); }
.lnav__links a.is-current { font-weight: 600; }
.lnav__links a.btn { color: #fff; }
.lnav { transition: background .4s, border-color .4s, color .4s; }
.lnav.is-dark { background: rgba(22,22,23,.8); border-bottom-color: rgba(255,255,255,.08); color: #f5f5f7; }
.lnav.is-dark .lnav__links a:not(.btn) { color: rgba(245,245,247,.75); }
.lnav.is-dark .lnav__links a.is-current { color: #fff; }

/* ==========================================================================
   HERO PORTADA
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 clamp(40px, 6vh, 80px); display: flex; align-items: center; overflow: clip; background: #fbfbfd; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; left: 34%; top: -22%; background: #5ac8fa;  }
.aurora span:nth-child(2) { width: 42vw; height: 42vw; left: 62%; top: 30%; background: #bf5af2; opacity: .22;  }
.aurora span:nth-child(3) { width: 36vw; height: 36vw; left: -8%; top: 52%; background: #ff9f0a; opacity: .14;  }
.aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,251,253,0) 60%, #fbfbfd); }
.hero > .container { position: relative; max-width: 1520px; display: grid; grid-template-columns: minmax(420px, .92fr) 1.4fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy .t-hero { margin-bottom: 26px; font-size: clamp(52px, 6.3vw, 98px); }
.hero__copy .t-sub { margin-bottom: 0; }
.hero__progress { display: flex; gap: 8px; margin-top: clamp(40px, 7vh, 80px); }
.hero__progress button { position: relative; width: 26px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(0,0,0,.14); overflow: hidden; transition: width .5s var(--ease-out), background .3s; }
.hero__progress button:hover { background: rgba(0,0,0,.28); }
.hero__progress button[aria-current="true"] { width: 52px; }
.hero__progress button::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--ink); border-radius: inherit; }
.hero__progress button[aria-current="true"]::after { width: 100%; }
.hero__progress.is-playing button[aria-current="true"]::after { width: 0; animation: fill var(--dur, 5.5s) linear forwards; }
.hero__progress.is-paused button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* Paneles inclinados */
.panels-stage { position: relative; }
.panels {
  --skew: -12deg; --tan: .2126; --gap: 12px; --ph: clamp(420px, 62vh, 600px);
  display: flex; gap: var(--gap); height: var(--ph); padding: 0 calc(var(--ph) * var(--tan) + 8px) 0 8px;
}
.panel {
  --c1: #0a84ff; --c2: #5ac8fa;
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; isolation: isolate;
  transform: skewX(var(--skew)); transform-origin: 50% 100%;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .35);
  transition: flex-grow .7s var(--ease-out), box-shadow .7s var(--ease-out), filter .6s;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.panel.is-active { flex-grow: 2.2; box-shadow: 0 40px 90px -24px color-mix(in srgb, var(--c1) 70%, transparent), 0 20px 40px -20px rgba(0,0,0,.35); }
.panels.has-active .panel:not(.is-active) { filter: saturate(.75) brightness(.92); }
.panel:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue); }
.panel__inner { position: absolute; inset: 0 -130px; transform: skewX(calc(var(--skew) * -1)); transform-origin: 50% 100%; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.panel.is-active .panel__img { transform: scale(1.12); }
.panel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,.72) 100%); }
.panel__tint { position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, color-mix(in srgb, var(--c1) 55%, transparent), transparent); mix-blend-mode: soft-light; opacity: 0; transition: opacity .7s; }
.panel.is-active .panel__tint { opacity: 1; }
.panel__gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 28%); }
.panel__content { position: absolute; inset: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 142px 28px; text-align: center; }
.panel__brand { --h: 112px; width: 100%; display: block; text-align: center; line-height: 0; font-size: 17px; margin-bottom: 18px; transform: translateX(calc(var(--tan) * var(--h))); transition: font-size .6s var(--ease-out), transform .6s var(--ease-out), margin .5s; }
.panel.is-active .panel__brand { --h: 200px; font-size: 26px; margin-bottom: 14px; }
.panel__brand .wordmark { line-height: 1; }
.panel__brand .logo-img { display: inline-block; width: auto; max-width: 100%; max-height: 58px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.4)); transition: max-height .6s var(--ease-out), max-width .6s var(--ease-out); }
.panel.is-active .panel__brand .logo-img { max-height: 96px; max-width: 240px; }
.panel__more { display: grid; grid-template-rows: 0fr; width: 100%; transform: translateX(calc(var(--tan) * 104px)); transition: grid-template-rows .6s var(--ease-out); }
.panel.is-active .panel__more { grid-template-rows: 1fr; }
.panel__more > div { overflow: hidden; }
.panel__desc { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 0 auto 12px; max-width: 15em; opacity: 0; transform: translateY(12px); transition: opacity .5s .08s, transform .6s var(--ease-out) .08s; }
.panel__cta { font-size: 14px; display: inline-flex; gap: 2px; align-items: center; margin-bottom: 16px; opacity: 0; transform: translateY(12px); transition: opacity .5s .16s, transform .6s var(--ease-out) .16s; }
.panel__cta::after { content: "›"; font-size: 1.3em; line-height: 1; }
.panel.is-active .panel__desc, .panel.is-active .panel__cta { opacity: 1; transform: none; }
.panel .circle-arrow { transform: translateX(calc(var(--tan) * 44px)); }
.panel.is-active .circle-arrow { background: #fff; color: var(--ink); }
.panel--neutral { background: linear-gradient(160deg, #fff8ef 0%, #ffe3c4 50%, #ffc89a 100%); }
.panel--neutral .panel__shade { background: radial-gradient(120% 60% at 50% 100%, rgba(255,255,255,.7), transparent 70%); }
.panel--neutral .panel__inner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,31,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.06) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.panel--neutral .panel__content { color: var(--ink); }
.panel--neutral .panel__brand .logo-img { filter: none; }
.panel--neutral .circle-arrow { background: rgba(29,29,31,.08); color: var(--ink); }
.panel--neutral.is-active .circle-arrow { background: var(--ink); color: #fff; }
.panels-nav { display: none; }

/* imagen con fallback si no carga */
.ph { background: linear-gradient(140deg, #e8e8ed, #d2d2d7); }
img.is-broken { opacity: 0; }

/* ==========================================================================
   BLOQUES INFORMATIVOS
   ========================================================================== */
.statement { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.042em; line-height: 1.1; max-width: 16em; margin: 0; color: #f5f5f7; }
.banner { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: #1d1d1f; color: #fff; isolation: isolate; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6)); }
.banner__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px, 5vw, 64px); }
.banner__copy .lead { color: rgba(255,255,255,.85); margin-top: 12px; }

.co-rows { display: grid; gap: clamp(72px, 9vw, 128px); }
.co-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.co-row:nth-child(even) .co-row__media { order: 2; }
.co-row__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); isolation: isolate; }
.co-row__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.co-row__media:hover > img { transform: scale(1.03); }
.co-row__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); }
.co-row__media--neutral { background: linear-gradient(160deg, #fff8ef, #ffd8b0); }
.co-row__media--neutral::before { display: none; }
.co-row__logo { position: absolute; left: 28px; bottom: 26px; line-height: 0; font-size: 28px; color: #fff; }
.co-row__logo .wordmark { line-height: 1; }
.co-row__logo .logo-img { width: auto; max-height: 72px; max-width: 230px; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.co-row__media--neutral .co-row__logo .logo-img { filter: none; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 26px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--anthracite); line-height: 1.4; }
.checklist svg { width: 18px; height: 18px; flex: none; color: var(--c1, var(--blue)); margin-top: 1px; }

/* ==========================================================================
   BENTO / TILES
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--radius); background: #fff; padding: clamp(28px, 3.2vw, 48px); min-height: 340px; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.sec--alt .tile { background: #fff; }
.sec:not(.sec--alt):not(.sec--dark) .tile { background: var(--pearl); }
.tile--2 { grid-column: span 2; } .tile--3 { grid-column: span 3; } .tile--4 { grid-column: span 4; } .tile--6 { grid-column: span 6; }
.tile--dark { background: #000 !important; color: #f5f5f7; }
.tile--img { color: #fff; justify-content: flex-end; min-height: 460px; }
.tile--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.tile--img:hover > img { transform: scale(1.05); }
.tile--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72)); }
.tile__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--g, var(--g-cool)); color: #fff; margin-bottom: auto; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); }
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.035em; margin: 28px 0 10px; }
.tile p { color: var(--muted); font-size: 17px; margin: 0; max-width: 26em; }
.tile--dark p, .tile--img p { color: rgba(255,255,255,.75); }
.tile__big { font-family: var(--font-display); font-size: clamp(64px, 8vw, 120px); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
.tile__k { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; flex: none; margin-top: 28px; }
.bars i { flex: 1; height: 100%; border-radius: 10px 10px 4px 4px; background: var(--g-cool); transform-origin: bottom; transform: scaleY(.08); transition: transform 1.2s var(--ease-out); }
.is-in .bars i { transform: scaleY(var(--v)); }
.bars i:nth-child(2) { transition-delay: .1s; } .bars i:nth-child(3) { transition-delay: .2s; } .bars i:nth-child(4) { transition-delay: .3s; } .bars i:nth-child(5) { transition-delay: .4s; } .bars i:nth-child(6) { transition-delay: .5s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.stat { text-align: center; padding: 20px 10px; }
.stat__num { font-family: var(--font-display); font-size: clamp(64px, 8.4vw, 128px); font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__num small { font-size: .42em; letter-spacing: -.03em; margin-left: .12em; }
.stat__label { margin-top: 14px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; color: #86868b; letter-spacing: -.02em; }
.figures-photo { margin-top: clamp(56px, 7vw, 96px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; position: relative; background: #1d1d1f; }
.figures-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-tag { display: inline-flex; vertical-align: middle; margin-left: 12px; font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 5px 10px; border-radius: 980px; background: var(--warn-soft); color: var(--warn); -webkit-text-fill-color: var(--warn); }

/* ==========================================================================
   CARRUSEL DE TARJETAS (estilo "Conoce...")
   ========================================================================== */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding: 10px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 34px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail-ctrl { display: flex; justify-content: flex-end; gap: 14px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.rail-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); display: grid; place-items: center; transition: background .3s, opacity .3s; }
.rail-ctrl button:hover:not(:disabled) { background: #dcdce1; }
.rail-ctrl button:disabled { opacity: .4; cursor: default; }
.rail-ctrl svg { width: 16px; height: 16px; }
.sec--dark .rail-ctrl button { background: #333336; color: #f5f5f7; }

.co-card {
  --c1: #0a84ff; --c2: #5ac8fa;
  position: relative; flex: 0 0 clamp(290px, 31vw, 400px); height: clamp(500px, 66vh, 640px); scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 2px 4px 12px rgba(0,0,0,.08);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.co-card:hover { transform: scale(1.015); box-shadow: 2px 8px 30px rgba(0,0,0,.16); }
.co-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.co-card:hover > img { transform: scale(1.06); }
.co-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%); }
.co-card__top { padding: 30px 30px 0; }
.co-card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; display: block; }
.co-card__title { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.co-card__bottom { margin-top: auto; padding: 0 22px 22px 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.co-card__logo { line-height: 0; font-size: 22px; min-width: 0; }
.co-card__logo .wordmark { line-height: 1; align-items: flex-start; }
.co-card__logo .logo-img { width: auto; max-height: 62px; max-width: 190px; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.co-card--neutral { color: var(--ink); background: linear-gradient(160deg, #fff8ef, #ffd8b0); }
.co-card--neutral::before { background: none; }
.co-card--neutral .co-card__logo .logo-img { filter: none; }

/* Tarjeta proyecto */
.p-card { position: relative; flex: 0 0 clamp(280px, 28vw, 380px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--pearl); text-align: left; border: 0; padding: 0; color: #fff; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.p-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.p-card:hover > img { transform: scale(1.06); }
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
.p-card__body { padding: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.p-card__meta { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.p-card__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; display: block; }
.badge { position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 980px; background: rgba(255,255,255,.88); color: var(--warn); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.p-grid .p-card { aspect-ratio: auto; min-height: 380px; flex: none; }
.p-grid .p-card.is-wide { grid-column: span 2; }
.p-grid .p-card.is-hidden { display: none; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--pearl); border-radius: var(--radius); }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 11vw, 150px)) 0 clamp(56px, 7vw, 100px); overflow: clip; }
.page-hero--alt { background: var(--pearl); }
.crumbs { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.center .crumbs { justify-content: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.intro-text { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; color: var(--muted-2); max-width: 22em; }
.intro-text strong { color: var(--ink); font-weight: 600; }
.sec--dark .intro-text { color: #6e6e73; } .sec--dark .intro-text strong { color: #f5f5f7; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.media:hover img { transform: scale(1.04); }
.media--tall { aspect-ratio: 4 / 5; } .media--wide { aspect-ratio: 16 / 10; }

.hangul { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; font-size: clamp(160px, 28vw, 420px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); pointer-events: none; user-select: none; letter-spacing: -.04em; }

.chips { margin: 22px 0 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-s { display: inline-flex; align-items: center; font-size: 14px; padding: 7px 14px; border-radius: 980px; background: var(--pearl); color: var(--anthracite); }
.sec--alt .chip-s { background: #fff; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 980px; background: var(--pearl); color: var(--anthracite); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }

/* Ficha empresa */
.co-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 0; text-align: center; overflow: clip; }
.co-hero__logo { display: inline-block; line-height: 0; margin-bottom: 26px; font-size: 34px; color: var(--ink); }
.co-hero__logo .logo-img { width: auto; max-height: 96px; max-width: min(300px, 70vw); margin: 0 auto; }
.co-hero__logo .wordmark { line-height: 1; }
.co-hero .t-headline { max-width: 13em; margin: 0 auto; }
.co-hero .lead { margin: 22px auto 0; text-align: center; }
.co-hero .ctas { justify-content: center; }
.cols2 { columns: 2; column-gap: clamp(32px, 5vw, 72px); margin-top: 36px; max-width: 980px; }
.cols2 .lead { break-inside: avoid; max-width: none; }
.co-hero__media { position: relative; margin: clamp(48px, 6vw, 80px) auto 0; width: calc(100% - 2 * var(--gutter)); max-width: 1440px; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.co-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.co-hero__media--neutral { background: linear-gradient(160deg, #fff8ef 0%, #ffe3c4 55%, #ffc89a 100%); display: grid; place-items: center; }
.co-hero__media--neutral::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,31,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.05) 1px, transparent 1px); background-size: 44px 44px; }
.co-hero__note { position: relative; font-family: var(--font-display); font-size: clamp(22px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; color: rgba(29,29,31,.72); }

.facts-row { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.facts-row > div { padding: 28px 24px 0 0; }
.facts-row dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.facts-row dd { margin: 0; font-family: var(--font-display); font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.cap { border-radius: var(--radius); background: #1d1d1f; padding: clamp(28px, 3vw, 44px); min-height: 320px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.cap::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 55%, transparent), transparent 70%); opacity: .6; transition: transform .8s var(--ease-out); }
.cap:hover::after { transform: scale(1.3); }
.cap__n { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-bottom: auto; }
.cap h3 { font-size: 28px; margin: 40px 0 10px; color: #f5f5f7; }
.cap p { color: #a1a1a6; margin: 0; position: relative; z-index: 1; }

.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.area { border-radius: 22px; background: #fff; padding: 26px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area svg { width: 30px; height: 30px; color: var(--c1); }
.area span { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }

.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.brand-tile { --c1: #0a84ff; --c2: #bf5af2; position: relative; border: 0; padding: 0; text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--pearl); display: flex; flex-direction: column; min-height: 460px; transition: transform .6s var(--ease-out), box-shadow .6s; }
.brand-tile:hover { transform: scale(1.015); box-shadow: 0 20px 50px -20px rgba(0,0,0,.25); }
.brand-tile__img { position: relative; height: 240px; overflow: hidden; }
.brand-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.brand-tile:hover .brand-tile__img img { transform: scale(1.08); }
.brand-tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--c1) 35%, transparent)); mix-blend-mode: multiply; }
.brand-tile__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.brand-tile__name { font-size: 26px; line-height: 0; margin-bottom: 14px; }
.brand-tile__name .wordmark { line-height: 1; align-items: flex-start; background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tile__name .wordmark--tv .wordmark__b { color: inherit; }
.brand-tile p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.brand-tile .plus { margin-top: auto; align-self: flex-end; background: var(--ink); }

.gallery-rail .g-item { flex: 0 0 clamp(300px, 52vw, 820px); aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; border: 0; padding: 0; background: var(--mist); }
.gallery-rail .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery-rail .g-item:hover img { transform: scale(1.04); }

.links-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.links-list a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 980px; background: #fff; font-size: 17px; color: var(--link); transition: transform .3s var(--ease-out), box-shadow .3s; }
.links-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.links-list svg { width: 14px; height: 14px; }

.review-note { display: flex; gap: 12px; align-items: flex-start; background: var(--warn-soft); color: #8a4a00; border-radius: 18px; padding: 16px 20px; font-size: 14px; line-height: 1.5; margin-top: 28px; text-align: left; max-width: 760px; }
.center .review-note { margin-left: auto; margin-right: auto; }
.review-note b { display: block; margin-bottom: 2px; }
.review-note ul { padding-left: 16px; list-style: disc; }
.review-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

.pending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.pending { border-radius: 22px; background: #fff; padding: 26px 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.pending span { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -.05em; color: var(--mist); line-height: 1; }
.pending h3 { font-size: 19px; letter-spacing: -.02em; }

.co-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.co-nav a { --c1: #0a84ff; --c2: #5ac8fa; border-radius: var(--radius); padding: 36px; background: var(--pearl); display: flex; flex-direction: column; gap: 4px; transition: transform .5s var(--ease-out); }
.co-nav a:hover { transform: scale(1.015); }
.co-nav a + a { text-align: right; }
.co-nav small { font-size: 14px; color: var(--muted); }
.co-nav span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Filtros (control segmentado) */
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 980px; background: var(--pearl); margin: 0 auto 40px; }
.segmented button { border: 0; background: transparent; height: 38px; padding: 0 18px; border-radius: 980px; font-size: 14px; color: var(--anthracite); transition: background .3s, color .3s, box-shadow .3s; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.filter-bar { display: flex; flex-direction: column; align-items: center; }
.select { height: 40px; padding: 0 38px 0 18px; border-radius: 980px; border: 0; background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 13px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; color: var(--ink); margin-bottom: 40px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info { margin-top: 40px; display: grid; gap: 18px; }
.contact-info li { display: flex; align-items: center; gap: 14px; font-size: 19px; }
.contact-info .ci { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--pearl); flex: none; }
.contact-info svg { width: 20px; height: 20px; }
.form-card { background: var(--pearl); border-radius: var(--radius); padding: clamp(24px, 3.6vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 24px 16px 8px; font: inherit; font-size: 17px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.field textarea { height: 150px; resize: vertical; padding-top: 28px; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px; padding-right: 40px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease-out), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.72); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.field .err { font-size: 13px; color: #e30000; display: none; margin: 6px 4px 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e30000; background: #fff5f5; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.check a { color: var(--link); }
.check-field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-ok { display: none; text-align: center; padding: 50px 10px; }
.form-ok .ok-ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--g-cool); color: #fff; animation: pop .6s var(--ease-spring); }
.form-ok .ok-ic svg { width: 34px; height: 34px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-ok { display: block; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final .t-headline { max-width: 12em; margin: 0 auto; }

/* ==========================================================================
   PIE
   ========================================================================== */
.site-footer { background: var(--pearl); color: var(--muted); font-size: 12px; line-height: 1.4; padding: 44px 0 28px; letter-spacing: -.01em; }
.site-footer .container { max-width: 1100px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; max-width: 46em; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.footer-grid h4 { font-family: var(--font-text); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; margin-bottom: 10px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #424245; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; }
.footer-bottom nav > * { padding: 0 10px; border-left: 1px solid var(--line); color: #424245; background: none; border-top: 0; border-right: 0; border-bottom: 0; font-size: 12px; }
.footer-bottom nav > *:first-child { border-left: 0; padding-left: 0; }
.footer-bottom nav > *:hover { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   DIÁLOGOS, COOKIES, REVISIÓN
   ========================================================================== */
dialog.modal { border: 0; padding: 0; border-radius: 30px; max-width: min(1000px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); box-shadow: var(--shadow-lg); color: var(--ink); background: #fff; overflow: auto; }
dialog.modal::backdrop { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
dialog.modal[open] { animation: pop .55s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__img { aspect-ratio: 16 / 7; background: linear-gradient(160deg, var(--c1, #0a84ff), var(--c2, #5ac8fa)); position: relative; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px, 5vw, 64px); }
.modal__body .t-title { margin-bottom: 16px; }
.modal__close { position: sticky; float: right; top: 16px; margin: 16px 16px -60px 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(29,29,31,.72); color: #fff; display: grid; place-items: center; z-index: 3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal__close svg { width: 16px; height: 16px; }
.modal ul.services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 28px 0 32px; }
.modal ul.services li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; }
.modal ul.services li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--c1, #0a84ff), var(--c2, #5ac8fa)); transform: translateY(-1px); }
.facts { border-radius: 20px; background: var(--pearl); padding: 6px 22px; }
.facts dl { margin: 0; } .facts div { padding: 14px 0; border-top: 1px solid var(--line); } .facts div:first-child { border-top: 0; }
.facts dt { font-size: 12px; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
dialog.lightbox { background: transparent; box-shadow: none; max-width: 94vw; overflow: visible; }
dialog.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 22px; }

.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 200; width: min(400px, calc(100vw - 32px)); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-radius: 24px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.18); font-size: 14px; transform: translateY(24px); opacity: 0; visibility: hidden; transition: all .6s var(--ease-out); }
.cookie.is-open { transform: none; opacity: 1; visibility: visible; }
.cookie h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -.02em; }
.cookie p { color: var(--muted); margin-bottom: 14px; } .cookie p a { color: var(--link); }
.cookie__prefs { display: none; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.cookie.show-prefs .cookie__prefs { display: grid; gap: 10px; }
.cookie__prefs label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie__prefs input { width: 18px; height: 18px; accent-color: var(--blue); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1; }

.review-badge { position: fixed; right: 14px; bottom: 14px; z-index: 150; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 8px 13px; border-radius: 980px; background: rgba(255,244,229,.92); color: var(--warn); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.review-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 34px; letter-spacing: -.035em; margin: 64px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 21px; margin: 28px 0 8px; letter-spacing: -.02em; }
.legal p, .legal li { color: #424245; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }

/* ==========================================================================
   APARICIÓN AL HACER SCROLL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: translateY(14px); }
.js [data-reveal="scale"].is-in { transform: none; }
.js .hero [data-intro] { opacity: 0; transform: translateY(12px); animation: intro .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.js .panels[data-intro] .panel { opacity: 0; animation: panelIn 1.3s var(--ease-out) forwards; }
@keyframes intro { to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: skewX(var(--skew)) translateY(24px); } to { opacity: 1; transform: skewX(var(--skew)); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero > .container { grid-template-columns: minmax(0, 1fr); }
  .panels-stage { min-width: 0; }
  .hero__copy { max-width: 720px; }
  .hero__progress { margin-top: 32px; }
  .panels { --ph: 460px; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .pending-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .flyout, .nav-scrim { display: none; }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cols2 { columns: 1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--2, .tile--3, .tile--4, .tile--6 { grid-column: span 2; }
  .caps { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr 1fr; }
  .co-row { grid-template-columns: minmax(0, 1fr); }
  .co-row:nth-child(even) .co-row__media { order: 0; }
  .banner { aspect-ratio: 4 / 3; }
  .facts-row { grid-template-columns: 1fr; }
  .lnav__links a:not(.btn) { display: none; }
  .hangul { opacity: .5; }

  .panels-stage { margin: 0 calc(var(--gutter) * -1); perspective: none; }
  .panels { --skew: -7deg; --tan: .1228; --ph: 440px; transform: none !important; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 12px calc(var(--gutter) + 56px) 28px var(--gutter); scrollbar-width: none; }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 min(74vw, 330px); scroll-snap-align: center; }
  .panel__brand, .panel.is-active .panel__brand { font-size: 24px; }
  .panel .panel__more { grid-template-rows: 1fr; }
  .panel .panel__desc, .panel .panel__cta { opacity: 1; transform: none; }
  .panels.has-active .panel:not(.is-active) { filter: none; }
  .panels-nav { display: flex; gap: 12px; justify-content: flex-end; padding: 0 var(--gutter); }
  .panels-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); display: grid; place-items: center; }
  .panels-nav button svg { width: 16px; height: 16px; }
}
@media (max-width: 640px) {
  .bento, .p-grid { grid-template-columns: 1fr; }
  .tile--2, .tile--3, .tile--4, .tile--6, .p-grid .p-card.is-wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .brands, .pending-grid, .form-grid, .modal ul.services, .co-nav { grid-template-columns: 1fr; }
  .co-nav a + a { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .co-hero__media { aspect-ratio: 4 / 5; }
  .figures-photo { aspect-ratio: 4 / 3; }
  .checklist { grid-template-columns: 1fr; }
  .rail-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-intro] { opacity: 1 !important; transform: none !important; }
  .js .panels[data-intro] .panel { opacity: 1; transform: skewX(var(--skew)); }
}

/* Texto corrido legible */
.prose p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: #424245; margin-bottom: 1.1em; max-width: 38em; }
.prose p:first-child { color: var(--ink); font-weight: 500; }
.name-card { border-radius: var(--radius); background: #fff; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.name-card__ko { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; font-size: clamp(56px, 6vw, 84px); font-weight: 700; line-height: 1.1; color: var(--ink); }
.name-card__lat { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--muted); letter-spacing: -.02em; }
.name-card__def { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 17px; color: #424245; }

/* ==========================================================================
   SISTEMA PROFESIONAL (v4)
   Composición editorial, tarjetas limpias y acentos de color contenidos.
   ========================================================================== */
:root { --radius: 22px; --radius-sm: 14px; --card-border: 1px solid rgba(0, 0, 0, .07); --shadow-hover: 0 18px 40px -18px rgba(0, 0, 0, .22); }

/* Tipografía */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--g-brand); }
body[style*="--c1"] .eyebrow::before { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.sec--dark .eyebrow { color: #a1a1a6; }
.h-display { font-family: var(--font-display); font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.042em; line-height: 1.04; }
.h-title { font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 52px); font-weight: 600; letter-spacing: -.038em; line-height: 1.08; }
.h-sub { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.muted-2 { color: var(--muted-2); }
.lead { color: #515154; }

/* Botón principal sobrio (antracita), enlaces en azul */
.btn { background: var(--ink); }
.btn:hover { background: #000; }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.2); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cabecera de sección */
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 6px; }
.sec-head__aside .lead { margin: 0; }

/* Cabecera de páginas interiores */
.p-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--pearl) 0%, #fff 100%); overflow: clip; }
.p-hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(10,132,255,.10), rgba(191,90,242,.06) 45%, transparent 70%); pointer-events: none; }
.p-hero .container { position: relative; z-index: 1; }
.p-hero .crumbs { justify-content: flex-start; }
.p-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.p-hero__aside .lead { margin: 0; }
.p-hero__aside .review-note { margin-top: 20px; }
.crumbs span[aria-hidden] { opacity: .45; }

/* Banda de sectores */
.band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); }
.band__item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--line-soft); transition: background .3s; }
.band__item:first-child { border-left: 0; padding-left: 0; }
.band__item:hover { background: var(--pearl); }
.band__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--c1); background: color-mix(in srgb, var(--c1) 12%, #fff); }
.band__ic svg { width: 21px; height: 21px; }
.band__item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.band__item small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Sobre el grupo */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-bottom: 70px; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--mist); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.facts-card { margin: 0; background: #fff; border-radius: 18px; border: var(--card-border); box-shadow: 0 20px 50px -24px rgba(0,0,0,.25); padding: 6px 24px; }
.about .facts-card { position: absolute; left: -32px; right: 18%; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.facts-card div { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.about .facts-card div:nth-child(-n+2) { border-top: 0; }
.facts-card div:first-child { border-top: 0; }
.facts-card dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.facts-card dd { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.facts-card--flat { box-shadow: none; background: var(--pearl); border: 0; }
.prose p:first-child { font-weight: 400; }

/* Directorio de empresas */
.co-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.co { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: var(--card-border); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.co:nth-child(4), .co:nth-child(5) { grid-column: span 3; }
.co:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sec:not(.sec--alt) .co { background: var(--pearl); border-color: transparent; }
.co__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.co:nth-child(4) .co__media, .co:nth-child(5) .co__media { aspect-ratio: 16 / 8.2; }
.co__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.co:hover .co__media img { transform: scale(1.04); }
.co__media--neutral { background: linear-gradient(160deg, #fff8ef, #ffd8b0); }
.co__media--neutral::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,31,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.05) 1px, transparent 1px); background-size: 28px 28px; }
.co__num { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 980px; background: rgba(255,255,255,.85); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.co__state { position: absolute; top: 16px; right: 16px; z-index: 1; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 980px; background: rgba(255,244,229,.92); color: var(--warn); }
.co__body { display: flex; flex-direction: column; padding: 24px 26px 26px; flex: 1; }
.co__logo { line-height: 0; height: 46px; display: flex; align-items: center; font-size: 22px; color: var(--ink); margin-bottom: 18px; }
.co__logo .logo-img { width: auto; max-height: 46px; max-width: 170px; }
.co__logo .wordmark { line-height: 1; align-items: flex-start; }
.co__sector { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c1); margin-bottom: 6px; }
.co__text { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.co__more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--link); }
.co__more svg { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.co:hover .co__more svg, .brand-tile:hover .co__more svg { transform: translateX(4px); }

/* Modelo en pasos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 30px; border-radius: var(--radius); background: var(--pearl); }
.sec--alt .step { background: #fff; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 14px; font-weight: 700; color: #fff; background: var(--g-brand); background-size: 400% 100%; margin-bottom: 40px; }
.step:nth-child(2) .step__n { background-position: 33% 0; } .step:nth-child(3) .step__n { background-position: 66% 0; } .step:nth-child(4) .step__n { background-position: 100% 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; left: 82px; right: -10px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border-radius: var(--radius); border: var(--card-border); padding: 30px 26px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.sec:not(.sec--alt) .value { background: var(--pearl); border-color: transparent; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--t); background: color-mix(in srgb, var(--t) 12%, #fff); margin-bottom: 46px; }
.value__ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

/* Cifras en claro */
.figures { border-radius: 28px; background: var(--pearl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.figures__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.figure { padding: 6px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.figure__num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure__num small { font-size: .45em; margin-left: .1em; color: var(--muted); letter-spacing: -.02em; }
.figure__label { margin-top: 12px; font-size: 15px; color: var(--muted); }
.figure::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--g-brand); margin-bottom: 18px; }

/* Proyectos */
.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pj-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pj { display: block; text-align: left; border: 0; padding: 0; background: none; }
.pj.is-hidden { display: none; }
.pj__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); margin-bottom: 16px; }
.pj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pj:hover .pj__media img { transform: scale(1.05); }
.pj__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pj__meta i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.pj__title { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.022em; line-height: 1.25; color: var(--ink); }

/* Banda de contacto */
.cta { border-radius: 28px; background: var(--ink); color: #f5f5f7; padding: clamp(36px, 5.5vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -12%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(10,132,255,.35), rgba(191,90,242,.18) 45%, transparent 70%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: #a1a1a6; }
.cta .h-title { color: #fff; }
.cta .lead { color: #a1a1a6; margin: 16px 0 0; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta__actions .btn { background: #fff; color: var(--ink); }
.cta__actions .btn:hover { background: var(--pearl); }
.cta__list { display: grid; gap: 10px; font-size: 15px; color: #d2d2d7; }
.cta__list li { display: flex; align-items: center; gap: 10px; }
.cta__list svg { width: 17px; height: 17px; color: #86868b; }

/* Nuestras empresas: filas */
.co-row__idx { display: block; font-size: 13px; font-weight: 600; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.co-row__media { border-radius: var(--radius); }
.sec--alt .checklist li { color: #424245; }

/* Ficha de empresa */
.co-head { padding: calc(var(--nav-h) + 52px + clamp(28px, 5vw, 64px)) 0 clamp(56px, 7vw, 100px); background: linear-gradient(180deg, var(--pearl), #fff); }
.co-head .crumbs { justify-content: flex-start; }
.co-head__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.co-head__logo { line-height: 0; margin-bottom: 30px; font-size: 32px; color: var(--ink); }
.co-head__logo .logo-img { width: auto; max-height: 84px; max-width: min(280px, 70vw); }
.co-head__logo .wordmark { line-height: 1; align-items: flex-start; }
.co-head__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.co-head__media img { width: 100%; height: 100%; object-fit: cover; }
.co-head__media--neutral { background: linear-gradient(160deg, #fff8ef 0%, #ffe3c4 55%, #ffc89a 100%); display: grid; place-items: center; }
.co-head__media--neutral::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29,29,31,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.05) 1px, transparent 1px); background-size: 40px 40px; }
.co-head__note { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(29,29,31,.6); }
.lnav + .co-head { padding-top: clamp(28px, 5vw, 64px); }
.caps { margin-top: 0; }
.cap { background: #fff; border: var(--card-border); min-height: 0; padding: 32px 30px; }
.cap::after { display: none; }
.cap__n { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--c1); margin-bottom: 40px; display: block; }
.cap h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink); }
.cap p { color: var(--muted); }
.area-list { list-style: none; border-top: 1px solid var(--line); }
.area-list li { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.area-list li span { font-family: var(--font-text); font-size: 13px; font-weight: 600; color: var(--c1); letter-spacing: .04em; min-width: 22px; }
.brands { margin-top: 0; }
.brand-tile { background: #fff; border: var(--card-border); min-height: 0; }
.sec:not(.sec--alt) .brand-tile { background: var(--pearl); border-color: transparent; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.brand-tile__img { height: 200px; }
.brand-tile__img::after { display: none; }
.brand-tile .co__more { margin-top: auto; padding-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery button { border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--mist); grid-column: span 2; }
.gallery button:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.links-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.links-row .eyebrow { margin: 0; }
.links-row .links-list { margin: 0; }
.co-nav a { background: var(--pearl); border: 0; }
.co-nav small { display: inline-flex; align-items: center; gap: 6px; }
.co-nav small svg { width: 13px; height: 13px; }
.co-nav a + a small { justify-content: flex-end; }
.wide-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: var(--mist); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
.name-card { box-shadow: none; border: var(--card-border); }
.pending { border: var(--card-border); }
.modal ul.services { margin-top: 24px; }

@media (max-width: 1180px) {
  .values, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .pj-grid { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: repeat(3, 1fr); }
  .band__item:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .sec-head, .p-hero__grid, .about, .co-head__grid, .cta { grid-template-columns: minmax(0, 1fr); }
  .sec-head { align-items: start; }
  .about .facts-card { position: relative; left: auto; right: auto; margin-top: -40px; margin-inline: 16px; }
  .about__media { padding-bottom: 0; }
  .co-grid { grid-template-columns: repeat(2, 1fr); }
  .co, .co:nth-child(4), .co:nth-child(5) { grid-column: span 1; }
  .co:nth-child(4) .co__media, .co:nth-child(5) .co__media { aspect-ratio: 16 / 10; }
  .pj-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery button, .gallery button:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .wide-img { aspect-ratio: 16 / 10; }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .band__item, .band__item:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .band__item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 640px) {
  .co-grid, .pj-grid, .pj-grid--3, .values, .steps, .figures__grid { grid-template-columns: 1fr; }
  .figure { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .figure:first-child { border-top: 0; padding-top: 0; }
  .step::after { display: none; }
  .about .facts-card { grid-template-columns: 1fr; }
  .about .facts-card div:nth-child(2) { border-top: 1px solid var(--line-soft); }
  .band__grid { grid-template-columns: 1fr; }
  .band__item:nth-child(2) { border-top: 1px solid var(--line-soft); }
}
.steps { padding: 0; margin: 0; }
.pj { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }

/* Formulario: información básica de privacidad y estado */
.privacy-layer { grid-column: 1 / -1; margin-top: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.privacy-layer summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--anthracite); list-style: none; display: flex; justify-content: space-between; }
.privacy-layer summary::-webkit-details-marker { display: none; }
.privacy-layer summary::after { content: "+"; font-size: 16px; line-height: 1; }
.privacy-layer[open] summary::after { content: "–"; }
.privacy-layer dl { margin: 0; padding: 0 16px 12px; }
.privacy-layer dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.privacy-layer dt { font-weight: 600; color: var(--anthracite); }
.privacy-layer dd { margin: 0; }
.privacy-layer a { color: var(--link); }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff1f0; color: #b42318; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Página legal */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 4px; }
.legal-toc a { padding: 9px 14px; border-radius: 10px; font-size: 14px; color: var(--anthracite); }
.legal-toc a:hover { background: var(--pearl); }
.legal h2 { scroll-margin-top: calc(var(--nav-h) + 24px); padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2:first-child { padding-top: 0; border-top: 0; }
.pend { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: .92em; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; grid-auto-flow: column; justify-content: start; overflow-x: auto; } }
.field .check { position: static; pointer-events: auto; transform: none; font-size: 14px; color: var(--muted); cursor: pointer; }

/* Espaciado más compacto entre apartados */
.sec { padding: clamp(56px, 6.5vw, 96px) 0; }
.sec--tight { padding: clamp(40px, 4.5vw, 64px) 0; }
.sec:not(.sec--alt):not(.sec--dark) + .sec:not(.sec--alt):not(.sec--dark),
.sec--alt + .sec--alt { padding-top: 0; }
.sec-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.p-hero { padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 clamp(36px, 4.5vw, 60px); }
.co-head { padding-bottom: clamp(40px, 5vw, 72px); }
.about__media { padding-bottom: 56px; }
.co-rows { gap: clamp(48px, 6vw, 80px); }
.ctas { margin-top: 26px; }

/* Submenú de la ficha de empresa: barra propia, distinta de la cabecera */
.lnav { height: auto; background: var(--pearl); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(0,0,0,.25); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lnav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.lnav .container { height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; max-width: 1240px; gap: 24px; }
.lnav__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lnav__logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 4px 6px; flex: none; line-height: 0; font-size: 9px; color: var(--ink); }
.lnav__logo .logo-img { width: auto; max-width: 100%; max-height: 30px; }
.lnav__logo .wordmark { line-height: 1; }
.lnav__meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.lnav__meta small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lnav__meta b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.lnav__right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lnav__label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.lnav__seg { display: flex; gap: 2px; padding: 4px; border-radius: 980px; background: #e8e8ed; overflow-x: auto; scrollbar-width: none; }
.lnav__seg::-webkit-scrollbar { display: none; }
.lnav__seg a { padding: 7px 14px; border-radius: 980px; font-size: 13px; color: var(--anthracite); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.lnav__seg a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.lnav__seg a.is-current { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.lnav__cta { background: linear-gradient(90deg, var(--c1), var(--c2)); color: #fff !important; border: 0; }
.lnav__cta:hover { filter: brightness(1.05); background: linear-gradient(90deg, var(--c1), var(--c2)); }
.lnav + .co-head { padding-top: clamp(28px, 4vw, 52px); }
@media (max-width: 960px) {
  .lnav__label { display: none; }
  .lnav .container { flex-wrap: wrap; row-gap: 8px; }
  .lnav__right { width: 100%; justify-content: space-between; }
  .lnav__seg { flex: 1; }
}
@media (max-width: 640px) { .lnav__brand { display: none; } .lnav .container { min-height: 56px; } }
.lnav + .co-head { padding-top: clamp(36px, 4.5vw, 60px); }

/* Directorio de empresas: todas las tarjetas del mismo tamaño y la última fila centrada */
.co-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.co, .co:nth-child(4), .co:nth-child(5) { flex: 0 0 calc((100% - 40px) / 3); grid-column: auto; }
.co:nth-child(4) .co__media, .co:nth-child(5) .co__media { aspect-ratio: 16 / 10; }
@media (max-width: 960px) { .co, .co:nth-child(4), .co:nth-child(5) { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .co, .co:nth-child(4), .co:nth-child(5) { flex-basis: 100%; } }
