/* GERARD · Diseño web en Murcia
   Dirección de arte inspirada en el lenguaje editorial de neutomni.com, reinterpretada con la identidad GERARD.
   Paleta: papel · tinta verde azulado · turquesa de marca. */

@font-face {
  font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-var.woff") format("woff");
  font-weight: 400 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff") format("woff");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #003D3C;
  --tq: #00E5E5;
  --tq-deep: #007474;
  --mist: #C8F8F6;
  --line: rgba(0, 61, 60, .18);
  --line-strong: rgba(0, 61, 60, .42);
  --on-ink: #E9FFFE;
  --star: #F2B300;

  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius-l: 28px;
  --radius-m: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--tq-deep); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .02em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }

/* Titulares: la tipografía es la protagonista */
.display {
  font-size: clamp(2.15rem, 1.2rem + 4.4vw, 5.6rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.038em;
  font-variation-settings: "wdth" 88;
  text-wrap: balance;
  max-width: 18ch;
}
.display .serif { letter-spacing: -.02em; font-size: 1.04em; line-height: .9; }

/* ─── Botones ─── */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em;
  text-decoration: none; overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tq); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--ink); }
.btn--tq { --bg: var(--tq); --fg: var(--ink); --bd: var(--tq); }
.btn--tq::before { background: var(--paper); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: var(--tq-deep);
  transition: text-decoration-color .25s, text-underline-offset .25s;
}
.link:hover { text-decoration-color: var(--ink); text-underline-offset: 8px; }

/* ─── Intro ─── */
.intro { display: none; }
.js.intro .intro {
  display: block; position: fixed; inset: 0; z-index: 900; pointer-events: none;
}
.intro__half {
  position: absolute; left: 0; right: 0; height: 50.2%; background: var(--tq);
  display: flex; padding: var(--gutter);
}
.intro__half--top { top: 0; align-items: flex-end; }
.intro__half--bottom { bottom: 0; align-items: flex-start; justify-content: flex-end; }
.intro__count { font-size: clamp(1rem, 2vw, 1.4rem); color: var(--ink); padding-bottom: 14px; }
.intro__cut { color: var(--ink); font-size: clamp(.8rem, 1.4vw, 1rem); padding-top: 14px; }
.intro__line {
  position: absolute; left: 0; right: 0; top: 50%; height: 0;
  border-top: 2px dashed var(--ink); transform-origin: left;
}
.intro__scissors {
  position: absolute; left: 0; top: -13px; width: 26px; height: 26px;
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round;
  transform: rotate(90deg);
}

/* ─── Cabecera ─── */
.header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 500;
  padding-inline: 12px;
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.header__bar {
  max-width: 1180px; margin-inline: auto; min-height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: 0 18px 40px -24px rgba(0, 40, 40, .55);
}
.header__logo { flex: 0 0 auto; border-radius: 6px; }
.header__logo img { height: 26px; width: auto; }
.header__nav { margin-inline: auto; }
.header__nav ul { display: flex; gap: 4px; }
.header__nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--on-ink);
  transition: background-color .25s, color .25s;
}
.header__nav a:hover { background: rgba(0, 229, 229, .14); color: var(--tq); }
.header__cta { min-height: 48px; padding: .6em 1.3em; font-size: .95rem; }
.header__cta .sm { display: none; }
.header__menu { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 600; background: var(--tq); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
}
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 4px; }
.menu a {
  font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; letter-spacing: -.04em;
  text-decoration: none; line-height: 1.1; font-variation-settings: "wdth" 80;
}
.menu__close {
  margin-top: 40px; align-self: flex-start; font-weight: 600;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 22px;
}

/* ─── Hero ─── */
.hero { padding-top: calc(var(--header-h) + 52px); padding-bottom: clamp(32px, 5vw, 64px); }
.wordmark { width: 100%; height: auto; overflow: visible; }
.wordmark__ink { stroke: var(--ink); }
.wordmark__tq { fill: var(--tq); }


.hero__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  margin-top: clamp(24px, 3.6vw, 60px); align-items: end;
}
.hero__kicker { grid-column: 1 / span 4; max-width: 30ch; font-size: 1rem; color: var(--tq-deep); }
.hero__kicker strong { color: var(--ink); }
.hero__main { grid-column: 6 / -1; }
.hero__title {
  font-size: clamp(2.3rem, 1.3rem + 4vw, 5.2rem); line-height: .96;
  font-weight: 500; letter-spacing: -.04em; font-variation-settings: "wdth" 86;
}
.hero__title .line { display: block; position: relative; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__title .serif { font-size: 1.04em; letter-spacing: -.02em; }
.hero__title .bar { position: absolute; inset: 0 0 .06em; background: var(--tq); transform: scaleX(0); transform-origin: left; }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: 1.08rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__foot {
  display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 6vw, 80px);
}
.cutline {
  flex: 1 1 auto; position: relative; height: 0; border-top: 2px dashed var(--line-strong);
}
.cutline svg {
  max-width: none;
  position: absolute; left: 0; top: -13px; width: 26px; height: 26px; background: var(--paper);
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform: rotate(90deg);
}
.hero__foot p { flex: 0 0 auto; color: var(--tq-deep); }

