/*
 * AWSDELTA Theme - Obsidian Estate
 * V2C Design + V2D Lottie Integration
 * Midnight glass panels + molten gold accents
 */

:root {
    /* Gold Palette */
    --gold-soft: #f8e4b0;
    --gold-rich: #d1a347;
    --gold-deep: #b9852a;
    --gold-glow: rgba(244, 205, 119, 0.45);
    --gold-gradient: linear-gradient(120deg, #f8e4b0 0%, #d1a347 45%, #f0cd78 70%, #c18519 100%);

    /* Dark Palette */
    --onyx: #05060e;
    --ink: #0b1527;
    --midnight: #121f34;
    --navy: #1a2f4c;
    --steel: #6e7c92;
    --cloud: #f5f5f5;
    --white: #ffffff;

    /* Grid & Panel */
    --grid-line: rgba(255, 255, 255, 0.04);
    --grid-line-strong: rgba(241, 197, 103, 0.1);
    --panel: rgba(8, 13, 26, 0.78);
    --panel-stroke: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-display: 'Archivo Black', 'Impact', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --max-width: 1200px;
    --max-wide: 1400px;
    --padding: clamp(1.25rem, 4vw, 4rem);
    --header-height-expanded: 117px;
    --header-height-compact: 90px;
}

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

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: radial-gradient(circle at 20% 20%, #182b4b 0%, #040610 55%, #03040b 100%);
    color: var(--cloud);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(243, 212, 139, 0.15), transparent 45%),
        linear-gradient(120deg, rgba(46, 71, 117, 0.5), transparent);
    opacity: 0.4;
    pointer-events: none;
    z-index: -2;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

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

/* Section Typography */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.section-label::before {
    content: '////';
    font-size: 0.6rem;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--cloud);
    margin: 0.5rem 0 1.5rem;
}

.section-title em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== Header ===== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height-expanded);
    padding: 0 var(--padding);
    z-index: 1000;
    background: rgba(2, 6, 15, 0.7);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: height 0.4s ease, background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    height: var(--header-height-compact);
    background: rgba(2, 4, 9, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.55);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-wide);
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 1 auto;
    transition: gap 0.4s ease;
}

.header.scrolled .logo { gap: 1rem; }

.logo img {
    height: 62px;
    filter: drop-shadow(0 5px 12px rgba(0,0,0,0.45));
    transition: height 0.4s ease;
}

.header.scrolled .logo img { height: 52px; }

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.65rem;
}

.header.scrolled .logo-text { padding-top: 0; }

.logo-name {
    font-family: var(--font-display);
    font-size: 1.18rem;
    letter-spacing: 0.08em;
    line-height: 0.96;
    transition: font-size 0.4s ease;
}

.logo-tagline {
    font-family: var(--font-display);
    font-size: 1.02rem;
    letter-spacing: 0.06em;
    line-height: 0.96;
    color: var(--cloud);
    white-space: nowrap;
    transition: font-size 0.4s ease;
}

.header.scrolled .logo-name,
.header.scrolled .logo-tagline { font-size: 1.1rem; }

.header.scrolled .logo-name {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
}

.header.scrolled .logo-tagline {
    letter-spacing: 0.12em;
    white-space: normal;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.91rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.9rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.header.scrolled .nav-link {
    font-size: 0.7rem;
    padding: 0.75rem 1.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-soft);
    border-color: var(--gold-soft);
    box-shadow: 0 0 18px rgba(247, 210, 128, 0.35);
}

