/* =========================================================================
   LAYOUT POLISH — 2026-10-24 (owner + designer review of the mobile site)
   Loaded AFTER styles.css and the active theme, so it governs every theme.
   `html body` prefixes out-rank the theme's single-class !important rules.
   ========================================================================= */

/* ── 1. Heading line-height ────────────────────────────────────────────────
   Headings inherited body's 1.7, which split a two-line heading into two
   islands. 1.25 keeps the lines a unit; Arabic gets a little more room for
   its taller ascenders/descenders and diacritics. */
html body :is(h1, h2, h3, h4),
html body :is(.section-title, .benefits-title, .hero-tagline, .home-highlight-title,
              .home-quotes-sub, .home-closing-1) {
    line-height: 1.25 !important;
}
html[lang="ar"] body :is(h1, h2, h3, h4),
html[lang="ar"] body :is(.section-title, .benefits-title, .hero-tagline, .home-highlight-title,
                         .home-quotes-sub, .home-closing-1) {
    line-height: 1.4 !important;
}

/* ── 2. Mobile navbar: logo centred, hamburger keeps its side ─────────────
   A 3-column grid (1fr | logo | 1fr) centres the logo on the page whatever
   the hamburger's width, so the two can never overlap. */
@media (max-width: 768px) {
    html body .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    html body .nav-container .nav-logo-link { grid-column: 2; grid-row: 1; }
    html body .nav-container .hamburger {
        grid-column: 3; grid-row: 1; justify-self: end;
        min-width: 44px; min-height: 44px;
    }
}

/* ── 3. Home hero: the headline is the stage ──────────────────────────────
   The eyebrow and the phone chip were removed from the markup; the logo
   stays (it is the brand) but steps back a little on phones. */
html body .hero-main .hero-content { border-top: 0; padding-top: 0.4rem; }
html body .hero-main .hero-tagline {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    margin: 0.6rem auto 0.4rem;
    max-width: 20ch;
}
html body .hero-main .hero-logo-container { width: min(400px, 70vw); }
html body .hero-main .hero-subtitle {
    margin: 1.1rem auto 1.9rem;
    max-width: 680px;
}
@media (max-width: 768px) {
    html body .hero-main {
        justify-content: flex-start !important;
        min-height: 0 !important;
        padding-block: 5rem 2.5rem !important;
    }
    html body .hero-main .hero-logo-container { max-width: min(220px, 60vw); margin-bottom: 0; }
    html body .hero-main .hero-tagline { font-size: clamp(2rem, 9.4vw, 2.5rem); margin-top: 0.9rem; }
    html body .hero-main .hero-subtitle { margin: 0.9rem auto 1.5rem; }
}

/* ── 4. Alignment: centred sections stay centred ──────────────────────────
   Sub-lines and sub-titles were start-aligned under centred titles. */
html body .content-centered :is(.section-subline, .home-highlight-title, .home-closing-1,
                                .home-closing-2, .home-quotes-sub, .home-final-secondary) {
    text-align: center !important;
}
/* The B2B / thank-you pages share the pattern. */
html body .content-centered .section-eyebrow { text-align: center; }

/* Home "about" block: centred while it is a single column; on desktop it is
   a two-column photo + text layout and stays start-aligned (styles.css). */
@media (max-width: 992px) {
    html body .content-centered .home-about-text { text-align: center; }
    html body .content-centered .home-about-text :is(.section-eyebrow, .home-about-lead,
                                                     .home-about-emphasis) {
        text-align: center !important;
    }
    /* A side rule under centred copy looks lopsided — use a short rule above. */
    html body .content-centered .home-about-emphasis {
        border-inline-start: 0;
        padding-inline-start: 0;
    }
    html body .content-centered .home-about-emphasis::before {
        content: ""; display: block; width: 48px; height: 2px;
        margin: 0 auto 0.9rem; background: var(--gold);
    }
}

/* Phones: section titles centre everywhere (on /method they sat start-aligned
   above step cards that the mobile layout already centres), and the /lectures
   intro follows its centred page header. */
@media (max-width: 768px) {
    /* 40px left "Different questions." wider than a 390px screen. */
    html body .benefits-title { font-size: clamp(1.75rem, 7.7vw, 2.5rem); }
    html body .section-title { text-align: center; }
    html body .lectures-intro { text-align: center; }
}

/* Buttons under centred copy are centred too. */
html body .benefit-card > .btn {
    display: flex;
    width: fit-content;
    margin-inline: auto;
    justify-content: center;
    text-align: center;
}
/* .hero-buttons is a 300px column on phones; outside the flex-centred hero it
   hugged the start edge. */
html body .hero-buttons { margin-inline: auto; }
html body .hero-buttons .btn { justify-content: center; text-align: center; }
html body .home-final-secondary a { display: inline-block; padding-block: 0.6rem; }

/* ── 5. Footer: compact, in tiers ─────────────────────────────────────────
   brand → nav → one row of icons → legal row → ©. */
html body .footer-main { gap: 1.1rem; padding-block: 2rem 1.4rem; }
html body .footer-brand-text { margin-top: 0.5rem; gap: 0.15rem; }
html body .footer-phone { display: inline-flex; align-items: center; min-height: 44px; }
html body .footer-nav { gap: 0.4rem 1.3rem; }
html body .footer-nav a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; min-width: 44px;
}
html body .footer-bottom { padding: 0.9rem 1rem 1.1rem; }

/* Legal links: one wrapped row with a small middle-dot separator. */
html body .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.1rem 0;
}
html body .footer-legal button {
    padding: 0.45rem 0.55rem;
    line-height: 1.4;
}
html body .footer-legal button + button::before {
    content: "·";
    content: "·" / "";
    display: inline-block;
    margin-inline-end: 0.6rem;
    color: rgba(255,255,255,0.35);
}
/* main.js marks the first link of each wrapped line; it gets no dot. */
html body .footer-legal button.rb-line-start::before { visibility: hidden; }
html body .footer-legal .footer-copyright {
    flex-basis: 100%;
    margin-top: 0.35rem;
    font-size: 0.78rem;
}

@media (max-width: 768px) {
    html body .footer-main { padding: 1.6rem 1rem 1.2rem; gap: 1rem; }
    html body .footer-logo-container { width: 170px; }
    html body .footer-nav { gap: 0 1.1rem; }

    /* All seven icons on ONE row, spread edge to edge. */
    html body .footer-contact-btns {
        width: 100%;
        max-width: 420px;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
    }
    html body .footer-contact-btns .footer-divider { display: none; }
    html body .footer-contact-btns a { width: 40px; height: 40px; flex: 0 0 40px; }
    html body .footer-contact-btns svg { width: 18px; height: 18px; }

    html body .footer-legal button { font-size: 0.78rem; padding: 0.45rem 0.4rem; }
    html body .footer-legal button + button::before { margin-inline-end: 0.4rem; }
}

