/* ==========================================================================
   VB PAINTER - SERVICES PAGE STYLESHEET
   Refined Design System matching Home (index.html)
   ========================================================================== */

:root {
    --bg-color: #F7F6F2;
    --bg-alt: #EFEFEA;
    --text-dark: #1A1A1A;
    --text-light: #F7F6F2;
    --text-muted: #666666;
    --accent-terracotta: #C17767;
    --accent-sage: #7A8B76;
    --border-color: rgba(26, 26, 26, 0.15);
    
    --font-heading: 'Dela Gothic One', system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --nav-height: 90px;
    --container-padding: 5vw;
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    z-index: 1000;
    pointer-events: none;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.nav-logo, .nav-links a, .nav-contact a, .nav-contact button, .mobile-nav-toggle {
    pointer-events: auto;
}

.nav-logo-img {
    max-height: 60px;
    max-width: 150px;
    height: auto;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    color: var(--text-dark);
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
    font-weight: 700;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    transform: translateX(0);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-call-btn, .nav-quote-btn {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0.55rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-quote-btn {
    background: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

.nav-call-btn:hover {
    background: rgba(26, 26, 26, 0.1);
}

.nav-quote-btn:hover {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: var(--text-light);
}

.navbar.scrolled {
    background: rgba(247, 246, 242, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

/* --- Section Global Defaults --- */
section {
    padding: 12vh 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.01em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 2.2rem;
    background: var(--text-dark);
    color: var(--text-light);
    border-radius: 100px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.04);
    background: var(--accent-terracotta);
}

/* --- SERVICES HERO --- */
.services-hero {
    position: relative;
    min-height: 85vh;
    padding-top: calc(var(--nav-height) + 3vh);
    padding-bottom: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-color);
}

.hero-editorial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.hero-scope-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-terracotta);
    font-weight: 700;
}

.hero-trust-micro {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
}

.services-hero-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5vw;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.services-hero-headline {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.services-hero-headline .hero-line {
    display: block;
    overflow: hidden;
}

.services-hero-headline .hero-line span {
    display: inline-block;
}

.hero-right-composition {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-intro-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image-crop {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    overflow: hidden;
}

.hero-image-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Ribbon */
.services-ribbon-wrap {
    width: 100%;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    white-space: nowrap;
    background: var(--bg-alt);
    -webkit-overflow-scrolling: touch;
}

.ribbon-track {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 var(--container-padding);
}

.ribbon-sep {
    color: var(--accent-sage);
}

/* --- FINISHES SECTION --- */
.finishes-section {
    background-color: var(--bg-color);
}

.finishes-hero-visual {
    width: 100%;
    height: 55vh;
    min-height: 360px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.finishes-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.finishes-narrative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
}

.finish-block {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.finish-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-sage);
    margin-bottom: 0.75rem;
    display: block;
}

.finish-block h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.finish-block p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- PREPARATION & RESTORATION SECTION --- */
.prep-restoration-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.prep-narrative-stage {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6vw;
    align-items: start;
}

.prep-main-column .prep-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-terracotta);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.prep-main-column h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.prep-main-column p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}

.prep-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.prep-row h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.prep-row p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

.supporting-prep-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.supporting-prep-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.supporting-prep-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.supporting-prep-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.supporting-prep-item p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- COMMERCIAL SECTION --- */
.commercial-section {
    background-color: var(--bg-color);
}

.commercial-grid-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
    margin-bottom: 5rem;
}

.commercial-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.commercial-copy p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}

.commercial-photos-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
}

.photo-tall {
    aspect-ratio: 3/4;
    border-radius: 6px;
    overflow: hidden;
}

.photo-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-offset {
    margin-top: 2.5rem;
}

.maintenance-fleet-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5vw;
    align-items: center;
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 5rem;
}

.fleet-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
}

.fleet-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maintenance-copy h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.maintenance-copy p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.maintenance-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.colour-consult-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: center;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.colour-copy h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.colour-copy p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

.colour-palette-sample {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.palette-swatch {
    flex: 1;
    height: 80px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

.swatch-1 { background: #F7F6F2; color: #1A1A1A; }
.swatch-2 { background: #7A8B76; color: #F7F6F2; }
.swatch-3 { background: #C17767; color: #F7F6F2; }
.swatch-4 { background: #1A1A1A; color: #F7F6F2; }

/* --- TRUST & CTA SECTION --- */
.trust-cta-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 10vh 0;
    text-align: center;
}

.trust-margin-annotations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.trust-sep {
    color: var(--accent-sage);
}

.cta-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.cta-wrap h2 {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-wrap p {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 5vh 0 3vh;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.glass-credit {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-weight: 700;
    color: var(--text-dark);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .services-hero-body, .finishes-narrative-grid, .prep-narrative-stage, .commercial-grid-stage, .maintenance-fleet-row, .colour-consult-strip {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .photo-offset {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 72px;
        --container-padding: 1.25rem;
    }

    section {
        padding: 4.5rem 0;
    }

    .services-hero {
        padding-top: calc(var(--nav-height) + clamp(3.25rem, 7vh, 4.25rem));
    }

    .services-hero-headline {
        font-size: clamp(2.1rem, 7.5vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 1.25rem;
    }

    .hero-intro-lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-image-crop {
        height: 35vh;
        max-height: 320px;
    }

    .finishes-hero-visual {
        height: 30vh;
        max-height: 280px;
    }

    .architectural-quadrant-grid {
        grid-template-columns: 1fr;
    }

    .spec-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .commercial-photos-asymmetric {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .colour-palette-sample {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-call-btn {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        max-height: 42px;
    }

    .nav-call-btn, .nav-quote-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}

@media (max-width: 360px) {
    .nav-call-btn {
        display: none;
    }
}

/* --- PREFERS REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .services-hero-headline .hero-line span,
    .hero-image-crop img {
        transform: none !important;
    }
}
