/* ============================================================
   My Custom Theme — main stylesheet
   Tokens → reset → layout → components → utilities
   ============================================================ */

:root {
    /* ── Apex Coatings brand palette ─────────────────────── */
    --color-bg:        #ffffff;
    --color-surface:   #f5f5f6;
    --color-text:      #171818;
    --color-muted:     #5a6470;
    --color-primary:   #0B2639;   /* Core Steel Navy */
    --color-primary-d: #071929;   /* darker navy for hover */
    --color-accent:    #F24E24;   /* Forge Orange */
    --color-accent-d:  #d43d16;   /* darker orange for hover */
    --color-border:    #DADADB;
    --color-dark:      #0B2639;   /* Core Steel Navy */
    --color-light-gray: #DADADB;
    --color-near-black: #171818;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 40px;
    --space-6: 64px;
    --space-7: 56px;
    --space-8: 80px;
    --space-10: 96px;

    --radius:    8px;
    --radius-lg: 16px;

    --container: 1200px;

    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-d); text-decoration: underline; }

html { overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* ---------- layout ---------- */
.container,
.site-header__inner,
.site-footer__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-3);
}

.site-main { display: block; }

/* ---------- header wrapper (fixed — works on all browsers/devices) ---------- */
.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: #fff; /* opaque so content scrolling beneath is hidden */
    transition: box-shadow 0.15s;
}
.site-header-wrap.is-scrolled { box-shadow: var(--shadow-lg); }

/* Account for WP admin bar (fixed at top on desktop, scrolls on mobile) */
.admin-bar .site-header-wrap { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header-wrap { top: 46px; }
}

/* Push page content below the fixed header — height set by JS */
.site-main {
    padding-top: var(--mct-header-h, 110px);
}

/* Slim phone bar on mobile */
@media (max-width: 900px) {
    .header-topbar__inner {
        justify-content: center;
        padding-block: 5px;
    }
    .header-topbar__phone { font-size: 0.875rem; }
}

/* ---------- top utility bar ---------- */
.header-topbar {
    background: var(--color-primary);
    color: #fff;
}
.header-topbar__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 7px var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.header-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
}
.header-topbar__phone:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.header-topbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.topbar-action-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}
.topbar-action-link:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* ---------- main header (white) ---------- */
.site-header {
    background: #fff;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: nowrap;
    padding-block: 10px;
    min-height: 0;
}
.site-header a { color: var(--color-text); }

.site-branding { flex-shrink: 0; }
.site-branding a { display: inline-flex; align-items: center; }

/* Brand lockup */
.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    line-height: 1;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
}
.brand-link:hover { text-decoration: none; }

.brand-icon,
.custom-logo {
    width: auto;
    height: 90px;
    display: block;
    flex-shrink: 0;
}
.custom-logo-link { display: contents; }

@media (max-width: 600px) {
    .brand-icon, .custom-logo { height: 48px; }
}
.site-title-link { color: var(--color-text); text-decoration: none; }
.site-title { font-size: 1.375rem; font-weight: 800; display: block; }
.site-description { display: none; }

/* ---------- primary nav + dropdowns ---------- */
.menu--primary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.menu--primary > li > a {
    display: block;
    padding: 8px 10px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.menu--primary > li > a:hover,
.menu--primary > .current-menu-item > a,
.menu--primary > .current-menu-ancestor > a {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    text-decoration: none;
}
.menu--primary .menu-item-has-children { position: relative; }
.menu--primary .sub-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: var(--space-2) 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0s 0.15s;
    z-index: 60;
}
.menu--primary .menu-item-has-children:hover > .sub-menu,
.menu--primary .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.15s, transform 0.15s, visibility 0s;
}
.menu--primary .sub-menu li > a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
.menu--primary .sub-menu li > a:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

/* Chevron on top-level parent items */
.menu--primary > .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    vertical-align: middle;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.15s;
}
.menu--primary > .menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Right-facing arrow on second-level parent items */
.menu--primary .sub-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    float: right;
    margin-top: 4px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 6 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l6 5-6 5z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 6 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l6 5-6 5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Third-level flyout (opens to the right) */
.menu--primary .sub-menu .sub-menu {
    position: absolute;
    top: -4px;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: var(--space-2) 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0s 0.15s;
    z-index: 70;
}
.menu--primary .sub-menu .menu-item-has-children:hover > .sub-menu,
.menu--primary .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.15s, transform 0.15s, visibility 0s;
}

/* ---------- search toggle + bar ---------- */
.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--color-text);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
    background: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.header-search[hidden] { display: none !important; }
.header-search {
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: var(--space-3);
}
.header-search__inner { max-width: 640px; margin-inline: auto; }
.search-form { display: flex; gap: var(--space-2); }
.search-form .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
    color: var(--color-text);
}
.search-form .search-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14,124,255,0.12);
}
.search-form .search-submit {
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.15s;
    white-space: nowrap;
}
.search-form .search-submit:hover { background: var(--color-primary-d); }

/* ---------- hamburger toggle ---------- */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 7px 9px;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    color: var(--color-text);
    flex-shrink: 0;
}
.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; transform: scale(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer {
    background: var(--color-primary);
    color: #c8ced6;
    padding-block: 56px 0;
    margin-top: var(--space-6);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-d); color: #fff; text-decoration: none; }
/* .btn--ghost — see HOMEPAGE REDESIGN block at EOF */

/* ---------- hero (redesign — see HOMEPAGE REDESIGN block at EOF) ---------- */

/* ---------- cta strip (redesign — see HOMEPAGE REDESIGN block at EOF) ---------- */

/* ---------- cards / grids ---------- */
.post-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__link { display: block; color: inherit; text-decoration: none; }
.card__link:hover { text-decoration: none; color: inherit; }
.card__media img { width: 100%; height: 220px; object-fit: cover; }
.card__body { padding: var(--space-3); }
.card__title { margin-bottom: var(--space-2); }
.card__excerpt { color: var(--color-muted); margin-bottom: var(--space-2); }
.card__more { color: var(--color-primary); font-weight: 600; }

.card--testimonial { padding: var(--space-4); }
.card__rating { color: var(--color-accent); font-size: 1.125rem; margin-bottom: var(--space-2); }
.card__quote { margin-bottom: var(--space-3); font-style: italic; color: var(--color-text); }
.card__byline { display: flex; align-items: center; gap: var(--space-2); }
.card__avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.card__location { display: block; color: var(--color-muted); font-size: 0.875rem; }

/* ---------- swatches (base — non-gallery usage) ---------- */
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-3);
}
.swatch { text-align: center; }
/* base media — only applies when NOT inside swatch__media-wrap */
.swatch > .swatch__media,
.swatch > .swatch__media--solid {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background-size: cover;
}
.swatch > .swatch__media img { width: 100%; height: 100%; object-fit: cover; }
.swatch > .swatch__name { margin-top: var(--space-2); font-weight: 600; }
.swatch > .swatch__hex { color: var(--color-muted); font-size: 0.8125rem; }

/* ---------- 404 / error ---------- */
.error-404 { text-align: center; padding-block: var(--space-6); }

/* ---------- forms ---------- */
.mct-form { max-width: 640px; }
.mct-form .field { margin-bottom: var(--space-3); }
.mct-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.mct-form input[type="text"],
.mct-form input[type="email"],
.mct-form input[type="tel"],
.mct-form input[type="number"],
.mct-form textarea,
.mct-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}
.mct-form .field-error { color: #c0392b; font-size: 0.875rem; margin-top: 4px; }

/* ---------- homepage sections ---------- */
.home-section {
    padding-block: var(--space-6);
}
/* spacing between sections preserved — no padding-top collapse */

.section-head {
    text-align: center;
    margin-bottom: var(--space-5);
}
.section-title { margin-bottom: var(--space-2); }
.section-sub { color: var(--color-muted); max-width: 640px; margin-inline: auto; }
.section-more { text-align: center; margin-top: var(--space-4); }

.container--narrow {
    max-width: 720px;
}

.lead { font-size: 1.125rem; color: var(--color-text); }
.lead p { margin-bottom: var(--space-3); }

/* tighter swatch grid on home (more, smaller) */
.swatch-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

/* horizontal-scrolling testimonial carousel (no JS) */
.testimonial-track {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-3);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.testimonial-track > .card--testimonial {
    flex: 0 0 min(85%, 360px);
    scroll-snap-align: start;
}

/* service-area map */
.home-map__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

/* alternate-band background for visual rhythm */
.home-services { background: var(--color-surface); }
.home-testimonials { background: #f2f5f8; }
.home-map { background: var(--color-surface); }

/* ==========================================================================
   Sticky Offer Widget
   ========================================================================== */

/* ── Offer widget keyframes ────────────────────────────────────────────────── */

/* 1. Whole widget slides in from right on page load */
@keyframes mct-offer-enter {
    from { opacity: 0; translate: 110% 0; }
    to   { opacity: 1; translate: 0 0; }
}

/* 2. Panel slides + fades in when opened */
@keyframes mct-panel-slide-in {
    from { opacity: 0; translate: 24px 0; transform: scale(0.96); }
    to   { opacity: 1; translate: 0 0;    transform: scale(1); }
}

/* 3. Attention pulse ring on the tab */
@keyframes mct-tab-pulse {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50%       { box-shadow: var(--shadow-lg), 0 0 0 7px rgba(242,78,36,.28); }
}

/* 4. Shimmer sweep on accent bar */
@keyframes mct-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* 5. Success icon bounce */
@keyframes mct-bounce-in {
    0%   { transform: scale(0.4); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    80%  { transform: scale(0.92); }
    100% { transform: scale(1); }
}

/* ── Outer wrapper — fixed right side ──────────────────────────────────────── */
.offer-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9900;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0;
    /* Entrance: slide in from right 2 s after page load */
    animation: mct-offer-enter 0.7s cubic-bezier(0.34,1.56,0.64,1) 2s both;
}

/* ── Collapsed tab (shown when panel is closed) ────────────────────────────── */
.offer-widget__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    padding: 14px 10px;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: inherit;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    line-height: 1.2;
    box-shadow: var(--shadow-lg);
    transition: background .2s, transform .2s;
    /* Pulse after entrance finishes */
    animation: mct-tab-pulse 2.2s ease-in-out 2.8s infinite;
}
.offer-widget__tab:hover {
    background: var(--color-accent-d);
    transform: rotate(180deg) scale(1.06);
    animation: none; /* stop pulse on hover */
}
.offer-widget__tab svg { transform: rotate(90deg); }

/* Hide tab when panel is open */
.offer-widget.is-open .offer-widget__tab { display: none; }

/* ── Panel (expanded card) ─────────────────────────────────────────────────── */
.offer-widget__panel {
    width: 300px;
    background: var(--color-primary-d);
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 0 32px rgba(0,0,0,.45);
    overflow: hidden;
    display: none;
    flex-direction: column;
}

/* Show panel + animate it in */
.offer-widget.is-open .offer-widget__panel {
    display: flex;
    animation: mct-panel-slide-in 0.4s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Accent header bar — shimmer effect ────────────────────────────────────── */
.offer-widget__accent {
    background: linear-gradient(
        105deg,
        var(--color-accent)   38%,
        #ff8460               50%,
        var(--color-accent)   62%
    );
    background-size: 200% auto;
    color: var(--color-bg);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    animation: mct-shimmer 2.8s linear 3.5s infinite;
}

.offer-widget__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-bg);
    padding: 2px;
    display: flex;
    align-items: center;
    opacity: .85;
    flex-shrink: 0;
    transition: opacity .15s;
}
.offer-widget__close:hover { opacity: 1; }

/* ── Body ──────────────────────────────────────────────────────────────────── */
.offer-widget__body {
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}

.offer-widget__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-bg);
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

/* ── Form fields ───────────────────────────────────────────────────────────── */
.offer-widget__form { display: flex; flex-direction: column; gap: 10px; }

.offer-widget__row { display: flex; flex-direction: column; gap: 4px; }

.offer-widget__label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--color-border);
    letter-spacing: .02em;
}

.offer-widget__label span { color: var(--color-accent); }

.offer-widget__input {
    width: 100%;
    background: var(--color-primary);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    color: var(--color-bg);
    font-family: inherit;
    font-size: .88rem;
    padding: 9px 11px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
}
.offer-widget__input::placeholder { color: var(--color-muted); }
.offer-widget__input:focus {
    border-color: var(--color-accent);
    background: var(--color-dark);
}

/* ── Submit button ─────────────────────────────────────────────────────────── */
.offer-widget__submit {
    width: 100%;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 12px;
    cursor: pointer;
    margin-top: 4px;
    transition: background .2s, transform .15s;
}
.offer-widget__submit:hover { background: var(--color-accent-d); }
.offer-widget__submit:active { transform: scale(.98); }
.offer-widget__submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ── Status message ────────────────────────────────────────────────────────── */
.offer-widget__msg {
    font-size: .82rem;
    text-align: center;
    border-radius: var(--radius);
    padding: 8px 10px;
    display: none;
}
.offer-widget__msg.is-error {
    display: block;
    background: rgba(220,38,38,.12);
    color: #fca5a5;
    border: 1px solid rgba(220,38,38,.25);
}

/* ── Success state (replaces form body after submit) ───────────────────────── */
.offer-widget__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px 0 8px;
}

.offer-widget__success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(242,78,36,.15);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    animation: mct-bounce-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

.offer-widget__success-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-bg);
    margin: 0;
    letter-spacing: -.01em;
}

.offer-widget__success-msg {
    font-size: .88rem;
    color: var(--color-border);
    line-height: 1.55;
    margin: 0;
}

.offer-widget__success-note {
    font-size: .78rem;
    color: var(--color-muted);
    margin: 0;
    font-style: italic;
}