.nav-dropdown { position: relative; }
.nav-dropdown .nav-link::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link::after { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 240px;
    background: rgba(4, 8, 18, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-category {
    display: block;
    padding: 0.75rem 1.25rem 0.25rem;
    font-family: var(--font-mono);
    letter-spacing: 0.3em;
    font-size: 0.6rem;
    color: var(--gold-soft);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}

.dropdown-menu a:hover {
    color: var(--gold-soft);
    background: rgba(255, 255, 255, 0.03);
    padding-left: 1.5rem;
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    color: var(--cloud);
    transition: font-size 0.4s ease;
}

.header.scrolled .header-phone { font-size: 0.8rem; }

.phone-text {
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.phone-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: var(--panel);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: width 0.4s ease, height 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled .phone-icon { width: 42px; height: 42px; }

.phone-icon svg { stroke: var(--gold-soft); }

.header-phone:hover .phone-icon {
    border-color: var(--gold-soft);
    box-shadow: 0 0 30px var(--gold-glow);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.55rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: var(--gold-gradient);
    border: none;
    color: #1e1e1e;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    transition: font-size 0.4s ease, padding 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled .cta-button {
    padding: 0.8rem 1.75rem;
    font-size: 0.7rem;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.35rem;
    z-index: 1000;
    position: relative;
}

.menu-toggle span {
    width: 34px;
    height: 3px;
    background: var(--cloud);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header.scrolled .menu-toggle span {
    width: 26px;
    height: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(1, 4, 9, 0.98);
    backdrop-filter: blur(28px);
    display: none;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active { display: block; }

.mobile-nav-close {
    position: sticky;
    top: 0;
    right: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--gold-soft);
    cursor: pointer;
    z-index: 1000;
    padding: 1rem;
}

.mobile-nav-close svg {
    stroke: currentColor;
}

.mobile-nav-close:hover {
    color: var(--white);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--padding) 2rem;
    min-height: 100vh;
}

.mobile-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--gold-soft);
    padding-left: 0.5rem;
}

.mobile-contact-cta {
    margin-top: 1rem;
    padding: 1rem !important;
    text-align: center;
    background: var(--gold-gradient);
    color: #1a1a1a !important;
    border-radius: 0.5rem;
    border: none !important;
    font-weight: 600;
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    font-size: 0.9rem;
}

.mobile-nav-footer a {
    color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0.5rem 0;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 640px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 90px;
    background: radial-gradient(circle at top right, rgba(247,210,128,0.15), transparent 40%), #04060d;
}

.hero-slider::before,
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-slider::before {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 120px 120px;
    animation: gridPulse 8s linear infinite;
}

.hero-slider::after {
    background: radial-gradient(circle at 20% -10%, rgba(247,210,128,0.25), transparent 50%),
        linear-gradient(120deg, rgba(9,18,32,0.9), rgba(9,18,32,0.2), transparent);
    mix-blend-mode: lighten;
    opacity: 0.4;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.75) brightness(0.65);
    transform: scale(1.08);
    transition: transform 2.5s ease;
}

.hero-slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.slide-content {
    position: relative;
    z-index: 5;
    padding: clamp(6rem, 10vh, 8rem) var(--padding) clamp(2rem, 4vw, 3rem);
    max-width: 620px;
}

.slide-label {
    font-family: var(--font-mono);
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold-soft);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    margin: 1rem 0;
    text-transform: uppercase;
    line-height: 1.05;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.slide-title em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.95));
}

.slide-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-mono);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    border: 1px solid transparent;
    color: #10131a;
    background: var(--gold-gradient);
    box-shadow: 0 20px 45px rgba(6, 7, 10, 0.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(7, 5, 2, 0.65);
}

.slider-controls {
    position: absolute;
    bottom: clamp(1.5rem, 4vw, 3rem);
    right: var(--padding);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.slider-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
}

.progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    width: 0;
}

.slider-pause {
    position: absolute;
    left: var(--padding);
    bottom: calc(200px + 3rem);
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #1a1a1a;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-pause:hover {
    background: #ffffff;
    border-color: #FFD700;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slider-pause svg {
    stroke: #1a1a1a;
    width: 24px;
    height: 24px;
}

.slider-nav { display: flex; gap: 1rem; }
.slider-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.slider-dot.active,
.slider-dot:hover { opacity: 1; }

.dot-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: var(--gold-soft);
}

.dot-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.slide-counter {
    position: absolute;
    bottom: clamp(2rem, 6vw, 4rem);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: flex-end;
    gap: 0.35rem;
    font-family: var(--font-mono);
    z-index: 6;
}

