/* ============================================
   IŞIK MİMARLIK - Stylesheet
   ============================================ */

/* ---- Image Protection ---- */
img, video {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}
/* Re-enable pointer events for clickable gallery items and links */
a img, .clickable-img, .gallery-item img, .gallery-item,
.project-card img, .project-card, .carousel-item, .carousel-item video,
.panel-bg, .hotspot, .compare-before, .compare-after,
.pano-preview-img, .immersive-img {
    pointer-events: auto;
}
:root {
    --bg-primary: #e8e4dc;
    --bg-secondary: #dfdbd1;
    --bg-tertiary: #d6d2c8;
    --bg-card: rgba(0, 0, 0, 0.04);
    --bg-card-hover: rgba(0, 0, 0, 0.07);
    --bg-glass: rgba(232, 228, 220, 0.8);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #000000;
    --text-secondary: #222222;
    --text-tertiary: #333333;
    --accent: #a68b5a;
    --accent-light: #c2ac7f;
    --accent-dark: #8c764b;
    --accent-glow: rgba(166, 139, 90, 0.12);
    --font-heading: 'Playfair Display', 'Times New Roman', serif;
    --font-accent: 'Playfair Display', 'Times New Roman', serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;
    /* Fluid section padding: 60px on mobile → 120px on desktop */
    --section-padding: clamp(60px, 8vh, 140px);
    --container-width: 1480px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ============================================
   1920x1080 DESKTOP OPTIMIZATION
   ============================================ */
@media (min-width: 1600px) {
    :root {
        --container-width: 1560px;
    }
}

@media (min-width: 1920px) {
    :root {
        --container-width: 1720px;
    }

    .hero-content {
        left: 5vw;
        max-width: 700px;
    }

    .hero-title {
        font-size: clamp(4rem, 5.5vw, 6rem) !important;
        max-width: 50vw !important;
    }

    .hero-desc {
        font-size: 1.35rem !important;
        max-width: 36vw !important;
    }

    .section-title {
        font-size: clamp(3rem, 4.5vw, 5rem);
    }

    .brand-logo {
        height: 95px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    /* contact-grid gap is fluid via clamp() — no override needed for 1920px */
}

/* ============================================
   MOBILE 1080x1920 OPTIMIZATION
   (CSS pixels: ~360-430px depending on DPR)
   ============================================ */
@media (max-width: 430px) {
    /* --section-padding is now fluid via clamp() — no override needed */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 4px;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.78rem;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    cursor: none; /* Hide default cursor */
}

@media (max-width: 1024px) {
    html { 
        cursor: auto; 
        -webkit-overflow-scrolling: touch; 
        scroll-behavior: auto !important; /* Instagram-like native momentum */
    }
}

/* Dark Mode */
body.dark-mode {
    --bg-primary: #1a1a1f;
    --bg-secondary: #222228;
    --bg-tertiary: #2a2a32;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(26, 26, 31, 0.8);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f0ece4;
    --text-secondary: #c8c4bc;
    --text-tertiary: #a09e96;
    --accent-glow: rgba(166, 139, 90, 0.2);
}

body.dark-mode .navbar {
    background: #1a1a1f;
}

body.dark-mode .navbar.scrolled {
    background: rgba(26, 26, 31, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .sticky-wrapper {
    background: #1a1a1f;
}

body.dark-mode .hero-title {
    color: #f0ece4;
    text-shadow: none;
}

body.dark-mode .hero-desc {
    color: #c8c4bc;
    text-shadow: none;
}

body.dark-mode .brand-logo {
    filter: brightness(0) invert(1);
}

body.dark-mode .cookie-banner {
    background: rgba(40, 40, 48, 0.9);
}

/* Utility Buttons (Dark Mode + Language) */
.nav-utility {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    flex-shrink: 0;
}

.util-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0;
}

.util-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: scale(1.1);
}

.util-btn svg {
    width: 18px;
    height: 18px;
}

.util-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .nav-utility {
        display: flex; /* Back to flex in container instead of fixed if possible, but let's just fix the positioning */
        position: absolute;
        right: 75px; 
        top: 50%;
        transform: translateY(-50%);
        z-index: 10002;
        margin-left: 0;
        gap: 12px;
    }

    .util-btn {
        width: 34px;
        height: 34px;
    }
}

/* Custom Cursor Styles */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 999999;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 999998;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

/* Hover States for Interactive Elements */
.cursor-dot.active {
    width: 40px;
    height: 40px;
    background-color: var(--accent-glow);
    border: 1px solid var(--accent);
}

.cursor-outline.active {
    opacity: 0;
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none; }
    html { cursor: auto; }
}

