/* ==========================================================================
   AMC Hungary — Élménybox landing page v1
   Loaded only on /elmenybox. All rules scoped under .elmenybox-page.
   Mirrors the editorial register of home/about/kontakt: Playfair Display
   headings, Inter body, champagne #C9A961 italic accent, single-hairline
   eyebrow, generous fluid padding. One deliberate dark moment: the
   "Miért érdemes" band — everywhere else the page stays warm ivory.
   ========================================================================== */

.elmenybox-page {
    --elmenybox-container: 1320px;
    --elmenybox-container-px: clamp(20px, 4vw, 56px);
    --elmenybox-section-y: clamp(5rem, 8vw, 8rem);
    --elmenybox-section-y-large: clamp(7rem, 10vw, 10rem);
    --elmenybox-ivory: #FAF7F2;
    --elmenybox-ivory-deep: #F3EFE6;
    --elmenybox-white: #FFFFFF;
    --elmenybox-dark: #1A1410;
    --elmenybox-ink: #0E1412;
    --elmenybox-text: #3A3530;
    --elmenybox-muted: #6B6760;
    --elmenybox-gold: #C9A961;
    --elmenybox-gold-dark: #A88A47;
    --elmenybox-border: #E8E2D5;
    --elmenybox-error: #B85450;
    --elmenybox-shadow: 0 24px 60px rgba(14, 20, 18, 0.08);
    --elmenybox-motion-fast: var(--amc-motion-fast, 240ms);
    --elmenybox-motion-medium: var(--amc-motion-medium, 480ms);
    --elmenybox-motion-slow: var(--amc-motion-slow, 720ms);
    --elmenybox-ease: var(--amc-ease-premium, cubic-bezier(0.22, 1, 0.36, 1));
    background: var(--elmenybox-ivory);
    color: var(--elmenybox-ink);
    overflow-x: clip;
}

html:has(.elmenybox-page) {
    scroll-behavior: smooth;
}

html:has(.elmenybox-page),
body:has(.elmenybox-page) {
    overflow-x: clip;
}

main:has(.elmenybox-page) + .site-footer {
    margin-top: 0;
}

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

.elmenybox-page :is(h1, h2, h3) {
    hyphens: none;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0;
}

.elmenybox-page p {
    text-wrap: pretty;
}

.elmenybox-page em {
    color: var(--elmenybox-gold);
    font-style: italic;
}

.elmenybox-page a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        border-bottom-color var(--elmenybox-motion-fast) var(--elmenybox-ease);
}

.elmenybox-page a:hover {
    color: var(--elmenybox-gold-dark);
    border-bottom-color: var(--elmenybox-gold);
}

.elmenybox-page a:focus-visible {
    outline: 2px solid var(--elmenybox-gold);
    outline-offset: 4px;
    border-bottom-color: transparent;
}

.elmenybox-container {
    width: min(100% - (var(--elmenybox-container-px) * 2), var(--elmenybox-container));
    margin-inline: auto;
}

/* Hairline + eyebrow (single hairline, no flanking lines) */
.elmenybox-hairline {
    display: block;
    width: 60px;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: var(--elmenybox-gold);
}

.elmenybox-eyebrow,
.elmenybox-section-eyebrow,
.elmenybox-form-eyebrow,
.elmenybox-closing-label,
.elmenybox-next-steps-label,
.elmenybox-aside-contact-label {
    margin: 0;
    color: var(--elmenybox-gold-dark);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.35;
    text-transform: uppercase;
}

.elmenybox-section-title {
    margin: 0 0 1.25rem;
    color: var(--elmenybox-ink);
    font-size: clamp(1.875rem, 3.2vw, 2.625rem);
    line-height: 1.1;
}

.elmenybox-section-eyebrow {
    margin-bottom: 1.25rem;
}

/* Reveal animation (mirrors home/about/kontakt pattern) */
.elmenybox-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity var(--elmenybox-motion-slow) var(--elmenybox-ease),
        transform var(--elmenybox-motion-slow) var(--elmenybox-ease);
}

.elmenybox-page.is-enhanced .elmenybox-reveal.is-visible,
.elmenybox-page:not(.is-enhanced) .elmenybox-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Editorial imagery. Fixed aspect ratios reserve space before lazy-loaded
   images arrive and keep the story grid stable at every breakpoint. */