/* ── Mobile: slide up from bottom ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .offer-widget {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .offer-widget__tab {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        flex-direction: row;
        border-radius: var(--radius) var(--radius) 0 0;
        padding: 10px 16px;
        font-size: .8rem;
        width: 100%;
        justify-content: center;
    }
    .offer-widget__tab svg { transform: none; }

    .offer-widget__panel {
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 85vh;
    }

    .offer-widget__body {
        max-height: calc(85vh - 44px);
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 200;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #fff;
    color: var(--color-dark);
    border-radius: var(--radius);
}
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px; height: 1px; overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer__inner { padding-inline: var(--space-3); }

.footer-grid {
    display: grid;
    grid-template-columns: 220px 1fr 1fr 180px;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: start;
}

/* Brand column */
.footer-logo {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}
/* Footer logo: white card so logo shows clearly on dark footer */
.footer-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}
.footer-logo .brand-icon,
.footer-logo .custom-logo { height: 90px; width: auto; }
@media (max-width: 600px) {
    .footer-logo .brand-icon,
    .footer-logo .custom-logo { height: 56px; }
}

/* Social icons */
.social-list {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    transition: border-color 0.15s, background 0.15s;
}
.social-list a:hover {
    border-color: var(--color-accent);
    background: rgba(242,78,36,0.15);
    color: var(--color-accent);
    text-decoration: none;
}

/* Warehouses column */
.footer-col__title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 16px;
}
.footer-warehouses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-warehouses address {
    font-style: normal;
    color: #b0b8c4;
    font-size: 0.875rem;
    line-height: 1.55;
}

/* Hours + Contact column */
.footer-hours {
    color: #b0b8c4;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 20px;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact__row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.9;
}
.footer-contact__row a {
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.footer-contact__row a:hover { color: var(--color-accent); }

/* CTA column */
.footer-col--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.btn--footer-cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--color-accent);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.btn--footer-cta:hover {
    background: transparent;
    color: var(--color-accent);
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    flex-wrap: wrap;
}
.footer-copyright {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    margin: 0;
}
.footer-bottom__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom__links li > a {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    text-decoration: none;
}
.footer-bottom__links li > a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    /* Hide secondary topbar links; keep Request a Quote */
    .topbar-action-link:not(.topbar-action-link--primary) { display: none; }
    .header-search-toggle { display: none; }
    .nav-toggle { display: inline-flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 50;
    }
    .site-nav.is-open { max-height: 85vh; overflow-y: auto; }

    .menu--primary {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .menu--primary > li > a {
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-3) var(--space-3);
        font-size: 0.9375rem;
    }

    /* Sub-menus: always visible, indented on mobile */
    .menu--primary .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: 1px solid var(--color-border);
        background: var(--color-surface);
        padding: 0;
    }
    .menu--primary .sub-menu li > a {
        padding: var(--space-2) var(--space-5);
        border-bottom: 1px solid var(--color-border);
        font-size: 0.875rem;
    }
    /* Third level: deeper indent */
    .menu--primary .sub-menu .sub-menu {
        background: var(--color-bg);
        left: 0;
        top: 0;
        transform: none;
    }
    .menu--primary .sub-menu .sub-menu li > a {
        padding-left: calc(var(--space-5) * 1.6);
    }
    /* Hide chevrons on mobile */
    .menu--primary > .menu-item-has-children > a::after { display: none; }
    .menu--primary .sub-menu .menu-item-has-children > a::after { display: none; }
}

@media (max-width: 600px) {
    /* Show phone number on all screen sizes but reduce size */
    .header-topbar__phone { font-size: .78rem; }
    /* Compact the Request a Quote button on small screens */
    .topbar-action-link--primary { font-size: .68rem; padding: 4px 10px; }
    /* Prevent topbar from overflowing on very narrow screens */
    .header-topbar__inner { overflow: hidden; gap: var(--space-2); }
    .cta-strip__inner { flex-direction: column; text-align: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   Phase 7 — Services pages (redesigned)
   ============================================================ */

/* ---------- breadcrumb ---------- */
.breadcrumb {
    background: var(--color-primary);
    padding: 10px 0;
}
.breadcrumb .container { display: flex; }
.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    padding: 0 var(--space-3); /* prevents text from touching viewport edges */
    width: 100%;
}
.breadcrumb__item { display: flex; align-items: center; min-width: 0; }
.breadcrumb__item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}
.breadcrumb__item a:hover { color: var(--color-accent); text-decoration: none; }
.breadcrumb__item--current {
    min-width: 0;
}
.breadcrumb__item--current span {
    color: #fff;
    font-weight: 600;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}
.breadcrumb__sep {
    margin: 0 8px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ---------- archive header (shared — blog, other archives) ---------- */
.archive-header {
    background: var(--color-dark);
    color: #fff;
    padding: var(--space-6) 0 var(--space-5);
    text-align: center;
}
.archive-header__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: var(--space-3);
}
.archive-header__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- archive body (shared) ---------- */
.archive-body { padding: var(--space-6) 0; }

.archive-empty {
    text-align: center;
    color: var(--color-muted);
    padding: var(--space-6) 0;
}

/* pagination */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 var(--space-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 0.875rem;
    transition: background 0.15s, border-color 0.15s;
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

/* ---------- narrow container variant ---------- */
.container--narrow { max-width: 780px; }

/* ── SERVICES ARCHIVE ───────────────────────────────────────── */

/* Hero */
.services-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    padding: 72px 0 64px;
    text-align: center;
    color: #fff;
}
.services-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}
.services-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 18px 0 16px;
}
.services-hero__sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 0;
}
.services-hero__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Stats row */
.services-stats {
    background: #fff;
    border-bottom: 3px solid var(--color-accent);
    padding: 24px 0;
}
.services-stats__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.services-stat { text-align: center; }
.services-stat__num {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
}
.services-stat__label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
}

/* Services body */
.services-body {
    padding: var(--space-10) 0;
    background: var(--color-surface);
}

/* Category filter */
.services-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}
.services-filter__btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid var(--color-border);
    border-radius: 99px;
    background: #fff;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1;
}
.services-filter__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: #fff;
}
.services-filter__btn--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.services-filter__btn--active:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* Card grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.card-service-wrap[hidden] { display: none !important; }

/* ── SERVICE CARD ───────────────────────────────────────────── */
.card-service {
    background: #fff;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-accent);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.card-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.card-service__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.card-service__placeholder {
    height: 200px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-service__body {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-service__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
    transition: color 0.15s;
}
.card-service:hover .card-service__title { color: var(--color-accent); }
.card-service__desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    flex: 1;
    margin-bottom: var(--space-4);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-service__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.15s;
}
.card-service__link:hover { gap: 10px; text-decoration: none; }
.card-service__link svg { transition: transform 0.15s; }
.card-service__link:hover svg { transform: translateX(3px); }

/* ── SINGLE SERVICE ─────────────────────────────────────────── */

/* Hero */
.service-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    min-height: 380px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.service-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--service-hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}
.service-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.service-hero__inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 0 72px;
    text-align: center;
}
.service-hero__badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.service-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px;
}
.service-hero__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.78);
    margin: 0 auto 32px;
    max-width: 560px;
    line-height: 1.6;
}
.service-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Trust strip */
.service-trust-strip {
    background: #fff;
    border-bottom: 3px solid var(--color-accent);
    padding: 20px 0;
}
.service-trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.service-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 36px;
    border-right: 1px solid var(--color-border);
}
.service-trust-item:last-child { border-right: none; }
.service-trust-item__val {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
}
.service-trust-item__label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
    white-space: nowrap;
}

/* Service content */
.service-content {
    padding: var(--space-10) 0;
    background: #fff;
}
.entry-content > * + * { margin-top: var(--space-3); }
.entry-content h2,
.entry-content h3 { font-weight: 700; margin-top: var(--space-4); }
.entry-content ul,
.entry-content ol { padding-left: var(--space-4); }
.entry-content li + li { margin-top: var(--space-2); }

/* Features section */
.service-features {
    background: var(--color-surface);
    padding: var(--space-10) 0;
}
.service-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius);
    padding: var(--space-4);
    border-left: 3px solid var(--color-accent);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-text);
}
.service-feature-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--color-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.707 5.293a1 1 0 0 0-1.414 0L8 12.586 4.707 9.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l8-8a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.707 5.293a1 1 0 0 0-1.414 0L8 12.586 4.707 9.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l8-8a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* FAQ section */
.service-faqs {
    background: #fff;
    padding: var(--space-10) 0;
}

.accordion { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.accordion__item + .accordion__item { border-top: 1px solid var(--color-border); }

.accordion__heading { margin: 0; }
.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: background 0.15s;
}
.accordion__trigger:hover { background: var(--color-surface); }
.accordion__trigger[aria-expanded="true"] { background: var(--color-surface); }

.accordion__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.17l3.71-3.94a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.17l3.71-3.94a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.2s;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }

.accordion__panel { overflow: hidden; }
.accordion__panel[hidden] { display: none; }
.accordion__body {
    padding: 0 var(--space-4) var(--space-4);
    color: var(--color-muted);
    line-height: 1.7;
}
.accordion__body > * + * { margin-top: var(--space-2); }

/* Related industries — navy bg */
.service-industries {
    background: var(--color-primary);
    padding: var(--space-10) 0;
    color: #fff;
}
.service-industries__section-title {
    color: #fff !important;
}
.service-industries__section-sub {
    color: rgba(255,255,255,0.72) !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-hero__inner { padding: 60px 0 52px; }
    .service-trust-item { padding: 14px 22px; }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .service-trust-item { border-right: none; border-bottom: 1px solid var(--color-border); }
    .service-trust-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
    .service-trust-item:last-child,
    .service-trust-item:nth-last-child(-n+2):nth-child(odd) { border-bottom: none; }
    .service-hero__inner { padding: 48px 0; }
    .services-stats__grid { gap: 28px; }
    .services-hero { padding: 48px 0 40px; }
}

/* ============================================================
   Phase 8 — Industries pages
   ============================================================ */

/* Industry hero eyebrow */
.industry-hero__eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-2);
}

/* Industry → services section */
.industry-services {
    padding: var(--space-6) 0;
    background: var(--color-surface);
}

/* Industry → projects section */
.industry-projects {
    padding: var(--space-6) 0;
}

/* Industry card grid variant — slightly taller cards */
.card-grid--industries .card__media img { height: 260px; }

/* ---------- project card (before/after) ---------- */
.card--project { overflow: hidden; }

.project-card__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.project-card__img-wrap {
    position: relative;
    overflow: hidden;
}
.project-card__img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.card--project:hover .project-card__img-wrap img { transform: scale(1.04); }

.project-card__label {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: var(--radius);
    z-index: 1;
}
.project-card__label--after { background: var(--color-primary); }

.project-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-muted);
    font-size: 0.875rem;
    margin-top: var(--space-2);
}

@media (max-width: 600px) {
    .project-card__images { grid-template-columns: 1fr; }
    .project-card__img-wrap img { height: 160px; }
}

/* ============================================================
   Phase 9 — Color Gallery
   ============================================================ */

/* ---------- gallery section ---------- */
/* ══════════════════════════════════════════════════════════════
   COLOR GALLERY PAGE (Phase 9 redesign)
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.color-hero {
    position: relative;
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 80px 0 72px;
    overflow: hidden;
    text-align: center;
}
.color-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.color-hero__bg span {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--c, #fff);
    opacity: 0.12;
    filter: blur(40px);
}
.color-hero__bg span:nth-child(1)  { top: -30px; left:  5%; }
.color-hero__bg span:nth-child(2)  { top:  10%;  left: 20%; width:180px; height:180px; }
.color-hero__bg span:nth-child(3)  { top:  -20px; left: 40%; }
.color-hero__bg span:nth-child(4)  { top:   5%;  left: 65%; width:200px; height:200px; }
.color-hero__bg span:nth-child(5)  { bottom: -20px; left: 10%; width:160px; height:160px; }
.color-hero__bg span:nth-child(6)  { bottom: -10px; left: 35%; }
.color-hero__bg span:nth-child(7)  { bottom:  5%;  left: 55%; width:150px; height:150px; }
.color-hero__bg span:nth-child(8)  { bottom: -30px; right: 5%; }

.color-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}
.color-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.color-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.color-hero__sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto 32px;
}
.color-hero__chips {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.color-hero__chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.25);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, border-color 0.2s;
}
.color-hero__chip:hover {
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.7);
}

/* ── Gallery section ───────────────────────────────────────── */
.color-gallery { padding: var(--space-8) 0; }
.color-gallery__meta {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: var(--space-4);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.color-gallery__empty {
    text-align: center;
    color: var(--color-muted);
    padding: var(--space-5) 0;
    font-size: 1.125rem;
}

/* ── Filter bar ────────────────────────────────────────────── */
.color-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--space-3);
    justify-content: flex-start;
}
.color-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: #f5f7f9;
    border: 2px solid transparent;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.color-filter__btn:hover {
    background: #fff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.color-filter__btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(11,38,57,0.25);
}
.color-filter__label { line-height: 1; }
.color-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 800;
}
.color-filter__btn.is-active .color-filter__count { background: rgba(255,255,255,0.22); }

/* ── Swatch grid ───────────────────────────────────────────── */
.swatch-grid--gallery {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 20px;
}

/* ── Individual swatch card ────────────────────────────────── */
.swatch--interactive {
    cursor: pointer;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s;
}
.swatch--interactive:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    transform: translateY(-4px);
}

.swatch__media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.swatch--interactive .swatch__media,
.swatch--interactive .swatch__media--solid {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    transition: transform 0.35s ease;
}
.swatch--interactive:hover .swatch__media,
.swatch--interactive:hover .swatch__media--solid {
    transform: scale(1.06);
}
.swatch--interactive .swatch__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* slide-up overlay */
.swatch__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(11,38,57,0.72);
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    padding: var(--space-3);
    text-align: center;
}
.swatch--interactive:hover .swatch__overlay {
    opacity: 1;
    transform: translateY(0);
}
.swatch__overlay-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.swatch__overlay-hex {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-family: monospace;
    letter-spacing: 0.06em;
}
.swatch__overlay-icon {
    margin-top: 6px;
    color: var(--color-accent);
}

/* info strip below image */
.swatch__info {
    padding: 10px 12px 12px;
}
.swatch__name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.swatch__hex {
    font-size: 0.72rem;
    font-family: monospace;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    margin: 0;
}