/* ─── Franja turquesa ─── */
.band {
  background: var(--tq); overflow: hidden;
  padding-block: clamp(48px, 8vw, 120px);
  display: grid; gap: clamp(14px, 2vw, 24px);
}
.band__row {
  display: flex; gap: clamp(14px, 2vw, 24px); width: max-content;
  transform: rotate(-4deg); will-change: transform;
}
.band__row[data-band-row="-1"] { margin-left: -30vw; }
.band__row img {
  width: clamp(240px, 30vw, 460px); aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; box-shadow: 0 24px 50px -28px rgba(0, 40, 40, .7);
  background: var(--mist);
}

/* ─── Manifiesto ─── */
.manifest { padding-block: clamp(80px, 12vw, 180px); }
.manifest__title { max-width: 21ch; }
.w { display: inline; }
.manifest__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  margin-top: clamp(48px, 7vw, 96px); align-items: start;
}
.manifest__copy { grid-column: 1 / span 5; max-width: 44ch; font-size: 1.1rem; }
.stats { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats li { border-top: 1.5px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; }
.stats__num {
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); line-height: .9; font-weight: 500;
  letter-spacing: -.05em; font-variation-settings: "wdth" 80;
}
.stats li > span { font-size: .95rem; color: var(--tq-deep); }

.ab {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 3vw, 40px);
  margin-top: clamp(64px, 9vw, 130px);
  font-size: clamp(1.25rem, .9rem + 1.8vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em;
}
.ab__from { color: var(--tq-deep); }
.ab__to { font-size: 1.12em; }
.ab__arrow { position: relative; height: 2px; }
.ab__arrow i {
  position: absolute; inset: 0; background: var(--ink); transform-origin: left;
}
.ab__arrow i::after {
  content: ""; position: absolute; right: -2px; top: -7px; width: 16px; height: 16px;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg);
}

/* ─── Plantilla vs a medida ─── */
.vs { background: var(--mist); }
.vs__pin { padding-block: clamp(80px, 10vw, 140px); }
.vs .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.vs__head { grid-column: 1 / span 4; display: grid; gap: 22px; }
.vs__head .display { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); }
.vs__toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--ink);
  justify-self: start; background: var(--paper);
}
.vs__toggle button { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background-color .25s, color .25s; }
.vs__toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vs__stage {
  --cut: 100%;
  grid-column: 5 / -1; position: relative; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 50, 50, .6);
  font-size: clamp(8px, .55vw + 4px, 14px);
}
.vs__note { grid-column: 5 / -1; justify-self: end; margin-top: -10px; font-size: .85rem; color: var(--tq-deep); }
.mock { position: absolute; inset: 0; overflow: hidden; }
.mock--before { background: #F2F2F2; clip-path: inset(0 0 0 var(--cut)); }
.mock--before img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.mock--after { background: #EDEBE8; }
.mock--after img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.vs__blade {
  position: absolute; top: 0; bottom: 0; left: var(--cut); z-index: 4; width: 0;
  border-left: 2px dashed var(--ink); pointer-events: none;
  transition: opacity .3s;
}
.vs__stage[data-state="before"] .vs__blade, .vs__stage[data-state="after"] .vs__blade { opacity: 0; }
.vs__blade svg {
  max-width: none;
  position: absolute; top: 50%; left: -19px; width: 36px; height: 36px; padding: 6px;
  background: var(--tq); border-radius: 50%;
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform: translateY(-50%) rotate(180deg);
}
.vs__stage.is-anim .mock--before { transition: clip-path .7s var(--ease); }
.vs__stage.is-anim .vs__blade { transition: left .7s var(--ease), opacity .3s; }

/* ─── Servicios ─── */
.services { padding-block: clamp(80px, 12vw, 170px); }
.srv {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 6vw, 80px); margin-left: -26px; overflow: hidden;
  border-top: 1.5px solid var(--ink);
}
.srv__row {
  position: relative; isolation: isolate; margin-left: -1px;
  padding: 28px 26px 34px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
}
.srv__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tq);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.srv__row h3 {
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1.02; font-weight: 550; letter-spacing: -.03em;
  font-variation-settings: "wdth" 80; transition: font-variation-settings .5s var(--ease);
}
.srv__row p { max-width: 36ch; font-size: .98rem; }
@media (hover: hover) and (pointer: fine) {
  .srv__row:hover::before { transform: scaleY(1); }
  .srv__row:hover h3 { font-variation-settings: "wdth" 100; }
}
.srv__row:first-child { grid-row: span 2; }
.srv__row:first-child h3 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.srv__row:last-child { grid-column: span 2; }

