/* INNOZONA · sitio v4 (boceto)
 * Satoshi en títulos, Geist en texto. Modo claro y oscuro con los mismos componentes.
 * Marca: violeta #6437D9, lila #BBA5F4, carbón #15111F, papel #F5F3FA. Gráficos derivados de las franjas del símbolo.
 */

/* =====================================================================
   1 · Tokens
   ===================================================================== */
:root {
  --font-display: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Geist", ui-sans-serif, system-ui, sans-serif;

  /* Marca (no cambian con el modo) */
  --violet: oklch(49.7% 0.228 288);       /* #6437D9 */
  --violet-2: oklch(56% 0.23 289);        /* relleno al pasar sobre violeta */
  --lila: oklch(77% 0.113 296);           /* #BBA5F4 */
  --carbon: oklch(17% 0.03 295);
  --white: oklch(99.5% 0.003 293);

  /* Tipografía */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-h3: clamp(1.25rem, 0.7vw + 1rem, 1.625rem);
  --fs-h2: clamp(2rem, 2.3vw + 1.15rem, 3.6rem);
  --fs-hero: clamp(2.5rem, 4.4vw + 1.1rem, 6.1rem);
  --fs-giant: clamp(2.75rem, 7.2vw, 8rem);

  /* Medidas */
  --page-max: 84rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 4vw + 1.75rem, 6.75rem);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --control-h: 52px;
  --measure: 62ch;

  /* Movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 260ms;
  --dur-long: 600ms;

  --z-sticky: 200;
  --z-menu: 250;
  --z-cursor: 300;
  --z-curtain: 650;
  --z-loader: 700;

  /* Footer: siempre oscuro, con el carbón de marca */
  --foot-bg: oklch(16.5% 0.03 295);
  --foot-text: oklch(96% 0.008 293);
  --foot-text-2: oklch(76% 0.025 293);
  --foot-line: oklch(100% 0 0 / 0.12);
}

/* Modo claro (por defecto) */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: oklch(98.9% 0.004 293);           /* casi blanco, con un toque de violeta */
  --bg-2: oklch(96.8% 0.010 299);         /* #F5F3FA papel de marca */
  --card: oklch(100% 0 0);
  --card-2: oklch(95.4% 0.012 296);
  --text: oklch(18% 0.012 285);           /* #111116 · 17:1 */
  --text-2: oklch(43% 0.022 293);         /* 7:1 */
  --text-3: oklch(58% 0.02 293);
  --line: oklch(18% 0.012 285 / 0.10);
  --line-2: oklch(18% 0.012 285 / 0.22);
  --accent: var(--violet);
  --accent-2: var(--violet-2);
  --accent-ink: var(--violet);            /* violeta como texto: 6.2:1 */
  --accent-soft: oklch(94% 0.035 293);
  --on-accent: var(--white);
  --inverse: oklch(18% 0.012 285);        /* relleno del botón fantasma al pasar */
  --on-inverse: oklch(98.9% 0.004 293);
  --glass: oklch(99% 0.004 299 / 0.92);
  --shadow: 0 30px 70px -40px oklch(25% 0.06 293 / 0.35);
  --img-bg: oklch(93% 0.012 293);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(14% 0.026 295);
  --bg-2: oklch(17.5% 0.028 296);
  --card: oklch(19.5% 0.03 296);
  --card-2: oklch(23.5% 0.034 294);
  --text: oklch(96% 0.008 293);
  --text-2: oklch(77% 0.025 293);
  --text-3: oklch(62% 0.025 293);
  --line: oklch(100% 0 0 / 0.11);
  --line-2: oklch(100% 0 0 / 0.24);
  --accent: var(--violet);
  --accent-2: var(--violet-2);
  --accent-ink: var(--lila);
  --accent-soft: oklch(26% 0.07 293);
  --on-accent: var(--white);
  --inverse: oklch(96% 0.008 293);
  --on-inverse: oklch(14% 0.026 295);
  --glass: oklch(21% 0.032 295 / 0.86);
  --shadow: 0 30px 70px -36px oklch(4% 0.02 293 / 0.9);
  --img-bg: oklch(22% 0.03 295);
  --foot-bg: oklch(10.5% 0.022 295);
}

/* =====================================================================
   2 · Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
:root { interpolate-size: allow-keywords; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
[data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color 0.4s, color 0.4s;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  background: var(--inverse); color: var(--on-inverse); font-weight: 600; transform: translateY(-200%); transition: transform var(--dur-short) var(--ease-out);
}
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.hl { color: var(--accent-ink); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-2); }

/* Pantallas grandes: todo escala en proporción a partir de 1600 px (hasta ultrawide) */
@media (min-width: 100rem) { html { font-size: clamp(16px, 1vw, 21px); } }

/* =====================================================================
   3 · Encabezados de sección y etiquetas
   ===================================================================== */