/* hidden filter state */
.swatch[hidden] { display: none; }

/* ── Lightbox ──────────────────────────────────────────────── */
.color-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
}
.color-lightbox[hidden] { display: none; }

.color-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,15,26,0.82);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.color-lightbox__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    animation: lb-in 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes lb-in {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
.color-lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: var(--shadow-sm);
}
.color-lightbox__close:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.color-lightbox__swatch {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}
.color-lightbox__swatch-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    pointer-events: none;
}

.color-lightbox__info {
    padding: 24px 28px 28px;
}
.color-lightbox__name {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.color-lightbox__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.color-lightbox__hex-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    background: #f0f4f7;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.06em;
}
.color-lightbox__hex-chip::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--swatch-dot, var(--color-primary));
    flex-shrink: 0;
}
.color-lightbox__family-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}
.color-lightbox__pitch {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.color-lightbox__cta {
    width: 100%;
    text-align: center;
    display: block;
    border-radius: 10px;
    padding: 14px 24px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .swatch-grid--gallery { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 14px; }
    .color-hero { padding: 60px 0 52px; }
}
@media (max-width: 600px) {
    .color-filter { gap: 8px; }
    .color-filter__btn { padding: 7px 14px; font-size: 0.8125rem; }
    .swatch-grid--gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .color-hero { padding: 48px 0 40px; }
    .color-hero__chips { gap: 8px; }
    .color-hero__chip { width: 28px; height: 28px; }
}

/* ============================================================
   Phase 10 — Testimonials
   ============================================================ */

/* ── Testimonials archive page ────────────────────────────── */

/* Hero */
.reviews-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}
.reviews-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 70% 100%, rgba(242,78,36,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.reviews-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.reviews-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 16px 0 16px;
    line-height: 1.1;
}
.reviews-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    line-height: 1.65;
    margin: 0 auto 32px;
}

/* Rating cards */
.reviews-hero__ratings {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.rating-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    text-align: center;
    min-width: 180px;
}
.rating-card__logo { margin: 0 auto 8px; }
.rating-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.rating-card__score {
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.rating-card__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}
.rating-card__count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}

/* Reviews grid */
.reviews-body {
    padding: 64px 0 72px;
    background: #f2f5f8;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Review card */
.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(11,38,57,0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 4px solid var(--color-accent);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(11,38,57,0.12);
}
.review-card__quote-icon {
    color: var(--color-accent);
    opacity: 0.35;
    line-height: 1;
}
.review-card__stars {
    display: flex;
    gap: 2px;
}
.review-card__text {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    flex: 1;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}
.review-card__avatar {
    flex-shrink: 0;
}
.review-card__avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.review-card__avatar--initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}
.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.review-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary);
}
.review-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* Pagination */
.reviews-pagination { display: flex; justify-content: center; }
.reviews-empty {
    text-align: center;
    color: var(--color-muted);
    padding: 48px 0;
}

/* "Read all reviews" link on homepage carousel */
.home-testimonials .section-more { margin-top: var(--space-4); }

/* Responsive */
@media (max-width: 1100px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .rating-card { min-width: 140px; flex: 1; }
}
@media (max-width: 600px) {
    .reviews-hero { padding: 48px 0 40px; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Phase 11 — FAQs
   ============================================================ */

/* ---------- FAQs page layout ---------- */
/* ═══════════════════════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.faq-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}
.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 100%, rgba(242,78,36,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.faq-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.faq-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 16px 0 16px;
    line-height: 1.1;
}
.faq-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    line-height: 1.65;
    margin: 0 auto 32px;
}

/* Hero stat badges */
.faq-hero__stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.faq-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 16px 28px;
    text-align: center;
    min-width: 150px;
}
.faq-stat__num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}
.faq-stat__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── FAQ body layout ──────────────────────────────────────── */
.faq-body {
    padding: 56px 0 72px;
    background: #f2f5f8;
}

/* ── Category tabs ────────────────────────────────────────── */
.faq-tabs {
    margin-bottom: 40px;
}
.faq-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.faq-tab:hover,
.faq-tab--all {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}
.faq-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* ── FAQ group ────────────────────────────────────────────── */
.faq-group {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}
.faq-group__head {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.faq-group__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
    line-height: 1.3;
}
.faq-group__desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 4px 0 0 18px;
}

/* ── Accordion ────────────────────────────────────────────── */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item { border-radius: var(--radius); overflow: hidden; }

.faq-details {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 6px rgba(11,38,57,0.06);
    border: 1.5px solid transparent;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-details[open] {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(11,38,57,0.1);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: color 0.15s;
    user-select: none;
    line-height: 1.4;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker              { display: none; content: ''; }
.faq-summary:hover                { color: var(--color-primary); }
.faq-details[open] > .faq-summary { color: var(--color-accent); font-weight: 700; }

/* +/- toggle icon */
.faq-summary__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, transform 0.2s;
    position: relative;
}
.faq-summary__icon::before,
.faq-summary__icon::after {
    content: '';
    position: absolute;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.2s, background 0.15s;
}
.faq-summary__icon::before { width: 12px; height: 2px; }
.faq-summary__icon::after  { width: 2px; height: 12px; }

.faq-details[open] > .faq-summary .faq-summary__icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: rotate(45deg);
}
.faq-details[open] > .faq-summary .faq-summary__icon::before,
.faq-details[open] > .faq-summary .faq-summary__icon::after { background: #fff; }

/* Answer panel */
.faq-answer {
    padding: 0 20px 20px 20px;
    border-top: 1px solid var(--color-border);
    margin: 0 20px;
}
.faq-answer__body {
    color: var(--color-muted);
    line-height: 1.8;
    padding-top: 16px;
    font-size: 0.9375rem;
}
.faq-answer__body > * + * { margin-top: 10px; }
.faq-answer__body a { color: var(--color-primary); text-decoration: underline; }

/* ── Contact strip ────────────────────────────────────────── */
.faq-contact-strip {
    margin-top: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.faq-contact-strip__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.faq-contact-strip__text strong {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}
.faq-contact-strip__text span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}
.faq-contact-strip__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.faq-empty {
    text-align: center;
    color: var(--color-muted);
    padding: 48px 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .faq-stat { min-width: 120px; flex: 1; }
}
@media (max-width: 600px) {
    .faq-hero  { padding: 48px 0 40px; }
    .faq-body  { padding: 40px 0 56px; }
    .faq-contact-strip { flex-direction: column; align-items: flex-start; padding: 24px; }
    .faq-summary { padding: 16px; font-size: 0.9rem; }
    .faq-answer  { padding: 0 16px 16px; margin: 0 16px; }
}

/* =============================================================
   Phase 12 — Service Areas & ZIP checker  (redesigned)
   ============================================================= */

/* ── Service Areas Hero ────────────────────────────────────── */
.sa-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    padding: var(--space-8) 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle background texture ring */
.sa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(242,78,36,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 110%, rgba(11,38,57,0.6) 0%, transparent 70%);
    pointer-events: none;
}

.sa-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.sa-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
}

.sa-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    max-width: 700px;
}

.sa-hero__sub {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    line-height: 1.65;
    margin: 0;
}

/* Stat pills */
.sa-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-2);
}

.sa-stat {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    min-width: 110px;
}

.sa-stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.sa-stat__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Phone link */
.sa-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 0.6rem 1.4rem;
    transition: background 0.2s, border-color 0.2s;
}

.sa-hero__phone:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
}

.sa-hero__phone-icon {
    flex-shrink: 0;
}

/* ── ZIP Checker Section ────────────────────────────────────── */
.zip-checker-section {
    padding: var(--space-8) 0;
    background: var(--color-surface);
}

.zip-checker-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
}

@media (min-width: 900px) {
    .zip-checker-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* ZIP form card */
.zip-checker {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.zip-checker__header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.zip-checker__icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.zip-checker__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--color-primary);
    line-height: 1.2;
}

.zip-checker__desc {
    color: var(--color-muted);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
}

.zip-checker__field-row {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.zip-checker__input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem var(--space-3);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
    letter-spacing: 0.05em;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.zip-checker__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(242, 78, 36, 0.14);
}

.zip-checker__btn {
    white-space: nowrap;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.8rem var(--space-5);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
}

.zip-checker__btn:hover {
    background: var(--color-accent-d);
    transform: translateY(-1px);
}

.zip-checker__btn:active {
    transform: translateY(0);
}

/* ZIP result messages */
.zip-result {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-left: 4px solid transparent;
}

.zip-result--success {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.zip-result--warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #78350f;
}

.zip-result--error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #7f1d1d;
}

.zip-result a { color: inherit; font-weight: 600; text-decoration: underline; }

/* Notify form */
.zip-notify-form { margin-top: var(--space-4); }

.zip-notify-form__label {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: var(--space-2);
}

/* Map panel */
.zip-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #e8edf1;
}

.zip-map__img {
    width: 100%;
    height: auto;
    display: block;
}

.zip-map--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.zip-map--placeholder svg {
    width: 100%;
    height: auto;
}

/* ── Service Areas Listing ──────────────────────────────────── */
.service-areas-listing {
    padding: var(--space-8) 0;
}

.sa-listing__header {
    margin-bottom: var(--space-6);
    text-align: center;
}

.sa-listing__title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.sa-listing__desc {
    color: var(--color-muted);
    font-size: 1rem;
    max-width: 540px;
    margin-inline: auto;
}

/* State accordion (details/summary) */
.state-group {
    margin-bottom: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.state-group[open] {
    box-shadow: var(--shadow-md);
}

.state-group__summary {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    list-style: none;
    background: var(--color-primary);
    color: #fff;
    user-select: none;
}

.state-group__summary::-webkit-details-marker { display: none; }

.state-group__summary:hover {
    background: var(--color-primary-d);
}

.state-group__name {
    font-size: 1.25rem;
    font-weight: 800;
    flex: 1;
    letter-spacing: -0.01em;
}

.state-group__count {
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.2rem 0.75rem;
    white-space: nowrap;
}

.state-group__chevron {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: rgba(255,255,255,0.8);
}

.state-group[open] .state-group__chevron {
    transform: rotate(180deg);
}

/* Area cards grid (inside the accordion) */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-surface);
}

/* Area card */
.area-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: box-shadow 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
}

.area-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-accent);
}

.area-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.area-card__name a {
    color: var(--color-primary);
    text-decoration: none;
}

.area-card__name a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Region badge */
.area-card__region {
    display: inline-block;
    background: rgba(11, 38, 57, 0.07);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    align-self: flex-start;
}

/* ZIP count */
.area-card__zip-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--color-muted);
    margin: 0;
}

.area-card__zip-count svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Get a Quote CTA inside card */
.area-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding-top: var(--space-2);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.15s;
}

.area-card__cta:hover {
    color: var(--color-accent-d);
    text-decoration: none;
    gap: 8px;
}

/* Empty state */
.sa-empty {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--color-muted);
}

.sa-empty svg {
    margin-inline: auto;
    margin-bottom: var(--space-4);
    color: var(--color-border);
}

.sa-empty p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-2);
}

.sa-empty a {
    color: var(--color-accent);
    font-weight: 600;
}

/* btn--outline + btn--sm utilities (kept for backward compat) */
.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn--sm {
    padding: 0.375rem var(--space-3);
    font-size: 0.875rem;
}

/* btn--accent utility */
.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border: none;
}

.btn--accent:hover {
    background: var(--color-accent-d);
    color: #fff;
}

/* =============================================================
   Phase 13 — Financing page
   ============================================================= */

/* btn--lg utility */
.btn--lg { padding: 0.875rem var(--space-6); font-size: 1.0625rem; }

.archive-header__actions { margin-top: var(--space-5); }

