/* ADR Construction — True Black + Orange + Glassmorphism */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   Variables — Default Dark Theme
   ======================================== */
:root {
    --bg:             #000000;
    --bg-elevated:    #050505;
    --bg-card:        rgba(255, 255, 255, 0.025);
    --bg-card-hover:  rgba(255, 255, 255, 0.05);
    --bg-glass:       rgba(8, 8, 8, 0.88);
    --text:           #ffffff;
    --text-body:      rgba(255, 255, 255, 0.8);
    --text-muted:     rgba(255, 255, 255, 0.62);
    --accent:         #f89b1f;
    --accent-hover:   #e08a10;
    --accent-glow:    rgba(248, 155, 31, 0.35);
    --accent-subtle:  rgba(248, 155, 31, 0.12);
    --border:         rgba(255, 255, 255, 0.12);
    --border-accent:  rgba(248, 155, 31, 0.38);
    --radius:         4px;
    --radius-button:  6px;
    --shadow:         0 18px 40px rgba(0, 0, 0, 0.45);
    --header-bg:      transparent;
    --header-scrolled-bg: rgba(0, 0, 0, 0.95);
    --header-border:  transparent;
    --header-scrolled-border: rgba(255, 255, 255, 0.12);
    --cta-bg:         var(--accent);
    --cta-text:       #000;
    --cta-btn-bg:     #000;
    --cta-btn-text:   #fff;
    --cta-outline-bg: rgba(0, 0, 0, 0.08);
    --cta-outline-text: #000;
    --cta-outline-border: rgba(0, 0, 0, 0.3);
    --cta-outline-hover-bg: #000;
    --cta-outline-hover-text: #fff;
    --map-filter:     invert(0.9) hue-rotate(180deg) saturate(0.3) brightness(0.7);
    --logo-filter:    none;
}

/* ========================================
   Theme: Ember (warm dark + gradient blobs)
   ======================================== */
body.theme-ember {
    --bg:             #0c0804;
    --bg-elevated:    #110b05;
    --bg-card:        rgba(248, 155, 31, 0.08);
    --bg-card-hover:  rgba(248, 155, 31, 0.14);
    --bg-glass:       rgba(18, 12, 4, 0.55);
    --text:           #faf0e4;
    --text-body:      rgba(250, 240, 228, 0.82);
    --text-muted:     rgba(250, 240, 228, 0.55);
    --accent:         #f89b1f;
    --accent-hover:   #ffa733;
    --accent-glow:    rgba(248, 155, 31, 0.45);
    --accent-subtle:  rgba(248, 155, 31, 0.15);
    --border:         rgba(248, 155, 31, 0.14);
    --border-accent:  rgba(248, 155, 31, 0.40);
    --shadow:         0 18px 40px rgba(0, 0, 0, 0.55);
    --header-bg:      transparent;
    --header-scrolled-bg: rgba(12, 8, 4, 0.90);
    --header-border:  transparent;
    --header-scrolled-border: rgba(248, 155, 31, 0.18);
    --cta-bg:         var(--accent);
    --cta-text:       #0c0804;
    --cta-btn-bg:     #0c0804;
    --cta-btn-text:   #faf0e4;
    --cta-outline-bg: rgba(248, 155, 31, 0.08);
    --cta-outline-text: #0c0804;
    --cta-outline-border: rgba(0, 0, 0, 0.3);
    --cta-outline-hover-bg: #0c0804;
    --cta-outline-hover-text: #f89b1f;
    --map-filter:     invert(0.92) hue-rotate(180deg) saturate(0.2) brightness(0.65) sepia(0.15);
    --logo-filter:    none;
}

/* ========================================
   Theme: Light / Cream
   ======================================== */
body.theme-light {
    --bg:             #F5F0E6;
    --bg-elevated:    #ebe5d8;
    --bg-card:        rgba(0, 0, 0, 0.03);
    --bg-card-hover:  rgba(0, 0, 0, 0.06);
    --bg-glass:       rgba(245, 240, 230, 0.88);
    --text:           #1a1408;
    --text-body:      rgba(0, 0, 0, 0.72);
    --text-muted:     rgba(0, 0, 0, 0.5);
    --accent:         #c47a15;
    --accent-hover:   #a86810;
    --accent-glow:    rgba(196, 122, 21, 0.3);
    --accent-subtle:  rgba(196, 122, 21, 0.1);
    --border:         rgba(0, 0, 0, 0.1);
    --border-accent:  rgba(196, 122, 21, 0.3);
    --shadow:         0 18px 40px rgba(0, 0, 0, 0.08);
    --header-bg:      transparent;
    --header-scrolled-bg: rgba(245, 240, 230, 0.95);
    --header-border:  transparent;
    --header-scrolled-border: rgba(0, 0, 0, 0.08);
    --cta-bg:         #c47a15;
    --cta-text:       #fff;
    --cta-btn-bg:     #1a1408;
    --cta-btn-text:   #fff;
    --cta-outline-bg: rgba(0, 0, 0, 0.06);
    --cta-outline-text: #1a1408;
    --cta-outline-border: rgba(0, 0, 0, 0.25);
    --cta-outline-hover-bg: #1a1408;
    --cta-outline-hover-text: #fff;
    --map-filter:     saturate(0.5) brightness(0.95);
    --logo-filter:    brightness(0) saturate(100%);
}