/* Etiqueta de sección: texto solo, sin las franjas delante */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink);
}
.glyph {
  content: ""; flex: none; width: 1.35em; height: 1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M5 27 13 3'/%3E%3Cpath d='M17 27 25 3'/%3E%3Cpath d='M29 27 37 3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M5 27 13 3'/%3E%3Cpath d='M17 27 25 3'/%3E%3Cpath d='M29 27 37 3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.section-head { display: grid; gap: 1.1rem; max-width: 56rem; margin-bottom: clamp(2.25rem, 2.5vw + 1.25rem, 3.5rem); }
.section-title { font-size: var(--fs-h2); }
.section-lead { max-width: var(--measure); font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
@media (min-width: 64rem) {
  .section-head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
  .section-head--split .section-lead { justify-self: end; }
}
.section-foot { display: flex; justify-content: center; margin-top: clamp(2rem, 3vw, 3rem); }

/* Máscaras de SplitText: aire abajo para que no se corten g, p, y */
.hero__title > div, [data-reveal] > div { padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* =====================================================================
   4 · Botones (relleno que sube + flecha que cruza + imán)
   ===================================================================== */
.btn {
  --btn-fill: var(--accent-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: var(--control-h); padding: 0 1.4rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1.1; white-space: nowrap;
  cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short);
}
.btn:has(.btn__icon) { padding-right: 0.4rem; }
.btn::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--btn-fill); transform: translateY(102%); transition: transform var(--dur-long) var(--ease-out);
}
.btn:hover::after { transform: none; }
.btn__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-xs); background: oklch(100% 0 0 / 0.18); overflow: hidden; }
.btn:hover .btn__icon .ico { animation: arrow-swap 0.55s var(--ease-out); }
@keyframes arrow-swap { 0% { transform: none; } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: none; } }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--ghost { --btn-fill: var(--inverse); border-color: var(--line-2); color: var(--text); background: color-mix(in oklch, var(--bg) 40%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { color: var(--on-inverse); border-color: var(--inverse); }
.btn--ghost .btn__icon { background: var(--accent-soft); color: var(--accent-ink); }
.btn--ghost:hover .btn__icon { background: oklch(100% 0 0 / 0.16); color: inherit; }
.btn--white { --btn-fill: var(--carbon); background: var(--white); color: oklch(18% 0.012 285); }
.btn--white:hover { color: var(--white); }
.btn--white .btn__icon { background: var(--violet); color: var(--white); }
.btn--outline-white { --btn-fill: var(--white); border-color: oklch(100% 0 0 / 0.5); color: var(--white); }
.btn--outline-white:hover { color: oklch(18% 0.012 285); }
.btn--sm { min-height: 44px; padding: 0 1.05rem; font-size: var(--fs-sm); border-radius: 10px; }
.btn--sm:has(.btn__icon) { padding-right: 0.3rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--lg { min-height: 60px; padding-left: 1.75rem; font-size: 1.0625rem; }
.btn--lg .btn__icon { width: 48px; height: 48px; }
[data-magnetic] { will-change: transform; }

/* Enlace con flecha */
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent-ink); }
.link-arrow .ico { transition: transform var(--dur-long) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(5px); }
[data-underline] {
  padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size 0.5s var(--ease-out), color var(--dur-short);
}
[data-underline]:hover { background-position: 0 100%; background-size: 100% 1px; }

/* Etiquetas y chips */
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.7rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  min-height: 42px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: 10px; background: transparent;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); cursor: pointer;
  transition: background-color var(--dur-short), color var(--dur-short), border-color var(--dur-short);
}
.filter:hover { color: var(--text); border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.filter sup { margin-left: 0.25rem; font-size: 0.7em; opacity: 0.7; }

/* =====================================================================
   5 · Carga, cortina entre páginas y cursor
   ===================================================================== */
.loader { display: none; }
.motion.is-loading .loader, .loader.is-active {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: var(--z-loader); background: var(--bg);
}
.loader .logo { width: min(22rem, 64vw); height: auto; color: var(--text); }
.loader .logo__mark { color: var(--accent); }
.motion.is-loading main, .motion.is-loading .hdr { visibility: hidden; }

.curtain {
  position: fixed; inset: 0; z-index: var(--z-curtain); display: grid; place-items: center; pointer-events: none;
  background: var(--violet); clip-path: inset(100% 0 0 0);
}
.curtain__mark .logo { width: clamp(4.5rem, 9vw, 7rem); height: auto; color: var(--white); }
.motion.is-entering .curtain { clip-path: inset(0 0 0 0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: var(--z-cursor); overflow: hidden;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; pointer-events: none;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.3s, opacity 0.3s;
  }
}
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--violet); mix-blend-mode: normal; }
.cursor.is-out { opacity: 0; }
.cursor__label { position: relative; z-index: 1; font-size: var(--fs-sm); font-weight: 600; color: var(--white); opacity: 0; transition: opacity 0.2s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor__img { position: absolute; inset: 0; border-radius: 50%; background: center / cover; opacity: 0; transform: scale(1.15); transition: opacity 0.35s, transform 0.6s var(--ease-out); }
.cursor.has-img { width: 172px; height: 172px; margin: -86px 0 0 -86px; }
.cursor.has-img .cursor__img { opacity: 0.45; transform: none; }
/* Arrastra: píldora violeta con una flecha que sale a cada lado */
.cursor.is-drag { overflow: visible; width: 104px; height: 52px; margin: -26px 0 0 -52px; border-radius: 999px; background: var(--violet); mix-blend-mode: normal; }
.cursor.is-drag .cursor__label { opacity: 1; }
.cursor__arrow {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--violet); opacity: 0; transform: scale(0.3); transition: transform 0.5s var(--ease-out), opacity 0.3s;
}
.cursor__arrow svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cursor.is-drag .cursor__arrow { opacity: 1; transform: translateX(-80px); }
.cursor.is-drag .cursor__arrow + .cursor__arrow { transform: translateX(80px); }
/* Abrir: la misma píldora, con un signo más a la derecha en lugar de las flechas */
.cursor.is-drag.is-plus .cursor__arrow.cursor__arrow { opacity: 0; transform: scale(0.3); }
.cursor__arrow--plus svg { width: 14px; height: 14px; }
.cursor.is-drag.is-plus .cursor__arrow.cursor__arrow--plus { opacity: 1; transform: translateX(74px); }
.cursor.cursor:not(.is-plus) .cursor__arrow.cursor__arrow--plus { opacity: 0; transform: scale(0.3); }
.cursor.is-drag.is-grab { width: 88px; height: 44px; margin: -22px 0 0 -44px; }
.cursor.is-drag.is-grab .cursor__arrow { transform: translateX(-62px) scale(0.85); }
.cursor.is-drag.is-grab .cursor__arrow + .cursor__arrow { transform: translateX(62px) scale(0.85); }

/* =====================================================================
   6 · Header · isla
   ===================================================================== */
