/* ═══════════════════════════════════════════════════════════
   CASA SHOW — Arquitetura de Alto Padrão
   Style.css — Nível: Luxo Internacional
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-off-white: #fafafa;
    --color-cream: #f5f5f0;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-black: #0a0a0a;
    --color-graphite: #1a1a1a;
    --color-gold: #c9a96e;
    --color-gold-light: #d4b87a;
    --color-gold-dark: #a88b55;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Outfit', sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-gold: 0 4px 20px rgba(201,169,110,0.15);
    --shadow-glow: 0 0 40px rgba(201,169,110,0.2);

    /* Glass */
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.3);
    --glass-blur: 20px;

    /* Z-index */
    --z-loading: 9999;
    --z-nav: 1000;
    --z-mobile-menu: 900;
    --z-modal: 800;
    --z-toast: 700;
    --z-backtop: 600;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-800);
    background: var(--color-white);
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ─── Selection ─── */
::selection {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gray-400);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* ═══════════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════════ */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: var(--z-loading);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--color-gray-900);
    margin-bottom: var(--space-8);
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--color-gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    border-radius: 2px;
    animation: loadingProgress 2s var(--ease-out-expo) forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-6) var(--space-8);
    transition: all 0.5s var(--ease-out-expo);
}

#navbar.scrolled {
    padding: var(--space-3) var(--space-8);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

#navbar.scrolled .nav-logo {
    transform: scale(0.85);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-white);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

#navbar.scrolled .nav-logo {
    color: var(--color-gray-900);
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease-out-expo);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
    padding: var(--space-2) 0;
    transition: color 0.3s var(--ease-smooth);
}

#navbar.scrolled .nav-link {
    color: var(--color-gray-700);
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: all 0.4s var(--ease-out-expo);
    transform: translateX(-50%);
}

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

.nav-cta {
    background: var(--color-gold);
    color: var(--color-white) !important;
    padding: var(--space-3) var(--space-6) !important;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo) !important;
}

.nav-cta::before,
.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    z-index: calc(var(--z-nav) + 10);
}

.toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
}

#navbar.scrolled .toggle-line {
    background: var(--color-gray-900);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-menu);
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-link:hover {
    color: var(--color-gold);
}

.mobile-cta {
    background: var(--color-gold);
    padding: var(--space-4) var(--space-10);
    border-radius: 100px;
    font-size: 1rem;
    margin-top: var(--space-4);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroVideoScale 20s ease-in-out infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,10,10,0.3) 0%,
        rgba(10,10,10,0.5) 50%,
        rgba(10,10,10,0.7) 100%
    );
    z-index: 1;
}

.hero-glass {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(0.5px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-8);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}



.eyebrow-text {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.eyebrow-text.light {
    color: rgba(255,255,255,0.7);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-8);
}

.title-line {
    display: block;
}

.title-word {
    display: inline-block;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: var(--color-white);
    opacity: 0;
    animation: titleReveal 1.2s var(--ease-out-expo) forwards;
}

.title-line:nth-child(1) .title-word { animation-delay: 0.2s; }
.title-line:nth-child(2) .title-word { animation-delay: 0.35s; }
.title-line:nth-child(3) .title-word { animation-delay: 0.5s; }
.title-line:nth-child(4) .title-word { animation-delay: 0.65s; }

@keyframes titleReveal {
    to {
        opacity: 1;
    }
}

.title-accent {
    color: var(--color-gold);
}

.title-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out-expo) 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out-expo) 1s forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.scroll-text {
    font-family: var(--font-accent);
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--color-gold);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(-100%); opacity: 0; }
    50% { transform: translateY(150%); opacity: 1; }
}

/* Hero Parallax Layer */
.hero-parallax-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.1) 100%);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: flex;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    border-radius: 100px;
}

.btn-secondary:hover::before {
    transform: scaleX(1);
}

.btn-secondary:hover {
    color: var(--color-gray-900);
    border-color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-gray-800);
    border: 1.5px solid var(--color-gray-300);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gray-900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    border-radius: 100px;
}

.btn-outline:hover::before {
    transform: scaleX(1);
}

.btn-outline:hover {
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.btn-outline:hover .btn-icon {
    transform: translateX(4px);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: var(--space-5) var(--space-10);
    font-size: 0.9375rem;
}

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
    padding: var(--space-32) var(--space-8);
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(201,169,110,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-image-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s var(--ease-smooth);
}

.about-image-wrapper:hover .about-image-frame {
    opacity: 1;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.about-image-2 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-secondary:hover .about-image-2 {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--color-white);
    padding: var(--space-6) var(--space-8);
    border-radius: 4px;
    box-shadow: var(--shadow-xl);
    z-index: 3;
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.badge-text {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: var(--space-2);
}

.about-content {
    padding-left: var(--space-8);
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-gray-900);
    margin-bottom: var(--space-8);
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--color-gray-600);
}

