/* ==========================================================================
   Eagle — homepage composition
   Loaded last. Owns the hero (`.eh`), the trust strip (`.et`), the section
   surfaces and the chapter heads. The hero and trust strip use their own class
   names so none of the earlier `.e-hero` layers can reach them.

   Every text colour resolves through a token measured against the ground it
   sits on (see eagle-core.css). Nothing below introduces a grey: muted text is
   warm espresso, rules are bronze, bands are ivory and champagne.
   ========================================================================== */

/* ── Surfaces ──────────────────────────────────────────────────────────────
   White, ivory, champagne and black. Assigned per section from admin, so the
   page rhythm is a choice rather than an accident of two near-identical tints. */

:root, [data-theme='light'] { --e-surface-champagne: #f2e8d5; }
[data-theme='dark'] { --e-surface-champagne: #16120b; }

.elc .e-section { background: var(--e-paper); }
.elc .e-alt { background: var(--e-surface-2); }
.elc .e-champagne { background: var(--e-surface-champagne); }

/* The black chapter. A faint gold light falls across it so it reads as a
   lit showroom rather than a flat fill. */
.elc .e-ink {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(212, 175, 55, .10), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(212, 175, 55, .06), transparent 60%),
        #0b0a08;
    color: var(--e-text);
}

/* Cards on any tinted band sit on white so they lift off the ground. */
.elc .e-alt .e-car, .elc .e-champagne .e-car,
.elc .e-alt .e-service, .elc .e-champagne .e-service { background: var(--e-paper); }

/* On the black chapter, cards become dark glass with a bronze edge. */
.elc .e-ink .e-promise,
.elc .e-ink .e-card,
.elc .e-ink .e-service {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(212, 175, 55, .24);
    box-shadow: none;
}
.elc .e-ink .e-promise__icon { color: var(--e-gold); }

/* ── Section heads ─────────────────────────────────────────────────────────
   Each homepage section opens on a full-width bronze hairline with a short gold
   leader above its label. */

#page-home .e-section .e-head,
#page-home .e-section .e-split > :first-child,
#page-home .e-section .e-kl__copy {
    position: relative;
    padding-top: clamp(1.6rem, 2.6vw, 2.25rem);
    background:
        linear-gradient(var(--e-gold), var(--e-gold)) left top / 3.5rem 2px no-repeat,
        linear-gradient(var(--e-line-strong), var(--e-line-strong)) left top / 100% 1px no-repeat;
}

#page-home .e-section .e-eyebrow {
    padding-inline-start: 0;
    margin-bottom: 1.1rem;
    font-family: var(--e-sans);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--e-accent);
}
#page-home .e-section .e-eyebrow::before { display: none; }

/* Headlines carry the page. Larger, tighter, and the accent word in gold. */
#page-home .e-section h2 {
    font-family: var(--e-display);
    font-size: clamp(2.1rem, 4.2vw, 3.6rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.02em;
    color: var(--e-text);
    text-wrap: balance;
}


#page-home .e-section .e-lead { color: var(--e-text-muted); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; }

/* More air between chapters; the old rhythm was uniform and flat. */
#page-home main .e-section { padding-block: clamp(4.5rem, 8.5vw, 8rem); }
#page-home main .e-section.e-section--tight { padding-block: clamp(3rem, 5.5vw, 5rem); }

/* ── Hero ──────────────────────────────────────────────────────────────
   Copy is vertically centred in the left half and held to a narrow measure so
   it never runs across the car; the car is pushed right in the frame. */

.eh {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: min(86svh, 820px);
    background: #060606;
    color: #fbf8f1;
    overflow: hidden;
}

.eh__media { position: absolute; inset: 0; z-index: -2; }
.eh__media picture, .eh__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }

.eh__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.88) 30%, rgba(5,5,5,.55) 50%, rgba(5,5,5,.08) 72%),
        linear-gradient(0deg, rgba(5,5,5,.85) 0%, rgba(5,5,5,0) 30%);
}