/* ── 6. Parental-consent form: one step at a time, tighter spacing ────────
   main.js initConsentSteps() shows one numbered section per step; nothing
   in the form's fields, wording or payload changes. */
html body .consent-step-hidden { display: none !important; }

html body #consent-modal #consentTitle { margin-bottom: 0.35rem !important; }
html body #consent-modal #consentDescription { margin-bottom: 1.1rem !important; }
html body #consent-modal #sendLinkSection {
    margin-bottom: 1.2rem !important;
    padding: 1rem 1.1rem !important;
}

html body .consent-steps-head { margin: 0 0 1.1rem; }
html body .consent-step-count {
    margin: 0 0 0.45rem; text-align: center;
    color: var(--gold); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
}
html body .consent-progress {
    height: 4px; border-radius: 4px; overflow: hidden;
    background: rgba(255,255,255,0.12);
}
html body .consent-progress span {
    display: block; height: 100%; width: 0;
    background: var(--gold); border-radius: 4px;
    transition: width 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
    html body .consent-progress span { transition: none; }
}

html body .consent-modal-form .form-section-modal {
    margin-bottom: 0.4rem; padding-bottom: 0.4rem; border-bottom: 0;
}
html body .consent-modal-form .form-section-modal h3 { margin: 0.2rem 0 1rem; }
html body .consent-modal-form .form-section-modal h3:focus { outline: none; }
html body .consent-modal-form .form-section-modal h3:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px;
}
html body .consent-modal-form .form-row {
    display: grid; grid-template-columns: 1fr; gap: 0.85rem 1rem; margin-bottom: 0.85rem;
}
@media (min-width: 640px) {
    html body .consent-modal-form .form-row { grid-template-columns: 1fr 1fr; }
}
html body .consent-modal-form .radio-group { gap: 0.5rem 1.6rem !important; }
html body .consent-modal-form .radio-label {
    display: inline-flex; flex-direction: row; align-items: center; gap: 0.45rem;
    min-height: 44px; margin: 0;
}
html body .consent-modal-form .form-row > .form-group { margin-bottom: 0; }
html body .consent-modal-form .form-group { margin-bottom: 0.85rem; }
html body .consent-modal-form .form-group label { margin-bottom: 0.3rem; }
html body .consent-modal-form [aria-invalid="true"] {
    border-color: #ef9a9a !important;
    box-shadow: 0 0 0 1px #ef9a9a;
}