.text-gold {
    color: var(--color-gold);
}

.about-text {
    margin-bottom: var(--space-8);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: var(--space-5);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats-mini {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.mini-stat {
    text-align: center;
}

.mini-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.mini-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    letter-spacing: 0.05em;
}

.mini-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-200);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════════════ */
.projects {
    padding: var(--space-32) var(--space-8);
    background: var(--color-off-white);
}

.projects-header {
    max-width: 1300px;
    margin: 0 auto var(--space-16);
    text-align: center;
}

.projects-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.projects-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
}

.projects-subtitle {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.projects-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-out-expo);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card-large {
    grid-row: span 2;
}

.project-card-wide {
    grid-column: span 2;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-card-large .project-image-wrapper {
    aspect-ratio: 3/4;
}

.project-card-wide .project-image-wrapper {
    aspect-ratio: 16/9;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.8) 0%,
        rgba(10,10,10,0.3) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}

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

.project-overlay-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-white);
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.project-view {
    font-family: var(--font-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.project-overlay:hover .project-arrow {
    transform: translate(4px, -4px);
}

.project-info {
    padding: var(--space-5) var(--space-6);
}

.project-category {
    font-family: var(--font-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-2);
    display: block;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.project-location {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.project-year {
    font-family: var(--font-accent);
    font-weight: 500;
    color: var(--color-gray-400);
}

.projects-cta {
    text-align: center;
    margin-top: var(--space-16);
}

/* ═══════════════════════════════════════════════════════════
   SPECIALTIES SECTION
   ═══════════════════════════════════════════════════════════ */
.specialties {
    padding: var(--space-32) var(--space-8);
    background: var(--color-white);
    position: relative;
}

.specialties::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-200), transparent);
}

.specialties-container {
    max-width: 1300px;
    margin: 0 auto;
}

.specialties-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.specialties-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.specialties-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.specialty-card {
    perspective: 1000px;
}

.specialty-glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-10);
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.specialty-card:hover .specialty-glass {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(201,169,110,0.2);
}

.specialty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    border-radius: 16px;
    color: var(--color-gold);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    z-index: 2;
}

.specialty-card:hover .specialty-icon {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-gold);
}

.specialty-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.specialty-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-500);
    position: relative;
    z-index: 2;
}

.specialty-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.specialty-card:hover .specialty-glow {
    transform: translate(-50%, -50%) scale(3);
}

/* ═══════════════════════════════════════════════════════════
   NUMBERS SECTION
   ═══════════════════════════════════════════════════════════ */
.numbers {
    position: relative;
    padding: var(--space-32) var(--space-8);
    overflow: hidden;
}

.numbers-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.numbers-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.85) 0%,
        rgba(26,26,26,0.9) 100%
    );
}

.numbers-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.numbers-header {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.numbers-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-16);
    letter-spacing: -0.02em;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.number-item {
    padding: var(--space-8);
    position: relative;
}

.number-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.number-counter {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.03em;
}

.number-suffix {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-gold);
}

.number-divider {
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto var(--space-4);
    transform: scaleX(0);
    transition: transform 0.8s var(--ease-out-expo);
}

.number-item.revealed .number-divider {
    transform: scaleX(1);
}

.number-label {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════ */
.testimonials {
    padding: var(--space-32) var(--space-8);
    background: var(--color-off-white);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.testimonials-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.testimonials-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.testimonials-carousel {
    position: relative;
}

.testimonials-track {
    position: relative;
    min-height: 350px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-12);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    position: relative;
}

.testimonial-card.prev {
    transform: translateX(-50px) scale(0.95);
}

.testimonial-quote {
    margin-bottom: var(--space-6);
}

.quote-icon {
    color: var(--color-gold);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    font-style: italic;
    margin-bottom: var(--space-8);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    padding: 2px;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.testimonial-prev,
.testimonial-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-gray-700);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.testimonials-dots {
    display: flex;
    gap: var(--space-3);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-300);
    transition: all 0.3s var(--ease-out-expo);
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════════════════════════ */
.process {
    padding: var(--space-32) var(--space-8);
    background: var(--color-white);
    position: relative;
}

.process-container {
    max-width: 1300px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.process-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.process-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gray-200);
    z-index: 0;
}