.slide-counter .current {
    font-size: 3rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-counter .total {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Docked Services Bar ===== */
.docked-services {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(180deg, transparent 0%, rgba(3,6,12,0.85) 30%, rgba(3,6,12,0.97) 100%);
    padding: 2.5rem var(--padding) 1.5rem;
}

.docked-services-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.docked-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.5rem;
    text-decoration: none;
    color: var(--steel);
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}

.docked-service:hover {
    color: var(--gold-soft);
    background: rgba(247, 210, 128, 0.08);
}

.docked-service:hover .service-icon {
    transform: translateY(-3px);
}

.service-icon {
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon lottie-player {
    width: 120px;
    height: 120px;
}

.docked-service-label {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .docked-services-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    .docked-service {
        padding: 0.75rem 0.25rem;
    }
    .service-icon { width: 90px; height: 90px; }
    .service-icon lottie-player { width: 90px; height: 90px; }
    .docked-service-label { font-size: 1rem; }
}

@media (max-width: 480px) {
    .docked-services-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Stats Strip ===== */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 6vw, 4rem);
    padding: 2.5rem var(--padding);
    background: linear-gradient(90deg, rgba(241, 197, 103, 0.08), rgba(255, 255, 255, 0.02), rgba(241, 197, 103, 0.08));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: var(--font-mono);
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, rgba(249, 206, 125, 0.8), transparent);
}

/* ===== Services Section ===== */
.services-section {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: linear-gradient(180deg, #060b16 0%, #0f1c32 70%, #06080e 100%);
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.25;
    pointer-events: none;
}

.section-intro { position: relative; z-index: 2; margin-bottom: 3rem; }

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    display: block;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(200, 200, 200, 0.4);
    border-radius: 1.25rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 60px rgba(0,0,0,0.45);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease;
    text-decoration: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(249, 206, 125, 0.6);
}

.service-card:hover::after,
.service-card:focus-within::after { opacity: 1; }

.service-number {
    font-family: var(--font-mono);
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--navy);
}

.card-icon {
    margin: 1.5rem 0 2rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.card-icon lottie-player {
    width: 180px !important;
    height: 180px !important;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 1rem 0 0.75rem;
    color: var(--ink);
}

.service-desc {
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--gold-deep);
}

.service-link svg { transition: transform 0.25s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ===== AWSE Standard ===== */
.awse-standard-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #04060c;
}

.awse-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.awse-value {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.awse-value::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.awse-value:hover::before { opacity: 1; }

.awse-letter {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold-soft);
}

.awse-title {
    font-family: var(--font-display);
    color: var(--cloud);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.awse-desc { color: rgba(255, 255, 255, 0.7); }

.awse-summary {
    margin-top: 3rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

/* ===== Projects ===== */
.projects-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: linear-gradient(180deg, #05070f 0%, #0b1527 70%, #03040a 100%);
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.15;
}

.section-header-row {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-desc-right {
    max-width: 420px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.projects-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 1.5rem;
}

/* Placeholder project cards */
.project-item.placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(3, 4, 9, 0.8) 100%);
    border: 2px dashed rgba(212, 175, 55, 0.3);
}

.project-item.placeholder .project-overlay {
    opacity: 1;
    background: transparent;
}

.project-item.placeholder .coming-soon {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: rgba(212, 175, 55, 0.6);
    margin-top: 0.5rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
}

.project-item.large { grid-column: span 2; }

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: saturate(0.9);
}

.project-item:hover img { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(3, 4, 9, 0.9));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-item:hover .project-overlay { opacity: 1; }

.project-category {
    font-family: var(--font-mono);
    letter-spacing: 0.4em;
    font-size: 0.6rem;
    color: var(--gold-soft);
}

.project-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-top: 0.35rem;
}