/* ─── Trabajos ─── */
.work { padding-block: clamp(80px, 11vw, 160px); border-top: 1.5px solid var(--ink); }
.work__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.work__head .display { grid-column: 1 / span 8; }
.work__head p { grid-column: 9 / -1; max-width: 36ch; }
.work__list { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.wk figure { overflow: hidden; border-radius: 14px; background: var(--mist); aspect-ratio: 16 / 10; }
.wk figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wk h3 { margin-top: 14px; font-size: 1.45rem; font-weight: 550; letter-spacing: -.03em; line-height: 1.1; }
.wk p { color: var(--tq-deep); font-size: .95rem; }
.work__float { display: none; }
.work__cta { margin-top: clamp(40px, 6vw, 72px); }

@media (hover: hover) and (pointer: fine) and (min-width: 960px) {
  .work__list { display: block; border-top: 1.5px solid var(--ink); }
  .wk {
    position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 24px;
    padding: 18px 4px; border-bottom: 1px solid var(--line); cursor: default;
  }
  .wk figure { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wk h3 {
    margin: 0; font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); line-height: 1; font-weight: 500;
    letter-spacing: -.045em; font-variation-settings: "wdth" 78;
    transition: transform .5s var(--ease), color .3s, font-variation-settings .5s var(--ease);
  }
  .wk p { font-size: 1rem; transition: color .3s; }
  .wk:hover h3 { transform: translateX(18px); color: var(--tq-deep); font-variation-settings: "wdth" 100; }
  .work__float {
    display: block; position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
    width: 380px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 40, 40, .6);
    opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s;
  }
  .work__float img { width: 100%; height: 100%; object-fit: cover; }
  .work__float.is-on { opacity: 1; }
}

/* ─── Clientes ─── */
.clients { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 110px); }
.clients__title { font-size: 1.1rem; font-weight: 500; color: var(--tq); }
.clients__grid {
  margin-top: 32px; display: grid; grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid rgba(233, 255, 254, .16);
}
.clients__grid li {
  display: grid; place-items: center; height: clamp(84px, 9vw, 120px);
  border-bottom: 1px solid rgba(233, 255, 254, .16);
}
.clients__grid li:not(:nth-child(8n + 1)) { border-left: 1px solid rgba(233, 255, 254, .16); }
.clients__grid img { width: auto; max-width: 74%; max-height: 34px; opacity: .78; transition: opacity .3s, transform .4s var(--ease); }
.clients__grid li:hover img { opacity: 1; transform: scale(1.08); }

/* ─── Proceso: tarjetas apiladas ─── */
.process { padding-block: clamp(80px, 12vw, 170px); }
.stack { margin-top: clamp(40px, 6vw, 80px); display: grid; gap: 24px; }
.card {
  --i: 0;
  position: sticky; top: calc(var(--header-h) + 36px + var(--i) * 18px);
  min-height: min(68vh, 560px);
  display: grid; grid-template-columns: auto 1fr minmax(160px, 30%); gap: clamp(20px, 4vw, 56px);
  align-items: end;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-l);
  transform-origin: 50% 0;
}
.card:nth-child(2) { --i: 1; }
.card:nth-child(3) { --i: 2; }
.card:nth-child(4) { --i: 3; }
.card--paper { background: var(--paper); border: 1.5px solid var(--ink); }
.card--tq { background: var(--tq); }
.card--ink { background: var(--ink); color: var(--paper); }
.card--mist { background: var(--mist); }
.card__n { align-self: start; font-size: clamp(1rem, 1.6vw, 1.3rem); }
.card__body h3 {
  font-size: clamp(2rem, 1rem + 3.6vw, 4.4rem); line-height: .95; font-weight: 500; letter-spacing: -.045em;
  font-variation-settings: "wdth" 80;
}
.card__body p { margin-top: 18px; max-width: 42ch; font-size: 1.08rem; }
.card__shape { width: 100%; max-width: 260px; justify-self: end; align-self: center; overflow: visible; }
.card__shape * { fill: none; stroke: currentColor; stroke-width: 2.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.card__shape::after { content: none; }
.card--ink .card__shape * { stroke: var(--tq); }

/* ─── Cerca ─── */
.near { padding-block: clamp(80px, 11vw, 160px); background: var(--paper); border-top: 1.5px solid var(--ink); }
.near__line { width: 100%; height: 40px; margin-top: clamp(32px, 5vw, 64px); overflow: visible; }
.near__line path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.near__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 12px; }
.opt { display: grid; gap: 14px; align-content: start; }
.opt__shape { width: 64px; height: 64px; overflow: visible; margin-top: -44px; background: var(--paper); }
.opt__shape * { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease), fill .3s; }
.opt:hover .opt__shape * { transform: rotate(90deg) scale(1.08); fill: var(--tq); }
.opt h3 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); font-weight: 550; letter-spacing: -.035em; line-height: 1; font-variation-settings: "wdth" 84; }
.opt p { max-width: 34ch; }
.opt .link { justify-self: start; }