/* ── Financing Hero ──────────────────────────────────────── */
.financing-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 72px 0 64px;
}
.financing-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.financing-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 12px 0 16px;
    color: #fff;
}
.financing-hero__sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    line-height: 1.7;
    margin: 0 auto 32px;
}
.financing-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.financing-hero__badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.fin-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: #fff;
}
.fin-badge svg { color: var(--color-accent); margin-bottom: 4px; }
.fin-badge span { font-size: 1rem; font-weight: 700; }
.fin-badge small { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ── Benefits strip ─────────────────────────────────────── */
.financing-benefits {
    padding: var(--space-10) 0;
    background: #fff;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
.benefit-item {
    text-align: center;
    padding: var(--space-5) var(--space-4);
    border-top: 4px solid var(--color-accent);
    background: var(--color-surface);
    border-radius: var(--radius);
}
.benefit-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    margin: 0 auto var(--space-4);
}
.benefit-item__icon::after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background: #fff;
}
/* Clock — Fast Approval */
.benefit-icon--fast::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2a10 10 0 1 1 0 20A10 10 0 0 1 12 2zm0 2a8 8 0 1 0 0 16A8 8 0 0 0 12 4zm0 2a1 1 0 0 1 1 1v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2a10 10 0 1 1 0 20A10 10 0 0 1 12 2zm0 2a8 8 0 1 0 0 16A8 8 0 0 0 12 4zm0 2a1 1 0 0 1 1 1v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Dollar — Flexible Terms */
.benefit-icon--flexible::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1a1 1 0 0 1 1 1v1.07A7.002 7.002 0 0 1 12 17a5 5 0 1 0 0-10 5 5 0 0 1 0-10 7 7 0 0 1 6.929 6H20a1 1 0 0 1 0 2h-1.07A7.002 7.002 0 0 1 13 20.93V22a1 1 0 0 1-2 0v-1.07A7.002 7.002 0 0 1 12 7a5 5 0 1 0 0 10 5 5 0 0 1 0 10 7 7 0 0 1-6.929-6H4a1 1 0 0 1 0-2h1.07A7.002 7.002 0 0 1 11 3.07V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1a1 1 0 0 1 1 1v1.07A7.002 7.002 0 0 1 12 17a5 5 0 1 0 0-10 5 5 0 0 1 0-10 7 7 0 0 1 6.929 6H20a1 1 0 0 1 0 2h-1.07A7.002 7.002 0 0 1 13 20.93V22a1 1 0 0 1-2 0v-1.07A7.002 7.002 0 0 1 12 7a5 5 0 1 0 0 10 5 5 0 0 1 0 10 7 7 0 0 1-6.929-6H4a1 1 0 0 1 0-2h1.07A7.002 7.002 0 0 1 11 3.07V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Lock — Secure */
.benefit-icon--secure::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1a5 5 0 0 1 5 5v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5zm0 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-9a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1a5 5 0 0 1 5 5v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5zm0 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-9a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3z'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Shield-check — No fee */
.benefit-icon--nofee::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2l8 3v6c0 5.25-3.5 9.74-8 11-4.5-1.26-8-5.75-8-11V5l8-3zm3.707 7.293a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 2l8 3v6c0 5.25-3.5 9.74-8 11-4.5-1.26-8-5.75-8-11V5l8-3zm3.707 7.293a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.benefit-item__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}
.benefit-item__desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Plan tier cards ─────────────────────────────────────── */
.financing-plans {
    padding: var(--space-10) 0 var(--space-8);
    background: var(--color-surface);
}
.plan-grid {
    display: grid;
    gap: var(--space-5);
    align-items: stretch;
    padding-top: 24px;
}
.plan-grid--single  { grid-template-columns: minmax(0, 480px); justify-content: center; }
.plan-grid--two     { grid-template-columns: repeat(2, 1fr); }
.plan-grid--three   { grid-template-columns: repeat(3, 1fr); }
.plan-card {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-card--featured {
    border-color: var(--color-accent);
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}
.plan-card__badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
}
.plan-card__name {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--color-text);
}
.plan-card--featured .plan-card__name { color: var(--color-accent); }
.plan-card__headline {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}
.plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}
.plan-card__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}
.plan-card__features li::before {
    content: '';
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    background: var(--color-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan-card__cta { width: 100%; text-align: center; margin-top: auto; padding-top: var(--space-2); }
.financing-disclaimer {
    margin-top: var(--space-6);
    padding: var(--space-4) var(--space-5);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

/* ── How It Works — navy bg ──────────────────────────────── */
.financing-steps {
    padding: var(--space-10) 0;
    background: var(--color-primary);
    color: #fff;
}
.section-head--light { color: #fff; }
.section-title--light,
.financing-steps .section-title { color: #fff !important; }
.section-sub--light,
.financing-steps .section-sub { color: rgba(255,255,255,0.7) !important; }
.fin-steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    counter-reset: fin-step;
}
.fin-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
}
.fin-step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fin-step__body { display: flex; flex-direction: column; gap: 6px; }
.fin-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.fin-step p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.fin-steps__cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* ── Optional editor content ─────────────────────────────── */
.financing-content { padding: var(--space-8) 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .fin-badge { flex: 1; min-width: 160px; }
    .fin-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-grid--three,
    .plan-grid--two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .financing-hero { padding: 48px 0 40px; }
    .financing-hero__badges { flex-direction: column; }
    .benefits-grid { grid-template-columns: 1fr; }
    .fin-steps { grid-template-columns: 1fr; }
}

/* =============================================================
   Careers — archive-job.php + single-job.php
   ============================================================= */

/* ── Hero ───────────────────────────────────────────────── */
.careers-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 80px 0 72px;
}
.careers-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.careers-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.careers-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.careers-hero__sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 560px;
}
.careers-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.careers-hero__highlights {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}
.careers-highlight {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.careers-highlight__num {
    display: block;
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}
.careers-highlight__label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Who we're looking for / criteria ───────────────────── */
.careers-criteria {
    padding: var(--space-10) 0;
    background: #fff;
}
.careers-criteria__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    align-items: start;
}
.careers-criteria__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    color: var(--color-primary);
    margin: 10px 0 16px;
    line-height: 1.15;
}
.careers-criteria__intro {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}
.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.criteria-list__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.criteria-list__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}
.criteria-list__item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.criteria-list__item strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}
.criteria-list__item span {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* Perks panel (right column) */
.careers-perks-panel {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    color: #fff;
    position: sticky;
    top: 90px;
}
.careers-perks-panel__title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.careers-perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.careers-perks-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.careers-perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}
.careers-perks-list li > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.careers-perks-list strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.careers-perks-list span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* ── Open positions listing ──────────────────────────────── */
.careers-listings {
    padding: var(--space-10) 0;
    background: var(--color-surface);
}
.job-listings {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.job-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    transition: box-shadow 0.2s, transform 0.15s;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.job-card__main { flex: 1; min-width: 0; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.job-badge--type     { background: rgba(242,78,36,0.1); color: var(--color-accent); }
.job-badge--location { background: rgba(11,38,57,0.07); color: var(--color-primary); }
.job-card__title { font-size: 1.1875rem; font-weight: 700; margin: 0 0 8px; color: var(--color-text); }
.job-card__title a { color: inherit; text-decoration: none; }
.job-card__title a:hover { color: var(--color-accent); }
.job-card__excerpt {
    font-size: 0.9rem; color: var(--color-muted); margin: 0; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.job-card__actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ── Team / company banner ───────────────────────────────── */
.careers-team-banner {
    background: var(--color-primary);
    padding: var(--space-10) 0;
    color: #fff;
}
.careers-team-banner__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-8);
    align-items: center;
}
.careers-team-banner__text h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 14px;
    max-width: 580px;
    line-height: 1.2;
}
.careers-team-banner__text p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-5);
    line-height: 1.7;
    max-width: 520px;
}
.careers-trust-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}
.careers-trust-chips .trust-chip { display: block; text-align: center; }

/* ── Hiring process ──────────────────────────────────────── */
.careers-process {
    padding: var(--space-10) 0;
    background: var(--color-surface);
}
.hire-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
.hire-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}
.hire-step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hire-step__title { font-size: 1rem; font-weight: 700; color: var(--color-primary); display: block; }
.hire-step p { margin: 0; font-size: 0.85rem; color: var(--color-muted); line-height: 1.6; }

/* Overrides for careers-process on light bg */
.careers-process .section-title { color: var(--color-primary) !important; }
.careers-process .section-sub   { color: var(--color-muted) !important; }

/* ── Single job ─────────────────────────────────────────── */
.single-job { padding: var(--space-10) 0; }
.single-job__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-8);
    align-items: start;
}
.single-job__header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
}
.single-job__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.single-job__title  { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; margin: 0 0 12px; color: var(--color-primary); }
.single-job__excerpt { font-size: 1.0625rem; color: var(--color-muted); line-height: 1.7; margin: 0; }
.single-job__content { margin-bottom: var(--space-6); }
.single-job__apply-mobile { display: none; }
.job-sidebar-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: sticky;
    top: 90px;
}
.job-sidebar-card__title { font-size: 1rem; font-weight: 700; margin: 0; color: var(--color-text); }
.job-detail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.job-detail-list__item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.job-detail-list__item svg { color: var(--color-accent); flex-shrink: 0; }
.job-detail-list__item div { display: flex; flex-direction: column; gap: 1px; }
.job-detail-list__item span { font-size: 0.75rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.job-detail-list__item strong { color: var(--color-text); font-weight: 600; }
.job-sidebar-card__contact { border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.job-sidebar-card__contact p { font-size: 0.8rem; color: var(--color-muted); margin: 0 0 6px; }
.job-sidebar-card__phone {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--color-primary); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
}
.job-sidebar-card__phone:hover { color: var(--color-accent); }
.job-back-link {
    display: inline-block; margin-top: var(--space-4);
    font-size: 0.875rem; color: var(--color-muted); text-decoration: none;
}
.job-back-link:hover { color: var(--color-accent); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .careers-highlight          { flex: 1; min-width: 140px; }
    .careers-criteria__layout   { grid-template-columns: 1fr; }
    .careers-perks-panel        { position: static; }
    .careers-team-banner__inner { grid-template-columns: 1fr; }
    .hire-steps                 { grid-template-columns: repeat(2, 1fr); }
    .single-job__layout         { grid-template-columns: 1fr; }
    .single-job__apply-mobile   { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--space-4); }
    .single-job__sidebar        { display: none; }
}
@media (max-width: 900px) {
    .job-card { flex-direction: column; align-items: flex-start; }
    .job-card__actions { flex-direction: row; }
}
@media (max-width: 600px) {
    .careers-hero { padding: 48px 0 40px; }
    .careers-hero__highlights { flex-direction: column; }
    .hire-steps { grid-template-columns: 1fr; }
    .job-card { padding: var(--space-4); }
    .job-card__actions { flex-direction: column; }
    .careers-trust-chips { flex-direction: row; flex-wrap: wrap; }
    .careers-trust-chips .trust-chip { display: inline-block; }
}

/* =============================================================
   Phase 14 — Blog (redesigned)
   ============================================================= */

/* ---------- Blog archive hero ---------- */
.blog-archive-header {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: var(--space-8) 0 var(--space-7);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-archive-header__noise { display: none; }

.blog-archive-header__inner { position: relative; }

/* Eyebrow pill */
.blog-archive-header__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 99px;
    margin-bottom: var(--space-3);
}

.blog-archive-header__title {
    font-size: clamp(2.125rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--space-3);
    letter-spacing: -0.02em;
}

.blog-archive-header__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin: 0 auto var(--space-5);
    line-height: 1.65;
}

/* Hero pills row (post count + phone) */
.blog-archive-header__pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.blog-archive-header__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 99px;
    text-decoration: none;
    transition: background 0.15s;
}

.blog-archive-header__pill--phone:hover {
    background: rgba(255,255,255,0.18);
}

/* ---------- Category filter bar ---------- */
.cat-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3) 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cat-filter-bar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}

.cat-filter-bar__btn {
    display: inline-block;
    padding: 6px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    background: #fff;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.cat-filter-bar__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(11,38,57,0.04);
}

.cat-filter-bar__btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.cat-filter-bar__btn--active:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 640px) {
    /* Drop sticky — position:sticky + overflow-x:auto on the same element breaks sticky */
    .cat-filter-bar { position: static; }

    /* Move the scroll to the container so the nowrap list can grow beyond the viewport */
    .cat-filter-bar > .container {
        padding-inline: 0;
        max-width: none;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cat-filter-bar > .container::-webkit-scrollbar { display: none; }

    /* Nowrap so all buttons stay on one line; side padding gives thumb-room at each end */
    .cat-filter-bar__list {
        flex-wrap: nowrap;
        padding-inline: var(--space-3);
        width: max-content;
        min-width: 100%;
    }
}

/* ---------- Blog two-column layout ---------- */
.blog-layout {
    padding: var(--space-8) 0;
    background: var(--color-surface);
}

.blog-layout__inner {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: var(--space-6);
    align-items: start;
}

/* Grid children must be allowed to shrink below their content width */
.blog-main,
.blog-sidebar { min-width: 0; }

/* Full-width variant — used when archive has ≤1 post (no sidebar rendered) */
.blog-layout__inner--full { grid-template-columns: 1fr; }
.blog-layout__inner--full .post-card--hero { max-width: 860px; margin-inline: auto; }

@media (max-width: 900px) {
    .blog-layout__inner { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 640px) {
    .blog-layout__inner { gap: var(--space-3); }
}

/* ---------- Post grid (blog index — posts 2+) ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-5);
}

/* Suppress the empty grid div that appears when a category has only 1 post */
.post-grid:not(:has(*)) { display: none; margin: 0; }

@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Featured hero post card ---------- */
.post-card--hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-2);
    width: 100%;
    max-width: 100%;
}

/* Clickable image layer */
.post-card__thumb--hero {
    display: block;
    position: relative;
    height: 420px;
    overflow: hidden;
    text-decoration: none;
}

.post-card__thumb--hero img,
.post-card__thumb--hero .post-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.post-card--hero:hover .post-card__thumb--hero img,
.post-card--hero:hover .post-card__thumb--hero .post-card__placeholder {
    transform: scale(1.04);
}

/* Dark gradient overlay on image */
.post-card__thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,10,20,0.92) 0%,
        rgba(5,10,20,0.5)  45%,
        rgba(5,10,20,0.1)  100%
    );
    pointer-events: none;
}

/* Text content overlaid on hero card */
.post-card__thumb-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-5) var(--space-5) var(--space-5);
}

.post-card__hero-title {
    font-size: clamp(1.375rem, 2.8vw, 2rem);
    font-weight: 800;
    line-height: 1.22;
    margin: var(--space-2) 0 var(--space-2);
    color: #fff;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-card__hero-title a {
    color: #fff;
    text-decoration: none;
}

.post-card__hero-title a:hover { text-decoration: underline; }

.post-card__hero-excerpt {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.82);
    margin: 0 0 var(--space-3);
    line-height: 1.65;
    max-width: 620px;
}

.post-card__hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.72);
}

/* Author avatar + name inline */
.post-card__hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card__hero-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.post-card__hero-readtime {
    opacity: 0.8;
}

/* Accent "Read Article" button on hero */
.post-card__read-more--accent {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    background: var(--color-accent);
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
    margin-left: auto;
}

.post-card__read-more--accent:hover {
    background: #d63d18;
    transform: translateX(2px);
    text-decoration: none;
}

/* Light glass badges on hero/post-hero */
.cat-badge--light {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}

.cat-badge--light:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
}

@media (max-width: 640px) {
    /* Taller hero thumb so content beneath title + meta still fits */
    .post-card__thumb--hero { height: 340px; }
    /* Tighten overlay padding on mobile */
    .post-card__thumb-content {
        padding: var(--space-3) var(--space-3) var(--space-4);
    }
    /* Smaller hero title — vw-based so it scales with viewport, never overflows */
    .post-card__hero-title {
        font-size: clamp(1rem, 4.2vw, 1.25rem);
        margin: var(--space-1) 0 var(--space-2);
        overflow-wrap: break-word;
        word-break: break-word;
    }
    /* Hide excerpt — not enough room */
    .post-card__hero-excerpt { display: none; }
    /* Keep author + date + readtime on one line; push button to its own full-width row */
    .post-card__hero-meta { gap: var(--space-2); row-gap: var(--space-2); }
    .post-card__read-more--accent {
        margin-left: 0;
        order: 4;
        flex-basis: 100%;
        justify-content: center;
    }
}