/* ========================================
   Theme: Grid (dark + subtle grid lines)
   ======================================== */
body.theme-grid {
    --bg:             #0a0a0a;
    --bg-elevated:    #0e0e0e;
    --bg-card:        rgba(255, 255, 255, 0.025);
    --bg-card-hover:  rgba(255, 255, 255, 0.05);
    --bg-glass:       rgba(10, 10, 10, 0.88);
    --text:           #ffffff;
    --text-body:      rgba(255, 255, 255, 0.78);
    --text-muted:     rgba(255, 255, 255, 0.5);
    --accent:         #f89b1f;
    --accent-hover:   #e08a10;
    --accent-glow:    rgba(248, 155, 31, 0.35);
    --accent-subtle:  rgba(248, 155, 31, 0.12);
    --border:         rgba(255, 255, 255, 0.08);
    --border-accent:  rgba(248, 155, 31, 0.35);
    --shadow:         0 18px 40px rgba(0, 0, 0, 0.5);
    --header-bg:      transparent;
    --header-scrolled-bg: rgba(10, 10, 10, 0.95);
    --header-border:  transparent;
    --header-scrolled-border: rgba(255, 255, 255, 0.08);
    --cta-bg:         var(--accent);
    --cta-text:       #000;
    --cta-btn-bg:     #0a0a0a;
    --cta-btn-text:   #fff;
    --cta-outline-bg: rgba(0, 0, 0, 0.12);
    --cta-outline-text: #0a0a0a;
    --cta-outline-border: rgba(0, 0, 0, 0.3);
    --cta-outline-hover-bg: #0a0a0a;
    --cta-outline-hover-text: #fff;
    --map-filter:     invert(0.9) hue-rotate(180deg) saturate(0.3) brightness(0.7);
    --logo-filter:    none;
}

/* Grid overlay — fixed background lines */
/* Grid lines on cards & panels */
body.theme-grid .contact-card,
body.theme-grid .service-card,
body.theme-grid .stat-card,
body.theme-grid .ba-body,
body.theme-grid .ba-slide-inner,
body.theme-grid .timeline-content,
body.theme-grid .faq-section details,
body.theme-grid .about-slider-shell,
body.theme-grid .testimonial-card,
body.theme-grid .marquee-wrap {
    background-image:
        linear-gradient(rgba(248, 155, 31, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 155, 31, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
}

body.theme-grid .marquee-content span {
    background-image:
        linear-gradient(rgba(248, 155, 31, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 155, 31, 0.12) 1px, transparent 1px);
    background-size: 8px 8px;
    -webkit-background-clip: text;
    background-clip: text;
}

body.theme-grid::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(248, 155, 31, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 155, 31, 0.045) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}

/* Grid theme — accent glow on card borders */
body.theme-grid .service-card,
body.theme-grid .stat-card,
body.theme-grid .timeline-content,
body.theme-grid .testimonial-card,
body.theme-grid .contact-card,
body.theme-grid .area-card {
    border-color: rgba(248, 155, 31, 0.12);
    box-shadow: 0 0 0 1px rgba(248, 155, 31, 0.06),
                inset 0 1px 0 rgba(248, 155, 31, 0.08);
}

body.theme-grid .section-tag {
    border-color: rgba(248, 155, 31, 0.2);
    background: rgba(248, 155, 31, 0.06);
}

body.theme-grid .section-title {
    text-shadow: 0 0 30px rgba(248, 155, 31, 0.15);
}

body.theme-grid .gallery-pill,
body.theme-grid .about-pill {
    border-color: rgba(248, 155, 31, 0.15);
}

body.theme-grid .gallery-pill.active,
body.theme-grid .about-pill.active {
    box-shadow: 0 0 12px rgba(248, 155, 31, 0.25);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* Prevent iOS double-tap zoom on all interactive elements */
button, a, input, select, textarea, [role="button"], .btn {
    touch-action: manipulation;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Scroll lock */
html.no-scroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

html.no-scroll body {
    overflow: hidden !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ========================================
   Shared Section Styles
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-intro {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-header {
        text-align: left;
    }
    .section-intro {
        margin: 0;
    }
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
}

.site-header.scrolled {
    background: var(--header-scrolled-bg);
    border-color: var(--header-scrolled-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
}

.brand-logo {
    height: 44px;
    width: auto;
    transition: height 0.3s ease, filter 0.4s ease;
    filter: var(--logo-filter);
}

.site-header.scrolled .brand-logo {
    height: 36px;
}

/* Light theme: white logo over hero, dark logo once scrolled */
body.theme-light .brand-logo {
    filter: brightness(0) invert(1);
}

body.theme-light .site-header.scrolled .brand-logo {
    filter: brightness(0) saturate(100%);
}

body.theme-light .site-nav a {
    color: rgba(255, 255, 255, 0.85);
}

body.theme-light .site-nav a:hover {
    color: #fff;
}

body.theme-light .site-header.scrolled .site-nav a {
    color: var(--text-muted);
}

body.theme-light .site-header.scrolled .site-nav a:hover {
    color: var(--accent);
}

body.theme-light .mobile-nav-toggle {
    color: #fff;
}

body.theme-light .site-header.scrolled .mobile-nav-toggle {
    color: var(--text);
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    transition: color 0.3s ease;
}

.site-nav a:hover { color: var(--accent); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    border-radius: var(--radius-button);
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.header-cta span { display: inline; }

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 2px;
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: var(--accent-subtle);
    color: var(--text);
    border-color: var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.btn-outline:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 0 24px var(--accent-glow);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: 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;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ken Burns zoom on image slides */
.hero-slide img.hero-slide-media {
    animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0%   { transform: scale(1);    }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%),
        radial-gradient(circle at 70% 50%, rgba(248,155,31,0.15), transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 20px 80px;
}

.hero-headline {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.75;
    letter-spacing: 0.3px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    box-shadow: 0 0 30px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.3);
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   About
   ======================================== */
.about-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 60px;
    align-items: center;
}

.about-showcase {
    min-width: 0;
}

.about-slider-shell {
    position: relative;
    background: #050505;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-button);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-slider-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, var(--accent-subtle), transparent 45%);
    pointer-events: none;
    z-index: 2;
}

/* ── Badge overlay — top-left ── */
.about-slider-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    background: var(--accent);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 4px;
    pointer-events: none;
}

/* ── Category pills — below image container, horizontal scroll ── */
.about-slider-pills {
    display: flex;
    gap: 8px;
    padding: 0 2px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-slider-pills::-webkit-scrollbar {
    display: none;
}

.about-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.about-pill:hover {
    border-color: var(--border-accent);
    color: var(--text);
    background: var(--accent-subtle);
}

.about-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.about-slider-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: #050505;
}

.about-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.45s ease, transform 0.7s ease;
}

.about-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.about-slide img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    height: 100%;
}

.about-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}

.about-slide figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.5;
    border-left: 3px solid var(--accent);
}

