/* =========================================================
   JVP DRYWALL SOLUTIONS — STYLE.CSS
   Design: Dark contractor-grade aesthetic
   Fonts: Bebas Neue (display), Barlow (body)
   Accent: #c0392b (JVP red)
   ========================================================= */

/* ─── CRITICAL: prevent marquee tilt from causing horizontal scroll ─── */
html {
    overflow-x: hidden;
}

/* ─── RESET ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ─── CSS VARIABLES ─── */
:root {
    --accent: #c0392b;
    --accent-glow: rgba(192, 57, 43, 0.35);
    --bg: #000;
    --bg-section: #050505;
    --bg-card: rgba(255,255,255,0.025);
    --bg-card-hover: rgba(255,255,255,0.05);
    --surface: #111;
    --text: #fff;
    --text-mid: #b0b0b0;
    --text-dim: #777;
    --border: rgba(255,255,255,0.06);
    --radius: 4px;
    --radius-button: 6px;
    --radius-card: 8px;
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --font-condensed: 'Barlow Condensed', 'Bebas Neue', sans-serif;
    --header-h: 72px;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1240px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── SECTION UTILITY ─── */
.section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-sub {
    color: var(--text-mid);
    max-width: 540px;
    margin-top: 10px;
    font-size: 1.02rem;
}

.section-header {
    margin-bottom: 56px;
}

/* ─── Individual section-header child animations ─── */
.section-header.fade-in {
    opacity: 1;
    transform: none;
    transition: none;
}
.section-header.fade-in > .section-label,
.section-header.fade-in > .section-title,
.section-header.fade-in > .section-sub {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.section-header.fade-in > .section-label { transition-delay: 0s; }
.section-header.fade-in > .section-title { transition-delay: 0.12s; }
.section-header.fade-in > .section-sub   { transition-delay: 0.24s; }

.section-header.fade-in.visible > .section-label,
.section-header.fade-in.visible > .section-title,
.section-header.fade-in.visible > .section-sub {
    opacity: 1;
    transform: translateY(0);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-button);
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    transition: background 0.3s var(--easing), color 0.3s var(--easing), border-color 0.3s var(--easing), box-shadow 0.3s var(--easing);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: #e74c3c;
    box-shadow: 0 0 24px var(--accent-glow);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   HEADER — glassmorphic on scroll
   ═══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}
.header-row {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 12px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.site-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.75);
    position: relative;
    transition: color 0.25s;
}
.site-nav a:hover { color: #fff; }
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--easing);
}
.site-nav a:hover::after { width: 100%; }
.site-nav a.active::after { width: 100%; }

/* ─── NAV DROPDOWN (Services) ─── */
.nav-drop {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-drop > a { cursor: pointer; }
.nav-drop > a .fa-chevron-down {
    font-size: 0.5em;
    margin-left: 4px;
    transition: transform 0.25s;
}
.nav-drop:hover > a .fa-chevron-down { transform: rotate(180deg); }
.nav-drop-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.nav-drop:hover .nav-drop-menu {
    opacity: 1;
    visibility: visible;
}
.nav-drop-menu a {
    display: block;
    padding: 9px 22px;
    font-size: 0.76rem !important;
    letter-spacing: 1.5px !important;
    color: rgba(255,255,255,0.65) !important;
    white-space: nowrap;
}
.nav-drop-menu a::after { display: none !important; }
.nav-drop-menu a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.04);
}