/* ---------- Regular post card ---------- */
.post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    border: 1px solid var(--color-border);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.post-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card__thumb img { transform: scale(1.07); }

/* Coloured gradient placeholder when no featured image */
.post-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--card-accent, #0B2639) 0%, #040d14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-card__placeholder::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M0 20L20 0L40 20L20 40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.post-card__placeholder-label {
    position: relative;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 99px;
}

.post-card__body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-2);
}

.post-card__cats { display: flex; flex-wrap: wrap; gap: 6px; }

.post-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-card__title a { color: var(--color-text); text-decoration: none; }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Card footer: author + date + read-more */
.post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: auto;
}

.post-card__meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.post-card__meta-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    flex-shrink: 0;
}

.post-card__meta-name { font-weight: 600; color: var(--color-text); }

.post-card__meta-sep { opacity: 0.4; }

.post-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: gap 0.15s;
}

.post-card__read-more:hover { text-decoration: none; gap: 7px; }

/* ---------- Category / tag badges ---------- */
.cat-badge {
    display: inline-block;
    padding: 3px 11px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
    transition: background 0.15s;
}

.cat-badge:hover { background: var(--color-accent); color: #fff; }

.tag-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.8125rem;
    border-radius: 99px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.tag-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(11,38,57,0.04);
}

/* ---------- Pagination ---------- */
.pagination { margin-top: var(--space-6); }

.pagination__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.pagination__item a,
.pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--color-border);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    background: #fff;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pagination__item a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination__item .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ---------- Single post hero ---------- */

/* Base — always full-width, no side gaps */
.post-hero {
    width: 100%;
    display: block;
    position: relative;
}

/* Image variant */
.post-hero--image {
    max-height: 520px;
    overflow: hidden;
}

/* Gradient-only variant (no featured image) — matches standard page hero */
.post-hero--gradient {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    padding: 36px 0 48px;
    color: #fff;
    text-align: center;
}

.post-hero__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay */
.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,10,20,0.88) 0%,
        rgba(5,10,20,0.55) 40%,
        rgba(5,10,20,0.2)  100%
    );
    pointer-events: none;
}

/* Centered text content on the hero */
.post-hero__content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: var(--space-6) var(--space-4) var(--space-6);
}

.post-hero--gradient .post-hero__overlay { display: none; }

.post-hero--gradient .post-hero__content {
    position: static;
    transform: none;
    text-align: center;
    padding: 0 var(--space-3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-3);
}

.post-hero--gradient .post-hero__cats { justify-content: center; }

/* On gradient hero (no image), category pills match the standard accent eyebrow */
.post-hero--gradient .cat-badge--light {
    background: var(--color-accent);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.post-hero__title {
    font-size: clamp(1.625rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 var(--space-4);
    max-width: 800px;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-hero--gradient .post-hero__title { margin-left: auto; margin-right: auto; }

.post-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
}

.post-hero--gradient .post-hero__meta { justify-content: center; }

.post-hero__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.post-hero__author a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
}

.post-hero__author a:hover { text-decoration: underline; }

.post-hero__meta-sep { opacity: 0.45; }

.post-hero__date,
.post-hero__readtime { color: rgba(255,255,255,0.72); }

@media (max-width: 640px) {
    .post-hero__img { height: 320px; }
    .post-hero__content { padding-bottom: var(--space-4); }
}

/* ---------- Single post layout + content ---------- */
.blog-layout--single { background: #fff; }

.single-post {
    background: #fff;
    border-radius: var(--radius-lg);
}

/* Post meta bar (used for backwards compat; meta is now in post hero) */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px var(--space-3);
    font-size: 0.875rem;
    color: var(--color-muted);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-4);
}

.post-meta__sep { opacity: 0.4; }
.post-meta a { color: var(--color-primary); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

/* Entry content prose */
.entry-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--color-text);
}

.entry-content > * + * { margin-top: 1.3em; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2.25em;
    color: var(--color-primary);
}

.entry-content h2 { font-size: 1.625rem; }
.entry-content h3 { font-size: 1.3125rem; }
.entry-content h4 { font-size: 1.125rem; }

.entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(242,78,36,0.4);
}

.entry-content a:hover { text-decoration-color: var(--color-accent); }

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.75em;
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-5) 0;
    background: var(--color-surface);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.7;
}
@media (max-width: 640px) {
    .entry-content blockquote { padding: var(--space-3) var(--space-3); }
}

.entry-content blockquote p { margin: 0; }

/* Tags row */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.post-tags__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Author box */
.author-box {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f4f8 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-top: var(--space-6);
}

.author-box__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}

.author-box__name {
    font-weight: 800;
    font-size: 1.0625rem;
    margin: 0 0 var(--space-1);
}

.author-box__name a { color: var(--color-text); text-decoration: none; }
.author-box__name a:hover { color: var(--color-primary); }

.author-box__bio {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0 0 var(--space-2);
    line-height: 1.65;
}

.author-box__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.author-box__link:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .author-box { flex-direction: column; gap: var(--space-3); }
}

/* Post navigation prev/next — card style with thumb */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}

.post-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.post-nav__link:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.post-nav__link--next {
    flex-direction: row-reverse;
    text-align: right;
}

.post-nav__thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.post-nav__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.post-nav__dir {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-nav__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 640px) {
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__link--next { flex-direction: row; text-align: left; }
}

/* Comments wrapper */
.post-comments {
    margin-top: var(--space-5);
}

/* ============================================================
   Comments section
   ============================================================ */
.mct-comments {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* ── Existing comments list ── */
.mct-comments__heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-border);
}

.mct-comments__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Individual comment */
.mct-comment { display: block; }

.mct-comment__body {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.mct-comment__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.mct-comment__avatar-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    flex-shrink: 0;
}

.mct-comment__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mct-comment__author {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-primary);
}

.mct-comment__date {
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.mct-comment__pending {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-left: auto;
    background: rgba(242,78,36,0.08);
    padding: 3px 10px;
    border-radius: 99px;
}

.mct-comment__content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
}

.mct-comment__content p { margin: 0 0 var(--space-2); }
.mct-comment__content p:last-child { margin-bottom: 0; }

.mct-comment__actions {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: var(--space-3);
}

.mct-comment__actions a,
.mct-comment__actions .comment-reply-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s;
}

.mct-comment__actions a:hover,
.mct-comment__actions .comment-reply-link:hover { color: var(--color-accent); }

/* Nested replies indent */
.mct-comments__list .children {
    list-style: none;
    margin: var(--space-3) 0 0 var(--space-5);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mct-comment__pingback {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 0;
}

/* Closed notice */
.mct-comments__closed {
    font-size: 0.875rem;
    color: var(--color-muted);
    text-align: center;
    padding: var(--space-4);
    background: var(--color-surface);
    border-radius: var(--radius);
}

/* ── Leave a Reply form ── */
#respond {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    color: #fff;
}

.mct-comment-form__title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 var(--space-2);
    letter-spacing: -0.02em;
}

#cancel-comment-reply-link {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: var(--space-3);
    font-weight: 500;
    transition: color 0.15s;
}

#cancel-comment-reply-link:hover { color: var(--color-accent); }

.mct-comment-form__note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 var(--space-4);
}

.mct-comment-form__note .required { color: var(--color-accent); }

/* Two-column grid for name + email; textarea full-width */
.mct-comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.mct-comment-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mct-comment-form__field--full,
.mct-comment-form__footer {
    grid-column: 1 / -1;
}

.mct-comment-form__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
}

.mct-comment-form__label .required { color: var(--color-accent); }

.mct-comment-form__input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    color: #fff;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: border-color 0.15s, background 0.15s;
}

.mct-comment-form__input::placeholder { color: rgba(255,255,255,0.35); }

.mct-comment-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.12);
}

.mct-comment-form__input--textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.mct-comment-form__footer {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.mct-comment-form__submit {
    padding: 13px 32px;
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Logged-in note line */
.logged-in-as {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 var(--space-3);
    grid-column: 1 / -1;
}

.logged-in-as a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.logged-in-as a:hover { color: #fff; }

/* Mobile */
@media (max-width: 640px) {
    .mct-comment-form { grid-template-columns: 1fr; }
    #respond { padding: var(--space-4); }
    .mct-comments__list .children { margin-left: var(--space-3); }
}

/* ---------- Sidebar ---------- */
.blog-sidebar { display: flex; flex-direction: column; gap: var(--space-4); }

.sb-widget {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.sb-widget__title {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin: 0 0 var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--color-primary);
}

/* Search widget */
.sb-search__wrap {
    position: relative;
    display: flex;
}

.sb-search__input {
    flex: 1;
    min-width: 0;
    padding: 10px 44px 10px var(--space-3);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.sb-search__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11,38,57,0.1);
    background: #fff;
}

.sb-search__btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: background 0.15s;
}

.sb-search__btn:hover { background: var(--color-accent); }

/* Category list */
.sb-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-cat-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px var(--space-2);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: background 0.12s;
}

.sb-cat-list__item:hover { background: var(--color-surface); }

.sb-cat-list__item--active { background: rgba(11,38,57,0.06); }

.sb-cat-list__item a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

.sb-cat-list__item--active a { color: var(--color-primary); font-weight: 700; }

.sb-cat-list__item a:hover { color: var(--color-primary); }

.sb-cat-list__count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-muted);
    background: var(--color-surface);
    padding: 1px 9px;
    border-radius: 99px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    margin-left: var(--space-2);
}

.sb-cat-list__item--active .sb-cat-list__count {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Recent posts */
.sb-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sb-recent-list__item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.sb-recent-list__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}

.sb-recent-list__thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sb-recent-list__item:hover .sb-recent-list__thumb img { transform: scale(1.06); }

/* Gradient placeholder for posts with no image */
.sb-recent-list__thumb--placeholder {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2d45 100%);
}

.sb-recent-list__info { display: flex; flex-direction: column; gap: 5px; }

.sb-recent-list__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sb-recent-list__title:hover { color: var(--color-primary); }

.sb-recent-list__date {
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* Sidebar CTA card */
.sb-cta-card {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 70%, #0d2d45 100%);
    border-color: transparent;
    overflow: hidden;
    position: relative;
}

.sb-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 20L20 0L40 20L20 40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.sb-cta-card__inner {
    position: relative;
    text-align: center;
}

.sb-cta-card__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: var(--space-3);
}

.sb-cta-card__heading {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 var(--space-2);
    line-height: 1.3;
}

.sb-cta-card__text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 var(--space-4);
    line-height: 1.6;
}

/* Tag cloud widget */
.sb-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* btn helpers */
.btn--block { display: block; width: 100%; text-align: center; }

/* .btn--accent is defined globally; adding lift on hover for sidebar CTA context */
.sb-cta-card .btn--accent {
    transition: background 0.15s, transform 0.15s;
}

.sb-cta-card .btn--accent:hover {
    background: #d63d18;
    transform: translateY(-1px);
    text-decoration: none;
}

/* =============================================================
   Phase 15 — Forms (Quote + Contact)
   ============================================================= */

/* ---------- Shared form primitives ---------- */
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-required { color: var(--color-primary); margin-left: 2px; }

.form-control {
    display: block;
    width: 100%;
    padding: 0.6875rem var(--space-3);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14,124,255,0.14);
}

.form-control.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

select.form-control { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.168l3.71-3.938a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-field { display: flex; flex-direction: column; }

.form-row { display: flex; flex-direction: column; gap: var(--space-3); }

@media (min-width: 600px) {
    .form-row--2col { flex-direction: row; }
    .form-row--2col > * { flex: 1 1 0; min-width: 0; }
}

.form-field-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin: 4px 0 0;
    font-weight: 500;
}

/* Inline result */
.form-result {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.6;
}

.form-result--success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.form-result--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }

/* ---------- Quote section ---------- */
.quote-section { padding: var(--space-8) 0; background: var(--color-surface); }

/* Progress indicator */
.form-progress { margin-bottom: var(--space-6); }

.form-progress__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.form-progress__step {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-muted);
    position: relative;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    z-index: 1;
}

.form-progress__step[data-label]::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-muted);
    white-space: nowrap;
}

.form-progress__step.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.form-progress__step.is-done {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}

.form-progress__connector {
    height: 2px;
    width: 80px;
    background: var(--color-border);
    transition: background 0.3s;
    flex-shrink: 0;
}

.form-progress__connector.is-done { background: #6ee7b7; }

/* Form card */
.quote-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-step__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--space-2);
}

.form-step__hint {
    color: var(--color-muted);
    font-size: 0.9375rem;
    margin: 0 0 var(--space-4);
}

/* Project type radio cards */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.project-type-card { position: relative; }

.project-type-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.project-type-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-3);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
    user-select: none;
}

.project-type-card input:checked + .project-type-card__inner,
.project-type-card.is-selected .project-type-card__inner {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), 0 0 0 4px rgba(14,124,255,0.1);
    color: var(--color-primary);
}

.project-type-card__inner:hover {
    border-color: var(--color-primary);
}

.project-type-card input:focus-visible + .project-type-card__inner {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.project-type-card__icon { display: block; transition: transform 0.15s; }
.project-type-card input:checked + .project-type-card__inner .project-type-card__icon { transform: scale(1.1); }

.project-type-card__label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Form step fields */
.form-step .form-field { margin-bottom: var(--space-3); }
.form-step .form-row   { margin-bottom: var(--space-3); }

/* Review step */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.review-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-3);
}

.review-item__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.review-item__val {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: capitalize;
}

/* Nav buttons */
.form-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

/* Trust signals strip */
.form-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-5);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 500;
}

.trust-item svg { color: var(--color-primary); flex-shrink: 0; }

/* =============================================================
   Contact Page — Hero + Body
   ============================================================= */

/* ── Hero ─────────────────────────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 80px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(242,78,36,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.contact-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 20px;
}

.contact-hero__title {
    font-size: clamp(2.1rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px;
}

.contact-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.contact-hero__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
}

.contact-hero__pill-link {
    color: inherit;
    text-decoration: none;
}

.contact-hero__pill-link:hover {
    text-decoration: underline;
}

/* ── Body layout ──────────────────────────────────────────── */
.contact-body {
    padding: var(--space-8) 0;
    background: var(--color-surface);
}

