/* ============================================
   CWI Facades — Premium Website Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #c8a45e;
    --primary-light: #dfc07a;
    --primary-dark: #a88640;
    --primary-glow: rgba(200, 164, 94, 0.3);

    --dark-900: #0a0a0f;
    --dark-800: #111118;
    --dark-700: #1a1a24;
    --dark-600: #24243a;
    --dark-500: #2e2e48;

    --light-100: #ffffff;
    --light-200: #f0f0f5;
    --light-300: #c8c8d4;
    --light-400: #9898a8;
    --light-500: #6e6e82;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    --container: 1280px;
    --section-padding: 120px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-900);
    color: var(--light-300);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 24px;
}

.preloader-logo-img {
    height: 80px;
    width: auto;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--dark-600);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    animation: preloaderFill 1.2s var(--ease-out-expo) forwards;
}

@keyframes preloaderFill {
    from { width: 0; }
    to { width: 100%; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-out-quart);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: 68px;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav.scrolled .nav-logo-img {
    height: 40px;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.85;
}

.footer-logo-img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-400);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--light-100);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--dark-900);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--light-100);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 164, 94, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200, 164, 94, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-900) 100%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.6; transform: scale(1); }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--light-100);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--light-400);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-subtitle strong {
    color: var(--primary-light);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 8px;
    transition: all 0.4s var(--ease-out-quart);
    white-space: nowrap;
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-icon-left {
    width: 16px;
    height: 16px;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--dark-900);
}

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

.btn-outline {
    border: 1px solid var(--light-500);
    color: var(--light-200);
}

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

.btn-white {
    background: var(--light-100);
    color: var(--dark-900);
}

.btn-white:hover {
    background: var(--light-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--light-100);
}

.btn-outline-white:hover {
    border-color: var(--light-100);
    background: rgba(255, 255, 255, 0.1);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-100);
    line-height: 1;
}

.hero-stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--light-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--light-500), transparent);
}

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

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-500);
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--light-500);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header-left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--light-100);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--light-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header-left .section-desc {
    margin: 0;
}

/* --- Services --- */
.services {
    background: var(--dark-800);
}

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

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.service-card-bg {
    background-size: cover;
    background-position: center;
}

.service-card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.75) 100%);
    border-radius: 16px;
    transition: background 0.5s ease;
    z-index: 0;
}

.service-card-bg:hover .service-card-bg-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.65) 100%);
}

.service-card-bg > *:not(.service-card-bg-overlay) {
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(200, 164, 94, 0.15);
    transform: translateY(-8px);
}

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

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

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

.service-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-600);
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.service-card:hover .service-number {
    color: var(--primary-glow);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--light-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-bg .service-desc {
    color: var(--primary-light);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-features span {
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--light-400);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-stack {
    position: relative;
}

.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-700);
    aspect-ratio: 4/5;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--dark-700), var(--dark-600));
    color: var(--light-500);
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.about-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.4;
}

.about-experience-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 16px 48px rgba(200, 164, 94, 0.3);
}

.experience-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-900);
    line-height: 1;
}

.experience-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    line-height: 1.4;
}

.about-text {
    font-size: 1.05rem;
    color: var(--light-400);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-light);
    font-weight: 600;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 94, 0.1);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: 10px;
    color: var(--primary);
}

.value-icon svg {
    width: 18px;
    height: 18px;
}

.value-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-100);
    margin-bottom: 2px;
}

.value-item p {
    font-size: 0.8rem;
    color: var(--light-500);
}

/* --- Portfolio --- */
.portfolio {
    background: var(--dark-800);
}

.portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--light-400);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--light-100);
    border-color: rgba(200, 164, 94, 0.2);
    background: var(--glass-bg-hover);
}

.filter-btn.active {
    color: var(--dark-900);
    background: var(--primary);
    border-color: var(--primary);
}

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

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.portfolio-item-large {
    grid-row: span 2;
}

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

.portfolio-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.portfolio-item-large .portfolio-image {
    min-height: 100%;
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: all 0.4s ease;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.portfolio-tag {
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(200, 164, 94, 0.12);
    border: 1px solid rgba(200, 164, 94, 0.2);
    border-radius: 50px;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 4px;
}

.portfolio-client {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 0.85rem;
    color: var(--light-500);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-quart);
}

