/* =====================================================================
   LA VIDA EN 2 MALETAS — sistema de diseño
   Paleta: crema + coral + pasteles (menta, rosa, mantequilla, cielo, lila)
   ===================================================================== */
:root {
  --cream: #fbf6ee;
  --paper: #ffffff;
  --ink: #16353b;
  --ink-2: #244b52;
  --muted: #5d7478;
  --line: rgba(22, 53, 59, 0.1);

  --coral: #f2704e;
  --coral-d: #dc5735;
  --mint: #bfeadd;
  --mint-s: #e6f7f1;
  --pink: #fbd0cd;
  --pink-s: #fdecea;
  --butter: #fce49c;
  --butter-s: #fff6d8;
  --sky: #c6e3f8;
  --sky-s: #e9f5fd;
  --lilac: #ddd4f8;
  --lilac-s: #f2eefd;

  --f-head: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --r-s: 14px;
  --r: 24px;
  --r-l: 36px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 1px 2px rgba(22, 53, 59, 0.05), 0 12px 32px -12px rgba(22, 53, 59, 0.18);
  --shadow-l: 0 2px 4px rgba(22, 53, 59, 0.06), 0 30px 60px -20px rgba(22, 53, 59, 0.3);
  --p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-d);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.h-xl { font-size: clamp(44px, 8.2vw, 124px); }
.h-l { font-size: clamp(34px, 5.2vw, 72px); }
.h-m { font-size: clamp(26px, 3.2vw, 44px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 56ch; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 14px; }

.bg-mint { background: var(--mint-s); } .bg-pink { background: var(--pink-s); } .bg-butter { background: var(--butter-s); }
.bg-sky { background: var(--sky-s); } .bg-lilac { background: var(--lilac-s); } .bg-paper { background: var(--paper); }
.c-mint { --c: var(--mint); --cs: var(--mint-s); } .c-pink { --c: var(--pink); --cs: var(--pink-s); }
.c-butter { --c: var(--butter); --cs: var(--butter-s); } .c-sky { --c: var(--sky); --cs: var(--sky-s); }
.c-lilac { --c: var(--lilac); --cs: var(--lilac-s); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--coral); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease), background 0.3s;
  box-shadow: 0 6px 0 -1px color-mix(in srgb, var(--bg) 70%, #000);
  will-change: transform;
}
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 -1px color-mix(in srgb, var(--bg) 70%, #000); }
.btn .arr { display: inline-block; transition: transform 0.4s var(--spring); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ink { --bg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: var(--ink); color: #fff; }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--s { padding: 10px 18px; font-size: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: transform 0.4s var(--spring), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.chip:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--ink); color: #fff; box-shadow: none; }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size 0.4s var(--ease); font-weight: 600; }
.link-u:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 14px 0 auto; z-index: 80; pointer-events: none; transition: transform 0.5s var(--ease); }
.hdr.is-hidden { transform: translateY(-130%); }
.hdr-in {
  pointer-events: auto; display: flex; align-items: center; gap: 8px;
  width: min(var(--wrap), 100% - 28px); margin-inline: auto; padding: 8px 10px 8px 20px; border-radius: 999px;
  color: #fff; transition: background 0.4s, color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.hdr.is-solid .hdr-in, .hdr--solid .hdr-in {
  background: rgba(255, 255, 255, 0.82); color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.logo { display: inline-flex; align-items: center; margin-right: auto; color: #fff; transition: color 0.4s; }
.logo-svg { display: block; height: 66px; width: auto; margin-block: -16px; transition: transform 0.6s var(--spring); filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28)); }
.logo:hover .logo-svg { transform: rotate(-4deg) scale(1.06); }
/* sobre el encabezado blanco (al bajar) el logo pasa a azul para que se lea */
.hdr.is-solid .logo, .hdr--solid .logo { color: #363c4e; }
.hdr.is-solid .logo-svg, .hdr--solid .logo-svg { filter: none; }
@media (max-width: 600px) { .logo-svg { height: 56px; margin-block: -12px; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { list-style: none; position: relative; }
.nav, .nav ul { margin: 0; padding: 0; }
.nav-l { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background 0.25s; }
.nav-l:hover, .nav > li:hover > .nav-l, .nav > li:focus-within > .nav-l { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav-l svg { width: 10px; transition: transform 0.3s; }
.nav > li:hover .nav-l svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: 100%; left: 50%; padding-top: 14px; translate: -50% 0;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: top center;
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.nav > li:hover .drop, .nav > li:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop-in { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-l); padding: 22px; }
.mega { display: grid; grid-template-columns: repeat(5, max-content); gap: 8px 30px; }
.mega h4 { font-size: 15px; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; letter-spacing: -0.02em; }
.mega h4 a:hover { color: var(--coral-d); }
.mega ul { display: grid; gap: 2px; grid-auto-flow: column; grid-template-rows: repeat(9, auto); column-gap: 18px; }
.mega li { list-style: none; }
.mega li a { display: flex; gap: 8px; font-size: 14px; padding: 3px 0; color: var(--muted); transition: color 0.2s, transform 0.3s var(--ease); }
.mega li a:hover { color: var(--ink); transform: translateX(4px); }
.tips-drop { display: grid; gap: 4px; width: 300px; }
.tips-drop a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-s); font-weight: 600; font-size: 14.5px; transition: background 0.2s; }
.tips-drop a:hover { background: var(--cs, var(--mint-s)); }
.tips-drop a i { font-style: normal; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--c, var(--mint)); flex: none; }
.tips-drop a small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.ico-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 12%, transparent); transition: transform 0.4s var(--spring), background 0.25s; }
.ico-btn:hover { transform: scale(1.1) rotate(-6deg); background: var(--coral); color: #fff; }
.ico-btn svg { width: 18px; height: 18px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); font-size: 12px; font-weight: 700; }
.lang button { padding: 8px 10px; border-radius: 999px; line-height: 1; opacity: 0.65; transition: 0.25s; }
.lang button.is-on { background: #fff; color: var(--ink); opacity: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.burger { display: none; }

/* menú móvil */
.mnav { position: fixed; inset: 0; z-index: 79; background: var(--cream); padding: 96px var(--pad) 32px; overflow: auto; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path 0.7s var(--ease); visibility: hidden; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mnav > a, .mnav summary { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 700; font-size: 34px; letter-spacing: -0.04em; padding: 12px 0; border-bottom: 1.5px solid var(--line); list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: '+'; font-weight: 400; color: var(--coral); transition: transform 0.3s; }
.mnav details[open] summary::after { transform: rotate(45deg); }
.mnav .sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.mnav .row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; align-items: center; }

/* ---------- animaciones base ---------- */
[data-reveal]:not(.is-in) { opacity: 0; }
[data-reveal].is-in { animation: rv 1s var(--ease) var(--d, 0s) backwards; }
[data-reveal='scale'] { --ty: 0px; --sc: 0.88; }
[data-reveal='left'] { --ty: 0px; --tx: -48px; }
[data-reveal='right'] { --ty: 0px; --tx: 48px; }
[data-reveal='tilt'] { --ty: 60px; --ro: 5deg; }
@keyframes rv { from { opacity: 0; translate: var(--tx, 0px) var(--ty, 40px); scale: var(--sc, 1); rotate: var(--ro, 0deg); } }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0.1em 0.22em; margin: -0.16em -0.1em -0.22em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }

.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform 0.5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform 0.08s linear; }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 13px; transform: translate(var(--x, -100px), var(--y, -100px)) scale(var(--s, 0)); transition: transform 0.18s var(--ease); mix-blend-mode: normal; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- HERO ---------- */
.hero-pin { height: 165vh; position: relative; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero-media { position: absolute; inset: calc(var(--p) * 22px); border-radius: calc(var(--p) * 44px); overflow: hidden; background: var(--ink); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * 0.18)); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 40, 48, 0.38), rgba(10, 40, 48, 0.12) 40%, rgba(10, 40, 48, 0.5)); }
.hero-c { position: relative; z-index: 2; text-align: center; color: #fff; width: min(980px, 100% - 40px); transform: translateY(calc(var(--p) * -70px)) scale(calc(1 - var(--p) * 0.08)); opacity: calc(1 - var(--p) * 1.5); }
.hero h1 { font-size: clamp(50px, 10.5vw, 150px); line-height: 0.92; letter-spacing: -0.05em; text-shadow: 0 4px 40px rgba(0, 30, 40, 0.25); }
.hero h1 em { color: var(--butter); letter-spacing: -0.03em; }
.hero-sub { margin: 22px auto 30px; font-size: clamp(16px, 1.6vw, 20px); max-width: 52ch; opacity: 0.95; text-shadow: 0 1px 12px rgba(0, 30, 40, 0.4); }
.searchbar { display: flex; align-items: center; gap: 12px; width: min(640px, 100%); margin-inline: auto; padding: 8px 8px 8px 24px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 17px; text-align: left; box-shadow: 0 20px 50px -12px rgba(0, 30, 40, 0.45); transition: transform 0.5s var(--spring), box-shadow 0.4s; cursor: text; }
.searchbar:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 28px 60px -12px rgba(0, 30, 40, 0.5); }
.searchbar svg { width: 20px; flex: none; color: var(--ink); }
.searchbar span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.searchbar .typed::after { content: ''; display: inline-block; width: 2px; height: 1.1em; background: var(--coral); margin-left: 2px; vertical-align: -0.18em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.searchbar b { background: var(--coral); color: #fff; font-family: var(--f-head); padding: 13px 22px; border-radius: 999px; font-size: 15px; }
.trend { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; align-items: center; font-size: 13px; font-weight: 600; }
.trend .chip { background: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 14px; font-size: 13.5px; }
.trend .chip:hover { background: #fff; color: var(--ink); }
.hero-float { position: absolute; z-index: 3; pointer-events: none; }
.sticker { display: grid; place-items: center; text-align: center; width: 132px; height: 132px; border-radius: 50%; background: var(--butter); color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 13px; line-height: 1.05; letter-spacing: -0.02em; box-shadow: var(--shadow-l); }
.sticker b { display: block; font-size: 40px; letter-spacing: -0.05em; }
.hf-1 { right: 6%; top: 19%; transform: translateY(calc(var(--p) * -260px)) rotate(calc(12deg + var(--p) * 50deg)); }
.hf-2 { left: 5%; bottom: 14%; transform: translateY(calc(var(--p) * -420px)) rotate(calc(-9deg - var(--p) * 30deg)); }
.polaroid { background: #fff; padding: 8px 8px 30px; border-radius: 6px; box-shadow: var(--shadow-l); width: 150px; }
.polaroid img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid span { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-family: var(--f-serif); font-style: italic; color: var(--ink); font-size: 15px; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 3; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; display: grid; justify-items: center; gap: 8px; opacity: calc(1 - var(--p) * 6); }
.scroll-hint i { width: 22px; height: 36px; border-radius: 12px; border: 2px solid #fff; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }
@media (max-width: 900px) { .hero-float { display: none; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 11px; background: var(--ink); color: #fff; position: relative; z-index: 4; }
.marquee-t { display: flex; gap: 30px; width: max-content; animation: marq 48s linear infinite; font-family: var(--f-head); font-weight: 700; font-size: clamp(14px, 1.25vw, 18px); letter-spacing: -0.01em; }
.marquee:hover .marquee-t { animation-play-state: paused; }
.marquee-t a { display: inline-flex; align-items: center; gap: 12px; transition: color 0.2s; }
.marquee-t a:hover { color: var(--butter); }
.marquee-t a::after { content: '✦'; color: var(--coral); margin-left: 22px; font-size: 0.7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- manifiesto (texto que se rellena con el scroll) ---------- */
.manifesto { position: relative; padding-block: clamp(110px, 16vw, 220px); }
.manifesto p.big { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 5vw, 76px); line-height: 1.04; letter-spacing: -0.04em; max-width: 17ch; margin-inline: auto; text-align: center; position: relative; z-index: 2; }
.manifesto .fw { opacity: clamp(0.14, calc(var(--p) * var(--n) * 1.9 - var(--i) - var(--n) * 0.35), 1); transition: opacity 0.2s; }
.manifesto .fw.hl { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--coral-d); }
.m-photo { position: absolute; width: clamp(110px, 16vw, 230px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-l); z-index: 1; }
.m-photo img { aspect-ratio: 4/5; object-fit: cover; }
.m-1 { left: 4%; top: 12%; transform: translateY(calc((0.5 - var(--p)) * 240px)) rotate(-7deg); }
.m-2 { right: 5%; top: 22%; transform: translateY(calc((0.5 - var(--p)) * 420px)) rotate(6deg); }
.m-3 { left: 9%; bottom: 6%; transform: translateY(calc((0.5 - var(--p)) * 520px)) rotate(5deg); }
.m-4 { right: 10%; bottom: 10%; transform: translateY(calc((0.5 - var(--p)) * 180px)) rotate(-5deg); }
@media (max-width: 800px) { .m-photo { opacity: 0.35; } }

/* ---------- scroll horizontal fijado ---------- */
.hs { position: relative; height: calc(100vh + var(--dist, 0px)); }
.hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hs-track { display: flex; gap: 26px; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); width: max-content; transform: translate3d(calc(var(--p) * var(--dist, 0px) * -1), 0, 0); will-change: transform; align-items: stretch; }
.hs-intro { width: min(420px, 78vw); display: grid; align-content: center; gap: 18px; flex: none; }
.hs-bar { width: min(var(--wrap), 100% - var(--pad) * 2); margin: 34px auto 0; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(var(--p)); border-radius: 4px; }
.hs-big { position: absolute; left: 0; bottom: 0.06em; white-space: nowrap; font-family: var(--f-head); font-weight: 800; font-size: 11.5vw; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px rgba(22, 53, 59, 0.07); transform: translateX(calc(12vw - var(--p) * 9vw)); pointer-events: none; }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hs { height: auto !important; padding-block: 72px; }
  .hs-sticky { position: static; height: auto; overflow: visible; }
  .hs-track { transform: none; overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: none; }
  .hs-track > * { scroll-snap-align: center; }
  .hs-bar, .hs-big { display: none; }
}

/* ---------- tarjetas ---------- */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: box-shadow 0.5s var(--ease), translate 0.6s var(--spring); }
.card:hover { box-shadow: var(--shadow-l); translate: 0 -8px; z-index: 2; }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--cs, var(--mint-s)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.card:hover .card-img img { transform: scale(1.09) rotate(0.6deg); }
.card-b { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card-b h3 { font-size: 21px; line-height: 1.12; letter-spacing: -0.03em; }
.card-b p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--c, var(--mint)); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }
.card-img .tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); }
.play { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform 0.5s var(--spring), background 0.3s, color 0.3s; }
.play svg { width: 16px; margin-left: 2px; }
.card:hover .play { transform: scale(1.18) rotate(-8deg); background: var(--coral); color: #fff; }
.go { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform 0.5s var(--spring), background 0.3s, color 0.3s; z-index: 2; }
.go svg { width: 16px; transition: transform 0.4s var(--ease); }
a:hover > .go, .card:hover .go, .dest:hover .go { background: var(--coral); color: #fff; transform: scale(1.12); }
a:hover > .go svg, .dest:hover .go svg { transform: rotate(-45deg); }
.hs .card { width: min(380px, 80vw); flex: none; }

/* destino (foto vertical) */
.dest { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(150deg, var(--c, var(--mint)), var(--cs, var(--mint-s))); color: #fff; box-shadow: var(--shadow); transition: box-shadow 0.5s, translate 0.6s var(--spring), rotate 0.6s var(--spring); isolation: isolate; }
.dest:hover { translate: 0 -10px; rotate: -1.2deg; box-shadow: var(--shadow-l); z-index: 2; }
.dest:nth-child(even):hover { rotate: 1.2deg; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.dest:hover img { transform: scale(1.1); }
.dest.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 40, 48, 0) 40%, rgba(10, 40, 48, 0.78)); }
.dest:not(.has-img) { color: var(--ink); }
.dest .big-flag { position: absolute; right: -6%; top: -4%; font-size: clamp(90px, 12vw, 150px); line-height: 1; opacity: 0.9; transform: rotate(12deg); transition: transform 0.8s var(--spring); filter: drop-shadow(0 12px 18px rgba(22, 53, 59, 0.18)); }
.dest:hover .big-flag { transform: rotate(-6deg) scale(1.12); }
.dest-b { position: absolute; left: 20px; right: 70px; bottom: 18px; display: grid; gap: 2px; }
.dest-b h3 { font-size: clamp(22px, 2.2vw, 30px); }
.dest-b span { font-size: 14px; opacity: 0.9; line-height: 1.3; }
.dest .flag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; gap: 6px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs--row { margin: calc(clamp(28px, 4vw, 56px) * -0.45) 0 clamp(22px, 3vw, 34px); }
@media (max-width: 700px) { .tabs--row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } .tabs--row .chip { flex: none; } }