.hdr {
  position: fixed; inset: 0.75rem 0 auto; z-index: var(--z-sticky); display: flex; justify-content: center;
  padding-inline: var(--gutter); pointer-events: none; transition: transform 0.6s var(--ease-out);
}
.hdr.is-hidden:not(.is-open) { transform: translateY(-140%); }
.isla {
  pointer-events: auto; width: min(31rem, 100%); overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); background: var(--glass); color: var(--text);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 18px 50px -24px oklch(10% 0.03 293 / 0.45);
  transition: width 0.75s var(--ease-out), border-radius 0.75s var(--ease-out), background-color 0.4s;
}
.isla.is-open { width: min(var(--page-max), 100%); border-radius: 22px; }
.isla__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; padding: 0 0.45rem; }
.isla__menu {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.6rem; height: 44px; padding: 0 0.9rem;
  border: 0; border-radius: 12px; background: none; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short);
}
.isla__menu:hover { background: var(--line); }
.burger { display: grid; gap: 5px; }
.burger i { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease-out); }
.isla__menu[aria-expanded="true"] .burger i:first-child { transform: translateY(3.4px) rotate(45deg); }
.isla__menu[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.isla__brand { display: block; color: var(--text); }
.isla__brand .logo { width: auto; height: 24px; }
.isla__brand .logo__mark { color: var(--accent); }
.isla__end { justify-self: end; display: flex; align-items: center; gap: 0.35rem; }
.theme-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; cursor: pointer;
  transition: background-color var(--dur-short);
}
.theme-btn:hover { background: var(--line); }
.theme-btn .ico { transition: transform 0.6s var(--ease-out), opacity 0.3s; }
.theme-btn__sun, [data-theme="dark"] .theme-btn__moon { display: none; }
[data-theme="dark"] .theme-btn__sun { display: block; }
.theme-btn:hover .ico { transform: rotate(-30deg); }
.isla__cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 0.3rem 0 1rem; gap: 0.75rem; border-radius: 12px;
  background: var(--accent); color: var(--on-accent); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; transition: background-color var(--dur-short);
}
.isla__cta:hover { background: var(--accent-2); }
.isla__cta-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: oklch(100% 0 0 / 0.18); overflow: hidden; }
.isla__cta:hover .isla__cta-ico .ico { animation: arrow-swap 0.55s var(--ease-out); }
.isla__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.75s var(--ease-out); }
.isla.is-open .isla__panel { grid-template-rows: 1fr; }
.isla__clip { min-height: 0; overflow: hidden; }
.isla.is-open .isla__clip { max-height: calc(100svh - 6rem); overflow-y: auto; }
.isla__inner { display: grid; gap: 2.25rem; padding: 1.5rem clamp(1.1rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
.isla__kicker { margin-bottom: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.isla__services { display: grid; gap: 0.25rem; }
.isla__services a { display: block; padding: 0.75rem 0.9rem; margin-inline: -0.9rem; border-radius: var(--radius-sm); transition: background-color var(--dur-short); }
.isla__services b { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; transition: color var(--dur-short); }
.isla__services span { display: block; margin-top: 0.15rem; font-size: var(--fs-sm); color: var(--text-2); }
.isla__services a:hover { background: var(--card-2); }
.isla__services a:hover b { color: var(--accent-ink); }
.isla__col--side { display: grid; gap: 2rem; align-content: start; }
.isla__links { display: grid; gap: 0.3rem; }
.isla__links a { font-family: var(--font-display); font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text-2); transition: color var(--dur-short); }
.isla__links a:hover { color: var(--text); }
.isla__links a[aria-current="page"] { color: var(--accent-ink); }
.isla__feature {
  position: relative; display: grid; gap: 0.4rem; padding: 1.25rem 4rem 1.25rem 1.25rem; border-radius: var(--radius-md);
  background: var(--violet); color: var(--white); overflow: hidden;
}
.isla__feature-k { font-size: var(--fs-sm); color: oklch(92% 0.035 293); }
.isla__feature-t { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.isla__feature-go { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: oklch(100% 0 0 / 0.18); }
.isla__feature:hover .isla__feature-go .ico { animation: arrow-swap 0.55s var(--ease-out); }
.isla__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); }
.isla__foot a { margin-left: 0.35rem; font-weight: 600; color: var(--text); }
.isla__foot > a { margin-left: 0; }
.isla__foot a:hover { color: var(--accent-ink); }
.isla__services li, .isla__links li, .isla__feature, .isla__foot { opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.6s var(--ease-out); }
.isla.is-open .isla__services li, .isla.is-open .isla__links li, .isla.is-open .isla__feature, .isla.is-open .isla__foot {
  opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.035s);
}
@media (min-width: 56rem) {
  .isla__inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 4rem; }
  .isla__services { grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
  .isla__foot { grid-column: 1 / -1; }
}
@media (max-width: 55.99rem) { .isla__col--side { order: -1; } }
/* Móvil: logo a la izquierda; modo y menú a la derecha; sin "Cotizar" */
@media (max-width: 47.99rem) {
  .isla { width: 100%; background: var(--glass); }
  .isla__bar { display: flex; height: 58px; padding: 0 0.4rem 0 1rem; gap: 0.25rem; }
  .isla__brand { order: 1; margin-right: auto; }
  .isla__brand .logo { height: 21px; }
  .isla__end { order: 2; }
  .isla__menu { order: 3; width: 44px; padding: 0; justify-content: center; background: var(--line); }
  .isla__menu-label, .isla__cta { display: none; }
}
.scrim {
  position: fixed; inset: 0; z-index: calc(var(--z-sticky) - 1); background: oklch(10% 0.02 295 / 0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s;
}
.scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* =====================================================================
   7 · Hero con video
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh; padding: 8rem 0 clamp(3rem, 8vh, 5.5rem); background: var(--bg);
}
.hero--page { min-height: min(88svh, 52rem); }
.hero--short { min-height: min(72svh, 44rem); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-2); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__tint { position: absolute; inset: 0; background: var(--violet); mix-blend-mode: color; }
.hero__veil { position: absolute; inset: 0; }
/* Claro: la imagen se invierte a lavanda y un velo de papel deja leer el texto */
[data-theme="light"] .hero__poster, [data-theme="light"] .hero__video { filter: grayscale(1) invert(1) contrast(1.12) brightness(1.03); }
[data-theme="light"] .hero__media > :is(.hero__poster, .hero__video) { opacity: 0.62; }
[data-theme="light"] .hero__video:not(.is-playing) { opacity: 0; }
[data-theme="light"] .hero__tint { opacity: 0.72; }
[data-theme="light"] .hero__veil {
  background:
    linear-gradient(90deg, oklch(98.9% 0.004 293 / 0.94) 0%, oklch(98.9% 0.004 293 / 0.62) 46%, oklch(98.9% 0.004 293 / 0.08) 80%),
    linear-gradient(180deg, oklch(98.9% 0.004 293 / 0.6) 0%, transparent 28%, oklch(98.9% 0.004 293 / 0.45) 74%, var(--bg) 100%);
}
/* Oscuro: imagen en blanco y negro teñida de violeta */
[data-theme="dark"] .hero__poster, [data-theme="dark"] .hero__video { filter: grayscale(1) contrast(1.25) brightness(0.78); }
[data-theme="dark"] .hero__video:not(.is-playing) { opacity: 0; }
[data-theme="dark"] .hero__veil {
  background:
    linear-gradient(90deg, oklch(12% 0.026 295 / 0.82) 0%, oklch(12% 0.026 295 / 0.45) 48%, oklch(12% 0.026 295 / 0.1) 80%),
    linear-gradient(180deg, oklch(12% 0.026 295 / 0.6) 0%, transparent 30%, oklch(12% 0.026 295 / 0.5) 72%, var(--bg) 100%);
}
.hero__inner { display: grid; gap: 1.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 500; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.55; }
.crumbs a:hover { color: var(--text); }
.hero__title { max-width: 16ch; font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.045em; }
.hero__row { display: grid; gap: 1.5rem; align-items: end; }
.hero__lead { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.hero__facts li { display: grid; gap: 0.1rem; }
.hero__facts b { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.hero__facts span { font-size: var(--fs-sm); color: var(--text-2); }
@media (min-width: 62rem) { .hero__row { grid-template-columns: minmax(0, 38rem) auto; justify-content: space-between; } }

/* =====================================================================
   8 · Cinta de servicios
   ===================================================================== */
.ticker { position: relative; overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--line); background: var(--bg); }
.ticker__track { display: flex; width: max-content; }
.ticker__set { display: flex; flex: none; align-items: center; }
.ticker__set li { display: flex; align-items: center; }
.ticker__set li::after { content: ""; width: 0.5em; height: 0.4em; margin-inline: 0.55em; flex: none; font-size: clamp(2rem, 4.4vw, 4.25rem); }
.ticker__set li::after {
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M5 27 13 3'/%3E%3Cpath d='M17 27 25 3'/%3E%3Cpath d='M29 27 37 3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M5 27 13 3'/%3E%3Cpath d='M17 27 25 3'/%3E%3Cpath d='M29 27 37 3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.ticker a {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 4.25rem); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; color: var(--text); transition: color 0.4s;
}
.ticker li:nth-child(even) a { color: var(--text-3); }
.ticker a:hover { color: var(--accent-ink); }
.motion .ticker__track:not(.is-js) { animation: tick 45s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }

/* =====================================================================
   9 · Problemas del cliente → solución (inicio)
   ===================================================================== */
.pains { border-top: 1px solid var(--line-2); }
.pain { display: grid; gap: 0.9rem; padding: clamp(1.4rem, 2vw, 2rem) 0; border-bottom: 1px solid var(--line-2); }
.pain__q { font-family: var(--font-display); font-size: clamp(1.35rem, 1.5vw + 0.9rem, 2.2rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.03em; }
.pain__q span {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / calc(var(--strike, 0) * 100%) 0.09em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color 0.5s;
}
.pain.is-solved .pain__q span { color: var(--text-3); }
.pain__a { display: flex; gap: 0.85rem; align-items: flex-start; max-width: 40ch; color: var(--text-2); }
.pain__a .ico { margin-top: 0.15rem; padding: 4px; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--white); stroke-width: 2.2; }
.pain__a b { display: block; font-weight: 600; color: var(--text); }
@media (min-width: 56rem) {
  .pain { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; column-gap: 4rem; }
}

/* =====================================================================
   10 · Servicios: filas con imagen en el cursor
   ===================================================================== */
.svc-list { border-top: 1px solid var(--line-2); }
.svc {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem;
  padding: clamp(1.4rem, 2vw, 2rem) 0.25rem; border-bottom: 1px solid var(--line-2);
}
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; border-radius: var(--radius-md); background: var(--card-2); transform: scaleY(0); transition: transform 0.6s var(--ease-out); }
.svc__name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.9vw + 0.7rem, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; transition: transform 0.6s var(--ease-out); }
.svc__desc { color: var(--text-2); }
.svc__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.svc__go .ico { transition: transform 0.6s var(--ease-out); }
.svc:hover::before, .svc:focus-visible::before { transform: scaleY(1); }
.svc:hover .svc__name, .svc:focus-visible .svc__name { transform: translateX(0.75rem); }
.svc:hover .svc__go, .svc:focus-visible .svc__go { background: var(--accent); border-color: var(--accent); color: var(--white); }
.svc:hover .svc__go .ico { transform: rotate(-45deg); }
@media (max-width: 47.99rem) { .svc { grid-template-columns: minmax(0, 1fr) auto; } .svc__desc { grid-column: 1; grid-row: 2; } .svc__go { grid-row: 1 / 3; grid-column: 2; } }

/* =====================================================================
   11 · Proyectos
   ===================================================================== */
