/* NexaPrint GT — estilos del sitio público
   Paleta tomada del logo (CMYK): cian, magenta, amarillo y negro. */
:root {
  --ink: #101216;
  --ink-2: #2a2e36;
  --muted: #5d6470;
  --line: #e6e4de;
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --white: #fff;
  --c: #009fe3;
  --c-dark: #0077b6;
  --m: #e5007e;
  --y: #ffd200;
  --k: #1d1d1b;
  --grad: linear-gradient(100deg, var(--c) 0%, var(--m) 60%, var(--y) 100%);
  --grad-btn: linear-gradient(100deg, #0069a3 0%, #8f2a9e 55%, #b0005f 100%); /* texto blanco ≥ 4.5:1 en todo el tramo */
  --wa: #11843a; /* blanco 4.79:1 */
  --wa-dark: #0d6e30;
  --field-line: #8f8b82;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 18, 22, .06), 0 8px 24px -8px rgba(16, 18, 22, .14);
  --shadow-lg: 0 2px 4px rgba(16, 18, 22, .06), 0 24px 48px -16px rgba(16, 18, 22, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--y); color: var(--ink); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Barra de progreso de lectura ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--font-display); letter-spacing: .01em; text-decoration: none;
  color: var(--fg); background: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  box-shadow: 0 6px 18px -8px rgba(16, 18, 22, .5);
}
.btn::before { /* barrido CMYK al pasar el mouse */
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-btn);
  transform: translateX(-101%); transition: transform .55s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(229, 0, 126, .45); }