.project-sqft {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Project cards as links */
.project-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Project Detail Pages ===== */
.project-detail-page .project-hero {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.project-category-label {
    font-family: var(--font-mono);
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.project-details {
    padding: 4rem 0;
    background: var(--bg-darker);
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .project-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold-soft);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

.project-description {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.description-content h2 em {
    color: var(--gold-soft);
    font-style: normal;
}

.description-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.project-gallery {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.project-gallery h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #fff;
}

.project-gallery h2 em {
    color: var(--gold-soft);
    font-style: normal;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery placeholder for coming soon */
.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
}

.placeholder-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.placeholder-message svg {
    stroke: rgba(212, 175, 55, 0.4);
    margin-bottom: 1rem;
}

.placeholder-message p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 12, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border: 2px solid var(--gold-soft);
    border-radius: 1rem;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    background: var(--gold-gradient);
    color: #1c1508;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.lightbox-close { top: 2rem; right: 2rem; }
.lightbox-arrow.prev { left: 2rem; }
.lightbox-arrow.next { right: 2rem; }

/* ===== Location ===== */
.location-section { position: relative; background: #04050b; }

.location-content {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    min-height: 560px;
}

.location-info {
    padding: clamp(3rem, 7vw, 5rem) var(--padding);
    background: linear-gradient(180deg, rgba(241, 197, 103, 0.15), rgba(4, 5, 11, 0));
    position: relative;
}

.location-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}

.location-info > * { position: relative; z-index: 2; }

.location-desc {
    color: rgba(10, 12, 18, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.location-address-block {
    background: rgba(255,255,255,0.9);
    color: #1a1d24;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.address-line strong {
    font-size: 1.2rem;
    color: #1c222c;
}

.address-line span { color: #5f6572; display: block; }

.address-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: var(--gold-gradient);
    color: #1b1509;
    font-family: var(--font-mono);
    letter-spacing: 0.3em;
    font-size: 0.6rem;
}

.location-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: #1a1d24;
}

.location-link svg { stroke: currentColor; opacity: 0.7; }

.location-map {
    min-height: 560px;
    background: radial-gradient(circle at center, rgba(12, 24, 44, 0.9), #04060c);
    position: relative;
}

.location-map::before {
    content: '';
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-image: var(--gold-gradient) 1;
    opacity: 0.4;
}

.location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1) brightness(0.85);
}

/* ===== Contact ===== */
.contact-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #020409;
}

.contact-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
}

.contact-card {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 40px 60px rgba(0,0,0,0.4);
}

.contact-headline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    background: rgba(255,255,255,0.02);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
}

.feature-icon svg { stroke: currentColor; }

.feature-text strong {
    display: block;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--cloud);
}

.feature-text span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.contact-form-wrapper {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 40px 60px rgba(0,0,0,0.35);
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info strong { color: var(--gold-soft); font-family: var(--font-mono); letter-spacing: 0.3em; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    color: var(--cloud);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-soft);
    box-shadow: 0 0 30px rgba(247,210,128,0.25);
}

.form-group textarea { min-height: 160px; resize: vertical; }

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1.15rem 2rem;
    font-family: var(--font-mono);
    letter-spacing: 0.4em;
    background: var(--gold-gradient);
    border: none;
    color: #1b1509;
    border-radius: 999px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.65);
}

#form-message {
    display: none;
    border-radius: 0.75rem;
}

/* ===== Footer ===== */
.footer {
    background: #01030a;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.15;
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 3rem;
    padding: clamp(3rem, 8vw, 5rem) var(--padding);
    max-width: var(--max-wide);
    margin: 0 auto;
}

.footer-brand img { width: 180px; }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    color: var(--gold-soft);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(255, 255, 255, 0.65); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    font-size: 0.65rem;
}

/* ===== Blueprint Grid Utility ===== */
.blueprint-grid::before,
.blueprint-grid-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.2;
    pointer-events: none;
    animation: gridPulse 10s linear infinite;
}

.blueprint-grid-light::before { opacity: 0.12; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .awse-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 320px; }
    .project-item.large { grid-column: span 1; }
    .location-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav { display: none; }
    .header-actions { display: none; }
    .menu-toggle { display: flex; }
    .slider-controls { display: none; }
    .slide-content { max-width: none; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
    .mobile-phone { display: inline-block; margin-left: auto; }
}