.works { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem); }
.work { display: grid; gap: 1.1rem; align-content: start; }
.work__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-md); background: var(--img-bg);
}
.work__media img { width: 100%; height: 115%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease-out); }
.work:hover .work__media img { transform: scale(1.05); }
.work__badge { position: absolute; left: 1rem; top: 1rem; }
.work__badge .tag { background: var(--glass); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.work__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1rem; align-items: start; }
.work__name { font-size: clamp(1.4rem, 1vw + 1.05rem, 1.9rem); letter-spacing: -0.03em; }
.work__meta { grid-column: 1; font-size: var(--fs-sm); color: var(--text-2); }
.work__go { grid-row: 1 / 3; grid-column: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.work__go .ico { transition: transform 0.6s var(--ease-out); }
.work:hover .work__go { background: var(--accent); border-color: var(--accent); color: var(--white); }
.work:hover .work__go .ico { transform: rotate(-45deg); }
.work__text { grid-column: 1 / -1; max-width: 52ch; margin-top: 0.25rem; color: var(--text-2); font-size: var(--fs-sm); }
@media (min-width: 48rem) {
  .works { grid-template-columns: 1fr 1fr; }
  .works--stagger .work:nth-child(even) { margin-top: clamp(4rem, 9vw, 9rem); }
  .work--wide { grid-column: 1 / -1; }
  .work--wide .work__media { aspect-ratio: 21 / 9; }
}
@media (min-width: 80rem) { .works--three { grid-template-columns: repeat(3, 1fr); } .works--three .work__media { aspect-ratio: 5 / 4; } }
.works__count { font-size: var(--fs-sm); color: var(--text-2); }
.works__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.work.is-hidden { display: none; }

/* =====================================================================
   12 · Cifras
   ===================================================================== */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); border-top: 1px solid var(--line-2); }
.fact { display: grid; gap: 0.35rem; padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line-2); }
.fact b { font-family: var(--font-display); font-size: clamp(3rem, 5vw + 1rem, 6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; }
.fact b small { font-size: 0.55em; color: var(--accent-ink); vertical-align: 0.45em; }
.fact > span { max-width: 24ch; color: var(--text-2); }
@media (min-width: 48rem) { .fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line-2); } }

/* =====================================================================
   13 · Cómo trabajamos: columnas que se expanden
   ===================================================================== */
.phases { display: flex; gap: 0.75rem; height: clamp(30rem, 62vh, 36rem); }
.phase {
  position: relative; overflow: hidden; isolation: isolate; flex: 1 1 0; min-width: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--card);
  transition: flex-grow 0.8s var(--ease-out), background-color 0.6s, border-color 0.6s, color 0.6s;
}
.phase.is-open { flex-grow: 3.4; background: var(--violet); border-color: var(--violet); color: var(--white); }
.phase__head { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.5rem; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.phase__name {
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.1vw + 1rem, 2.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em;
  white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg);
}
.phase.is-open .phase__head { align-items: flex-start; padding-top: 1.75rem; }
.phase.is-open .phase__name { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: clamp(1.8rem, 1.8vw + 1rem, 3rem); }
.phase__body {
  position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: 1rem; padding: 0 1.75rem 1.75rem; pointer-events: none;
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.6s var(--ease-out);
}
.phase.is-open .phase__body { opacity: 1; transform: none; transition-delay: 0.25s; }
.phase__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: oklch(100% 0 0 / 0.12); }
.phase__body p { max-width: 40ch; line-height: 1.55; color: oklch(94% 0.03 293); }
.phase:not(.is-open):hover { border-color: var(--accent-ink); }
.phase__head:focus-visible { outline-offset: -6px; border-radius: var(--radius-lg); }
@media (max-width: 63.99rem) {
  .phases { flex-direction: column; height: auto; }
  .phase { flex: none; }
  .phase__head { position: relative; inset: auto; padding: 1.35rem 1.5rem; }
  .phase__name, .phase.is-open .phase__name { writing-mode: horizontal-tb; transform: none; font-size: 1.5rem; }
  .phase.is-open .phase__head { padding-top: 1.35rem; }
  .phase__body { position: relative; display: none; padding: 0 1.5rem 1.5rem; opacity: 1; transform: none; }
  .phase.is-open .phase__body { display: grid; animation: fade-up 0.5s var(--ease-out); }
  .phase__img { aspect-ratio: 16 / 9; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   14 · Blog
   ===================================================================== */
.posts { display: grid; gap: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 40rem) { .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: grid; gap: 1rem; align-content: start; }
.post-card__media { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--img-bg); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-size: var(--fs-xs); color: var(--text-2); }
.post-card__meta .ico { width: 15px; height: 15px; }
.post-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.post-card__title { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.55rem); letter-spacing: -0.025em; line-height: 1.18; transition: color var(--dur-short); }
.post-card:hover .post-card__title { color: var(--accent-ink); }
.post-card p { font-size: var(--fs-sm); color: var(--text-2); }
.post-feature { display: grid; gap: 1.5rem; align-items: center; padding-bottom: clamp(2.5rem, 4vw, 4rem); margin-bottom: clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line-2); }
.post-feature .post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.post-feature__body { display: grid; gap: 1.1rem; align-content: center; }
.post-feature__title { font-size: clamp(1.8rem, 2vw + 1.1rem, 3rem); letter-spacing: -0.035em; }
.post-feature p { max-width: 48ch; color: var(--text-2); }
.post-feature:hover .post-card__media img { transform: scale(1.04); }
@media (min-width: 56rem) { .post-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4.5rem); } }
.blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.search { position: relative; flex: 0 1 20rem; }
.search .ico { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.search input {
  width: 100%; min-height: 44px; padding: 0 1rem 0 2.75rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); font-size: 1rem;
  transition: border-color var(--dur-short);
}
.search input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent); }
.empty { padding: 3rem 0; text-align: center; color: var(--text-2); }
.pager { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3.5rem; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.75rem; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: var(--fs-sm); transition: background-color var(--dur-short), color var(--dur-short); }
.pager a:hover { background: var(--card-2); }
.pager [aria-current] { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }

/* =====================================================================
   15 · Artículo
   ===================================================================== */
.progress { position: fixed; left: 0; top: 0; right: 0; z-index: calc(var(--z-sticky) + 1); height: 3px; background: var(--violet); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.article-hero { padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(2rem, 4vw, 3rem); }
.article-hero__inner { display: grid; gap: 1.4rem; max-width: 56rem; }
.article-hero h1 { font-size: clamp(2.2rem, 3.2vw + 1.1rem, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.article-hero__dek { max-width: 52ch; font-size: var(--fs-lead); color: var(--text-2); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; font-size: var(--fs-sm); color: var(--text-2); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta .author { gap: 0.65rem; color: var(--text); font-weight: 600; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--violet); color: var(--white); }
.avatar .logo { width: 24px; height: auto; }
.article-cover { margin-top: clamp(2rem, 4vw, 3.25rem); overflow: hidden; aspect-ratio: 21 / 9; border-radius: var(--radius-lg); background: var(--img-bg); }
.article-cover img { width: 100%; height: 118%; object-fit: cover; }
.article { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section-y); }
@media (min-width: 64rem) { .article { grid-template-columns: 15.5rem minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6.5rem); } }
.toc { align-self: start; }
@media (min-width: 64rem) { .toc { position: sticky; top: 6.5rem; } }
.toc__box { padding: 1.25rem; border: 1px solid var(--line-2); border-radius: var(--radius-md); }
.toc__k { margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.toc ol { display: grid; gap: 0.15rem; }
.toc__box a { display: block; padding: 0.45rem 0.7rem; margin-inline: -0.7rem; border-radius: 8px; font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); transition: background-color var(--dur-short), color var(--dur-short); }
.toc__box a:hover { color: var(--text); }
.toc__box a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.share a, .share button {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: none; cursor: pointer;
  transition: background-color var(--dur-short), color var(--dur-short), border-color var(--dur-short);
}
.share a:hover, .share button:hover { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.share__k { width: 100%; font-size: var(--fs-xs); color: var(--text-2); }
@media (max-width: 63.99rem) { .toc details summary { cursor: pointer; } }

.prose { max-width: 44rem; font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.65rem, 1.2vw + 1.2rem, 2.3rem); letter-spacing: -0.035em; line-height: 1.12; scroll-margin-top: 6.5rem; }
.prose h3 { margin-top: 1.8em; font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem); letter-spacing: -0.025em; line-height: 1.2; scroll-margin-top: 6.5rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0.75em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 0.6em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.75em; }
.prose ul li::before { content: ""; position: absolute; left: 0.35em; top: 0.68em; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 2.25em; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.8em; font-weight: 700; }
.prose blockquote { padding: 0.25em 0 0.25em 1.25em; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.prose figure img { width: 100%; border-radius: var(--radius-md); background: var(--img-bg); }
.prose figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--text-2); }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.35rem 1.5rem; border-radius: var(--radius-md); background: var(--accent-soft); }
.callout .ico { color: var(--accent-ink); margin-top: 0.2rem; }
.callout p { font-size: 1rem; line-height: 1.6; }
.callout b { display: block; margin-bottom: 0.25rem; font-family: var(--font-display); font-size: 1.125rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.author-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; max-width: 44rem; margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--radius-md); }
.author-box .avatar { width: 56px; height: 56px; border-radius: 14px; }
.author-box .avatar .logo { width: 32px; }
.author-box b { font-family: var(--font-display); font-size: 1.15rem; }
.author-box p { margin-top: 0.3rem; font-size: var(--fs-sm); color: var(--text-2); }
.article-cta { display: grid; gap: 1rem; max-width: 44rem; margin-top: 2rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--violet); color: var(--white); }
.article-cta h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.1rem); }
.article-cta p { color: oklch(93% 0.03 293); }
.article-cta .hero__ctas { margin-top: 0.5rem; }

