/* Educanina landing — premium, perro izquierda, contenido derecha */

:root {
    --landing-font: "DM Sans", system-ui, sans-serif;
    --landing-font-display: "Cormorant Garamond", Georgia, serif;
    --landing-bg: #0a0c10;
    --landing-accent: #c9a227;
    --landing-accent-light: #e4c45a;
    --landing-accent-hover: #d4b44a;
    --landing-text: #f8f6f2;
    --landing-text-muted: rgba(248, 246, 242, 0.78);
    --landing-panel-bg: rgba(12, 16, 22, 0.88);
    --landing-border: rgba(255, 255, 255, 0.1);
    --landing-border-glow: rgba(201, 162, 39, 0.25);
    --landing-radius: 16px;
    --landing-radius-sheet: 20px;
    --landing-safe-col: 42%;
    --landing-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Afinar encuadre del perro en móvil si hace falta */
    --landing-video-focus-x: 18%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.landing-body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: var(--landing-font);
    color: var(--landing-text);
    background: var(--landing-bg);
    -webkit-font-smoothing: antialiased;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.landing {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

/* --- Media (vídeo / poster) --- */
.landing-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.landing-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center;
}

.landing-media-fallback {
    display: none;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 35% center;
}

.landing-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 10, 14, 0.08) 0%,
        rgba(8, 10, 14, 0.28) 40%,
        rgba(8, 10, 14, 0.72) 58%,
        rgba(8, 10, 14, 0.9) 100%
    );
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .landing-video {
        display: none;
    }
    .landing-media-fallback {
        display: block;
    }
}

/* --- Stage: grid 42% vacío + panel --- */
.landing-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--landing-safe-col) 1fr;
    align-items: center;
    min-height: 100%;
    padding: 1.5rem 2.5rem 1.5rem 1.25rem;
}

.landing-safe-zone {
    position: relative;
    align-self: end;
    min-height: 0;
}

.landing-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.landing-social-link--icon {
    padding: 0.6rem;
    border-radius: 50%;
}

.landing-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--landing-text);
    text-decoration: none;
    background: rgba(10, 12, 16, 0.55);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    border: 1px solid var(--landing-border-glow);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.landing-social-link:hover {
    color: var(--landing-accent-light);
    border-color: rgba(201, 162, 39, 0.45);
    background: rgba(10, 12, 16, 0.72);
}

.landing-social-icon {
    flex-shrink: 0;
    color: var(--landing-accent-light);
}

@media (min-width: 768px) {
    .landing-social--desktop {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
    }

    .landing-social--mobile {
        display: none;
    }
}

.landing-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 560px;
    width: 100%;
    max-height: calc(100dvh - 3rem);
    margin-left: auto;
}

.landing-panel {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin-left: 0;
    /* Scroll del formulario; el footer queda fijo debajo del panel */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 2rem 2.25rem 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(14, 18, 26, 0.92) 0%,
        rgba(10, 12, 16, 0.88) 100%
    );
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.5),
        0 0 48px rgba(201, 162, 39, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

/* Scrollbar dorado fino (WebKit) */
.landing-panel::-webkit-scrollbar {
    width: 4px;
}
.landing-panel::-webkit-scrollbar-track {
    background: transparent;
}
.landing-panel::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.4);
    border-radius: 2px;
}
.landing-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.65);
}
/* Firefox */
.landing-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 39, 0.4) transparent;
}

/* Fade indicator: gradiente sticky al fondo del panel */
.landing-scroll-hint {
    display: none; /* oculto hasta que JS detecte overflow */
    position: sticky;
    top: 0;
    z-index: 10;
    height: 0;
    pointer-events: none;
}
.landing-panel.has-scroll-hint .landing-scroll-hint {
    display: block;
    height: 3.5rem;
    margin: 0 -2.25rem;
    /* Posicionado arriba sticky, pero el efecto visual es en la parte inferior
       usando order invertido: lo ponemos antes del contenido y usamos
       transform para que aparezca al fondo */
}