.contact-layout {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: var(--space-6);
    align-items: start;
}

/* ── Info panel ───────────────────────────────────────────── */
.contact-info {
    background: linear-gradient(160deg, #0d2d45 0%, var(--color-primary) 55%, #071929 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(242,78,36,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info__heading {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin: 0 0 var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info__item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-info__item:last-child {
    border-bottom: none;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(242,78,36,0.35);
}

.contact-info__text {
    flex: 1;
    min-width: 0;
}

.contact-info__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin: 0 0 4px;
}

.contact-info__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin: 0;
    display: block;
    line-height: 1.5;
}

.contact-info__value:hover { text-decoration: underline; }

.contact-info__item--hours .contact-info__value {
    font-weight: 400;
    font-size: 0.875rem;
}

/* Social row */
.contact-info__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-info__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.contact-info__social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* CTA button */
.contact-info__cta {
    margin-top: var(--space-5);
}

.contact-info__cta-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 var(--space-3);
}

.contact-info__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 13px var(--space-4);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.contact-info__cta-btn:hover {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(242,78,36,0.4);
    text-decoration: none;
}

/* Decorative orange accent bar at bottom of card */
.contact-info__accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ── Form panel ───────────────────────────────────────────── */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrap__heading {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 6px;
}

.contact-form-wrap__sub {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0 0 var(--space-5);
}

.contact-form .form-field { margin-bottom: var(--space-4); }
.contact-form .form-row   { margin-bottom: var(--space-4); }

/* Submit button — full-width accent */
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px var(--space-5);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    box-shadow: 0 4px 16px rgba(242,78,36,0.35);
}

.contact-form__submit:hover {
    background: #d9421d;
    box-shadow: 0 6px 24px rgba(242,78,36,0.45);
    transform: translateY(-1px);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--color-muted);
    margin: var(--space-3) 0 0;
}

.form-privacy svg { color: var(--color-primary); flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: var(--space-7) 0 var(--space-6);
    }

    .contact-info__accent-bar {
        display: none;
    }
}

@media (max-width: 600px) {
    .contact-hero__pills {
        gap: 8px;
    }

    .contact-form-wrap {
        padding: var(--space-5) var(--space-4);
        border-radius: var(--radius);
    }

    .contact-info {
        padding: var(--space-5) var(--space-4);
    }
}

/* =============================================================
   About Us page
   ============================================================= */

/* ---- Hero ---- */
/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── About / Mission / Vision ─────────────────────────────── */
.amv-block {
    padding: 80px 0;
}
.amv-block--dark {
    background: #0B2639;
}
.amv-block--light {
    background: #ffffff;
}
.amv-block__inner {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}
.amv-block__heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--color-accent);
    margin: 0 0 28px;
}
.amv-block__body {
    font-size: 1.0625rem;
    line-height: 1.85;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 780px;
}
.amv-block__body:last-child { margin-bottom: 0; }
.amv-block--dark .amv-block__body  { color: rgba(255,255,255,0.80); }
.amv-block--light .amv-block__body { color: #4a5568; }

@media (max-width: 768px) {
    .amv-block { padding: 52px 0; }
    .amv-block__heading { font-size: 1.75rem; margin-bottom: 20px; }
    .amv-block__body { font-size: 0.9375rem; }
}

/* ── (legacy about-hero kept for fallback) ────────────────── */
.about-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(242,78,36,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.about-hero__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}
.about-hero__badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 24px;
}
.about-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.about-hero__sub {
    font-size: 1.075rem;
    color: rgba(255,255,255,0.78);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.65;
}
.about-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-hero__visual { display: none; }
.btn--ghost-white {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.btn--ghost-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

/* ── Stats strip ──────────────────────────────────────────── */
.about-stats {
    background: #0d2d45;
    padding: 0;
    border-top: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}
.about-stats__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.about-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 36px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.about-stats__item:last-child { border-right: none; }
.about-stats__num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.about-stats__label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Our Story ────────────────────────────────────────────── */
/* ---------- About / Mission / Vision blocks ---------- */
.about-intro { padding: 72px 0; }
.about-intro--dark {
    background: #0B2639;
    color: rgba(255,255,255,0.85);
}
.about-intro--light {
    background: #fff;
    color: var(--color-text);
}
.about-block__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-accent);
    margin: 0 0 1.75rem;
    line-height: 1;
}
.about-block__body {
    font-size: 1.0625rem;
    line-height: 1.85;
    max-width: 900px;
    margin: 0 0 1.5rem;
    text-align: justify;
}
.about-block__body:last-child { margin-bottom: 0; }
.about-intro--dark .about-block__body { color: rgba(255,255,255,0.82); }
.about-intro--light .about-block__body { color: #4a5568; }

.about-story { padding: 80px 0; background: #fff; }
.about-story__layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: center;
}
.about-story__media { position: relative; }
.about-story__img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11,38,57,0.18);
}
.about-story__img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}
.about-story__media-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(242,78,36,0.4);
    border: 3px solid #fff;
}
.about-story__media-badge span:first-child {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}
.about-story__media-badge span:last-child {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-eyebrow--light { color: rgba(255,255,255,0.55); }
.about-story__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-story__body {
    color: var(--color-text);
    margin-bottom: 28px;
    line-height: 1.75;
}

/* ── Values ───────────────────────────────────────────────── */
.about-values {
    padding: 80px 0;
    background: #f2f5f8;
}
.about-values__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about-value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 24px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(11,38,57,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border-top: 4px solid var(--color-accent);
    transition: transform 0.2s, box-shadow 0.2s;
}
.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11,38,57,0.13);
}
.about-value-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.about-value-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}
.about-value-card__desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Why Choose Us ────────────────────────────────────────── */
.about-why {
    padding: 80px 0;
    background: var(--color-primary);
    color: #fff;
}
.about-why__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
}
.about-why__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}
.about-why__sub {
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.6;
}
.about-why__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}
.about-why__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.4;
}
.about-why__check {
    flex-shrink: 0;
    color: var(--color-accent);
}
.about-why__panel-inner {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.about-why__badge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 0 0 10px rgba(242,78,36,0.15), 0 0 0 22px rgba(242,78,36,0.07);
}
.about-why__badge-num {
    font-size: 3.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.about-why__badge-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 0 10px;
    line-height: 1.4;
}
.about-why__chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.trust-chip { display: inline-block; white-space: nowrap; }
.trust-chip--outline {
    padding: 6px 14px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    transition: border-color 0.15s, color 0.15s;
}
.trust-chip--outline:hover {
    border-color: var(--color-accent);
    color: #fff;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .about-story__layout { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-values__grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .about-story__layout { grid-template-columns: 1fr; }
    .about-story__media  { order: -1; }
    .about-story__media-badge { right: 12px; }
    .about-why__layout { grid-template-columns: 1fr; }
    .about-why__list   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-hero { padding: 52px 0 56px; }
    .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats__item { padding: 24px 16px; }
    .about-story__img  { height: 260px; }
    .about-values__grid { grid-template-columns: 1fr; }
    .about-why__panel-inner { padding: 28px 20px; }
    .about-why__list { grid-template-columns: 1fr; }
}

/* =============================================================
   Phase 16 — Styling & Responsive polish
   ============================================================= */

/* ------ 16.2: Section padding scales down on mobile ------ */
@media (max-width: 600px) {
    .archive-header { padding: var(--space-5) 0 var(--space-4); }
    .archive-body   { padding: var(--space-5) 0; }

    .home-section   { padding-block: var(--space-5); }

    .service-content,
    .service-features,
    .service-faqs,
    .service-industries { padding: var(--space-5) 0; }

    .industry-services,
    .industry-projects  { padding: var(--space-5) 0; }

    .color-gallery      { padding: var(--space-5) 0; }
    .testimonials-archive { padding: var(--space-5) 0; }
    .faqs-page          { padding: var(--space-5) 0; }

    .financing-content  { padding: var(--space-5) 0; }

    .sa-hero               { padding: var(--space-6) 0; }
    .zip-checker-section  { padding: var(--space-5) 0; }
    .service-areas-listing { padding: var(--space-5) 0; }

    .blog-layout              { padding: var(--space-5) 0; }
    .quote-section            { padding: var(--space-5) 0; }

    /* blog archive hero */
    .blog-archive-header      { padding: var(--space-6) 0 var(--space-5); }
    .blog-archive-header__sub { font-size: 1rem; }

    /* single post hero */
    .post-hero--gradient      { padding: var(--space-6) 0 var(--space-5); }

    /* single post article padding */
    /* .single-post              { padding: var(--space-4); } */
}

/* ------ 16.3: Form card padding on mobile ------ */
@media (max-width: 600px) {
    .quote-form {
        padding: var(--space-4);
        border-radius: var(--radius);
    }

    /* Progress bar: narrow connectors */
    .form-progress__connector { width: 32px; }
    .form-progress__step      { width: 32px; height: 32px; font-size: 0.8125rem; }
    /* Hide step labels — they overlap at narrow widths */
    .form-progress__step[data-label]::after { display: none; }

    /* btn--lg is too bulky on phones */
    .btn--lg { padding: 0.75rem var(--space-4); font-size: 1rem; }

    /* ZIP checker card */
    .zip-checker { padding: var(--space-4); }

    /* Service areas hero stats: single column on small screens */
    .sa-hero__stats  { gap: var(--space-2); }
    .sa-stat         { min-width: 90px; padding: var(--space-2) var(--space-3); }
    .sa-stat__number { font-size: 1.5rem; }

    /* State accordion grid: single column */
    .area-grid { grid-template-columns: 1fr; padding: var(--space-4); }

    /* State summary compact */
    .state-group__summary { padding: var(--space-3) var(--space-4); }
    .state-group__name    { font-size: 1.0625rem; }

    /* Plan card */
    .plan-card { padding: var(--space-4); }

    /* single-post card */
    /* .single-post { padding: var(--space-4); } */
    .post-comments { padding: var(--space-4); }

    /* author box stacks on very small screens */
    .author-box { flex-direction: column; }
    .author-box__img { width: 56px; height: 56px; }
}

/* ------ 16.3: Hero responsive ------ */
@media (max-width: 600px) {
    .hero { padding-block: var(--space-5); }
    .service-hero__title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .cta-strip { padding-block: var(--space-4); }
}

/* ------ 16.3: Footer responsive ------ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-col--cta { align-items: flex-start; text-align: left; }
    .footer-made-usa { width: auto; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col--cta { align-items: flex-start; }
    .btn--footer-cta { width: auto; display: inline-block; }
    .social-list { flex-wrap: wrap; }
}

/* ------ 16.3: Button improvements ------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn:active { transform: scale(0.97); }

/* ------ 16.3: Card improvements ------ */
@media (max-width: 600px) {
    .card__media img { height: 180px; }
    .testimonial-track > .card--testimonial { flex-basis: 92%; }
    .swatch-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ------ 16.4: Print styles ------ */
@media print {
    .site-header-wrap,
    .site-footer,
    .nav-toggle,
    .header-topbar,
    .offer-widget,
    .cta-strip,
    .blog-sidebar,
    .form-progress { display: none !important; }

    body { font-size: 12pt; color: #000; background: #fff; }
    a::after { content: " (" attr(href) ")"; }
    .container { max-width: 100%; padding: 0; }
}

/* ------ 16.5: Lazy-load fade-in for images ------ */
/* Only fade images that are off-screen — in-viewport images get is-loaded immediately */
img[loading="lazy"]:not(.is-loaded) {
    opacity: 0;
    transition: opacity 0.4s ease;
}
img[loading="lazy"].is-loaded { opacity: 1; transition: opacity 0.4s ease; }

/* Swatches must never be hidden by lazy logic */
.swatch img[loading="lazy"]:not(.is-loaded),
.swatch__media img[loading="lazy"]:not(.is-loaded) {
    opacity: 1;
}

/* ------ 16.5: Focus-visible outline (accessibility) ------ */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ============================================================
   HOMEPAGE REDESIGN — Hero, Trust, Why, Cards
   ============================================================ */

/* Hero */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,38,57,0.85) 0%, rgba(11,38,57,0.7) 50%, rgba(11,38,57,0.5) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; margin: 0 auto; padding: var(--space-8) 0; text-align: center; }
.hero__title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin: 0 auto var(--space-5);
    max-width: 560px;
    line-height: 1.65;
}
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; justify-content: center; }
.hero__cta { font-size: 1.05rem; padding: 15px 36px; }
.hero__phone {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.9); font-weight: 600; font-size: 1rem;
    text-decoration: none;
}
.hero__phone:hover { color: var(--color-accent); text-decoration: none; }
@media (max-width: 600px) {
    .hero { min-height: 440px; }
    .hero__inner { padding: var(--space-6) 0; }
    .hero__actions { flex-direction: column; align-items: center; }
}

/* Trust bar */
.home-trust { background: var(--color-primary); padding: var(--space-5) 0; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    text-align: center;
}
.trust-item__number {
    font-size: 2.1rem; font-weight: 800;
    color: var(--color-accent); line-height: 1; display: block;
}
.trust-item__label {
    font-size: 0.78rem; color: rgba(255,255,255,0.75);
    margin-top: 5px; text-transform: uppercase; letter-spacing: 0.07em;
    display: block;
}
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

/* Buttons */
.btn--primary {
    background: var(--color-accent);
    color: #fff !important;
    border: 2px solid var(--color-accent);
    padding: 13px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.btn--primary:hover {
    background: var(--color-accent-d);
    border-color: var(--color-accent-d);
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 11px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s, color 0.15s;
}
.btn--ghost:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

/* Section heads */
.section-head { text-align: center; margin-bottom: var(--space-5); }
.section-title { color: var(--color-primary); }
.section-sub { color: var(--color-muted); font-size: 1rem; max-width: 560px; margin-inline: auto; }
.section-more { text-align: center; margin-top: var(--space-5); }

/* Service cards — full rules defined in Phase 7 block above */
.home-services { background: var(--color-surface); }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}

