/* ==========================================================================
   2VF Publicidad · Producción Gráfica
   ========================================================================== */

/* Montserrat alojada en la propia web (licencia SIL OFL), sin peticiones a Google */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Reey2VF";
  src: url("../fonts/reey-2vf.otf") format("opentype");
  font-display: swap;
}

:root {
  --magenta: #e60895;
  --magenta-ink: #c4066f;
  --navy: #201747;
  --navy-2: #2a2060;
  --navy-3: #150f33;
  --blue: #3b5da8;
  --ink: #1b1638;
  --ink-soft: #4c4868;
  --mist: #f3f2f8;
  --line: #e2e0ec;
  --paper: #ffffff;

  /* tintas de proceso */
  --c: #00a3e8;
  --m: #ec008c;
  --y: #ffe500;
  --k: #201747;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Montserrat", system-ui, sans-serif;
  --script: "Reey2VF", "Segoe Script", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --topbar-h: 40px;
  --nav-h: 84px;
  --stripe-h: 8px;
  --header-h: calc(var(--topbar-h) + var(--nav-h) + var(--stripe-h));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--stripe-h) + 16px);
  scrollbar-color: var(--magenta) var(--mist);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--magenta);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--magenta); color: #fff; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--mist); border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: var(--magenta); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  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-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

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

.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.15;
}

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-fill: var(--magenta);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border: 0;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 0.82rem/1 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 160ms var(--ease-out), color 200ms ease;
}
.btn b { font-weight: 800; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 380ms var(--ease-expo);
}
.btn .arrow { transition: transform 240ms var(--ease-out); }
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { clip-path: inset(0 0 0 0); }
  .btn:hover .arrow { transform: translateX(4px); }
}

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-fill: var(--magenta); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { color: #fff; }
}
.btn--magenta { --btn-bg: var(--magenta-ink); --btn-fill: var(--navy); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-fill: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { color: #fff; }
}
.btn--sm { padding: 0.7em 1.1em; font-size: 0.72rem; }

.arrow { width: 1.1em; height: 1.1em; flex: none; }

/* ==========================================================================
   Cabecera
   ========================================================================== */

.site-header {
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 100;
  view-transition-name: site-header;
}

.topbar {
  height: var(--topbar-h);
  background: #d8068c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
}
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .topbar a:hover { text-decoration: underline; }
}
.topbar .social { margin-left: auto; display: flex; gap: 8px; }

.social { display: flex; gap: 8px; }
.social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.social a svg { width: 13px; height: 13px; }
.social a:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .topbar .social a:hover { background: #fff; color: var(--magenta); text-decoration: none; }
}

.navbar {
  height: var(--nav-h);
  background: var(--navy);
  color: #fff;
  position: relative;
}
.navbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }

.nav { height: 100%; position: relative; }
.nav > ul {
  list-style: none;
  margin: 0; padding: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.6vw, 22px);
  position: relative;
}
.nav > ul > li { display: flex; align-items: stretch; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: none;
  border: 0;
  color: #fff;
  font: 500 0.8rem/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.nav-link .chev { width: 10px; height: 10px; transition: transform 200ms var(--ease-out); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-indicator {
  position: absolute;
  left: 0; bottom: 0;
  width: 100px; height: 6px;
  background: var(--magenta);
  transform-origin: 0 50%;
  pointer-events: none;
  transition: transform 240ms var(--ease-out), opacity 200ms ease;
}

.stripe {
  height: var(--stripe-h);
  background: var(--blue);
  border-top: 3px solid #fff;
  position: relative;
  overflow: hidden;
}
.stripe .progress {
  position: absolute;
  inset: 0;
  background: var(--magenta);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@supports (animation-timeline: scroll()) {
  .stripe .progress {
    animation: progress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* Mega menú de servicios */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--navy-3);
  padding: 28px 0 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 160ms ease,
    transform 160ms var(--ease-out),
    clip-path 160ms var(--ease-out),
    visibility 0s linear 160ms;
  box-shadow: 0 24px 48px -12px rgb(10 6 30 / 0.45);
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  clip-path: inset(0 0 -40px 0);
  transition:
    opacity 220ms ease,
    transform 260ms var(--ease-out),
    clip-path 240ms var(--ease-out),
    visibility 0s;
}
.mega ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.mega a {
  display: block;
  text-decoration: none;
  color: #fff;
}
.mega figure {
  margin: 0 0 12px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.mega figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.75;
  transition: transform 400ms var(--ease-out), opacity 240ms ease;
}
.mega strong { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; }
.mega small { display: block; font-size: 0.75rem; color: #bdb8dd; margin-top: 4px; line-height: 1.4; }
.mega li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 260ms var(--ease-out);
}
.mega.is-open li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms); }
@media (hover: hover) and (pointer: fine) {
  .mega a:hover img { transform: scale(1.06); opacity: 1; }
}

/* Botón menú móvil */
.burger {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: currentColor;
  transition: transform 260ms var(--ease-out), opacity 160ms ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  color: #fff;
  padding: calc(var(--nav-h) + var(--stripe-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  visibility: hidden;
  transition: clip-path 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
  visibility: visible;
  transition: clip-path 560ms var(--ease-drawer), visibility 0s;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.mobile-menu .sub a { font-size: 1rem; font-weight: 500; padding: 8px 0 8px 16px; color: #d7d3ef; }
.mobile-menu li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.mobile-menu.is-open li {
  opacity: 1;
  transform: none;
  transition-delay: calc(140ms + var(--i, 0) * 40ms);
}
.mobile-menu .contact-lines { font-size: 0.95rem; color: #d7d3ef; }
.mobile-menu .contact-lines a { font-size: 1rem; font-weight: 700; padding: 4px 0; color: #fff; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: block; }
  .brand img { height: 50px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 70px; }
  .topbar .mail { display: none; }
  .brand img { height: 44px; }
}

/* ==========================================================================
   Revelados (solo con JS activo y sin preferencia de movimiento reducido)
   ========================================================================== */

.js [data-reveal] {
  transition:
    opacity 700ms var(--ease-expo),
    transform 900ms var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms));
}
.js [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js [data-reveal="fade"]:not(.is-in) { opacity: 0; }

/* Los revelados con máscara recortan el contenido, no el elemento observado */
.js :is([data-reveal="feed"], [data-reveal="rise"], [data-reveal="wipe"]) > * {
  transition: clip-path 1000ms var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms));
}
.js [data-reveal="feed"]:not(.is-in) > * { clip-path: inset(0 0 100% 0); }
.js [data-reveal="rise"]:not(.is-in) > * { clip-path: inset(100% 0 0 0); }
.js [data-reveal="wipe"]:not(.is-in) > * { clip-path: inset(0 100% 0 0); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal] > * { transition: opacity 400ms ease; transition-delay: 0ms; }
  .js [data-reveal]:not(.is-in) { transform: none !important; }
  .js [data-reveal]:not(.is-in) > * { clip-path: none !important; }
  .js :is([data-reveal="up"], [data-reveal="fade"]):not(.is-in),
  .js :is([data-reveal="feed"], [data-reveal="rise"], [data-reveal="wipe"]):not(.is-in) > * { opacity: 0; }
}

/* Registro CMYK: tres planchas que entran en registro */
.reg { position: relative; display: inline-block; }
.reg-plate {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0;
}
.reg--light .reg-plate { mix-blend-mode: screen; }

/* Firma manuscrita, letra a letra */
.write { white-space: nowrap; }
.write-l {
  display: inline-block;
  white-space: pre;
}
.js .write.is-ready .write-l {
  clip-path: inset(-60% 100% -60% -40%);
  transform: translateY(0.12em);
  transition:
    clip-path 420ms var(--ease-out),
    transform 520ms var(--ease-expo);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms);
}
.js .write.is-ready.is-in .write-l {
  clip-path: inset(-60% -40% -60% -40%);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .write.is-ready .write-l { clip-path: none; transform: none; transition: opacity 300ms ease; opacity: 0; }
  .js .write.is-ready.is-in .write-l { opacity: 1; }
}

/* ==========================================================================
   Slider de cabecera
   ========================================================================== */

.hero {
  --hero-h: clamp(560px, calc(100svh - var(--header-h)), 780px);
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: #eef0f2;
  isolation: isolate;
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  z-index: 1;
}
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-leaving { visibility: visible; z-index: 1; }
.slide.is-entering { z-index: 3; }

.slide-inner {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Slide 1 · Servicio 360 */
.slide--360 {
  background: linear-gradient(90deg, #e9ecee 0%, #f2f3f4 38%, #fff 62%);
}
.slide--360 .brain {
  position: absolute;
  left: -5%;
  top: 50%;
  width: min(66vw, calc(var(--hero-h) * 1.6));
  max-width: none;
  translate: 0 -50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 92%, transparent 100%);
}
.slide--360 .copy {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  translate: 0 -46%;
  width: min(40%, 560px);
  text-align: right;
}
.badge360 {
  width: clamp(96px, 10vw, 150px);
  margin: 0 0 clamp(18px, 3vh, 36px) auto;
  position: relative;
}
.badge360 svg { width: 100%; height: auto; overflow: visible; }
.badge360 .ring { transform-box: view-box; transform-origin: 48.9% 53.7%; }
.hero h1, .hero .h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.slide--360 .script {
  display: block;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  color: var(--magenta);
  margin-top: 0.08em;
  line-height: 1.12;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vh, 40px);
}
.slide--360 .ctas { justify-content: flex-end; }

/* Slide 2 · Catálogo */
.slide--catalogo { background: radial-gradient(120% 90% at 78% 40%, #fff 30%, #f1f4f2 100%); }
.slide--catalogo .copy {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  translate: 0 -50%;
  width: min(50%, 640px);
}
.slide--catalogo .pre,
.slide--catalogo .post,
.slide--cal .light {
  display: block;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5a5770;
}
.slide--catalogo .pre { font-size: clamp(0.9rem, 1.4vw, 1.25rem); margin-bottom: 0.4em; }
.slide--catalogo .post { font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1.1; margin-top: 0.35em; }
.slide--catalogo .big,
.slide--cal .big {
  display: block;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: #1c1a24;
}
.slide--catalogo .art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56%;
}
.slide--catalogo .leaves {
  position: absolute;
  right: -4%;
  top: -6%;
  width: 100%;
  height: 112%;
}
.slide--catalogo .leaves svg { width: 100%; height: 100%; }
.leaf { transform-box: fill-box; }
.hoja-dcha .leaf { transform-origin: 10% 100%; }
.hoja-izq .leaf { transform-origin: 90% 0%; }
.slide--catalogo .phones {
  position: absolute;
  right: 18%;
  top: 50%;
  width: min(42%, 380px);
  translate: 0 -50%;
  filter: drop-shadow(0 30px 40px rgb(32 23 71 / 0.18));
}
.slide--catalogo.is-active .phones img { animation: float 6s ease-in-out infinite; }
@keyframes float {
  50% { transform: translateY(-12px) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .slide--catalogo.is-active .phones img { animation: none; }
  .js .feature:not(.is-in) .ico { transform: none; }
  .feature .ico { transition: opacity 400ms ease; }
}

/* Slide 3 · Calendarios */
.slide--cal { background: #e7e6e3 url("../img/pared.webp") center 70% / cover no-repeat; }
.slide--cal .copy {
  position: absolute;
  left: var(--gutter);
  top: 44%;
  translate: 0 -50%;
  width: min(48%, 640px);
}
.slide--cal .year {
  display: block;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #1c1a24;
  margin: 0.08em 0 0 2.6em;
}
.slide--cal .light { font-size: clamp(1rem, 1.8vw, 1.6rem); text-align: right; margin: 0.1em 0 0.15em; max-width: 13.2em; }
.slide--cal .products { position: absolute; inset: 0; pointer-events: none; }
.slide--cal .products img { position: absolute; filter: drop-shadow(0 16px 18px rgb(0 0 0 / 0.22)); }
.p-pared { right: 2%; top: 8%; width: 47%; }
.p-mesa { right: 31%; bottom: 7%; width: 30%; }
.p-bolsillo { right: 18%; bottom: 4%; width: 13%; }
.p-agenda { right: 2%; bottom: 3%; width: 17%; }
.slide--cal .script-sign {
  position: absolute;
  left: var(--gutter);
  bottom: 9%;
  color: var(--navy);
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 800;
}
.script-sign .script { display: block; font-size: 1.7em; font-weight: 400; margin-left: 2.6em; line-height: 0.9; color: var(--magenta); }

/* Controles */
.hero-ui {
  position: absolute;
  z-index: 5;
  left: 0; right: 0;
  bottom: clamp(14px, 3vh, 28px);
  pointer-events: none;
}
.hero-ui .wrap {
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.hero-tabs { display: flex; gap: 6px; pointer-events: auto; }
.hero-tab {
  position: relative;
  width: clamp(70px, 11vw, 150px);
  padding: 14px 0 10px;
  background: none;
  border: 0;
  color: var(--navy);
  font: 700 0.68rem/1 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 200ms ease;
}
.hero-tab::before,
.hero-tab i {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: rgb(32 23 71 / 0.18);
}
.hero-tab i { background: var(--magenta); transform: scaleX(0); transform-origin: 0 50%; }
.hero-tab[aria-selected="true"] { opacity: 1; }
.hero-tab[aria-selected="true"] i { animation: tab-progress var(--dur, 7000ms) linear forwards; }
.hero.is-paused .hero-tab[aria-selected="true"] i { animation-play-state: paused; }
.hero.no-autoplay .hero-tab[aria-selected="true"] i { animation: none; transform: scaleX(1); }
@keyframes tab-progress { to { transform: scaleX(1); } }
.hero-tab:active { transform: scale(0.97); }
.hero-tab { transition: opacity 200ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-tab:hover { opacity: 1; }
}

.hero-btn {
  pointer-events: auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.hero-btn svg { width: 16px; height: 16px; }
.hero-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .hero-btn:hover { background: var(--magenta); }
}
.hero-pause .i-play { display: none; }
.hero.is-user-paused .hero-pause .i-play { display: block; }
.hero.is-user-paused .hero-pause .i-pause { display: none; }

@media (max-width: 860px) {
  .hero { height: auto; min-height: 0; }
  .slides { position: relative; display: grid; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; min-height: 600px; }
  .slide-inner { display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 96px; }
  .slide--360 { background: linear-gradient(180deg, #e9ecee 0%, #f6f7f8 52%, #fff 70%); }
  .slide--360 .brain,
  .slide--catalogo .art,
  .slide--cal .products {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    translate: none;
    width: 100%;
  }
  .slide--360 .brain { margin: 0 0 0 -8%; width: 116%; mask-image: radial-gradient(closest-side, #000 62%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); }
  .slide--360 { background: linear-gradient(180deg, #eef0f1 0%, #f5f6f6 50%, #fff 80%); }
  .slide--360 .copy,
  .slide--catalogo .copy,
  .slide--cal .copy {
    position: relative;
    left: auto; right: auto; top: auto;
    translate: none;
    width: 100%;
  }
  .slide--360 .copy { text-align: left; margin-top: -8px; }
  .slide--360 .ctas { justify-content: flex-start; }
  .slide--360 .copy { position: static; }
  .badge360 { position: absolute; right: var(--gutter); top: 20px; margin: 0; width: 84px; }
  .hero-ui .wrap { justify-content: center; }
  .slide--catalogo .copy { padding-top: 36px; }
  .slide--catalogo .art { height: 300px; margin-top: 8px; order: 2; }
  .slide--catalogo .phones { right: 26%; width: 46%; }
  .slide--cal .copy { padding-top: 36px; }
  .slide--cal .products { height: 300px; order: 2; }
  .p-pared { width: 64%; top: 2%; right: 0; }
  .p-mesa { width: 46%; right: 46%; bottom: 4%; }
  .p-bolsillo { width: 20%; right: 24%; }
  .p-agenda { width: 24%; right: 0; }
  .slide--cal .script-sign { display: none; }
  .hero-tab { width: 64px; font-size: 0; }
}

/* ==========================================================================
   Servicios (mosaico)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0; padding: 0;
  background: var(--navy);
}
.service-tile {
  position: relative;
  min-height: clamp(260px, 26vw, 360px);
  overflow: hidden;
  isolation: isolate;
}
.service-tile > a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  color: var(--fg, #fff);
  text-decoration: none;
}
.service-tile .media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.service-tile .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: grayscale(1) contrast(1.12) brightness(var(--bright, 1));
  transition: transform 1200ms var(--ease-expo), filter 600ms ease;
}
.service-tile .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  mix-blend-mode: var(--blend, multiply);
  opacity: 0.95;
  transition: opacity 600ms var(--ease-out);
}
.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 55%, rgb(0 0 0 / var(--shade, 0.28)), transparent 75%);
  pointer-events: none;
}
.service-tile > a { text-shadow: 0 1px 14px rgb(0 0 0 / var(--tshadow, 0.3)); }
.service-tile .btn { text-shadow: none; }
.service-tile h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: transform 500ms var(--ease-expo);
}
.service-tile .sub-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.service-tile p {
  margin: 14px auto 18px;
  max-width: 26ch;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: transform 500ms var(--ease-expo);
}
.service-tile .btn { pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .service-tile:hover .media img { transform: scale(1.0); filter: none; }
  .service-tile:hover .media::after { opacity: 0.3; }
  .service-tile:hover h3,
  .service-tile:hover p { transform: translateY(-4px); }
  .service-tile:hover .btn::before { clip-path: inset(0 0 0 0); }
  .service-tile:hover .btn { color: #fff; }
  .service-tile:hover .btn .arrow { transform: translateX(4px); }
}
.service-tile > a:active .btn { transform: scale(0.97); }

.js .service-tile[data-reveal] .media img { transform: scale(1.22); }
.js .service-tile.is-in .media img { transform: scale(1.06); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 240px; }
}

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */

.section { padding-block: clamp(36px, 5vw, 65px); }
.section--tight { padding-block: clamp(28px, 3.5vw, 45px); }
.section--mist { background: var(--mist); }

.title-tracked {
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--magenta-ink);
  line-height: 1.2;
  margin-right: -0.32em;
}
.title-sub {
  display: block;
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--navy);
  margin-top: 10px;
}
.title-sub .script { color: var(--magenta); letter-spacing: 0.16em; font-size: 1.25em; }

/* Bloque "buenas impresiones / clientes agradecidos" */
.clients-title {
  position: relative;
  text-align: center;
  padding-block: 1.5em 0.9em;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.clients-title .main {
  display: block;
  font-weight: 800;
  font-size: clamp(1.25rem, 3.4vw, 2.7rem);
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  color: #2a2a35;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.clients-title .script {
  position: absolute;
  left: 50%;
  color: var(--magenta);
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 1;
  white-space: nowrap;
}
.clients-title .s1 { top: -0.3em; translate: -82% 0; }
.clients-title .s2 { bottom: -0.55em; translate: -54% 0; }

.marquee {
  --gap: clamp(14px, 2vw, 26px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee var(--speed, 40s) linear infinite;
}
.marquee.is-offscreen .marquee-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

.client-slot {
  flex: none;
  width: clamp(96px, 10vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #57566a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.25);
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .client-slot:hover { transform: scale(1.06); background: var(--magenta-ink); }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: clamp(28px, 4vw, 44px) 0 clamp(24px, 3vw, 36px);
}
.chip {
  border: 0;
  background: var(--mist);
  color: var(--navy);
  padding: 10px 16px;
  font: 600 0.74rem/1 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .chip:not([aria-pressed="true"]):hover { background: #e6e3f2; }
}

.pf-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 20vw, 290px);
  grid-auto-flow: dense;
  gap: 4px;
}
.pf-item { position: relative; overflow: hidden; }
.pf-item.is-wide { grid-column: span 2; }
.pf-item[hidden] { display: none; }
.pf-item button {
  all: unset;
  position: absolute;
  inset: 0;
  background: var(--mist);
  cursor: zoom-in;
}
.pf-item button:focus-visible { outline: 3px solid var(--magenta); outline-offset: -3px; }
.pf-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-expo), filter 400ms ease;
}
.pf-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgb(21 15 51 / 0.82));
  transform: translateY(100%);
  transition: transform 380ms var(--ease-expo);
}
.pf-item .cap svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .pf-item:hover img { transform: scale(1.05); }
  .pf-item:hover .cap { transform: none; }
}
@media (hover: none) {
  .pf-item .cap { transform: none; }
}
.pf-item:focus-within .cap { transform: none; }

@media (max-width: 760px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox .scrim {
  position: absolute;
  inset: 0;
  background: rgb(21 15 51 / 0.92);
  opacity: 0;
  transition: opacity 300ms ease;
}
.lightbox.is-open .scrim { opacity: 1; }
.lightbox figure {
  position: relative;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100% - 50px);
  object-fit: contain;
  pointer-events: auto;
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.6);
}
.lightbox figcaption {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 240ms ease 120ms;
}
.lightbox.is-open figcaption { opacity: 1; }
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease, transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.lightbox.is-open .lb-btn { opacity: 1; }
.lb-btn svg { width: 18px; height: 18px; }
.lb-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .lb-btn:hover { background: var(--magenta); color: #fff; }
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -24px; }
.lb-next { right: 20px; top: 50%; margin-top: -24px; }

/* ==========================================================================
   Páginas de servicio
   ========================================================================== */

.svc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(460px, 62vh, 620px);
  background: var(--tint);
  color: var(--fg, #fff);
  overflow: hidden;
}
.svc-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: clamp(18px, 4.5vw, 64px);
  background: rgb(0 0 0 / 0.14);
}
.svc-hero .panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(24px, 6vw, 96px) 64px clamp(48px, 9vw, 140px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .crumbs a:hover { text-decoration: underline; }
}
.svc-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.98;
}
.svc-hero .sub-title {
  display: block;
  margin-top: 12px;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.svc-hero .lead {
  margin: clamp(28px, 5vh, 48px) 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.svc-hero .lead strong { font-weight: 700; }
.svc-hero .media { position: relative; overflow: hidden; }
.svc-hero .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.js .svc-hero .media img { transform: scale(1.12); transition: transform 1600ms var(--ease-expo), clip-path 1100ms var(--ease-expo); }
.js .svc-hero .media.is-in img { transform: none; }

@media (max-width: 860px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero .media { min-height: 300px; order: -1; }
  .svc-hero .panel { padding: 44px var(--gutter) 52px calc(var(--gutter) + 22px); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split .photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split .photo.is-cutout { background: radial-gradient(70% 70% at 50% 50%, #fff, var(--mist)); }
.split .photo.is-cutout img { object-fit: contain; padding: 10%; }
.split h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #1c1a24;
  margin-bottom: 0.6em;
}
.split p { color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .photo { aspect-ratio: 4 / 3; }
}

/* Iconos de acabados */
.features {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 170px));
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  text-align: center;
}
.feature .ring {
  position: relative;
  width: clamp(96px, 10vw, 128px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}
.feature .ring > svg.arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-200deg);
  overflow: visible;
}
.feature .arc circle {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 2;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 1200ms var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .feature:not(.is-in) .arc circle { stroke-dashoffset: 100; }
.feature .ico {
  width: 48%;
  height: 48%;
  color: var(--navy);
  transition: transform 700ms var(--ease-expo), opacity 500ms ease;
  transition-delay: calc(200ms + var(--i, 0) * 110ms);
}
.feature .ico svg,
.feature .ico img { width: 100%; height: 100%; }
.js .feature:not(.is-in) .ico { transform: scale(0.82) rotate(-8deg); opacity: 0; }
.feature span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--magenta-ink);
  line-height: 1.3;
}
.feature span b { font-weight: 800; display: block; }
@media (hover: hover) and (pointer: fine) {
  .feature:hover .arc circle { stroke-dashoffset: 0; transition-duration: 600ms; transition-delay: 0ms; }
  .feature:hover .ico { transform: scale(1.06); transition-delay: 0ms; transition-duration: 400ms; }
}
@media (max-width: 680px) {
  .features { grid-template-columns: repeat(2, minmax(0, 160px)); }
}

.center-cta { text-align: center; margin-top: clamp(24px, 3vw, 36px); }

/* Otros servicios */
.others {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.others .service-tile { min-height: 220px; }
.others .service-tile p { display: none; }
.others .service-tile h3 { font-size: 0.95rem; }
@media (max-width: 960px) {
  .others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .others { grid-template-columns: 1fr 1fr; }
  .others .service-tile { min-height: 170px; }
}

/* ==========================================================================
   Conócenos
   ========================================================================== */

.about-hero {
  position: relative;
  min-height: clamp(480px, 70vh, 680px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-3);
}
.about-hero .bg { position: absolute; inset: 0; }
.about-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.about-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(21 15 51 / 0.88) 0%, rgb(21 15 51 / 0.55) 45%, rgb(21 15 51 / 0.05) 80%);
}
.js .about-hero .bg img { transform: scale(1.1); transition: transform 2200ms var(--ease-expo); }
.js .about-hero .bg.is-in img { transform: none; }
.about-hero .wrap { position: relative; }
.about-hero h1 {
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: lowercase;
}
.about-hero .tag {
  margin-top: 0.8em;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 30ch;
}
.about-hero .tag strong { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; display: block; font-size: 0.8em; margin-bottom: 0.4em; }

.colorbar {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.colorbar li { position: relative; padding-top: 30px; }
.colorbar li::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 14px;
  background: var(--ink-c);
  transform-origin: 0 50%;
  transition: transform 1100ms var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.js .colorbar li:not(.is-in)::before { transform: scaleX(0); }
.colorbar li::after {
  content: attr(data-ink);
  position: absolute;
  right: 0; top: 20px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.colorbar h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.7em; color: #1c1a24; }
.colorbar p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .colorbar { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 520px) {
  .colorbar { grid-template-columns: 1fr; }
}

.section-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 900;
  color: var(--magenta-ink);
  letter-spacing: -0.01em;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  text-align: center;
}
.pillars .ico { width: clamp(70px, 8vw, 100px); height: clamp(70px, 8vw, 100px); margin: 0 auto 18px; }
.pillars .ico img { width: 100%; height: 100%; object-fit: contain; }
.pillars h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #1c1a24; }
.pillars p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.5em; max-width: 30ch; margin-inline: auto; }
.js .pillars li.is-in .ico { animation: var(--act) 900ms var(--ease-expo) both; animation-delay: calc(200ms + var(--i, 0) * 120ms); }
@keyframes act-mega {
  0% { transform: rotate(-14deg) scale(0.9); opacity: 0; }
  35% { transform: rotate(8deg) scale(1.04); opacity: 1; }
  60% { transform: rotate(-4deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes act-target {
  0% { transform: scale(0.7); opacity: 0; }
  55% { transform: scale(1.08); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes act-rocket {
  0% { transform: translate(-26px, 26px) scale(0.9); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .pillars li.is-in .ico { animation: none; }
}
@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }
}

.cta-band { text-align: center; }
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--magenta-ink);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 0.6em;
}

/* ==========================================================================
   Presentación y preguntas frecuentes (portada)
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.intro h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: #1c1a24;
}
.intro h2 span { display: block; color: var(--magenta-ink); }
.intro-copy p { color: var(--ink-soft); max-width: 64ch; }
.intro-copy .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink); line-height: 1.55; }
.intro-copy a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--magenta);
  text-decoration-thickness: 2px;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .intro-copy a:hover { color: var(--magenta-ink); }
}
.colorbar--steps { margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
}

:root { interpolate-size: allow-keywords; }
.faq {
  max-width: 880px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  background: var(--paper);
  padding: 4px clamp(18px, 3vw, 36px);
  box-shadow: 0 18px 40px -28px rgb(32 23 71 / 0.35);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  font-weight: 700;
  color: #1c1a24;
  transition: color 200ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: var(--magenta);
  transition: transform 260ms var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--magenta-ink); }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--magenta-ink); }
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq .answer p { margin: 0 0 20px; color: var(--ink-soft); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content { transition: none; }
}

/* ==========================================================================
   Contacto + pie
   ========================================================================== */

.contact-zone { position: relative; margin-top: clamp(30px, 4vw, 55px); }
.contact-zone .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.contact-card {
  grid-column: 2;
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
  background: var(--magenta-ink);
  color: #fff;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 60px -24px rgb(32 23 71 / 0.5);
}
.contact-card h2 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.contact-pitch {
  grid-column: 1;
  align-self: center;
  padding-bottom: 150px;
}
.contact-pitch h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: #1c1a24;
}
.contact-pitch h2 .script { display: block; color: var(--magenta); font-weight: 400; font-size: 1.15em; letter-spacing: 0.14em; margin-top: 0.15em; }
.contact-pitch p { margin-top: 1.2em; color: var(--ink-soft); max-width: 42ch; }
.contact-pitch .quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.field { position: relative; display: block; margin-bottom: 10px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid rgb(255 255 255 / 0.85);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 500 0.92rem/1.3 var(--font);
  padding: 12px 12px;
  caret-color: #fff;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; padding-right: 32px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #fff; font-style: italic; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: #fff; background: rgb(255 255 255 / 0.1); }
.field .bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 320ms var(--ease-expo);
  pointer-events: none;
}
.field:focus-within .bar { transform: scaleX(1); }
.field .err {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
  min-height: 0;
  color: #fff;
}
.field.has-error input,
.field.has-error textarea { border-color: var(--y); }
.field.has-error .err::before { content: "! "; color: var(--y); }
.field.has-error { animation: nudge 300ms var(--ease-out); }
@keyframes nudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 6px 0 16px;
}
.consent input { accent-color: var(--navy); width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.consent a { font-weight: 700; }
.consent.has-error { color: #fff; }
.consent.has-error input { outline: 2px solid var(--y); outline-offset: 2px; }

.send {
  position: relative;
  min-width: 150px;
  justify-content: center;
}
.send .label { transition: opacity 200ms ease, filter 200ms ease, transform 260ms var(--ease-out); }
.send.is-busy .label { opacity: 0.6; filter: blur(2px); }
.form-status {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 1.3em;
}
.form-done {
  text-align: center;
  padding: 40px 0 28px;
}
.form-done h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4em; }
.form-done .check { width: 64px; height: 64px; margin: 0 auto 16px; }
.form-done .check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 700ms var(--ease-expo) 150ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.site-footer {
  background: var(--navy);
  color: #fff;
  padding-top: 64px;
  position: relative;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 40px;
}
.footer-info { font-size: 0.86rem; line-height: 1.6; }
.footer-info .logo { width: 170px; margin-bottom: 20px; }
.footer-info address { font-style: normal; }
.footer-info a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-info a:hover { text-decoration: underline; }
}
.footer-info .row { display: flex; align-items: center; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.footer-info .social a { background: #fff; color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .footer-info .social a:hover { background: var(--magenta); color: #fff; }
}
.footer-sign {
  align-self: end;
  text-align: right;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  color: var(--magenta);
  line-height: 1.05;
  padding-top: 140px;
}
.footer-sign small { display: block; font: 800 clamp(1rem, 1.6vw, 1.5rem)/1 var(--font); letter-spacing: 0.02em; color: #fff; margin-bottom: 0.25em; }
.footer-bottom {
  border-top: 2px solid var(--magenta);
  padding: 16px 0 26px;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.footer-bottom ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px clamp(18px, 4vw, 48px);
  font-size: 0.72rem;
  font-weight: 500;
}
.footer-bottom a { text-decoration: none; color: #d7d3ef; }
@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover { color: #fff; text-decoration: underline; }
}

@media (max-width: 860px) {
  .contact-zone .wrap { grid-template-columns: 1fr; }
  .contact-card { grid-column: 1; margin-bottom: -80px; }
  .contact-pitch { padding-bottom: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; padding-top: 60px; }
  .footer-sign { text-align: left; padding-top: 0; }
}

/* ==========================================================================
   Legal
   ========================================================================== */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.8em; }
.legal h2 { font-size: 1.3rem; font-weight: 800; margin: 2em 0 0.6em; color: var(--magenta-ink); }
.legal .pending { background: var(--mist); padding: 16px 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* ==========================================================================
   Transiciones entre páginas
   ========================================================================== */

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 220ms ease both vt-out; }
  ::view-transition-new(root) { animation: 420ms var(--ease-expo) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