.elmenybox-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.elmenybox-image--portrait { aspect-ratio: 4 / 5; }
.elmenybox-image--step { aspect-ratio: 4 / 3; }

/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */

.elmenybox-hero {
    padding: clamp(6rem, 10vw, 9.5rem) var(--elmenybox-container-px) clamp(4rem, 7vw, 6.5rem);
    background: var(--elmenybox-white);
}

.elmenybox-hero-inner {
    width: min(100%, 780px);
    margin-inline: auto;
    text-align: center;
}

.elmenybox-hero .elmenybox-eyebrow {
    margin: 0 auto 1.25rem;
    display: inline-block;
}

.elmenybox-hero-title {
    margin: 0 auto 1.25rem;
    color: var(--elmenybox-ink);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.06;
    max-width: 20ch;
}

.elmenybox-hero-lead {
    max-width: 58ch;
    margin: 0 auto 2.25rem;
    color: var(--elmenybox-text);
    font-size: clamp(1rem, 1.18vw, 1.12rem);
    line-height: 1.7;
}

.elmenybox-cta {
    display: inline-block;
    min-height: 48px;
    padding: 1rem 2.5rem;
    background: var(--elmenybox-gold);
    border: 1px solid var(--elmenybox-gold);
    color: var(--elmenybox-dark);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        border-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        transform var(--elmenybox-motion-medium) var(--elmenybox-ease),
        box-shadow var(--elmenybox-motion-medium) var(--elmenybox-ease);
}

.elmenybox-page .elmenybox-cta:hover {
    background: var(--elmenybox-gold-dark);
    border-color: var(--elmenybox-gold-dark);
    border-bottom-color: var(--elmenybox-gold-dark);
    color: var(--elmenybox-dark);
    transform: translateY(-1px);
    box-shadow: var(--elmenybox-shadow);
}

.elmenybox-cta:active {
    transform: translateY(0);
}

/* ==========================================================================
   Section 2 — Mi az Élménybox
   ========================================================================== */

.elmenybox-intro {
    padding: var(--elmenybox-section-y) 0;
    background: var(--elmenybox-ivory);
}

.elmenybox-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: start;
}

.elmenybox-intro-text {
    max-width: 58ch;
    margin: 0 0 1.5rem;
    color: var(--elmenybox-text);
    font-size: clamp(0.98rem, 1.12vw, 1.08rem);
    line-height: 1.75;
}

.elmenybox-intro-pull {
    max-width: 32ch;
    margin: 2.5rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--elmenybox-border);
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.4;
}

.elmenybox-intro-media {
    width: min(100%, 440px);
    justify-self: end;
}

/* The "15" figure note — the page's quiet typographic signature. */
.elmenybox-intro-figure-note {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
    font-family: var(--font-serif);
    font-size: clamp(3.25rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--elmenybox-gold);
}

.elmenybox-intro-figure-note span {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--elmenybox-muted);
}

/* ==========================================================================
   Section 3 — Így működik (timeline)
   ========================================================================== */

.elmenybox-steps {
    padding: var(--elmenybox-section-y) 0;
    background: var(--elmenybox-white);
}

.elmenybox-steps-header {
    max-width: 640px;
    margin-bottom: clamp(3rem, 5.5vw, 4.5rem);
}

.elmenybox-steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.elmenybox-step {
    display: grid;
    grid-template-columns: 88px minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.elmenybox-step:first-child {
    padding-top: 0;
}

.elmenybox-step:last-child {
    padding-bottom: 0;
}

/* The numeral cell stretches the full row; the connecting hairline grows
   to fill the space under the number, drawing the timeline without any
   absolute positioning. The last step ends the line cleanly. */
.elmenybox-step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 1.25rem;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1;
    color: var(--elmenybox-gold);
}

.elmenybox-step:not(:last-child) .elmenybox-step-number::after {
    content: '';
    flex: 1;
    width: 1px;
    min-height: 2rem;
    background: var(--elmenybox-border);
}

.elmenybox-step-title {
    margin: 0.35rem 0 0.875rem;
    color: var(--elmenybox-ink);
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    line-height: 1.2;
}