/* El fade de verdad: pseudo sobre el panel, fixed a su borde inferior */
.landing-panel::after {
    content: "";
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    height: 4rem;
    margin: -4rem -2.25rem 0;
    background: linear-gradient(
        to top,
        rgba(10, 12, 16, 0.96) 0%,
        rgba(10, 12, 16, 0.7) 40%,
        transparent 100%
    );
    border-radius: 0 0 var(--landing-radius) var(--landing-radius);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}
/* Ocultar fade cuando ya no hay scroll (panel al fondo) */
.landing-panel.is-scroll-bottom::after {
    opacity: 0;
}
/* Ocultar fade cuando el panel no necesita scroll */
.landing-panel.no-overflow::after {
    display: none;
}

.landing-brand {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--landing-border);
    position: relative;
}

.landing-brand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--landing-accent), transparent);
    border-radius: 2px;
}

.landing-brand-main {
    display: block;
    font-family: var(--landing-font-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
}

.landing-brand-sub {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--landing-text-muted);
    margin-top: 0.35rem;
    letter-spacing: 0.04em;
}

.landing-brand-location {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--landing-accent-light);
    margin-top: 0.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Progress dots */
.landing-progress {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.landing-progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.35s var(--landing-ease), transform 0.35s var(--landing-ease), width 0.35s var(--landing-ease);
}

.landing-progress-dot.is-done {
    background: rgba(201, 162, 39, 0.55);
}

.landing-progress-dot.is-current {
    width: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--landing-accent), var(--landing-accent-light));
    transform: scale(1.05);
}

/* --- Steps --- */
.landing-steps {
    position: relative;
    min-height: 200px;
}

.landing-step {
    display: none;
    animation: landingFadeIn 0.5s var(--landing-ease);
}

.landing-step.is-active {
    display: block;
}

.landing-step[hidden] {
    display: none !important;
}

@keyframes landingFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-title {
    font-family: var(--landing-font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.landing-title-sm {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.landing-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--landing-accent-light);
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.65rem;
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid var(--landing-border-glow);
    border-radius: 999px;
}

.landing-lead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--landing-text-muted);
    margin: 0 0 1rem;
}

.landing-lead strong {
    color: var(--landing-text);
    font-weight: 600;
}

.landing-lead-tight {
    margin-bottom: 0.85rem;
    font-size: 0.9375rem;
}

.landing-lead-cta {
    margin-bottom: 1.15rem;
}

.landing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.landing-pills li {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: var(--landing-accent-light);
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.28);
}

.landing-pain {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--landing-accent);
    border-radius: 0 10px 10px 0;
}

.landing-pain li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--landing-text-muted);
    margin-bottom: 0.35rem;
}

.landing-pain li:last-child {
    margin-bottom: 0;
}

.landing-highlight {
    margin: 0 0 1.15rem;
    padding: 1rem 1.1rem;
    background: rgba(201, 162, 39, 0.07);
    border: 1px solid var(--landing-border-glow);
    border-radius: 12px;
}

.landing-micro {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

.landing-micro-legal {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.landing-micro-cta {
    margin-top: 0.5rem;
    margin-bottom: 1.35rem;
    font-size: 0.9rem;
    color: rgba(248, 246, 242, 0.88);
}

.landing-step[data-step="intro"] > .landing-btn {
    margin-top: 0.25rem;
}

.landing-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--landing-text-muted);
    margin-bottom: 0.5rem;
}

.landing-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.landing-input:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landing-input:focus {
    outline: none;
    border-color: var(--landing-border-glow);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
    background: rgba(255, 255, 255, 0.09);
}

.landing-input::placeholder {
    color: rgba(248, 246, 242, 0.4);
    text-transform: none;
    font-weight: 400;
}

.landing-textarea {
    resize: vertical;
    min-height: 4.75rem;
    line-height: 1.5;
}

.landing-otro-wrap {
    margin-top: 0.85rem;
}

.landing-hint {
    font-size: 0.875rem;
    color: var(--landing-accent-light);
    margin: 0.25rem 0 0.5rem;
}

.landing-error {
    color: #f0b4b4;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.landing-call-direct {
    margin: 1rem 0 1.15rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--landing-text-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
}