@media (max-width: 768px) {
    /* Hide docked services on mobile */
    .docked-services { display: none; }

    /* Hide pause button on mobile */
    .slider-pause { display: none; }

    /* Adjust hero slide titles - prevent overflow */
    .slide-title {
        font-size: clamp(2rem, 10vw, 3rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Adjust section titles for mobile */
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    /* Hero slider content padding adjustment */
    .slide-content {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    /* Extension page hero title */
    .extension-hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    /* Capabilities section title */
    .capabilities h2,
    .extension-gallery h2,
    .extension-cta h2,
    .process-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Capabilities grid - single column on mobile */
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Hide slide counter (01/04) on mobile */
    .slide-counter {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-slider { min-height: 600px; }
    .services-grid, .awse-grid, .capabilities-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stats-strip { flex-direction: column; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 240px); }
    .project-item.large { grid-column: span 1; }

    /* Further reduce hero title on very small screens */
    .slide-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    /* Reduce section titles further */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Extension hero on small screens */
    .extension-hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

/* ===== Animations ===== */
@keyframes gridPulse {
    0% { opacity: 0.15; }
    50% { opacity: 0.35; }
    100% { opacity: 0.15; }
}

/* ===== Extension Page Styles ===== */
.extension-page {
    --page-accent: var(--gold-rich);
}

.extension-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--onyx) 0%, var(--ink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 90px;
}

.extension-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(209,163,71,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(209,163,71,0.05) 0%, transparent 50%);
}

.extension-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem var(--padding);
}

.hero-icon lottie-player {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.extension-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold-rich);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.service-overview {
    padding: 6rem var(--padding);
    background: var(--onyx);
}

.service-overview .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.overview-content h2 {
    font-family: var(--font-display);
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.overview-features {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 2rem;
}

.overview-features h3 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.overview-features ul {
    list-style: none;
}

.overview-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overview-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold-rich);
    border-radius: 50%;
    flex-shrink: 0;
}

.capabilities {
    padding: 6rem var(--padding);
    background: linear-gradient(180deg, var(--ink) 0%, var(--midnight) 100%);
}

.capabilities h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cloud);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.capabilities h2 em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.capability-card {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-rich);
}

.capability-card h3 {
    font-family: var(--font-display);
    color: var(--gold-soft);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.capability-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.extension-gallery {
    padding: 6rem var(--padding);
    background: var(--onyx);
}

.extension-gallery h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cloud);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid var(--panel-stroke);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.extension-cta {
    padding: 6rem var(--padding);
    background: linear-gradient(135deg, var(--midnight) 0%, var(--ink) 100%);
    text-align: center;
}

.extension-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cloud);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.extension-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.extension-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    background: var(--gold-gradient);
    color: #10131a;
    border: none;
    border-radius: 0;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extension-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

@media (max-width: 900px) {
    .service-overview .container {
        grid-template-columns: 1fr;
    }
}

/* ===== Process Section ===== */
.process-section {
    padding: 6rem var(--padding);
    background: linear-gradient(180deg, var(--onyx) 0%, var(--ink) 100%);
}

.process-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cloud);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.process-section h2 em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.process-step {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold-soft);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.process-step ul {
    list-style: none;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.process-step li {
    padding: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
}

.process-step li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--gold-rich);
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
}

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

/* ===== Clients Section ===== */
.clients-section {
    padding: 5rem var(--padding);
    background: var(--onyx);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-section .section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-section .section-desc {
    margin: 0 auto;
    text-align: center;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.client-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.25rem;
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 2rem;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.client-tag:hover {
    border-color: var(--gold-soft);
    color: var(--gold-soft);
    background: rgba(209, 163, 71, 0.08);
}

/* ===== Door Services Grid ===== */
.door-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.door-service-card {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.door-service-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--gold-soft);
    margin-bottom: 0.75rem;
}

.door-service-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--cloud);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.door-service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .door-services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===== Project Sidebar & Details (Single Project Pages) ===== */
.project-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    max-width: var(--max-wide);
    margin: 3rem auto;
    padding: 0 var(--padding);
}

.project-sidebar {
    position: sticky;
    top: calc(var(--header-height-compact) + 2rem);
    align-self: start;
}

