/* Landing de WanderHash Partners para WorldCapitals.
   Identidad: tinta azul oscura, degradé teal -> lima y coral de WanderHash (mismos tokens que el portal de partners)
   con el violeta y el verde de WorldCapitals para todo lo que muestra la colección. */
*, *::before, *::after { box-sizing: border-box; }

:root {
    /* WanderHash */
    --ink: #08121d;
    --ink-2: #0b1a29;
    --surface: #0f2234;
    --surface-2: #14293d;
    --line: rgba(160, 200, 225, 0.16);
    --line-strong: rgba(160, 200, 225, 0.3);
    --text: #e8eef3;
    --text-strong: #ffffff;
    --muted: #9fb2c2;
    --teal: #19d3b0;
    --teal-soft: #3ee0c0;
    --lime: #c8f04d;
    --coral: #ff8a5b;
    --grad: linear-gradient(135deg, var(--teal), var(--lime));
    /* WorldCapitals */
    --violet-900: #281773;
    --violet-700: #47388c;
    --violet-600: #5342a0;
    --violet-400: #6d5fad;
    --violet-200: #b7ace0;
    --wc-green: #00c267;

    --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r-sm: 10px; --r-md: 16px; --r-lg: 26px; --r-pill: 999px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --maxw: 1140px;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-soft); }
a:hover { color: var(--lime); }
h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 22px;
    border: 2px solid transparent; border-radius: var(--r-pill);
    background: var(--grad); color: #06221d;
    font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 10px 30px rgba(25, 211, 176, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { color: #06221d; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(25, 211, 176, 0.35); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 7px 18px; font-size: 0.92rem; }
.btn-lg { min-height: 52px; padding: 14px 30px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { color: var(--text-strong); border-color: var(--teal-soft); box-shadow: none; background: rgba(62, 224, 192, 0.08); }
.btn-dark { background: var(--ink); color: var(--text-strong); box-shadow: 0 12px 30px rgba(8, 18, 29, 0.35); }
.btn-dark:hover { color: var(--lime); }

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 18, 29, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-name b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 2px 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--text-strong); }
.top-tools { display: flex; align-items: center; gap: 10px; }
.top-tools .btn { white-space: nowrap; }
.top .btn { margin-left: 0; }

/* Selector de idioma (mismo patrón que wanderhash.com) */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--text); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; background: transparent; transition: border-color 0.2s, background 0.2s; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover, .lang-switch[open] > summary { background: var(--surface); border-color: var(--teal); }
.lang-switch svg { width: 18px; height: 18px; fill: currentColor; }
.lang-switch__list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 80; min-width: 10rem; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow); }
.lang-switch__list a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500; line-height: 1.2; }
.lang-switch__list a:hover, .lang-switch__list a[aria-current] { background: var(--surface-2); color: var(--teal-soft); }

/* Escrituras que no cubre DM Sans */
:lang(zh-Hans) { --font-display: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --font-body: "DM Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
:lang(hi) { --font-display: "Bricolage Grotesque", "Noto Sans Devanagari", "Mangal", sans-serif; --font-body: "DM Sans", "Noto Sans Devanagari", "Mangal", sans-serif; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { line-height: 1.25; letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(50rem 28rem at 88% -8%, rgba(25, 211, 176, 0.16), transparent 60%),
        radial-gradient(40rem 26rem at -8% 20%, rgba(83, 66, 160, 0.35), transparent 62%),
        var(--ink);
    padding: 64px 0 80px;
}
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-soft); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(25, 211, 176, 0.18); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { font-size: 0.85rem; font-weight: 500; color: var(--text); background: rgba(160, 200, 225, 0.08); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 14px; }
.chips li::before { content: "✓"; color: var(--lime); margin-right: 7px; font-weight: 700; }

.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.art-glow { position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(83, 66, 160, 0.7), transparent 72%); filter: blur(10px); }
.art-poster { position: absolute; left: 0; top: 2%; width: 49%; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-4deg); }
.hero-art .art-phone { position: absolute; right: 0; top: 2%; width: 41%; transform: rotate(4deg); }
.art-coaster { position: absolute; left: 37%; bottom: 5%; width: 34%; z-index: 2; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); transform: rotate(6deg); aspect-ratio: 1; }

/* Marco de teléfono */
.phone { margin: 0; position: relative; background: #05090f; border: 2px solid rgba(255, 255, 255, 0.16); border-radius: 30px; padding: 8px; box-shadow: var(--shadow); }
.phone img { border-radius: 22px; width: 100%; }
.phone figcaption { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; font-size: 0.85rem; font-weight: 500; color: var(--muted); }

/* ---------- Números ---------- */
.numbers { background: var(--ink-2); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; }
.stat { display: flex; flex-direction: column-reverse; padding: 28px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-soft); }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 24px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.note { font-size: 0.95rem; color: var(--muted); }
.note.center { text-align: center; max-width: 700px; margin: 40px auto 0; }