/* ─── Precios ─── */
.pricing { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 160px); background: var(--paper); }
.pricing__glow {
  position: absolute; left: 50%; top: 58%; width: min(1300px, 140vw); aspect-ratio: 1.4;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 229, 229, .55), rgba(0, 229, 229, .2) 55%, rgba(200, 248, 246, 0) 100%);
  filter: blur(30px); pointer-events: none;
}
.pricing .wrap { position: relative; }
.tags {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center;
  gap: clamp(24px, 4vw, 72px); margin-top: clamp(100px, 10vw, 150px); padding-top: 10px;
}
.tags::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: -80px; height: 3px; border-radius: 3px; background: var(--ink);
}
.tag {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 24px;
  padding: 56px clamp(22px, 3vw, 36px) 30px;
  transform-origin: 50% -80px;
  box-shadow: 0 30px 60px -36px rgba(0, 50, 50, .55);
}
.tag--tq { background: var(--tq); }
.tag__hole {
  position: absolute; top: 18px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; border: 1.5px solid var(--ink); background: var(--mist);
}
.tag__string { position: absolute; left: 50%; top: -80px; width: 2px; height: 107px; margin-left: -1px; background: var(--ink); }
.tag__code { position: absolute; top: 18px; right: 22px; color: var(--tq-deep); font-size: 12px; }
.tag--tq .tag__code { color: var(--ink); }
.tag__name {
  font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: .95; font-weight: 600; letter-spacing: -.045em;
  font-variation-settings: "wdth" 78;
}
.tag__pitch { font-size: 1.05rem; }
.tag__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 4px; }
.tag__amount { font-weight: 600; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.045em; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; }
.tag__unit { font-family: var(--mono); font-size: .9rem; }
.tag__term { font-size: .98rem; }
.tag__list { display: grid; gap: 10px; padding-top: 16px; border-top: 2px dashed var(--line-strong); }
.tag__list li { position: relative; padding-left: 22px; font-size: .97rem; line-height: 1.4; }
.tag__list li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 10px; height: 10px;
  background: var(--tq); border: 1.5px solid var(--ink); transform: rotate(45deg);
}
.tag--tq .tag__list li::before { background: var(--paper); }
.tag__cta { margin-top: auto; align-self: stretch; }
.tag__perf { display: none; }
@media (hover: hover) and (pointer: fine) {
  .tag:hover { animation: swing 1.2s var(--ease); }
}
@keyframes swing { 20% { rotate: 3deg; } 45% { rotate: -2deg; } 70% { rotate: 1deg; } 100% { rotate: 0deg; } }
.pricing__fine { margin: 40px auto 0; max-width: 64ch; text-align: center; font-size: .98rem; }

.compare { margin: 40px auto 0; max-width: 980px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-m); }
.compare summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; transition: transform .3s; }
.compare[open] summary::after { transform: rotate(45deg); }
.compare__scroll { overflow-x: auto; padding: 0 22px 22px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-family: var(--mono); font-size: .8rem; color: var(--tq-deep); font-weight: 500; }
.compare tbody th { font-weight: 600; width: 34%; }

/* ─── Tienda ─── */
.shop { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 11vw, 160px); }
.shop__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.shop__copy { grid-column: 1 / span 5; display: grid; gap: 24px; justify-items: start; }
.shop__copy p { max-width: 42ch; color: var(--on-ink); }
.shop .display { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); }
.shop .serif { color: var(--tq); }
.shop__img { grid-column: 7 / -1; perspective: 1400px; }
.shop__img figcaption { margin-top: 14px; font-size: .9rem; color: var(--on-ink); opacity: .8; }
.case {
  display: grid; gap: 8px; width: 100%; max-width: 46ch;
  padding: 20px 22px 22px; border: 1.5px solid rgba(0, 229, 229, .45); border-radius: var(--radius-m);
  background: rgba(0, 229, 229, .06);
}
.case__label { font-family: var(--mono); font-size: .78rem; color: var(--tq); }
.case__name { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variation-settings: "wdth" 80; color: var(--paper); }
.case p { color: var(--on-ink); }
.case__stat { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 2px dashed rgba(0, 229, 229, .35); }
.case__num { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: .9; font-weight: 600; letter-spacing: -.05em; color: var(--tq); font-variation-settings: "wdth" 78; font-variant-numeric: tabular-nums; }
.case__txt { font-weight: 600; color: var(--paper); }

