/* ================================
   FONTS
   ================================ */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans/regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans/bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ================================
   TOKENS
   ================================ */
:root {
    --blue: #1a73e8;
    --blue-dark: #1558b8;
    --ink: #1a1a1a;
    --ink-soft: #4a4a4a;
    --muted: #7b7b7b;
    --line: #ebebeb;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --gold: #f5b800;
    --green: #34a853;
    --red: #df504a;

    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 2px 10px rgba(20,20,20,0.04);
    --shadow: 0 8px 30px rgba(20,20,20,0.06);
    --shadow-lg: 0 20px 60px rgba(20,20,20,0.10);

    --max: 1140px;
    --max-narrow: 760px;

    --space-section: clamp(72px, 10vw, 140px);
}

/* ================================
   RESET
   ================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { color: var(--ink-soft); }

/* ================================
   UTILITIES
   ================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--max-narrow); }
.narrow-text { max-width: 620px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.accent { color: var(--blue); }

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 18px;
}
.eyebrow.center { display: block; text-align: center; }

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.btn-primary:hover { border-color: var(--ink); }
.btn-filled {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 6px 20px rgba(26,115,232,0.25);
}
.btn-filled:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 1.02rem; }

/* ================================
   HEADER
   ================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a {
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: color .15s;
}
.nav-menu a:hover { color: var(--ink); }

@media (max-width: 820px) {
    .nav-menu { display: none; }
    .nav-cta { padding: 12px 18px; font-size: 0.85rem; }
}

/* ================================
   MEETING (Programar reunión, 2 cols)
   ================================ */
/* Barra de logo (sin enlace) para la plantilla reunión minimal */
.reunion-logobar { text-align: center; padding: clamp(28px, 5vw, 48px) 24px 0; }
.reunion-logobar img { display: inline-block; height: 44px; width: auto; }
.meeting { padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.meeting-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .meeting-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
.meeting-left h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; letter-spacing: -0.02em; }
.meeting-left h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.meeting-left p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.55; font-size: 1.05rem; }
.meeting-left ul { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.meeting-left li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
}
.meeting-left li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    color: var(--blue);
    font-weight: 700;
}
.meeting-right {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 16px 40px rgba(20,20,20,0.08);
    min-height: 600px;
}
.meeting-right iframe { width: 100%; border: 0; }

/* ================================
   JAPONÉS — sumi/hinomaru accent for the concept word
   ================================ */
.sumi {
    color: #bc002d;
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.hero h1 .sumi::before,
.problem h2 .sumi::before,
.concepts-list .sumi::before {
    content: '';
    position: absolute;
    top: -0.22em;
    right: 0.05em;
    width: 0.36em;
    height: 0.36em;
    background: #bc002d;
    border-radius: 50%;
    box-shadow: 0 0 0 0.05em rgba(188,0,45,0.15);
}

/* Serif italic accent for italiano-style concept word */
.serif {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-weight: 700;
    color: var(--blue);
}

/* ================================
   CONCEPTS — editorial inline list
   ================================ */
.concepts {
    padding: clamp(40px, 6vw, 70px) 0;
    text-align: center;
}
.concepts .eyebrow.center { margin-bottom: 22px; }
.concepts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 14px 18px;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    line-height: 1.4;
    margin: 0 auto;
    max-width: 820px;
}
.concepts-link {
    display: inline-block;
    transition: transform .15s ease, opacity .15s ease;
    font-weight: 700;
}
.concepts-link:hover { transform: translateY(-1px); }
.concepts-sep {
    color: var(--muted);
    opacity: 0.55;
    font-weight: 400;
}

/* ================================
   MARISQUERÍA — sea wave accent
   ================================ */