.landing-call-direct a {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.25rem;
    font-weight: 600;
    color: var(--landing-accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.landing-call-direct a:hover {
    color: var(--landing-text);
}

.landing-step-success .landing-call-direct {
    margin-top: 1.35rem;
    margin-bottom: 0;
}

.landing-turnstile {
    margin: 1rem 0 0.5rem;
    min-height: 65px;
}

/* Razas */
.landing-raza-list {
    max-height: 180px;
    overflow-y: auto;
    margin: 0.5rem 0 0;
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    scrollbar-width: thin;
    scrollbar-color: var(--landing-accent) transparent;
}

.landing-raza-option {
    display: block;
    width: 100%;
    padding: 0.7rem 1.1rem;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--landing-text);
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 1px solid var(--landing-border);
    transition: background 0.2s;
}

.landing-raza-option:last-child {
    border-bottom: none;
}

.landing-raza-option:hover,
.landing-raza-option.is-selected {
    background: rgba(201, 162, 39, 0.15);
}

.landing-raza-option.is-selected {
    font-weight: 600;
    color: var(--landing-accent-light);
}

/* Checkboxes */
.landing-checks {
    border: none;
    margin: 0;
    padding: 0;
}

.landing-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    margin: 0 -0.75rem;
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.35;
    border-radius: 10px;
    transition: background 0.2s;
}

.landing-check:hover {
    background: rgba(255, 255, 255, 0.04);
}

.landing-check input {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--landing-accent);
}

.landing-trust {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
}

.landing-trust li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    color: var(--landing-text-muted);
    line-height: 1.45;
}

.landing-trust li:last-child {
    margin-bottom: 0;
}

.landing-trust li strong {
    color: var(--landing-text);
    font-weight: 600;
}

.landing-trust li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.35rem;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--landing-accent);
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--landing-border-glow);
    border-radius: 50%;
}

/* Buttons */
.landing-btn {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.85rem 1.65rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition:
        background 0.25s var(--landing-ease),
        transform 0.2s var(--landing-ease),
        box-shadow 0.25s var(--landing-ease);
}

.landing-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.landing-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.landing-btn-primary {
    background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-light) 100%);
    color: #14120a;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

.landing-btn-primary:hover:not(:disabled) {
    box-shadow: 0 6px 28px rgba(201, 162, 39, 0.45);
    transform: translateY(-1px);
}

.landing-btn-arrow::after {
    content: "→";
    margin-left: 0.45em;
    transition: transform 0.2s var(--landing-ease);
}

.landing-btn-arrow:hover:not(:disabled)::after {
    transform: translateX(3px);
}

.landing-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--landing-text);
    border: 1px solid var(--landing-border);
}

.landing-btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.landing-btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.landing-actions-split .landing-btn {
    flex: 1;
    min-width: 120px;
}

.landing-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.landing-nav .landing-btn-primary {
    margin-left: auto;
}

.landing-footer {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--landing-border);
}

.landing-footer > p:first-child {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(248, 246, 242, 0.45);
}