.about-copy .section-title {
    text-align: left;
}

.about-copy p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
    max-width: 42ch;
}

.about-stats {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    flex: 1;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 148px;
    transition: all 0.3s ease;
}

.stat-card.in-view {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

@media (hover: hover) and (pointer: fine) {
    .stat-card:hover {
        border-color: var(--border-accent);
        background: var(--bg-card-hover);
        transform: translateY(-3px);
    }
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
    line-height: 1.05;
}

.stat-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
}

/* ========================================
   Services
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card.in-view::before {
    transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover::before {
        transform: scaleX(1);
    }
}

.service-card.in-view {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        border-color: var(--border-accent);
        background: var(--bg-card-hover);
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    }
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   Process
   ======================================== */
.process-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* ── Timeline layout ── */
.timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 0 20px;
}

/* Center vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 20px;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-line-fill {
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: height 0.05s linear;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 8px rgba(248, 155, 31, 0.3);
}

/* Each step row */
.timeline-step {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Center dot */
.timeline-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 ease, background 0.4s ease, box-shadow 0.4s ease;
}

.timeline-step.in-view .timeline-dot {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 12px rgba(248, 155, 31, 0.4);
}

/* Content side */
.timeline-content {
    padding: 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-step.in-view .timeline-content {
    border-color: var(--border-accent);
}

@media (hover: hover) and (pointer: fine) {
    .timeline-content:hover {
        border-color: var(--border-accent);
        transform: translateY(-3px);
    }
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(248, 155, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.timeline-icon i {
    font-size: 1.15rem;
    color: var(--accent);
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Image side */
.timeline-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.timeline-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .timeline-image:hover img {
        transform: scale(1.04);
    }
}

/* ── Mobile timeline ── */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-step {
        grid-template-columns: 40px 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .timeline-dot {
        width: 14px;
        height: 14px;
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        margin-top: 32px;
    }

    .timeline-content {
        grid-column: 2;
        grid-row: 1;
        padding: 22px;
    }

    .timeline-image {
        grid-column: 2;
        grid-row: 2;
    }

    .timeline-image img {
        aspect-ratio: 1 / 1;
    }
}

/* ========================================
   Projects
   ======================================== */
.projects-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

/* ── Category filter pills ── */
.gallery-pills-wrap {
    position: relative;
    margin-bottom: 32px;
    --pills-bg: var(--bg-elevated);
}

.ba-section .gallery-pills-wrap {
    --pills-bg: var(--bg);
}

.gallery-pills-wrap::before,
.gallery-pills-wrap::after {
    display: none;
}

.gallery-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 768px) {
    .gallery-pills-wrap::before,
    .gallery-pills-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 32px;
        z-index: 2;
        pointer-events: none;
        display: block;
    }

    .gallery-pills-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--pills-bg) 0%, transparent 100%);
    }

    .gallery-pills-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--pills-bg) 0%, transparent 100%);
    }

    .gallery-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        padding: 0 24px 0 4px;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-pills::-webkit-scrollbar {
        display: none;
    }

    .gallery-pill {
        flex-shrink: 0;
    }

    .gallery-pills-wrap {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        overflow: hidden;
    }

    .gallery-pills-wrap::before {
        left: 0;
    }

    .gallery-pills-wrap::after {
        right: 0;
    }
}