.elmenybox-step-text {
    max-width: 48ch;
    margin: 0;
    color: var(--elmenybox-text);
    font-size: clamp(0.96rem, 1.1vw, 1.04rem);
    line-height: 1.7;
}

.elmenybox-step-media {
    width: min(100%, 380px);
    justify-self: end;
}

/* ==========================================================================
   Section 4 — Miért érdemes (the page's single dark moment)
   ========================================================================== */

.elmenybox-benefits {
    padding: var(--elmenybox-section-y-large) 0;
    background: var(--elmenybox-dark);
    color: var(--elmenybox-ivory);
}

.elmenybox-benefits .elmenybox-section-eyebrow {
    color: var(--elmenybox-gold);
}

.elmenybox-benefits .elmenybox-section-title {
    color: var(--elmenybox-ivory);
}

.elmenybox-benefits-header {
    max-width: 640px;
    margin-bottom: clamp(3rem, 5.5vw, 4.5rem);
}

.elmenybox-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 4.5vw, 4rem) clamp(3rem, 6vw, 6rem);
}

.elmenybox-benefit {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.elmenybox-benefit-title {
    margin: 0 0 0.75rem;
    color: var(--elmenybox-ivory);
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
    line-height: 1.25;
}

.elmenybox-benefit-text {
    max-width: 44ch;
    margin: 0;
    color: rgba(250, 247, 242, 0.72);
    font-size: clamp(0.94rem, 1.05vw, 1rem);
    line-height: 1.7;
}

/* ==========================================================================
   Section 5 — Foglalás (request form)
   ========================================================================== */

.elmenybox-request {
    padding: var(--elmenybox-section-y) 0;
    background: var(--elmenybox-ivory);
    /* Anchor target: land with breathing room under the fixed-free header. */
    scroll-margin-top: 24px;
}

.elmenybox-request-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: start;
}

@media (min-width: 1025px) {
    .elmenybox-request-aside {
        position: sticky;
        top: 32px;
    }
}

.elmenybox-request-lead {
    max-width: 40ch;
    margin: 0 0 2.5rem;
    color: var(--elmenybox-text);
    font-size: clamp(0.96rem, 1.1vw, 1.04rem);
    line-height: 1.65;
}

.elmenybox-next-steps {
    padding-left: 1.5rem;
    border-left: 1px solid var(--elmenybox-border);
}

.elmenybox-next-steps-label {
    font-size: 0.68rem;
    margin-bottom: 1rem;
}

.elmenybox-next-steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: elmenybox-next;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.elmenybox-next-steps-list li {
    counter-increment: elmenybox-next;
    color: var(--elmenybox-text);
    font-size: 0.94rem;
    line-height: 1.6;
}

.elmenybox-next-steps-list li::before {
    content: counter(elmenybox-next) '.';
    margin-right: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--elmenybox-gold);
}

.elmenybox-next-steps-list strong {
    color: var(--elmenybox-ink);
    font-weight: 600;
}

.elmenybox-aside-contact {
    margin-top: 2.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--elmenybox-border);
}

.elmenybox-aside-contact-label {
    font-size: 0.68rem;
    margin-bottom: 0.75rem;
}

.elmenybox-aside-contact-value {
    margin: 0 0 0.35rem;
    color: var(--elmenybox-ink);
    font-size: 1.04rem;
    line-height: 1.55;
}

.elmenybox-aside-contact-value a {
    border-bottom: 1px solid var(--elmenybox-border);
}

.elmenybox-aside-contact-value a:hover {
    border-bottom-color: var(--elmenybox-gold);
}

/* Form card */
.elmenybox-form-wrapper {
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--elmenybox-white);
    border: 1px solid var(--elmenybox-border);
    box-shadow: var(--elmenybox-shadow);
}

.elmenybox-form-eyebrow {
    margin: 0 0 1rem;
}

.elmenybox-form-title {
    margin: 0 0 0.875rem;
    color: var(--elmenybox-ink);
    font-size: clamp(1.625rem, 2.6vw, 2.125rem);
    line-height: 1.12;
}