/* Why choose section */
.home-why { background: var(--color-surface); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-5);
}
.why-card {
    background: #fff;
    border-radius: var(--radius);
    padding: var(--space-5);
    border-top: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}
.why-card__icon {
    width: 48px; height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-3);
    color: #fff;
}
.why-card__title { font-size: 1.05rem; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.why-card__desc { font-size: 0.875rem; color: var(--color-muted); line-height: 1.6; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: var(--space-4); } }
@media (min-width: 901px) and (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* Testimonial cards — improve */
.card--testimonial {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-4);
    position: relative;
}
.card--testimonial::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.25;
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: Georgia, serif;
}

/* CTA strip */
.cta-strip {
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-7) 0;
}
.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.cta-strip__text h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-strip__text p { color: rgba(255,255,255,0.75); margin-top: 4px; }
@media (max-width: 700px) {
    .cta-strip__inner { flex-direction: column; text-align: center; }
}

/* ── Service photo panel strip ───────────────────────────── */
.services-panel-strip {
    display: flex;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-panel {
    flex: 1;
    position: relative;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    text-decoration: none !important;
    overflow: hidden;
    transition: flex 0.35s ease;
    border-right: 2px solid rgba(255,255,255,0.15);
}
.service-panel:last-child { border-right: none; }

/* Dark-to-transparent gradient overlay */
.service-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(11,38,57,0.90) 0%,
        rgba(11,38,57,0.45) 45%,
        rgba(11,38,57,0.10) 100%);
    transition: background 0.3s;
    z-index: 1;
}

/* Expand on hover + orange tint */
.service-panel:hover {
    flex: 1.6;
}
.service-panel:hover::before {
    background: linear-gradient(to top,
        rgba(242,78,36,0.80) 0%,
        rgba(11,38,57,0.50) 50%,
        rgba(11,38,57,0.10) 100%);
}

.service-panel__title {
    position: relative;
    z-index: 2;
    padding: 18px 14px 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {
    .services-panel-strip {
        flex-direction: column;
        height: auto;
    }
    .service-panel {
        height: 120px;
        flex: none;
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.15);
    }
    .service-panel:hover { flex: none; }
    .service-panel__title { font-size: 0.95rem; padding: 14px 16px; }
}

/* ---------- Google rating bar (testimonials header) ---------- */
.google-rating-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--space-3);
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    max-width: 460px;
    margin-inline: auto;
}
.google-rating-bar__logo { display: block; }
.google-rating-bar__score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}
.google-rating-bar__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}
.google-rating-bar__count {
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* ---------- Swatch chip photo improvements (home / non-gallery) ---------- */
.swatch-grid:not(.swatch-grid--gallery) .swatch__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.swatch-grid:not(.swatch-grid--gallery) .swatch__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    aspect-ratio: 1;
}
.swatch-grid:not(.swatch-grid--gallery) .swatch__name { font-size: 0.8rem; font-weight: 600; margin-top: 6px; }
.swatch-grid:not(.swatch-grid--gallery) .swatch__hex  { font-size: 0.7rem; }

/* ============================================================
   HOMEPAGE UI OVERHAUL — Brand-aligned redesign
   Navy #0B2639 · Orange #F24E24 · Montserrat
   ============================================================ */

/* ── Section heads — universal upgrade ──────────────────────── */
.section-head .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}
.section-head .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    margin: 10px auto 0;
}
.section-head .section-sub {
    font-size: 1rem;
    color: #5a6e7f;
    max-width: 560px;
    margin: 14px auto 0;
    line-height: 1.65;
}

/* ── COLOR RANGE SECTION ─────────────────────────────────────── */
.home-colors {
    background: #f7f9fb;
    padding-block: var(--space-7);
}
.home-colors .section-head {
    margin-bottom: var(--space-5);
}
.swatch-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}
.swatch-grid--home .swatch {
    background: #fff;
    border-radius: 12px;
    padding: 8px 8px 10px;
    box-shadow: 0 2px 8px rgba(11,38,57,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    text-align: center;
}
.swatch-grid--home .swatch:hover {
    box-shadow: 0 6px 20px rgba(242,78,36,0.18);
    transform: translateY(-4px);
}
.swatch-grid--home .swatch__media {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.swatch-grid--home .swatch__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.swatch-grid--home .swatch:hover .swatch__media img {
    transform: scale(1.06);
}
.swatch-grid--home .swatch__name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    margin-top: 8px;
    text-transform: uppercase;
}
.swatch-grid--home .swatch__hex { display: none; }
.home-colors .section-more .btn--ghost {
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 12px 32px;
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}
.home-colors .section-more .btn--ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ── REVIEWS / TESTIMONIALS SECTION ─────────────────────────── */
.home-testimonials {
    background: #f2f5f8;
    padding-top: calc(var(--space-7) + 20px);
    padding-bottom: var(--space-7);
}
.home-testimonials .section-head .section-title {
    color: var(--color-primary);
}
.home-testimonials .section-head .section-title::after {
    background: var(--color-accent);
}
.home-testimonials .section-head .section-sub {
    color: var(--color-text);
}

/* Google rating bar */
.google-rating-bar {
    background: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    max-width: 380px;
    margin: var(--space-4) auto 0;
    gap: 12px;
}
.google-rating-bar__score {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-primary);
}
.google-rating-bar__count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a6e7f;
}

/* Carousel wrapper */
.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: var(--space-5);
}

/* Prev / Next arrow buttons */
.carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    z-index: 2;
    position: relative;
    box-shadow: 0 2px 8px rgba(11,38,57,0.08);
}
.carousel-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
}
.carousel-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}
.carousel-arrow--prev { margin-right: 16px; }
.carousel-arrow--next { margin-left: 16px; }

/* Testimonial track — no visible scrollbar */
.home-testimonials .testimonial-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
    margin-top: 0;
    gap: 24px;
    flex: 1;
    min-width: 0;
}
.home-testimonials .testimonial-track::-webkit-scrollbar {
    display: none;
}

/* Individual review card — matches archive design */
.home-testimonials .card--testimonial {
    background: #fff;
    border: none;
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    position: relative;
    box-shadow: 0 2px 16px rgba(11,38,57,0.07);
    flex: 0 0 min(82%, 340px);
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.home-testimonials .card--testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(11,38,57,0.12);
}
.home-testimonials .card--testimonial::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.35;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}
.home-testimonials .card__rating {
    color: #FBBC04;
    font-size: 1rem;
    margin-bottom: 10px;
    padding-top: 4px;
}
.home-testimonials .card__quote {
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
    padding-top: 6px;
    flex: 1;
}
.home-testimonials .card__quote p { margin: 0; }
.home-testimonials .card__byline {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-top: auto;
}
/* Avatar circle (initials fallback) */
.card__avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    text-transform: uppercase;
}
.home-testimonials .card__author strong {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9375rem;
}
.home-testimonials .card__location {
    color: var(--color-muted);
    font-size: 0.8rem;
}
.home-testimonials .section-more .btn--ghost {
    border-color: var(--color-primary);
    color: var(--color-primary);
    border-radius: 50px;
    padding: 11px 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.home-testimonials .section-more .btn--ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ── WHY CHOOSE SECTION ──────────────────────────────────────── */
.home-why {
    background: #fff;
    padding-block: var(--space-7);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: var(--space-5);
}
.why-card {
    background: #f7f9fb;
    border-radius: 16px;
    padding: 36px 28px 32px;
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 2px 12px rgba(11,38,57,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at bottom right, rgba(242,78,36,0.06), transparent 70%);
    pointer-events: none;
}
.why-card:hover {
    box-shadow: 0 10px 40px rgba(11,38,57,0.12);
    transform: translateY(-5px);
}
.why-card__icon {
    width: 56px; height: 56px;
    background: var(--color-primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11,38,57,0.25);
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.why-card__desc {
    font-size: 0.875rem;
    color: #5a6e7f;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.home-about {
    background: var(--color-primary);
    padding-block: var(--space-7);
}
.home-about .section-head .section-title {
    color: #fff;
}
.home-about .section-head .section-title::after {
    background: var(--color-accent);
}
.home-about .lead {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
}
.home-about .lead p { margin-bottom: var(--space-3); }

/* ── SERVICE AREAS / MAP SECTION ─────────────────────────────── */
.home-map {
    background: #f7f9fb;
    padding-block: var(--space-7);
}
.home-map__image {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 40px rgba(11,38,57,0.12);
    max-width: 760px;
    display: block;
    margin-inline: auto;
}

/* ── CTA STRIP ───────────────────────────────────────────────── */
.cta-strip {
    background: linear-gradient(135deg, #071b2a 0%, var(--color-primary) 60%, #0d3350 100%);
    padding-block: var(--space-7);
}
.cta-strip__text h2 {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.cta-strip__text p {
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    font-size: 1rem;
}

/* ── RESPONSIVE TWEAKS ───────────────────────────────────────── */
@media (max-width: 640px) {
    .swatch-grid--home { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
    .home-testimonials .card--testimonial { flex-basis: 88%; }
    .why-card { padding: 28px 20px 24px; }
    .google-rating-bar { padding: 10px 16px; gap: 8px; }
    .google-rating-bar__score { font-size: 1.4rem; }
}

/* ── About CTA button ──────────────────────────────────────────── */
.about-cta {
    text-align: center;
    margin-top: var(--space-5);
}
.btn--accent {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 36px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(242,78,36,0.35);
}
.btn--accent:hover {
    background: var(--color-accent-d);
    box-shadow: 0 6px 24px rgba(242,78,36,0.45);
    transform: translateY(-2px);
}

/* ── Home map section heading — on light bg ────────────────────── */
.home-map .section-head .section-title { color: var(--color-primary); }
.home-map .section-head .section-sub   { color: #5a6e7f; }

/* ── Carousel arrows — mobile ──────────────────────────────────── */
@media (max-width: 640px) {
    .carousel-arrow { width: 38px; height: 38px; }
    .carousel-arrow--prev { margin-right: 10px; }
    .carousel-arrow--next { margin-left: 10px; }
}

/* ============================================================
   WHY US PAGE
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.why-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    padding: 80px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-navy, #0d1b2a) center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}
.why-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.why-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.why-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}
.why-hero__sub {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 32px;
}
.why-hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.why-hero__ctas .btn--ghost {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.why-hero__ctas .btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ── Stats strip ──────────────────────────────────────────── */
.why-stats {
    background: #0d2d45;
    padding: 36px 0;
    border-top: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}
.why-stats__grid {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.why-stats__item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.why-stats__item:last-child { border-right: none; }
.why-stats__num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.why-stats__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-top: 6px;
}

/* ── Process steps ────────────────────────────────────────── */
.why-process { background: #f7f9fb; }
.process-steps {
    list-style: none;
    margin: var(--space-5) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    counter-reset: step;
}
.process-step {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(11,38,57,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    border-left: 4px solid var(--color-accent);
}
.process-step:hover {
    box-shadow: 0 8px 32px rgba(11,38,57,0.12);
    transform: translateY(-3px);
}
.process-step__num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    min-width: 48px;
    letter-spacing: -0.04em;
    opacity: 0.9;
}
.process-step__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.process-step__desc {
    font-size: 0.875rem;
    color: #5a6e7f;
    line-height: 1.7;
    margin: 0;
}

/* ── Why pillars on why-us page ───────────────────────────── */
.why-pillars { background: #fff; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .process-steps { grid-template-columns: 1fr; gap: 16px; }
    .why-stats__item { min-width: 120px; }
    .why-hero { padding: 60px 0 52px; }
}
@media (max-width: 480px) {
    .why-stats__grid { gap: 0; }
    .why-stats__item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .why-stats__item:nth-child(even) { border-right: none; }
}

/* ============================================================
   SERVICE AREA SINGLE PAGE
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.sa-single-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    overflow: hidden;
}

/* Background image via CSS var, layered under tinted overlay */
.sa-single-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sa-hero-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Dark overlay on top of image */
.sa-single-hero--has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,38,57,0.88) 0%, rgba(11,38,57,0.65) 100%);
    z-index: 1;
}

.sa-single-hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
    max-width: 820px;
    margin-inline: auto;
}

/* State badge pill */
.sa-hero-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: var(--space-3);
}

.sa-single-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 var(--space-4);
    letter-spacing: -0.02em;
}

.sa-single-hero__sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto var(--space-6);
}

.sa-single-hero__ctas {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* Stats row — displayed below CTAs when centered */
.sa-hero-stats {
    display: flex;
    flex-direction: row;
    gap: var(--space-6);
    margin-top: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

.sa-hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 14px 24px;
    text-align: center;
    min-width: 110px;
}

.sa-hero-stat__val {
    display: block;
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.sa-hero-stat__label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 5px;
}

/* ── Services section ──────────────────────────────────────── */
.sa-services {
    background: #fff;
    padding: var(--space-10) 0;
}

.sa-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-7);
}

.sa-service-card {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8edf1;
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sa-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sa-service-card__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.sa-service-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 var(--space-2);
}

.sa-service-card__title a {
    color: inherit;
    text-decoration: none;
}

.sa-service-card__title a:hover {
    color: var(--color-accent);
}

.sa-service-card__excerpt {
    font-size: 0.875rem;
    color: #5a6e7f;
    line-height: 1.65;
    margin: 0;
}

.sa-services__cta {
    margin-top: var(--space-8);
    text-align: center;
}

/* ── Shark vs Epoxy comparison ─────────────────────────────── */
.sa-compare {
    background: var(--color-primary);
    padding: var(--space-10) 0;
}

.sa-compare__title {
    color: #fff;
}

.sa-compare .section-eyebrow--light,
.sa-compare .section-eyebrow {
    color: var(--color-accent);
}

/* Override high-specificity base rules inside the dark compare section */
.sa-compare .section-head .section-title {
    color: #fff;
}
.sa-compare .section-head .section-title::after {
    background: var(--color-accent);
}
.sa-compare .section-head .section-sub {
    color: rgba(255,255,255,0.75);
}