/* ─── DRAWER SUB-LINKS (tap-to-expand) ─── */
.drawer-services-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.drawer-services-toggle .fa-chevron-down {
    font-size: 0.45em;
    transition: transform 0.35s var(--easing);
}
.drawer-services-toggle.expanded .fa-chevron-down {
    transform: rotate(180deg);
}
.drawer-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--easing), margin 0.3s var(--easing);
    overflow: hidden;
    margin-top: 0;
}
.drawer-sub.open {
    grid-template-rows: 1fr;
    margin-top: 2px;
    margin-bottom: 6px;
}
.drawer-sub-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}
.drawer-sub a {
    font-family: var(--font-condensed) !important;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem) !important;
    letter-spacing: 2px !important;
    color: rgba(255,255,255,0.45) !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s var(--easing), transform 0.35s var(--easing), color 0.2s;
}
.drawer-sub a:hover { color: var(--accent) !important; }
.drawer-sub.open a { opacity: 1; transform: translateY(0); }
.drawer-sub.open a:nth-child(1) { transition-delay: 0.05s; }
.drawer-sub.open a:nth-child(2) { transition-delay: 0.08s; }
.drawer-sub.open a:nth-child(3) { transition-delay: 0.11s; }
.drawer-sub.open a:nth-child(4) { transition-delay: 0.14s; }
.drawer-sub.open a:nth-child(5) { transition-delay: 0.17s; }
.drawer-sub.open a:nth-child(6) { transition-delay: 0.20s; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 28px;
    padding: 8px 18px;
    border-radius: var(--radius-button);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: border-color 0.25s, color 0.25s;
}
.header-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s var(--easing), opacity 0.2s;
}

/* ═══════════════════════════════════════════════════════════
   NAV DRAWER
   ═══════════════════════════════════════════════════════════ */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0,0,0,0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--easing);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 80px 0 40px;
}
.nav-drawer.open {
    opacity: 1;
    pointer-events: auto;
}
.drawer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.drawer-links a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.6rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing), color 0.2s;
}
.drawer-links a:hover { color: var(--accent); }
.nav-drawer.open .drawer-links a { opacity: 1; transform: translateY(0); }
.nav-drawer.open .drawer-links a:nth-child(1) { transition-delay: 0.06s; }
.nav-drawer.open .drawer-links a:nth-child(2) { transition-delay: 0.12s; }
.nav-drawer.open .drawer-links a:nth-child(3) { transition-delay: 0.18s; }
.nav-drawer.open .drawer-links a:nth-child(4) { transition-delay: 0.24s; }
.nav-drawer.open .drawer-links a:nth-child(5) { transition-delay: 0.30s; }
.nav-drawer.open .drawer-links a:nth-child(6) { transition-delay: 0.36s; }
.nav-drawer.open .drawer-links a:nth-child(7) { transition-delay: 0.42s; }
.drawer-cta {
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
    transition-delay: 0.48s;
    margin-top: 20px;
}
.nav-drawer.open .drawer-cta { opacity: 1; transform: translateY(0); }
.drawer-social {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
    transition-delay: 0.42s;
}
.nav-drawer.open .drawer-social { opacity: 1; transform: translateY(0); }
.drawer-social a { font-size: 1.3rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.drawer-social a:hover { color: var(--accent); }

/* Hamburger X state */
.nav-toggle.active .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO — fullscreen slideshow
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: clip;
}
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide-img,
.hero-slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    -webkit-transform: translateZ(0);
}
.hero-slide-img {
    animation: kenBurns 8s ease-in-out both;
}
.progressive-media {
    filter: blur(18px);
    transition: filter 360ms ease, opacity 360ms ease;
}
.progressive-media.is-hd {
    filter: blur(0);
}
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 25%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 75%, #000 100%),
        radial-gradient(ellipse at 20% 50%, var(--accent-glow) 0%, transparent 60%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-h);
    max-width: 720px;
}