.elmenybox-form-lead {
    margin: 0 0 2rem;
    color: var(--elmenybox-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.elmenybox-form-alert {
    margin: 0 0 1.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(184, 84, 80, 0.35);
    background: rgba(184, 84, 80, 0.05);
}

.elmenybox-form-alert p {
    margin: 0;
    color: var(--elmenybox-error);
    font-size: 0.92rem;
    line-height: 1.55;
}

.elmenybox-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.elmenybox-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.elmenybox-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.elmenybox-form-row--zip {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
}

.elmenybox-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.elmenybox-field label,
.elmenybox-choice-field legend {
    color: var(--elmenybox-ink);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.elmenybox-required {
    color: var(--elmenybox-gold);
}

.elmenybox-optional {
    color: var(--elmenybox-muted);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: none;
}

.elmenybox-field input,
.elmenybox-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--elmenybox-ivory);
    border: 1px solid var(--elmenybox-border);
    border-radius: 0;
    color: var(--elmenybox-ink);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    transition:
        border-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        background-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        box-shadow var(--elmenybox-motion-fast) var(--elmenybox-ease);
}

.elmenybox-field input:hover,
.elmenybox-field textarea:hover {
    border-color: rgba(201, 169, 97, 0.42);
}

.elmenybox-field input:focus,
.elmenybox-field textarea:focus {
    outline: none;
    background: var(--elmenybox-white);
    border-color: var(--elmenybox-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.16);
}

.elmenybox-field textarea {
    resize: vertical;
    min-height: 130px;
}

.elmenybox-input-error {
    border-color: var(--elmenybox-error) !important;
    background: rgba(184, 84, 80, 0.04) !important;
}

.elmenybox-error {
    margin: 0;
    color: var(--elmenybox-error);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.45;
}

.elmenybox-error[hidden] {
    display: none;
}

/* Radio choice cards — Személyesen / Online */
.elmenybox-choice-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.elmenybox-choice-field legend {
    margin-bottom: 0.75rem;
    padding: 0;
}

.elmenybox-choice-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.elmenybox-choice {
    display: block;
    cursor: pointer;
}

.elmenybox-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.elmenybox-choice-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: var(--elmenybox-ivory);
    border: 1px solid var(--elmenybox-border);
    transition:
        border-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        background-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        box-shadow var(--elmenybox-motion-fast) var(--elmenybox-ease);
}

.elmenybox-choice:hover .elmenybox-choice-card {
    border-color: rgba(201, 169, 97, 0.42);
}

.elmenybox-choice input:checked + .elmenybox-choice-card {
    background: var(--elmenybox-white);
    border-color: var(--elmenybox-gold);
    box-shadow: 0 0 0 1px var(--elmenybox-gold);
}

.elmenybox-choice input:focus-visible + .elmenybox-choice-card {
    outline: 2px solid var(--elmenybox-gold);
    outline-offset: 3px;
}

.elmenybox-choice-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--elmenybox-ink);
    line-height: 1.3;
}

.elmenybox-choice-text {
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--elmenybox-muted);
}

/* Consent checkboxes */
.elmenybox-consents {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--elmenybox-border);
}

.elmenybox-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.elmenybox-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.elmenybox-checkbox-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background: var(--elmenybox-ivory);
    border: 1px solid var(--elmenybox-border);
    position: relative;
    transition:
        border-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        background-color var(--elmenybox-motion-fast) var(--elmenybox-ease);
}

.elmenybox-checkbox:hover .elmenybox-checkbox-box {
    border-color: rgba(201, 169, 97, 0.55);
}

.elmenybox-checkbox input:checked + .elmenybox-checkbox-box {
    background: var(--elmenybox-gold);
    border-color: var(--elmenybox-gold);
}

.elmenybox-checkbox input:checked + .elmenybox-checkbox-box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--elmenybox-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.elmenybox-checkbox input:focus-visible + .elmenybox-checkbox-box {
    outline: 2px solid var(--elmenybox-gold);
    outline-offset: 3px;
}

.elmenybox-checkbox-label {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--elmenybox-text);
}

.elmenybox-checkbox-label a {
    color: var(--elmenybox-ink);
    border-bottom: 1px solid var(--elmenybox-border);
}

.elmenybox-checkbox-label a:hover {
    color: var(--elmenybox-gold-dark);
    border-bottom-color: var(--elmenybox-gold);
}

.elmenybox-consent .elmenybox-error {
    margin: 0.4rem 0 0 calc(20px + 0.75rem);
}