html body .consent-step-nav { margin-top: 1.2rem; }
html body .consent-step-nav.is-last { margin-top: 0.8rem; }
html body .consent-step-error {
    margin: 0 0 0.7rem; text-align: center;
    color: #ffab91; font-size: 0.95rem; line-height: 1.5;
}
html body .consent-step-error:empty { display: none; }
html body .consent-step-btns {
    display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
html body .consent-step-btns .btn {
    min-width: 140px; min-height: 48px; padding-block: 0.6rem;
    justify-content: center;
}
html body .consent-step-btns [hidden] { display: none !important; }
/* Some themes paint .btn text white on a darker gold (3.5:1). Navy on gold
   passes AA in every theme. */
html body .consent-step-btns .btn-primary,
html body .consent-step-btns .btn-primary:hover { color: #0a1628 !important; }

/* Final CTA: breathing room between the closing paragraph and the buttons. */
html body .home-final-cta .hero-buttons { margin-top: 1.5rem; }
/* Mobile: keep the footer's last links clear of the floating WhatsApp /
   accessibility buttons. */
@media (max-width: 768px) {
    html body .footer-bottom { padding-bottom: 96px; }
}

/* =========================================================================
   2026-10-26 — second pass after the owner's question "did you update the
   whole site?" (390px audit). Same rules, applied to the pages they missed.
   ========================================================================= */

/* ── 7. Number ranges never split ("תוך 1-" | "2 ימי עסקים") ─────────────
   main.js rbNoBreakRanges() wraps "1-2", "3–5", phone numbers … in .rb-nobr. */
html body .rb-nobr { white-space: nowrap; }

/* ── 8. Centred blocks on phones ──────────────────────────────────────────
   /method intro paragraph sat start-aligned between the centred page header
   and the centred "השלבים בתהליך" title + step cards; the /lectures custom
   note sat start-aligned under the centred intro. Desktop keeps its
   start-aligned two-column/long-line layout (titles there are start-aligned
   too), so this is phone-only like the other centring rules above. */
@media (max-width: 768px) {
    html body section.section > p.section-text { text-align: center; }
    html body .custom-note,
    html body .custom-note > p { text-align: center; }
}
/* /contact: email + response-time lines sit under the centred "send" button
   (they were right-aligned even in English). */
html body .contact-info { text-align: center; }

/* ── 9. Legal pages (/legal/*) — layout only, wording untouched ───────────
   The "other pages" links sat at the start edge under a centred "back to
   site" link; and 40px card padding left a 260px text column on a phone. */
html body .legal-nav { justify-content: center; }
@media (max-width: 768px) {
    html body .legal-card { padding: 1.4rem 1.1rem; }
}

/* ── 10. Service landing (/service/*) header ──────────────────────────────
   The breadcrumb's last crumb repeats the H1; when it wrapped it left a lone
   word ("ומפת") on a second line. One line, the overflow fades into "…". */
html body .sl-page-header-breadcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
html body .page-header h1 { text-wrap: balance; }

/* ── 11. Footer — compact second pass ─────────────────────────────────────
   Phone: logo → "name · phone" on one line → nav in balanced, centred rows
   with one even gap → one row of icons → legal row → ©. */
html body .footer-brand-text {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 0.6rem;
    margin-top: 0.3rem;
}
html body .footer-brand-text .footer-brand-name::after {
    content: "·";
    content: "·" / "";
    margin-inline-start: 0.6rem;
    color: rgba(255,255,255,0.35);
}
/* Nav: inline links in a centred block so text-wrap: balance can even out the
   rows (4 + 3 instead of a full row over a short one); every link carries the
   same side margin, so all gaps are equal. */
html body .footer-nav {
    display: block;
    text-align: center;
    text-wrap: balance;
    max-width: 640px;
    margin-inline: auto;
}
html body .footer-nav a {
    display: inline-flex;
    margin: 0 0.5rem;
    white-space: nowrap;
}
@media (max-width: 768px) {
    html body .footer-main { padding: 1.1rem 1rem 0.9rem; gap: 0.55rem; }
    html body .footer-logo-container { width: 150px; }
    html body .footer-brand-text { margin-top: 0.15rem; }
    html body .footer-brand-text span { font-size: 0.85rem; }
    html body .footer-phone { min-height: 40px; }
    html body .footer-nav { width: 100%; }
    html body .footer-nav a { min-height: 40px; margin: 0 0.45rem; font-size: 0.88rem; }
    html body .footer-contact-btns { margin-top: 0.15rem; }
    html body .footer-bottom { padding-top: 0.55rem; }
    html body .footer-legal button { padding: 0.3rem 0.4rem; }
    html body .footer-legal .footer-copyright { margin-top: 0.15rem; }
}

/* ── 12. Intake (/intake) step buttons: Back | Next, equal, side by side;
   "Skip" a centred text link under them. CSS only — the markup, IDs and
   handlers rendered by pages/intake.php are unchanged. The wrapper <div>
   around Next + Skip has an inline flex style, hence !important. */
html body .intake-question .intake-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.75rem;
    align-items: stretch;
}
html body .intake-question .intake-nav > div { display: contents !important; }
html body .intake-question .intake-nav .intake-btn-back,
html body .intake-question .intake-nav .intake-btn-next {
    grid-row: 1;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0.7rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}
html body .intake-question .intake-nav .intake-btn-back { grid-column: 1; }
/* Next keeps its place (column 2) even on the first step, which has no Back. */
html body .intake-question .intake-nav .intake-btn-next { grid-column: 2; }
html body .intake-question .intake-nav > div > .intake-btn:not(.intake-btn-next) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    min-height: 44px;
    padding: 0.5rem 1.2rem !important;
    color: rgba(255,255,255,0.62) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* main.js rbPunctBreakFit(): drops the after-colon break when it would leave
   a one-word line ("אבחון אישי:" | "המפה" | "הפנימית שלכם"). */
html body .page-header h1.rb-punct-off br.punct-break { display: none; }
/* Page titles on small phones: at a fixed 35px a title such as
   "הקוד האנושי: הרצאות וסדנאות עומק" or "Personal Assessment:" could only
   wrap with one word alone on a line. Scaling with the screen (≈30px at 390,
   27px at 360, unchanged from ~460px up) keeps word pairs together. The
   accessibility "large text" mode keeps its own (larger) size. */
@media (max-width: 480px) {
    html body:not(.large-text) .page-header h1 { font-size: min(2.2rem, 7.6vw); }
}


/* Home hero without the big logo (2026-10-26): give the headline air below
   the fixed navbar on phones. */
@media (max-width: 768px) {
    html body .hero-main .hero-content { padding-top: 1.75rem; }
}

/* ── "רעות ביטון" — the merged about section on the home page (2026-10-26) ──
   Replaces the /about page and the old home "נעים להכיר" block; sits right
   under the hero. Every line is centred (no centre/start mix), on phones the
   photo leads, on desktop it sits beside the text. */
html body #about { scroll-margin-top: 76px; }
@media (min-width: 769px) { html body #about { scroll-margin-top: 100px; } }

html body .home-meet { max-width: 1140px; text-align: center; }
html body .home-meet-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.2rem;
    align-items: center; justify-items: center;
}
html body .home-meet-media {
    position: relative; width: min(78vw, 340px); margin: 0 auto;
}
html body .home-meet-media picture { display: block; }
html body .home-meet-photo {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
    object-fit: cover; border-radius: 22px !important;
    /* no theme "polaroid" mat (.section img) on this photo: the gold frame is the accent */
    padding: 0; background: none; border: 0;
    /* thin gold frame, the same on all four sides (the site's gold-on-navy accent) */
    outline: 1px solid rgba(201, 169, 98, 0.6); outline-offset: 9px;
    object-position: 50% 20%;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
html body .home-meet-text { max-width: 640px; margin-inline: auto; }
html body .content-centered .home-meet :is(.section-eyebrow, .section-title, .section-text,
    .home-meet-tagline, .home-meet-lead, .home-meet-emphasis, .home-meet-note) {
    text-align: center !important;
}
html body .home-meet .section-eyebrow { margin-bottom: 0.4rem; font-size: 0.95rem; }
/* Hebrew and Arabic are never letter-spaced (it breaks Arabic joins). */
html[lang="he"] body .home-meet .section-eyebrow,
html[lang="ar"] body .home-meet .section-eyebrow { letter-spacing: 0; }
html body .home-meet-name {
    font-size: clamp(2.4rem, 7vw, 3.4rem); margin: 0 0 0.35rem; letter-spacing: 0.01em;
}
html body .home-meet-tagline {
    font-size: clamp(1.3rem, 3.6vw, 1.6rem); font-weight: 700; color: var(--white);
    line-height: 1.35; margin: 0 0 1.2rem;
}
html body .home-meet-lead {
    font-size: clamp(1.12rem, 1rem + 0.5vw, 1.3rem); font-weight: 400; color: var(--white);
    line-height: 1.6; margin: 0 auto 1.5rem; max-width: 34em;
}
html body .home-meet .section-text { max-width: 34em; margin: 0 auto 1rem; text-wrap: pretty; }
html body .home-meet-emphasis {
    font-size: 1.06rem; font-weight: 500; color: var(--white); line-height: 1.7;
    max-width: 34em; margin: 2rem auto 0;
}
html body .home-meet-emphasis::before {
    content: ""; display: block; width: 48px; height: 2px;
    margin: 0 auto 1rem; background: var(--gold);
}
html body .home-meet-pillars {
    list-style: none; padding: 0; margin: 3.2rem auto 0; max-width: 1020px;
    display: grid; grid-template-columns: 1fr; gap: 1rem;
}
html body .home-meet-pillar {
    padding: 1.3rem 1.2rem; border-radius: 14px; text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.28);
}
html body .home-meet-pillar::before { content: none; }
html body .home-meet-pillar h3 {
    color: var(--gold); font-size: 1.15rem; font-weight: 700; margin: 0 0 0.45rem;
}
html body .home-meet-pillar p { color: var(--text-light); font-size: 0.98rem; line-height: 1.65; margin: 0; text-wrap: balance; }
html body .home-meet-note {
    font-size: 0.9rem; line-height: 1.7; color: var(--text-light);
    max-width: 40em; margin: 2.2rem auto 0;
}
html body .home-meet-cta { margin: 1.4rem 0 0; text-align: center; }
html body .home-meet :is(.home-meet-lead, .home-meet-emphasis, .home-meet-note) { text-wrap: balance; }
html body .home-meet-cta .btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding-inline: 2rem; }