.btn:hover::before { transform: translateX(0); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost::before { background: var(--ink); transform: translateY(101%); }
.btn--ghost:hover { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 2px var(--ink), 0 14px 30px -12px rgba(16, 18, 22, .4); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--wa { --bg: var(--wa); }
.btn--wa::before { background: linear-gradient(100deg, var(--wa-dark), #0b5c28); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn svg { width: 20px; height: 20px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; font-family: var(--font-display); font-size: 15px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: height .35s var(--ease);
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: rgba(251, 250, 247, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled {
  --header-h: 64px; height: 64px;
}
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 38px; width: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__word { font: 800 22px/1 var(--font-display); letter-spacing: -.03em; color: var(--k); }
.brand__word b { color: var(--c); font-weight: 800; }
.brand__word small { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 4px; letter-spacing: .05em; }
.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 8px 12px; text-decoration: none; font: 600 15px/1 var(--font-display); color: var(--ink-2); border-radius: 8px;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .header .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: rgba(251, 250, 247, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a { font-size: 26px; padding: 12px 18px; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; } .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .15s; } .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  .menu-open .nav a:nth-child(6) { transition-delay: .25s; }
  .nav .nav__cta { display: inline-flex; margin-top: 12px; }
}
@media (min-width: 901px) { .nav .nav__cta { display: none; } }

/* ---------- Elementos de imprenta: marcas de corte, barra de color, semitono ---------- */
.crop { position: relative; }
.crop::before, .crop::after, .crop > .crop__b::before, .crop > .crop__b::after {
  content: ''; position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2;
  border: 0 solid var(--ink); opacity: .55;
}
.crop::before { top: -12px; left: -12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop::after { top: -12px; right: -12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop > .crop__b::before { bottom: -12px; left: -12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop > .crop__b::after { bottom: -12px; right: -12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.colorbar { display: flex; height: 6px; }
.colorbar i { flex: 1; }
.colorbar i:nth-child(1) { background: var(--c); } .colorbar i:nth-child(2) { background: var(--m); }
.colorbar i:nth-child(3) { background: var(--y); } .colorbar i:nth-child(4) { background: var(--k); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--c); } .dots i:nth-child(2) { background: var(--m); }
.dots i:nth-child(3) { background: var(--y); } .dots i:nth-child(4) { background: var(--k); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 18.5px; }
.hl { position: relative; white-space: nowrap; color: var(--ink); }
.hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .2em; z-index: -1; border-radius: 4px;
  background: var(--grad); opacity: .85; transform: scaleX(0); transform-origin: left; animation: hl 1.1s .5s var(--ease) forwards;
}
@keyframes hl { to { transform: scaleX(1); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 80px; overflow: hidden; isolation: isolate; }
.hero::before { /* trama de semitono */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(16, 18, 22, .13) 1.2px, transparent 1.3px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 70%);
}
.hero__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .35; animation: float 14s ease-in-out infinite; }
.hero__blob--c { width: 420px; height: 420px; background: var(--c); top: -80px; right: 8%; }
.hero__blob--m { width: 320px; height: 320px; background: var(--m); bottom: -60px; right: 30%; animation-delay: -5s; opacity: .22; }
.hero__blob--y { width: 260px; height: 260px; background: var(--y); top: 30%; right: -60px; animation-delay: -9s; opacity: .35; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.06); } 66% { transform: translate(-20px, 25px) scale(.95); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__sub { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font: 600 14px/1.3 var(--font-display); color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--c); }
.hero__art { position: relative; aspect-ratio: 4 / 4.4; }
.hero__main { position: absolute; inset: 0 8% 8% 0; }
.hero__main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__card {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg);
  will-change: transform; transition: box-shadow .3s;
}
.hero__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.hero__card span { display: block; font: 700 13px/1.2 var(--font-display); padding: 8px 4px 2px; }
.hero__card--a { width: 38%; right: 0; bottom: 0; }
.hero__card--b { width: 30%; left: -6%; top: 46%; }
.hero__badge {
  position: absolute; top: 6%; right: 2%; z-index: 3; display: grid; place-items: center; text-align: center;
  width: 112px; height: 112px; border-radius: 50%; background: var(--y); color: var(--ink);
  font: 800 13px/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .04em; box-shadow: var(--shadow);
  animation: spin-wobble 6s ease-in-out infinite;
}
@keyframes spin-wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg) scale(1.04); } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- Cinta de productos ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 700 clamp(20px, 2.4vw, 28px)/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.marquee__item i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: 0 0 0 1px transparent, var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after { /* brillo que cruza la imagen */
  content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .9s var(--ease);
}
.card:hover .card__media::after { transform: translateX(100%); }
.card__go {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: var(--shadow); transform: scale(.6) rotate(-45deg); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s, background .3s, color .3s;
}
.card:hover .card__go { transform: scale(1) rotate(0); opacity: 1; background: var(--ink); color: #fff; }
.card__go svg { width: 20px; height: 20px; }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 21px; margin: 0; }
.card__body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--y); color: var(--ink); font: 700 11.5px/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; }
.card__bar { height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover .card__bar { transform: scaleX(1); }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; white-space: nowrap; font: 800 clamp(30px, 4.6vw, 58px)/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(2) strong { background: linear-gradient(100deg, var(--m), var(--y)); -webkit-background-clip: text; background-clip: text; }
.stat:nth-child(3) strong { background: linear-gradient(100deg, var(--k), var(--c)); -webkit-background-clip: text; background-clip: text; }
.stat span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.about__stamp { position: absolute; right: -18px; bottom: 28px; background: var(--ink); color: #fff; padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); font: 700 15px/1.3 var(--font-display); max-width: 220px; }
.about__stamp .dots { margin-bottom: 10px; }
.about__text h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.about__text p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15.5px; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(0, 159, 227, .12); color: var(--c-dark); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__stamp { right: 12px; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.steps__line { position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in .steps__line { transform: scaleX(1); }
.step { position: relative; padding: 0 6px; }
.step__n {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); font: 800 22px/1 var(--font-display);
  transition: transform .45s var(--ease), background .3s, color .3s;
}
.step:hover .step__n { transform: translateY(-6px) rotate(-6deg); background: var(--ink); color: #fff; }
.step:nth-child(2) .step__n { color: var(--c-dark); } .step:nth-child(3) .step__n { color: var(--m); } .step:nth-child(4) .step__n { color: #8a6a00; }
.step:hover .step__n { color: #fff; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 22px; } .steps::before, .steps__line { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Galería destacada (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento a { position: relative; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: var(--paper-2); }
.bento a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento a:nth-child(4) { grid-column: span 2; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento a:hover img { transform: scale(1.07); }
.bento span {
  position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 12px 16px; border-radius: 12px; color: #fff;
  background: rgba(16, 18, 22, .72); backdrop-filter: blur(6px); font: 700 15px/1.2 var(--font-display);
  display: flex; justify-content: space-between; align-items: center; transform: translateY(calc(100% + 20px)); transition: transform .5s var(--ease);
}
.bento a:hover span, .bento a:focus-visible span { transform: none; }
@media (hover: none) { .bento span { transform: none; } }
@media (max-width: 800px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .bento a:nth-child(4) { grid-column: span 1; } }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font: 700 18px/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); color: #fff; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover i { background: var(--y); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a p { margin: 0; }

/* ---------- Llamado a la acción ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--ink); color: #fff; padding: clamp(44px, 7vw, 84px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px); background-size: 20px 20px; }
.cta__glow { position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; filter: blur(80px); opacity: .55; }
.cta__glow--c { background: var(--c); top: -160px; left: -80px; }
.cta__glow--m { background: var(--m); bottom: -180px; right: 10%; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .75); font-size: 18.5px; margin: 0; }
.cta__btns { display: flex; flex-direction: column; gap: 12px; }
.cta .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); color: #fff; }
.cta .btn--ghost::before { background: #fff; }
.cta .btn--ghost:hover { color: var(--ink); }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.contact a, .contact div.contact__item {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px; background: #fff; border-radius: var(--radius); text-decoration: none;
  box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact a:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.contact__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.contact__ic svg { width: 22px; height: 22px; }
.contact small { display: block; color: var(--muted); font: 600 12.5px/1.4 var(--font-display); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.contact strong { display: block; font: 700 16px/1.35 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }

/* ---------- Pie de página ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: clamp(72px, 10vw, 128px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 52px; }
.footer .brand__word { color: #fff; }
.footer__title { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer__links a { position: relative; }
.footer__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer__links a:hover::after { transform: scaleX(1); }
.footer__about p { margin: 18px 0 22px; max-width: 360px; font-size: 15.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .3s, transform .35s var(--ease); }
.socials a:hover { background: var(--m); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer__bottom button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Botones flotantes ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(17, 132, 58, .55);
  transition: transform .4s var(--ease), bottom .45s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float__tip {
  position: absolute; right: 74px; top: 50%; translate: 0 -50%; white-space: nowrap; background: var(--ink); color: #fff;
  font: 600 14px/1 var(--font-display); padding: 10px 14px; border-radius: 10px; opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 31px; bottom: 98px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background .3s, color .3s;
}
.to-top { visibility: hidden; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; left: 22px; bottom: 22px; z-index: 45; max-width: 420px; background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); transform: translateY(140%);
  visibility: hidden; transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.cookies.is-on { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.cookies__title { font: 700 17px/1.2 var(--font-display); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.cookies p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.cookies__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 520px) { .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- Páginas internas ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 56px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(16, 18, 22, .1) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 14px/1 var(--font-display); color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* Detalle de producto */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: opacity .3s, transform .6s var(--ease); }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumbs button { width: 84px; height: 84px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 0 0 1px var(--line); opacity: .6; transition: opacity .3s, box-shadow .3s, transform .3s var(--ease); }
.gallery__thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.gallery__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--c); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { position: sticky; top: calc(var(--header-h) + 24px); }
.product__info h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.product__info .lead { font-size: 19px; color: var(--muted); }
.specs { margin: 28px 0 32px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.specs div:first-child { border-top: 0; }
.specs dt { font: 700 13px/1.6 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.product__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; display: flex; gap: 8px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } .specs div { grid-template-columns: 1fr; gap: 2px; } }

.lightbox { border: 0; padding: 24px; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; place-items: center; }
.lightbox[open] { display: grid; animation: lb-in .3s var(--ease); }
.lightbox::backdrop { background: rgba(10, 11, 14, .92); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: 12px; }
.lightbox form { margin: 0; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 24px; line-height: 1; }

/* Formulario */
.form-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 700 14px/1.2 var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--field-line); border-radius: 12px; padding: 14px 16px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6f6b63; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c); background: #fff; box-shadow: 0 0 0 4px rgba(0, 159, 227, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 24px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; font-weight: 500; }
.alert--error { background: #fdecef; color: #9b1239; }
.alert--ok { background: #e8f8ee; color: #136c34; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.aside-card { background: var(--ink); color: rgba(255, 255, 255, .8); border-radius: 24px; padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; isolation: isolate; }
.aside-card::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--m); filter: blur(80px); opacity: .45; right: -100px; bottom: -100px; z-index: -1; }
.aside-card h3, .aside-card__title { color: #fff; font-size: 24px; }
.aside-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; }
.aside-card li svg { flex: none; width: 22px; height: 22px; color: var(--y); }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .aside-card { position: static; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Páginas legales */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14.5px; }
.legal__toc-title { font-family: var(--font-display); font-weight: 700; margin: 0 0 .6em; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal__toc a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); transition: color .2s, border-color .2s; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); border-left-color: var(--m); }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-size: 26px; margin: 2.2em 0 .6em; padding-top: .4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--c-dark); text-underline-offset: 3px; }
.prose code { font-size: .9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.legal__meta { font-size: 14px; color: var(--muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }

.empty-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 40px; }
.empty-404 strong { display: block; font: 800 clamp(96px, 18vw, 200px)/1 var(--font-display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"] { transform: scale(.92); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .split-words .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 60ms + .1s); }
.js .split-words.is-in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split-words .w { opacity: 1; transform: none; filter: none; }
  .marquee__track { animation: none; }
}

/* ---------- Ajustes ---------- */
.cookies__title svg { width: 22px; height: 22px; flex: none; color: var(--m); }
.hero__card { text-decoration: none; color: var(--ink); }
.hero__card:hover { box-shadow: 0 30px 60px -20px rgba(16, 18, 22, .4); }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.grid > .card--cta { grid-column: span 2; }
@media (max-width: 680px) { .grid > .card--cta { grid-column: auto; } }
.card--cta {
  justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 48px); color: #fff; isolation: isolate;
  background: var(--ink); box-shadow: none; min-height: 280px;
}
.card--cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px); background-size: 20px 20px; }
.card--cta::after { content: ''; position: absolute; z-index: -1; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: var(--c); filter: blur(80px); opacity: .5; transition: transform .8s var(--ease), background .8s; }
.card--cta:hover::after { transform: translate(-60px, 60px) scale(1.2); background: var(--m); }
.card--cta h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 0; }
.card--cta p { color: rgba(255, 255, 255, .75); margin: 0; max-width: 460px; }
.card--cta .btn { align-self: flex-start; margin-top: 8px; }
.card--cta:hover .btn::before { transform: translateX(0); }
.card--cta:hover .btn { color: #fff; }
.bento a:nth-child(5), .bento a:nth-child(6) { grid-column: span 2; }
@media (max-width: 800px) { .bento a:nth-child(5), .bento a:nth-child(6) { grid-column: span 1; } }

/* ---------- Galería destacada: mosaico uniforme y ícono con tamaño ---------- */
.bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 20px; }
.bento a, .bento a:nth-child(1), .bento a:nth-child(4), .bento a:nth-child(5), .bento a:nth-child(6) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.bento span svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.bento a:hover span svg { transform: translateX(4px); }
@media (max-width: 800px) { .bento { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Fondo de la sección Catálogo ---------- */
.section--catalog { background: linear-gradient(180deg, #eef7fc 0%, #f6f1f8 55%, var(--paper) 100%); overflow: hidden; isolation: isolate; }
.section--catalog::before { /* trama de semitono */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(16, 18, 22, .10) 1.2px, transparent 1.3px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.section--catalog::after { /* manchas de color CMYK */
  content: ''; position: absolute; z-index: -1; inset: -10% -10% auto auto; width: 60%; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 159, 227, .22), transparent 70%) 0 0 / 60% 100% no-repeat,
              radial-gradient(closest-side, rgba(229, 0, 126, .14), transparent 70%) 100% 40% / 55% 90% no-repeat,
              radial-gradient(closest-side, rgba(255, 210, 0, .20), transparent 70%) 60% 100% / 45% 70% no-repeat;
}
.section--catalog .card { box-shadow: 0 1px 2px rgba(16, 18, 22, .05), 0 10px 30px -18px rgba(16, 18, 22, .25); }

/* ---------- Fondos decorativos de sección ---------- */
.section--warm, .section--cool { overflow: hidden; isolation: isolate; }
.section--warm { background: linear-gradient(180deg, var(--paper) 0%, #fdf7e6 45%, #fcf0f6 100%); }
.section--cool { background: linear-gradient(180deg, var(--paper) 0%, #edf6fc 55%, var(--paper) 100%); }
.section--warm::before, .section--cool::before { /* trama de semitono que se desvanece */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(16, 18, 22, .09) 1.2px, transparent 1.3px); background-size: 22px 22px;
}
.section--warm::before { mask-image: radial-gradient(ellipse 55% 60% at 100% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 55% 60% at 100% 40%, #000 10%, transparent 70%); }
.section--cool::before { mask-image: radial-gradient(ellipse 50% 60% at 0% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 0% 30%, #000 10%, transparent 70%); }
.section--warm::after, .section--cool::after { /* manchas de tinta */
  content: ''; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px);
}
.section--warm::after { width: 520px; height: 520px; right: -140px; top: 18%; background: radial-gradient(circle at 35% 35%, rgba(255, 210, 0, .55), rgba(229, 0, 126, .28) 60%, transparent 72%); }
.section--cool::after { width: 560px; height: 460px; left: -180px; top: 10%; background: radial-gradient(circle at 60% 40%, rgba(0, 159, 227, .38), rgba(229, 0, 126, .14) 60%, transparent 72%); }

/* Encabezados de páginas internas: degradado + manchas suaves */
.page-hero { background: linear-gradient(180deg, #eef7fc 0%, #f7f2f9 60%, var(--paper) 100%); }
.page-hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; width: 560px; height: 420px; right: -120px; top: -60px; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle at 40% 40%, rgba(0, 159, 227, .35), rgba(229, 0, 126, .2) 55%, rgba(255, 210, 0, .18) 70%, transparent 75%);
}
@media (max-width: 700px) { .section--warm::after, .section--cool::after, .page-hero::after { opacity: .6; } }


/* ---------- Auditoría 2026-11-27: accesibilidad y móvil ---------- */
/* 10) Si site.js no carga, se muestra todo sin animación */
.no-anim [data-reveal], .no-anim .split-words .w { opacity: 1 !important; transform: none !important; filter: none !important; }

/* 13) Cinta: pausa con hover, foco o botón */
.marquee { position: relative; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__toggle {
  position: absolute; right: 14px; top: 50%; translate: 0 -50%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; transition: background .25s;
}
.marquee__toggle:hover { background: rgba(255, 255, 255, .28); }
.marquee__pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.marquee.is-paused .marquee__pause { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* 17) Título del hero visible desde el primer pintado (mejor LCP) */
.hero__title { animation: hero-title .9s var(--ease) both; }
@keyframes hero-title { from { transform: translateY(14px); } }

/* 16) Errores por campo en el formulario */
.field__err { color: #9b1239; font-size: 14px; font-weight: 600; }
.field__err--check { display: block; margin: -16px 0 20px 32px; }
.field [aria-invalid="true"] { border-color: #c81e4a; }
.check input[aria-invalid="true"] { outline: 2px solid #c81e4a; outline-offset: 2px; }

/* 2) y 3) Botones flotantes y aviso de cookies en móvil */
.to-top { transition: opacity .3s, transform .4s var(--ease), background .3s, color .3s, bottom .45s var(--ease), visibility 0s; }
body.cookies-on .wa-float { bottom: calc(var(--cookie-h, 0px) + 34px); }
body.cookies-on .to-top { bottom: calc(var(--cookie-h, 0px) + 110px); }
@media (max-width: 700px) {
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float__tip { display: none; }
  .to-top { right: 21px; bottom: 82px; }
  body.cookies-on .wa-float { bottom: calc(var(--cookie-h, 0px) + 26px); }
  body.cookies-on .to-top { bottom: calc(var(--cookie-h, 0px) + 92px); }
  .footer__bottom { padding-bottom: 96px; }
  .product__ctas { padding-right: 64px; }
}
@media (max-width: 520px) {
  .cookies { padding: 14px 16px; border-radius: 14px; }
  .cookies__title { font-size: 15px; margin-bottom: 2px; }
  .cookies__title svg { width: 18px; height: 18px; }
  .cookies p { font-size: 13px; margin-bottom: 10px; line-height: 1.45; }
  .cookies .btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
}

/* 7) Tarjetas flotantes del hero dentro de la pantalla en móvil */
@media (max-width: 600px) {
  .hero__card--b { left: 0; }
  .hero__main { inset: 0 6% 8% 4%; }
}

/* Galería: miniaturas siempre recortadas */
.gallery__thumbs img { object-fit: cover; }

/* ---------- Espacio antes del pie: un solo margen, no la suma de dos ---------- */
.footer { margin-top: 0; }
#contenido > :last-child { padding-bottom: clamp(56px, 7vw, 88px); }
#contenido > .section:last-child { padding-bottom: clamp(56px, 7vw, 88px); }


/* ---------- Franja de promoción (se activa desde el panel) ---------- */
.promo { height: 36px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: linear-gradient(100deg, #0a6fa8, #a3166a); color: #fff; font: 600 14px/1.2 var(--font-display); text-align: center; overflow: hidden; }
.promo a { color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header:has(.promo) { height: calc(var(--header-h) + 36px); }
.header:has(.promo) > .wrap { height: var(--header-h); }
body:has(.promo) .hero, body:has(.promo) .page-hero { padding-top: calc(var(--header-h) + 36px + 56px); }
html:has(.promo) { scroll-padding-top: calc(var(--header-h) + 48px); }
@media (max-width: 520px) { .promo { font-size: 13px; } }

.footer__right { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.footer__credit { color: rgba(255, 255, 255, .6); }
.footer__credit strong { color: #fff; font-weight: 600; background: linear-gradient(100deg, #39b6f0, #f04fa6); -webkit-background-clip: text; background-clip: text; color: transparent; }