/* Hero fade-in via CSS animation — NOT observer */
@-webkit-keyframes fadeUp {
    from { opacity: 0; -webkit-transform: translate3d(0, 30px, 0); transform: translate3d(0, 30px, 0); }
    to   { opacity: 1; -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
}
@keyframes fadeUp {
    from { opacity: 0; -webkit-transform: translate3d(0, 30px, 0); transform: translate3d(0, 30px, 0); }
    to   { opacity: 1; -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
}
.hero-fade {
    opacity: 0;
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
    will-change: opacity, transform;
    -webkit-animation: fadeUp 0.9s var(--easing) forwards;
    animation: fadeUp 0.9s var(--easing) forwards;
}
.hero-fade:nth-child(1) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; }
.hero-fade:nth-child(2) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; }
.hero-fade:nth-child(3) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; }
.hero-fade:nth-child(4) { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; }

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: 4px;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-tagline {
    font-size: 1.08rem;
    color: var(--text-mid);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════ */
.marquee-wrap {
    padding: 18px 0;
    margin-left: -4%;
    margin-right: -4%;
    width: 108%;
    overflow: hidden;
    background: var(--accent);
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    width: max-content;
    overflow: hidden;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: marqueeScroll 28s linear infinite;
    padding-right: 28px;
    will-change: transform;
    -webkit-transform: translateZ(0);
}
.marquee-content span {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
}
.mdot { font-size: 0.6rem; color: rgba(255,255,255,0.5); }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* Outline variant */
.marquee-outline {
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(1deg);
}
.marquee-outline .marquee-content span {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 6px;
}
.marquee-outline .mdot { color: rgba(255,255,255,0.2); }
.marquee-rev { animation-name: marqueeScrollRev; }
@keyframes marqueeScrollRev {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.svc-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--easing);
}
.svc-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.svc-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
}
.svc-card h3 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.svc-card p {
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY — pills + Splide slider
   ═══════════════════════════════════════════════════════════ */
.gallery-pills-wrap {
    position: relative;
    margin-bottom: 32px;
    --pills-bg: var(--bg);
}
.gallery-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.pill {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: var(--text-mid);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.pill:hover { border-color: rgba(192,57,43,0.3); color: #fff; background: rgba(192,57,43,0.06); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Splide gallery */
.projects-gallery { margin-bottom: 40px; }
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    background: #050505;
    cursor: pointer;
    transition: border-color 0.3s;
}
.gallery-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transform: none;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-card img[data-progressive-src]:not(.is-hd) {
    filter: blur(5px);
}
/* Active/visible slides get subtle zoom like ADR */
.is-visible .gallery-card img,
.is-active .gallery-card img {
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover img { transform: scale(1.08); }
    .gallery-card:hover { border-color: rgba(192,57,43,0.25); }
}
/* Splide arrows — overlay on sides */
#gallery-slider .splide__arrows {
    position: static;
    display: flex;
    gap: 12px;
}
#gallery-slider .splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s, border-color 0.25s, background 0.25s;
    backdrop-filter: blur(6px);
}
#gallery-slider:hover .splide__arrow {
    opacity: 1;
}
#gallery-slider .splide__arrow:hover:not(:disabled) {
    border-color: var(--accent);
    background: rgba(192,57,43,0.7);
}
#gallery-slider .splide__arrow--prev {
    left: 12px;
}
#gallery-slider .splide__arrow--next {
    right: 12px;
}
#gallery-slider .splide__arrow svg {
    fill: currentColor;
    width: 1rem;
    height: 1rem;
}
@media (max-width: 768px) {
    #gallery-slider .splide__arrow { opacity: 1; width: 36px; height: 36px; }
    #gallery-slider .splide__arrow--prev { left: 4px; }
    #gallery-slider .splide__arrow--next { right: 4px; }
}

/* Gallery slides — no scale/fade, just clean movement easing */

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS / HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.process-section {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 0 20px;
}

/* Center vertical line */
.process-line {
    position: absolute;
    left: 50%;
    top: 48px;
    bottom: 20px;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}
.process-line-fill {
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: height 0.05s linear;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.35);
}

/* Each step row */
.process-step {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 64px;
    position: relative;
}
.process-step:last-child { margin-bottom: 0; }

/* Center dot */
.process-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--border);
    justify-self: center;
    z-index: 2;
    transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.process-step.in-view .process-dot {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 14px rgba(192, 57, 43, 0.45);
}

/* Card side */
.process-card {
    position: relative;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s;
}
.process-step.in-view .process-card {
    border-color: rgba(192, 57, 43, 0.25);
}
@media (hover: hover) and (pointer: fine) {
    .process-card:hover {
        border-color: rgba(192, 57, 43, 0.4);
        transform: translateY(-3px);
    }
}

.process-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.process-icon i {
    font-size: 1.15rem;
    color: var(--accent);
}

.process-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-head);
    font-size: 2.4rem;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    pointer-events: none;
}

.process-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.process-card p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* Image side */
.process-img {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
}
.process-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
    .process-img:hover img { transform: scale(1.05); }
}