/* =====================================================================
   16 · Preguntas frecuentes
   ===================================================================== */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .faq__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); column-gap: 5rem; align-items: start; } .faq__aside { position: sticky; top: 7rem; } }
.faq__aside { display: grid; gap: 1.1rem; }
.faq__help { color: var(--text-2); }
.faq__help a { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-weight: 600; color: var(--accent-ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa:first-child { border-top: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; transition: color var(--dur-short);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-ink); }
.qa__ico { flex: none; padding: 9px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s; }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--white); }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__body { padding: 0 3.5rem 1.5rem 0; color: var(--text-2); }
.qa__body a { color: var(--accent-ink); font-weight: 600; }

/* =====================================================================
   17 · Contacto
   ===================================================================== */
.lines { border-top: 1px solid var(--line-2); }
.line { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-2); }
.line__k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.line__main { min-width: 0; }
.line__v { display: inline-block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw + 0.6rem, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; overflow-wrap: anywhere; transition: transform 0.6s var(--ease-out), color 0.3s; }
.line:hover .line__v { transform: translateX(0.5rem); }
.line__v:hover { color: var(--accent-ink); }
.line__note { display: block; margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--text-2); }
.line__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.line__main--social { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; }
.line__v--sm { display: inline-flex; align-items: center; gap: 0.75rem; font-size: clamp(1.3rem, 2vw + 0.5rem, 2.1rem); }
.line__v--sm .ico { width: 0.8em; height: 0.8em; color: var(--accent-ink); }
@media (max-width: 47.99rem) { .line { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding: 1.4rem 0; } .line__actions { justify-content: flex-start; } }

.quote__grid { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .quote__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); column-gap: clamp(3rem, 5vw, 5.5rem); align-items: start; } .quote__aside { position: sticky; top: 7rem; } }
.quote__aside { display: grid; gap: 1.1rem; }
.steps { margin-top: 1.25rem; padding: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--radius-md); background: var(--card); }
.steps__title { margin-bottom: 1rem; font-family: var(--font-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.steps__list { display: grid; gap: 1.1rem; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; }
.step__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); transition: background-color 0.4s, color 0.4s; }
.step.is-on .step__icon { background: var(--accent); color: var(--white); }
.step b { display: block; font-weight: 600; }
.step p { font-size: var(--fs-sm); color: var(--text-2); }
.form { display: grid; gap: 1.35rem; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1.35rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label, .field__label, .chips legend, .switch legend { font-size: var(--fs-sm); font-weight: 600; }
.opt { margin-left: 0.3rem; font-weight: 400; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; min-height: var(--control-h); padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); font-size: 1rem;
  transition: border-color var(--dur-short), box-shadow var(--dur-short);
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.field ::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: oklch(58% 0.19 25); }
.field__msg { min-height: 0; font-size: var(--fs-xs); color: oklch(55% 0.19 25); }
[data-theme="dark"] .field__msg { color: oklch(74% 0.15 25); }
.chips, .switch { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend, .switch legend { margin-bottom: 0.6rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { width: 100%; }
.chip input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: 10px; font-size: var(--fs-sm); cursor: pointer;
  transition: background-color var(--dur-short), color var(--dur-short), border-color var(--dur-short);
}
.chip span:hover { border-color: var(--text); }
.chip input:checked + span { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.chip input:focus-visible + span, .switch input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.switch__track { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; }
.switch label > span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 42px; padding: 0 1.1rem; border-radius: 9px; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: color 0.35s; }
.switch input:checked + span { color: var(--white); }
.switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--accent); transition: transform 0.5s var(--ease-out); }
.switch__track:has(label:nth-child(2) input:checked) .switch__thumb { transform: translateX(100%); }
.drop-zone {
  position: relative; display: grid; justify-items: center; gap: 0.45rem; padding: 1.6rem 1rem; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg); text-align: center; cursor: pointer; transition: border-color var(--dur-short), background-color var(--dur-short);
}
.drop-zone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-zone:hover, .drop-zone.is-over { border-color: var(--accent-ink); background: var(--accent-soft); }
.drop-zone:focus-within { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.drop-zone__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); transition: transform 0.5s var(--ease-out); }
.drop-zone.is-over .drop-zone__icon { transform: translateY(-4px) rotate(-12deg); }
.drop-zone__text { font-size: var(--fs-sm); }
.drop-zone__text u { color: var(--accent-ink); text-underline-offset: 3px; }
.drop-zone__help { font-size: var(--fs-xs); color: var(--text-2); }
.files { display: grid; gap: 0.4rem; }
.files:empty { display: none; }
.file { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.4rem 0.4rem 0.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: var(--fs-sm); animation: fade-up 0.45s var(--ease-out); }
.file__thumb { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--accent-soft); color: var(--accent-ink); }
.file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__size { flex: none; font-size: var(--fs-xs); color: var(--text-2); }
.file__rm { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer; }
.file__rm:hover { background: var(--line); color: var(--text); }
.files__error { font-size: var(--fs-xs); color: oklch(55% 0.19 25); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { font-size: var(--fs-sm); color: var(--text-2); }
.form__status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 0.9rem; padding: 1.1rem; border-radius: var(--radius-sm); background: var(--accent-soft); }
.form__status[hidden] { display: none; }
.form__status > .ico { color: var(--accent-ink); }
.form__status .btn { grid-column: 2; justify-self: start; }
.form__status .btn[hidden] { display: none; }

/* Por qué INNOZONA: carrusel de tarjetas con foto */
.why__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.why__track { display: flex; gap: 1rem; margin-top: clamp(2rem, 3vw, 3rem); padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter))); }
.why__track::-webkit-scrollbar { display: none; }
.panel { flex: 0 0 min(84vw, 26rem); scroll-snap-align: start; display: grid; gap: 0.9rem; align-content: start; padding: 0.75rem 0.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.panel__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); background: var(--img-bg); }
.panel > :not(img) { margin-inline: 0.75rem; }
.panel__title { font-size: var(--fs-h3); letter-spacing: -0.025em; line-height: 1.15; }
.panel p { color: var(--text-2); font-size: var(--fs-sm); }
.why__controls { display: flex; gap: 0.5rem; }
.why__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; background: none; cursor: pointer; transition: background-color var(--dur-short), color var(--dur-short); }
.why__btn:hover { background: var(--inverse); color: var(--on-inverse); }
.why__btn:disabled { opacity: 0.35; cursor: default; background: none; color: var(--text); }

/* =====================================================================
   18 · Quiénes somos
   ===================================================================== */