.hidden {
    display: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    /* Fluid horizontal padding: 16px on mobile → 40px on desktop */
    padding: 0 clamp(16px, 4vw, 60px);
}

@media (max-width: 600px) {
    .container { padding: 0 clamp(14px, 4vw, 20px); }
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    /* Removed scroll-snap from standard sections as requested */
}

@media (max-width: 1024px) {
    .section { 
        scroll-snap-align: none !important; /* Ensure standard scroll for other sections */
    }
}

/* Section Headers */
.section-header {
    margin-bottom: clamp(40px, 6vw, 72px);
}

.section-tag {
    display: inline-block;
    font-size: clamp(0.7rem, 0.85vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    padding-left: 45px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--accent);
    font-style: italic;
}

/* Navbar */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    height: 70px;
    transition: var(--transition-base);
    background: var(--bg-primary);
}

.navbar.scrolled {
    background: rgba(232, 228, 220, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .navbar { height: 60px; }
    .nav-links { display: none; }
    /* section padding is fluid via clamp() on --section-padding */
}

.nav-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    position: relative !important;
    left: auto;
    top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10001 !important;
    flex-shrink: 0;
}

@media (min-width: 1025px) {
    .logo {
        left: auto !important;
        top: auto !important;
        margin-left: 1vw;
    }
}

.brand-logo {
    height: 85px; /* Orijinal boyuta geri dönüldü */
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
    transform-origin: left center;
}

.navbar.scrolled .brand-logo {
    height: 65px; /* Kaydırıldığında dengeli bir büyüklüğe sahip oldu */
}

@media (max-width: 1024px) {
    .brand-logo { height: 60px; }
}

@media (max-width: 768px) {
    .brand-logo { height: 50px; }
}

.nav-links {
    position: relative !important;
    right: auto;
    top: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 10001 !important;
}

@media (min-width: 1025px) {
    .nav-links {
        right: auto !important;
        top: auto !important;
        gap: 2vw;
        margin-right: 1vw;
    }
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 50px;
    color: var(--accent) !important;
}

/* Featured Collection Nav Item (Iris Theme) */
.nav-links a.nav-collection {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 25%, #9370db 50%, #e0e0e0 75%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    padding-left: 28px;
    background-size: 200% auto;
    animation: shineSilverNav 8s infinite linear;
}

@keyframes shineSilverNav {
    to { background-position: 200% center; }
}

.nav-links a.nav-collection::before {
    content: '';
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #e0e0e0; /* Platin/Gümüş */
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4.5 9L12 22L19.5 9L12 2ZM5.2 9L12 3.3L18.8 9L12 14.5L5.2 9Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4.5 9L12 22L19.5 9L12 2ZM5.2 9L12 3.3L18.8 9L12 14.5L5.2 9Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    animation: sparkleIris 3s ease-in-out infinite;
}

.nav-links a.nav-collection::after {
    background: #9370DB !important;
}

@keyframes sparkleIris {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); text-shadow: 0 0 8px #FFD700; }
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--bg-primary) !important;
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition-base);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Scroll Animation Styles */
.scroll-area {
    position: relative;
    height: 200vh;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    /* Removed scroll-snap for fluid mobile experience */
}

@media (max-width: 768px) {
    .scroll-area {
        height: 220vh; /* Balanced speed: 150 was too fast, 300 too slow */
        width: 100% !important;
    }
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    padding-top: 0; 
    background: var(--bg-primary); 
}