.eh__inner {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding-block: clamp(4rem, 8vw, 6.5rem);
}
.eh__content { max-width: 35rem; }

.eh__kicker {
    display: flex; align-items: center; gap: .9rem;
    margin: 0 0 1.75rem;
    font-family: var(--e-sans);
    font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
    color: var(--e-gold-bright);
}
.eh__kicker-bar { width: 2.5rem; height: 2px; background: var(--e-gold); flex-shrink: 0; }

.eh__title {
    margin: 0 0 1.5rem;
    font-family: var(--e-display);
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.02em;
    color: #fbf8f1;
}
/* Solid gold. The clipped metallic gradient washed out across its bright stop. */
.eh__accent { display: block; color: #e2c275; }

.eh__lead {
    max-width: 31rem;
    margin: 0 0 2.5rem;
    font-size: clamp(1.02rem, 1.2vw, 1.14rem);
    line-height: 1.7;
    color: #e2d9c8;
}

.eh__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.eh__btn { min-height: 54px; padding-inline: 1.75rem; gap: .65rem; }
.eh .e-btn--outline { border-color: rgba(242, 220, 154, .55); color: #fbf8f1; background: rgba(255,255,255,.04); }
.eh .e-btn--outline:hover { border-color: var(--e-gold); background: rgba(212,175,55,.12); color: #fff; }

.eh__call { margin: 1.5rem 0 0; font-size: .92rem; color: #cbbfa8; }
.eh__call a { color: #fbf8f1; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242,220,154,.5); padding-bottom: 1px; }
.eh__call a:hover { border-bottom-color: var(--e-gold); }
.eh__call-icon, .eh__kicker-dot { display: none; }

/* Figures: a ruled rail along the hero's base. Opaque enough that labels clear
   4.5:1 over the brightest part of any photograph uploaded later. */
.eh__rail { position: relative; border-top: 1px solid rgba(242, 220, 154, .2); background: rgba(6, 6, 6, .86); }
.eh__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.eh__stats li { display: flex; align-items: baseline; gap: .85rem; padding: 1.5rem 1.75rem; border-inline-start: 1px solid rgba(242, 220, 154, .14); }
.eh__stats li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.eh__stats b { font-family: var(--e-display); font-size: clamp(1.7rem, 2.3vw, 2.1rem); font-weight: 600; line-height: 1; color: #e2c275; flex-shrink: 0; }
.eh__stats span { font-size: .86rem; line-height: 1.35; color: #d6cbb5; }

/* ── Trust strip: continues the black ground beneath the hero ───────────── */

.et { background: #0b0a08; border-bottom: 1px solid rgba(212, 175, 55, .22); }
.et__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.et__item { display: flex; align-items: flex-start; gap: .9rem; padding: 1.6rem 1.5rem 1.6rem 0; }
.et__item + .et__item { padding-inline-start: 1.5rem; border-inline-start: 1px solid rgba(242, 220, 154, .1); }
.et__icon {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem;
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 50%;
    color: var(--e-gold);
}
.et__title { display: block; font-size: .95rem; font-weight: 600; color: #fbf8f1; }
.et__note { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.45; color: #cbbfa8; }

/* ── Tablet ──────────────────────────────────────────────────────────────── */

@media (max-width: 64rem) {
    .eh__stats li { flex-direction: column; gap: .35rem; }
    .et__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et__item, .et__item + .et__item { padding: 1.35rem 1.25rem 1.35rem 0; border-inline-start: 0; }
    .et__item:nth-child(even) { padding-inline-start: 1.25rem; border-inline-start: 1px solid rgba(242, 220, 154, .1); }
    .et__item:nth-child(n+3) { border-top: 1px solid rgba(242, 220, 154, .1); }
}

/* ── Phone ───────────────────────────────────────────────────────────────── */

@media (max-width: 48rem) {
    /* ── Hero, phones ─────────────────────────────────────────────────────
       One composition rather than a photo stacked on a text box: the car sits
       in a pool of light and the image dissolves into the black over its
       lower half, so the headline is set on the fade itself. The band height
       is capped so the whole car stays in frame — the wide source puts the
       car across 42–87% of its width. */
    .eh { min-height: auto; --eh-media-h: min(88vw, 25rem); background: #050505; }
    .eh__media { inset: 0 0 auto 0; height: var(--eh-media-h); }
    .eh__media img, .eh__media picture img { object-position: 77% 46%; }

    /* An eased fade (many stops approximate a curve), so there is no visible
       line where the photograph ends. A short shadow at the top settles the
       header onto the image. */
    .eh__shade {
        inset: 0 0 auto 0;
        height: calc(var(--eh-media-h) + 1px);
        background:
            linear-gradient(180deg, rgba(5,5,5,.6) 0%, rgba(5,5,5,.22) 9%, rgba(5,5,5,0) 20%),
            linear-gradient(180deg,
                rgba(5,5,5,0) 40%,
                rgba(5,5,5,.04) 47%,
                rgba(5,5,5,.12) 54%,
                rgba(5,5,5,.25) 61%,
                rgba(5,5,5,.42) 68%,
                rgba(5,5,5,.6) 75%,
                rgba(5,5,5,.76) 82%,
                rgba(5,5,5,.89) 89%,
                rgba(5,5,5,.97) 95%,
                #050505 100%);
    }

    /* Copy starts on the last fifth of the photograph, below the car. */
    .eh__inner { padding-block: calc(var(--eh-media-h) * .87) 0; }
    .eh__content {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        max-width: none;
    }
    .eh__content > * { grid-column: 1 / -1; }

    /* A quiet location line, not a tracked-caps label with a rule. */
    .eh__kicker {
        gap: .55rem; margin: 0 0 .85rem;
        font-size: .78rem; font-weight: 500; letter-spacing: .02em; text-transform: none;
        color: #e8d3a0;
    }
    .eh__kicker-bar { display: none; }
    .eh__kicker-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--e-gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }

    .eh__title {
        margin-bottom: 1rem;
        font-size: clamp(2.15rem, 9.4vw, 2.65rem);
        line-height: 1.04; letter-spacing: -.025em;
        text-wrap: pretty;
        text-shadow: 0 2px 24px rgba(0,0,0,.45);
    }
    .eh__lead { max-width: 34ch; margin-bottom: 1.6rem; font-size: .96rem; line-height: 1.6; color: #cdc2ab; }

    /* One clear action. The secondary links share a row beneath it. */
    .eh__actions { display: contents; }
    .eh__btn { width: auto; }
    .eh .e-btn--gold.eh__btn {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 54px;
        border-radius: 12px;
        background: #d4af37;
        box-shadow: none;
        font-size: .98rem; font-weight: 700; color: #120f08;
    }
    .eh .e-btn--outline.eh__btn {
        grid-column: 1;
        justify-self: start;
        min-height: 48px; padding: 0;
        border: 0; background: none;
        font-size: .93rem; font-weight: 600; color: #fbf8f1;
        gap: .4rem;
    }
    .eh .e-btn--outline.eh__btn span { color: var(--e-gold); transition: transform .2s ease; }
    .eh .e-btn--outline.eh__btn:hover span { transform: translateX(3px); }
    .eh__call { grid-column: 2; margin: 0; font-size: .88rem; }
    .eh__call-label { display: none; }
    .eh__call a { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; border: 0; padding: 0; color: #e8d3a0; font-weight: 600; }
    .eh__call-icon { display: block; }

    /* Figures as a slim spec strip, three across. */
    .eh__rail { margin-top: 1.25rem; background: none; border-top: 1px solid rgba(242, 220, 154, .16); }
    .eh__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .eh__stats li:nth-child(4) { display: none; }
    .eh__stats li { flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.1rem .75rem 1.35rem; border-inline-start: 1px solid rgba(242, 220, 154, .12); }
    .eh__stats li:first-child { padding-inline-start: 0; border-inline-start: 0; }
    .eh__stats b { font-size: 1.55rem; }
    .eh__stats span { font-size: .78rem; line-height: 1.3; color: #b9ab92; }

    /* The floating WhatsApp button would sit on top of the hero's own
       WhatsApp button; it steps aside until that button scrolls away. */
    html.eh-cta-in-view .e-float { opacity: 0; transform: translateY(12px); pointer-events: none; }
    .e-float { transition: opacity .25s ease, transform .25s ease; }
    /* The four reassurances repeat what the stats and the sections below
       already say; on a phone they only push the fleet further down. */
    .et { display: none; }
    #page-home main .e-section { padding-block: 3.75rem; }
    .e-kl__glance { grid-template-columns: 1fr; }
    .e-kl__glance > div:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
}

/* ── Accent word ───────────────────────────────────────────────────────────
   Solid gold on light grounds: the metallic gradient's bright stop (#f2dc9a)
   all but disappeared on white. It only appears in headings of 33px and up, so
   the large-text threshold (3:1) applies — #9a7310 gives 4.3 on white, 3.6 on
   champagne. On black grounds the brighter gold is used instead. */
.e-accent-word {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: #9a7310;
}
.e-on-ink .e-accent-word, .e-ink .e-accent-word { color: #e2c275; }

/* ── "Everything agreed" — promise cards ───────────────────────────────── */
#page-home .e-sec--value .e-promises { gap: 1px; border: 1px solid rgba(212, 175, 55, .24); background: rgba(212, 175, 55, .24); }
#page-home .e-sec--value .e-promise {
    padding: clamp(1.6rem, 2.6vw, 2.25rem) !important;
    border: 0 !important;
    background: #0f0e0b;
}
#page-home .e-sec--value .e-promise__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin-bottom: 1.1rem;
    border: 1px solid rgba(212, 175, 55, .45); border-radius: 50%;
}

/* ── Services — one panel, rows with real inner padding ───────────────── */
#page-home .e-sec--services .e-services {
    border: 1px solid var(--e-line);
    border-radius: var(--e-radius);
    background: var(--e-paper);
    overflow: hidden;
}
#page-home .e-sec--services .e-service {
    padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1.25rem, 2.6vw, 2.25rem);
    border-bottom: 1px solid var(--e-line);
    background: transparent;
    transition: background var(--e-fast) var(--e-ease);
}
#page-home .e-sec--services .e-service:last-child { border-bottom: 0; }
#page-home .e-sec--services .e-service:hover { background: var(--e-surface-2); padding-inline-start: clamp(1.25rem, 2.6vw, 2.25rem); }
@media (min-width: 62rem) {
    #page-home .e-sec--services .e-service { grid-template-columns: 3rem minmax(0, .9fr) minmax(0, 1.3fr) auto; gap: 0 2rem; }
}
#page-home .e-sec--services .e-service__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--e-accent-line); border-radius: 50%;
    color: var(--e-accent);
}
#page-home .e-sec--services .e-service__name { font-family: var(--e-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 600; color: var(--e-text); }
#page-home .e-sec--services .e-service:hover .e-service__name { color: var(--e-text); }
#page-home .e-sec--services .e-service__copy { font-size: .95rem; line-height: 1.6; color: var(--e-text-muted); }
#page-home .e-sec--services .e-service__go {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--e-line-strong); border-radius: 50%;
    font-size: 0; color: var(--e-text);
    transition: background var(--e-fast) var(--e-ease), color var(--e-fast) var(--e-ease), border-color var(--e-fast) var(--e-ease);
}
#page-home .e-sec--services .e-service__go::after { content: '\2192'; font-size: 1rem; }
#page-home .e-sec--services .e-service:hover .e-service__go { background: var(--e-text); border-color: var(--e-text); color: var(--e-paper); }

/* ── Areas image — car centred, no caption bar ─────────────────────────── */
#page-home .e-areas__media img, #page-home .e-areas__media picture img { object-position: 63% 50%; }
#page-home .e-areas__figure { border-radius: var(--e-radius); }

/* ── "Renting a premium car in KL" — at a glance ───────────────────────── */
.e-kl__glance {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0; margin: 0 0 2rem;
    border-top: 1px solid var(--e-line-strong);
}
.e-kl__glance > div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--e-line); }
.e-kl__glance > div:nth-child(even) { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--e-line); }
.e-kl__glance dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--e-accent); margin-bottom: .3rem; }
.e-kl__glance dd { margin: 0; font-size: .98rem; font-weight: 500; color: var(--e-text); }

/* ── Services on phones ────────────────────────────────────────────────────
   Icon, name and arrow share the first line; the description runs full width
   beneath. Declared after the desktop rules above, which otherwise win on
   equal specificity and left the arrow stranded on a row of its own. */
@media (max-width: 61.99rem) {
    #page-home .e-sec--services .e-service {
        grid-template-columns: 2.5rem minmax(0, 1fr) 2.25rem;
        grid-template-areas: "icon name go" "copy copy copy";
        align-items: center;
        gap: .85rem 1rem;
        padding: 1.35rem 1.25rem;
    }
    #page-home .e-sec--services .e-service:hover { padding-inline-start: 1.25rem; }
    #page-home .e-sec--services .e-service__icon { grid-area: icon; display: inline-flex; width: 2.5rem; height: 2.5rem; }
    #page-home .e-sec--services .e-service__name { grid-area: name; font-size: 1.2rem; line-height: 1.2; }
    #page-home .e-sec--services .e-service__copy { grid-area: copy; margin: 0; font-size: .93rem; }
    #page-home .e-sec--services .e-service__go { grid-area: go; display: inline-flex; width: 2.25rem; height: 2.25rem; justify-self: end; }
}

/* ── Brands on black ───────────────────────────────────────────────────────
   Tiles stay ivory so every manufacturer mark keeps its own colours. Inverting
   them for a black ground turned crests into blots. */
.e-ink .e-brands::before { background: linear-gradient(to right, #0b0a08, transparent); }
.e-ink .e-brands::after { background: linear-gradient(to left, #0b0a08, transparent); }
.e-ink .e-brand {
    background: #f7f1e4;
    border-color: rgba(212, 175, 55, .35);
    color: #14110c;
}
.e-ink .e-brand:hover { border-color: var(--e-gold); background: #fffaf0; }
.e-on-ink .e-brand img, .e-ink .e-brand img { filter: none; }
.e-ink .e-brand__name { color: #14110c; }
.e-ink .e-marques__count { color: #e2c275; }

/* ── "Delivered where you are" band ────────────────────────────────────────
   On wide screens the photograph is anchored to the right two-thirds and fades
   into black, so the copy sits on a clean ground instead of over the car. */
.e-band { background: #060606; }
.e-band__scrim { background: linear-gradient(0deg, rgba(6,6,6,.55), rgba(6,6,6,.2)); }
.e-band__copy { max-width: 34rem; }
@media (min-width: 62rem) {
    .e-band { padding-block: clamp(5rem, 8vw, 7rem); }
    .e-band__media {
        inset: 0 0 0 auto; width: 70%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
        mask-image: linear-gradient(90deg, transparent 0, #000 32%);
    }
    .e-band__media img, .e-band__media picture img { object-position: 60% 62%; }
    .e-band__scrim { background: linear-gradient(90deg, #060606 0, rgba(6,6,6,.9) 28%, rgba(6,6,6,.15) 60%, rgba(6,6,6,0) 100%); }
}
@media (max-width: 61.99rem) {
    .e-band__media img, .e-band__media picture img { object-position: 62% 60%; }
    .e-band__scrim { background: linear-gradient(0deg, rgba(6,6,6,.94) 0, rgba(6,6,6,.82) 55%, rgba(6,6,6,.55) 100%); }
}
.e-band__media picture { display: block; width: 100%; height: 100%; }

/* ── Quote panel: the chosen car's published rates ─────────────────────── */
.e-quotepanel__rates {
    margin: .6rem 0 0;
    font-family: var(--e-mono);
    font-size: .74rem;
    line-height: 1.5;
    color: var(--e-text-muted);
}

/* ── Footer ────────────────────────────────────────────────────────────────
   Brand and contact band, five even link columns, legal bar. */
.ef { position: relative; background: #060606; color: var(--e-text); padding-top: clamp(3.5rem, 6vw, 5rem); }
.ef::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.55) 40%, rgba(212,175,55,.55) 60%, transparent); }

.ef__top {
    display: grid; gap: 2rem;
    padding-bottom: clamp(2.25rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(242, 220, 154, .14);
}
@media (min-width: 62rem) { .ef__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4rem; } }

.ef__logo { height: var(--e-logo-h); width: auto; margin-bottom: 1.25rem; }
.ef__brandline { font-family: var(--e-display); font-size: 1.5rem; font-weight: 600; margin: 0 0 1rem; color: #fbf8f1; }
.ef__blurb { max-width: 30rem; margin: 0 0 1.5rem; font-size: .95rem; line-height: 1.7; color: var(--e-text-muted); }
.ef__social { display: flex; gap: .5rem; }
.ef__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem;
    border: 1px solid rgba(212, 175, 55, .35); border-radius: 50%;
    color: #e2c275; text-decoration: none;
    transition: background var(--e-fast) var(--e-ease), color var(--e-fast) var(--e-ease);
}
.ef__social a:hover { background: var(--e-gold); color: #0b0a08; }

.ef__reach { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
@media (min-width: 62rem) { .ef__reach { align-items: flex-end; text-align: end; } }
.ef__phone { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: #fbf8f1; }
.ef__phone small { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #e2c275; }
.ef__phone span { font-family: var(--e-display); font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.1; }
.ef__phone:hover span { color: #e2c275; }
.ef__mail { font-size: .95rem; color: var(--e-text-muted); text-decoration: none; border-bottom: 1px solid rgba(242,220,154,.3); padding-bottom: 1px; }
.ef__mail:hover { color: #fbf8f1; border-bottom-color: var(--e-gold); }
.ef__wa { margin-top: .4rem; min-height: 50px; gap: .6rem; }

.ef__cols {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
    padding-block: clamp(2.5rem, 4.5vw, 3.5rem);
}
.ef__col { min-width: 0; }
.ef__title {
    margin: 0 0 1.1rem; padding-bottom: .8rem;
    border-bottom: 1px solid rgba(212, 175, 55, .3);
    font-family: var(--e-sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: #e2c275;
}
.ef__list { list-style: none; margin: 0; padding: 0; }
.ef__list li + li { margin-top: .15rem; }
.ef__list a { display: inline-block; padding: .3rem 0; font-size: .92rem; line-height: 1.4; color: var(--e-text-muted); text-decoration: none; transition: color var(--e-fast) var(--e-ease); }
.ef__list a:hover { color: #fbf8f1; }
.ef address { margin: 0; font-style: normal; font-size: .92rem; line-height: 1.75; color: var(--e-text-muted); }

.ef__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(242, 220, 154, .14);
}
.ef__bottom p { margin: 0; font-size: .82rem; color: var(--e-text-muted); }
.ef__bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ef__bottom nav a { font-size: .82rem; color: var(--e-text-muted); text-decoration: none; }
.ef__bottom nav a:hover { color: #fbf8f1; }

@media (max-width: 64rem) {
    .ef__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
    .ef { padding-bottom: 4.5rem; }
    .ef__wa { width: 100%; justify-content: center; }
    .ef__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
    .ef__col--visit { grid-column: 1 / -1; }
    .ef__bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Service area, centred (no photograph) ─────────────────────────────── */
.e-areas__lead { margin-top: 1.15rem; }
.e-areas--centered .e-areas { grid-template-columns: 1fr; justify-items: center; }
.e-areas--centered .e-areas__copy { max-width: 56rem; margin-inline: auto; text-align: center; }
#page-home .e-areas--centered .e-areas__copy { background-position: center top, left top; }
.e-areas--centered .e-eyebrow { justify-content: center; }
.e-areas--centered .e-areas__lead { max-width: 40rem; margin-inline: auto; }
.e-areas--centered .e-areas__list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
    margin-top: 2rem; border-top: 0;
}
.e-areas--centered .e-areas__list li {
    padding: .55rem 1.05rem;
    border: 1px solid var(--e-line-strong); border-radius: 999px;
    font-family: var(--e-sans); font-size: .9rem; font-weight: 500;
    color: var(--e-text);
    background: var(--e-paper);
}
.e-areas--centered .e-areas__copy > p:last-child { margin-top: 2.25rem !important; }

/* ── Phones: fleet, cards, value ───────────────────────────────────────── */
@media (max-width: 48rem) {
    /* The curated row stacks on phones, so it shows four and hands the rest
       to the full fleet rather than running to seventeen screens. */
    #page-home .e-fleet__curated .e-cars--rail > .e-car:nth-child(n+5) { display: none; }

    /* Cards: readable spec labels, two-by-two, less dead height. */
    .elc .e-car__body { padding: 1rem 1.05rem 1.1rem; }
    .elc .e-car__name { font-size: 1.2rem; }
    .elc .e-car__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; margin: .85rem 0 .9rem; padding: .8rem 0 0; border-top: 1px solid var(--e-line); }
    .elc .e-car__specs dt, .elc .e-car__specs .e-car__k { margin: 0; font-family: var(--e-sans); font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--e-text-muted); }
    .elc .e-car__specs dd, .elc .e-car__specs .e-car__v { margin: 0 0 .1rem; font-family: var(--e-sans); font-size: .92rem; font-weight: 600; }
    .elc .e-car__price { margin-bottom: .9rem; }

    /* "Everything agreed": the promise cards sit two-up instead of four tall
       rows, and the long checklist tightens. */
    #page-home .e-sec--value .e-promises { grid-template-columns: 1fr; }
    #page-home .e-sec--value .e-promise {
        display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .9rem; align-items: start;
        padding: 1.15rem 1.2rem !important;
    }
    #page-home .e-sec--value .e-promise > * { grid-column: 2; margin-top: 0; }
    #page-home .e-sec--value .e-promise__icon { grid-column: 1; grid-row: 1 / span 3; width: 2.5rem; height: 2.5rem; margin: 0; }
}
.e-fleet__more { display: flex; justify-content: center; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.e-fleet__more .e-btn { min-height: 50px; padding-inline: 1.75rem; gap: .5rem; }

/* No italics: the quote panel's accent phrase is set upright. */
.e-quotepanel__title em { font-style: normal; color: #e2c275; }

/* ── Brand rail: the logo IS the tile (2026-11-11) ────────────────────────
   Owner request: no ivory/yellow tile, no padding shrinking the mark — just
   the logo image filling a rounded box. The uploaded logos are 2:1 PNGs with
   transparent grounds, so the box keeps a plain white fill (a black Lexus
   mark would vanish on the black section otherwise) and matches the image's
   2:1 shape so the image fills it edge to edge. */
.e-sec--marques .e-brand,
.e-sec--marques.e-ink .e-brand {
    width: clamp(9.5rem, 13vw, 12rem);
    min-height: 0;
    aspect-ratio: 2 / 1;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-radius: var(--e-radius-lg, 14px);
}
.e-sec--marques .e-brand:hover,
.e-sec--marques.e-ink .e-brand:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 0 0 2px var(--e-gold, #d4af37); }
.e-sec--marques .e-brand img {
    display: block;
    width: 100%; height: 100%;
    max-width: none; max-height: none;
    object-fit: contain;
    filter: none;
}
.e-sec--marques .e-brand__n { display: none; }
@media (max-width: 40rem) {
    .e-sec--marques .e-brand, .e-sec--marques.e-ink .e-brand { width: 8rem; min-height: 0; padding: 0; }
    .e-sec--marques .e-brand img { height: 100%; max-height: none; }
}