@media (min-width: 769px) {
    html body .home-meet-pillars { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
@media (min-width: 993px) {
    html body .home-meet-grid {
        grid-template-columns: 400px 1fr; gap: 4rem; justify-items: stretch;
    }
    html body .home-meet-media { width: 100%; }
    html body .home-meet-text { max-width: 620px; }
}

/* =========================================================================
   2026-10-26 — owner's "final copy" (content + section order only).
   Layout glue for the few block types the new copy adds — page-hero eyebrow
   and CTA row, response note, numbered steps on centred pages, notes, a 2x2
   card grid, the contact boxes and the footer disclaimer. Existing colours,
   fonts and components only.
   ========================================================================= */

/* Page hero: small gold eyebrow above the h1 (beats `.page-header p`). */
html body .page-header .page-eyebrow {
    color: var(--gold); font-size: 0.95rem; font-weight: 500;
    max-width: none; margin: 0 auto 0.6rem; letter-spacing: 0.08em;
}
html[lang="he"] body .page-header .page-eyebrow,
html[lang="ar"] body .page-header .page-eyebrow { letter-spacing: 0; }

/* CTA row right under a page hero (the B2B page's pattern), always centred. */
html body .page-hero-cta {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    text-align: center; margin: -1rem auto 0; padding: 0 1.25rem 1rem;
}
html body .page-hero-cta .btn { justify-content: center; text-align: center; min-height: 48px; }
html body .page-cta-note {
    font-size: 0.92rem; color: var(--text-muted); line-height: 1.6;
    margin: 0.2rem auto 0; max-width: 36em; text-align: center;
}

/* Home hero: eyebrow line, one CTA, the response note and the
   "coming from an organization?" line — all centred under the headline. */
html body .hero-main .hero-eyebrow-line { text-align: center; margin: 0 auto 0.2rem; font-size: 0.95rem; }
html[lang="he"] body .hero-main .hero-eyebrow-line,
html[lang="ar"] body .hero-main .hero-eyebrow-line { letter-spacing: 0; }
html body .hero-main .hero-buttons { margin-bottom: 0.4rem; }
html body .hero-main .page-cta-note { margin-bottom: 1.1rem; }
html body .hero-org-line {
    font-size: 0.98rem; color: var(--text-light); text-align: center;
    margin: 0 auto; max-width: 36em; line-height: 1.7;
}
html body .hero-org-line a {
    color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px;
    display: inline-block; padding-block: 0.35rem;
}

/* Section eyebrows sit centred above centred titles. */
html body .content-centered :is(.section, .benefits-container) > .section-eyebrow { text-align: center; }
html body .benefits-container > .section-eyebrow { margin-bottom: 0.4rem; }
html body .benefits-container > .benefits-title { margin-bottom: 1rem; }
html body .benefits-container > .section-intro { text-align: center; margin: 0 auto 2.2rem; max-width: 40em; }
html body .content-centered .section > .section-intro { max-width: 40em; margin-inline: auto; }

/* Prose sections: readable measure, centred like the rest of the page. */
html body .page-prose { max-width: 820px; margin-inline: auto; }
html body .page-prose .section-text { max-width: 68ch; margin-inline: auto; margin-bottom: 1rem; }
html body .page-prose .home-highlight { text-align: center; }
html body .page-inline-link { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
html body .page-link-line { text-align: center; margin: 1.6rem 0 0; }

/* Numbered steps on centred pages: number above the text (B2B page pattern). */
html body .content-centered .page-steps .step { flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; }
html body .content-centered .page-steps .step-number { margin: 0 auto; }
html body .content-centered .page-steps .step-content p { max-width: 40em; margin-inline: auto; }
html body .page-steps { max-width: 900px; margin-inline: auto; }

/* Small print under a block (disclaimers). */
html body .page-note {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
    text-align: center; max-width: 42em; margin: 1.8rem auto 0; text-wrap: balance;
}

/* Four audience cards: 2 x 2 on wider screens instead of 3 + 1. */
@media (min-width: 769px) {
    html body .benefits-grid.benefits-grid-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Organizations page: the settings list, then its button. */
html body .page-fit .about-list { max-width: 640px; margin-inline: auto; }
html body .page-fit .hero-buttons { margin-top: 1.6rem; }

/* FAQ on centred pages: questions keep their start alignment (button rows). */
html body .page-faq .faq-list { max-width: 820px; margin-inline: auto; }

/* Closing CTA band on the new pages. */
html body .page-final-cta { text-align: center; }

/* Home "נעים להכיר": the slogan in two lines, the name line, the link. */
html body .home-meet-title span { display: block; }
html body .home-meet .home-meet-title { font-size: clamp(1.75rem, 4.4vw, 2.4rem); margin-bottom: 1.1rem; }
html body .home-quotes-all { text-align: center; margin: 1.4rem 0 0; }

/* /about story block reuses the home "meet" grid; it is not the #about anchor. */
html body .about-story { padding-top: 2.5rem; }

/* /contact: centred intro above the form, boxes under it. */
html body .contact-form-intro { text-align: center; max-width: 640px; margin: 0 auto 1.6rem; }
html body .contact-form-intro .section-title { text-align: center; font-size: clamp(1.7rem, 4.4vw, 2.2rem); }
html body .contact-form-intro .section-text { text-align: center; }
html body .contact-aside { max-width: 640px; margin: 2.4rem auto 0; display: grid; gap: 1.4rem; }
html body .contact-aside .custom-note { margin: 0; text-align: center; border-right: 0; border-top: 3px solid var(--gold); }
html body .contact-aside .custom-note p { margin: 0; color: var(--text-light); line-height: 1.8; }
html body .contact-aside .home-highlight-title { text-align: center; font-size: 1.25rem; margin-bottom: 0.6rem; }
html body .contact-talk { text-align: center; }
html body .contact-talk .btn { display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; }
html body .page-hero-cta.contact-buttons { margin-bottom: 1.5rem; }

/* Footer: the disclaimer line above the legal row. */
html body .footer-disclaimer {
    font-size: 0.82rem; color: var(--text-muted); text-align: center;
    max-width: 46em; margin: 0 auto 0.9rem; line-height: 1.6; padding-inline: 1rem;
}

/* Centred pages: the same centring home.php and the B2B page set inline,
   for every page that uses main.content-centered (styles.css has these
   rules only inside its mobile media block). */
html body .content-centered :is(.section-title, .section-text, .section-intro, .benefits-title,
    .benefit-card h3, .benefit-card p, .step-content h3, .step-content p, .about-list) {
    text-align: center !important;
}
html body .content-centered .about-list li { padding-right: 0; padding-left: 0; text-align: center; }
html body .content-centered .about-list li::before { position: static; right: auto; left: auto; top: auto; margin-inline-end: 0.4rem; }
/* Hebrew and Arabic eyebrows are never letter-spaced (it breaks Arabic joins). */
html[lang="he"] body .section-eyebrow,
html[lang="ar"] body .section-eyebrow { letter-spacing: 0; }

/* Design review 2026-10-26: three short steps sit side by side on desktop
   (number above, title, line), stacked on phones; card buttons share one baseline. */
@media (min-width: 993px) {
    html body .content-centered .page-steps .steps {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem;
        max-width: 1000px; margin-inline: auto;
    }
}
html body .content-centered .benefits-grid { align-items: stretch; }
html body .content-centered .benefit-card { display: flex; flex-direction: column; }
html body .content-centered .benefit-card > p:last-of-type { margin-bottom: 1.3rem; }
html body .content-centered .benefit-card > .btn { margin-top: auto; }

/* Service pages (/service/personal|couples|youth, 2026-10-26 final copy):
   eyebrow above section titles, item headings (h3), prose, keyboard-operable
   FAQ question buttons, closing CTA. Same look as the existing .sl-* rules. */
html body .sl-section .section-eyebrow { margin-bottom: 0.35rem; }
html body .sl-feature-box h3 { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.4rem; }
html body .sl-step-text h3 { color: rgba(255,255,255,.9); margin: 0 0 0.25rem; font-size: 0.95rem; }
html body .sl-text p:not(.section-eyebrow) { color: rgba(255,255,255,.75); font-size: 0.98rem; line-height: 1.8; margin: 0 0 0.9rem; }
html body .sl-faq-item h3 { margin: 0; font-size: inherit; }
html body button.sl-faq-q {
    width: 100%; background: none; border: 0; padding: 0; gap: 1rem; cursor: pointer;
    font-family: inherit; font-size: 0.95rem; font-weight: 600; line-height: inherit;
    color: rgba(255,255,255,.9); text-align: start;
}
html body button.sl-faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
html body .sl-cta h2 { color: var(--gold); font-size: 1.5rem; margin: 0 0 0.5rem; }
html body .sl-cta-lead { color: rgba(255,255,255,.75); margin: 0 0 1.3rem; }
html body .sl-cta-legacy { margin-top: 1.6rem; }

/* =========================================================================
   2026-10-28 "once and for all" restructure — layout glue only.
   New blocks reuse the existing components (benefit cards, steps, highlight
   boxes, pill lists); these rules only arrange them per screen size and
   bring tap targets to 44px. No colour, font or design changes.
   ========================================================================= */

/* Card grids with a fixed count, so 3 cards never become 2 + 1 and 2 cards
   never leave a hole: one column on phones and tablet portrait, the full row
   once there is room. */
html body .benefits-grid.benefits-grid-3,
html body .benefits-grid.benefits-grid-2 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
@media (min-width: 700px) {
    html body .benefits-grid.benefits-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
}
@media (min-width: 900px) {
    html body .benefits-grid.benefits-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1140px; gap: 1.5rem; }
}
@media (min-width: 900px) and (max-width: 1100px) {
    html body .benefits-grid.benefits-grid-3 .benefit-card { padding: 1.6rem 1.3rem; }
}
/* Four cards: 2 x 2 from tablet portrait up (the existing rule starts at 769). */
@media (min-width: 600px) {
    html body .benefits-grid.benefits-grid-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
}

/* Numbered steps: three steps sit in one row from 993px (rule above);
   six steps (/method) run 2 per row on tablets and 3 per row on desktop. */
@media (min-width: 600px) and (max-width: 992px) {
    html body .content-centered .page-steps .steps.steps-many {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2rem;
    }
}

/* Home: the organizations line and the short "who am I" teaser. */
html body .home-org { padding-block: 0.5rem 1.5rem; }
html body .home-org .hero-org-line a { min-height: 44px; display: inline-flex; align-items: center; }
html body .home-teaser { max-width: 760px; margin-inline: auto; text-align: center; }
html body .home-teaser .section-text { max-width: 34em; margin-inline: auto; }

/* /services: one section per path, centred, actions centred under the text. */
html body .svc-path { scroll-margin-top: 90px; }
html body .svc-path + .svc-path { border-top: 1px solid rgba(201, 169, 98, 0.15); }
html body .svc-path .svc-lead { font-weight: 600; color: var(--text-light); }
html body .svc-actions { margin-top: 1.4rem; }
html body .svc-actions .btn { min-height: 48px; justify-content: center; }

/* /method: photo checklist and the "what to send" box. */
html body .page-photos { max-width: 820px; margin-inline: auto; }
html body .page-photos .about-list { max-width: 640px; margin-inline: auto; }
html body .page-send { margin-top: 2rem; text-align: center; }
html body .page-send .section-text { max-width: 40em; margin-inline: auto; }
html body .page-send .hero-buttons { margin-top: 1.2rem; }

/* /human-due-diligence: workshop + manager session boxes side by side on
   wide screens, stacked on phones and tablet portrait. */
html body .org-offers { max-width: 1000px; margin-inline: auto; }
html body .org-offers-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 769px) {
    html body .org-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html body .org-offers .home-highlight { margin: 0; text-align: center; }
html body .org-offers .home-highlight .section-eyebrow { margin-bottom: 0.3rem; }
html body .lectures-upcoming-link { margin-bottom: 2rem; }

/* Tap targets (44px): FAQ question rows, footer links, footer icon buttons,
   the footer phone link. */
html body button.faq-question { min-height: 44px; }
html body .footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
html body .footer-contact-btns a { width: 44px; height: 44px; flex: 0 0 44px; }
html body .footer-phone { min-height: 44px; }
@media (max-width: 768px) {
    html body .footer-contact-btns a { width: 44px; height: 44px; flex: 0 0 44px; }
    html body .footer-legal button { min-height: 44px; }
}
html body .footer-legal button { min-height: 44px; }
html body .contact-info a { display: inline-flex; align-items: center; min-height: 44px; }
/* The three static quotes fit one row from tablet landscape up (no half card). */
@media (min-width: 900px) {
    html body .rb-car-static .rb-car-track { max-width: 1100px; margin-inline: auto; }
    html body .rb-car-static .rb-car-card { flex: 1 1 0; width: auto; min-width: 0; }
}
/* Organizations form: each choice row is a full 44px tap target. */
html body .b2b-radio { min-height: 44px; }
html body .page-send .section-text + .section-text { margin-top: 0.9rem; }
/* Design review 2026-10-28: card buttons share one width; the organizations
   line gets its own breathing room; touch tablets get 44px header targets. */
html body .content-centered .benefit-card > .btn { min-width: 13.5rem; justify-content: center; }
html body .home-org { padding-block: 1.75rem; }
@media (pointer: coarse) and (min-width: 769px) {
    html body .nav-links .nav-link,
    html body .language-selector a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* Design review 2026-10-28 (2): hero CTA inside the page header; one
   button width rule for stacked section actions; lead line spacing; the
   2 x 2 grid clears the floating buttons; no inset rule between /services
   sections; highlight boxes with centred text use the top accent (as the
   contact boxes do); text-only cards end without the button gap. */
html body .page-header .page-hero-cta { margin: 1.6rem auto 0; padding: 0; }
html body .page-header .page-hero-cta.contact-buttons,
html body .page-header .page-hero-cta { margin-bottom: 0; }
html body .svc-actions .btn { width: auto; min-width: 13.5rem; }
html body .svc-path .svc-lead { margin-bottom: 1rem; }
@media (min-width: 600px) {
    html body .benefits-grid.benefits-grid-2x2 { max-width: 900px; }
}
html body .svc-path + .svc-path { border-top: 0; }
html body .org-offers .home-highlight,
html body .page-send.home-highlight { border-right: 0; border-left: 0; border-top: 3px solid var(--gold); }
html body .content-centered .benefit-card > p:last-child { margin-bottom: 0; }
html body .b2b-radio input[type="radio"] { width: 20px !important; height: 20px; flex: 0 0 20px; }
html body .svc-actions { align-items: center; }

/* Anchored sections land below the fixed navbar (2026-11-01). */
html body #b2b-form, html body [id] > section[id], html body section[id] { scroll-margin-top: 110px; }
@media (max-width: 768px) {
    html body #b2b-form, html body section[id] { scroll-margin-top: 86px; }
}

/* ── 2026-11-02 — page bottom: closing CTA band + footer, tidied ──────────
   Owner (390px screenshot): "this part really doesn't look good". The band
   and the footer now read as one closing block: less empty padding, the band
   text centred under its heading, tighter tiers, a quieter legal row, and
   only as much bottom clearance as the floating WhatsApp / accessibility
   buttons need (the © line sits between them; links stay above them). */
html body .home-final-cta .section-text { margin-inline: auto; }
html body .footer-main { gap: 0.9rem; padding-block: 1.75rem 1.1rem; }
html body .footer-bottom { padding-top: 0.8rem; padding-bottom: 1rem; }
html body .footer-disclaimer { margin-bottom: 0.45rem; }
html body .footer-legal .footer-copyright { margin-top: 0.1rem; }
@media (max-width: 768px) {
    html body .home-final-cta { padding-top: 2.6rem; padding-bottom: 2.4rem; }
    html body .home-final-cta .section-title { margin-bottom: 0.7rem; }
    html body .home-final-cta .hero-buttons { margin-top: 1.2rem; }

    html body .footer-main { padding: 1.4rem 1rem 0.6rem; gap: 0.35rem; }
    html body .footer-logo-container { width: 140px; }
    html body .footer-contact-btns { max-width: 360px; margin-top: 0.35rem; }
    html body .footer-bottom {
        padding-top: 0.7rem;
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }
    html body .footer-disclaimer { font-size: 0.78rem; margin-bottom: 0.25rem; }
    html body .footer-legal button { font-size: 0.75rem; }
    html body .footer-legal .footer-copyright { margin-top: 0; font-size: 0.75rem; }
}

/* /method: the two ways to work (face to face / remotely) above the shared
   steps. Same highlight box as the B2B offers. */
html body .method-modes {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;
    max-width: 760px; margin: 0.4rem auto 2.2rem;
}
@media (min-width: 600px) {
    html body .method-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html body .method-modes .method-mode {
    margin: 0; padding: 1.3rem 1.2rem; text-align: center;
    border-right: 0; border-left: 0; border-top: 3px solid var(--gold);
}
html body .method-modes .home-highlight-title { font-size: 1.2rem; margin-bottom: 0.4rem; }
html body .method-modes .section-text { margin: 0 auto; }
html body .method-modes .method-mode { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 769px) {
    html body .method-modes { margin-top: 1.4rem; }
}
/* Above 768px the floating buttons (about 80px from each edge, bottom
   corners) would reach a wide legal row: keep the row inside them. */
@media (min-width: 769px) {
    html body .footer-bottom { padding-inline: 96px; }
}

/* 2026-11-03: hand-photo video guide on /method (#photos) + the sign-up step after it,
   and the matching note on /contact?from=photos. Portrait 9:16 video, never wider than
   a phone screen so it stays fully visible on every width. */
html body .photo-guide-video {
    margin: 1.5rem auto 2rem;
    max-width: 340px;
    text-align: center;
}
html body .photo-guide-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    max-width: min(100%, calc(75vh * 9 / 16));
    margin-inline: auto;
    border-radius: 16px;
    background: #f4f1ea;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
html body .photo-guide-video figcaption { margin-top: 0.8rem; font-size: 0.95rem; }
html body .photo-guide-next { margin-top: 2rem; }
html body .contact-photos-note { margin: 1.2rem auto 0; max-width: 40em; text-align: center; border-right: 0; border-left: 0; border-top: 3px solid var(--gold); }
html body #photos-signup { scroll-margin-top: 110px; }
@media (max-width: 768px) { html body #photos-signup { scroll-margin-top: 86px; } }

/* 2026-11-05: home quotes band (pages/home.php, after "נעים להכיר"). One large
   rotating client quote on a full-width paper band; all slides share one grid
   cell so the band keeps the tallest quote's height and never jumps. */
html body .home-quotes-band {
    max-width: none; width: 100%; margin: 0; box-sizing: border-box;
    padding: clamp(3rem, 7vw, 5.5rem) 16px clamp(2.6rem, 6vw, 4.5rem);
    background: var(--rf-paper, #f6f4ef); color: var(--navy);
    text-align: center;
}
html body .home-quotes-band .hq-inner { max-width: 980px; margin: 0 auto; }
html body .home-quotes-band .hq-eyebrow {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    margin: 0 auto 1.6rem; font-size: 0.95rem; font-weight: 600; line-height: 1.4;
    color: var(--navy) !important; text-align: center !important; text-wrap: balance;
}
html body .home-quotes-band .hq-eyebrow::before {
    content: ""; flex: none; width: 36px; height: 2px; background: var(--gold);
}
html[lang="he"] body .home-quotes-band .hq-eyebrow,
html[lang="ar"] body .home-quotes-band .hq-eyebrow { letter-spacing: 0; }
html body .home-quotes-band .hq-slides {
    display: grid; min-height: 11.5rem; align-items: center;
}
html body .home-quotes-band .hq-slide {
    grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}
html body .home-quotes-band .hq-slide.is-active {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
    html body .home-quotes-band .hq-slide,
    html body .home-quotes-band .hq-slide.is-active { transition: none; transform: none; }
}
html body .home-quotes-band .hq-quote { margin: 0; padding: 0; border: 0; background: none; }
html body .home-quotes-band .hq-quote p {
    margin: 0 auto; max-width: 30em; color: var(--navy);
    font-size: clamp(1.25rem, 3.2vw, 2.3rem); font-weight: 700; line-height: 1.45;
    text-align: center; text-wrap: balance; overflow-wrap: anywhere;
}
html body .home-quotes-band .hq-mark { color: var(--gold-dark); margin-inline-start: 0.1em; }
html body .home-quotes-band .hq-cite {
    margin-top: 1.1rem; font-size: 1rem; font-style: italic; line-height: 1.5;
    color: rgba(15, 28, 46, 0.72);
}
html body .home-quotes-band .hq-controls {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 0.5rem; margin-top: 2rem;
}
html body .home-quotes-band .hq-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; border-radius: 50%;
    background: transparent; color: var(--navy); cursor: pointer;
    border: 1.5px solid rgba(15, 28, 46, 0.55);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
html body .home-quotes-band .hq-btn:hover { border-color: var(--navy); background: rgba(201, 169, 98, 0.18); }
html body .home-quotes-band .hq-btn svg { width: 20px; height: 20px; }
html[dir="rtl"] body .home-quotes-band :is(.hq-prev, .hq-next) svg { transform: scaleX(-1); }
html body .home-quotes-band .hq-toggle { margin-inline-start: 0.75rem; width: 44px; height: 44px; }
html body .home-quotes-band .hq-toggle .hq-i-play,
html body .home-quotes-band .hq.is-paused .hq-toggle .hq-i-pause { display: none; }
html body .home-quotes-band .hq.is-paused .hq-toggle .hq-i-play { display: block; }
html body .home-quotes-band .hq-dots { display: flex; align-items: center; justify-content: center; }
html body .home-quotes-band .hq-dot {
    position: relative; width: 44px; height: 44px; padding: 0; margin: 0;
    border: 0; background: none; cursor: pointer;
}
html body .home-quotes-band .hq-dot::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    box-sizing: border-box; border: 1.5px solid rgba(15, 28, 46, 0.6); background: transparent;
    transition: background-color 0.2s ease, width 0.2s ease, margin 0.2s ease;
}
html body .home-quotes-band .hq-dot[aria-current="true"]::before {
    width: 20px; margin-left: -10px; border-radius: 5px;
    background: var(--gold); border-color: var(--gold-dark);
}
html body .home-quotes-band :is(.hq-btn, .hq-dot):focus-visible {
    outline: 3px solid var(--navy); outline-offset: 2px;
}
html body .home-quotes-band .home-quotes-all { margin: 2.2rem 0 0; }
html body .home-quotes-band .rv-cta.btn-outline-gold {
    color: var(--navy) !important; border: 1.5px solid var(--gold-dark) !important; background: transparent !important;
}
html body .home-quotes-band .rv-cta.btn-outline-gold:hover,
html body .home-quotes-band .rv-cta.btn-outline-gold:focus-visible {
    background: var(--gold) !important; color: var(--navy) !important;
}
html body .home-quotes-band .rv-cta.btn-outline-gold:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (max-width: 600px) {
    html body .home-quotes-band .hq-slides { min-height: 13rem; }
    html body .home-quotes-band .hq-quote p { font-size: clamp(1.2rem, 5.4vw, 1.4rem); line-height: 1.5; }
    html body .home-quotes-band .hq-cite { font-size: 0.95rem; }
    /* phones: dots on their own row (each 44px), arrows + pause under them */
    html body .home-quotes-band .hq-controls { row-gap: 0.4rem; }
    html body .home-quotes-band .hq-dots { order: -1; flex: 0 0 100%; }
}

/* ── 2026-11-05 — decluttered footer (owner: "עמוס בטירוף") ─────────────────
   Logo → one row of icons → thin rule → disclaimer → small legal links + ©.
   No page-link list and no name/phone line (both duplicated the top menu and
   the phone icon). */
html body .footer-main { gap: 0.9rem; padding-block: 1.6rem 1.1rem; }
html body .footer-logo-link { display: inline-flex; align-items: center; min-height: 44px; line-height: 0; border-radius: 8px; }
html body .footer-logo-container { width: 150px; }
html body .footer-contact-btns { gap: 0.5rem; flex-wrap: nowrap; justify-content: center; }
html body .footer-contact-btns a { background: transparent; border: 1px solid rgba(201, 169, 98, 0.28); }
html body .footer-contact-btns svg { width: 18px; height: 18px; }
html body .footer-disclaimer { font-size: 0.8rem; opacity: 0.72; margin-bottom: 0.3rem; }
html body .footer-legal button, html body .footer-legal .footer-copyright { font-size: 0.78rem; opacity: 0.85; }
@media (max-width: 768px) {
    html body .footer-main { padding: 1.3rem 0.75rem 0.8rem; gap: 0.7rem; }
    html body .footer-logo-container { width: 120px; }
    html body .footer-contact-btns { gap: 0.2rem; max-width: none; }
    html body .footer-contact-btns a { width: 44px; height: 44px; flex: 0 0 44px; }
    html body .footer-contact-btns svg { width: 17px; height: 17px; }
    html body .footer-disclaimer { font-size: 0.74rem; line-height: 1.5; max-width: 30em; margin-inline: auto; }
    html body .footer-legal button, html body .footer-legal .footer-copyright { font-size: 0.72rem; }
}
@media (max-width: 340px) {
    html body .footer-contact-btns { flex-wrap: wrap; gap: 0.25rem; }
}

/* 2026-11-06: ONE continuous home page. Each former page is a full-width band
   (.op-sec); bands alternate light paper / dark navy ("אזור כן אזור לא").
   Light bands re-map the theme tokens so the existing components read dark on light. */
html body .op-sec {
    width: 100%; box-sizing: border-box; scroll-margin-top: 72px;
    padding: clamp(2.6rem, 6vw, 4.5rem) 0;
}
@media (min-width: 769px) { html body .op-sec { scroll-margin-top: 92px; } }
html body .op-dark { background: var(--navy); }
html body .op-light {
    background: var(--rf-paper, #f6f4ef); color: #1b2638;
    --white: #0f1c2e; --white-soft: #1b2638;
    --text-light: rgba(15, 28, 46, 0.86); --text-muted: rgba(15, 28, 46, 0.66);
    --gold-light: #86692c; --gold-dark: #6f5723;
    --rf-text: #0f1c2e; --rf-muted: rgba(15, 28, 46, 0.78); --rf-dim: rgba(15, 28, 46, 0.66);
    --rf-surface: #ffffff; --rf-surface-2: #ffffff; --rf-line: rgba(168, 137, 63, 0.35);
    --rf-shadow-soft: 0 6px 22px rgba(15, 28, 46, 0.07); --rf-shadow: 0 10px 30px rgba(15, 28, 46, 0.10);
}
html body .op-light :is(h2, h3, .section-title, .home-highlight-title, .benefit-card h3) { color: #0f1c2e; }
html body .op-light :is(.section-eyebrow, .page-eyebrow) { color: #86692c !important; }
html body .op-light :is(p, li, figcaption, .section-text, .section-intro) { color: rgba(15, 28, 46, 0.86); }
html body .op-light :is(.benefit-card, .home-highlight, .step, .method-mode) {
    background: #ffffff; border-color: rgba(168, 137, 63, 0.35); box-shadow: 0 6px 22px rgba(15, 28, 46, 0.07);
}
/* FAQ: one white card with hairline dividers (not a stack of edge-to-edge boxes). */
html body .op-light .faq-list {
    background: #ffffff; border: 1px solid rgba(168, 137, 63, 0.35); border-radius: 18px;
    box-shadow: 0 6px 22px rgba(15, 28, 46, 0.07); padding: 0.2rem clamp(1rem, 3vw, 1.8rem);
}
html body .op-light .faq-item { background: transparent; box-shadow: none; border-bottom: 1px solid rgba(15, 28, 46, 0.10); }
html body .op-light .faq-item:last-child { border-bottom: 0; }
html body .op-light .faq-question { color: #0f1c2e; }
html body .op-light .faq-question::after { color: #86692c; }
/* theme-refresh paints every .btn white with !important; outline buttons on paper need dark gold. */
html body .op-light .btn-outline-gold,
html body .op-light .btn-outline-gold span { color: #6f5723 !important; }
html body .op-light .btn-outline-gold { border-color: #a8893f; background: rgba(255, 255, 255, 0.55); }
html body .op-light .btn-outline-gold:is(:hover, :focus-visible) { background: #6f5723; border-color: #6f5723; }
html body .op-light .btn-outline-gold:is(:hover, :focus-visible),
html body .op-light .btn-outline-gold:is(:hover, :focus-visible) span { color: #ffffff !important; }
html body .op-light .btn-outline-gold:focus-visible { outline: 3px solid #0f1c2e; outline-offset: 2px; }
html body .op-light .btn-primary { color: #0f1c2e; }
/* A section's former page hero becomes a compact section heading. */
html body .op-sec .page-header.op-head {
    min-height: 0; padding: 0 16px clamp(1.4rem, 3vw, 2.2rem); margin: 0 auto;
    background: none !important; border-top: 0; border-bottom: 0;
}
/* Inner full-width hairlines (theme-refresh) read as stray rules on paper. */
html body .op-sec .benefits-section { background: transparent !important; border-top: 0; border-bottom: 0; }
/* Numbered steps become proper white cards on paper (they had no padding/shape). */
html body .op-light .step {
    padding: 1.6rem 1.25rem; border: 1px solid rgba(168, 137, 63, 0.35); border-radius: 18px;
}
html body .op-sec .step-content h3 { font-size: clamp(1.3rem, 1.9vw, 1.5rem); line-height: 1.3; }
html body .op-sec .page-header.op-head h2 {
    font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.2; margin: 0 0 .6rem; text-wrap: balance;
}
html body .op-light .page-header.op-head h2 { color: #0f1c2e; }
html body .op-dark .page-header.op-head h2 { color: var(--gold); }
html body .op-sec > :is(section, header):first-child { margin-top: 0; }
html body .op-sec .section { background: transparent; }
/* Long compound words (Swedish "inspirationsevenemang") must wrap inside a card
   instead of widening the grid track past the viewport. */
html body .op-sec :is(.benefits-grid, .steps, .org-offers-grid, .method-modes) > * { min-width: 0; }
html body .op-sec :is(h2, h3, .btn, .section-title, .home-highlight-title, .faq-question) {
    overflow-wrap: break-word; hyphens: auto;
}
/* One card language on paper: hairline gold frame, 18px corners, gold top accent. */
html body .op-light .home-highlight {
    border: 1px solid rgba(168, 137, 63, 0.35); border-top: 3px solid var(--gold); border-radius: 18px;
}
html body .op-sec .faq-question { font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.35; }

/* 2026-11-09 (owner): ONE contact form. Organizational options in the #contact
   dropdown reveal role + company (and the required email label). */
html body #contactForm [hidden] { display: none !important; }
html body #contactForm .contact-org-fields:not([hidden]) { animation: rbOrgReveal 0.35s ease both; }
@keyframes rbOrgReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    html body #contactForm .contact-org-fields:not([hidden]) { animation: none; }
}

/* 2026-11-09: in en/sv the #contact form labels sat right-aligned on desktop: the
   LTR rule in styles.css lives inside its never-closed @media (max-width:768px)
   block, so it only applied on phones. Same rule, every width. */
html[dir="ltr"] body .contact-form,
html[dir="ltr"] body #contactForm .form-group label { text-align: left; }