.hero {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden; 
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.arch-drawing {
    position: absolute;
    top: 0;
    transform: none;
    z-index: 1;
    width: 38vw;
    max-width: 700px;
    min-width: 300px;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.arch-drawing.visible {
    opacity: 1;
}

.arch-drawing-left {
    left: 0;
}

.arch-drawing-right {
    right: 0;
}

.arch-drawing-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw !important;
    max-width: 800px !important;
    height: 100vh !important;
    opacity: 0.05 !important;
}

.arch-drawing.visible.arch-drawing-center {
    animation: rotateSlow 80s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.arch-drawing svg {
    width: 100%;
    height: 100%;
}

/* Stroke Draw Animation */
.arch-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0s;
}

.arch-drawing.visible .arch-path {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Tamamen Bağımsız (Asenkron) Çizim Grupları - Sayfa Açılışında Anında Başlar */
.arch-drawing .arch-line-group:nth-child(1) .arch-path { animation: archDrawAsync 30s infinite 0s; }
.arch-drawing .arch-line-group:nth-child(2) .arch-path { animation: archDrawAsync 35s infinite 1.5s; }
.arch-drawing .arch-line-group:nth-child(3) .arch-path { animation: archDrawAsync 28s infinite 0.5s; }
.arch-drawing .arch-line-group:nth-child(4) .arch-path { animation: archDrawAsync 25s infinite 2s; }
.arch-drawing .arch-line-group:nth-child(5) .arch-path { animation: archDrawAsync 32s infinite 1s; }
.arch-drawing .arch-line-group:nth-child(6) .arch-path { animation: archDrawAsync 27s infinite 0s; }
.arch-drawing .arch-line-group:nth-child(7) .arch-path { animation: archDrawAsync 40s infinite 2.5s; }
.arch-drawing .arch-line-group:nth-child(8) .arch-path { animation: archDrawAsync 30s infinite 0.5s; }
.arch-drawing .arch-line-group:nth-child(9) .arch-path { animation: archDrawAsync 32s infinite 1s; }

/* Tekil Asenkron Keyframe (Hızlı başlar, yavaş tamamlanır) */
@keyframes archDrawAsync {
    0% { stroke-dashoffset: 2000; opacity: 0; }
    2% { stroke-dashoffset: 2000; opacity: 1; }
    25% { stroke-dashoffset: 300; opacity: 1; } /* Hızlı ilk kalıp atımı */
    65% { stroke-dashoffset: 0; opacity: 1; }   /* Yavaş detaylandırma */
    90% { stroke-dashoffset: 0; opacity: 1; }   /* Uzun süre ekranda kalma */
    98% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 2000; opacity: 0; }
}

/* Scroll parallax feel */
.arch-drawing-left svg {
    transform: translateY(var(--arch-parallax, 0px));
    transition: transform 0.1s linear;
}

.arch-drawing-right svg {
    transform: translateY(var(--arch-parallax-r, 0px));
    transition: transform 0.1s linear;
}

/* Mobilde Gizle */
@media (max-width: 1024px) {
    .arch-drawing {
        display: none;
    }
}

/* Mobile Hero Optimization */
@media (max-width: 768px) {
    .hero-canvas {
        filter: brightness(var(--hero-brightness, 0.5)); /* Dynamically managed via JS on scroll */
        transform: scale(1.0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(232, 228, 220, 1) 0%, transparent 20%, transparent 80%, rgba(232, 228, 220, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    text-align: center;
}

@media (min-width: 1025px) {
    .hero-content {
        position: absolute;
        left: clamp(32px, 6vw, 100px);
        top: 45%;
        transform: translateY(-50%);
        text-align: left;
        max-width: min(600px, 42vw);
        margin: 0;
        padding: 0;
    }

    .hero-title {
        font-size: clamp(2.8rem, 5vw, 4.8rem);
        margin-bottom: 24px;
        color: var(--text-primary);
        text-shadow: 0 0 30px rgba(232, 228, 220, 0.8);
    }

    .hero-desc {
        font-size: clamp(1rem, 1.2vw, 1.3rem);
        margin-bottom: 40px;
        color: var(--text-secondary);
        max-width: min(450px, 32vw);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    letter-spacing: -0.03em;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: clamp(2.8rem, 5vw, 5.5rem);
        margin-bottom: clamp(16px, 2vw, 36px);
        max-width: min(45vw, 700px);
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: min(520px, 90%);
    margin-bottom: 32px;
    line-height: 1.8;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1025px) {
    .hero-desc {
        font-size: clamp(1rem, 1.2vw, 1.3rem);
        max-width: min(32vw, 480px);
        margin-bottom: clamp(24px, 3vw, 48px);
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 5px;
}

.scroll-line {
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent-glow);
    animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1)
    }

    50% {
        opacity: 0.2;
        transform: scaleY(0.5)
    }
}

.hero-stats {
    position: absolute;
    top: 50%;
    right: clamp(24px, 3.5vw, 60px);
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vh, 40px);
    text-align: right;
}

.stat-item {
    text-align: right;
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.4vw, 1.6rem);
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: clamp(0.6rem, 0.65vw, 0.75rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* About */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.value-item:hover {
    background: var(--bg-card);
}

.value-icon {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-tertiary) !important;
    margin-bottom: 0 !important;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-wrapper img, .about-video {
    width:100%;
    /* Fluid height: 400px on small screens → 800px on large */
    height: clamp(400px, 55vw, 800px);
    object-fit:cover;
    transition:transform 0.8s ease;
    box-shadow: 0 20px 80px rgba(0,0,0,0.15);
}
.about-img-wrapper:hover img, .about-img-wrapper:hover .about-video { transform: none; }

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

/* Services */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    /* minmax(min(280px, 100%), 1fr) ensures single-column on very narrow screens */
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.service-card {
    position: relative;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-8px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 16px;
    right: 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    font-size: 0.7rem;
}

/* Projects */
.projects {
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* Office Project Highlight */
.office-project {
    margin-bottom: 80px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.office-project-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.office-project-media {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.office-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.office-project:hover .office-project-media img {
    transform: scale(1.05);
}

.office-project-info {
    padding: clamp(28px, 4vw, 60px);
    position: relative;
}

.office-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 24px;
}

.office-project-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.office-project-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
}

/* Split Grid Layout */
.projects-split-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default mobile */
    gap: 48px;
}

@media (min-width: 900px) {
    .projects-split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.col-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 12px;
}

.col-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.main-projects-list, .permit-projects-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Project Card Variations */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: var(--transition-base);
}

.project-card.permit-style {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 20px;
}

.project-card.permit-style .project-img {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    aspect-ratio: auto;
}

.project-card.permit-style .project-info {
    padding: 0;
}

.project-card.permit-style h3 {
    font-size: 1.1rem;
    margin: 4px 0;
}

.project-details-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.detail-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

.detail-icon svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

@media (max-width: 899px) {
    .projects-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .office-project-content {
        grid-template-columns: 1fr;
    }
    
    .office-project-media {
        height: 350px;
    }
    
    .office-project-info {
        padding: 40px 24px;
    }
}

.project-card:hover {
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-4px);
}

.project-card.hidden {
    display: none;
}

.project-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

.project-view {
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-info {
    padding: 24px;
}

.project-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 8px 0 4px;
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Team */
.team {
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.team-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    padding: 3px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Contact */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
}

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

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: var(--transition-base);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -8px;
    left: 16px;
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--bg-secondary);
    padding: 0 6px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: clamp(48px, 6vh, 80px) 0 0;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(24px, 3.5vw, 48px);
    padding-bottom: clamp(32px, 4vh, 60px);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

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

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 8px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── 1280px laptop blind spot ── */
@media (max-width: 1280px) {
    .hero-stats {
        right: clamp(16px, 2.5vw, 40px);
    }
    .about-grid {
        gap: clamp(32px, 4vw, 60px);
    }
}

/* Responsive */
@media(max-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-stats {
        display: none;
    }
}

@media(max-width:768px) {
    /* --section-padding is fluid via clamp() — no fixed override needed */
    body { overflow-x: hidden; }

    .nav-container {
        justify-content: flex-start;
        padding: 0 20px;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -110% !important;
        width: 280px !important; /* Reduced from 85% and 400px to a more subtle 280px */
        height: 100vh !important;
        background: var(--bg-glass) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 20px !important; /* Increased gap */
        padding: 40vh 40px 60px !important; /* Moved even lower to 40vh */
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 100000 !important; /* Extremely high z-index */
        text-align: left !important;
        box-shadow: -20px 0 60px rgba(0,0,0,0.15) !important;
        border-left: 1px solid var(--border-glass) !important;
        list-style: none !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    /* Mobile specific menu elements */
    .nav-label-mobile {
        display: block !important;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 5px;
        color: var(--accent);
        margin-bottom: 20px;
        opacity: 0.7;
    }

    /* Removed nav-footer-mobile and social icons as requested */

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px); /* Slide from right */
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        list-style: none !important;
        padding: 5px 0;
        margin: 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(8) { transition-delay: 0.45s; }

    .nav-links a {
        font-family: var(--font-body);
        font-size: 1.4rem; /* Larger font for mobile links */
        font-weight: 600;
        color: var(--text-primary);
        text-transform: none; /* Less aggressive than all-caps */
        letter-spacing: -0.01em;
    }

    .nav-links a.nav-cta {
        margin-top: 10px;
        display: inline-block;
        font-size: 1.1rem;
        padding: 14px 30px !important;
    }
    .nav-links .nav-cta {
        margin-top: 30px;
        background: var(--accent);
        color: #fff !important;
        padding: 12px 30px !important;
        border-radius: 50px;
        font-size: 0.9rem !important;
        text-align: center;
        width: 100%;
        display: block; /* Ensure it's a block on mobile */
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-img-wrapper img, .about-img-wrapper .about-video {
        height: clamp(260px, 55vw, 400px);
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 20px;
        line-height: 1.2;
        font-weight: 800;
        color: #000000;
        text-shadow: 0 0 20px rgba(255,255,255,0.8);
    }

    .hero-desc {
        font-size: clamp(0.95rem, 2.5vw, 1.15rem);
        max-width: 100%;
        margin-bottom: 28px;
        color: #1a1a1a;
        font-weight: 600;
        line-height: 1.5;
        background: transparent;
        backdrop-filter: none;
        padding: 5px 0;
        text-shadow: 0 0 15px rgba(255,255,255,1);
    }

    /* Force project visibility if reveal fails on mobile */
    .project-card.reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem);
        line-height: 1.2;
    }

    .section-tag {
        letter-spacing: 3px;
        font-size: 0.7rem;
    }

    .services-grid, .team-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media(max-width:480px) {
    .hero-title {
        font-size: clamp(1.8rem, 8.5vw, 2.4rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 7.5vw, 2rem);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Banner - Premium Glassmorphism Design */
.cookie-banner {
    position: fixed;
    bottom: -250px; /* Completely out of viewport when hidden */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 10000;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner.active {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(166, 139, 90, 0.3));
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.cookie-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 8px 24px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-actions .btn-primary {
    background: #a68b5a;
    color: #fff;
    border: none;
}

.cookie-actions .btn-outline {
    background: transparent;
    border: 1px solid #a68b5a;
    color: #a68b5a;
}

.cookie-actions .btn-primary:hover {
    background: #c2ac7f;
    transform: translateY(-2px);
}

.cookie-actions .btn-outline:hover {
    background: rgba(166, 139, 90, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        width: calc(100% - 32px);
        padding: 20px;
        bottom: -200px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Project Navigation */
.project-nav-section {
    padding: clamp(48px, 7vh, 100px) 0;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-secondary);
}

.project-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4.5vw, 60px) clamp(20px, 3vw, 40px);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    transition: var(--transition-base);
    overflow: hidden;
}

.project-nav-item.prev {
    align-items: flex-start;
    text-align: left;
}

.project-nav-item.next {
    align-items: flex-end;
    text-align: right;
}

.project-nav-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.project-nav-item:hover .nav-title {
    color: var(--accent);
}

@media (max-width: 768px) {
    .project-nav-grid {
        grid-template-columns: 1fr;
    }
    .project-nav-item {
        padding: 40px 30px;
    }
}

/* ============================================
   Before / After Comparison Slider
   ============================================ */
.compare-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.compare-container {
    display: grid;
    grid-template-columns: minmax(300px, 350px) 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.compare-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 25px;
}

.compare-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    border: 1px solid var(--border-glass);
    touch-action: none; /* PREVENT page scroll while dragging slider */
}

.compare-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.compare-after {
    z-index: 1;
}

.compare-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.compare-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #ffffff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    pointer-events: none;
    transition: transform 0.15s ease;
}

.compare-wrapper:active .compare-handle {
    transform: translate(-50%, -50%) scale(1.15);
}

.compare-handle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.compare-label {
    position: absolute;
    top: 20px;
    z-index: 5;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}

.compare-label-before {
    left: 20px;
}

.compare-label-after {
    right: 20px;
}

@media (max-width: 1024px) {
    .compare-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .compare-wrapper {
        border-radius: var(--radius-md);
        aspect-ratio: 4 / 3;
    }
    .compare-handle {
        width: 40px;
        height: 40px;
    }
    .compare-handle svg {
        width: 18px;
        height: 18px;
    }
    .compare-label {
        font-size: 0.65rem;
        padding: 5px 12px;
    }
}

/* ============================================
   New Experimental Sections
   ============================================ */

/* 1. Process Timeline */
.process-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.process-line {
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--bg-tertiary);
}