/* La colección: bloque violeta de WorldCapitals */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy > p { color: var(--muted); }
.steps-mini { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.steps-mini li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: linear-gradient(145deg, rgba(83, 66, 160, 0.55), rgba(40, 23, 115, 0.55)); border: 1px solid rgba(183, 172, 224, 0.25); }
.steps-mini b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wc-green); color: #04170d; font-weight: 800; }
.steps-mini span { color: #d9d2f3; font-size: 0.98rem; }
.steps-mini strong { color: #fff; }
.phones { position: relative; display: flex; justify-content: center; gap: 28px; padding: 36px 0 52px; border-radius: var(--r-lg); background: radial-gradient(60% 70% at 50% 40%, rgba(83, 66, 160, 0.55), transparent 75%); }
.phones .phone { width: min(44%, 250px); }
.phone-a { transform: translateY(24px) rotate(-3deg); }
.phone-b { transform: translateY(-8px) rotate(3deg); }

/* ---------- Materiales ---------- */
.kit { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: stretch; }
.kit-item { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform 0.2s ease, border-color 0.2s ease; }
.kit-item:hover { transform: translateY(-4px); border-color: var(--teal); }
.kit-item img { width: 100%; margin-block: auto; border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
.kit-item figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.kit-item figcaption strong { color: var(--text-strong); font-family: var(--font-display); font-size: 1.02rem; }
.kit-poster { grid-column: span 3; }
.kit-tent { grid-column: span 4; }
.kit-coaster { grid-column: span 3; }
.kit-card { grid-column: span 3; }
.kit-sticker { grid-column: span 2; }
.kit-story { grid-column: span 2; }
.kit-banner { grid-column: span 4; }
.kit-feed { grid-column: span 3; }
.kit-coaster img { border-radius: 50%; }
.kit-sticker img { border-radius: 14px; }

/* ---------- Cómo funciona ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.timeline li { position: relative; padding: 26px 24px 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.timeline .n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px; background: var(--grad); color: #06221d; font-family: var(--font-display); font-weight: 800; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Para quién ---------- */
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who li { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.who strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--text-strong); }
.who strong::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--coral); }
.who span { color: var(--muted); font-size: 0.97rem; }

/* ---------- Ganancias ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.calc-copy h2 { margin-bottom: 16px; }
.calc-copy p { color: var(--muted); }
.calc-copy strong { color: var(--lime); }
.calc { padding: 30px; border-radius: var(--r-lg); background: linear-gradient(145deg, var(--violet-600), var(--violet-900)); border: 1px solid rgba(183, 172, 224, 0.3); box-shadow: var(--shadow); }
.calc label { display: block; margin-bottom: 18px; font-weight: 500; color: #e6e0fa; }
.calc input[type="range"] { width: 100%; accent-color: var(--lime); height: 28px; }
.calc-n { display: block; margin: 6px 0 22px; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: #fff; }
.calc-res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-res > div { padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 2px; }
.calc-l { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-200); font-weight: 700; }
.calc-res strong { font-family: var(--font-display); font-size: 2rem; color: var(--lime); line-height: 1.1; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--teal-soft); transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final { padding: 88px 0; background: var(--grad); color: #06221d; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.final-logo { margin-bottom: 14px; padding: 14px 24px; border-radius: var(--r-md); background: var(--violet-900); width: 240px; height: auto; }
.final h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; color: #06221d; margin-bottom: 8px; }
.final p { color: #0c3a31; font-size: 1.1rem; }
.final-sub { margin: 14px 0 0; font-size: 0.95rem !important; }
.final-sub a { color: #06221d; font-weight: 700; }

/* ---------- Pie ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { display: grid; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--text-strong); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.foot-links a:hover { color: var(--lime); }
.foot-note { margin: 0; font-size: 0.82rem; color: var(--muted); max-width: 760px; }

/* ---------- Adaptable ---------- */
@media (max-width: 960px) {
    .nav { display: none; }
    .top-tools { margin-left: auto; }
    .hero { padding: 40px 0 56px; }
    .hero-in { grid-template-columns: 1fr; gap: 32px; }
    .hero-art { aspect-ratio: 1 / 1.02; max-width: 520px; margin-inline: auto; width: 100%; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .section { padding: 64px 0; }
    .split, .calc-wrap { grid-template-columns: 1fr; gap: 36px; }
    .kit { grid-template-columns: repeat(6, 1fr); }
    .kit-poster, .kit-card { grid-column: span 3; }
    .kit-tent, .kit-banner { grid-column: span 6; }
    .kit-coaster, .kit-sticker { grid-column: span 3; }
    .kit-story, .kit-feed { grid-column: span 3; }
    .kit-coaster { order: 7; }
    .kit-banner { order: 8; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .who { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .brand-tag { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .cta-row .btn { width: 100%; }
    .hero-art { aspect-ratio: 1 / 1.02; }
    .stat { padding: 20px 14px; }
    .timeline, .who { grid-template-columns: 1fr; }
    .kit { grid-template-columns: 1fr 1fr; gap: 14px; }
    .kit-item { padding: 12px; }
    .kit-poster, .kit-card, .kit-coaster, .kit-sticker, .kit-story, .kit-feed { grid-column: span 1; }
    .kit-tent, .kit-banner { grid-column: span 2; }
    .phones { gap: 14px; }
    .calc { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
