/* Vokraft — Landing pública (/).
   Se apoya en tokens.css: no redefine la paleta, sólo usa sus variables y primitivas.
   Móvil-first; las media queries amplían a multi-columna en >=720px / >=960px. */

.ld-body {
    background: var(--bg);
    color: var(--ink);
}

.ld-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 22px;
}

/* ---------- Top bar ---------- */
.ld-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in oklab, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}
.ld-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.ld-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
.ld-logo {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 480px) {
    .ld-logo { height: 24px; }
}
.ld-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ld-topbar-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--ink-2);
    background: rgba(20, 17, 13, 0.02);
    border: 1px solid var(--line);
    transition: color .14s ease, background .14s ease, border-color .14s ease, transform .14s ease;
}
.ld-topbar-wa .ic { width: 18px; height: 18px; }
.ld-topbar-wa:hover {
    color: #FFFFFF;
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-1px);
}
.ld-topbar-login {
    font-size: 13px;
    font-weight: 600;
    color: #FAFAF7;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px rgba(20, 17, 13, 0.18);
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
    white-space: nowrap;
}
.ld-topbar-login:hover {
    transform: translateY(-1px);
    opacity: 0.92;
    box-shadow: 0 6px 18px rgba(20, 17, 13, 0.24);
}

/* Selector de idioma (segmented / pill) */
.ld-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(20, 17, 13, 0.04);
    border: 1px solid var(--line);
}
.ld-lang-btn {
    font-family: var(--font-body, inherit);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 6px 11px;
    min-width: 36px;
    cursor: pointer;
    transition: color .12s ease, background .12s ease;
}
.ld-lang-btn:hover { color: var(--ink-2); }
.ld-lang-btn.is-active {
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(20, 17, 13, 0.08);
}
@media (max-width: 480px) {
    .ld-topbar-right { gap: 6px; }
    .ld-lang-btn { padding: 6px 8px; min-width: 32px; font-size: 10px; letter-spacing: 0.05em; }
    .ld-topbar-wa { width: 34px; height: 34px; }
    .ld-topbar-wa .ic { width: 16px; height: 16px; }
    .ld-topbar-login { padding: 8px 13px; }
}

/* ---------- Hero ---------- */
.ld-hero {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: #FAFAF7;
}
.ld-hero-bg {
    position: absolute;
    inset: 0;
    /* Foto de fondo del hero + capa negra para que el texto resalte.
       Orden (de arriba a abajo): glow de marca → velo negro → imagen → primary de respaldo. */
    background-image:
        radial-gradient(circle at 18% 12%, color-mix(in oklab, var(--secondary) 20%, transparent), transparent 52%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.86) 55%, rgba(0, 0, 0, 0.92) 100%),
        url('../images/hero_boda.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary);
    pointer-events: none;
}
.ld-hero-inner {
    position: relative;
    padding-block: 72px 84px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ld-hero-eyebrow {
    color: var(--secondary);
    margin-bottom: 20px;
}
.ld-hero-title {
    margin: 0;
    font-weight: 500;
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: 16ch;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.ld-hero-title em { color: var(--secondary); }
.ld-hero-sub {
    margin: 22px 0 0;
    max-width: 52ch;
    font-size: clamp(15px, 2.4vw, 18px);
    line-height: 1.62;
    color: rgba(250, 250, 247, 0.86);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.ld-hero-cta {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
/* Botón "Ver video" del hero (sobre fondo oscuro) */
.ld-hero-video {
    color: #FAFAF7;
    border: 1px solid rgba(250, 250, 247, 0.28);
    background: rgba(250, 250, 247, 0.05);
}
.ld-hero-video:hover { background: rgba(250, 250, 247, 0.12); transform: translateY(-1px); }

/* ---------- Sección genérica ---------- */
.ld-section {
    padding-block: 72px;
}
.ld-section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}
.ld-section-head {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ld-section-title {
    margin: 0;
    font-weight: 500;
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

/* ---------- Cómo funciona (steps) ---------- */
.ld-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.ld-step {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.ld-step-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}
.ld-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ld-step-num {
    position: absolute;
    top: 12px;
    left: 12px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--primary) 80%, transparent);
    color: var(--secondary);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.ld-step-body {
    padding: 22px 24px 26px;
}
.ld-step-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.ld-step-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
}

/* Botón "Ver video" + modal */
.ld-how-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
}
.ld-video-btn {
    gap: 11px;
    padding: 9px 22px 9px 9px;
    border-radius: 999px;
    font-size: 14px;
}
.ld-video-play {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #1a1408;
}
.ld-video-play .ic { width: 14px; height: 14px; }
.ld-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ld-video-overlay.hidden { display: none; }
.ld-video-modal {
    position: relative;
    width: 100%;
    max-width: 920px;
}
.ld-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-3);
}
.ld-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ld-video-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: var(--surface);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2);
    z-index: 2;
    transition: background .12s ease;
}
.ld-video-close:hover { background: var(--bg-alt); }
.ld-video-close .ic { width: 18px; height: 18px; }
.ld-video-sr-title {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 480px) {
    .ld-video-close { top: -12px; right: -4px; }
}

/* ---------- Para quién + beneficios ---------- */
.ld-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
.ld-benefits-intro .ld-section-title { text-align: left; }
.ld-benefits-intro .eyebrow-gold { display: block; margin-bottom: 12px; }
.ld-benefits-lead {
    margin: 16px 0 22px;
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--ink-2);
    max-width: 46ch;
}
.ld-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ld-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ld-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    transition: background .12s ease;
}
.ld-benefit:hover { background: var(--surface); }
.ld-benefit-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--secondary);
}
.ld-benefit-title {
    margin: 2px 0 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.ld-benefit-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-2);
}

/* ---------- CTA final ---------- */
.ld-cta {
    background: var(--primary);
    color: #FAFAF7;
}
.ld-cta-inner {
    padding-block: 76px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ld-cta-inner .eyebrow-gold { margin-bottom: 14px; }
.ld-cta-title {
    margin: 0;
    color: #FAFAF7;
    font-weight: 500;
    font-size: clamp(28px, 5.5vw, 44px);
    letter-spacing: -0.02em;
}
.ld-cta-sub {
    margin: 16px 0 0;
    max-width: 46ch;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(250, 250, 247, 0.72);
}
.ld-cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.ld-cta-wa {
    color: #FAFAF7;
    border-color: rgba(250, 250, 247, 0.28);
}
.ld-cta-wa:hover:not(:disabled) { background: rgba(250, 250, 247, 0.08); }

/* ---------- Footer ---------- */
.ld-footer {
    background: var(--ink);
    color: rgba(250, 250, 247, 0.6);
    padding-block: 26px;
}
.ld-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.ld-footer-mark {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(250, 250, 247, 0.78);
}
.ld-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.ld-footer-links a {
    font-size: 13px;
    color: rgba(250, 250, 247, 0.6);
    text-decoration: none;
    transition: color .12s ease;
}
.ld-footer-links a:hover { color: #FAFAF7; }
.ld-footer-copy {
    font-size: 12px;
    color: rgba(250, 250, 247, 0.42);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
    .ld-shell { padding-inline: 32px; }
    .ld-steps { grid-template-columns: repeat(2, 1fr); }
    .ld-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media (min-width: 960px) {
    .ld-hero-inner { padding-block: 100px 110px; }
    .ld-steps { grid-template-columns: repeat(3, 1fr); }
    .ld-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .ld-section { padding-block: 92px; }
}