.process-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: height 0.1s linear;
}

.process-item {
    position: relative;
    margin-bottom: 80px;
}

.process-dot {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    color: var(--accent);
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 2. Material Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.material-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.material-img {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
}

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

.material-card:hover .material-img {
    transform: scale(1.1);
}

.material-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-base);
}

.material-card:hover .material-info {
    transform: translateY(0);
    opacity: 1;
}

.material-info h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--accent);
}

.material-info p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 3. Parallax Motto */
.motto-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.motto-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.motto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.motto-container {
    position: relative;
    z-index: 2;
    color: white;
}

.motto-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.motto-author {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .motto-section { height: 60vh; }
    .process-container { padding-left: 40px; }
}

/* 4. Horizontal Scroll Section */
.h-scroll-section {
    position: relative;
    padding: clamp(48px, 7vh, 100px) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.h-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    padding: 0 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.h-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.h-scroll-track {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    width: max-content;
}

.h-scroll-item {
    position: relative;
    width: 80vw;
    max-width: 1200px;
    height: 70vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.h-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.h-scroll-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.h-scroll-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
}

.h-scroll-instruction {
    text-align: center;
    margin-top: 40px;
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* 5. Hotspot Section */
.hotspot-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    overflow: hidden;
}

.plan-bg {
    padding: 60px;
    text-align: center;
}

.plan-svg {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.plan-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 5;
}

.hotspot-dot {
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.5;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.hotspot-popover {
    position: absolute;
    width: 300px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-glass);
}

.hotspot-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hotspot-popover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pop-content {
    padding: 20px;
}

.pop-content h4 {
    color: var(--accent);
    margin-bottom: 5px;
}

.pop-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .h-scroll-item { height: 40vh; width: 85vw; }
    .hotspot-popover { 
        width: 280px; 
        position: fixed;
        left: 50% !important;
        bottom: 20px !important;
        top: auto !important;
        transform: translate(-50%, 20px) !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .hotspot-popover.active {
        transform: translate(-50%, 0) !important;
    }
    .plan-bg { padding: 30px 15px; }
}

/* 6. Premium Lightbox System */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.active .lightbox-img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 100005;
    opacity: 0.6;
    transition: 0.3s;
}
.lightbox-close:hover { opacity: 1; }

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 100010;
}
.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.nav-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: scale(1.1);
}
.nav-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    .lightbox-img { max-width: 95%; max-height: 80%; }
    .gallery-nav { padding: 0 15px; }
    .nav-btn { width: 50px; height: 50px; }
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.hotspot-popover img {
    cursor: zoom-in;
    transition: opacity 0.3s;
}