.landing-zones {
    margin: 1rem 0 0;
    padding: 0.8rem 0 0;
    font-size: 0.68rem;
    line-height: 1.55;
    color: rgba(248, 246, 242, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-zones-label {
    display: block;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.62rem;
    color: rgba(201, 162, 39, 0.55);
    margin-bottom: 0.4rem;
}

.landing-credit {
    flex-shrink: 0;
    margin: 0.5rem 0 0;
    padding: 0 2.25rem;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
    color: rgba(248, 246, 242, 0.35);
}

.landing-credit a {
    color: rgba(201, 162, 39, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-credit a:hover {
    color: var(--landing-accent-light);
}

.landing-step-success {
    text-align: center;
    padding-top: 0.5rem;
}

.landing-success-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--landing-accent-light);
    background: rgba(201, 162, 39, 0.15);
    border: 2px solid var(--landing-border-glow);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(201, 162, 39, 0.2);
}

.landing-step-success .landing-lead,
.landing-step-success .landing-title {
    text-align: center;
}

/* --- Desktop altura reducida (laptops ~768-900px) --- */
@media (min-width: 768px) and (max-height: 780px) {
    .landing-stage {
        padding: 1rem 2rem 1rem 1rem;
        align-items: flex-start;
        padding-top: 1.5rem;
    }

    .landing-column {
        max-height: calc(100dvh - 2rem);
    }

    .landing-panel {
        padding: 1.35rem 1.75rem 1.25rem;
    }

    .landing-brand {
        margin-bottom: 1.15rem;
        padding-bottom: 0.9rem;
    }

    .landing-brand-main {
        font-size: 1.4rem;
    }

    .landing-title {
        font-size: clamp(1.3rem, 2.4vw, 1.7rem);
        margin-bottom: 0.7rem;
    }

    .landing-title-sm {
        font-size: clamp(1.1rem, 2vw, 1.35rem);
    }

    .landing-kicker {
        margin-bottom: 0.4rem;
        font-size: 0.65rem;
    }

    .landing-lead {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .landing-pain,
    .landing-highlight {
        padding: 0.65rem 0.85rem;
    }

    .landing-pills {
        margin-bottom: 0.65rem;
    }

    .landing-nav {
        margin-top: 1rem;
    }

    .landing-btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }

    .landing-steps {
        min-height: 160px;
    }
}

@media (min-width: 768px) and (max-height: 620px) {
    .landing-stage {
        align-items: flex-start;
        padding-top: 0.75rem;
    }

    .landing-column {
        max-height: calc(100dvh - 1.5rem);
    }

    .landing-panel {
        padding: 1rem 1.5rem 1rem;
    }

    .landing-brand {
        margin-bottom: 0.85rem;
        padding-bottom: 0.75rem;
    }

    .landing-progress {
        margin-top: 0.75rem;
    }

    .landing-title {
        font-size: clamp(1.1rem, 2.2vw, 1.5rem);
        margin-bottom: 0.5rem;
    }

    .landing-lead {
        font-size: 0.875rem;
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }

    .landing-pain {
        display: none; /* en pantallas muy cortas se omite el bloque de dolor del intro */
    }

    .landing-micro-cta {
        margin-bottom: 0.9rem;
        font-size: 0.85rem;
    }

    .landing-btn {
        padding: 0.7rem 1.3rem;
    }
}

/* --- Hero badge (visible solo en móvil) --- */
.landing-hero-badge {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   MÓVIL: Hero vídeo arriba + contenido scroll abajo
   ═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    /* La página pasa a scroll normal */
    html,
    body.landing-body {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
    }

    .landing {
        position: relative;
        inset: auto;
        overflow: visible;
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
    }

    /* ── Hero: vídeo ocupa la parte superior ── */
    .landing-media {
        position: sticky;  /* queda fijo mientras el panel sube */
        top: 0;
        z-index: 0;
        flex-shrink: 0;
        height: 54dvh;
        min-height: 220px;
        overflow: hidden;
    }

    .landing-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: var(--landing-video-focus-x) center;
    }

    .landing-media-fallback {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: var(--landing-video-focus-x) center;
        display: none;
    }

    /* Gradiente fuerte hacia abajo para fundir con el panel */
    .landing-gradient {
        background: linear-gradient(
            180deg,
            rgba(8, 10, 14, 0)    0%,
            rgba(8, 10, 14, 0.08) 45%,
            rgba(8, 10, 14, 0.65) 75%,
            rgba(8, 10, 14, 1)    100%
        );
    }

    /* Badge de marca encima del vídeo */
    .landing-hero-badge {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 1.75rem;
        left: 1.35rem;
        right: 1.35rem;
        gap: 0.25rem;
    }

    .landing-hero-brand {
        font-family: var(--landing-font-display);
        font-size: 2.4rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        line-height: 1;
        color: var(--landing-text);
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    }

    .landing-hero-tagline {
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--landing-accent-light);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    }

    /* ── Stage: bloque simple sin grid ── */
    .landing-stage {
        display: block;
        position: relative;
        z-index: 1;
        flex: 1;
        padding: 0;
        min-height: auto;
        grid-template-columns: unset;
    }

    .landing-safe-zone {
        display: none;
    }

    .landing-column {
        width: 100%;
        max-width: none;
        max-height: none;
        margin-left: 0;
    }

    .landing-footer {
        margin-top: 1.25rem;
        padding-top: 1rem;
    }

    .landing-zones {
        margin-top: 1rem;
        padding-top: 0.85rem;
        font-size: 0.65rem;
    }

    .landing-social--mobile {
        justify-content: center;
        margin: 0;
        padding: 0.75rem 1.35rem 0;
        background: var(--landing-bg);
    }

    .landing-social--mobile .landing-social-link--icon {
        padding: 0.55rem;
    }

    .landing-credit {
        margin-top: 0;
        padding: 0.65rem 1.35rem max(1rem, env(safe-area-inset-bottom));
        font-size: 0.65rem;
        background: var(--landing-bg);
    }

    /* ── Panel: card que sube sobre el vídeo, scroll libre ── */
    .landing-panel {
        position: relative;
        z-index: 1;
        flex: none;
        min-height: auto;
        max-width: none;
        width: 100%;
        margin-top: -2.75rem;  /* solapamiento suave sobre el gradiente del vídeo */
        max-height: none;
        overflow-y: visible;
        overflow-x: visible;
        border-radius: 26px 26px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-top: 1px solid rgba(201, 162, 39, 0.3);
        padding: 1.75rem 1.35rem 1.25rem;
        background: linear-gradient(
            180deg,
            rgba(10, 12, 16, 0.97) 0%,
            rgba(10, 12, 16, 1) 6rem
        );
        backdrop-filter: blur(24px) saturate(1.1);
        -webkit-backdrop-filter: blur(24px) saturate(1.1);
        box-shadow:
            0 -8px 48px rgba(0, 0, 0, 0.55),
            0 -1px 0 rgba(201, 162, 39, 0.15) inset;
    }

    /* Ocultar fade indicator: móvil no lo necesita */
    .landing-panel::after {
        display: none !important;
    }

    .landing-scroll-hint {
        display: none !important;
    }

    /* ── Tipografía móvil: tamaño cómodo ── */
    .landing-brand {
        margin-bottom: 1.15rem;
        padding-bottom: 0.9rem;
    }

    /* En móvil ocultamos el nombre de marca del panel (ya aparece en el hero) */
    .landing-brand-main,
    .landing-brand-sub,
    .landing-brand-location {
        display: none;
    }

    /* Solo mantenemos los puntos de progreso */
    .landing-brand {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 1rem;
    }

    .landing-brand::after {
        display: none;
    }

    .landing-progress {
        margin-top: 0;
        justify-content: center;
    }

    .landing-title {
        font-size: clamp(1.45rem, 5.5vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .landing-title-sm {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .landing-kicker {
        font-size: 0.68rem;
    }

    .landing-lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .landing-steps {
        min-height: auto;
    }

    .landing-check {
        min-height: 48px;
        font-size: 1rem;
    }

    .landing-btn {
        font-size: 1rem;
        padding: 0.9rem 1.65rem;
    }

    .landing-btn-block {
        padding: 1rem 1.65rem;
    }

    .landing-nav {
        margin-top: 1.25rem;
        flex-direction: row-reverse;
    }

    .landing-nav .landing-btn-primary {
        margin-left: 0;
        flex: 1;
        min-width: 0;
    }

    .landing-nav .landing-btn-ghost {
        flex: 0 0 auto;
    }

    .landing-actions {
        margin-top: 1.25rem;
    }
}

@media (max-width: 399px) {
    .landing-actions-split {
        flex-direction: column;
    }

    .landing-actions-split .landing-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-step {
        animation: none;
    }

    .landing-progress-dot {
        transition: none;
    }

    /* En reduced-motion el sticky del vídeo en móvil puede marear: lo desactivamos */
    @media (max-width: 767px) {
        .landing-media {
            position: relative;
        }
    }
}
