/* TailsTap warm design system.
   Extracted from the homepage so other public pages can reuse it.
   Everything is scoped under `.tt-warm` so the vendor (green) and admin
   (dark) portals, which also extend base.html, are never affected.
   Font URLs are relative on purpose: ManifestStaticFilesStorage rewrites
   them to hashed paths during collectstatic. */
/* ===================================================================
       Homepage redesign — warm cream / coral theme.
       Everything is scoped under `.tt-warm` so the shared navbar, footer and
       the rest of the (sage-green) site are untouched.
       =================================================================== */
    /* Both brand faces — Fraunces and Plus Jakarta Sans — are declared in
       tailstap.css, which every page loads. */
    .tt-warm {
        --h-cream:       #fdf9f1;   /* page background            */
        --h-cream-2:     #f6ead9;   /* alt section background     */
        --h-card:        #ffffff;
        --h-orange:      #F97316;   /* primary accent / buttons   */
        --h-orange-dark: #EA580C;   /* hover                      */
        --h-orange-tint: #FFEAD5;   /* icon backgrounds           */
        --h-ink:         #2b2320;   /* headings                   */
        --h-body:        #7c7369;   /* body copy                  */
        --h-dark:        #1c1815;   /* dark "professionals" band  */
        --h-border:      #efe3d2;

        --h-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
        --h-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

        background: var(--h-cream);
        color: var(--h-body);
        overflow-x: hidden;
    }

    .tt-warm .h2-section { padding: 4.5rem 0; }

    /* --- Typography --------------------------------------------------- */
    .tt-warm .h2-eyebrow {
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 1rem;
        line-height: 1;
        font-weight: 700;
        color: var(--h-orange);
        margin-bottom: 0.75rem;
    }
    .tt-warm .h2-display {
        font-family: var(--h-serif);
        color: var(--h-ink);
        /* Design spec (Figma): Fraunces SemiBold 600, 50px, line-height 100%,
           letter-spacing 0. Explicit size avoids Bootstrap .display-5 RFS. */
        font-weight: 600;
        font-size: clamp(2.4rem, 4.2vw, 3.125rem);
        line-height: 1.0;
        letter-spacing: 0;
    }
    .tt-warm .em {
        font-style: italic;
        color: var(--h-orange);
        font-weight: 600;
    }
    /* Ink-coloured italic accent (e.g. "Popular Services" heading). */
    .tt-warm .em-ink { color: var(--h-ink); }
    .tt-warm .h2-lead {
        color: var(--h-body);
        font-size: 1.05rem;
        max-width: 34rem;
    }
    /* Body copy under the three "Our Promise" cards. */
    .tt-warm .h2-promise {
        font-size: 1rem;
        font-weight: 500;
        line-height: 28px;
        letter-spacing: 0;
        max-width: 357px;
        color: #5c5c5c; /* comp specs opacity 0.7; a flat grey reads darker, and matches .h2-feat p */
    }

    /* --- Buttons ------------------------------------------------------ */
    .tt-warm .h2-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 999px;
        padding: 0.7rem 1.6rem;
        font-weight: 600;
        border: 1.5px solid transparent;
        transition: all 0.2s ease;
        text-decoration: none;
        cursor: pointer;
    }
    .tt-warm .h2-btn-primary {
        background: linear-gradient(135deg, #fb8b3d 0%, #f97316 55%, #ea580c 100%);
        color: #fff;
        box-shadow: 0 6px 16px rgba(234, 88, 12, 0.22);
    }
    .tt-warm .h2-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(234, 88, 12, 0.18), 0 12px 26px rgba(234, 88, 12, 0.32);
        filter: saturate(1.05);
    }
    .tt-warm .h2-btn-outline {
        background: transparent;
        color: var(--h-ink);
        border-color: var(--h-border);
    }
    .tt-warm .h2-btn-outline:hover {
        border-color: var(--h-orange);
        color: var(--h-orange);
    }
    .tt-warm .h2-btn-light {
        background: #fff;
        color: var(--h-ink);
    }
    .tt-warm .h2-btn-light:hover { color: var(--h-orange); transform: translateY(-2px); }

    /* --- Photo panels (gradient placeholders) ------------------------- */
    .tt-warm .h2-photo {
        position: relative;
        border-radius: 1.75rem;
        min-height: 340px;
        overflow: hidden;
        background: linear-gradient(150deg, #f6c89a 0%, #ec9a63 55%, #e07f45 100%);
        box-shadow: 0 4px 12px rgba(176, 106, 54, 0.12), 0 24px 50px rgba(176, 106, 54, 0.24);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tt-warm .h2-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), transparent 45%);
    }
    .tt-warm .h2-photo i {
        font-size: 6rem;
        color: rgba(255, 255, 255, 0.85);
        position: relative;
        z-index: 1;
    }
    /* Real photo fills the panel (over the gradient fallback + sheen). */
    .tt-warm .h2-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 2;
    }
    /* "Two Worlds" photo: proper aspect-ratio card when stacked (mobile),
       and fills the column height to match the copy on desktop. */
    .tt-warm .h2-photo-fill {
        max-width: 501px;
        min-height: 0;
        border-radius: 20px;
        aspect-ratio: 4 / 3;
        margin: 0 auto;
    }
    @media (min-width: 992px) {
        .tt-warm .h2-photo-fill {
            height: 100%;
            aspect-ratio: auto;
            margin: 0 0 0 auto;
        }
    }

    /* --- Hero --------------------------------------------------------- */
    .tt-warm .h2-hero { padding: 3.5rem 0 4rem; background: #FFFBF5; }
    .tt-warm .h2-badge-pill {
        display: inline-flex;
        align-self: flex-start;
        align-items: center;
        gap: 0.5rem;
        background: var(--h-orange-tint);
        color: var(--h-orange-dark);
        border-radius: 999px;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
    }
    .tt-warm .h2-hero h1 {
        font-family: var(--h-serif);
        color: var(--h-ink);
        /* Figma spec: Fraunces Bold 700, 70px, line-height 100%, spacing 0. */
        font-weight: 700;
        font-size: clamp(2.6rem, 5.5vw, 4.375rem);
        line-height: 1.0;
        letter-spacing: 0;
        margin-bottom: 1.5rem;
    }
    /* Hero "Services" accent matches the 700 heading weight (sections use 600). */
    .tt-warm .h2-hero h1 .em { font-weight: 700; }
    .tt-warm .h2-search {
        background: #fff;
        border-radius: 1rem;
        padding: 0.5rem 0.5rem 0.5rem 0.4rem;
        box-shadow: 0 2px 8px rgba(120, 90, 50, 0.06), 0 16px 40px rgba(120, 90, 50, 0.14);
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.25rem;
        width: 100%;
        max-width: 667px;
        min-height: 77px;
        box-sizing: border-box;
    }
    .tt-warm .h2-search .h2-field {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.55rem 0.85rem;
        min-width: 0;
    }
    .tt-warm .h2-search .h2-field-loc { flex: 1 1 auto; min-width: 10.5rem; }
    .tt-warm .h2-search .h2-field-svc { flex: 0 0 auto; }
    .tt-warm .h2-search .h2-field i { color: #9a9186; font-size: 0.9rem; }
    .tt-warm .h2-search .h2-field-svc i { color: var(--h-ink); }
    .tt-warm .h2-search input,
    .tt-warm .h2-search select {
        border: none;
        outline: none;
        width: 100%;
        font-size: 0.95rem;
        color: var(--h-ink);
        background: transparent;
    }
    .tt-warm .h2-search select { cursor: pointer; padding-right: 0.5rem; width: auto; min-width: 6.75rem; }
    .tt-warm .h2-search-div {
        width: 1px;
        height: 1.6rem;
        background: var(--h-border);
        flex: 0 0 auto;
    }
    .tt-warm .h2-search-btn {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: linear-gradient(135deg, #fb8b3d 0%, #f97316 55%, #ea580c 100%);
        color: #fff;
        border: none;
        border-radius: 999px;
        padding: 0.7rem 1.25rem;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
        box-shadow: 0 6px 14px rgba(234, 88, 12, 0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    }
    .tt-warm .h2-search-btn:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(234, 88, 12, 0.34); filter: saturate(1.05); }
    .tt-warm .h2-owner-note {
        margin-top: 1.5rem;
        background: #f3ebdd;
        border-radius: 0.6rem;
        padding: 0.85rem 1.1rem;
        font-size: 0.9rem;
        color: var(--h-body);
        max-width: 517px;
        min-height: 73px;
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .tt-warm .h2-owner-note i { color: var(--h-orange); margin-top: 0.15rem; }
    .tt-warm .h2-owner-note strong { color: var(--h-ink); }
    .tt-warm .h2-owner-note a { color: var(--h-orange-dark); font-weight: 600; white-space: nowrap; text-decoration: none; }

    /* --- Cards -------------------------------------------------------- */
    .tt-warm .h2-card {
        background: var(--h-card);
        border: 1px solid var(--h-border);
        border-radius: 20px;
        padding: 27px 18px 24px;
        height: 100%;
        min-height: 285px;
        display: flex;
        flex-direction: column;
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s ease;
    }
    .tt-warm .h2-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 2px 6px rgba(150, 110, 60, 0.06), 0 20px 44px rgba(150, 110, 60, 0.16);
        border-color: var(--h-orange-tint);
    }
    .tt-warm .h2-ico {
        width: 3rem;
        height: 3rem;
        border-radius: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--h-orange-tint);
        color: var(--h-orange-dark);
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    /* Illustrated service-card icon (no tinted box — sits directly on the card). */
    /* Uniform service-card icon: brand-tinted tile with a Font Awesome glyph,
       so every card shares one consistent icon style. */
    .tt-warm .h2-card-ico {
        width: 54px;
        height: 54px;
        align-self: flex-start;
        margin-bottom: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--h-orange-tint);
        color: var(--h-orange-dark);
        border-radius: 14px;
        font-size: 1.4rem;
    }
    .tt-warm .h2-card h5 {
        font-family: var(--h-serif);
        color: var(--h-ink);
        font-weight: 600;
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 22px;
    }
    .tt-warm .h2-card p { font-size: 17px; line-height: 26px; color: var(--h-body); margin-bottom: 24px; }
    .tt-warm .h2-card-count {
        display: inline-block;
        align-self: flex-start;
        background: var(--h-orange-tint);
        color: var(--h-orange-dark);
        font-size: 0.8rem;
        font-weight: 600;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
        margin: -8px 0 20px;
    }
    .tt-warm .h2-card-link {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        margin-top: auto;
        gap: 0.45rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--h-orange-dark);
        text-decoration: none;
        border: 1px solid var(--h-orange);
        border-radius: 999px;
        padding: 9px 22px;
    }
    .tt-warm .h2-card-link:hover { background: var(--h-orange); color: #fff; border-color: var(--h-orange); }

    /* --- Why-choose round icons -------------------------------------- */
    .tt-warm .h2-round-ico {
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--h-orange-tint);
        color: var(--h-orange-dark);
        font-size: 1.5rem;
        margin: 0 auto 1.25rem;
    }

    /* --- Dark "professionals" band ------------------------------------ */
    /* Full-bleed dark band — the section itself carries the dark background,
       so this wrapper just sets the light-on-dark text context. */
    .tt-warm .h2-dark {
        color: #fff;
        padding: 1rem 0;
    }
    .tt-warm .h2-dark .h2-display { color: #fff; }
    .tt-warm .h2-dark .h2-lead { color: rgba(255,255,255,0.65); margin-left: auto; margin-right: auto; }
    .tt-warm .h2-step {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 1rem;
        padding: 26px 25px 29px;
        height: 100%;
        min-height: 286px;
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.35s ease, border-color 0.35s ease;
    }
    .tt-warm .h2-step:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(249, 115, 22, 0.4);
    }
    .tt-warm .h2-step .h2-ico {
        background: rgba(249, 115, 22, 0.18);
        color: var(--h-orange);
        border-radius: 50%;
        margin-bottom: 17px;
    }
    .tt-warm .h2-step .h2-step-num {
        display: block;
        color: var(--h-orange);
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.08em;
        margin-bottom: 27px;
    }
    .tt-warm .h2-step h5 {
        font-family: var(--h-serif);
        color: #fff;
        font-weight: 700;
        font-size: 25px;
        line-height: 1.1;
        margin: 0 0 21px;
    }
    .tt-warm .h2-step p {
        color: rgba(255,255,255,0.65);
        font-size: 15px;
        line-height: 25px;
        margin: 0;
    }

    /* --- Pills (tabs + areas) ---------------------------------------- */
    .tt-warm .h2-tabs {
        display: inline-flex;
        align-self: flex-start;
        background: var(--h-cream-2);
        border-radius: 999px;
        padding: 0.3rem;
        gap: 0.25rem;
    }
    .tt-warm .h2-tabs .nav-link {
        border-radius: 999px;
        padding: 0.45rem 1.4rem;
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--h-body);
        border: none;
    }
    .tt-warm .h2-tabs .nav-link.active {
        background: #fff;
        color: var(--h-orange-dark);
        box-shadow: 0 0.25rem 0.6rem rgba(150, 110, 60, 0.12);
    }
    .tt-warm .h2-area {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: #fff;
        border: 1px solid var(--h-border);
        border-radius: 999px;
        padding: 0.75rem 1.5rem; /* comp: 12px/24px — its 17.86/35.71 are scaled 1.488x */
        font-weight: 600;
        font-size: 0.84rem; /* comp: 13.44px (its 20px is the same 1.488x scale) */
        /* Comp says line-height 100%, but that yields a 37px pill, not the 46px
           it also specifies — the icon sets the height there. 22px keeps 46. */
        line-height: 22px;
        letter-spacing: 0;
        color: var(--h-ink);
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .tt-warm .h2-area i { color: var(--h-body); }
    .tt-warm .h2-area:hover { border-color: var(--h-orange); color: var(--h-orange-dark); transform: translateY(-2px); }

    /* --- Two-sided feature list -------------------------------------- */
    .tt-warm .h2-feat {
        display: flex;
        gap: 0.85rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    .tt-warm .h2-feat .h2-ico { flex: 0 0 auto; margin-bottom: 0; width: 2.6rem; height: 2.6rem; font-size: 1.05rem; border-radius: 50%; }
    .tt-warm .h2-feat h6 {
        font-family: var(--h-serif);
        color: var(--h-ink);
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 1.5;
        letter-spacing: 0;
        margin-bottom: 0.2rem;
    }
    .tt-warm .h2-feat p {
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 0;
        max-width: 318px;
        color: #5c5c5c; /* comp specs opacity 0.7 on --h-body; a flat grey reads darker and matches the footer */
        margin: 0;
    }

    /* --- Testimonials ------------------------------------------------- */
    .tt-warm .h2-quote-stars { color: var(--h-orange); font-size: 1.05rem; letter-spacing: 0.35rem; }
    .tt-warm .h2-quote-mark {
        /* Asset is 99px wide; fa-quote-left's ink is 0.875em (448/512 viewBox). */
        font-size: 7rem;
        line-height: 1;
        color: #fdd9bd; /* = the asset's #F77414 at 25% alpha over #FFFBF5 */
        margin-bottom: 24px;
    }
    .tt-warm .h2-quote-body { max-width: 400px; margin-left: 140px; }
    .tt-warm .h2-quote-text {
        font-size: 1.3rem;
        line-height: 1.45;
        color: #2d3032;
    }
    .tt-warm .h2-quote-name {
        font-family: var(--h-serif);
        color: var(--h-orange);
        font-weight: 700;
        font-size: 1.25rem;
    }
    .tt-warm .h2-quote-role { color: #40566c; font-size: 0.95rem; }
    .tt-warm .h2-quote-body .h2-quote-stars { margin-bottom: 30px !important; }
    .tt-warm .h2-quote-body .h2-quote-text { margin-bottom: 33px !important; }
    .tt-warm .h2-quote-body .h2-quote-name { margin-bottom: 10px !important; }
    .tt-warm .h2-quote-body .h2-carousel-row { margin-top: 8px !important; }
    .tt-warm .h2-carousel-btn {
        width: 44px;
        height: 36px;
        border-radius: 10px;
        border: none;
        background: #7c7369;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .tt-warm .h2-carousel-btn.is-active,
    .tt-warm .h2-carousel-btn:hover { background: var(--h-orange); color: #fff; }

    /* Stacked testimonial photos — front image slightly tilted, two cards
       fanned out behind it to the left. */
    /* Exact Figma alignment: front 0°, back cards 17.64°/36.02° (CCW),
       50% opacity, white border. Percentages are of the stack bounding box. */
    /* The deck is a real stack of cards — one per review — that the prev/next
       controls page through. Every card shares the front slot's geometry; each
       depth is reached with transform ONLY (GPU-smooth), so promoting a card
       forward or receding it animates cleanly. The container hints that it's
       interactive and lets vertical gestures scroll (JS owns the horizontal). */
    .tt-warm .h2-testimonial-stack { position: relative; width: 100%; max-width: 480px; margin-left: 110px; aspect-ratio: 643 / 635; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
    .tt-warm .h2-review-card {
        position: absolute;
        /* Shared front-slot box; depth is transform-only from here. */
        left: 27.66%; top: 0; width: 72.35%;
        aspect-ratio: 465.22 / 584.29;
        transform-origin: center center;
        transition: transform 0.56s cubic-bezier(0.55, 0, 0.1, 1),
                    opacity 0.56s cubic-bezier(0.55, 0, 0.1, 1);
        will-change: transform, opacity;
    }
    .tt-warm .h2-review-card img {
        display: block;
        width: 100%; height: 100%;
        box-sizing: border-box;
        border: 5px solid #FFFBF5;
        border-radius: 2rem;
        object-fit: cover;
        box-shadow: 0 0.8rem 2rem rgba(80, 50, 20, 0.2);
        transform-origin: center center;
        will-change: transform, opacity;
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }
    /* Depth slots — front, then two cards fanned up-left behind it (Figma
       angles 17.64°/36.02°, 50% opacity), reached by transform from the
       shared front geometry. */
    .tt-warm .h2-review-card[data-depth="0"] { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 1; z-index: 3; }
    .tt-warm .h2-review-card[data-depth="1"] { transform: translate3d(-31%, 2%, 0) rotate(-17.64deg) scale(0.83); opacity: 0.5; z-index: 2; }
    .tt-warm .h2-review-card[data-depth="2"] { transform: translate3d(-55%, 8%, 0) rotate(-36.02deg) scale(0.66); opacity: 0.5; z-index: 1; }
    /* Cards past the third park behind the third, invisible. */
    .tt-warm .h2-review-card[data-depth="hidden"] { transform: translate3d(-55%, 8%, 0) rotate(-36.02deg) scale(0.66); opacity: 0; z-index: 0; }
    /* A card being paged forward flies off to the left, over the stack. */
    .tt-warm .h2-review-card[data-depth="out"] { transform: translate3d(-135%, -2%, 0) rotate(-24deg) scale(0.82); opacity: 0; z-index: 4; }
    /* One-frame transition kill for the instant re-seat (recycle to the back /
       enter from off-stage), so a card doesn't streak across the visible deck. */
    .tt-warm .h2-review-card.snap { transition: none; }
    /* Hold a just-recycled card invisible so it fades up at the back rather
       than popping in at full opacity. */
    .tt-warm .h2-review-card.is-recycling { opacity: 0 !important; }
    @media (prefers-reduced-motion: reduce) {
        .tt-warm .h2-review-card { transition: none; }
    }
    @media (max-width: 991px) {
        /* Columns stack below lg — drop the desktop-only right-shift offsets
           so the review and image don't overflow / clip on phones & tablets. */
        .tt-warm .h2-testimonial-stack { margin-bottom: 2rem; margin-left: 0; }
        .tt-warm .h2-quote-body { margin-left: 0; }
    }

    /* --- Stats band --------------------------------------------------- */
    .tt-warm .h2-stats {
        background: linear-gradient(120deg, #fb8b3d 0%, #f97316 45%, #ea580c 100%);
        color: #fff;
        padding: 2.75rem 0;
    }
    .tt-warm .h2-stats .h2-stat-num {
        font-family: var(--h-serif);
        font-size: 2.625rem;   /* 42px */
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
    }
    .tt-warm .h2-stats .h2-stat-num i { font-size: 1.7rem; vertical-align: baseline; }
    .tt-warm .h2-stats .h2-stat-label { font-size: 0.85rem; opacity: 0.95; margin-top: 0.5rem; }

    /* --- Final CTA ---------------------------------------------------- */
    .tt-warm .h2-cta {
        border-radius: 1.25rem;
        padding: 2rem;
        height: 100%;
        border: 1px solid var(--h-border);
        background: #f9f2e8;
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
    }
    .tt-warm .h2-cta:hover {
        transform: translateY(-5px);
        box-shadow: 0 2px 6px rgba(150, 110, 60, 0.06), 0 18px 40px rgba(150, 110, 60, 0.15);
    }
    .tt-warm .h2-cta .h2-ico { border-radius: 50%; }
    .tt-warm .h2-cta.h2-cta-dark {
        background: var(--h-dark);
        border-color: var(--h-dark);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    .tt-warm .h2-cta.h2-cta-dark::before {
        content: '';
        position: absolute;
        top: -35px; right: -25px;
        width: 140px; height: 140px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        z-index: 0;
    }
    .tt-warm .h2-cta.h2-cta-dark > * { position: relative; z-index: 1; }
    .tt-warm .h2-cta.h2-cta-dark h5 { color: #fff; }
    .tt-warm .h2-cta.h2-cta-dark p { color: rgba(255,255,255,0.6); }
    .tt-warm .h2-cta h5 {
        font-family: var(--h-serif);
        color: var(--h-ink);
        font-weight: 700;
        font-size: 1.25rem;
        margin-bottom: 0.6rem;
    }
    .tt-warm .h2-cta p { font-size: 0.9rem; margin-bottom: 1.25rem; }

    @media (max-width: 767px) {
        .tt-warm .h2-section { padding: 3rem 0; }
        .tt-warm .h2-search {
            max-width: 100%;
            flex-wrap: wrap;
        }
        .tt-warm .h2-search .h2-field-loc,
        .tt-warm .h2-search .h2-field-svc { flex: 1 1 100%; }
        .tt-warm .h2-search-div { display: none; }
        .tt-warm .h2-search-btn { flex: 1 1 100%; justify-content: center; }
        .tt-warm .h2-owner-note { max-width: 100%; }
        .tt-warm .h2-quote-text { font-size: 1.2rem; }
    }

    /* --- Scroll-in reveal (progressive enhancement) ------------------- */
    /* Only active once JS adds `.reveal-on`; without JS everything shows
       normally. Fully disabled for users who prefer reduced motion. */
    .tt-warm.reveal-on .h2-reveal {
        opacity: 0;
        transform: translateY(26px);
        transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: opacity, transform;
    }
    .tt-warm.reveal-on .h2-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
    @media (prefers-reduced-motion: reduce) {
        .tt-warm.reveal-on .h2-reveal {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }
    }

    /* --- Scoped Bootstrap overrides -------------------------------------
       Public pages reuse Bootstrap components (buttons, cards, form
       controls) rather than the bespoke .h2-* ones. Warm them up inside
       `.tt-warm` only, so the vendor (green) and admin (dark) portals --
       which also extend base.html -- keep their own themes.
       Note: the homepage uses .h2-btn-primary (a different class), so these
       rules never touch it. */
    .tt-warm .btn-primary {
        background: linear-gradient(135deg, #fb8b3d 0%, #f97316 55%, #ea580c 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.22);
    }
    .tt-warm .btn-primary:hover,
    .tt-warm .btn-primary:focus,
    .tt-warm .btn-primary:active {
        background: linear-gradient(135deg, #f97316 0%, #ea580c 60%, #c2410c 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 8px 20px rgba(234, 88, 12, 0.30);
    }
    .tt-warm .btn-primary:focus-visible {
        outline: 2px solid var(--h-orange-dark);
        outline-offset: 2px;
    }

    .tt-warm .btn-outline-primary {
        color: var(--h-orange-dark);
        border-color: var(--h-orange);
        background: transparent;
    }
    .tt-warm .btn-outline-primary:hover,
    .tt-warm .btn-outline-primary:focus,
    .tt-warm .btn-outline-primary:active {
        background: var(--h-orange);
        border-color: var(--h-orange);
        color: #fff;
    }

    .tt-warm .form-control:focus,
    .tt-warm .form-select:focus {
        border-color: var(--h-orange);
        box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
    }

    .tt-warm .card {
        border: 1px solid var(--h-border);
        border-radius: 1rem;
        box-shadow: 0 2px 8px rgba(120, 90, 50, 0.05), 0 12px 30px rgba(120, 90, 50, 0.07);
    }

    /* A green "distance" chip reads oddly against the warm palette. */
    .tt-warm .badge.bg-success {
        background: var(--h-orange-tint) !important;
        color: var(--h-orange-dark) !important;
    }