.hotspot-popover img:hover {
    opacity: 0.8;
}

/* 7. WhatsApp Contact Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    transition: transform 0.4s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #20b858, #107c6f);
    color: white;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
}

/* Pulsing effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg { width: 30px; height: 30px; }
}

@media (max-width: 768px) {
    .nav-label-mobile {
        display: block !important;
        font-size: 0.75rem;
        letter-spacing: 4px;
        color: var(--accent);
        margin-bottom: 25px;
        font-weight: 700;
        border-bottom: 1px solid var(--border-glass);
        width: 100%;
        padding-bottom: 10px;
    }

    .nav-footer-mobile {
        display: flex !important;
        flex-direction: column;
        margin-top: 40px; /* Instead of auto, use fixed margin to keep it below links */
        padding-top: 30px;
        width: 100%;
        gap: 15px;
        border-top: 1px solid var(--border-glass);
    }

    .nav-social-mobile {
        display: flex;
        gap: 20px;
        color: var(--text-primary);
        margin-bottom: 5px;
    }

    .nav-social-mobile a {
        transition: var(--transition-fast);
        opacity: 0.7;
    }

    .nav-social-mobile a:hover {
        color: var(--accent);
        opacity: 1;
    }

    .nav-contact-mobile {
        font-size: 0.75rem;
        color: var(--text-secondary);
        line-height: 1.6;
        font-family: var(--font-body);
    }
}