.gallery-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-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.25s ease;
}

.gallery-pill:hover {
    border-color: var(--border-accent);
    color: var(--text);
    background: var(--accent-subtle);
}

.gallery-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.projects-gallery {
    position: relative;
}

#projects-gallery-slider .splide__track {
    overflow: visible;
}

#projects-gallery-slider .splide__slide {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

#projects-gallery-slider .splide__slide.is-active,
#projects-gallery-slider .splide__slide.is-visible {
    opacity: 1;
}

/* ── Gallery card: full-cover image ── */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #050505;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card.in-view img {
    transform: scale(1.06);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover img {
        transform: scale(1.06);
    }
}

/* ── "Completed Work" badge ── */
.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    background: var(--accent);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 4px;
    pointer-events: none;
}

/* ── Caption bar at bottom ── */
.gallery-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: var(--bg);
    border-top: 3px solid var(--accent);
    display: flex;
    align-items: flex-end;
}

.gallery-card-label span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.45;
}

.gallery-card.in-view .gallery-card-label {
    background: var(--bg-elevated);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover .gallery-card-label {
        background: var(--bg-elevated);
    }
}

.gallery-card.in-view {
    border-color: var(--border-accent);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover {
        border-color: var(--border-accent);
    }
}

#projects-gallery-slider .splide__arrows {
    position: absolute;
    top: -84px;
    right: 0;
    display: flex;
    gap: 12px;
}

#projects-gallery-slider .splide__arrow {
    position: static;
    width: 46px;
    height: 46px;
    transform: none;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--accent-subtle);
    color: var(--text);
    opacity: 1;
}

#projects-gallery-slider .splide__arrow:hover:not(:disabled) {
    background: var(--accent-subtle);
    border-color: var(--border-accent);
    color: var(--accent);
}

#projects-gallery-slider .splide__arrow--prev {
    transform: scaleX(-1);
}

#projects-gallery-slider .splide__arrow svg {
    fill: currentColor;
    width: 1rem;
    height: 1rem;
}

#projects-gallery-slider .splide__pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#projects-gallery-slider .splide__pagination__page {
    width: 18px;
    height: 4px;
    margin: 0;
    border-radius: 2px;
    background: var(--border);
    opacity: 1;
}

#projects-gallery-slider .splide__pagination__page.is-active {
    transform: none;
    background: var(--accent);
}

/* ========================================
   Service Area (Google Maps)
   ======================================== */
.area-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.area-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.area-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 400px;
}

.area-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    filter: var(--map-filter);
}

.area-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.area-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    flex: 1;
}

.area-card.in-view {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
    .area-card:hover {
        border-color: var(--border-accent);
        transform: translateX(4px);
    }
}

.area-card i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.area-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.area-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.area-card a {
    color: var(--accent);
}

.area-card a:hover {
    text-decoration: underline;
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--cta-bg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: 'ADR';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 20px;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cta-text);
    margin-bottom: 12px;
    line-height: 1.1;
}

.cta-content p {
    color: var(--cta-text);
    opacity: 0.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--cta-btn-bg);
    color: var(--cta-btn-text);
    border-color: var(--cta-btn-bg);
}

.cta-section .btn-primary:hover {
    opacity: 0.88;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cta-section .btn-outline {
    background: var(--cta-outline-bg);
    color: var(--cta-outline-text);
    border-color: var(--cta-outline-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cta-section .btn-outline:hover {
    background: var(--cta-outline-hover-bg);
    color: var(--cta-outline-hover-text);
    border-color: var(--cta-outline-hover-bg);
}

/* ========================================
   Contact
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 32px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.contact-card.in-view {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

@media (hover: hover) and (pointer: fine) {
    .contact-card:hover {
        border-color: var(--border-accent);
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    }
}

.contact-card i {
    font-size: 1.4rem;
    color: var(--accent);
}

.contact-card strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card span {
    font-size: 0.88rem;
    color: var(--text-muted);
    word-break: break-all;
    overflow-wrap: break-word;
    padding: 0 4px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: var(--logo-filter);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.testimonials-stars {
    display: flex;
    gap: 4px;
}

.testimonials-stars i {
    color: var(--accent);
    font-size: 1.1rem;
}

.testimonials-summary {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.testimonials-slider {
    position: relative;
}

.testimonial-card {
    padding: 28px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card.in-view {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
    .testimonial-card:hover {
        border-color: var(--border-accent);
        transform: translateY(-2px);
    }
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 0.85rem;
}

.testimonial-text {
    flex: 1;
    color: var(--text-body);
    font-size: 0.72rem;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    display: none;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

#testimonials-splide .splide__track {
    overflow: visible;
    clip-path: inset(-4px -4px -4px -4px);
}

#testimonials-splide .splide__arrows {
    position: absolute;
    top: -84px;
    right: 0;
    display: flex;
    gap: 12px;
}

#testimonials-splide .splide__arrow {
    position: static;
    width: 46px;
    height: 46px;
    transform: none;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--accent-subtle);
    color: var(--text);
    opacity: 1;
}

#testimonials-splide .splide__arrow:hover:not(:disabled) {
    background: var(--accent-subtle);
    border-color: var(--border-accent);
    color: var(--accent);
}

#testimonials-splide .splide__arrow--prev {
    transform: scaleX(-1);
}

#testimonials-splide .splide__arrow svg {
    fill: currentColor;
    width: 1rem;
    height: 1rem;
}

#testimonials-splide .splide__pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#testimonials-splide .splide__pagination__page {
    width: 18px;
    height: 4px;
    margin: 0;
    border-radius: 2px;
    background: var(--border);
    opacity: 1;
}

#testimonials-splide .splide__pagination__page.is-active {
    transform: none;
    background: var(--accent);
}

/* ========================================
   Floating Theme Picker
   ======================================== */
.floating-theme-picker {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.theme-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--bg-glass);
    color: var(--accent);
    font-size: 1.25rem;
    cursor: pointer;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.theme-fab:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.floating-theme-picker.open .theme-fab {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.theme-options {
    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;
}

.floating-theme-picker.open .theme-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.theme-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--dot-a) 50%, var(--dot-b) 50%);
    background-clip: padding-box;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}

.theme-dot:hover {
    transform: scale(1.2);
}

.theme-dot.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--dot-a), 0 2px 12px rgba(0,0,0,0.4);
}