/* ---------- mapa ---------- */
.map-sec { overflow: hidden; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.map-box { position: relative; min-width: 0; border-radius: var(--r-l); background: linear-gradient(160deg, #d9f1fb, #e6f7f1); overflow: hidden; width: 100%; aspect-ratio: 16/10; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8), var(--shadow); }
.map-box svg { width: 100%; height: 100%; display: block; }
.map-g { transition: transform 1.2s var(--ease); transform-origin: 0 0; }
.land { fill: #fff; stroke: #cfe6ee; stroke-width: 0.5; transition: fill 0.4s; vector-effect: non-scaling-stroke; }
.land.is-v { fill: var(--pink); stroke: #fff; cursor: pointer; }
.land.is-v:hover, .land.is-hot { fill: var(--coral); }
.land.is-dim { fill: #f6fbfc; }
.pin { cursor: pointer; }
.pin circle { fill: var(--coral); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.7s var(--spring), fill 0.3s; transition-delay: calc(var(--i) * 28ms); }
.is-in .pin circle { transform: scale(1); }
.pin:hover circle, .pin.is-hot circle { fill: var(--ink); transform: scale(1.7); transition-delay: 0s; }
.pin.is-dim circle { transform: scale(0.45); opacity: 0.35; }
.pin .pulse { fill: none; stroke: var(--coral); stroke-width: 1.5; opacity: 0; animation: pulse 2.6s var(--ease) infinite; animation-delay: calc(var(--i) * 120ms); transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.6); opacity: 0; } }
.route { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.35; }
.map-tip { position: absolute; z-index: 3; pointer-events: none; padding: 9px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)) scale(0.8); opacity: 0; transition: opacity 0.2s, transform 0.3s var(--spring); }
.map-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }
.map-tip small { display: block; font-weight: 500; opacity: 0.7; font-size: 12px; }
.map-tabs { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.map-tabs .chip { padding: 7px 13px; font-size: 13px; }
.map-list { background: #fff; border-radius: var(--r-l); padding: 22px 12px 12px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; align-self: stretch; height: 0; min-height: 100%; }
.map-list h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--f-body); margin-bottom: 10px; }
.map-list ul { list-style: none; margin: 0; padding: 0 10px 0 0; overflow: auto; flex: 1; scrollbar-width: thin; }
.map-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: background 0.2s, padding 0.3s var(--ease); }
.map-list a:hover, .map-list a.is-hot { background: var(--pink-s); padding-left: 16px; }
.map-list a small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.stat { border-radius: var(--r); padding: 24px; background: var(--c, #fff); display: grid; gap: 2px; transition: transform 0.5s var(--spring); }
.stat:hover { transform: translateY(-6px) rotate(-1.5deg); }
.stat b { font-family: var(--f-head); font-size: clamp(40px, 5vw, 68px); line-height: 0.95; letter-spacing: -0.05em; }
.stat span { font-size: 14px; font-weight: 600; }
@media (max-width: 960px) { .map-grid { grid-template-columns: minmax(0, 1fr); } .map-list { height: auto; min-height: 0; max-height: 320px; } .map-tabs { right: 12px; left: 12px; top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .map-tabs .chip { flex: none; } .stats { grid-template-columns: repeat(2, 1fr); } .map-box { aspect-ratio: 4/3.4; } }

/* ---------- pasos apilados (tips) ---------- */
.stack { display: grid; gap: 22px; }
.step { position: sticky; top: calc(96px + var(--i) * 20px); border-radius: var(--r-l); background: var(--c); padding: clamp(26px, 4vw, 52px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 4vw, 56px); align-items: center; box-shadow: 0 -10px 40px -18px rgba(22, 53, 59, 0.25); transform-origin: top center; min-height: 250px; overflow: hidden; }
.step .num { font-family: var(--f-serif); font-style: italic; font-size: clamp(60px, 9vw, 130px); line-height: 0.8; opacity: 0.9; }
.step h3 { font-size: clamp(26px, 3.4vw, 46px); margin-bottom: 10px; }
.step p { max-width: 46ch; color: var(--ink-2); }
.step .emo { position: absolute; right: -10px; bottom: -34px; font-size: 190px; line-height: 1; opacity: 0.22; transform: rotate(-14deg); pointer-events: none; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; min-height: 0; } }

/* ---------- cupones ---------- */
.coupons { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); }
.coupon { --notch: 13px; position: relative; display: grid; grid-template-columns: 124px 1fr; border-radius: 22px; background: #fff; filter: drop-shadow(0 10px 18px rgba(22, 53, 59, 0.1)); transition: translate 0.6s var(--spring), rotate 0.6s var(--spring), filter 0.4s;
  -webkit-mask: radial-gradient(circle var(--notch) at 124px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 124px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at 124px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 124px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.coupon-w { transition: translate 0.6s var(--spring), rotate 0.6s var(--spring); filter: drop-shadow(0 10px 18px rgba(22, 53, 59, 0.1)); }
.coupon-w:hover { translate: 0 -8px; rotate: -1deg; filter: drop-shadow(0 24px 30px rgba(22, 53, 59, 0.18)); }
.coupon-w:nth-child(even):hover { rotate: 1deg; }
.coupon { filter: none; }
.coupon-l { background: var(--c); display: grid; place-content: center; text-align: center; padding: 16px 10px; border-right: 2.5px dashed #fff; position: relative; overflow: hidden; }
.coupon-l b { font-family: var(--f-head); font-size: 38px; line-height: 0.9; letter-spacing: -0.05em; }
.coupon-l span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }
.coupon-l i { position: absolute; font-style: normal; font-size: 74px; opacity: 0.18; right: -18px; bottom: -22px; transform: rotate(-18deg); transition: transform 0.8s var(--spring); }
.coupon-w:hover .coupon-l i { transform: rotate(8deg) scale(1.2); }
.coupon-r { padding: 18px 20px 18px 22px; display: grid; gap: 8px; align-content: center; }
.coupon-r small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.coupon-r h3 { font-size: 23px; }
.coupon-r p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.coupon-a { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.code { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1.5px dashed var(--ink); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; transition: background 0.25s, color 0.25s; }
.code:hover { background: var(--ink); color: #fff; }
.code svg { width: 13px; }
.code.is-ok { background: var(--mint); border-style: solid; color: var(--ink); }

/* ---------- tienda ---------- */
.prod .card-img { aspect-ratio: 4/5; }
.prod .price { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.prod .price s { font-size: 15px; font-weight: 500; color: var(--muted); }
.prod .card-b { grid-template-rows: auto auto 1fr auto; }
.prod-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.badge { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 800; transform: rotate(4deg); box-shadow: var(--shadow); }
.spin-badge { position: absolute; width: 130px; height: 130px; animation: spin 16s linear infinite; }
.spin-badge text { font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* comparador con / sin preset */
.compare-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.compare { --x: 50%; position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-l); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--ink); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { filter: saturate(0.45) contrast(0.82) brightness(1.06) sepia(0.12); }
.compare .after { filter: saturate(1.45) contrast(1.1) brightness(1.02); clip-path: inset(0 0 0 var(--x)); }
.compare.is-auto .after, .compare.is-auto .handle { transition: clip-path 0.9s var(--ease), left 0.9s var(--ease); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.3); }
.compare .handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; letter-spacing: 2px; box-shadow: var(--shadow-l); }
.compare .lbl { position: absolute; bottom: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; background: var(--coral); color: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; }
.thumbs button { width: 68px; height: 52px; border-radius: 12px; overflow: hidden; opacity: 0.6; transition: 0.3s var(--ease); box-shadow: inset 0 0 0 0 var(--coral); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-on, .thumbs button:hover { opacity: 1; transform: translateY(-4px); outline: 3px solid var(--coral); outline-offset: 2px; }
@media (max-width: 860px) { .compare-wrap { grid-template-columns: 1fr; } }

/* ---------- nosotros ---------- */
.about { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.about-pic { position: relative; aspect-ratio: 1; }
.about-pic .blob { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-l); transform: rotate(calc((var(--p) - 0.5) * 14deg)); }
.about-pic .blob img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateY(calc((var(--p) - 0.5) * -40px)); }
.about-pic .ring { position: absolute; inset: -5%; border-radius: 50%; border: 2px dashed var(--coral); animation: spin 40s linear infinite; }
.about-pic .sticker { position: absolute; right: -4%; bottom: 2%; width: 118px; height: 118px; background: var(--mint); transform: rotate(calc(-10deg + var(--p) * 30deg)); }
.about-pic .tagx { position: absolute; left: -4%; top: 10%; background: var(--butter); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transform: rotate(-8deg) translateY(calc((0.5 - var(--p)) * 60px)); }
.about-c { display: grid; gap: 22px; justify-items: start; }
.about-n { display: flex; gap: clamp(18px, 4vw, 46px); flex-wrap: wrap; }
.about-n div b { display: block; font-family: var(--f-head); font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.05em; line-height: 1; }
.about-n div span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-pic { max-width: 320px; margin-inline: auto; } }

/* ---------- newsletter / CTA ---------- */
.cta { position: relative; border-radius: var(--r-l); background: var(--coral); color: #fff; padding: clamp(36px, 7vw, 90px); overflow: hidden; display: grid; gap: 24px; justify-items: center; text-align: center; }
.cta h2 em { color: var(--butter); }
.cta form { display: flex; gap: 8px; width: min(520px, 100%); background: #fff; border-radius: 999px; padding: 7px; }
.cta input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; font: inherit; color: var(--ink); outline: none; }
.cta .blobx { position: absolute; border-radius: 50%; opacity: 0.25; pointer-events: none; }
.cta .b1 { width: 340px; height: 340px; background: var(--butter); left: -90px; top: -120px; transform: translateY(calc(var(--p) * 120px)); }
.cta .b2 { width: 420px; height: 420px; background: var(--pink); right: -140px; bottom: -200px; transform: translateY(calc(var(--p) * -140px)); }
.cta > *:not(.blobx) { position: relative; }
.note { font-size: 13px; opacity: 0.85; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #d9e7e6; margin-top: clamp(60px, 9vw, 130px); border-radius: var(--r-l) var(--r-l) 0 0; padding-top: clamp(50px, 7vw, 90px); overflow: hidden; position: relative; }
.ftr-g { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: -0.01em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.ftr ul a { opacity: 0.75; transition: opacity 0.2s, padding 0.3s var(--ease); }
.ftr ul a:hover { opacity: 1; padding-left: 6px; color: var(--butter); }
.ftr-about { display: grid; gap: 18px; align-content: start; max-width: 36ch; }
.ftr-about .logo { color: #fff; justify-self: start; }
.ftr-about .logo-svg { height: 96px; margin: 0; filter: none; }
.ftr-about p { font-size: 15px; opacity: 0.8; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); transition: transform 0.5s var(--spring), background 0.3s, color 0.3s; }
.socials a:hover { transform: translateY(-5px) rotate(-8deg); background: var(--coral); color: #fff; }
.socials svg { width: 19px; height: 19px; }
.ftr-word { font-family: var(--f-head); font-weight: 800; font-size: 12vw; line-height: 0.8; letter-spacing: -0.065em; white-space: nowrap; text-align: center; color: var(--ink-2); margin-top: clamp(40px, 6vw, 80px); padding-bottom: 0.12em; transform: translateY(calc(30% - var(--p) * 30%)); user-select: none; }
.ftr-word > span { display: inline-block; }
.ftr-word em { color: var(--coral); }
.ftr-bot { display: grid; gap: 10px; font-size: 13px; padding-block: 28px 0; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ftr-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; color: rgba(255, 255, 255, 0.85); }
.ftr-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.ftr-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); transition: color 0.2s, text-decoration-color 0.2s; }
.ftr-links a:hover { color: var(--butter); text-decoration-color: currentColor; }
.ftr-aff { margin: 0; opacity: 0.6; }
@media (max-width: 860px) { .ftr-links { margin-left: 0; width: 100%; } }
.start-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 18px; }
.start-legal .ftr-links { margin: 0; width: 100%; justify-content: center; }
.start-legal .ftr-links a { color: var(--ink); text-decoration-color: rgba(0, 0, 0, 0.25); }
.legal h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 14px; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .upd { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .ftr-g { grid-template-columns: 1fr 1fr; } .ftr-about { grid-column: 1/-1; } }

/* ---------- buscador / explorador ---------- */
.xp { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.xp::before { content: ''; position: absolute; inset: 0; background: rgba(22, 53, 59, 0.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s; }
.xp-sheet { position: absolute; inset: 22px; border-radius: var(--r-l); background: var(--cream); overflow: hidden; display: grid; grid-template-columns: 300px 1fr; transform: translateY(40px) scale(0.96); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.35s; }
.xp.is-open { visibility: visible; }
.xp.is-open::before { opacity: 1; }
.xp.is-open .xp-sheet { transform: none; opacity: 1; }
.xp-side { background: #fff; padding: 22px; overflow: auto; display: grid; gap: 22px; align-content: start; }
.xp-in { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--line); }
.xp-in:focus-within { box-shadow: inset 0 0 0 2px var(--coral); }
.xp-in svg { width: 18px; flex: none; }
.xp-in input { border: 0; outline: 0; background: none; font: inherit; flex: 1; min-width: 0; color: var(--ink); font-weight: 600; }
.xp-side h5 { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.xp-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xp-f .chip { justify-content: center; padding: 10px 8px; font-size: 13.5px; border-radius: 14px; }
.xp-main { padding: 26px 26px 40px; overflow: auto; }
.xp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.xp-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.xp-res > * { animation: pop 0.6s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
.xp-res .dest { aspect-ratio: 4/5; }
.xp-empty { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--muted); }
.xp-empty b { display: block; font-size: 60px; }
@media (max-width: 820px) { .xp-sheet { inset: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .xp-side { gap: 12px; padding: 16px; } .xp-side .xp-fg { display: flex; gap: 8px; overflow: auto; scrollbar-width: none; } .xp-side h5 { display: none; } .xp-f { display: flex; } .xp-main { padding: 16px; } .xp-res { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* modal de video */
.vm { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: rgba(22, 53, 59, 0.8); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: 0.35s; padding: 20px; }
.vm.is-open { opacity: 1; visibility: visible; }
.vm-in { width: min(1000px, 100%); aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; transform: scale(0.9); transition: transform 0.5s var(--spring); box-shadow: var(--shadow-l); }
.vm.is-open .vm-in { transform: none; }
.vm iframe { width: 100%; height: 100%; border: 0; display: block; }
.x-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform 0.4s var(--spring), background 0.25s, color 0.25s; font-size: 20px; line-height: 1; color: var(--ink); }
.x-btn:hover { transform: rotate(90deg) scale(1.08); background: var(--coral); color: #fff; }
.vm .x-btn { position: absolute; right: 22px; top: 22px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; translate: -50% 0; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-l); transform: translateY(90px); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.3s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: none; opacity: 1; }

/* ---------- cabeceras de páginas interiores ---------- */
.phead { position: relative; padding: clamp(130px, 16vw, 210px) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.phead .wrap { display: grid; gap: 20px; position: relative; z-index: 2; }
.phead .deco { position: absolute; border-radius: 50%; z-index: 0; }
.phead .d1 { width: 46vw; height: 46vw; right: -12vw; top: -18vw; background: var(--c, var(--mint)); opacity: 0.7; transform: translateY(calc(var(--p) * 160px)); }
.phead .d2 { width: 20vw; height: 20vw; right: 26vw; bottom: -10vw; background: var(--butter); opacity: 0.8; transform: translateY(calc(var(--p) * -100px)); }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--coral-d); }
.phero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; border-radius: 0 0 var(--r-l) var(--r-l); background: var(--ink); }
.phero > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--p) * -12%)); }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 40, 48, 0.35), rgba(10, 40, 48, 0.05) 35%, rgba(10, 40, 48, 0.75)); }
.phero .wrap { position: relative; z-index: 2; padding-block: 140px 48px; display: grid; gap: 16px; }
.phero .crumbs { color: rgba(255, 255, 255, 0.85); }