.manifesto__text { max-width: 30ch; font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw + 1rem, 4rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.04em; }
.manifesto__text em { font-style: normal; color: var(--accent-ink); }
.stack__list { display: grid; gap: 1.25rem; }
.stack__card {
  position: sticky; top: calc(6.5rem + var(--i, 0) * 1.1rem); overflow: hidden; isolation: isolate; display: grid; gap: 0.75rem; align-content: center;
  padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); transform-origin: 50% 0;
}
.stack__card > :not(.stripes) { max-width: min(62%, 40rem); }
.stack__k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.stack__title { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.6rem); letter-spacing: -0.035em; }
.stack__card p { color: var(--text-2); }
.stripes { position: absolute; pointer-events: none; z-index: -1; }
.stripes svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.stripes path { fill: none; stroke-linecap: round; }
.stack__card .stripes { inset: 0 0 auto auto; width: min(34%, 20rem); aspect-ratio: 4 / 3; }
.stack__card:nth-child(even) .stripes { inset: auto 0 0 auto; transform: scaleY(-1); }
@media (max-width: 47.99rem) {
  .stack__card > :not(.stripes) { max-width: none; }
  .stack__card { padding-top: 5.5rem; }
  .stack__card .stripes, .stack__card:nth-child(even) .stripes { inset: 0 0 auto auto; width: 46%; transform: none; }
}
.reach__box {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.35rem; justify-items: start;
  padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius-lg); background: var(--violet); color: var(--white);
}
.reach__box .hl { color: oklch(87% 0.07 293); }
.reach__title { max-width: 18ch; font-size: clamp(2rem, 3vw + 0.9rem, 4rem); letter-spacing: -0.04em; }
.reach__box p { max-width: 52ch; color: oklch(93% 0.03 293); }
.reach__box .stripes { inset: 0 0 auto auto; width: min(40%, 26rem); aspect-ratio: 4 / 3; z-index: -1; }
.reach__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.75rem; }
.reach__facts li { display: grid; }
.reach__facts b { font-family: var(--font-display); font-size: clamp(2rem, 2vw + 1.2rem, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.reach__facts li > span { font-size: var(--fs-sm); color: oklch(90% 0.04 293); }
.reach__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.values { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { display: grid; gap: 0.75rem; align-content: start; padding: 1.75rem; border: 1px solid var(--line-2); border-radius: var(--radius-md); background: var(--card); }
.value .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.value h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; }
.value p { color: var(--text-2); font-size: var(--fs-sm); }

/* =====================================================================
   19 · Imagen que acompaña al puntero (lista de servicios)
   ===================================================================== */
.reveal { position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; }
.reveal__card { width: clamp(15rem, 20vw, 21rem); aspect-ratio: 4 / 3; margin: -50% 0 0 -50%; overflow: hidden; border-radius: 16px; opacity: 0; transform: scale(0.8) rotate(-4deg); transition: opacity 0.3s, transform 0.5s var(--ease-out); box-shadow: 0 30px 70px -30px oklch(10% 0.03 293 / 0.6); }
.reveal.is-on .reveal__card { opacity: 1; transform: none; }
.reveal__card img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .reveal { display: none; } }

/* =====================================================================
   20 · Footer
   ===================================================================== */
.foot {
  --text: var(--foot-text); --text-2: var(--foot-text-2); --line: var(--foot-line); --line-2: oklch(100% 0 0 / 0.24); --accent-ink: var(--lila);
  position: relative; z-index: 2; isolation: isolate; overflow: hidden; margin-top: calc(var(--radius-lg) * -1);
  padding-top: clamp(4.5rem, 6vw + 2rem, 8rem); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--foot-bg); color: var(--foot-text);
}
[data-theme="dark"] .foot { border-top: 1px solid oklch(100% 0 0 / 0.08); }
.foot :focus-visible { outline-color: var(--lila); }
.foot__inner { display: grid; gap: clamp(3.5rem, 6vw, 6rem); }
.foot__hero { display: grid; gap: 2.5rem; align-items: end; }
.foot__say { display: grid; gap: 1rem; }
.foot__kicker { font-size: var(--fs-lead); color: var(--foot-text-2); }
.foot__statement { max-width: 11ch; font-family: var(--font-display); font-size: var(--fs-giant); font-weight: 700; line-height: 0.98; letter-spacing: -0.05em; }
.foot__statement .ch { display: inline-block; }
.foot__cta {
  position: relative; isolation: isolate; overflow: hidden; justify-self: start; display: inline-flex; align-items: center; gap: 1.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem; border-radius: 14px; background: var(--white); color: oklch(18% 0.012 285);
  font-family: var(--font-display); font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.3rem); font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; transition: color 0.45s;
}
.foot__cta::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--violet); transform: translateY(102%); transition: transform 0.6s var(--ease-out); }
.foot__cta:hover { color: var(--white); }
.foot__cta:hover::after { transform: none; }
.foot__cta-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--violet); color: var(--white); transition: background-color 0.45s, color 0.45s; }
.foot__cta:hover .foot__cta-icon { background: var(--white); color: var(--violet); }
.foot__cta:hover .foot__cta-icon .ico { animation: arrow-swap 0.6s var(--ease-out); }
@media (min-width: 64rem) {
  .foot__hero { grid-template-columns: minmax(0, 1fr) auto; column-gap: 4rem; }
  .foot__cta { justify-self: end; margin-bottom: 0.9rem; }
}
.foot__grid { display: grid; gap: 2.75rem; padding-top: 2.5rem; border-top: 1px solid var(--line-2); }
.foot__h { margin-bottom: 1.25rem; font-family: var(--font-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lila); }
.foot__lines li { display: grid; gap: 0.15rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.foot__lines li:first-child { padding-top: 0; }
.foot__lines span { font-size: var(--fs-xs); color: var(--foot-text-2); }
.foot__lines a { justify-self: start; font-family: var(--font-display); font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem); font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.foot__nav ul { display: grid; gap: 0.6rem; }
.foot__nav a { font-size: var(--fs-sm); color: var(--foot-text-2); transition: color var(--dur-short); }
.foot__nav a:hover { color: var(--foot-text); }
.foot__side { display: grid; gap: 2rem; align-content: start; }
.foot__social { display: flex; gap: 0.5rem; }
.foot__social a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); transition: background-color var(--dur-short), color var(--dur-short), border-color var(--dur-short); }
.foot__social a:hover { background: var(--white); border-color: var(--white); color: oklch(18% 0.012 285); }
@media (min-width: 48rem) { .foot__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .foot__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: end; } }
@media (min-width: 64rem) { .foot__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.75fr); } .foot__side { grid-column: auto; grid-template-columns: none; align-items: start; } }
.foot__ribbon { position: relative; width: 100%; height: clamp(7rem, 15vw, 14rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.foot__ribbon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.foot__ribbon path { fill: none; stroke-linecap: round; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--foot-text-2); }
.foot__brand { color: var(--foot-text); }
.foot__brand .logo { width: auto; height: 22px; }
.foot__brand .logo__mark { color: var(--lila); }
.foot__tag { margin-right: auto; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot__legal a:hover { color: var(--foot-text); }

/* Volver arriba */
.to-top {
  position: fixed; right: var(--gutter); bottom: 1.25rem; z-index: 150; display: grid; place-items: center; width: 50px; height: 50px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--glass); color: var(--text); cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px -16px oklch(10% 0.03 293 / 0.5);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0s 0.5s, background-color var(--dur-short), color var(--dur-short);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.to-top:hover > .ico { animation: rise-arrow 0.6s var(--ease-out); }
@keyframes rise-arrow { 45% { transform: translateY(-140%); } 46% { transform: translateY(140%); } 100% { transform: none; } }

/* =====================================================================
   21 · Móvil: párrafos y botones a 1rem; títulos más contenidos
   ===================================================================== */
@media (max-width: 47.99rem) {
  :root {
    --fs-body: 1rem;
    --fs-lead: 1rem;
    --fs-h2: clamp(1.85rem, 7.2vw, 2.4rem);
    --fs-hero: clamp(2.2rem, 9.4vw, 2.85rem);
    --fs-giant: clamp(2.6rem, 12vw, 3.4rem);
    --section-y: 3.75rem;
  }
  .btn, .btn--sm, .btn--lg, .isla__cta, .foot__cta, .filter, .chip span, .switch label > span { font-size: 1rem; }
  .hero { padding-top: 6.5rem; }
  .hero__inner { gap: 1.25rem; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .ticker a, .ticker__set li::after { font-size: 2rem; }
  .prose { font-size: 1rem; line-height: 1.7; }
  .prose blockquote { font-size: 1.2rem; }
  .qa__body { padding-right: 0; }
  .fact { padding-right: 0; }
  .foot__cta { width: 100%; justify-content: space-between; }
}

/* =====================================================================
   22 · Movimiento: estados iniciales (solo con JS y sin preferencia de reducirlo)
   ===================================================================== */
.motion.is-loading [data-intro], .motion.is-loading .hero__title { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker__set[aria-hidden] { display: none; }
  .ticker__track { width: auto; }
  .ticker__set { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .pain__q span { --strike: 1; color: var(--text-3); }
}
/* Transición de modo claro/oscuro: círculo que se expande desde el botón */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =====================================================================
   23 · Reseñas, carruseles y ficha de proyecto
   ===================================================================== */
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.rail-head .section-head { margin-bottom: 0; }
.rail-ctrl { display: flex; gap: 0.5rem; }
.rail-ctrl button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; background: none; cursor: pointer; transition: background-color var(--dur-short), color var(--dur-short), opacity var(--dur-short); }
.rail-ctrl button:hover { background: var(--inverse); color: var(--on-inverse); }
.rail-ctrl button:disabled { opacity: 0.3; cursor: default; background: none; color: var(--text); }
.rail {
  display: flex; gap: 1rem; margin-top: clamp(2rem, 3vw, 3rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.review { flex: 0 0 min(86vw, 25rem); display: grid; gap: 1.25rem; align-content: space-between; padding: clamp(1.5rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.review__stars { display: flex; gap: 3px; color: var(--accent-ink); }
.review__stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { font-size: 1.0625rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; }
.review__ini { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; }
.review b { display: block; font-weight: 600; line-height: 1.3; }
.review small { font-size: var(--fs-xs); color: var(--text-2); }
.rating { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); color: var(--text-2); }
.rating b { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); letter-spacing: -0.03em; }

/* Tarjeta de proyecto: el nombre es el botón y cubre toda la tarjeta */
.work { position: relative; }
.work__btn { all: unset; cursor: pointer; }
.work__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-md); }
.work__btn:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.work--square .work__media { aspect-ratio: 1 / 1; }
.work--square .work__media img { height: 112%; object-position: center top; }

.lb { width: min(64rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--card); color: var(--text); overflow: auto; }
.lb::backdrop { background: oklch(10% 0.02 295 / 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb[open] { animation: lb-in 0.5s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.lb__grid { display: grid; }
.lb__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--img-bg); }
.lb__body { display: grid; gap: 1rem; align-content: center; padding: clamp(1.5rem, 3vw, 2.75rem); }
.lb__body h2 { font-size: clamp(1.8rem, 1.5vw + 1.2rem, 2.6rem); letter-spacing: -0.04em; }
.lb__meta { font-size: var(--fs-sm); color: var(--accent-ink); font-weight: 600; }
.lb__body p { color: var(--text-2); }
.lb__close { position: absolute; right: 0.9rem; top: 0.9rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--glass); color: var(--text); cursor: pointer; backdrop-filter: blur(10px); }
.lb__close:hover { background: var(--inverse); color: var(--on-inverse); }
@media (min-width: 52rem) { .lb__grid { grid-template-columns: 1.1fr 1fr; } .lb__img { height: 100%; } }
.share .is-done { background: var(--accent); border-color: var(--accent); color: var(--white); }
/* La última sección deja aire para la curva del footer */
main > .section:last-child { padding-bottom: calc(var(--section-y) + var(--radius-lg)); }
@media (max-width: 47.99rem) { .article-cover { aspect-ratio: 16 / 11; border-radius: var(--radius-md); } }

/* =====================================================================
   24 · Logos de clientes: una sola tinta, cinta continua
   ===================================================================== */
.logos { padding-block: clamp(2.5rem, 4vw, 3.5rem); border-block: 1px solid var(--line); overflow: hidden; }
.logos__title { margin-bottom: 1.75rem; font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--text-2); text-align: center; }
.logos__viewport { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.logos__track { display: flex; width: max-content; }
.logos__set { display: flex; flex: none; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); }
.logos__set img { width: auto; height: clamp(28px, 3vw, 40px); max-width: 150px; object-fit: contain; opacity: 0.9; filter: grayscale(1) brightness(0); transition: opacity 0.4s, filter 0.4s; }
[data-theme="dark"] .logos__set img { filter: grayscale(1) brightness(0) invert(1); }
.logos__set img:hover { opacity: 1; filter: none; }
/* Logos que traen su propio fondo: en gris, para que no se vuelvan un bloque */
.logos__set img.is-solid, [data-theme="dark"] .logos__set img.is-solid { filter: grayscale(1) contrast(1.1); }
.motion .logos__track { animation: tick 50s linear infinite; }
.logos__track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .logos__set[aria-hidden] { display: none; } .logos__track { width: auto; } .logos__viewport { -webkit-mask: none; mask: none; } .logos__set { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); } }