/* Ordenador de la tienda: brillo, barrido de pantalla, avisos de venta y contador */
.device { position: relative; transform-style: preserve-3d; will-change: transform; }
.device img { width: 100%; border-radius: 20px; display: block; }
.device__scan {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none; overflow: hidden; opacity: 0;
  background: linear-gradient(180deg, rgba(0, 229, 229, 0) 0%, rgba(0, 229, 229, .38) 48%, rgba(255, 255, 255, .55) 50%, rgba(0, 229, 229, .38) 52%, rgba(0, 229, 229, 0) 100%);
  background-size: 100% 36%; background-repeat: no-repeat; background-position: 0 -40%;
  mix-blend-mode: screen;
}
.device__glare {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%);
  opacity: 0; transition: opacity .4s;
}
.shop__img:hover .device__glare { opacity: 1; }
.sales { position: absolute; left: -18px; top: 12%; display: grid; gap: 10px; transform: translateZ(60px); }
.sales li {
  display: none; align-items: center; gap: 8px; width: max-content;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 650; font-size: .92rem;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55);
}
.sales li i { width: 24px; height: 24px; border-radius: 50%; background: var(--tq); position: relative; }
.sales li i::after {
  content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg);
}
.shop--live .sales li { display: flex; }
.device__badge {
  position: absolute; right: -14px; bottom: 16%; transform: translateZ(80px) rotate(-6deg);
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 16px; border-radius: 18px;
  background: var(--tq); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--paper);
}
.device__badge span { font-size: 2.6rem; line-height: 1; font-weight: 700; letter-spacing: -.05em; font-variation-settings: "wdth" 78; font-variant-numeric: tabular-nums; }
.device__badge span::before { content: "+"; }
.device__badge small { font-size: .78rem; font-weight: 650; line-height: 1.15; }
@media (max-width: 640px) {
  .sales { left: 8px; top: 6%; }
  .sales li { font-size: .8rem; padding: 7px 12px 7px 7px; }
  .sales li i { width: 20px; height: 20px; }
  .sales li i::after { left: 6px; top: 3px; }
  .device__badge { right: 6px; bottom: 8%; padding: 8px 12px; }
  .device__badge span { font-size: 1.9rem; }
}

/* ─── Murcia ─── */
.local { padding-block: clamp(80px, 11vw, 160px); }
.local__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.local__grid .display { grid-column: 1 / span 6; font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); }
.local__copy { grid-column: 8 / -1; display: grid; gap: 20px; align-content: start; }
.local__list { display: grid; gap: 14px; }
.local__list li { position: relative; padding-left: 28px; }
.local__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--tq); border: 1.5px solid var(--ink); }

/* ─── Opiniones ─── */
.reviews { background: var(--mist); padding-block: clamp(80px, 10vw, 140px); }
.reviews__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.reviews__score { grid-column: 1 / span 5; display: grid; justify-items: start; gap: 6px; }
.reviews__g { width: 54px; height: 54px; background: var(--paper); border-radius: 50%; padding: 10px; }
.reviews__num { font-size: clamp(6rem, 3rem + 10vw, 13rem); line-height: .82; font-weight: 500; letter-spacing: -.06em; font-variation-settings: "wdth" 76; }
.reviews__stars { position: relative; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: .08em; line-height: 1; }
.reviews__stars-base { color: rgba(0, 61, 60, .18); }
.reviews__stars-fill { position: absolute; left: 0; top: 0; color: var(--star); white-space: nowrap; overflow: hidden; width: var(--fill, 100%); }
.reviews__copy { grid-column: 7 / -1; display: grid; gap: 22px; justify-items: start; }
.reviews__copy .display { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem); }