/* ── Mobile process ── */
@media (max-width: 768px) {
    .process-section { padding: 70px 0; }

    .process-line {
        left: 20px;
    }
    .process-step {
        grid-template-columns: 44px 1fr;
        gap: 16px;
        margin-bottom: 44px;
    }
    .process-dot {
        width: 14px;
        height: 14px;
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        margin-top: 34px;
    }
    .process-card {
        grid-column: 2;
        grid-row: 1;
        padding: 22px;
    }
    .process-img {
        grid-column: 2;
        grid-row: 2;
    }
    .process-num {
        font-size: 1.8rem;
    }
}

/* ── Light mode process ── */
body.light .process-card {
    background: var(--bg-section);
    border-color: rgba(0,0,0,0.08);
}
body.light .process-step.in-view .process-card {
    border-color: rgba(192, 57, 43, 0.2);
}
body.light .process-num {
    color: rgba(0,0,0,0.05);
}
body.light .process-icon {
    background: rgba(192, 57, 43, 0.08);
}
body.light .process-img {
    border-color: rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
}
.about-img img { 
    width: 100%; 
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.about-img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-button);
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.about-img-badge i { color: var(--accent); }
.about-copy .section-title { margin-bottom: 18px; }
.about-copy p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.7;
}
.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.about-stats--bordered {
    gap: 16px;
    border-top: none;
    padding-top: 0;
}
.about-stats--bordered .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 18px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    transition: border-color 0.3s, background 0.3s;
}
.about-stats--bordered .stat-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}
.about-stats--bordered .stat-icon {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 2px;
}
.about-stats--bordered .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--accent);
    line-height: 1;
}
.about-stats--bordered .stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-dim);
    line-height: 1.3;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--accent);
}
.stat span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-banner {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    background: var(--bg-dark, #0a0a0a);
}

/* Background image with overlay */
.cta-bg-img {
    position: absolute;
    inset: 0;
    background: url('../assets/images/instagram/jvp-northbrook-illinois-another-one-for-the-books-16.jpg') center/cover no-repeat;
    opacity: 0.15;
    filter: grayscale(0.4);
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        var(--bg) 0%,
        transparent 15%,
        transparent 85%,
        var(--bg) 100%);
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.cta-inner .section-label {
    margin-bottom: 16px;
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.05;
}
.cta-inner p {
    color: var(--text-mid);
    max-width: 500px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   AREAS
   ═══════════════════════════════════════════════════════════ */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.area-map {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}
.area-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(0.9) hue-rotate(180deg);
}
.area-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.area-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.area-item > i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.area-item div { display: flex; flex-direction: column; }
.area-item strong {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.area-item span { color: var(--text-mid); font-size: 0.92rem; margin-top: 2px; }
.area-item a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.area-item a:hover { color: #e74c3c; }

/* ═══════════════════════════════════════════════════════════
   CONTACT — 1-col stacked, 4-col on desktop
   ═══════════════════════════════════════════════════════════ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: background 0.3s, border-color 0.3s;
}
.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.1);
}
.contact-card i { font-size: 1.5rem; color: var(--accent); }
.contact-card strong {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.contact-card span { color: var(--text-mid); font-size: 0.9rem; }
.contact-card .contact-sm { font-size: 0.78rem; word-break: break-all; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    padding-top: 72px;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-logo { height: 36px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { font-size: 1.15rem; color: var(--text-dim); transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.footer-col a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-phone { display: flex; align-items: center; gap: 6px; color: var(--accent) !important; }
.footer-email { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; word-break: break-all; }
.footer-addr { display: flex; align-items: flex-start; gap: 6px; color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; }
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lb-img {
    max-width: 88vw;
    max-height: 82vh;
    border-radius: var(--radius);
    object-fit: contain;
    transition: transform 0.4s var(--easing);
}
.lightbox.active .lb-img { transform: scale(1); }
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.15); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-cap {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    color: var(--text-mid);
    text-align: center;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   THEME PICKER
   ═══════════════════════════════════════════════════════════ */
.theme-picker {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.theme-picker.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.theme-fab {
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    touch-action: manipulation;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.theme-fab:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.theme-picker.open .theme-fab {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.theme-opts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.theme-picker.open .theme-opts {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.tdot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    background: linear-gradient(135deg, var(--da) 50%, var(--db) 50%);
    background-clip: padding-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tdot:hover {
    transform: scale(1.15);
}
.tdot.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--accent), 0 2px 12px rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════════════════════════
   STICKY MOBILE CTA — ADR pill style
   ═══════════════════════════════════════════════════════════ */
.sticky-mobile-cta {
    display: none;
}
.sticky-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: background 0.35s, box-shadow 0.35s;
}
.sticky-mobile-cta a:hover { background: #e74c3c; }

/* ═══════════════════════════════════════════════════════════
   FADE-IN (non-hero, observer-triggered)
   ═══════════════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
    will-change: opacity, transform;
    transition-delay: var(--stagger, 0s);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}
/* Group-cascaded children: slide up further + subtle scale for snappier feel */
.faq-list > .fade-in,
.values-grid > .fade-in {
    transition-delay: 0s;
    transform: translateY(36px) scale(0.97);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
}
.faq-list > .fade-in.visible,
.values-grid > .fade-in.visible {
    transform: translateY(0) scale(1);
}
.fade-in--left  { transform: translateX(-32px) translateY(0); }
.fade-in--right { transform: translateX( 32px) translateY(0); }
.fade-in--left.visible,
.fade-in--right.visible { transform: translateX(0) translateY(0); }

/* override: section-header fade-in wrapper itself is always visible */
.section-header.fade-in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════════ */
body.light {
    --bg: #ffffff;
    --bg-section: #f8f8f8;
    --bg-card: rgba(0,0,0,0.025);
    --bg-card-hover: rgba(0,0,0,0.05);
    --surface: #f0f0f0;
    --text: #1a1a1a;
    --text-mid: #555;
    --text-dim: #888;
    --border: rgba(0,0,0,0.07);
    --accent: #c0392b;
    --accent-glow: rgba(192, 57, 43, 0.18);
}

/* Header — white glass on scroll, dark stays in hero */
body.light .site-header.scrolled {
    background: rgba(255,255,255,0.82);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
body.light .site-header.scrolled .site-nav a { color: rgba(0,0,0,0.55); }
body.light .site-header.scrolled .site-nav a:hover { color: var(--accent); }
body.light .nav-drop-menu { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
body.light .nav-drop-menu a { color: rgba(0,0,0,0.6) !important; }
body.light .nav-drop-menu a:hover { color: var(--accent) !important; background: rgba(0,0,0,0.03); }
body.light .site-header.scrolled .header-cta { color: var(--text); border-color: rgba(0,0,0,0.15); }
body.light .site-header.scrolled .hamburger span { background: var(--text); }
body.light .nav-drawer { background: rgba(255,255,255,0.97); }
body.light .drawer-links a { color: rgba(0,0,0,0.55); }
body.light .drawer-links a:hover { color: var(--accent); }
body.light .drawer-sub a { color: rgba(0,0,0,0.4) !important; }
body.light .drawer-sub a:hover { color: var(--accent) !important; }
body.light .drawer-services-toggle .fa-chevron-down { color: rgba(0,0,0,0.35); }
body.light .sticky-mobile-cta a { background: var(--accent); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
body.light .area-map iframe { filter: none; }

/* Hero overlay — identical to dark theme */
body.light .hero-overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 25%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 75%, #000 100%),
        radial-gradient(ellipse at 20% 50%, var(--accent-glow) 0%, transparent 60%);
}

/* Hero content stays white (hero bg is dark even in light mode) */
body.light .hero-content,
body.light .hero-headline,
body.light .hero-tagline { color: #fff; }
body.light .hero-tagline { color: rgba(255,255,255,0.7); }
body.light .hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.2); }
body.light .hero .btn-outline:hover { color: var(--accent); border-color: var(--accent); }

/* Badge on about image — keep white text */
body.light .about-img-badge { color: #fff; }

/* Marquee */
body.light .marquee-wrap { background: var(--accent); }
body.light .marquee-outline { background: transparent; border-color: rgba(192,57,43,0.15); }
body.light .marquee-outline .marquee-content span { -webkit-text-stroke: 0; color: var(--accent); }
body.light .marquee-outline .mdot { color: rgba(192,57,43,0.3); }

/* CTA banner */
body.light .cta-banner {
    background: var(--bg-section);
}
body.light .cta-banner::before {
    background: linear-gradient(180deg,
        var(--bg) 0%,
        transparent 15%,
        transparent 85%,
        var(--bg) 100%);
}
body.light .cta-bg-img {
    opacity: 0.06;
}

/* Outline button light mode */
body.light .btn-outline {
    color: var(--text);
    border-color: rgba(0,0,0,0.15);
}
body.light .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Cards hover */
body.light .contact-card:hover,
body.light .svc-card:hover {
    border-color: rgba(0,0,0,0.12);
}
body.light .footer-col a:hover { color: var(--accent); }

/* Lightbox */
body.light .lightbox { background: rgba(255,255,255,0.95); }
body.light .lb-close, body.light .lb-prev, body.light .lb-next {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
    color: var(--text);
}

/* Theme fab */
body.light .theme-fab {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.1);
    color: var(--accent);
}
body.light .theme-fab:hover {
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .site-nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .hero-headline { font-size: clamp(2.8rem, 11vw, 4.5rem); }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-stats { gap: 20px; justify-content: space-between; }
    .about-stats--bordered { gap: 10px; }
    .about-stats--bordered .stat-item { padding: 14px 8px; gap: 4px; }
    .about-stats--bordered .stat-icon { font-size: 1rem; }
    .about-stats--bordered .stat-number { font-size: 1.5rem; }
    .about-stats--bordered .stat-label { font-size: 0.65rem; letter-spacing: 0.8px; }
    .stat strong { font-size: 1.6rem; }
    .stat span { font-size: 0.7rem; }
    .areas-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 80px 0; }

    /* Sticky mobile CTA — pill, fixed bottom */
    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 12px;
        left: 14px;
        right: 14px;
        z-index: 90;
        transform: translateY(calc(100% + 24px));
        transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .sticky-mobile-cta.visible {
        transform: translateY(0);
    }
    .theme-picker { bottom: 80px; }

    /* Horizontal scroll pills on mobile */
    .gallery-pills-wrap {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        position: relative;
        overflow: hidden;
    }
    .gallery-pills-wrap::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0; right: 0;
        width: 48px;
        background: linear-gradient(to left, var(--bg-section), transparent);
        pointer-events: none;
        z-index: 2;
    }
    .gallery-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
        padding-right: 48px;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-pills::-webkit-scrollbar { display: none; }
    .pill { flex-shrink: 0; }

    /* Hide above-slider arrows on mobile — swipe is natural */
    #gallery-slider .splide__arrows { display: none; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   SUBPAGE STYLES — Page Hero, Breadcrumb, Content, FAQ, Form
   ═══════════════════════════════════════════════════════════ */

/* ─── PAGE HERO (compact, for all subpages) ─── */
.page-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 56px;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-bg img.progressive-media,
.page-hero-slideshow .page-hero-slide.progressive-media,
.hero-slide-img.progressive-media {
    transform: translateZ(0);
}

/* ─── Page-hero crossfade slideshow ─── */
.page-hero-slideshow .page-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity;
}
.page-hero-slideshow .page-hero-slide.active {
    opacity: 1;
}
@keyframes pageHeroKen {
    0%   { transform: scale(1);      }
    100% { transform: scale(1.08);   }
}
.page-hero-slideshow .page-hero-slide.active {
    animation: pageHeroKen 6s ease-in-out forwards;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.75) 80%, #000 100%),
        radial-gradient(ellipse at 20% 80%, var(--accent-glow) 0%, transparent 60%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}
.page-hero-content .section-label { margin-bottom: 8px; }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    letter-spacing: 3px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.page-hero-sub {
    color: var(--text-mid);
    font-size: 1.08rem;
    max-width: 520px;
    line-height: 1.7;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    font-family: var(--font-condensed);
}
.breadcrumb-trail a {
    color: var(--text-dim);
    transition: color 0.2s;
}
.breadcrumb-trail a:hover { color: var(--accent); }
.breadcrumb-trail .bc-sep { color: var(--text-dim); opacity: 0.4; }
.breadcrumb-trail .bc-current { color: var(--text-mid); }

/* ─── SERVICE DETAIL ─── */
.service-detail {
    padding: 80px 0;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.service-detail-copy .section-title { margin-bottom: 20px; }
.service-detail-copy p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-detail-img {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.service-detail-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* ─── SERVICE DETAIL SLIDER ─── */
.service-slider {
    position: relative;
    width: 100%;
}
.service-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.service-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--easing);
    will-change: opacity;
}
.service-slider__slide.active {
    opacity: 1;
    z-index: 1;
}
.service-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
}
.service-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.service-slider__dot.active {
    background: var(--accent);
    transform: scale(1.25);
}
.service-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.service-detail-img:hover .service-slider__arrow {
    opacity: 1;
}
.service-slider__arrow--prev { left: 10px; }
.service-slider__arrow--next { right: 10px; }

/* ─── FEATURE GRID ─── */
.features-section {
    padding: 80px 0;
    background: var(--bg-section);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--easing);
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(192,57,43,0.1);
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ─── SERVICE IMAGE STRIP (Splide) ─── */
.image-strip {
    padding: 60px 0;
}
.image-strip-splide .splide__slide {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
}
.image-strip-splide .splide__slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.image-strip-splide .splide__list { list-style: none; }
.image-strip-splide[data-show-controls="true"] {
    position: relative;
    padding-bottom: 34px;
}
.image-strip-splide[data-show-controls="true"] .splide__arrows {
    pointer-events: none;
}
.image-strip-splide[data-show-controls="true"] .splide__arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 1;
    transform: translateY(-50%);
    pointer-events: auto;
}
.image-strip-splide[data-show-controls="true"] .splide__arrow svg {
    fill: #fff;
    width: 1.1rem;
    height: 1.1rem;
}
.image-strip-splide[data-show-controls="true"] .splide__arrow:hover:not(:disabled) {
    background: var(--accent);
    border-color: transparent;
}
.image-strip-splide[data-show-controls="true"] .splide__arrow--prev {
    left: -10px;
    transform: translateY(-50%) rotate(180deg);
}
.image-strip-splide[data-show-controls="true"] .splide__arrow--next {
    right: -10px;
}
.image-strip-splide[data-show-controls="true"] .splide__pagination {
    bottom: 0;
    gap: 8px;
}
.image-strip-splide[data-show-controls="true"] .splide__pagination__page {
    width: 10px;
    height: 10px;
    margin: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}
.image-strip-splide[data-show-controls="true"] .splide__pagination__page.is-active {
    background: var(--accent);
    transform: scale(1.05);
}
@media (hover: hover) and (pointer: fine) {
    .image-strip-splide .splide__slide:hover img { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .image-strip-splide[data-show-controls="true"] .splide__arrow {
        display: none;
    }
}

/* ─── INLINE CTA (reusable on subpages) ─── */
.inline-cta {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}
.inline-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
}
.inline-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.inline-cta p {
    color: var(--text-mid);
    margin-bottom: 28px;
    font-size: 1.02rem;
}
.inline-cta .cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ─── ABOUT PAGE ─── */
.about-story {
    padding: 80px 0;
}
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-story-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.about-story-copy p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 14px;
}
.about-story-img {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
}
.about-story-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.about-story-splide .splide__list { list-style: none; }
.about-story-splide .splide__pagination {
    bottom: 12px;
}
.about-story-splide .splide__pagination__page {
    background: rgba(255,255,255,0.4);
}
.about-story-splide .splide__pagination__page.is-active {
    background: var(--accent);
}

.values-section {
    padding: 80px 0;
    background: var(--bg-section);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s var(--easing);
}
.value-card:hover {
    border-color: rgba(192,57,43,0.2);
    transform: translateY(-4px);
}
.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(192,57,43,0.1);
    color: var(--accent);
    font-size: 1.3rem;
}
.value-card h3 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.value-card p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ─── FAQ ACCORDION ─── */
.faq-section {
    padding: 80px 0;
}
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active { border-color: rgba(192,57,43,0.25); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question i {
    font-size: 0.8rem;
    color: var(--text-dim);
    transition: transform 0.35s var(--easing), color 0.2s;
    flex-shrink: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--easing), padding 0.35s var(--easing);
}
.faq-answer p,
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-mid);
    font-size: 0.94rem;
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    max-height: 400px;
}

