/* The Decorator — shared styles */

:root {
    --bg: #0a0a0a;
    --bg-soft: #121212;
    --bg-card: #161616;
    --border: #232323;
    --border-strong: #333;
    --text: #f0f0f0;
    --text-dim: #b5b5b5;
    --text-muted: #888;
    --accent: #FCEE21;
    --accent-hi: #fff45c;
    --accent-shade: rgba(252, 238, 33, 0.15);
    --max-width: 1280px;
    --pad-x: clamp(20px, 5vw, 80px);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 95px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ======================================================== */
/*  TYPOGRAPHY — VR46-inspired headings                     */
/* ======================================================== */

.display, h1, h2, h3, .brand-mark {
    font-family: 'Russo One', 'Arial Black', sans-serif;
    text-transform: uppercase;
    font-weight: 400; /* Russo One ships as a single weight */
    letter-spacing: 0.02em;
    color: var(--text);
    line-height: 1.05;
}

/* The signature italic skew that gives the VR46 "46" feel.
   Russo One is naturally wide + heavy; we slant it via transform
   so descenders/letters keep their proportions. */
.italic-slash {
    display: inline-block;
    transform: skewX(-10deg);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p, li { color: var(--text-dim); }

p + p { margin-top: 1em; }

.eyebrow {
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-block;
}

.lede {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 56ch;
}

.accent { color: var(--accent); }

/* ======================================================== */
/*  LAYOUT                                                  */
/* ======================================================== */

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

section { padding: clamp(60px, 9vw, 110px) 0; }

.section-head {
    margin-bottom: clamp(30px, 5vw, 60px);
    max-width: 720px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ======================================================== */
/*  NAVBAR                                                  */
/* ======================================================== */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--border);
}

.brand-mark {
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}

.brand-mark .num {
    color: var(--accent);
    transform: skewX(-10deg);
    display: inline-block;
}

/* ======================================================== */
/*  REAL "THE DECORATOR" WORDMARK                           */
/*  Sourced from Will Gray's van artwork (2026-05-07).      */
/* ======================================================== */

.logo-paint {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-paint img {
    display: block;
    width: auto;
    height: 48px;
}

.nav    .logo-paint img { height: 48px; }
footer  .logo-paint img { height: 55px; }

@media (max-width: 600px) {
    .nav .logo-paint img { height: 38px; }
}

/* ======================================================== */
/*  MORPH LOGO                                              */
/*  Single fixed-position wordmark that starts large + */
/*  centred over the hero, then shrinks/translates back to  */
/*  its nav slot (top-left) as the user scrolls.            */
/*  - At rest: matches the nav .logo-paint img position.    */
/*  - Pre-scroll: scaled up + translated to ~hero centre.   */
/*  - JS interpolates transform on scroll (rAF-throttled).  */
/*  Reduced-motion users get the static nav-position only.  */
/* ======================================================== */

.nav .logo-paint.morph-spacer img {
    visibility: hidden; /* keeps flex slot reserved; real logo is .morph-logo */
}

.morph-logo {
    position: fixed;
    top: 18px;                /* matches nav padding-top */
    left: var(--pad-x);
    z-index: 110;             /* above nav blur */
    transform-origin: top left;
    will-change: transform;
    pointer-events: auto;
    line-height: 0;
}

.morph-logo img {
    display: block;
    height: 48px;
    width: auto;
}

@media (max-width: 600px) {
    .morph-logo { top: 18px; }
    .morph-logo img { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .morph-logo {
        /* No JS animation — stays in nav slot */
        transform: none !important;
    }
    /* Show the spacer image so the layout is identical to the old nav logo */
    .nav .logo-paint.morph-spacer img { visibility: visible; }
    /* Hide the morph-logo since we showed the spacer */
    .morph-logo { display: none; }
}

.tag-tradename {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(14px, 2.4vw, 32px);
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #000 !important;
    padding: 10px 18px !important;
    border-radius: 4px;
    border: none !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--accent-hi);
    border: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 0 solid var(--border);
        padding: 0 var(--pad-x);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, border-bottom-width 0.3s ease;
    }
    .nav-links.open {
        max-height: 480px;
        padding: 12px var(--pad-x) 24px;
        border-bottom-width: 1px;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:hover, .nav-links a.active { border-bottom-color: var(--accent); }
    .nav-cta {
        margin-top: 14px;
        text-align: center;
    }
}

/* ======================================================== */
/*  BUTTONS                                                 */
/* ======================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: #000;
}
.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn .arrow {
    display: inline-block;
    transform: skewX(-10deg);
    font-weight: 900;
}

/* ======================================================== */
/*  HERO                                                    */
/* ======================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;       /* anchor copy to lower portion — top is reserved for the morph-logo */
    position: relative;
    overflow: hidden;
    padding: clamp(60vh, 62vh, 64vh) var(--pad-x) 80px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.78) 50%, rgba(10,10,10,0.95) 100%),
        url('../images/hero-pic.jpg') center/cover;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 16px;
    max-width: 26ch;
    line-height: 1.2;
}