/* ========================================
   Button Shimmer Effect
   ======================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.btn:hover::after {
    animation: shimmerSlide 0.6s ease forwards;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base fade-in with stagger support */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--stagger, 0s);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.fade-in--left {
    transform: translateX(-50px);
}

.fade-in.fade-in--left.visible {
    transform: translateX(0);
}

.fade-in.fade-in--right {
    transform: translateX(50px);
}

.fade-in.fade-in--right.visible {
    transform: translateX(0);
}

/* Section header children cascade */
.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-intro {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.fade-in.visible .section-label {
    opacity: 1; transform: translateY(0); transition-delay: 0s;
}
.section-header.fade-in.visible .section-title {
    opacity: 1; transform: translateY(0); transition-delay: 0.12s;
}
.section-header.fade-in.visible .section-intro {
    opacity: 1; transform: translateY(0); transition-delay: 0.24s;
}

/* Hero items cascade with CSS animations */
.hero .fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.hero .section-label.fade-in {
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero .hero-headline.fade-in {
    animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero .hero-tagline.fade-in {
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero .hero-btns.fade-in {
    animation: fadeUp 0.8s ease 0.55s forwards;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-showcase {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .about-copy .section-title {
        text-align: center;
    }

    .about-copy p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .area-grid {
        grid-template-columns: 1fr;
    }

    .area-map {
        min-height: 350px;
    }

    #testimonials-splide .splide__arrows {
        position: static;
        justify-content: flex-end;
        margin-bottom: 12px;
    }

    .area-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        gap: 8px;
    }

    .stat-card {
        padding: 14px 8px;
        min-height: 136px;
    }

    .stat-card strong {
        font-size: 1.15rem;
    }

    .stat-card span {
        font-size: 0.66rem;
        letter-spacing: 0.35px;
        line-height: 1.18;
    }

    .about-slider-stage {
        aspect-ratio: 4 / 5;
    }

    .about-slide figcaption {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: 0.84rem;
    }

    #projects-gallery-slider .splide__arrows {
        position: static;
        justify-content: flex-end;
        margin-bottom: 12px;
    }

    .area-info {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-theme-picker {
        bottom: 20px;
        right: 20px;
        transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .floating-theme-picker.cta-visible {
        bottom: 82px;
    }

    .theme-fab {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .theme-dot {
        width: 30px;
        height: 30px;
    }

    #testimonials-splide .splide__arrows {
        position: static;
        justify-content: flex-end;
        margin-bottom: 12px;
    }

    .testimonial-card {
        padding: 28px 22px;
    }

    .testimonial-text {
        font-size: 0.68rem;
        line-height: 1.55;
    }

    .stat-card span {
        word-break: normal;
        hyphens: none;
    }

    /* Horizontal slides become vertical on mobile */
    .fade-in.fade-in--left,
    .fade-in.fade-in--right {
        transform: translateY(25px);
    }
    .fade-in.fade-in--left.visible,
    .fade-in.fade-in--right.visible {
        transform: translateY(0);
    }
}

/* ========================================
   Ember Theme — Hard Color Aesthetic
   ======================================== */

/* ── Ember cards get a warmer glass feel ── */
body.theme-ember .service-card,
body.theme-ember .timeline-content,
body.theme-ember .stat-card,
body.theme-ember .area-card,
body.theme-ember .contact-card,
body.theme-ember .testimonial-card {
    background: rgba(248, 155, 31, 0.08);
    border-color: rgba(248, 155, 31, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.theme-ember .service-card.in-view,
body.theme-ember .timeline-content.in-view,
body.theme-ember .stat-card.in-view,
body.theme-ember .area-card.in-view,
body.theme-ember .contact-card.in-view,
body.theme-ember .testimonial-card.in-view {
    background: rgba(248, 155, 31, 0.14);
    border-color: rgba(248, 155, 31, 0.30);
}

@media (hover: hover) and (pointer: fine) {
    body.theme-ember .service-card:hover,
    body.theme-ember .timeline-content:hover,
    body.theme-ember .stat-card:hover,
    body.theme-ember .area-card:hover,
    body.theme-ember .contact-card:hover,
    body.theme-ember .testimonial-card:hover {
        background: rgba(248, 155, 31, 0.14);
        border-color: rgba(248, 155, 31, 0.30);
    }
}

/* ── About slider shell — warm border glow ── */
body.theme-ember .about-slider-shell {
    border-color: rgba(248, 155, 31, 0.25);
    background:
        linear-gradient(180deg, rgba(248, 155, 31, 0.08), rgba(248, 155, 31, 0.04)),
        rgba(12, 8, 4, 0.80);
}

/* ── Hero overlay — warmer orange radial for ember ── */
body.theme-ember .hero-overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 40%, rgba(0,0,0,0.80) 100%),
        radial-gradient(circle at 70% 50%, rgba(248,155,31,0.28), transparent 55%);
}

/* ── CTA section ember glow ── */
body.theme-ember .cta-section::before {
    color: rgba(12, 8, 4, 0.08);
}

/* ── Ember gradient blobs — DISABLED per user request ── */
body.theme-ember .hero::after,
body.theme-ember .about-section::before,
body.theme-ember .about-section::after,
body.theme-ember .services-section::before,
body.theme-ember .services-section::after,
body.theme-ember .process-section::before,
body.theme-ember .projects-section::after,
body.theme-ember .testimonials-section::before,
body.theme-ember .testimonials-section::after,
body.theme-ember .area-section::before,
body.theme-ember .contact-section::after,
body.theme-ember .site-footer::before,
body.theme-ember .ba-section::before {
    display: none !important;
}

body.theme-ember .hero,
body.theme-ember .about-section,
body.theme-ember .services-section,
body.theme-ember .process-section,
body.theme-ember .projects-section,
body.theme-ember .testimonials-section,
body.theme-ember .area-section,
body.theme-ember .contact-section,
body.theme-ember .site-footer {
    position: relative;
    overflow: hidden;
}

body.theme-ember .hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.18) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    z-index: 0;
    animation: blobDrift1 18s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .about-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.22) 0%, transparent 70%);
    top: -120px;
    right: -80px;
    z-index: 0;
    animation: blobDrift2 22s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .about-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -60px;
    z-index: 0;
    animation: blobDrift1 25s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .services-section::before {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.20) 0%, transparent 70%);
    top: 10%;
    left: -150px;
    z-index: 0;
    animation: blobDrift2 20s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .services-section::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.15) 0%, transparent 70%);
    bottom: -80px;
    right: -100px;
    z-index: 0;
    animation: blobDrift1 24s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .process-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.18) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    z-index: 0;
    animation: blobDrift2 26s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .projects-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.20) 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
    z-index: 0;
    animation: blobDrift1 21s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .testimonials-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.18) 0%, transparent 70%);
    top: -80px;
    left: 20%;
    z-index: 0;
    animation: blobDrift2 23s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .testimonials-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.15) 0%, transparent 70%);
    bottom: -100px;
    right: -60px;
    z-index: 0;
    animation: blobDrift1 19s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .area-section::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.18) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    z-index: 0;
    animation: blobDrift2 22s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .contact-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.20) 0%, transparent 70%);
    bottom: -120px;
    left: -100px;
    z-index: 0;
    animation: blobDrift1 25s ease-in-out infinite;
    pointer-events: none;
}

