html[data-lang="hu"] [data-lang-block="en"],
html[data-lang="en"] [data-lang-block="hu"] { display: none !important; }

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.online-page,
.online-page * {
    min-width: 0;
}

.online-page {
    background: #f7f2e8;
}

.online-header .header-inner {
    justify-content: space-between;
}

.online-mini-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: auto;
    color: #433722;
    font-family: Oswald, Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    font-size: 13px;
}

.online-mini-nav a {
    padding: 8px 0;
    color: #433722;
}

.language-switch {
    display: flex;
    flex: 0 0 auto;
    padding: 5px;
    border: 1px solid rgba(202,163,74,.32);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 14px 28px rgba(122,97,41,.10);
}

.language-switch button {
    min-width: 48px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: #594726;
    background: transparent;
    cursor: pointer;
    font-family: Oswald, Inter, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

.language-switch button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #e2c06d, #caa34a 52%, #aa8028);
}

.online-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 132px 0 78px;
    background:
        radial-gradient(circle at 85% 8%, rgba(202,163,74,.18), transparent 32%),
        radial-gradient(circle at 10% 48%, rgba(226,192,109,.14), transparent 28%),
        linear-gradient(180deg, #fffdfa, #f7f2e8);
}

.online-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 56px;
}

.online-hero-copy h1 {
    margin: 0;
    color: #2f2413;
    font-family: Oswald, Inter, sans-serif;
    font-size: clamp(44px, 5.2vw, 78px);
    line-height: .96;
    text-transform: uppercase;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.online-lead {
    margin: 28px 0 0;
    max-width: 760px;
    color: #645642;
    font-size: clamp(18px, 2vw, 24px);
}

.online-fast-note {
    margin: 18px 0 0;
    max-width: 760px;
    padding: 18px 22px;
    border: 1px solid rgba(202,163,74,.28);
    border-radius: 22px;
    color: #4f422e;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 44px rgba(122,97,41,.10);
    font-size: clamp(16px, 1.55vw, 19px);
    overflow-wrap: anywhere;
}

.online-fast-note strong {
    color: #8c6a1f;
    font-family: Oswald, Inter, sans-serif;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.online-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.choice-card {
    appearance: none;
    width: 100%;
    min-height: 156px;
    padding: 26px;
    border: 1px solid rgba(202,163,74,.26);
    border-radius: 28px;
    background: rgba(255,255,255,.86);
    text-align: left;
    box-shadow: 0 24px 60px rgba(122,97,41,.14);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.choice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(202,163,74,.58);
    box-shadow: 0 30px 76px rgba(122,97,41,.20);
}

.choice-card span {
    display: block;
    color: #8c6a1f;
    font-family: Oswald, Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 700;
}

.choice-card strong {
    display: block;
    margin-top: 12px;
    color: #2f2413;
    font-family: Oswald, Inter, sans-serif;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.05;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.choice-card-primary {
    color: #fff;
    background: linear-gradient(135deg, #e2c06d, #caa34a 48%, #a67b25);
}

.choice-card-primary span,
.choice-card-primary strong { color: #fff; }

.online-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-hero-logo {
    width: min(430px, 86%);
    filter: drop-shadow(0 24px 50px rgba(122,97,41,.18));
    animation: heroFloat 4.8s ease-in-out infinite;
}

.phone-preview-card {
    position: absolute;
    right: 0;
    bottom: 10%;
    width: min(340px, 82%);
    padding: 22px;
    border: 1px solid rgba(202,163,74,.28);
    border-radius: 26px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 26px 70px rgba(122,97,41,.16);
}

.phone-preview-card span {
    display: block;
    color: #8c6a1f;
    font-family: Oswald, Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 700;
}

.phone-preview-card strong {
    display: block;
    margin-top: 8px;
    color: #2f2413;
    font-family: Oswald, Inter, sans-serif;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
}

.online-guide {
    padding: 112px 0;
    background: linear-gradient(180deg, #f6efe3, #fffdfa 52%, #f7f2e8);
}

.online-guide.is-collapsed {
    display: none;
}

.steps-list {
    display: grid;
    gap: 34px;
    margin-top: 54px;
}

.purchase-step {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: center;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(202,163,74,.22);
    border-radius: 34px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 24px 60px rgba(122,97,41,.14);
}

.purchase-step.is-reversed .step-image { order: 2; }
.purchase-step.is-reversed .step-content { order: 1; }

.step-image img {
    width: 100%;
    height: auto;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.step-content {
    position: relative;
    padding: 10px 4px;
}

.step-number {
    display: flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #e2c06d, #caa34a 52%, #a67b25);
    font-family: Oswald, Inter, sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.step-content h3 {
    margin: 0;
    color: #2f2413;
    font-family: Oswald, Inter, sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.step-content p {
    margin: 20px 0 0;
    color: #61523c;
    font-size: clamp(17px, 1.7vw, 22px);
    overflow-wrap: anywhere;
}

.inline-gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 4px 6px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #e2c06d, #caa34a 52%, #a67b25);
    box-shadow: 0 12px 26px rgba(202,163,74,.20);
    font-family: Oswald, Inter, sans-serif;
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: normal;
    text-align: center;
}

.inline-gold-btn:hover {
    transform: translateY(-1px);
}

.guide-final-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 44px;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(202,163,74,.25);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(249,242,227,.96));
    box-shadow: 0 24px 60px rgba(122,97,41,.14);
}

.guide-final-cta img {
    width: 92px;
}

.guide-final-cta h2 {
    font-family: Oswald, Inter, sans-serif;
    text-transform: uppercase;
    font-size: clamp(32px, 4vw, 56px);
    overflow-wrap: anywhere;
}

.online-page .btn,
.online-page .choice-card,
.online-page a,
.online-page button {
    max-width: 100%;
}


@media (min-width: 981px) {
    .online-hero-copy h1 {
        max-width: 760px;
        font-size: clamp(46px, 5.1vw, 78px);
        line-height: .96;
    }
}

@media (max-width: 980px) {
    .online-mini-nav { display: none; }

    .online-hero {
        min-height: auto;
        padding: 116px 0 66px;
    }

    .online-hero-grid,
    .purchase-step,
    .guide-final-cta {
        grid-template-columns: 1fr;
    }

    .online-choice-grid {
        grid-template-columns: 1fr;
    }

    .online-hero-visual {
        min-height: auto;
        display: grid;
        gap: 18px;
        justify-items: center;
        margin-top: 22px;
    }

    .online-hero-logo {
        width: min(330px, 76vw);
        margin: 0 auto;
    }

    .phone-preview-card {
        position: static;
        width: min(360px, 100%);
    }

    .purchase-step.is-reversed .step-image,
    .purchase-step.is-reversed .step-content {
        order: initial;
    }

    .guide-final-cta {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .online-header .header-inner {
        min-height: 76px;
        gap: 12px;
    }

    .online-header .brand img {
        width: 58px;
    }

    .language-switch {
        padding: 4px;
    }

    .language-switch button {
        min-width: 40px;
        min-height: 34px;
        font-size: 12px;
    }

    .online-hero {
        padding-top: 96px;
        padding-bottom: 52px;
    }

    .online-hero-copy h1 {
        font-size: clamp(38px, 12vw, 48px);
        line-height: .96;
    }

    .online-lead {
        font-size: 17px;
    }

    .online-fast-note {
        padding: 15px 16px;
        border-radius: 18px;
        font-size: 15px;
    }

    .choice-card {
        min-height: auto;
        padding: 20px;
        border-radius: 22px;
    }

    .choice-card strong {
        font-size: clamp(22px, 8vw, 30px);
    }

    .online-guide {
        padding: 70px 0;
    }

    .steps-list {
        gap: 22px;
        margin-top: 34px;
    }

    .purchase-step {
        padding: 15px;
        border-radius: 22px;
        gap: 20px;
    }

    .step-image img {
        border-radius: 16px;
    }

    .step-number {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
        font-size: 28px;
    }

    .step-content h3 {
        font-size: clamp(28px, 10vw, 38px);
    }

    .step-content p {
        font-size: 16px;
    }

    .inline-gold-btn {
        margin: 6px 0;
        width: 100%;
        padding: 10px 14px;
        letter-spacing: .06em;
    }

    .guide-final-cta {
        padding: 22px;
        border-radius: 22px;
    }

    .guide-final-cta img {
        width: 74px;
    }

    .phone-preview-card strong {
        font-size: 24px;
    }
}


/* Az onlinebérlet aloldal fejléce a főoldallal szinkronban */
.online-header .main-nav {
    margin-left: auto;
}

.online-header .brand {
    margin-right: 0;
}


.step-warning {
    display: block;
    margin-top: 12px;
    color: #b42318;
    font-weight: 800;
}

.step-warning strong {
    color: #b42318;
}


/* 0. lépés kiemelés */
.purchase-step.step-zero {
    background: radial-gradient(circle at top left, rgba(233, 184, 80, 0.12), transparent 40%), linear-gradient(135deg, #151515 0%, #0b0b0b 100%);
    border: 1px solid rgba(212, 167, 79, 0.25);
    box-shadow: 0 30px 80px rgba(0,0,0,0.22);
}

.purchase-step.step-zero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 28%, rgba(255,255,255,.08), transparent 18%),
                radial-gradient(circle at 82% 78%, rgba(212,167,79,.10), transparent 22%),
                linear-gradient(120deg, transparent 0%, rgba(255,255,255,.02) 50%, transparent 100%);
    pointer-events: none;
}

.purchase-step.step-zero .step-content,
.purchase-step.step-zero .step-content h3,
.purchase-step.step-zero .step-content p {
    color: #f6efe3;
    position: relative;
    z-index: 1;
}

.purchase-step.step-zero .step-number {
    background: linear-gradient(135deg, #111 0%, #2a1e0e 100%);
    color: #fff;
    border: 1px solid rgba(212,167,79,.45);
}

.purchase-step.step-zero .step-image {
    position: relative;
    z-index: 1;
}

.purchase-step.step-zero .step-content a {
    color: #f1c35e;
    font-weight: 800;
    text-decoration: underline;
}