/* artículo */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 70px); align-items: start; }
.prose { font-size: 18.5px; line-height: 1.75; display: grid; gap: 22px; }
.prose h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 22px; }
.prose .video { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: var(--shadow-l); position: relative; cursor: pointer; }
.prose .video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.2s var(--ease), opacity 0.4s; }
.prose .video:hover img { transform: scale(1.05); opacity: 1; }
.prose .video .play { inset: 0; margin: auto; width: 84px; height: 84px; }
.prose .video .play svg { width: 26px; }
.prose .video:hover .play { transform: scale(1.15); background: var(--coral); color: #fff; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.callout { border-radius: var(--r); background: var(--c, var(--butter)); padding: 24px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; font-size: 16px; line-height: 1.45; }
.callout i { font-style: normal; font-size: 40px; }
.callout b { font-family: var(--f-head); font-size: 19px; display: block; letter-spacing: -0.02em; }
@media (max-width: 620px) { .callout { grid-template-columns: 1fr; justify-items: start; } }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-box { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.aside-box h4 { font-size: 17px; }
.toc a { display: block; padding: 6px 0; font-size: 15px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.toc a:hover { color: var(--coral-d); }
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(var(--sp, 0)); z-index: 90; }
@media (max-width: 960px) { .art { grid-template-columns: 1fr; } .aside { position: static; } }

/* formularios (cuenta) */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-l); }
.auth-side { background: var(--mint); padding: clamp(28px, 5vw, 60px); display: grid; gap: 18px; align-content: center; position: relative; overflow: hidden; }
.auth-form { padding: clamp(28px, 5vw, 60px); display: grid; gap: 16px; align-content: center; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { font: inherit; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); outline: none; transition: border 0.2s, box-shadow 0.2s; }
.field input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(242, 112, 78, 0.15); }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; }
.seg button { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.seg button.is-on { background: var(--ink); color: #fff; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: '✓'; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
@media (max-width: 800px) { .auth { grid-template-columns: 1fr; } }

/* ---------- /start (link en bio) ---------- */
.start-body { background: linear-gradient(160deg, var(--mint-s), var(--pink-s) 55%, var(--butter-s)); min-height: 100vh; }
.start { width: min(480px, 100%); margin-inline: auto; background: var(--cream); min-height: 100vh; position: relative; box-shadow: 0 0 80px rgba(22, 53, 59, 0.12); padding-bottom: 40px; overflow: hidden; }
.start-hero { position: relative; height: 430px; color: #fff; display: grid; justify-items: center; align-content: start; padding: 26px 20px; }
.start-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.start-hero .logo { position: relative; margin: 0; animation: drop 1s var(--spring) both; }
.start-hero .logo-svg { height: 120px; margin: 0; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3)); }
@keyframes drop { from { transform: translateY(-60px) rotate(-10deg); opacity: 0; } }
.start-in { position: relative; margin-top: -170px; padding-inline: 18px; display: grid; gap: 14px; }
.start .searchbar { padding: 6px 6px 6px 20px; font-size: 16px; box-shadow: 0 14px 30px -10px rgba(0, 30, 40, 0.35); }
.start .searchbar b { padding: 12px 15px; }
.start .trend { justify-content: flex-start; flex-wrap: nowrap; overflow: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.start .trend .chip { background: var(--mint-s); color: var(--ink); box-shadow: none; text-shadow: none; }
.hi { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.35; }
.hi img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.hi .n { display: flex; gap: 12px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.hi .n b { color: var(--ink); font-family: var(--f-head); font-size: 15px; }
.start h2 { font-size: 22px; margin: 16px 0 0; }
.rail { display: flex; gap: 12px; overflow: auto; margin: 0 -18px; padding: 4px 18px 14px; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar, .trend::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }
.rail .dest { width: 170px; aspect-ratio: 3/4; }
.rail .dest-b h3 { font-size: 19px; }
.rail .card { width: 230px; }
.rail .card-b { padding: 14px; } .rail .card-b h3 { font-size: 16px; }
.biglink { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: var(--c, #fff); border-radius: 20px; padding: 12px 16px 12px 12px; font-weight: 700; font-family: var(--f-head); font-size: 17px; letter-spacing: -0.02em; box-shadow: var(--shadow); transition: transform 0.5s var(--spring); animation: pop 0.7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 0.2s); }
.biglink:hover, .biglink:active { transform: scale(1.03) rotate(-1deg); }
.biglink i { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 24px; }
.biglink small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
.biglink .arr { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
/* descuentos del /start: 1 ancho + 2 lado a lado, todo en una vista */
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.deal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "i off" "t t" "code code"; gap: 8px; align-items: start; background: var(--c); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); transition: transform 0.5s var(--spring); animation: pop 0.7s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 0.15s); }
.deal:hover, .deal:active { transform: translateY(-3px) rotate(-0.6deg); }
.deal > i { grid-area: i; width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 22px; }
.deal-t { grid-area: t; display: grid; gap: 1px; line-height: 1.3; }
.deal-t small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); opacity: 0.75; }
.deal-t b { font-family: var(--f-head); font-size: 18px; letter-spacing: -0.02em; }
.deal-t span { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
.deal-off { grid-area: off; background: var(--ink); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 12px; line-height: 1.1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.deal:not(.deal--wide) .deal-off { white-space: normal; max-width: 84px; text-align: center; border-radius: 14px; }
.deal-code { grid-area: code; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; background: #fff; border: 1.5px dashed rgba(22, 53, 59, 0.35); border-radius: 12px; padding: 8px 2px; font-family: var(--f-head); font-weight: 700; font-size: 10.5px; letter-spacing: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: copy; }
.deal-code svg { width: 12px; flex: none; }
.deal--wide .deal-code { font-size: 12.5px; gap: 6px; }
.deal-code.is-auto { border-style: solid; border-color: transparent; color: var(--ink-2); cursor: inherit; font-weight: 600; }
.deal-go { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.deal--wide { grid-column: 1 / -1; grid-template-columns: 52px 1fr auto; grid-template-areas: "i t off" "code code code"; column-gap: 12px; }
.deal--wide > i { width: 52px; height: 52px; font-size: 26px; }
.deal--wide .deal-t b { font-size: 20px; }
.start .more { justify-self: center; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(22, 53, 59, 0.3); margin-top: -2px; }
/* tienda del /start */
.shopc { width: 158px; display: grid; gap: 8px; align-content: start; }
.shopc-img { position: relative; display: block; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shopc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.shopc:hover .shopc-img img { transform: scale(1.05); }
.shopc-img em, .tile-m em { position: absolute; top: 8px; left: 8px; background: var(--coral); color: #fff; font-family: var(--f-body); font-style: normal; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.shopc b { font-family: var(--f-head); font-size: 14.5px; line-height: 1.2; letter-spacing: -0.01em; }
.shopc-f, .tile-b { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.shopc .go, .tile .go { position: static; width: 30px; height: 30px; border-radius: 50%; background: var(--pink-s); display: grid; place-items: center; flex: none; opacity: 1; transform: none; }
.shopc .go svg, .tile .go svg { width: 14px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
.tile { display: grid; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.5s var(--spring); }
.tile:hover { transform: translateY(-3px); }
.tile-m { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--butter-s); }
.tile-m > img { width: 100%; height: 100%; object-fit: cover; }
.tile-b { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "b go" "s go"; padding: 12px 12px 14px; row-gap: 2px; }
.tile-b b { grid-area: b; font-family: var(--f-head); font-size: 15.5px; letter-spacing: -0.02em; }
.tile-b small { grid-area: s; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.tile-b .go { grid-area: go; align-self: end; }
/* teléfono animado: cada foto pasa de "sin preset" a "con preset" */
.tile-phone { display: grid; place-items: end center; background: linear-gradient(160deg, var(--pink-s), var(--butter-s)); }
.phone { position: relative; width: 58%; aspect-ratio: 9/16; margin-bottom: -14%; border-radius: 16px; border: 4px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 14px 30px -10px rgba(22, 53, 59, 0.5); }
.phone .shot { position: absolute; inset: 0; opacity: 0; animation: shot 9s infinite; animation-delay: calc(var(--i) * 3s); }
.phone .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.45) contrast(0.82) brightness(1.06) sepia(0.12); }
.phone .shot .pre { filter: saturate(1.45) contrast(1.1) brightness(1.02); clip-path: inset(0 100% 0 0); animation: wipe 3s var(--ease) infinite; animation-delay: inherit; }
@keyframes shot { 0%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes wipe { 0%, 20% { clip-path: inset(0 100% 0 0); } 55%, 100% { clip-path: inset(0 0 0 0); } }
/* trabajemos juntos */
.collab { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: var(--lilac-s); border-radius: 20px; padding: 14px; margin-top: 12px; box-shadow: var(--shadow); }
.collab i { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 22px; }
.collab b { display: block; font-family: var(--f-head); font-size: 17px; letter-spacing: -0.02em; }
.collab small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.collab .btn { white-space: nowrap; }
@media (max-width: 420px) { .collab { grid-template-columns: 44px 1fr; } .collab .btn { grid-column: 1 / -1; justify-content: center; } }
.mini-coupon { width: 250px; display: grid; grid-template-columns: 78px 1fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.mini-coupon div:first-child { background: var(--c); display: grid; place-content: center; text-align: center; font-family: var(--f-head); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; border-right: 2px dashed #fff; line-height: 1; }
.mini-coupon div:first-child small { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--f-body); margin-top: 4px; }
.mini-coupon div:last-child { padding: 12px 14px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.mini-coupon b { display: block; color: var(--ink); font-family: var(--f-head); font-size: 16px; }

/* ---------- responsive header ---------- */
@media (max-width: 1040px) {
  .nav, .hdr-tools .lang, .hdr-tools .acc { display: none; }
  .burger { display: grid; }
  .burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: 0.35s var(--ease); }
  .burger span + span { margin-top: 5px; }
  .burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal]:not(.is-in) { opacity: 1; }
  .split .w > span { transform: none; }
  .hero-pin { height: 100vh; }
  .manifesto .fw { opacity: 1; }
}

/* ---------- páginas interiores: extras ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.cont-block { margin-bottom: clamp(50px, 7vw, 90px); }
.cont-block h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.cont-block h2 small { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.city-list { display: flex; gap: 10px; flex-wrap: wrap; }
.city { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; transition: transform 0.5s var(--spring), background 0.3s; }
.city:hover { transform: translateY(-5px) rotate(-2deg); background: var(--butter); }
.city small { font-family: var(--f-body); font-weight: 600; font-size: 12px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl { display: grid; grid-template-columns: 24px 90px 1fr; gap: 16px; padding: 16px 0; align-items: start; }
.tl i { width: 24px; height: 24px; border-radius: 50%; background: var(--coral); border: 5px solid var(--cream); position: relative; z-index: 1; }
.tl b { font-family: var(--f-head); font-size: 22px; letter-spacing: -0.03em; }
.tl p { color: var(--muted); }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.pd-info { display: grid; gap: 18px; justify-items: start; position: sticky; top: 110px; }
.pd-price { font-family: var(--f-head); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; display: flex; gap: 12px; align-items: baseline; }
.pd-price s { font-size: 20px; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } .pd-info { position: static; } }

.start .socials a { background: var(--ink); color: #fff; }
.cta > *:not(.blobx) { min-width: 0; max-width: 100%; }
@media (max-width: 520px) {
  .cta form { flex-wrap: wrap; border-radius: 26px; }
  .cta form input { flex-basis: 100%; padding: 12px 16px; text-align: center; }
  .cta form .btn { flex: 1; }
  .searchbar b { padding: 12px 16px; }
}

/* ---------- pago incrustado ---------- */
.pay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(22, 53, 59, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.pay.is-open { opacity: 1; }
.pay-in { position: relative; width: min(1040px, 100%); height: min(780px, 100%); background: #fff; border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-l); transform: translateY(30px) scale(0.97); transition: transform 0.5s var(--spring); }
.pay.is-open .pay-in { transform: none; }
.pay-top { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 22px; background: var(--cream); font-size: 14px; }
.pay-top b { font-family: var(--f-head); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-top a { color: var(--muted); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.pay-top a:hover { color: var(--coral); }
.pay-x { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; transition: transform 0.4s var(--spring), background 0.2s; }
.pay-x:hover { transform: rotate(90deg); background: var(--coral); }
.pay-x svg { width: 16px; height: 16px; }
.pay iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.pay-load { position: absolute; inset: 64px 0 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; pointer-events: none; }