body.theme-ember .site-footer::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,155,31,0.15) 0%, transparent 70%);
    top: -80px;
    right: 10%;
    z-index: 0;
    animation: blobDrift2 20s ease-in-out infinite;
    pointer-events: none;
}

/* Ensure section content sits above blobs */
body.theme-ember .hero > *,
body.theme-ember .about-section > .container,
body.theme-ember .services-section > .container,
body.theme-ember .process-section > .container,
body.theme-ember .projects-section > .container,
body.theme-ember .testimonials-section > .container,
body.theme-ember .area-section > .container,
body.theme-ember .contact-section > .container,
body.theme-ember .site-footer > .container {
    position: relative;
    z-index: 1;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 20px) scale(0.95); }
    66% { transform: translate(20px, -15px) scale(1.05); }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in.fade-in--left,
    .fade-in.fade-in--right,
    .section-header.fade-in .section-label,
    .section-header.fade-in .section-title,
    .section-header.fade-in .section-intro,
    .hero .fade-in {
        transition-duration: 0.01s !important;
        transition-delay: 0s !important;
        animation-duration: 0.01s !important;
        animation-delay: 0s !important;
    }

    .hero-slide video {
        display: none;
    }

    .hero-slide img.hero-slide-media {
        animation: none;
    }

    .about-slide {
        transition: none;
    }

    .hero-scroll-hint {
        animation: none;
    }

    /* Disable ember blob drift */
    body.theme-ember .hero::after,
    body.theme-ember .about-section::before,
    body.theme-ember .about-section::after,
    body.theme-ember .services-section::before,
    body.theme-ember .services-section::after,
    body.theme-ember .process-section::before,
    body.theme-ember .projects-section::after,
    body.theme-ember .testimonials-section::before,
    body.theme-ember .testimonials-section::after,
    body.theme-ember .area-section::before,
    body.theme-ember .contact-section::after,
    body.theme-ember .site-footer::before,
    body.theme-ember .ba-section::before {
        animation: none !important;
    }
}