/* Project Map Promotion Section */
.map-promo-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.map-promo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.map-promo-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.map-promo-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #0a0a0c; /* Deep charcoal for a tech/premium base */
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-ui-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #15151a 0%, #0a0a0c 100%);
}

.map-ui-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(166, 139, 90, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 139, 90, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.8;
}

.map-ui-streets {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.map-ui-scan {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(166, 139, 90, 0.1), transparent);
    z-index: 3;
    animation: scanVertical 6s linear infinite;
    pointer-events: none;
}

@keyframes scanVertical {
    0% { top: -100%; }
    100% { top: 200%; }
}

.ui-card-floating {
    position: absolute;
    width: 35%;
    background: rgba(40, 40, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    z-index: 5;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: floatPremium 6s ease-in-out infinite;
}

.ui-card-top { border-left: 3px solid var(--accent); }
.ui-card-bottom { border-right: 3px solid var(--accent); animation-delay: -3s; }

.ui-card-accent {
    width: 100%;
    height: 40px;
    background: rgba(166, 139, 90, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.ui-card-lines div {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 6px;
}
.ui-l-1 { width: 60%; }
.ui-l-2 { width: 85%; }
.ui-l-3 { width: 40%; }

.map-promo-pin.pin-premium {
    position: absolute;
    top: 45%;
    left: 40%;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px var(--accent-glow);
}

.pin-inner {
    position: absolute;
    inset: -10px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseSlow 3s infinite;
}

.map-ui-status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 50px;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 8px #25D366;
    animation: blink 2s infinite;
}

@keyframes pulseSlow {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0.3; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes floatPremium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.map-promo-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 30px 0 40px;
    line-height: 1.8;
}

/* 360 Virtual Tour Section */
.panorama-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.panorama-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    border: 1px solid var(--border-glass);
    background: #000;
}

#panoramaViewer {
    width: 100%;
    height: 100%;
    pointer-events: auto !important;
    touch-action: none;
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
}