.project-details-box {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.details-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.detail-value {
    font-size: 0.95rem;
    color: var(--cloud);
    line-height: 1.5;
}

.project-main-content {
    min-width: 0;
}

.project-overview,
.project-challenge,
.project-solution {
    margin-bottom: 3rem;
}

.project-overview h2,
.project-challenge h3,
.project-solution h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}

.project-overview p,
.project-challenge p,
.project-solution p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.project-sector-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(209, 163, 71, 0.1);
    border: 1px solid var(--gold-rich);
    border-radius: 2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-sidebar {
        position: static;
    }
}

/* ===== Clients Rotator (Homepage) ===== */
.clients-rotator {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding: 2rem 0;
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: scroll-clients 60s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.client-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--gold-soft);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.client-item img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
}

.client-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .clients-track {
        gap: 1.5rem;
    }

    .client-item {
        min-width: 140px;
        height: 80px;
    }

    .client-item img {
        max-width: 110px;
        max-height: 55px;
    }
}

/* ===== Service Page (page-service.php) ===== */
.service-hero {
    position: relative;
    padding: clamp(8rem, 15vh, 12rem) var(--padding) clamp(4rem, 8vh, 6rem);
    background: linear-gradient(135deg, var(--midnight) 0%, var(--onyx) 100%);
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(209,163,71,0.15) 0%, transparent 50%),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100px 100px, 100px 100px;
    opacity: 0.3;
    animation: gridPulse 8s linear infinite;
}

.service-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.service-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-mono);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    background: var(--gold-gradient);
    color: #10131a;
    border-radius: 0;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-hero-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.65);
}

.service-intro {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--onyx);
}

.service-intro .container {
    max-width: 900px;
}

.service-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.service-features {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(180deg, var(--ink) 0%, var(--midnight) 100%);
    position: relative;
}

.service-features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.2;
}

.service-features h2 {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}

.service-features h2 em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold-rich);
}

.feature-icon {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    background: var(--gold-gradient);
    border-radius: 50%;
}

.feature-item span {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-list-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--onyx);
}

.service-list-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cloud);
}

.service-list-section h2 em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-numbered-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.service-numbered-item {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-numbered-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold-rich);
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.service-item-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 0.75rem;
}

.service-item-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.service-process {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(180deg, var(--ink) 0%, var(--midnight) 100%);
}

.service-process h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}

.service-process h2 em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.process-step {
    background: var(--panel);
    border: 1px solid var(--panel-stroke);
    border-radius: 1rem;
    padding: 1.75rem;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.service-projects {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--onyx);
}

.service-projects h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cloud);
}

.service-cta {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--ink) 100%);
    text-align: center;
}

.service-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--cloud);
}

.service-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .services-numbered-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .services-numbered-list {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ===== Mobile Overrides (must be last) ===== */
@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* ===== Service Page - 2-Column Layout (matches awseinc.com) ===== */

/* Intro Section with 2-Column Grid */
.service-intro-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(180deg, #05060e 0%, #0b1527 100%);
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: var(--max-wide);
    margin: 0 auto;
}

/* Left Column - Intro Content */
.service-intro-content {
    padding-right: 2rem;
}

.service-intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--cloud);
}

.service-intro-title em {
    font-style: italic;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-intro-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

/* Right Column - Features Sidebar */
.service-features-sidebar {
    background: rgba(8, 13, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 2rem;
}

.features-sidebar-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--cloud);
}

.features-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-sidebar-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.features-sidebar-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--gold-rich);
    font-size: 0.75rem;
}

.features-sidebar-list li:last-child {
    margin-bottom: 0;
}

/* Service Programs Grid */
.service-programs-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--midnight);
    position: relative;
}

.service-programs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
}

.service-programs-section .section-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cloud);
}

.service-programs-section .section-title em {
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-programs-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.service-program-card {
    background: rgba(8, 13, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-program-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-rich);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-program-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--cloud);
    line-height: 1.3;
}

.service-program-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-intro-content {
        padding-right: 0;
    }

    .service-features-sidebar {
        position: static;
    }

    .service-programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-programs-grid {
        gap: 1.5rem;
    }

    .service-program-card {
        padding: 2rem;
    }
}