/* ========================================
   Before & After Section — Static Grid
   ======================================== */
.ba-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

/* ── 2-column grid ── */
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* ── Card layout: image + text side by side ── */
.ba-slide-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 440px;
}

.ba-slide-inner:hover {
    border-color: var(--border-accent);
}

/* ── Image comparison area ── */
.ba-card {
    position: relative;
    overflow: hidden;
    background: #050505;
    cursor: col-resize;
    min-height: 100%;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
}

/* Both layers fill the entire card */
.ba-card .ba-after,
.ba-card .ba-before {
    position: absolute;
    inset: 0;
}

.ba-card .ba-after {
    z-index: 1;
}

.ba-card .ba-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-card .ba-after img,
.ba-card .ba-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Composites — single image, no slider */
.ba-card.ba-composite {
    cursor: default;
}

.ba-card.ba-composite .ba-after,
.ba-card.ba-composite .ba-before {
    position: relative;
}

.ba-card.ba-composite .ba-before {
    display: none;
}

.ba-card.ba-composite .ba-after {
    position: relative;
}

.ba-card.ba-composite .ba-after img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Divider line */
.ba-card .ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--accent);
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 14px var(--accent-glow);
    transform: translateX(-50%);
}

.ba-card .ba-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.ba-card .ba-divider::before {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    font-size: 14px;
    color: #000;
    pointer-events: none;
}

/* Range input — invisible overlay */
.ba-card input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    cursor: col-resize;
    margin: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Labels */
.ba-label {
    position: absolute;
    top: 16px;
    z-index: 3;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 3px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ba-label-before {
    left: 16px;
    background: rgba(0,0,0,0.72);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
}

.ba-label-after {
    right: 16px;
    background: var(--accent);
    color: #000;
}

/* ── Text panel (right side) ── */
.ba-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 36px 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        var(--bg-elevated);
}

.ba-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 3px;
    background: var(--accent);
}

.ba-body::after {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-subtle);
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.ba-body h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.12;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ba-body p {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 36ch;
}

.ba-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.ba-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.03);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ba-tags span:first-child {
    color: #000;
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Ember blobs — DISABLED ── */
body.theme-ember .ba-section {
    position: relative;
    overflow: hidden;
}

body.theme-ember .ba-section > .container {
    position: relative;
    z-index: 1;
}

body.theme-ember .ba-body {
    background:
        linear-gradient(180deg, rgba(248,155,31,0.08), rgba(248,155,31,0.04)),
        rgba(12, 8, 4, 0.80);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ba-slide-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ba-card {
        min-height: 320px;
    }

    .ba-body {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .ba-card {
        min-height: 260px;
    }

    .ba-body h3 {
        font-size: 1.2rem;
    }

    .ba-body::after {
        font-size: 3.5rem;
    }
}

/* ========================================
   Marquee Ticker Strip
   ======================================== */
.marquee-wrap {
    position: relative;
    z-index: 10;
    /* Tilt the whole band */
    transform: rotate(-1deg) translateY(-6px);
    /* Extend past viewport edges to avoid gaps at the tilt */
    margin-left: -4%;
    margin-right: -4%;
    width: 108%;
    overflow: hidden;
    background: var(--accent);
    padding: 13px 0;
    /* Layered shadows for depth */
    box-shadow: 0 8px 32px rgba(248, 155, 31, 0.28), 0 2px 0 rgba(0,0,0,0.4);
    /* Pull it up into the hero slightly so it overlaps the seam */
    margin-top: -20px;
    margin-bottom: -12px;
}

/* Keep inner content perfectly horizontal even though the wrap is tilted */
.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    /* Scroll one full copy, then it loops seamlessly */
    animation: marqueeScroll 28s linear infinite;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    padding: 0 28px;
}

.marquee-content .marquee-dot {
    font-size: 0.55rem;
    color: rgba(0,0,0,0.5);
    padding: 0;
    letter-spacing: 0;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Outline Marquee Variant (orange border + text, transparent bg) ── */
.marquee-outline {
    background: transparent;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 0 24px rgba(248, 155, 31, 0.12), inset 0 0 24px rgba(248, 155, 31, 0.04);
    transform: rotate(1deg) translateY(-6px);
    padding: 14px 0;
}

.marquee-outline .marquee-content span {
    color: var(--accent);
}

.marquee-outline .marquee-content .marquee-dot {
    color: rgba(248, 155, 31, 0.4);
}

.marquee-reverse {
    animation: marqueeScrollReverse 32s linear infinite;
}

@keyframes marqueeScrollReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
    }
    .marquee-reverse {
        animation: none;
    }
}

/* ========================================
   Section Header — Decorative Bracket Accent
   ======================================== */
.section-header {
    position: relative;
}

/* Ghost bracket removed — was causing title artifacts */