#panoramaViewer:active {
    cursor: grabbing !important;
}

.panorama-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #000;
}

.pano-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: transform 1.5s ease;
}

.panorama-overlay:hover .pano-preview-img {
    transform: scale(1.1);
    opacity: 0.6;
}

.pano-overlay-content {
    position: relative;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: white;
}

.pano-play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: transform 0.3s ease;
}

.pano-play-btn svg {
    width: 35px;
    height: 35px;
    margin-left: 5px;
}

.panorama-overlay:hover .pano-play-btn {
    transform: scale(1.15);
}

.pano-overlay-content span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.panorama-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.pano-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pano-btn:hover {
    background: var(--accent);
    transform: scale(1.1);
    border-color: var(--accent);
}

.pano-btn svg {
    width: 24px;
    height: 24px;
}

/* Pannellum Custom Theme */
.pnlm-container {
    background-color: #000 !important;
}

.pnlm-load-box {
    background-color: rgba(26, 26, 31, 0.8) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
}

.pnlm-lbar {
    border: 1px solid var(--accent) !important;
}

.pnlm-lfill {
    background-color: var(--accent) !important;
}

.pnlm-control-bar {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 25px !important;
    margin: 10px !important;
}

@media (max-width: 768px) {
    .panorama-container {
        height: 60vh;
        min-height: 400px;
        border-radius: var(--radius-md);
    }
}
/* Brands Section */
.brands-section {
    background: var(--bg-primary);
    padding: 80px 0;
    overflow: hidden;
}

.brands-marquee-container {
    position: relative;
    width: 100%;
    margin-top: 60px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brands-marquee {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll-brands 30s linear infinite;
    padding: 20px 0;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-tertiary);
    opacity: 0.4;
    padding: 24px 48px;
    border: 1px dashed var(--border-glass);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: var(--transition-base);
    background: var(--bg-card);
    letter-spacing: 2px;
}