.hero-tagline .accent { display: inline-block; transform: skewX(-10deg); }

@media (max-width: 600px) {
    .hero {
        padding-top: clamp(54vh, 56vh, 58vh);
        padding-bottom: 60px;
    }
}

/* Short phones (SE-class and small Android). The reserved morph-logo band plus a
   full-length hero paragraph pushed the Call button under the fold, and the phone
   CTA has to stay visible — it is the primary conversion path on this site.
   main.js parks the logo centred at 0.36 * innerHeight (assets/main.js:53), so
   46vh still clears its lower edge. Verified at 375x667 and 360x640. */
@media (max-width: 600px) and (max-height: 720px) {
    .hero {
        padding-top: 48vh;   /* clears the parked wordmark's lower edge */
        padding-bottom: 36px;
    }
    .hero .eyebrow    { margin-bottom: 12px; }
    .hero-tagline     { margin-bottom: 12px; }
    .hero-sub         { margin-bottom: 18px; }
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text);
    max-width: 52ch;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 50px;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-meta strong { color: var(--accent); font-family: 'Russo One', sans-serif; font-weight: 400; font-size: 1.4rem; display: block; margin-bottom: 4px; }

/* Big number shadow on hero (VR46-style) */
.hero-number {
    position: absolute;
    bottom: -8vw;
    right: -2vw;
    font-family: 'Russo One', sans-serif;
    font-size: 32vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    transform: skewX(-10deg);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

@media (max-width: 600px) {
    .hero-meta { gap: 18px 30px; margin-top: 22px; }
}

/* ======================================================== */
/*  SERVICES                                                */
/* ======================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 26px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-card .num {
    font-family: 'Russo One', sans-serif;
    font-size: 3.2rem;
    color: var(--accent);
    transform: skewX(-10deg);
    display: inline-block;
    line-height: 1;
    margin-bottom: 18px;
    opacity: 0.95;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* ======================================================== */
/*  WHY-US / TRUST STRIP                                    */
/* ======================================================== */

.trust-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.trust-item .stat {
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    color: var(--accent);
    transform: skewX(-10deg);
    display: inline-block;
    margin-bottom: 8px;
}

.trust-item h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    color: var(--text);
}

.trust-item p { font-size: 0.92rem; }

/* ======================================================== */
/*  WORK PREVIEW + GALLERY                                  */
/* ======================================================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.work-tile {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--bg-card);
}

.work-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-tile:hover img { transform: scale(1.06); }

.work-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.work-tile:hover::after { opacity: 0.85; }

.work-tile .caption {
    position: absolute;
    left: 16px; bottom: 14px; right: 16px;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--text);
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Before / after pairs */
.ba-pair {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.ba-pair h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--accent);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ba-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.ba-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.6s ease, filter 0.3s ease;
}
.ba-grid figure:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.ba-grid .label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.75);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .ba-grid { grid-template-columns: 1fr; }
}