/* ========================================
   Services & Projects grid overlay — REMOVED (caused artifacts)
   ======================================== */

/* Stat card blob decoration — REMOVED (caused artifacts on mobile) */

/* ========================================
   Section label — accent underline tick
   ======================================== */
.section-label {
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-header.visible .section-label::after {
    transform: scaleX(1);
}

/* ========================================
   Hamburger Icon (animated)
   ======================================== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform-origin: center;
}

body.theme-light .hamburger span { background: #fff; }
body.theme-light .site-header.scrolled .hamburger span { background: var(--text); }

.nav-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Full-Screen Nav Drawer
   ======================================== */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-drawer.open {
    opacity: 1;
    visibility: visible;
}

.nav-drawer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.nav-drawer-links a {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text);
    padding: 8px 20px;
    border-radius: var(--radius);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, color 0.3s ease, background 0.3s ease;
}

.nav-drawer.open .nav-drawer-links a {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation per link */
.nav-drawer-links a:nth-child(1) { transition-delay: 0.06s; }
.nav-drawer-links a:nth-child(2) { transition-delay: 0.12s; }
.nav-drawer-links a:nth-child(3) { transition-delay: 0.18s; }
.nav-drawer-links a:nth-child(4) { transition-delay: 0.24s; }
.nav-drawer-links a:nth-child(5) { transition-delay: 0.30s; }
.nav-drawer-links a:nth-child(6) { transition-delay: 0.36s; }

.nav-drawer-links a:hover {
    color: var(--accent);
    background: var(--accent-subtle);
}

.nav-drawer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: var(--radius-button);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s, opacity 0.4s ease 0.42s, background 0.3s ease;
}

.nav-drawer.open .nav-drawer-cta {
    transform: translateY(0);
    opacity: 1;
}

.nav-drawer-cta:hover {
    background: var(--accent-hover);
}

.nav-drawer-social {
    display: flex;
    gap: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.50s, opacity 0.4s ease 0.50s;
}

.nav-drawer.open .nav-drawer-social {
    transform: translateY(0);
    opacity: 1;
}

.nav-drawer-social a {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-drawer-social a:hover {
    color: var(--accent);
}

/* Stats Counter Bar — REMOVED (duplicate of about-stats cards) */

/* ========================================
   Video Showcase Section
   ======================================== */
.video-section {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.video-card--featured {
    grid-row: 1 / 3;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-card--featured video {
    aspect-ratio: auto;
    height: 100%;
}

.video-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-card--featured {
        grid-row: auto;
    }
    .video-card--featured video {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

/* ========================================
   Utility & Emergency Services Grid
   ======================================== */
.utility-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 12px;
}

.utility-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
}

.utility-card--tall {
    grid-row: span 2;
}

.utility-card--ba {
    height: auto;
}

.utility-card--ba .ba-card {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: 3 / 4;
}

.utility-card--ba .ba-card .ba-after img,
.utility-card--ba .ba-card .ba-before img {
    height: 100%;
    object-fit: cover;
}

.utility-card--ba .utility-card-overlay {
    z-index: 5;
}

.utility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.utility-card:hover img {
    transform: scale(1.05);
}

.utility-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.utility-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(0,0,0,0.5);
    padding: 3px 8px;
    border-radius: 4px;
}

.utility-label {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .utility-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
    }
}

@media (max-width: 768px) {
    .utility-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .utility-card {
        aspect-ratio: 4 / 3;
    }
    .utility-card--tall {
        grid-row: span 2;
        aspect-ratio: auto;
    }
    .utility-card--ba {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 480px) {
    .utility-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .utility-card {
        aspect-ratio: 4 / 3;
    }
    .utility-card--tall {
        grid-row: span 1;
        aspect-ratio: 3 / 4;
    }
    .utility-card--ba {
        aspect-ratio: 3 / 4;
    }
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item .faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
    opacity: 0;
}

.faq-item[open] .faq-answer-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer {
    overflow: hidden;
    padding: 0 4px;
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.94rem;
}

.faq-item[open] .faq-answer {
    padding-bottom: 22px;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer a:hover {
    color: var(--accent-hover);
}

/* ========================================
   Gallery Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

/* Ensure grid theme lines don't bleed through lightbox */
body.theme-grid .lightbox {
    background: rgba(0,0,0,0.97);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    max-width: 80%;
    pointer-events: none;
}

/* ========================================
   Sticky Mobile CTA
   ======================================== */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .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);
    }

    .sticky-mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 15px 20px;
        background: var(--accent);
        color: #000;
        font-weight: 800;
        font-size: 0.88rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-align: center;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35),
                    0 0 0 1px rgba(248, 155, 31, 0.15);
        transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    }

    .sticky-mobile-cta a:hover {
        background: var(--accent-hover);
    }

    /* Invert when overlapping orange CTA banner */
    .sticky-mobile-cta.cta-inverted a {
        background: #000;
        color: var(--accent);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(248, 155, 31, 0.3);
    }

    .sticky-mobile-cta a i {
        font-size: 1rem;
    }

    /* Pad footer so CTA doesn't cover content */
    .site-footer {
        padding-bottom: 60px;
    }
}