.brand-item:hover {
    color: var(--accent);
    opacity: 1;
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@keyframes scroll-brands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

@media (max-width: 768px) {
    .brand-item {
        font-size: 1.1rem;
        padding: 18px 36px;
    }
    .brands-marquee {
        gap: 40px;
    }
    @keyframes scroll-brands {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 20px)); }
    }
}

/* Calculator Section */
.calculator-section {
    background: var(--bg-secondary);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    align-items: center;
}

@media (max-width: 900px) {
    .calculator-container {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.input-group input {
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
}

.input-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
}

.calculator-note {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 10px;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.result-card {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--border-glass);
    transition: var(--transition-base);
}

.result-card.highlight {
    border-left-color: var(--accent);
    background: rgba(201, 169, 110, 0.05);
}

.result-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-card.highlight .result-value {
    color: var(--accent);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Ultra-Premium Immersive Showcase (Iris) */
.section-full-immersive {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

.immersive-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.immersive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.immersive-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, transparent 0%, rgba(13, 8, 22, 0.8) 100%);
    z-index: 2;
}

.container-immersive {
    position: relative;
    z-index: 10;
    width: 100%;
}

.immersive-content-hub {
    max-width: 650px;
}

/* Glass Command Center */
.glass-command-center {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: 60px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.section-tag-gold {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.promo-title-immersive {
    margin-bottom: 30px;
}

.t-luxury {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.t-brand {
    display: block;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.promo-desc-immersive {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 500px;
}

.immersive-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.stat-box {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.stat-icon-gold {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
}

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Royal Gold Button */
.btn-royal-gold {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: 0 20px 40px var(--accent-glow);
}

.btn-royal-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px var(--accent-glow);
    background: #fff;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* Floating Tech Card */
.floating-tech-card {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
}

.tech-card-inner {
    background: rgba(13, 8, 22, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-card-inner span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

.tech-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: techPulse 2s infinite;
}

@keyframes techPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 1200px) {
    .floating-tech-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-full-immersive {
        height: auto;
        min-height: 100vh;
        padding: clamp(80px, 12vh, 120px) 0 clamp(48px, 8vh, 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .glass-command-center {
        padding: 40px 24px;
        margin: 0 15px;
        width: calc(100% - 30px);
        text-align: center;
        background: rgba(13, 8, 22, 0.7); /* Stronger glass for mobile */
        border: 1px solid rgba(255, 215, 0, 0.25);
    }
    
    .t-brand {
        font-size: clamp(2.5rem, 10vw, 3.2rem);
        letter-spacing: -1px;
    }

    .promo-desc-immersive {
        font-size: 1rem;
        margin: 0 auto 30px;
    }

    .immersive-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .stat-box {
        padding: 12px;
    }

    .stat-val {
        font-size: 1.2rem;
    }

    .btn-royal-gold {
        width: 100%;
        padding: 18px 24px;
        justify-content: center;
    }
    
    .immersive-bg-wrap {
        opacity: 0.5;
    }
    
    .immersive-overlay-gradient {
        background: linear-gradient(to bottom, rgba(13, 8, 22, 0.4) 0%, rgba(13, 8, 22, 1) 100%);
    }

    /* Small mobile tweaks */
    @media (max-width: 400px) {
        .t-brand { font-size: 2.2rem; }
        .immersive-stats-grid { grid-template-columns: 1fr; }
    }
}
/* Footer Legal & Designer Tweak */
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.copyright-warning {
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    opacity: 0.6;
    margin-top: 10px;
    letter-spacing: 0.5px;
    font-style: italic;
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.designer-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.designer-text .accent {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.designer-text .accent:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ============================================
   PROJECT DETAIL PAGES — shared styles
   ============================================ */

.project-detail-hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}
.project-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    margin-top: clamp(32px, 4vh, 60px);
}
.specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}
.spec-item h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}
.spec-item p {
    font-size: 1.1rem;
    font-weight: 500;
}
.back-btn {
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}
.back-btn:hover {
    color: var(--accent);
    transform: translateX(-5px);
}
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .specs-list { grid-template-columns: 1fr; padding: 24px; }
    .project-detail-hero { height: 50vh; }
}
@media (min-width: 1920px) {
    .project-detail-hero { height: 75vh; }
    /* detail-grid gap handled by clamp() */
}