.sa-compare__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-7);
}

.sa-compare__col {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.sa-compare__col--good {
    border-top: 4px solid #22c55e;
}

.sa-compare__col--bad {
    border-top: 4px solid #ef4444;
}

.sa-compare__col-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 var(--space-5);
}

.sa-compare__col--good .sa-compare__col-title { color: #15803d; }
.sa-compare__col--bad  .sa-compare__col-title { color: #b91c1c; }

.sa-compare__col-icon {
    font-size: 1.25rem;
    font-weight: 900;
}

.sa-compare__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sa-compare__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

.sa-compare__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.sa-compare__item--good .sa-compare__icon { color: #22c55e; }
.sa-compare__item--bad  .sa-compare__icon { color: #ef4444; }

/* ── ZIP codes ─────────────────────────────────────────────── */
.sa-zips {
    background: #f0f4f8;
    padding: var(--space-10) 0;
}

.sa-zips__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
    justify-content: center;
}

.sa-zip-chip {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 100px;
    padding: 4px 14px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.sa-zip-chip:hover {
    background: var(--color-accent);
}

/* ── Nearby areas ──────────────────────────────────────────── */
.sa-nearby {
    background: #fff;
    padding: var(--space-10) 0;
}

.sa-nearby__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-7);
}

.sa-nearby-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: var(--space-5) var(--space-5) var(--space-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sa-nearby-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.sa-nearby-card__city {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

.sa-nearby-card__city a {
    color: inherit;
    text-decoration: none;
}

.sa-nearby-card__city a:hover {
    color: var(--color-accent);
}

.sa-nearby-card__region {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.sa-nearby-card__link {
    margin-top: auto;
    padding-top: var(--space-3);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s ease, color 0.15s ease;
}

.sa-nearby-card__link:hover {
    color: var(--color-accent-d);
    gap: 8px;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.sa-faqs {
    background: #f8fafc;
    padding: var(--space-10) 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sa-compare__grid     { grid-template-columns: 1fr; }
    .sa-nearby__grid      { grid-template-columns: repeat(2, 1fr); }
    .sa-hero-stats        { gap: var(--space-3); }
}

@media (max-width: 640px) {
    .sa-single-hero {
        min-height: 0;
    }

    .sa-single-hero__container {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }

    .sa-single-hero__ctas {
        flex-direction: column;
    }

    .sa-single-hero__ctas .btn {
        width: 100%;
        text-align: center;
    }

    .sa-hero-stats {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .sa-hero-stat {
        flex: 1 1 calc(33.333% - var(--space-3));
        min-width: 80px;
    }

    .sa-services__grid {
        grid-template-columns: 1fr;
    }

    .sa-nearby__grid {
        grid-template-columns: 1fr;
    }

    .sa-compare__col {
        padding: var(--space-5) var(--space-4);
    }
}

/* ============================================================
   INDUSTRY PAGES
   archive-industry.php · single-industry.php · card-industry.php
   ============================================================ */

/* ── Industry Archive Hero ────────────────────────────────── */
.industry-archive-hero {
    position: relative;
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: var(--space-10) 0 var(--space-8);
}

/* Radial orange glow pseudo-layer */
.industry-archive-hero__glow {
    display: none;
}

.industry-archive-hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.industry-archive-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 20px;
    border-radius: 99px;
    margin-bottom: var(--space-2);
}

.industry-archive-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.industry-archive-hero__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.78);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.industry-archive-hero__count {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    padding: 6px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.03em;
    margin-top: var(--space-1);
}

.industry-archive-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 99px;
    padding: 10px 24px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
    margin-top: var(--space-2);
}
.industry-archive-hero__phone:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
}

/* ── Industry Archive Grid ────────────────────────────────── */
.industry-archive-body {
    padding: var(--space-8) 0 var(--space-10);
    background: var(--color-surface);
}

.industry-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-5);
    margin-top: 0;
}

/* ── Industry Card (.ind-card) ────────────────────────────── */
.ind-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.ind-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ind-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}
.ind-card__link:hover {
    text-decoration: none;
    color: inherit;
}

/* Media — 16:9 aspect ratio */
.ind-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-primary);
    flex-shrink: 0;
}
.ind-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ind-card:hover .ind-card__media img {
    transform: scale(1.06);
}

/* Placeholder when no featured image */
.ind-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 100%);
}

/* Overlay — slides up from bottom on hover */
.ind-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 38, 57, 0.84);
    color: #fff;
    padding: var(--space-3) var(--space-4);
    transform: translateY(100%);
    transition: transform 0.28s ease;
}
.ind-card:hover .ind-card__overlay {
    transform: translateY(0);
}
.ind-card__overlay-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Card body */
.ind-card__body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
    min-width: 0;
}

.ind-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 6px;
    line-height: 1.25;
}

.ind-card__excerpt {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-muted);
    font-size: 0.875rem;
    margin: 0;
    flex: 1;
}

.ind-card__more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.15s, gap 0.15s;
}
.ind-card:hover .ind-card__more {
    color: var(--color-accent-d);
    gap: 8px;
}

/* ── Industry Single Hero (.ind-hero) ─────────────────────── */
.ind-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Gradient fallback (no image) */
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
}

/* Image layer — the actual bg image at reduced opacity */
.ind-hero__img-layer {
    position: absolute;
    inset: 0;
    background-image: var(--ind-hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

/* Dark gradient overlay on top of image */
.ind-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,25,41,0.88) 0%, rgba(11,38,57,0.72) 100%);
    z-index: 1;
}

/* Container: grid — text left, badges right */
.ind-hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: var(--space-10);
    width: 100%;
}

.ind-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    max-width: 700px;
}

.ind-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 18px;
    border-radius: 99px;
    align-self: center;
    margin-bottom: 0;
}

/* Override .industry-hero__eyebrow legacy color for the new hero context */
.ind-hero .industry-hero__eyebrow {
    color: #fff;
}

.ind-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.ind-hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    margin: 0;
    max-width: 540px;
}

.ind-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--space-2);
}

/* Accent-filled button for hero primary CTA */
.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--accent:hover {
    background: var(--color-accent-d);
    border-color: var(--color-accent-d);
    color: #fff;
    text-decoration: none;
}

/* Ghost-white button used in hero */
.btn--ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn--ghost-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.85);
    color: #fff;
    text-decoration: none;
}

/* Right — badges column (glass stat cards) */
.ind-hero__badges {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: stretch;
    min-width: 140px;
}

.ind-hero__badge-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 14px 24px;
    text-align: center;
}

.ind-hero__badge-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.ind-hero__badge-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 5px;
}

/* ── About / Content Section ──────────────────────────────── */
.ind-content {
    padding: var(--space-10) 0;
    background: #fff;
}

/* ── Services for this Industry (.ind-services) ──────────── */
.ind-services {
    padding: var(--space-10) 0;
    background: var(--color-surface);
}

.ind-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.ind-service-card {
    background: #fff;
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius);
    padding: var(--space-4);
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.ind-service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ind-service-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(242,78,36,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}
.ind-service-card__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ind-service-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
    min-width: 0;
}

.ind-service-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
}

.ind-service-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ind-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.15s, color 0.15s;
    margin-top: auto;
}
.ind-service-card__link:hover {
    color: var(--color-accent-d);
    gap: 8px;
    text-decoration: none;
}

/* ── Why Choose Us (.ind-why) ─────────────────────────────── */
.ind-why {
    background: var(--color-primary);
    padding: var(--space-10) 0;
    color: #fff;
}

.ind-why__heading {
    color: #fff;
}

.ind-why__sub {
    color: rgba(255,255,255,0.7);
}

.ind-why .section-head {
    margin-bottom: var(--space-7);
}

.ind-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.ind-why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
}

.ind-why-item__icon {
    width: 64px;
    height: 64px;
    background: rgba(242,78,36,0.15);
    border: 2px solid rgba(242,78,36,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.ind-why-item__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.ind-why-item__desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0;
}

/* ── Recent Projects (.ind-projects) ─────────────────────── */
.ind-projects {
    padding: var(--space-10) 0;
    background: var(--color-surface);
}

.ind-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-5);
}

/* ── Responsive — 900px ───────────────────────────────────── */
@media (max-width: 900px) {

    /* Archive hero */
    .industry-archive-hero {
        padding: var(--space-8) 0 var(--space-6);
    }

    .ind-hero__container {
        padding-block: var(--space-8);
    }
    .ind-hero__eyebrow,
    .ind-hero .industry-hero__eyebrow {
        align-self: center;
    }
    .ind-hero__sub {
        max-width: 100%;
    }
    .ind-hero__ctas {
        justify-content: center;
    }
    .ind-hero__badges {
        flex-direction: row;
        justify-content: center;
        min-width: 0;
        width: 100%;
    }
    .ind-hero__badge-card {
        flex: 1;
        min-width: 90px;
    }

    /* Why grid: 1 col */
    .ind-why__grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    .ind-why-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .ind-why-item__icon {
        flex-shrink: 0;
    }

    /* Projects grid: 2 col */
    .ind-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services grid: 1 col */
    .ind-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Responsive — 640px ───────────────────────────────────── */
@media (max-width: 640px) {

    /* Archive grid: single column */
    .industry-archive-grid {
        grid-template-columns: 1fr;
    }

    /* Hero: smaller min-height */
    .ind-hero {
        min-height: 0;
    }
    .ind-hero__container {
        padding-block: var(--space-7);
    }
    .ind-hero__ctas {
        flex-direction: column;
    }
    .ind-hero__ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .ind-hero__badges {
        flex-wrap: wrap;
    }
    .ind-hero__badge-card {
        flex: 1 1 calc(33% - var(--space-3));
        min-width: 80px;
    }

    /* Projects: 1 col */
    .ind-projects__grid {
        grid-template-columns: 1fr;
    }

    /* Why: always stacked */
    .ind-why-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Search Results — search.php
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.search-hero {
    background: linear-gradient(135deg, #071929 0%, var(--color-primary) 60%, #0d2d45 100%);
    color: #fff;
    padding: 48px 0 40px;
}

.search-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    max-width: 760px;
}

.search-hero__eyebrow {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
}

.search-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.search-hero__mark {
    background: none;
    color: var(--color-accent);
}

.search-hero__count {
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* Inline refinement form */
.search-hero__form {
    width: 100%;
    max-width: 600px;
    margin-top: var(--space-2);
}

.search-hero__input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 14px;
    gap: var(--space-2);
    transition: border-color .2s;
}

.search-hero__input-wrap:focus-within {
    border-color: var(--color-accent);
    background: rgba(255,255,255,.12);
}

.search-hero__input-icon {
    flex-shrink: 0;
    color: rgba(255,255,255,.5);
}

.search-hero__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
}

.search-hero__input::placeholder {
    color: rgba(255,255,255,.45);
}

.search-hero__submit {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: .85rem;
}

/* ── Two-column layout ────────────────────────────────────────────────────── */
.search-layout {
    background: var(--color-surface);
    padding: 36px 0 56px;
}

.search-layout__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-6);
    align-items: start;
}

/* ── Results list ─────────────────────────────────────────────────────────── */
.search-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ── Search card ──────────────────────────────────────────────────────────── */
.search-card {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.search-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.search-card__thumb {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
    display: block;
}

.search-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.search-card:hover .search-card__thumb img {
    transform: scale(1.04);
}

.search-card__body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-card__meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.search-card__type {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(242,78,36,.08);
    padding: 3px 10px;
    border-radius: 999px;
}

.search-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--color-primary);
}

.search-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.search-card__title a:hover {
    color: var(--color-accent);
}

.search-card__excerpt {
    font-size: .88rem;
    color: #5a6474;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.search-card__link {
    align-self: flex-start;
    font-size: .82rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap .2s;
}

.search-card__link:hover {
    text-decoration: underline;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.search-empty {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.search-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(242,78,36,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.search-empty__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

.search-empty__sub {
    font-size: .95rem;
    color: #5a6474;
    max-width: 440px;
    margin: 0;
}

.search-empty__links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-2);
}

/* ── Responsive — 900px ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .search-layout__inner {
        grid-template-columns: 1fr;
    }

    .search-card__thumb {
        width: 160px;
    }
}

/* ── Responsive — 640px ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .search-hero {
        padding: 36px 0 28px;
    }

    .search-card {
        flex-direction: column;
    }

    .search-card__thumb {
        width: 100%;
        height: 180px;
    }

    .search-empty__links {
        flex-direction: column;
        align-items: stretch;
    }

    .search-empty__links .btn {
        text-align: center;
    }
}

/* ============================================================
   Animations
   ============================================================ */

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes mct-fade-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mct-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Hero entrance (CSS-only, fires on page load) ──────────── */
.hero__title {
    animation: mct-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.1s;
}
.hero__sub {
    animation: mct-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.25s;
}
.hero__actions {
    animation: mct-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.4s;
}

/* ── Scroll-triggered base state ───────────────────────────── */
.mct-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
                transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.mct-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for sibling groups */
.mct-animate--d1 { transition-delay: 0.08s; }
.mct-animate--d2 { transition-delay: 0.16s; }
.mct-animate--d3 { transition-delay: 0.24s; }
.mct-animate--d4 { transition-delay: 0.32s; }

/* ── Hover lift on cards ────────────────────────────────────── */
.card {
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.28s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Image zoom inside cards */
.card__image,
.card__thumb {
    overflow: hidden;
}
.card__image img,
.card__thumb img {
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card__image img,
.card:hover .card__thumb img {
    transform: scale(1.05);
}

/* ── Button hover lift ──────────────────────────────────────── */
.btn {
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.22s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.22s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero__title,
    .hero__sub,
    .hero__actions {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .mct-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .card,
    .btn {
        transition: none;
    }
    .card__image img,
    .card__thumb img {
        transition: none;
    }
    .offer-widget,
    .offer-widget__tab,
    .offer-widget__accent,
    .offer-widget__success-icon {
        animation: none;
    }
    .offer-widget.is-open .offer-widget__panel {
        animation: none;
    }
}

/* Chat widget styles removed — Tawk.to provides its own widget UI */