.marina {
    background: linear-gradient(90deg, #00b4d8 0%, #06d6a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
    text-decoration: underline wavy #0bc6b0;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

/* ================================
   ARROCERÍA — saffron accent
   ================================ */
.azafran {
    color: #e89723;
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.hero h1 .azafran::after,
.problem h2 .azafran::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 0.04em;
    height: 0.05em;
    background: linear-gradient(90deg, transparent, rgba(232,151,35,0.6), transparent);
    border-radius: 999px;
    transform: scaleX(1.05);
}

/* ================================
   BUFFET — multicolor variety accent
   ================================ */
.buffet-mix {
    background: linear-gradient(90deg, #e85d75 0%, #b06ab3 50%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* ================================
   MEXICANO — fiesta accent (rosa mexicano → naranja)
   ================================ */
.fiesta {
    background: linear-gradient(120deg, #d6336c 0%, #f0682b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}
.hero h1 .fiesta::after,
.problem h2 .fiesta::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 0.02em;
    height: 0.05em;
    background: linear-gradient(90deg, transparent, rgba(214,51,108,0.55), transparent);
    border-radius: 999px;
    transform: scaleX(1.05);
}

/* ================================
   BRUNCH — mimosa accent (dorado ámbar)
   ================================ */
.mimosa {
    background: linear-gradient(120deg, #e0902a 0%, #f4c95d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}
.hero h1 .mimosa::after,
.problem h2 .mimosa::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 0.02em;
    height: 0.05em;
    background: linear-gradient(90deg, transparent, rgba(224,144,42,0.6), transparent);
    border-radius: 999px;
    transform: scaleX(1.05);
}

/* ================================
   ASADORES — flame accent for the concept word
   ================================ */
.flame {
    background: linear-gradient(120deg, #b80e0e 0%, #ff5a00 25%, #ffb800 50%, #ff5a00 75%, #b80e0e 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 0 14px rgba(255, 90, 0, 0.22));
    animation: flame-flicker 3s ease-in-out infinite;
}
@keyframes flame-flicker {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .flame { animation: none; }
}
/* Subtle ember glow underline on hero only */
.hero h1 .flame {
    position: relative;
    display: inline-block;
}
.hero h1 .flame::after {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 0.06em;
    height: 0.06em;
    background: linear-gradient(90deg, transparent, rgba(232,93,26,0.55), transparent);
    border-radius: 2px;
}

/* ================================
   PARTNERS STRIP (above footer)
   ================================ */
.partners-strip {
    background: var(--bg-alt);
    padding: 28px 0;
}
.partners-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.partners-label {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.partners-strip img { max-height: 32px; width: auto; opacity: 0.85; }
.partners-img-desktop { display: block; }
.partners-img-mobile { display: none; }
@media (max-width: 720px) {
    .partners-strip { padding: 22px 0; }
    .partners-strip-inner {
        flex-direction: column;
        gap: 14px;
    }
    /* On mobile, use the desktop strip and let it scroll horizontally so
       the logos keep their readable size. The mobile composite is too small. */
    .partners-img-mobile { display: none; }
    .partners-img-desktop {
        display: block;
        max-height: 36px;
        width: auto;
    }
    .partners-strip .partners-scroll {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 4px 24px;
        margin-left: -24px;
        margin-right: -24px;
    }
    .partners-strip .partners-scroll::-webkit-scrollbar { display: none; }
    .partners-strip .partners-scroll img { max-height: 36px; }
}

/* ================================
   HERO
   ================================ */
.hero {
    padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
    text-align: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 620px; margin: 0 auto 40px; }
.hero-cta {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 600;
}
.hero-guarantee svg { color: var(--blue); }
.hero-bullets {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}
.hero-bullets li {
    position: relative;
    padding-left: 18px;
}
.hero-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

/* ================================
   LOGOS
   ================================ */
.logos-section { padding: 30px 0 var(--space-section); }
.logos-title {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 36px;
}
.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(20,20,20,0.04);
    min-height: 180px;
}
.logo-card img {
    max-height: 130px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
@media (min-width: 600px) {
    .logos-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
    .logos-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; }
    .logo-card { padding: 28px 22px; min-height: 220px; }
    .logo-card img { max-height: 160px; }
}

/* ================================
   SECTIONS COMMON
   ================================ */
section { padding: var(--space-section) 0; }
section h2 { margin-bottom: 18px; }
section .lede + * { margin-top: 24px; }

/* ================================
   PROBLEM
   ================================ */
.problem { text-align: center; }
.problem h2 { margin-bottom: 22px; }
.problem p { font-size: 1.1rem; }

/* ================================
   SOLUTION
   ================================ */
.solution { background: var(--bg-alt); }

/* ================================
   COMPARE
   ================================ */
.compare-grid {
    margin-top: 56px;
    display: grid;
    gap: 24px;
}
@media (min-width: 760px) {
    .compare-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.compare-col {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}
.compare-col h3 {
    font-size: 1.1rem;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.compare-them h3 { color: var(--muted); }
.compare-us {
    background: #fff;
    border-color: var(--blue);
    border-width: 2px;
    box-shadow: 0 20px 50px rgba(26,115,232,0.18);
    transform: translateY(-4px);
}
.compare-us h3 { color: var(--blue); }
.compare-col ul { display: flex; flex-direction: column; gap: 14px; }
.compare-col li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
    font-size: 0.98rem;
}
.compare-them li::before {
    content: '✕';
    position: absolute; left: 0; top: 0;
    color: var(--red);
    font-weight: 700;
}
.compare-them { border-color: #f5d6d4; }
.compare-us li {
    color: var(--ink);
}
.compare-us li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    color: var(--blue);
    font-weight: 700;
}

/* ================================
   METHOD / STEPS
   ================================ */
.method { background: var(--bg-alt); }
.steps {
    margin-top: 56px;
    display: grid;
    gap: 24px;
}
@media (min-width: 820px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.step {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 32px 36px;
    border: 1px solid var(--line);
    text-align: left;
}
.step-illu {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.step-illu img {
    max-height: 280px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
@media (max-width: 540px) {
    .step-illu { height: 240px; }
    .step-illu img { max-height: 240px; }
}
.step-num {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.step h3 { margin-bottom: 12px; font-size: 1.3rem; }
.step p { color: var(--ink-soft); }

/* ================================
   CALCULADORA CTA
   ================================ */
.calc-cta { padding: clamp(60px, 8vw, 110px) 0; }
.calc-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 60px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(20,20,20,0.06);
    position: relative;
}
.calc-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eaf2ff 0%, #d3e3fb 100%);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.calc-box .eyebrow { margin-bottom: 14px; }
.calc-box h2 { margin-bottom: 18px; }
.calc-box .lede { margin: 0 auto 30px; max-width: 540px; }
.calc-fineprint {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ================================
   GUARANTEE
   ================================ */
.guarantee-box {
    background: linear-gradient(140deg, #f3f8ff 0%, #eaf2ff 100%);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px);
    text-align: center;
    border: 1px solid #d9e6fb;
}
.guarantee-badge {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(26,115,232,0.3);
}
.guarantee-badge span { font-size: 2.4rem; line-height: 1; }
.guarantee-badge small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.guarantee-box h2 { margin-bottom: 18px; }

/* ================================
   LIMIT
   ================================ */
.limit {
    padding: clamp(80px, 14vw, 200px) 0;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.limit::before {
    content: '50';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(320px, 52vw, 680px);
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    letter-spacing: -0.05em;
    line-height: 0.8;
    pointer-events: none;
}
.limit > .container { position: relative; z-index: 1; }
.limit h2 { margin-bottom: 18px; color: #fff; }
.limit .accent { color: #6aa9f7; }
.limit .lede { color: rgba(255,255,255,0.7); }
.limit .eyebrow { color: #6aa9f7; }

/* ================================
   CASES
   ================================ */
.cases-carousel {
    margin-top: 56px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 92%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4%;
    scrollbar-width: none;
    padding: 4px 4% 24px;
    margin-left: 0;
    margin-right: 0;
}
.cases-carousel::-webkit-scrollbar { display: none; }

/* Container override: cases use wider 90% layout */
.cases > .container {
    max-width: 1800px;
    width: 90%;
    padding: 0;
}

@media (min-width: 760px) {
    .cases-carousel { grid-auto-columns: 48%; gap: 22px; padding-inline: 0; scroll-padding-inline: 0; }
}
@media (min-width: 1100px) {
    .cases-carousel { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; }
}

.case-card {
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: 0 20px 50px rgba(20,20,20,0.08);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
    min-height: 360px;
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,20,20,0.12); }

.case-card[data-color="blue"]::before  { background: var(--blue); }
.case-card[data-color="gold"]::before  { background: var(--gold); }
.case-card[data-color="green"]::before { background: var(--green); }
.case-card[data-color="red"]::before   { background: var(--red); }

.case-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.case-head img { height: 80px; width: auto; max-width: 220px; object-fit: contain; }
.case-city {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    font-weight: 600;
}
.case-headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
}
.case-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding: 4px;
    background: var(--bg-alt);
    border-radius: 16px;
}
.case-numbers > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
}
.case-numbers strong { font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.case-numbers small { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.case-roas strong { font-size: clamp(1.3rem, 2.2vw, 1.9rem) !important; line-height: 1; }
.case-headline { font-size: 1.5rem; }

.case-card[data-color="blue"]  .case-roas strong { color: var(--blue); }
.case-card[data-color="gold"]  .case-roas strong { color: var(--gold); }
.case-card[data-color="green"] .case-roas strong { color: var(--green); }
.case-card[data-color="red"]   .case-roas strong { color: var(--red); }

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.carousel-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 1.4rem;
    color: var(--ink);
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s;
}
.carousel-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials { background: var(--bg-alt); }
.testimonial-grid {
    margin-top: 56px;
    display: grid;
    gap: 24px;
}
@media (min-width: 820px) {
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}
.testimonial blockquote {
    font-size: 1.02rem;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: 22px;
    quotes: "“" "”";
}
.testimonial blockquote::before {
    content: open-quote;
    color: var(--blue);
    font-size: 2.4rem;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
    font-weight: 700;
}
.testimonial figcaption {
    font-size: 0.9rem;
    color: var(--muted);
}
.testimonial figcaption strong { color: var(--ink); display: block; }

/* ================================
   TEAM
   ================================ */
.team-grid {
    margin-top: 56px;
    display: grid;
    gap: 28px;
}
@media (min-width: 820px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Móvil: carrusel deslizable (no apilado) */
@media (max-width: 819px) {
    .team-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* full-bleed: los lados sangran hasta el borde para peek de la tarjeta contigua */
        margin-left: -24px;
        margin-right: -24px;
        padding: 6px 24px 14px;
        scroll-padding: 0 24px;
    }
    .team-grid::-webkit-scrollbar { display: none; }
    .team-grid .member {
        flex: 0 0 80%;
        min-width: 0;
        scroll-snap-align: center;
    }
}
.member {
    text-align: center;
    padding: 16px;
}
.member-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #eaf2ff 0%, #d3e3fb 100%);
    box-shadow: 0 16px 40px rgba(20,20,20,0.10);
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.member-photo-fallback {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: linear-gradient(135deg, #eaf2ff 0%, #d3e3fb 100%);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 16px 40px rgba(20,20,20,0.10);
}
.member h3 { font-size: 1.4rem; }
.member h3 { margin-bottom: 4px; }
.member-role {
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ================================
   FAQ
   ================================ */
.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: border-color .15s;
}
.faq details[open] { border-color: var(--blue); }
.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--blue);
    line-height: 1;
    transition: transform .2s;
    flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
    margin-top: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ================================
   CTA FINAL
   ================================ */
.cta-final {
    background: var(--ink);
    color: #fff;
    text-align: center;
}
.cta-final h2 { color: #fff; margin-bottom: 22px; }
.cta-final .lede { color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-final .btn-filled {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(255,255,255,0.18);
}
.cta-final .btn-filled:hover { background: var(--blue); color: #fff; }
.cta-fineprint {
    margin-top: 24px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ================================
   VIDEO TESTIMONIALS
   ================================ */
.video-grid {
    margin-top: 48px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 24px 16px;
    margin-left: -24px;
    margin-right: -24px;
}
.video-grid::-webkit-scrollbar { display: none; }
.video-slot { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 820px) {
    .video-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        overflow: visible;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .video-slot { flex: none; }
}
.video-slot {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    box-shadow: 0 16px 40px rgba(20,20,20,0.10);
}
.video-slot iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.video-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    pointer-events: none;
}

/* ================================
   FLOATING CALC CTA
   ================================ */
.calc-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px 14px 18px;
    background: var(--blue);
    border: none;
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(26,115,232,0.42);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s, background .2s;
    animation: calc-float-pulse 2.6s ease-in-out infinite;
}
.calc-float:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(26,115,232,0.5);
}
.calc-float svg { color: #fff; flex-shrink: 0; }
.calc-float.hidden {
    opacity: 0;
    transform: translateY(80px);
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}

@keyframes calc-float-pulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(26,115,232,0.42); }
    50%      { box-shadow: 0 14px 36px rgba(26,115,232,0.42), 0 0 0 14px rgba(26,115,232,0); }
    20%      { box-shadow: 0 14px 36px rgba(26,115,232,0.42), 0 0 0 0 rgba(26,115,232,0.45); }
}

@media (max-width: 540px) {
    .calc-float span { display: none; }
    .calc-float { padding: 16px; bottom: 18px; right: 18px; }
}

/* ================================
   FADE-IN ON SCROLL
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
.fade-in.in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}
.footer-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
}
.footer-row img { margin-right: auto; } /* logo a la izquierda, links agrupados a la derecha */
.footer-row a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-row a:hover { color: var(--ink); }
.footer-copy {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.82rem;
}

/* ================================
   MOBILE TWEAKS
   ================================ */
@media (max-width: 540px) {
    body { font-size: 16px; }
    .hero-bullets { gap: 16px; }

    /* Cases mobile */
    .case-card { padding: 28px 18px 22px; }
    .case-headline { font-size: 1.35rem; }

    .case-numbers {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 6px;
    }
    .case-numbers > div { padding: 16px 8px; }
    .case-numbers strong { font-size: 1.4rem; word-break: normal; }
    .case-roas {
        grid-column: 1 / -1;
        order: -1;
        background: linear-gradient(135deg, #eaf2ff 0%, #f7faff 100%) !important;
        padding: 22px 12px !important;
    }
    .case-roas strong { font-size: 2.2rem !important; }
}

/* Mobile: logos as single-row scrollable carousel */
@media (max-width: 720px) {
    .logos-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 4px 24px 16px;
        margin-left: -24px;
        margin-right: -24px;
        scrollbar-width: none;
    }
    .logos-grid::-webkit-scrollbar { display: none; }
    .logo-card {
        flex: 0 0 38%;
        scroll-snap-align: start;
        min-height: 150px;
        padding: 14px 10px;
    }
    .logo-card img { max-height: 110px; }
    .logos-section .logos-dots { display: flex; }
}

.logos-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.logos-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: background .2s, width .2s;
}
.logos-dots span.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
}

/* ================================
   SEARCH DEMAND (mapa con búsquedas)
   ================================ */
.search-demand { padding: 0 0 var(--space-section); }
.demand-header {
    text-align: center;
    padding: clamp(60px, 8vw, 90px) 24px clamp(40px, 5vw, 50px);
}
.demand-header h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.demand-header .lede { font-size: clamp(1rem, 1.4vw, 1.15rem); }

.demand-stage {
    width: 100%;
    height: clamp(520px, 60vw, 720px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #f5f7fb;
}
.demand-stage .map {
    position: absolute; inset: 0;
    pointer-events: none;
    border: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9);
}
.demand-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(245,248,255,0.32) 100%);
    pointer-events: none;
}
.search-demand .paths-layer,
.search-demand .dots-layer {
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
    width: 100%; height: 100%;
}
.search-demand .path-geom { fill: none; stroke: none; }
.search-demand .walk-dot {
    position: absolute;
    width: 7px; height: 7px;
    background: var(--blue);
    border-radius: 50%;
    margin: -3.5px 0 0 -3.5px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.18);
}

/* Pin */
.search-demand .pin-wrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    animation: gml-pin-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s forwards;
}
.search-demand .pin {
    width: 64px; height: 64px;
    filter: drop-shadow(0 8px 16px rgba(20,20,20,0.25));
    display: block;
}
.search-demand .pin-pulse {
    position: absolute;
    bottom: 6px; left: 50%;
    transform: translateX(-50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(26,115,232,0.35);
    animation: gml-pin-pulse 2s ease-out infinite;
}
.search-demand .pin-label {
    position: absolute;
    bottom: -36px; left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
@keyframes gml-pin-in {
    from { opacity: 0; transform: translate(-50%, -120%) scale(0.6); }
    to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}
@keyframes gml-pin-pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(3.5); opacity: 0; }
}

/* Badges flotantes */
.search-demand .badges-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.demand-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(13,28,48,0.14), 0 2px 6px rgba(13,28,48,0.06);
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 240px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(12px);
    animation: gml-badge-in 0.6s cubic-bezier(0.34, 1.5, 0.5, 1) forwards;
}
.demand-badge:nth-child(1) { animation-delay: 0.6s; }
.demand-badge:nth-child(2) { animation-delay: 1.0s; }
.demand-badge:nth-child(3) { animation-delay: 1.4s; }
.demand-badge:nth-child(4) { animation-delay: 1.8s; }
.demand-badge:nth-child(5) { animation-delay: 2.2s; }
.demand-badge:nth-child(6) { animation-delay: 2.6s; }
@keyframes gml-badge-in { to { opacity: 1; transform: translateY(0); } }
.demand-badge-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.demand-badge-icon svg { width: 14px; height: 14px; }
.demand-badge-text { line-height: 1.25; }
.demand-badge-query { font-size: 14px; font-weight: 700; color: var(--ink); }
.demand-badge-volume { font-size: 12px; color: var(--muted); margin-top: 2px; }
.demand-badge-volume strong { color: var(--blue); }

/* Posiciones de los 6 badges */
.demand-badge.b1 { top: 18%; left: 6%; }
.demand-badge.b2 { top: 12%; right: 8%; }
.demand-badge.b3 { bottom: 28%; left: 8%; }
.demand-badge.b4 { bottom: 18%; right: 8%; }
.demand-badge.b5 { top: 70%; left: 38%; }
.demand-badge.b6 { top: 36%; right: 30%; }

.demand-disclaimer {
    text-align: center;
    padding: 26px 24px 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
    .search-demand .walk-dot { opacity: 0.6 !important; }
    .demand-badge, .search-demand .pin-wrap { animation: none !important; opacity: 1 !important; transform: translate(-50%, -100%); }
    .demand-badge { transform: translateY(0); }
    .search-demand .pin-pulse { animation: none; }
}

/* Mobile */
@media (max-width: 720px) {
    .demand-stage { height: 600px; }
    .demand-badge { min-width: 0; padding: 10px 12px; }
    .demand-badge-query { font-size: 12px; line-height: 1.2; }
    .demand-badge-volume { font-size: 10px; }
    .demand-badge-icon { width: 24px; height: 24px; }
    .demand-badge-icon svg { width: 12px; height: 12px; }
    .demand-badge.b5, .demand-badge.b6 { display: none; }
    /* Posiciones desfasadas: cada badge a una altura distinta para evitar parejas alineadas */
    .demand-badge.b1 { top: 10%;  left: 3%; }
    .demand-badge.b2 { top: 26%; right: 3%; }
    .demand-badge.b3 { bottom: 28%; left: 3%; }
    .demand-badge.b4 { bottom: 12%; right: 3%; }
    .search-demand .pin { width: 52px; height: 52px; }
    .search-demand .pin-label { font-size: 10px; padding: 5px 10px; bottom: -28px; }
}

/* ===========================================================
   CLIENT LOGOS — marquee carousel (single row, auto-scroll)
   =========================================================== */
.client-logos {
    padding: 40px 0 30px;
    background: #fff;
    overflow: hidden;
}
.client-logos-title {
    text-align: center;
    color: var(--muted, #6b7280);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin: 0 0 22px;
}
.client-logos-marquee {
    position: relative;
    overflow: hidden;
    /* Soft fade on both sides */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.client-logos-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: client-logos-scroll 38s linear infinite;
}
.client-logos-marquee:hover .client-logos-track { animation-play-state: paused; }
.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
}
.client-logo img {
    max-height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: opacity .25s ease, filter .25s ease;
}
.client-logo img:hover { filter: grayscale(0); opacity: 1; }

@keyframes client-logos-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 720px) {
    .client-logos { padding: 28px 0 22px; }
    .client-logos-track { gap: 40px; animation-duration: 26s; }
    .client-logo { height: 40px; }
    .client-logo img { max-height: 40px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    .client-logos-track { animation: none; }
}

/* =================================================================
   SEARCH DEMAND v2 — clon del bloque con opción de foto por badge
   Reutiliza todos los estilos de v1 (.search-demand, .demand-stage,
   .demand-badge…). Aquí solo añadimos lo específico de v2:
   - estructura interna del badge en columna (info + foto)
   - estilo de la foto 16:9
   - stage un poco más alto cuando hay badges con foto
   ================================================================= */
.search-demand-v2 .demand-stage { height: clamp(680px, 70vw, 820px); }

.search-demand-v2 .demand-badge {
    /* override del flex-row del v1: ahora el badge es contenedor en columna */
    display: flex;
    flex-direction: column;
    padding: 0;            /* el padding lo lleva ahora .demand-badge-info */
    gap: 0;
    overflow: hidden;
    align-items: stretch;
}
.search-demand-v2 .demand-badge-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}
.search-demand-v2 .demand-badge-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
}
.search-demand-v2 .demand-badge.has-photo {
    box-shadow: 0 16px 38px rgba(13,28,48,0.18), 0 2px 6px rgba(13,28,48,0.06);
}

/* En móvil eliminamos las fotos para mantener el comportamiento de v1 */
@media (max-width: 720px) {
    .search-demand-v2 .demand-badge-photo { display: none; }
    .search-demand-v2 .demand-badge.has-photo { box-shadow: 0 12px 30px rgba(13,28,48,0.14), 0 2px 6px rgba(13,28,48,0.06); }
    .search-demand-v2 .demand-stage { height: 600px; }
    /* En móvil sólo mostramos 4 badges escalonados (igual que v1). La regla
       global `.demand-badge.b5, .b6 { display:none }` quedaba pisada por
       `.search-demand-v2 .demand-badge { display:flex }`, así que la repetimos
       aquí con más especificidad. */
    .search-demand-v2 .demand-badge.b5,
    .search-demand-v2 .demand-badge.b6 { display: none; }
}

/* ===========================================================
   THANKS PAGE — layout minimal post-reserva
   =========================================================== */
.thanks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #fafbfd 0%, #f3f6fb 100%);
    padding: 40px 24px 60px;
}
.thanks-logo {
    /* Logo anclado arriba, centrado horizontalmente */
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    flex: 0 0 auto;
}
.thanks-logo img {
    display: inline-block;
    height: 48px;
    width: auto;
}
.thanks-inner {
    width: 100%;
    max-width: 760px;
    /* El contenido (eyebrow → h1 → subtítulo → vídeo → CTAs) ocupa el resto
       de la altura y queda verticalmente centrado entre logo y borde inferior.
       align-items: center evita que las margenes auto de los hijos (vídeo,
       CTAs…) colapsen a 0 width dentro del flex column. */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}
/* Cuando los hijos están dentro de .thanks-inner (flex column con
   align-items:center) los elementos a ancho completo necesitan width:100%
   para no colapsar a su contenido. */
.thanks-inner > * { max-width: 100%; }
.thanks-video { width: 100%; }
.thanks h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 12px 0 18px;
}
.thanks h1 .accent { color: var(--blue); }
.thanks .lede {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--ink-soft, #2a3552);
    line-height: 1.55;
    max-width: 600px;
    margin: 0 auto 40px;
}
.thanks-video {
    max-width: 720px;
    margin: 0 auto 40px;
}
.thanks-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(11,23,48,0.18);
    background: #000;
}
.thanks-video-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.thanks-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}
.thanks-cta-secondary {
    color: var(--muted, #6b7280);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.thanks-cta-secondary:hover { color: var(--ink, #0b1730); }

@media (max-width: 540px) {
    .thanks { padding: 40px 18px; }
    .thanks-logo { margin-bottom: 28px; }
    .thanks .lede { margin-bottom: 28px; }
    .thanks-video { margin-bottom: 28px; }
}

/* =================================================================
   HERO V2 — variante con vídeo de YouTube (facade pattern)
   Reusa los estilos de .hero, .eyebrow, .lede, .hero-cta, etc.
   Solo añade el grid de 2 columnas y los estilos del vídeo.
   ================================================================= */
.hero-v2-container {
    display: grid;
    gap: clamp(24px, 3.5vw, 44px);
}
.hero-v2-head h1 { margin-bottom: 0; }
.hero-v2-bottom .lede { margin-bottom: 32px; }

/* Meta row: bullets + (en lateral) la garantía, en la misma línea centrada */
.hero-v2-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 28px;
}
.hero-guarantee-meta { margin: 0; }

/* ---- BASE (mobile-first, ambos layouts) ----
   En móvil los dos layouts se ven IGUAL: apilado y centrado, orden DOM
   head → video → bottom (eyebrow+H1, vídeo, lede+CTA+meta). Es la versión
   "vídeo centrado". El layout lateral solo diverge a 2 columnas en ≥900px. */
.hero-v2-container { text-align: center; max-width: 1080px; margin: 0 auto; }
.hero-v2-video { max-width: 880px; margin-left: auto; margin-right: auto; }
/* Padding superior a la mitad del hero normal (la cabecera queda más cerca) */
.hero-v2 { padding-top: clamp(30px, 4.5vw, 60px); }
/* H1 más contenido para que "Más reservas para tu restaurante," quepa en
   una sola línea → título en 2 líneas (aplica a ambos en ≥700px salvo que
   el layout lateral lo sobreescriba en ≥900px). */
@media (min-width: 700px) {
    .hero-v2-head h1 { font-size: clamp(2rem, 4vw, 3.05rem); }
}

/* ---- Layout LATERAL (desktop ≥900px) ----
   Fila superior: head (izq) + vídeo (der), alineados arriba.
   Fila inferior: bottom a ancho completo, centrado.
   Restaura el padding superior y ancho del hero original. */
@media (min-width: 900px) {
    .hero-v2-lateral { padding-top: clamp(60px, 9vw, 120px); }
    .hero-v2-lateral .hero-v2-container { max-width: var(--max); }
    .hero-v2-lateral .hero-v2-video { max-width: none; }
    .hero-v2-lateral .hero-v2-container {
        /* Vídeo ~30% más grande que la versión anterior: columna de vídeo
           ahora algo mayor que la de texto. El texto queda en ~4 líneas. */
        grid-template-columns: 1fr 1.12fr;
        grid-template-areas:
            "head  video"
            "bottom bottom";
        align-items: start;            /* alineado superior: H1 y vídeo arrancan juntos */
        column-gap: clamp(28px, 3.5vw, 52px);
        text-align: left;
    }
    .hero-v2-lateral .hero-v2-head   { grid-area: head; }
    .hero-v2-lateral .hero-v2-video  { grid-area: video; }
    .hero-v2-lateral .hero-v2-bottom { grid-area: bottom; text-align: center; }
    /* Texto algo más grande (la versión de 4 líneas que gustó más) */
    .hero-v2-lateral .hero-v2-head h1 { font-size: clamp(2.3rem, 3.7vw, 3.3rem); }
    /* El bloque inferior centrado y con ancho de lectura cómodo */
    .hero-v2-lateral .hero-v2-bottom .lede { margin-left: auto; margin-right: auto; }
}

/* En móvil ambos layouts colapsan a columna única centrada (orden DOM natural) */

/* ===== Vídeo (compartido entre los 2 layouts) ===== */
.hero-v2-video { width: 100%; }
/* Contenedor cuando hay autoplay (reproductor cargado directamente) */
.hero-v2-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 22px 60px rgba(11,23,48,0.20);
}
.hero-v2-video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #0b1730;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 22px 60px rgba(11,23,48,0.20);
    transition: transform .25s ease;
}
.hero-v2-video-facade::after {
    /* Tinte oscuro sutil para resaltar el botón play sobre cualquier poster */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.30) 100%);
    pointer-events: none;
    transition: opacity .25s ease;
}
.hero-v2-video-facade:hover { transform: translateY(-2px); }
.hero-v2-video-facade:hover::after { opacity: 0.6; }