/* ─── Dudas ─── */
.faq { padding-block: clamp(80px, 11vw, 160px); }
.window {
  margin-top: clamp(40px, 6vw, 72px); max-width: 980px;
  border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: 14px 14px 0 var(--tq);
}
.window__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); background: var(--mist); }
.window__bar i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.window__bar i:first-child { background: var(--tq); }
.window__bar span { margin-left: auto; margin-right: auto; transform: translateX(-24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px;
  padding: 20px 22px; font-weight: 600; font-size: clamp(1.02rem, .9rem + .4vw, 1.2rem); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 14px; height: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease);
}
.qa[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa summary:hover .qa__n { color: var(--ink); background: var(--tq); }
.qa__n { color: var(--tq-deep); border-radius: 6px; padding: 2px 6px; justify-self: start; transition: background-color .25s, color .25s; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 22px 22px 76px; max-width: 70ch; }

/* ─── Contacto ─── */
.contact { position: relative; overflow: hidden; background: var(--tq); padding-block: clamp(90px, 13vw, 190px); }
.contact__inner { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; pointer-events: none; }
.contact__inner > * { pointer-events: auto; }
.contact__title { font-size: clamp(3rem, 1rem + 9vw, 10rem); max-width: 12ch; line-height: .9; }
.contact__lead { max-width: 46ch; font-size: 1.12rem; }
.contact__ways { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__toys { position: absolute; inset: 0; z-index: 1; }
.toy { position: absolute; display: block; cursor: grab; touch-action: none; user-select: none; }
.toy:active { cursor: grabbing; }
.toy--circle { width: clamp(90px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); right: 12%; top: 18%; }
.toy--square { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; background: var(--paper); border: 2px solid var(--ink); right: 28%; bottom: 14%; transform: rotate(12deg); }
.toy--tri {
  width: clamp(90px, 11vw, 160px); aspect-ratio: 1.1; background: var(--mist);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); right: 6%; bottom: 22%;
}
.toy__hint { position: absolute; right: 13%; top: calc(18% - 34px); color: var(--ink); pointer-events: none; }

/* ─── Footer ─── */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 8vw, 100px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.footer__what { max-width: 40ch; color: var(--on-ink); }
.footer__related { margin-top: 24px; font-size: .95rem; }
.footer__related p { color: var(--tq); }
.footer__related ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; }
.footer a, .footer__btn { color: var(--on-ink); text-decoration: underline; text-decoration-color: rgba(0, 229, 229, .5); text-underline-offset: 4px; font-size: .95rem; }
.footer a:hover, .footer__btn:hover { color: var(--tq); }
.footer__legal ul { display: grid; gap: 10px; justify-items: end; }
.footer__logo { padding: clamp(40px, 7vw, 90px) var(--gutter) 0; max-width: var(--max); margin-inline: auto; }
.footer__logo img { width: 100%; }
.footer__copy { padding-block: 24px 30px; font-size: .85rem; color: var(--on-ink); opacity: .75; }

/* ─── Flotantes ─── */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 400;
  display: grid; gap: 10px; transition: transform .45s var(--ease), opacity .3s;
}
.fab.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .cc-open .fab { transform: translateY(140%); opacity: 0; pointer-events: none; } }
.fab__btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 14px 30px -14px rgba(0, 40, 40, .6); transition: transform .3s var(--ease);
}
.fab__btn:hover { transform: scale(1.08) rotate(-6deg); }
.fab__btn svg { width: 26px; height: 26px; fill: currentColor; }
.fab__btn--wa { background: var(--ink); color: var(--tq); }
.fab__btn--tel { background: var(--tq); color: var(--ink); border: 1.5px solid var(--ink); }

/* ─── Cursor ─── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js:not(.reduced) .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--tq); mix-blend-mode: multiply; opacity: 0;
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}

/* ─── Modales legales ─── */
.legal {
  width: min(780px, calc(100vw - 24px)); max-height: min(88vh, 900px); max-height: min(88dvh, 900px);
  padding: 0; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--paper); color: var(--ink);
  overflow: hidden;
}
.legal[open] { display: flex; flex-direction: column; animation: dlg-in .35s var(--ease); }
.legal::backdrop { background: rgba(0, 30, 30, .62); backdrop-filter: blur(4px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px); } }
.legal__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px 12px 22px; border-bottom: 1.5px solid var(--ink); background: var(--mist);
}
.legal__label { font-family: var(--mono); font-size: .8rem; color: var(--tq-deep); }
.legal__close { font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; background: var(--paper); }
.legal__close:hover { background: var(--tq); }
.legal__body { overflow-y: auto; overscroll-behavior: contain; padding: 26px clamp(20px, 4vw, 40px) 40px; font-size: .97rem; }
.legal__body:focus { outline: none; }
.legal__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 550; }
.legal__date { margin-top: 8px; font-family: var(--mono); font-size: .8rem; color: var(--tq-deep); }
.legal__body h3 { margin-top: 28px; font-size: 1.1rem; font-weight: 650; }
.legal__body p, .legal__body ul { margin-top: 10px; }
.legal__body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }
.legal__note { background: var(--mist); padding: 12px 14px; border-radius: 10px; }