/* Submit */
.elmenybox-submit {
    align-self: flex-start;
    min-height: 48px;
    margin-top: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--elmenybox-gold);
    border: 1px solid var(--elmenybox-gold);
    color: var(--elmenybox-dark);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        border-color var(--elmenybox-motion-fast) var(--elmenybox-ease),
        transform var(--elmenybox-motion-medium) var(--elmenybox-ease),
        box-shadow var(--elmenybox-motion-medium) var(--elmenybox-ease);
}

.elmenybox-submit:hover {
    background: var(--elmenybox-gold-dark);
    border-color: var(--elmenybox-gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--elmenybox-shadow);
}

.elmenybox-submit:active {
    transform: translateY(0);
}

.elmenybox-submit[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.elmenybox-submit:focus-visible {
    outline: 2px solid var(--elmenybox-gold-dark);
    outline-offset: 3px;
}

.elmenybox-form-note {
    margin: -0.625rem 0 0;
    color: var(--elmenybox-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Success state (server-rendered on ?sent=1) */
.elmenybox-success {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 1rem;
}

.elmenybox-success.is-revealing {
    animation: elmenyboxSuccessFade 520ms var(--elmenybox-ease) both;
}

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

.elmenybox-success-headline {
    margin: 0;
    color: var(--elmenybox-ink);
    font-size: clamp(1.625rem, 2.4vw, 2.125rem);
    line-height: 1.18;
}

.elmenybox-success-headline:focus {
    outline: none;
}

.elmenybox-success-headline:focus-visible {
    outline: 2px solid var(--elmenybox-gold);
    outline-offset: 4px;
}

.elmenybox-success-body {
    margin: 0;
    color: var(--elmenybox-text);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 50ch;
}

.elmenybox-success-body a {
    border-bottom: 1px solid var(--elmenybox-border);
}

.elmenybox-success-body a:hover {
    border-bottom-color: var(--elmenybox-gold);
    color: var(--elmenybox-gold-dark);
}

/* ==========================================================================
   Section 6 — Zárás
   ========================================================================== */

.elmenybox-closing {
    padding: var(--elmenybox-section-y-large) var(--elmenybox-container-px);
    background: var(--elmenybox-white);
    text-align: center;
}

.elmenybox-closing-inner {
    width: min(100%, 760px);
    margin-inline: auto;
}

.elmenybox-mantra {
    margin: 0 auto 1.75rem;
    color: var(--elmenybox-ink);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.12;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .elmenybox-intro-grid,
    .elmenybox-request-grid {
        grid-template-columns: 1fr;
        gap: clamp(40px, 6vw, 64px);
    }

    .elmenybox-intro-media {
        justify-self: start;
    }

    .elmenybox-step {
        grid-template-columns: 64px minmax(0, 1fr);
        row-gap: 1.5rem;
    }

    /* Media drops under the text; the numeral cell spans both rows so
       the connecting hairline keeps running past the image — the rail
       stays continuous on the left. */
    .elmenybox-step-number {
        grid-row: 1 / 3;
    }

    .elmenybox-step-media {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .elmenybox-hero {
        padding-top: clamp(4.5rem, 14vw, 6rem);
    }

    .elmenybox-form-wrapper {
        padding: 1.75rem 1.5rem;
    }

    .elmenybox-form {
        gap: 1.25rem;
    }

    .elmenybox-form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .elmenybox-form-row--zip {
        grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
        gap: 1rem;
    }

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

    .elmenybox-submit {
        align-self: stretch;
        width: 100%;
    }

    .elmenybox-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .elmenybox-step {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 20px;
    }

    .elmenybox-step-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 430px) {
    .elmenybox-page {
        --elmenybox-container-px: 18px;
    }

    .elmenybox-hero-title {
        font-size: clamp(2.05rem, 9vw, 2.5rem);
    }

    .elmenybox-form-row--zip {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .elmenybox-next-steps,
    .elmenybox-aside-contact {
        padding-left: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.elmenybox-page) {
        scroll-behavior: auto;
    }

    .elmenybox-page *,
    .elmenybox-page *::before,
    .elmenybox-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .elmenybox-page.is-enhanced .elmenybox-reveal,
    .elmenybox-page.is-enhanced .elmenybox-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