/* Botón play */
.hero-v2-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--blue, #1a73e8);
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(11,23,48,0.32);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
    z-index: 2;
}
.hero-v2-video-play svg {
    width: 38px;
    height: 38px;
    margin-left: 4px; /* compensar el centroide visual del triángulo */
}
.hero-v2-video-facade:hover .hero-v2-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
    box-shadow: 0 16px 40px rgba(11,23,48,0.40);
}

/* Cuando ya se ha hecho click en play y el iframe está cargado */
.hero-v2-video-facade.is-playing {
    cursor: default;
    transform: none;
    background-image: none !important;
    background-color: #000;
}
.hero-v2-video-facade.is-playing::after { display: none; }
.hero-v2-video-iframe,
.hero-v2-video-el {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.hero-v2-video-el { object-fit: cover; background: #000; }

@media (max-width: 720px) {
    .hero-v2-video-play { width: 64px; height: 64px; }
    .hero-v2-video-play svg { width: 28px; height: 28px; margin-left: 3px; }
}

/* =================================================================
   SEARCH PAGES — "Una página para cada búsqueda" (mockups + beneficios)
   ================================================================= */
.search-pages { background: #f9fafb; padding: clamp(70px, 9vw, 120px) 0; }
.search-pages .sp-head { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 5vw, 64px); }
.sp-eyebrow { display: inline-block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 22px; }
.sp-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #111; margin-bottom: 24px; }
.sp-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.5; max-width: 760px; margin: 0 auto; }
.sp-lede strong { color: var(--ink); font-weight: 700; }

.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.sp-card { min-width: 0; }
.sp-card img { width: 100%; max-width: 100%; height: auto; display: block; }

.sp-benefits { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 44px clamp(28px, 3vw, 50px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.sp-benefit { display: flex; gap: 18px; align-items: flex-start; }
.sp-benefit .b-icon { flex-shrink: 0; width: 52px; height: 52px; color: var(--blue); }
.sp-benefit .b-icon svg { width: 52px; height: 52px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-benefit h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.2; }
.sp-benefit p { font-size: 0.98rem; color: var(--muted); line-height: 1.4; }
.sp-benefit p strong { color: var(--ink-soft); font-weight: 700; }

@media (max-width: 900px) {
    .sp-cards { display: block; max-width: 460px; margin: 0 auto; }
    .sp-cards .sp-card { margin-bottom: 40px; }
    .sp-cards .sp-card:last-child { margin-bottom: 0; }
    .sp-benefits { grid-template-columns: 1fr 1fr; gap: 28px 24px; border-radius: 22px; }
}
@media (max-width: 520px) {
    .sp-benefits { grid-template-columns: 1fr; }
}

/* =================================================================
   CÓDIGO GASTROMAPS — carrusel de principios
   ================================================================= */
.codigo { background: #fff; padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.codigo .cg-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 4vw, 56px); }
.cg-eyebrow { display: inline-block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 18px; }
.cg-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #111; margin-bottom: 20px; }
.cg-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.5; }

.cg-viewport { position: relative; }
/* Track controlado por transform (JS) → bucle infinito. Padding vertical
   generoso para que la sombra de la tarjeta activa se difumine sin cortes. */
.cg-track { display: flex; gap: 26px; padding: 30px 0 56px; will-change: transform; }
.cg-card { flex: 0 0 400px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 52px 40px; text-align: center; opacity: 0.45; transform: scale(0.92); transition: opacity .4s ease, transform .4s ease, box-shadow .4s ease; }
.cg-card.is-active { opacity: 1; transform: scale(1); box-shadow: 0 22px 55px rgba(20,30,60,0.14); border-color: #fff; }
.cg-icon { width: 80px; height: 80px; border-radius: 50%; background: #eef3fb; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.cg-icon svg { width: 38px; height: 38px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cg-num { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.cg-card h3 { font-size: 1.45rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.01em; }
.cg-card p { font-size: 1.02rem; color: var(--muted); line-height: 1.5; }

.cg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20,30,60,0.12); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; color: var(--ink); transition: transform .15s ease, box-shadow .2s ease; }
.cg-arrow:hover { box-shadow: 0 14px 36px rgba(20,30,60,0.18); transform: translateY(-50%) scale(1.05); }
.cg-arrow svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cg-arrow.prev { left: 8px; }
.cg-arrow.next { right: 8px; }

.cg-dots { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.cg-dots button { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe2; border: 0; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.cg-dots button.is-active { background: var(--blue); transform: scale(1.15); }

@media (max-width: 900px) {
    .cg-track { gap: 18px; padding: 24px 0 48px; }
    .cg-card { flex-basis: 310px; padding: 40px 28px; }
    .cg-card h3 { font-size: 1.25rem; }
    .cg-arrow { width: 52px; height: 52px; }
}
@media (max-width: 520px) {
    .cg-track { padding: 22px 0 42px; }
    .cg-card { flex-basis: 280px; }
    .cg-arrow.prev { left: -6px; }
    .cg-arrow.next { right: -6px; }
}

/* =================================================================
   CÓMO FUNCIONA — 3 pasos con mockups (estático, sin carrusel)
   ================================================================= */
.howto { background: var(--bg-alt); padding: clamp(70px, 9vw, 120px) 0; }
.howto .hw-head { text-align: center; max-width: 1000px; margin: 0 auto clamp(44px, 5vw, 64px); }
.hw-eyebrow { display: inline-block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 22px; }
.hw-title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: #111; }
.hw-title .accent { color: var(--blue); }

.hw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.hw-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 44px 38px; display: flex; flex-direction: column; box-shadow: 0 14px 40px rgba(20,30,60,0.05); }
.hw-step { font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 20px; }
.hw-card h3 { font-size: 1.85rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 16px; }
.hw-card p { font-size: 1.05rem; color: var(--muted); line-height: 1.5; margin-bottom: 30px; }
.hw-mockup { margin-top: auto; border-radius: 16px; overflow: hidden; border: 1px solid #eef0f4; box-shadow: 0 8px 24px rgba(20,30,60,0.06); }
.hw-mockup img { width: 100%; display: block; }

@media (max-width: 980px) {
    .hw-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 24px; }
    .hw-card h3 { font-size: 1.6rem; }
}

/* ================================
   LEGAL (textos legales)
   ================================ */
.legal { padding: 0 0 clamp(60px, 8vw, 100px); }
.legal-logo { text-align: center; padding: clamp(32px, 5vw, 56px) 24px clamp(28px, 4vw, 44px); }
.legal-logo img { display: inline-block; height: auto; width: 170px; max-width: 60%; }
.legal-inner { max-width: 760px; }
.legal-title {
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111;
    text-align: center;
    margin-bottom: 12px;
}
.legal-updated {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: clamp(36px, 5vw, 56px);
}
.legal-body { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft, #3a3a3a); }
.legal-body h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #111;
    margin: 44px 0 14px;
}
.legal-body h3 {
    font-size: clamp(1.12rem, 1.8vw, 1.28rem);
    font-weight: 700;
    color: #111;
    margin: 30px 0 10px;
}
.legal-body p { margin: 0 0 18px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px; padding-left: 24px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { text-decoration: none; }
.legal-body strong { color: #111; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 0.98rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line, #ebebeb); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-body th { background: #f7f8fa; font-weight: 700; color: #111; }
.legal-body h2:first-child, .legal-body h3:first-child { margin-top: 0; }