/* =====================================================================
   25 · Páginas de servicio
   ===================================================================== */
.values--six { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .values--six { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .values--six { grid-template-columns: repeat(3, 1fr); } }
.value { transition: border-color 0.4s, transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out); }
.value:hover { border-color: var(--accent-ink); transform: translateY(-4px); box-shadow: var(--shadow); }

/* Lista con marca de verificación */
.checks { display: grid; gap: 0.6rem; }
.checks li { position: relative; padding-left: 1.85rem; font-size: var(--fs-sm); line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 1.2rem; height: 1.2rem; border-radius: 6px; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 0.42rem; top: 0.33rem; width: 0.36rem; height: 0.62rem; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Para quién es */
.fit__grid { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .fit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; column-gap: 4rem; } .fit .section-head { margin-bottom: 0; } }
.fit__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fit__list li {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0 1.25rem; border: 1px solid var(--line-2); border-radius: 12px;
  font-family: var(--font-display); font-size: clamp(1rem, 0.4vw + 0.9rem, 1.2rem); font-weight: 700; letter-spacing: -0.015em;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.fit__list li:hover { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
:root { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M5 27 13 3'/%3E%3Cpath d='M17 27 25 3'/%3E%3Cpath d='M29 27 37 3'/%3E%3C/g%3E%3C/svg%3E"); }

/* Otros servicios */
.others { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .others { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .others { grid-template-columns: repeat(5, 1fr); } }
.other {
  position: relative; display: grid; gap: 0.6rem; align-content: start; height: 100%; padding: 1.5rem 1.5rem 4.25rem; border: 1px solid var(--line-2); border-radius: var(--radius-md);
  background: var(--card); transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.other > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.other__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.other__desc { font-size: var(--fs-sm); color: var(--text-2); }
.other__go { position: absolute; left: 1.5rem; bottom: 1.25rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.other:hover { border-color: var(--accent-ink); transform: translateY(-4px); }
.other:hover .other__go { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Dos formas de vender */
.options { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .options { grid-template-columns: 1fr 1fr; } }
.option { display: grid; gap: 1rem; align-content: start; justify-items: start; padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--card); }
.option h3 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.1rem); letter-spacing: -0.035em; }
.option > p:not(.option__k) { color: var(--text-2); }
.option__k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.option--accent { background: var(--violet); border-color: var(--violet); color: var(--white); }
.option--accent > p:not(.option__k) { color: oklch(93% 0.03 293); }
.option--accent .option__k, .option--accent .link-arrow { color: oklch(90% 0.06 293); }
.option--accent .checks li::before { background: oklch(100% 0 0 / 0.18); }
.option--accent .checks li::after { border-color: var(--white); }

/* Planes */
.billing { display: inline-flex; gap: 4px; margin-bottom: 2rem; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; }
.billing__opt { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 9px; background: none; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color 0.35s, color 0.35s; }
.billing__opt[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.billing__opt[aria-pressed="true"] .tag { background: oklch(100% 0 0 / 0.2); color: var(--white); }
.plans { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 60rem) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: grid; gap: 1.1rem; padding: clamp(1.75rem, 2.5vw, 2.25rem); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--card); }
.plan--featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), var(--shadow); }
.plan__badge { position: absolute; top: -0.85rem; left: 1.75rem; padding: 0.3rem 0.75rem; border-radius: 8px; background: var(--violet); color: var(--white); font-size: var(--fs-xs); font-weight: 600; }
.plan__name { font-size: 1.6rem; letter-spacing: -0.03em; }
.plan__for { min-height: 3.2em; font-size: var(--fs-sm); color: var(--text-2); }
.plan__price { display: flex; align-items: baseline; gap: 0.4rem; }
.plan__price b { font-family: var(--font-display); font-size: clamp(3rem, 3vw + 1.5rem, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.plan__cur, .plan__per { font-size: var(--fs-sm); color: var(--text-2); }
.plan__save { margin-top: -0.6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); }
.plan .btn { width: 100%; justify-content: space-between; }
.plan .checks { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.stack-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: var(--radius-md); background: var(--accent-soft); }
.stack-note .ico { color: var(--accent-ink); margin-top: 0.15rem; }
.stack-note p { font-size: var(--fs-sm); line-height: 1.6; }
.stack-note b { font-weight: 600; }

/* Encuentra tu servicio */
.finder { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .finder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; column-gap: 2.5rem; } }
.finder__opts { display: grid; gap: 0.5rem; align-content: start; }
.finder__opt {
  position: relative; display: flex; align-items: center; min-height: 58px; padding: 0.75rem 3rem 0.75rem 1.25rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--card); text-align: left; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; cursor: pointer;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}
