:root {
    color-scheme: dark;
    --bg: #07080d;
    --panel: rgba(15, 17, 26, 0.82);
    --line: rgba(224, 190, 110, 0.22);
    --gold: #d9b86f;
    --gold-bright: #f2d99e;
    --text: #f6f1e7;
    --soft: #c9c3b7;
    --dim: #9c978d;
    --cyan: #7dd0f1;
    --display: "Cormorant Garamond", Georgia, serif;
    --body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-width: 320px;
    margin: 0;
    background:
        linear-gradient(180deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.88) 42%, rgba(7, 8, 13, 0.96) 100%),
        url("../img/mia-landing-gpt-focus.png") center top / cover fixed no-repeat;
    color: var(--text);
    font-family: var(--body);
    line-height: 1.65;
}

.ad-landing {
    width: min(1100px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 1.6rem) 0 clamp(1.6rem, 4vw, 3.5rem);
}

/* —— Brand compacto —— */
.ad-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    color: var(--gold-bright);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ad-brand img {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(242, 217, 158, 0.45);
    border-radius: 50%;
    object-fit: cover;
}

.ad-eyebrow,
.ad-choice-kicker {
    margin: 0 0 0.85rem;
    color: var(--gold-bright);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }

h1 em { color: var(--gold); font-style: italic; }

/* —— Hero = video primero (casi fullscreen útil) —— */
.ad-video-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: min(92vh, 900px);
    padding: 0.25rem 0 1.5rem;
    text-align: center;
}

.ad-video-hero__intro {
    width: min(820px, 100%);
    margin: 0 auto 1.1rem;
}

.ad-video-hero__intro .ad-eyebrow {
    margin-bottom: 0.55rem;
}

.ad-video-hero h1 {
    margin: 0 auto 0.65rem;
    max-width: 16ch;
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.92;
    background: linear-gradient(92deg, #fff8e6 0%, var(--gold-bright) 48%, #d7f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .ad-video-hero h1 { color: var(--text); background: none; }
}

.ad-video-hero__hint {
    margin: 0;
    color: var(--soft);
    font-size: clamp(0.95rem, 2vw, 1.08rem);
}

.ad-video-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(217, 184, 111, 0.34);
    border-radius: 18px;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(201, 169, 97, 0.12);
    aspect-ratio: 16 / 9;
}

.ad-video-shell--hero {
    width: min(1040px, 100%);
    max-height: min(62vh, 620px);
    border-radius: clamp(14px, 2vw, 22px);
}

/* En pantallas altas, el video gana más presencia */
@media (min-height: 780px) {
    .ad-video-shell--hero {
        max-height: min(68vh, 680px);
    }
}

.ad-video-shell iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ad-video-note {
    margin: 0.9rem 0 0;
    color: var(--dim);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.ad-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--gold-bright);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.28);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ad-scroll-cue:hover {
    transform: translateY(2px);
    border-color: rgba(217, 184, 111, 0.4);
    background: rgba(217, 184, 111, 0.08);
}

/* —— Contexto debajo del video —— */
.ad-context {
    width: min(720px, 100%);
    margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
    padding: clamp(1.5rem, 3vw, 2rem) 0 0;
    text-align: center;
}

.ad-context h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 0.95;
}

.ad-context .ad-lead {
    color: var(--text);
    font-size: clamp(1.02rem, 2vw, 1.15rem);
    font-weight: 600;
}

.ad-context p {
    color: var(--soft);
    font-size: 0.98rem;
}

.ad-context p:last-child { margin-bottom: 0; }

/* —— Choices —— */
.ad-choices {
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    background: rgba(8, 10, 16, 0.88);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.32);
    scroll-margin-top: 1.25rem;
}

.ad-section-heading { margin-bottom: 0.55rem; }

.ad-section-heading h2,
.ad-closing h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.92;
}

.ad-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.ad-choice--challenge { border-color: rgba(217, 184, 111, 0.36); }

.ad-choice-number {
    color: var(--gold);
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 700;
}

.ad-choice-kicker { margin-bottom: 0.15rem; color: var(--dim); }

.ad-choice h3 {
    margin-bottom: 0.25rem;
    font-size: 1.8rem;
    line-height: 1;
}

.ad-choice p:not(.ad-choice-kicker) {
    max-width: 590px;
    margin-bottom: 0;
    color: var(--soft);
    font-size: 0.9rem;
}

.ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ad-button:hover { transform: translateY(-2px); }

.ad-button--primary {
    background: linear-gradient(135deg, #9e7838, var(--gold), var(--gold-bright));
    box-shadow: 0 13px 30px rgba(217, 184, 111, 0.2);
    color: #0b0a09;
}

.ad-button--secondary {
    border-color: rgba(125, 208, 241, 0.38);
    background: rgba(125, 208, 241, 0.08);
    color: #c4efff;
}

.ad-button--secondary:hover { background: rgba(125, 208, 241, 0.16); }

.ad-closing {
    width: min(780px, 100%);
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 7rem) 0 2rem;
    text-align: center;
}

.ad-closing p:last-child {
    margin: 1.25rem auto 0;
    color: var(--soft);
}

@media (max-width: 780px) {
    body { background-position: 62% center; }
    .ad-video-hero { min-height: auto; padding-bottom: 1rem; }
    .ad-video-shell--hero { max-height: none; }
    .ad-choice { grid-template-columns: auto minmax(0, 1fr); }
    .ad-choice .ad-button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 480px) {
    .ad-landing { width: min(100% - 1.25rem, 1100px); }
    .ad-video-hero h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
    .ad-choices { padding: 1rem; border-radius: 20px; }
    .ad-choice { padding: 1.1rem; }
    .ad-video-shell--hero { border-radius: 14px; }
}