.timeline-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: width 1.5s var(--ease-out-expo);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    padding-top: var(--space-4);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray-400);
    margin: 0 auto var(--space-6);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.process-step.revealed .step-number {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.step-content {
    padding: 0 var(--space-2);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-gray-500);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════ */
.gallery {
    padding: var(--space-32) var(--space-8);
    background: var(--color-off-white);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.gallery-masonry {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.7) 0%,
        transparent 60%
    );
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}

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

.gallery-caption {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.05em;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta {
    position: relative;
    padding: var(--space-32) var(--space-8);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.85) 0%,
        rgba(26,26,26,0.9) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-24) var(--space-8) var(--space-8);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-white);
    display: block;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s var(--ease-out-expo);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-gold);
}

.footer-newsletter {
    background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, rgba(201,169,110,0.05) 100%);
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 16px;
    padding: var(--space-10);
    margin-bottom: var(--space-16);
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.newsletter-desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-6);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s var(--ease-smooth);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
    background: rgba(255,255,255,0.08);
}

.newsletter-form button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out-expo);
}

.newsletter-form button:hover {
    background: var(--color-gold-light);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s var(--ease-smooth);
}

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

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade-up"] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="fade-up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="scale"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="scale"].revealed {
    opacity: 1;
    transform: scale(1);
}

[data-reveal="slide-up"] {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}

[data-reveal="slide-up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade"] {
    opacity: 0;
    transition: opacity 1s var(--ease-smooth);
}

[data-reveal="fade"].revealed {
    opacity: 1;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-4) var(--space-8);
    border-radius: 100px;
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-xl);
    z-index: var(--z-toast);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-gray-800);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-backtop);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--color-gray-200);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    :root {
        --space-32: 6rem;
        --space-24: 4.5rem;
        --space-20: 4rem;
        --space-16: 3rem;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .about-content {
        padding-left: 0;
    }

    .about-image-secondary {
        right: 20px;
        width: 220px;
    }

    .about-badge {
        left: 20px;
    }

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

    .project-card-wide {
        grid-column: span 2;
    }

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

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

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

    .timeline-line {
        display: none;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

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

/* Mobile (768px) */
@media (max-width: 768px) {
    :root {
        --space-32: 5rem;
        --space-24: 3.5rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
        --space-12: 2rem;
        --space-10: 1.5rem;
        --space-8: 1.25rem;
    }

    #navbar {
        padding: var(--space-4) var(--space-5);
    }

    #navbar.scrolled {
        padding: var(--space-3) var(--space-5);
    }

    .hero {
        min-height: 100svh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-image {
        height: 400px;
    }

    .about-image-secondary {
        display: none;
    }

    .about-badge {
        left: 10px;
        top: 20px;
        padding: var(--space-4) var(--space-5);
    }

    .badge-number {
        font-size: 1.75rem;
    }

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

    .project-card-wide,
    .project-card-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-card-large .project-image-wrapper {
        aspect-ratio: 4/3;
    }

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

    .numbers-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .number-item {
        padding: var(--space-5);
    }

    .testimonials-track {
        min-height: 420px;
    }

    .testimonial-card {
        padding: var(--space-8);
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .step-number {
        margin-bottom: var(--space-4);
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item-tall {
        grid-row: span 2;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-main {
        gap: var(--space-8);
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 100px;
        height: 48px;
    }

    .back-to-top {
        bottom: var(--space-5);
        right: var(--space-5);
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item-wide,
    .gallery-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .title-word {
        opacity: 1;
    }

    .hero-subtitle,
    .hero-buttons {
        opacity: 1;
    }
}

/* High Contrast */
@media (prefers-contrast: high) {
    :root {
        --color-gold: #b8941d;
    }

    .btn-primary {
        border: 2px solid var(--color-white);
    }

    .specialty-glass {
        border: 2px solid var(--color-gray-300);
    }
}

/* ═══════════════════════════════════════════════════════════
   FOCUS STYLES (Accessibility)
   ═══════════════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.nav-link:focus-visible,
.btn:focus-visible {
    outline-offset: 4px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--color-gold);
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    border-radius: 4px;
    font-weight: 600;
    z-index: calc(var(--z-nav) + 100);
    transition: top 0.3s var(--ease-out-expo);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */
@media print {
    #navbar,
    #loading-screen,
    .hero-scroll,
    .back-to-top,
    .toast,
    .mobile-menu,
    .hero-video {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: var(--space-10) 0;
    }

    .hero-overlay,
    .hero-glass {
        background: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    section {
        break-inside: avoid;
    }
}