.finder__opt::after { content: ""; position: absolute; right: 1.25rem; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: 0.4; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.finder__opt:hover { border-color: var(--text); }
.finder__opt[aria-pressed="true"] { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); transform: translateX(6px); }
.finder__opt[aria-pressed="true"]::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
.finder__card { display: grid; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.finder__card[hidden] { display: none; }
.finder__card img { width: 100%; height: 100%; min-height: 14rem; max-height: 22rem; object-fit: cover; }
.finder__body { display: grid; gap: 1rem; align-content: center; justify-items: start; padding: clamp(1.5rem, 3vw, 2.5rem); }
.finder__body h3 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.4rem); letter-spacing: -0.035em; }
.finder__body > p:not(.eyebrow) { color: var(--text-2); }
@media (min-width: 40rem) { .finder__card { grid-template-columns: 0.9fr 1.1fr; } .finder__card img { max-height: none; } }

/* Servicios: tarjetas grandes que se apilan */
.scards { display: grid; gap: 1.25rem; }
.scard {
  position: sticky; top: calc(6.25rem + var(--i, 0) * 0.9rem); display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card); box-shadow: var(--shadow); transform-origin: 50% 0;
}
.scard__body { position: relative; display: grid; gap: 1rem; align-content: center; justify-items: start; padding: clamp(1.75rem, 3.5vw, 3.25rem); }
.scard__ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--violet); color: var(--white); }
.scard__title { font-size: clamp(1.8rem, 2vw + 1rem, 3rem); letter-spacing: -0.04em; }
.scard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.scard__body > p { max-width: 46ch; color: var(--text-2); }
.scard .checks { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.scard__media { overflow: hidden; min-height: 16rem; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.scard:hover .scard__media img { transform: scale(1.05); }
@media (min-width: 56rem) { .scard { grid-template-columns: 1.15fr 0.85fr; min-height: min(34rem, 72svh); } }
@media (max-width: 47.99rem) { .scard .checks { grid-template-columns: 1fr; } .scard { position: relative; top: auto; } }

/* =====================================================================
   26 · Video de marca: ventana que se abre a pantalla completa
   ===================================================================== */
.reel { position: relative; height: 100svh; min-height: 34rem; background: var(--bg); }
.reel__frame { position: absolute; inset: 0; overflow: hidden; background: var(--carbon); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__veil { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(12% 0.03 295 / 0.25) 0%, oklch(12% 0.03 295 / 0.35) 45%, oklch(12% 0.03 295 / 0.85) 100%); }
.reel__copy { position: absolute; inset: auto 0 clamp(2.5rem, 7vh, 5rem); display: grid; gap: 1.25rem; color: var(--white); }
.reel__title { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 10rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.055em; }
.reel__mask { display: inline-block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; vertical-align: top; }
.reel__mask .reel__line { display: inline-block; }
.reel__title .reel__mask + .reel__mask .reel__line { color: var(--lila); }
.reel__sub { max-width: 44ch; font-size: var(--fs-lead); color: oklch(92% 0.02 293); }
@media (max-width: 47.99rem) { .reel { height: 80svh; } .reel__title { font-size: clamp(2.6rem, 13vw, 3.6rem); } }

/* =====================================================================
   27 · Caso de estudio y página 404
   ===================================================================== */
.case-hero { padding: clamp(7.5rem, 12vw, 10rem) 0 0; }
.case-hero__grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.case-hero .hero__title { max-width: 14ch; }
.case-hero__lead { max-width: 46ch; font-size: var(--fs-lead); color: var(--text-2); }
@media (min-width: 64rem) { .case-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; } }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: 2.5rem 0 0; border-top: 1px solid var(--line-2); }
.case-fact { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line-2); }
.case-fact dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.case-fact dd { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
.case-cover { margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: oklch(42% 0.2 268); }
.case-cover img { width: 100%; height: 118%; object-fit: cover; object-position: center 20%; }
.case-split { display: grid; gap: 1.75rem; }
@media (min-width: 64rem) { .case-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5rem; align-items: start; } }
.case-text { display: grid; gap: 1.1rem; max-width: 48ch; font-size: var(--fs-lead); color: var(--text-2); }
.case-text .checks li { font-size: var(--fs-body); color: var(--text); }
.case-gallery { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .case-gallery { grid-template-columns: 1fr 1fr; } .case-shot--wide { grid-column: 1 / -1; } }
.case-shot { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--img-bg); aspect-ratio: 1 / 1; }
.case-shot--wide { aspect-ratio: 21 / 9; }
.case-shot img { width: 100%; height: 115%; object-fit: cover; }
.case-shot figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.5rem 0.85rem; border-radius: 10px; background: var(--glass); color: var(--text); font-size: var(--fs-sm); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 47.99rem) { .case-shot--wide { aspect-ratio: 4 / 3; } }
.next-case {
  position: relative; isolation: isolate; display: grid; gap: 0.75rem; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line);
}
.next-case__name { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 6.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; transition: color 0.4s; }
.next-case__meta { color: var(--text-2); }
.next-case img { position: absolute; right: clamp(1rem, 4vw, 3rem); top: 50%; z-index: -1; width: clamp(8rem, 20vw, 16rem); border-radius: var(--radius-md); transform: translateY(-50%) rotate(6deg) scale(0.9); opacity: 0.25; transition: transform 0.8s var(--ease-out), opacity 0.6s; }
.next-case:hover img { transform: translateY(-50%) rotate(0deg) scale(1); opacity: 1; }
.next-case:hover .next-case__name { color: var(--accent-ink); }

.lost { display: grid; align-items: center; min-height: 100svh; padding: 8rem 0 calc(4rem + var(--radius-lg)); overflow: hidden; }
.lost__inner { display: grid; gap: 1.5rem; justify-items: start; }
.lost__code {
  font-family: var(--font-display); font-size: clamp(7rem, 26vw, 22rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.07em;
  color: var(--accent-ink);
}

/* Ficha de proyecto: enlace al caso completo cuando existe */
.lb__case[hidden] { display: none; }