/* ─── CONTACT FORM ─── */
.contact-form-section {
    padding: 80px 0;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-info .section-title { margin-bottom: 8px; }
.contact-info > p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Cards — 2x2 grid on desktop inside contact layout */
.contact-layout .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.contact-layout .contact-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 22px 20px;
}
.contact-layout .contact-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(192,57,43,0.1);
    font-size: 1rem;
}
.contact-layout .contact-card-icon i {
    font-size: 1rem;
}
.contact-layout .contact-card h3 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    color: var(--text);
}
.contact-layout .contact-card p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}
.contact-layout .contact-card a {
    color: var(--accent);
    font-size: 0.92rem;
    text-decoration: none;
}
.contact-layout .contact-card a:hover { color: #e74c3c; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}
.contact-form h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-mid);
}
.form-input,
.form-textarea,
.form-select,
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-button);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder,
.form-textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}
.form-textarea,
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}
.form-select,
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath fill='%23777' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: var(--bg);
}
.form-submit {
    align-self: flex-start;
    margin-top: 8px;
}

/* ─── SERVICE CARD LINKS (homepage) ─── */
.svc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    transition: gap 0.25s var(--easing), color 0.25s;
}
.svc-card-link:hover { gap: 10px; color: #e74c3c; }

/* ─── OTHER SERVICES GRID (bottom of each service page) ─── */
.other-services {
    padding: 80px 0;
}
.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.other-svc-card {
    display: block;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--easing);
}
.other-svc-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(192,57,43,0.2);
    transform: translateY(-4px);
}
.other-svc-card h3 {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.other-svc-card p {
    color: var(--text-mid);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ─── SUBPAGE RESPONSIVE ─── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .other-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-hero { min-height: 36vh; padding-bottom: 40px; }
    .page-hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-detail-img { position: static; }
    .features-grid { grid-template-columns: 1fr; }
    .about-story-grid { grid-template-columns: 1fr; gap: 36px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .other-services-grid { grid-template-columns: 1fr; }
    .service-detail, .features-section, .image-strip,
    .inline-cta, .about-story, .values-section,
    .faq-section, .contact-form-section, .other-services { padding: 60px 0; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .contact-layout .contact-cards { grid-template-columns: 1fr; }
}

/* ─── LIGHT MODE — subpage overrides ─── */
body.light .page-hero-overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.75) 80%, var(--bg) 100%),
        radial-gradient(ellipse at 20% 80%, var(--accent-glow) 0%, transparent 60%);
}
body.light .page-hero-title,
body.light .page-hero-content .section-label { color: #fff; }
body.light .page-hero-sub { color: rgba(255,255,255,0.7); }
body.light .feature-card { background: var(--bg-card); }
body.light .feature-card:hover { border-color: rgba(0,0,0,0.12); }
body.light .faq-item { background: var(--bg-card); }
body.light .faq-item.active { border-color: rgba(192,57,43,0.2); }
body.light .contact-info-card { background: var(--bg-card); }
body.light .contact-info-card:hover { border-color: rgba(0,0,0,0.12); }
body.light .contact-form { background: var(--bg-card); border-color: rgba(0,0,0,0.08); }
body.light .contact-form input,
body.light .contact-form select,
body.light .contact-form textarea {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
}
body.light .contact-form input:focus,
body.light .contact-form select:focus,
body.light .contact-form textarea:focus {
    border-color: var(--accent);
}
body.light .contact-layout .contact-card:hover { border-color: rgba(0,0,0,0.12); }
body.light .form-input, body.light .form-textarea, body.light .form-select {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
}
body.light .form-input:focus, body.light .form-textarea:focus, body.light .form-select:focus {
    border-color: var(--accent);
}
body.light .other-svc-card:hover { border-color: rgba(0,0,0,0.12); }
body.light .value-card:hover { border-color: rgba(192,57,43,0.15); }