/* Before/after slider (kitchen) */
.ba-slider-hint {
    color: var(--muted);
    font-size: 0.9rem;
    margin: -8px 0 16px;
}
.ba-slider-pair--portrait .ba-slider {
    aspect-ratio: 900 / 1202;
    max-width: 640px;
    margin-inline: auto;
}
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 958;
    border-radius: 6px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: ew-resize;
    background: #000;
    --ba-pos: 50%;
}
.ba-slider:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}
.ba-slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}
.ba-slider-before-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
    will-change: clip-path;
}
.ba-slider-label {
    position: absolute;
    top: 14px;
    background: rgba(0,0,0,0.78);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 3;
}
.ba-slider-label-before { left: 14px; }
.ba-slider-label-after  { right: 14px; color: #0a0a0a; background: var(--accent); }
.ba-slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos);
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(252, 238, 33, 0.55);
    transform: translateX(-1px);
    pointer-events: none;
    z-index: 4;
}
.ba-slider-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.55), 0 0 0 4px rgba(252, 238, 33, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ba-slider.is-dragging .ba-slider-knob {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 22px rgba(0,0,0,0.6), 0 0 0 8px rgba(252, 238, 33, 0.22);
}
.ba-slider.is-dragging {
    cursor: grabbing;
}
@media (max-width: 600px) {
    .ba-slider-knob { width: 40px; height: 40px; }
    .ba-slider-label { font-size: 0.66rem; padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .ba-slider-knob, .ba-slider-before-wrap { transition: none; }
}

/* Slider pager — switch between multiple before/after pairs */
.ba-slider-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.ba-slider-pager-btn {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 16px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ba-slider-pager-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.ba-slider-pager-btn.is-active {
    background: var(--accent);
    color: #0a0a0a;
    border-color: var(--accent);
}
.ba-slider-pager-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Merged before/after slider — per-project title + side-arrow paging.
   Aspect-ratio + max-width are set inline (server) and by JS per project so
   mixed portrait/landscape stay undistorted. */
.ba-slider-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--accent);
}
.ba-slider-pair--merged .ba-slider-hint { margin-top: 0; }
.ba-slider-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ba-slider-pair--merged .ba-slider { flex: 0 1 auto; margin-inline: 0; }
.ba-nav {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ba-nav:hover {
    background: var(--accent);
    color: #0a0a0a;
    border-color: var(--accent);
    transform: translateY(-2px);
}
.ba-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Recent-work side-scrolling carousel (replaces the grid beyond 6 photos so the
   section height stays fixed). Same .work-tile styling as the grid. */
.work-carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.work-track {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-width: 0;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track .work-tile {
    flex: 0 0 calc((100% - 28px) / 3);
    scroll-snap-align: start;
}
.work-arrow {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.work-arrow:hover { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.work-arrow.is-disabled { opacity: 0.3; pointer-events: none; }
.work-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 820px) {
    .work-track .work-tile { flex-basis: calc((100% - 14px) / 2); }
    .ba-nav { width: 40px; height: 40px; }
}
@media (max-width: 560px) {
    .work-track .work-tile { flex-basis: 80%; }
    .work-arrow { width: 36px; height: 36px; }
    .ba-nav { width: 36px; height: 36px; font-size: 1.1rem; }
    .ba-slider-stage { gap: 6px; }
}

/* ======================================================== */
/*  LIGHTBOX                                                */
/* ======================================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 96vw;
    max-height: 92vh;
    border: 1px solid var(--accent);
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 28px;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }

/* ======================================================== */
/*  TESTIMONIALS                                            */
/* ======================================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 6px; left: 18px;
    font-family: 'Russo One', sans-serif;
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.4;
}

.testimonial blockquote {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin: 28px 0 18px;
    font-style: italic;
}

.testimonial .author {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial .author small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; }

/* ======================================================== */
/*  CONTACT                                                 */
/* ======================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 820px) {
    .contact-layout { grid-template-columns: 1fr; gap: 30px; }
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
}

.contact-card .field {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.contact-card .field:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-card .ico {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--accent-shade);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    transform: none;
}

.contact-card .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-card .value {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
}
.contact-card .value a:hover { color: var(--accent); }

/* Form */
.quote-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
}

.quote-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .quote-form .row { grid-template-columns: 1fr; }
}

.quote-form label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.quote-form .group { margin-bottom: 18px; }

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #0e0e0e;
}

.quote-form textarea { min-height: 130px; resize: vertical; }

.quote-form .submit-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.quote-form small { color: var(--text-muted); font-size: 0.82rem; }

.form-success,
.form-error {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.form-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid #2ECC71;
    color: #6BE89A;
}
.form-error {
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid #E63946;
    color: #FF8A93;
}

.privacy-note {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}
.privacy-note a { color: var(--text-dim); text-decoration: underline; }
.privacy-note a:hover { color: var(--accent); }

/* ======================================================== */
/*  FOOTER                                                  */
/* ======================================================== */

footer.site-foot {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 60px var(--pad-x) 30px;
    color: var(--text-dim);
}

footer.site-foot .foot-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 820px) {
    footer.site-foot .foot-wrap { grid-template-columns: 1fr; gap: 28px; }
}

footer .brand-mark { font-size: 1.6rem; margin-bottom: 12px; display: inline-block; }

footer h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 700;
}

footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.92rem; }
footer a:hover { color: var(--accent); }

.foot-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ======================================================== */
/*  PAGE HEAD (interior pages)                              */
/* ======================================================== */

.page-head {
    padding: 160px var(--pad-x) 70px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-head .wrap { position: relative; z-index: 2; }

.page-head .big-num {
    position: absolute;
    bottom: -2vw;
    right: -2vw;
    font-family: 'Russo One', sans-serif;
    font-size: 22vw;
    line-height: 1;
    color: rgba(255,255,255,0.03);
    transform: skewX(-10deg);
    pointer-events: none;
}

.page-head h1 { margin-bottom: 14px; }
.page-head p { font-size: 1.1rem; max-width: 60ch; color: var(--text); }

/* utility */
.muted { color: var(--text-muted); }
.tbc {
    display: inline-block;
    border: 1px dashed var(--accent);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