.portfolio-item:hover .portfolio-desc {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item.fade-in {
    animation: portfolioFadeIn 0.4s var(--ease-out-expo) forwards;
}

@keyframes portfolioFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Portfolio Gallery Hint --- */
.portfolio-gallery-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s var(--ease-out-quart);
}

.portfolio-gallery-hint svg {
    width: 14px;
    height: 14px;
}

.portfolio-item:hover .portfolio-gallery-hint {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item[data-count] {
    cursor: pointer;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lightbox-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--glass-border);
}

.lightbox-info {
    flex: 1;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-100);
}

.lightbox-client {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: var(--light-400);
    font-weight: 500;
    margin-right: 24px;
    font-variant-numeric: tabular-nums;
}

.lightbox-current {
    color: var(--light-100);
}

.lightbox-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--light-400);
    transition: all 0.3s ease;
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-close:hover {
    color: var(--light-100);
    background: rgba(255, 255, 255, 0.08);
}

.lightbox-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 80px;
    min-height: 0;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 240px);
    object-fit: contain;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-image.loaded {
    opacity: 1;
}

.lightbox-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.lightbox-image.loaded + .lightbox-loader {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--light-300);
    transition: all 0.3s ease;
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-nav:hover {
    background: rgba(200, 164, 94, 0.15);
    border-color: rgba(200, 164, 94, 0.3);
    color: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 16px 32px;
    overflow-x: auto;
    border-top: 1px solid var(--glass-border);
    scrollbar-width: thin;
    scrollbar-color: var(--dark-600) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--dark-600);
    border-radius: 4px;
}

.lightbox-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

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

@media (max-width: 900px) {
    .lightbox-body {
        padding: 16px 60px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .lightbox-header {
        padding: 16px 20px;
    }

    .lightbox-thumbnails {
        padding: 12px 16px;
    }

    .lightbox-thumb {
        width: 48px;
        height: 36px;
    }
}

/* --- Health & Safety --- */
.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.safety-text {
    font-size: 1.05rem;
    color: var(--light-400);
    line-height: 1.8;
    margin-bottom: 36px;
}

.safety-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.safety-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.safety-item:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(200, 164, 94, 0.12);
    transform: translateX(8px);
}

.safety-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 94, 0.12);
    border-radius: 50%;
    color: var(--primary);
}

.safety-check svg {
    width: 14px;
    height: 14px;
}

.safety-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-200);
}

.safety-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.safety-stat-card {
    padding: 32px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out-quart);
}

.safety-stat-card:first-child {
    grid-column: span 2;
}

.safety-stat-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(200, 164, 94, 0.15);
    transform: translateY(-4px);
}

.safety-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 94, 0.1);
    border-radius: 12px;
    color: var(--primary);
}

.safety-stat-icon svg {
    width: 22px;
    height: 22px;
}

.safety-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 4px;
}

.safety-stat-label {
    font-size: 0.8rem;
    color: var(--light-500);
    letter-spacing: 0.05em;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(10, 10, 15, 0.7);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(200, 164, 94, 0.12);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 94, 0.1);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: 10px;
    color: var(--primary);
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-500);
    margin-bottom: 2px;
}

.contact-card a,
.contact-card p {
    font-size: 0.9rem;
    color: var(--light-200);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--light-400);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: rgba(200, 164, 94, 0.1);
    border-color: rgba(200, 164, 94, 0.2);
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:last-child:not(.form-row .form-group) {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light-300);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--light-100);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-500);
    opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(200, 164, 94, 0.03);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239898a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark-700);
    color: var(--light-200);
}

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

/* --- Footer --- */
.footer {
    padding: 80px 0 32px;
    background: var(--dark-900);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--light-500);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-200);
    margin-bottom: 20px;
}

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

.footer-links-group a,
.footer-links-group span {
    font-size: 0.85rem;
    color: var(--light-500);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-social {
    width: 36px;
    height: 36px;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

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

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

    .portfolio-item-large {
        grid-row: span 1;
    }
}

@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
    }

    .nav-links.open .nav-link {
        font-size: 1.5rem;
        padding: 12px 24px;
        color: var(--light-200);
    }

    .about-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-main {
        aspect-ratio: 16/9;
    }

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

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

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 64px;
    }

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

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

    .portfolio-item-wide {
        grid-column: span 1;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .safety-card-stack {
        grid-template-columns: 1fr;
    }

    .safety-stat-card:first-child {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 48px;
        height: 1px;
    }
}