/* ─── Estados iniciales mientras carga el movimiento ─── */
.motion-pending [data-hero-rise],
.motion-pending .hero__title .line > span { opacity: 0; }
.motion-pending .wm-l { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion-pending .wm-s { opacity: 0; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .header__nav a { padding: 10px 10px; font-size: .9rem; }
  .header__cta .lg { display: none; }
  .header__cta .sm { display: inline; }
  .srv { grid-template-columns: repeat(2, 1fr); }
  .srv__row:first-child { grid-row: auto; grid-column: 1 / -1; }
  .srv__row:last-child { grid-column: auto; }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .clients__grid li:not(:nth-child(8n + 1)) { border-left: 0; }
  .clients__grid li:not(:nth-child(4n + 1)) { border-left: 1px solid rgba(233, 255, 254, .16); }
}

@media (max-width: 960px) {
  :root { --header-h: 58px; }
  .header__nav { display: none; }
  .header__bar { padding: 6px 6px 6px 18px; gap: 10px; }
  .header__cta { margin-left: auto; min-height: 46px; padding: .55em 1.1em; }
  .header__menu {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(233, 255, 254, .1);
  }
  .header__menu i { display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; }

  .hero__grid, .manifest__grid, .vs .wrap, .work__head, .shop__grid, .local__grid, .reviews__grid { grid-template-columns: 1fr; }
  .vs__note { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
  .hero__kicker, .hero__main, .manifest__copy, .stats, .vs__head, .vs__stage, .work__head .display, .work__head p,
  .shop__copy, .shop__img, .local__grid .display, .local__copy, .reviews__score, .reviews__copy { grid-column: 1 / -1; }
  .hero__kicker { order: 2; }
  .stats { margin-top: 12px; }
  .vs__stage { aspect-ratio: 16 / 9; }
  .work__list { grid-template-columns: repeat(2, 1fr); }
  .card { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .card__shape { position: absolute; right: 22px; top: 22px; width: 84px; }
  .near__grid { grid-template-columns: 1fr; gap: 44px; }
  .near__line { display: none; }
  .opt__shape { margin-top: 0; }
  .tags { grid-template-columns: minmax(0, 480px); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal ul { justify-items: start; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__foot p { font-size: .72rem; }
  .ab { grid-template-columns: 1fr; gap: 14px; }
  .ab__arrow { width: 70px; transform: rotate(90deg); transform-origin: left center; margin: 14px 0 22px 8px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .srv { grid-template-columns: 1fr; }
  .srv { margin-left: 0; }
  .srv__row { border-left: 0; margin-left: 0; padding-inline: 0; }
  .srv__row:first-child, .srv__row:last-child { grid-column: auto; }
  .work__list {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none;
  }
  .work__list::-webkit-scrollbar { display: none; }
  .wk { flex: 0 0 78%; scroll-snap-align: start; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .clients__grid li { height: 74px; }
  .clients__grid li:nth-child(n) { border-left: 0; }
  .clients__grid li:not(:nth-child(3n + 1)) { border-left: 1px solid rgba(233, 255, 254, .16); }
  .clients__grid img { max-height: 26px; }
  .tags { gap: 96px; margin-top: 70px; }
  .tags::before { display: none; }
  .tag__string { top: -70px; height: 97px; }
  .card { padding: 24px 22px 28px; }
  .card__body { padding-right: 70px; }
  .card__shape { width: 64px; right: 18px; top: 18px; }
  .qa summary { grid-template-columns: 34px 1fr auto; padding: 18px 16px; }
  .qa__a p { padding: 0 16px 20px 60px; }
  .window { box-shadow: 8px 8px 0 var(--tq); }
  .contact__ways { display: grid; width: 100%; }
  .contact__ways .btn { width: 100%; }
  .toy--circle { right: -20px; top: 6%; }
  .toy--square { right: 10%; bottom: 4%; }
  .toy--tri { right: -14px; bottom: 30%; }
  .toy__hint { display: none; }
  .fab__btn { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card { position: relative; top: auto; }
}

/* ─── Aviso de cookies ─── */
.cc {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 800;
  width: min(430px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 22px;
  padding: 22px 22px 18px; box-shadow: 10px 10px 0 var(--tq);
  animation: dlg-in .45s var(--ease);
}
.cc[hidden] { display: none; }
.cc__x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background-color .2s;
}
.cc__x:hover { background: var(--mist); }
.cc__title { display: flex; align-items: center; gap: 10px; padding-right: 40px; font-weight: 650; font-size: 1.15rem; letter-spacing: -.02em; }
.cc__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--tq); display: grid; place-items: center; flex: 0 0 auto; }
.cc__icon svg, .cc-fab svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc__icon svg circle, .cc-fab svg circle { fill: var(--ink); stroke: none; }
.cc__text { margin-top: 10px; font-size: .93rem; line-height: 1.5; }
.cc__link { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--tq-deep); }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc__btn { min-height: 46px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; border: 1.5px solid var(--ink); transition: background-color .2s, color .2s; }
.cc__btn--solid { flex: 1 1 0; background: var(--ink); color: var(--paper); white-space: nowrap; }
.cc__btn--solid:hover { background: var(--tq); color: var(--ink); }
.cc__btn--line { flex: 1 1 auto; background: var(--paper); }
.cc__btn--line:hover { background: var(--mist); }
.cc__btn--ghost { flex: 1 1 100%; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.cc__btn--ghost:hover { background: var(--mist); }

.cc-prefs {
  width: min(560px, calc(100vw - 24px)); padding: 0; border: 1.5px solid var(--ink); border-radius: 22px;
  background: var(--paper); color: var(--ink); max-height: min(90vh, 760px);
}
.cc-prefs[open] { animation: dlg-in .35s var(--ease); }
.cc-prefs::backdrop { background: rgba(0, 30, 30, .62); backdrop-filter: blur(4px); }
.cc-prefs__inner { position: relative; padding: 26px 24px 22px; }
.cc-prefs__title { font-size: 1.6rem; letter-spacing: -.03em; font-weight: 600; padding-right: 40px; }
.cc-cats { margin-top: 18px; border-top: 1px solid var(--line); }
.cc-cat { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cc-cat h3 { font-size: 1rem; font-weight: 650; }
.cc-cat p { font-size: .9rem; margin-top: 2px; }
.cc-pill { flex: 0 0 auto; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--ink); white-space: nowrap; }
.cc-switch { position: relative; flex: 0 0 auto; width: 52px; height: 30px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); transition: background-color .2s; }
.cc-switch::after { content: ""; position: absolute; inset: -8px; }
.cc-switch span { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.cc-switch[aria-checked="true"] { background: var(--tq); }
.cc-switch[aria-checked="true"] span { transform: translateX(22px); }

.cc-fab {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 390;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--tq);
  transition: transform .3s var(--ease);
}
.cc-fab[hidden] { display: none; }
.cc-fab:hover { transform: rotate(-18deg); }
.cc-fab__tip {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: .8rem; font-weight: 600; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.cc-fab:hover .cc-fab__tip, .cc-fab:focus-visible .cc-fab__tip { opacity: 1; }
@media (max-width: 640px) {
  .cc { left: 10px; right: 10px; width: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 6px 6px 0 var(--tq); }
  .cc__btn--solid { flex: 1 1 calc(50% - 4px); }
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--tq-deep); font-family: var(--mono); font-size: .78rem; }

/* ─── Pop-up de intención de salida: una etiqueta colgante, como las de precios ─── */
.exit {
  position: fixed; top: calc(12px + var(--header-h)); left: 50%; z-index: 700;
  width: min(440px, calc(100vw - 32px)); margin-left: calc(min(440px, calc(100vw - 32px)) / -2);
  padding-top: 40px; pointer-events: none;
}
.exit--top { top: 0; padding-top: 64px; }
.exit[hidden] { display: none; }
.exit__string { position: absolute; left: 50%; top: 0; width: 2px; height: 67px; margin-left: -1px; background: var(--ink); }
.exit--top .exit__string { height: 91px; }
.exit__tag {
  position: relative; pointer-events: auto;
  display: grid; gap: 14px; justify-items: start;
  background: var(--tq); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 24px;
  padding: 50px clamp(22px, 3vw, 34px) 28px;
  box-shadow: 10px 10px 0 var(--ink);
  transform-origin: 50% -40px;
}
.exit__tag:focus { outline: none; }
.exit__tag:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.exit__hole {
  position: absolute; top: 18px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; border: 1.5px solid var(--ink); background: var(--mist);
}
.exit__code { position: absolute; top: 18px; left: 22px; font-size: 12px; color: var(--ink); }
.exit__x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background-color .2s, transform .3s var(--ease);
}
.exit__x:hover { background: var(--paper); transform: rotate(90deg); }
.exit__title {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.7rem); line-height: .96; font-weight: 500;
  letter-spacing: -.04em; font-variation-settings: "wdth" 86; text-wrap: balance; max-width: 13ch;
}
.exit__title .serif { font-size: 1.06em; letter-spacing: -.02em; }
.exit__text { font-size: .98rem; max-width: 36ch; }
.exit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.exit__actions .btn--ink::before { background: var(--paper); }
.exit__later {
  font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; padding: 8px 2px; transition: text-underline-offset .25s;
}
.exit__later:hover { text-underline-offset: 8px; }
.exit--in { animation: exit-drop .9s var(--ease); }
@keyframes exit-drop { from { transform: translateY(-110%); } }
@media (prefers-reduced-motion: reduce) { .exit--in { animation: none; } }
