/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    max-width: 100vw;
    background: var(--bg-primary) !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary) !important;
    color: var(--text-primary);
    overflow-x: hidden;
    overscroll-behavior: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100vw;
    position: relative;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0.72) 100%);
}

* {
    box-sizing: border-box;
}

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

.service-hero-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

@media (min-width: 768px) {
    .service-hero-media {
        aspect-ratio: 3 / 2;
    }
}

.service-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.service-hero-img--parallax {
    transform: translate3d(0, 0, 0) scale(1.12);
    will-change: transform;
}

.gallery-grid__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 500ms ease;
}

.gallery-masonry {
    column-count: 1;
    column-gap: 24px;
}

@media (min-width: 768px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        column-count: 3;
    }
}

.gallery-masonry > a {
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    break-inside: avoid;
    border-radius: 1rem;
    overflow: hidden;
    transform: translateZ(0);
}

.gallery-masonry > a > .gallery-grid__img {
    border-radius: inherit;
}

.gallery-masonry > a > .absolute {
    border-radius: inherit;
}

 .gallery-masonry > a > .absolute p {
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
 }

 .gallery-masonry > a > .absolute p:first-child {
     color: rgba(255, 255, 255, 0.8) !important;
 }

 .gallery-masonry > a > .absolute p:nth-child(2) {
     color: rgba(255, 255, 255, 0.8) !important;
 }

.group:hover .gallery-grid__img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .service-hero-img--parallax {
        transform: none;
        will-change: auto;
    }
}

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

/* ===================================
   THEME SYSTEM - DUAL COLOR SCHEMES
   =================================== */

:root {
    /* Blue Luxury Theme (Default) */
    --primary-color: #C9A961;
    --primary-dark: #B8956A;
    --primary-darker: #A67C4F;
    --primary-darkest: #8A6A3F;
    --primary-light: #D4B87A;
    --primary-lighter: rgba(201, 169, 97, 0.15);
    --primary-glow: rgba(201, 169, 97, 0.35);
    
    --bg-primary: #2F323A;
    --bg-secondary: #2F323A;
    --bg-tertiary: #2F323A;
    --bg-gradient-start: #2F323A;
    --bg-gradient-end: #2F323A;
    
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #d1d5db;
    --text-gray: #9ca3af;
    
    --border-color: rgba(96, 165, 250, 0.25);
    --border-hover: rgba(96, 165, 250, 0.6);
    
    /* Shadow System */
    --shadow-primary: 0 10px 40px rgba(96, 165, 250, 0.15);
    --shadow-hover: 0 8px 30px rgba(96, 165, 250, 0.4);
    --shadow-glow: 0 0 30px rgba(96, 165, 250, 0.3);
    --shadow-card: 0 4px 20px rgba(96, 165, 250, 0.15);
    --shadow-card-hover: 0 8px 30px rgba(96, 165, 250, 0.25);
    --shadow-gallery: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(96, 165, 250, 0.15);
    --shadow-gallery-hover: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(96, 165, 250, 0.2);
    --shadow-overlay: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-overlay-hover: 0 12px 32px rgba(96, 165, 250, 0.15), 0 0 30px rgba(96, 165, 250, 0.3);
    --shadow-button: 0 4px 15px rgba(37, 99, 235, 0.3);
    --shadow-button-hover: 0 8px 25px rgba(37, 99, 235, 0.5);
    
    /* Glow Effects */
    --glow-text: 0 0 20px rgba(96, 165, 250, 0.5);
    --glow-text-hover: 0 0 10px rgba(255, 255, 255, 0.3);
    --glow-brand: 0 0 20px rgba(96, 165, 250, 0.3);
    --glow-icon: 0 0 15px rgba(96, 165, 250, 0.3);
    --glow-icon-hover: 0 0 25px rgba(96, 165, 250, 0.3);
    --glow-dot: 0 0 12px rgba(96, 165, 250, 0.5);
    --glow-dot-pulse: 0 0 20px rgba(96, 165, 250, 1);
    --glow-number: 0 0 10px rgba(96, 165, 250, 0.5);
    --glow-number-pulse: 0 0 20px rgba(96, 165, 250, 0.8);
    
    /* Overlay & Backdrop Effects */
    --overlay-gradient: none;
    --overlay-shimmer: none;
    --overlay-card: #0F172A;
    --overlay-service-card: #0F172A;
    
    /* Particle & Animation Colors */
    --particle-color: rgba(96, 165, 250, 0.5);
    --particle-opacity-start: 0.3;
    --particle-opacity-mid: 0.8;
    
    /* Contact & Map Elements */
    --contact-card-bg: #0F172A;
    --contact-card-border: rgba(55, 65, 81, 0.5);
    --contact-card-hover-border: rgba(59, 130, 246, 0.5);
    --contact-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --contact-card-hover-shadow: 0 8px 30px rgba(96, 165, 250, 0.2);
    
    /* Scroll Indicator */
    --scroll-border: var(--primary-color);
    --scroll-dot-bg: var(--primary-color);
}

[data-theme="grayscale"] {
    /* Cream Luxury Light Theme with Premium Gold Accents */
    --primary-color: #2F3B52;
    --primary-dark: #273245;
    --primary-darker: #1F2736;
    --primary-darkest: #171D28;
    --primary-light: #415272;
    --primary-lighter: rgba(47, 59, 82, 0.14);
    --primary-glow: rgba(47, 59, 82, 0.22);
    
    /* Premium Gold Accent Colors */
    --gold-accent: #2F3B52;
    --gold-accent-dark: #273245;
    --gold-accent-darker: #1F2736;
    --gold-accent-light: #415272;
    --gold-accent-glow: rgba(47, 59, 82, 0.28);
    --gold-accent-shadow: 0 0 20px rgba(47, 59, 82, 0.32);
    
    --bg-primary: #A9ACB6;
    --bg-secondary: rgba(240, 235, 227, 0.95);
    --bg-tertiary: rgba(245, 243, 237, 0.6);
    --bg-gradient-start: rgba(240, 235, 227, 0.98);
    --bg-gradient-end: rgba(237, 233, 225, 0.95);
    
    --text-primary: #1a1a1a;
    --text-secondary: #2a2a2a;
    --text-muted: #4a4a4a;
    --text-gray: #6b6b6b;
    
    --border-color: rgba(138, 138, 138, 0.3);
    --border-hover: rgba(106, 106, 106, 0.6);
    
    /* Shadow System - Cream Adaptations */
    --shadow-primary: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-gallery: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(138, 138, 138, 0.15);
    --shadow-gallery-hover: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 50px rgba(138, 138, 138, 0.2);
    --shadow-overlay: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-overlay-hover: 0 12px 32px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 4px 15px rgba(106, 106, 106, 0.3);
    --shadow-button-hover: 0 8px 25px rgba(106, 106, 106, 0.4);
    
    /* Glow Effects - Cream Adaptations */
    --glow-text: 0 0 20px rgba(0, 0, 0, 0.1);
    --glow-text-hover: 0 0 10px rgba(0, 0, 0, 0.2);
    --glow-brand: 0 0 20px rgba(0, 0, 0, 0.2);
    --glow-icon: 0 0 15px rgba(0, 0, 0, 0.2);
    --glow-icon-hover: 0 0 25px rgba(0, 0, 0, 0.2);
    --glow-dot: 0 0 12px rgba(0, 0, 0, 0.3);
    --glow-dot-pulse: 0 0 20px rgba(0, 0, 0, 0.4);
    --glow-number: 0 0 10px rgba(0, 0, 0, 0.2);
    --glow-number-pulse: 0 0 20px rgba(0, 0, 0, 0.3);
    
    /* Overlay & Backdrop Effects - Cream Adaptations */
    --overlay-gradient: radial-gradient(circle at center, rgba(138, 138, 138, 0.15) 0%, transparent 70%);
    --overlay-shimmer: linear-gradient(90deg, transparent 0%, rgba(138, 138, 138, 0.1) 40%, rgba(138, 138, 138, 0.2) 50%, rgba(138, 138, 138, 0.1) 60%, transparent 100%);
    --overlay-card: linear-gradient(135deg, rgba(213, 213, 213, 0.6) 0%, rgba(195, 195, 195, 0.8) 100%);
    --overlay-service-card: linear-gradient(135deg, rgba(229, 229, 229, 0.95) 0%, rgba(213, 213, 213, 0.9) 100%);
    
    /* Particle & Animation Colors - Cream Adaptations */
    --particle-color: rgba(0, 0, 0, 0.35);
    --particle-opacity-start: 0.4;
    --particle-opacity-mid: 0.6;
    
    /* Contact & Map Elements - Cream Adaptations */
    --contact-card-bg: linear-gradient(to br, rgba(229, 229, 229, 0.8), rgba(213, 213, 213, 0.8));
    --contact-card-border: rgba(138, 138, 138, 0.3);
    --contact-card-hover-border: rgba(106, 106, 106, 0.5);
    --contact-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --contact-card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Scroll Indicator - Cream Adaptations with Gold */
    --scroll-border: var(--gold-accent);
    --scroll-hover: var(--gold-accent-light);
    
    /* Mobile Menu - Cream Adaptations */
    --mobile-bg: rgba(195, 195, 195, 0.98);
}

[data-theme="grayscale"] .hero-background-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: opacity 0.5s ease;
}

[data-theme="grayscale"] .about-visual-accent {
    color: var(--primary-color) !important;
    text-shadow: none;
}

 [data-theme="grayscale"] #about-us .about-visual-title .about-visual-accent {
     color: #ffffff !important;
 }

/* ===================================
   PREMIUM NAVIGATION STYLES
   =================================== */

:root {
    --nav-bg: var(--bg-secondary);
    --nav-border: var(--border-color);
    --nav-text: var(--text-secondary);
    --nav-text-hover: var(--text-primary);
    --nav-accent: var(--primary-color);
    --nav-primary: var(--bg-tertiary);
    --nav-shadow: var(--shadow-primary);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
    animation: none;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-pill {
    width: min(1320px, calc(100% - 24px));
    margin: 14px auto 0;
    position: relative;
    pointer-events: auto;
    z-index: 100;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change: backdrop-filter;
    transform: translateZ(0);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    overflow: hidden;
    z-index: 0;
}

.header-pill.is-scrolled .header-bg {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-pill.no-blur .header-bg {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-inner {
    height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 0 22px;
    position: relative;
    z-index: 1;
}

.site-header .brand-text,
.site-header .brand-text-secondary,
.site-header .nav-link,
.site-header .dropdown-item,
.site-header .contact-label {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.site-header .dropdown-item {
    filter: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.site-header .facebook-nav-btn,
.site-header .theme-toggle,
.site-header .menu-toggle,
.site-header .btn-contact {
    filter: none;
}

.site-header .facebook-icon,
.site-header .theme-icon,
.site-header .menu-toggle-bar,
.site-header .contact-icon {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.site-header .contact-icon {
    filter: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.brand {
    justify-self: start;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-size: 28px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--nav-accent);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.brand-text {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: inherit;
    color: #ffffff;
}

[data-theme="grayscale"] .brand-text {
    color: #000000;
}

.brand-text-secondary {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 6px;
    opacity: 0.95;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 1;
}

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

.brand:focus-visible,
.nav-link:focus-visible,
.btn-contact:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid var(--primary-glow);
    outline-offset: 2px;
}

.nav {
    justify-self: center;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    padding: 8px 4px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    transition: color 180ms ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
    box-shadow: none;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #ffffff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    padding: 8px;
    min-width: 220px;
    box-shadow: none;
    z-index: 999999;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -24px;
    right: -24px;
    height: 15px;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    height: 15px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: none;
}

.nav-dropdown:focus-within .dropdown-menu {
    display: block;
    animation: none;
}

.dropdown-item {
    display: block;
    padding: 10px 12px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 800;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--primary-lighter);
    color: #ffffff;
    transform: translateX(6px);
}

.mobile-dropdown-item {
    font-size: 14px;
    padding-left: 40px !important;
    opacity: 0.85;
}

.mobile-dropdown-item:hover {
    opacity: 1;
}

/* Premium Letter Animation Styles */
.nav-anim {
    display: inline-flex;
    align-items: flex-start;
}

.nav-letter {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
}

.nav-letter-inner {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 180ms ease;
    transition-delay: calc(var(--i) * 25ms);
}

.nav-letter-top,
.nav-letter-bottom {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

.nav-letter-top {
    color: #ffffff;
}

.nav-letter-bottom {
    color: #ffffff;
    text-shadow: none;
}

.nav-link:hover .nav-letter-inner,
.nav-link:focus-visible .nav-letter-inner {
    transform: translateY(-26px);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Facebook Navigation Button */
.facebook-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    position: relative;
    overflow: hidden;
}

.facebook-nav-btn::before {
    content: none;
}

.facebook-nav-btn:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
    box-shadow: none;
}

[data-theme="grayscale"] .facebook-nav-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.facebook-icon {
    position: relative;
    z-index: 1;
    color: currentColor;
    transition: color 160ms ease;
}

.facebook-nav-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: none;
}

.theme-toggle:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
    box-shadow: none;
}

[data-theme="grayscale"] .theme-toggle:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.theme-toggle:active {
    transform: none;
}

.theme-icon {
    position: relative;
    z-index: 1;
    color: currentColor;
    transition: color 160ms ease;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle::before {
    content: none;
}

.menu-toggle:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
    box-shadow: none;
}

[data-theme="grayscale"] .menu-toggle:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Force header to look identical to dark mode in light theme */
[data-theme="grayscale"] .site-header .brand-text,
[data-theme="grayscale"] .site-header .brand-text-secondary,
[data-theme="grayscale"] .site-header .nav-link,
[data-theme="grayscale"] .site-header .nav-letter-top,
[data-theme="grayscale"] .site-header .nav-letter-bottom {
    color: #ffffff;
}

[data-theme="grayscale"] .site-header .facebook-nav-btn,
[data-theme="grayscale"] .site-header .theme-toggle,
[data-theme="grayscale"] .site-header .menu-toggle {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="grayscale"] .site-header .facebook-nav-btn:hover,
[data-theme="grayscale"] .site-header .theme-toggle:hover,
[data-theme="grayscale"] .site-header .menu-toggle:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
}

[data-theme="grayscale"] .site-header .dropdown-item {
    color: #e2e8f0;
}

.menu-toggle:active {
    transform: none;
}

.menu-toggle-bar {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: background 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 54px;
    padding: 0 18px 0 20px;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    font-size: 20px;
    font-weight: 700;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: none;
}

.btn-contact:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
    box-shadow: none;
}

.btn-contact > * {
    position: relative;
    z-index: 1;
}

.contact-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
    animation: none;
}

[data-theme="grayscale"] .contact-dot {
    background: #000000;
}

/* Keep hero CTA identical to dark mode even in light theme */
[data-theme="grayscale"] #hero .btn-contact.hero-cta {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="grayscale"] #hero .btn-contact.hero-cta:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
}

[data-theme="grayscale"] #hero .btn-contact.hero-cta .contact-dot {
    background: #ffffff;
}

[data-theme="grayscale"] #hero .btn-contact.hero-cta:hover .contact-dot {
    background: rgba(1, 2, 7, 0.92);
}

.btn-contact:hover .contact-dot {
    background: rgba(1, 2, 7, 0.92);
    animation: none;
}

.contact-label {
    white-space: nowrap;
    font-weight: 700;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: background 160ms ease, color 160ms ease;
}

[data-theme="grayscale"] .contact-icon {
    background: #000000;
    color: #ffffff;
}

[data-theme="grayscale"] #hero .btn-contact.hero-cta .contact-icon {
    background: #ffffff;
    color: #000000;
}

[data-theme="grayscale"] #hero .btn-contact.hero-cta:hover .contact-icon {
    background: rgba(1, 2, 7, 0.92);
    color: #ffffff;
}

.btn-contact:hover .contact-icon {
    background: rgba(1, 2, 7, 0.92);
    color: #ffffff;
    transform: none;
}

/* Keep About CTA identical to dark mode even in light theme */
[data-theme="grayscale"] #about-us .btn-contact {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="grayscale"] #about-us .btn-contact:hover {
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border-color: #ffffff;
}

[data-theme="grayscale"] #about-us .btn-contact .contact-dot {
    background: #ffffff;
}

[data-theme="grayscale"] #about-us .btn-contact:hover .contact-dot {
    background: rgba(1, 2, 7, 0.92);
}

[data-theme="grayscale"] #about-us .btn-contact .contact-icon {
    background: #ffffff;
    color: #000000;
}

[data-theme="grayscale"] #about-us .btn-contact:hover .contact-icon {
    background: rgba(1, 2, 7, 0.92);
    color: #ffffff;
}

#about-us {
    border-top: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

 #about-us {
     min-height: calc(100vh - var(--header-offset, 110px));
     min-height: calc(100svh - var(--header-offset, 110px));
     display: flex;
     align-items: center;
     padding-bottom: 0;
 }

 #about-us {
     padding-top: 0;
 }

 #about-us.section {
     padding-top: 0 !important;
     padding-bottom: 0 !important;
 }

 #about-us > .container {
     width: 100%;
 }

 #about-us .services-layout {
     align-items: center;
 }

 #about-us .service-visual,
 #about-us .about-right {
     margin-top: 0;
 }

 @media (max-width: 768px) {
     #horizontal-gallery {
         min-height: auto;
     }

     #about-us {
         min-height: auto;
     }
 }

#about-us::before,
#about-us::after {
    content: none !important;
}

#contact {
    padding-top: 7rem !important;
}

.contact-arrow {
    width: 18px;
    height: 18px;
    overflow: hidden;
    display: inline-block;
}

.contact-arrow-inner {
    display: flex;
    flex-direction: column;
    width: 18px;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-arrow-top,
.contact-arrow-bottom {
    display: block;
    color: currentColor;
}

.btn-contact:hover .contact-arrow-inner {
    transform: translateY(-18px);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
}

@keyframes rippleAnimation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.mobile-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 9998;
    width: min(1320px, calc(100% - 24px));
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
    max-height: calc(100vh - 96px);
    overflow: hidden;
}

.mobile-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 18px 18px;
    display: grid;
    gap: 12px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.mobile-nav .nav-link {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    pointer-events: auto;
    display: block;
    overflow: hidden;
}

.mobile-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: none;
}

.mobile-nav .btn-contact {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.mobile-nav .nav-link::after {
    display: none;
}

/* Mobile Menu Slide-in Animation */
.mobile-menu:not([hidden]) {
    animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav .nav-link {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.mobile-nav .nav-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav .nav-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav .nav-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav .nav-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav .nav-link:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav .nav-link:nth-child(6) { animation-delay: 0.3s; }
.mobile-nav .nav-link:nth-child(7) { animation-delay: 0.35s; }
.mobile-nav .nav-link:nth-child(8) { animation-delay: 0.4s; }
.mobile-nav .nav-link:nth-child(9) { animation-delay: 0.45s; }
.mobile-nav .nav-link:nth-child(10) { animation-delay: 0.5s; }
.mobile-nav .nav-link:nth-child(11) { animation-delay: 0.55s; }
.mobile-nav .nav-link:nth-child(12) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SERVICE IMAGE HOVER EFFECTS
   =================================== */

.service-card .rounded-2xl {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .rounded-2xl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card .rounded-2xl::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card .rounded-2xl:hover {
    transform: none;
    box-shadow: none;
}

.service-card .rounded-2xl:hover::before {
    opacity: 0;
}

.service-card .rounded-2xl:hover::after {
    opacity: 0;
}

.service-card .rounded-2xl img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.service-card .rounded-2xl:hover img {
    transform: none;
    filter: none;
}

/* ===================================
   GALLERY WORK CARDS WITH OVERLAYS
   =================================== */

.horizontal-gallery {
    padding-top: 5rem;
    padding-bottom: 11rem;
}

 #horizontal-gallery {
     min-height: calc(100vh - var(--header-offset, 110px));
     min-height: calc(100svh - var(--header-offset, 110px));
     display: flex;
     flex-direction: column;
     justify-content: center;
     overflow: hidden;
 }

 #horizontal-gallery.horizontal-gallery {
     padding-top: 0 !important;
     padding-bottom: 0 !important;
 }

 #horizontal-gallery .text-center {
     margin-top: 0 !important;
     margin-bottom: 1.75rem !important;
 }

.horizontal-gallery .text-center {
    margin-bottom: 1.75rem !important;
}



.work-carousel {
    position: relative;
    max-width: none;
    margin: 0 auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    --work-landscape-w: clamp(360px, 45vw, 860px);
    --work-landscape-h: calc(var(--work-landscape-w) * 10.5 / 16);
    --work-portrait-w: calc(var(--work-landscape-w) * 110.25 / 256);
}

.work-carousel__viewport {
    overflow: hidden;
}

.work-carousel__track {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-left: 25vw;
    padding-right: 40vw;
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.work-carousel__slide {
    flex: 0 0 var(--work-landscape-w);
}

.work-carousel__slide--portrait {
    flex-basis: var(--work-portrait-w);
}

.work-carousel__card {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    background: #f5f5f7;
    box-shadow: none;
    position: relative;
    transition: transform 0.25s ease;
    height: var(--work-landscape-h);
}

.work-carousel__card--portrait {
    height: var(--work-portrait-h, var(--work-landscape-h));
}

.work-carousel__card:hover {
    transform: translateY(-2px);
}

.work-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-carousel__caption {
    margin: 14px 0 0;
    font-size: 20px;
    line-height: 1.35;
    color: var(--text-secondary);
    max-width: 46ch;
}

.work-carousel__caption-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.work-carousel__caption-title:hover {
    text-decoration: underline;
}

.work-carousel__caption-desc {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .horizontal-gallery {
        padding-bottom: 7.5rem;
    }

    .work-carousel__caption {
        font-size: 18px;
        max-width: 52ch;
    }

    .work-carousel__caption-desc {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .work-carousel {
        --work-mobile-h: clamp(220px, 42vh, 360px);
        --work-landscape-h: var(--work-mobile-h);
        --work-portrait-h: var(--work-mobile-h);
        --work-landscape-w: min(90vw, calc(var(--work-mobile-h) * 16 / 10.5));
        --work-portrait-w: calc(var(--work-mobile-h) * 16 / 10.5 * 110.25 / 256);
    }

    .work-carousel__track {
        padding-left: 5vw;
        padding-right: 5vw;
        gap: 18px;
    }

    .work-carousel__caption {
        margin: 18px 0 8px;
    }

    .work-carousel__caption-title {
        font-size: 20px;
    }

    .work-carousel__controls {
        margin-top: 8px;
    }

    .horizontal-gallery .work-carousel__img {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        display: block;
        object-fit: cover;
    }
}

.work-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .horizontal-gallery {
        padding-bottom: 9rem;
    }
}

.work-carousel__nav {
    position: relative;
    top: auto;
    transform: none;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

[data-theme="grayscale"] .work-carousel__nav {
    border-color: var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.work-carousel__nav svg {
    width: 18px;
    height: 18px;
}

.work-carousel__nav:hover {
    background: transparent;
    transform: none;
}

[data-theme="grayscale"] .work-carousel__nav:hover {
    background: transparent;
}

.work-carousel__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive Navigation */
/* Large tablets and small laptops */
@media (max-width: 1200px) {
    .nav {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 10px 18px;
    }
    
    .btn-contact {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Standard tablets */
@media (max-width: 1024px) {
    .nav {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .btn-contact {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .header-pill {
        max-width: 95%;
        padding: 0 16px;
    }
}

/* Small tablets and large phones */
@media (max-width: 900px) {
    .nav {
        display: none;
    }
    
    .header-actions .btn-contact {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-pill {
        margin: 12px auto 0;
        padding: 0 12px;
    }
    
    .header-inner {
        height: 60px;
        gap: 16px;
        padding: 0 16px;
        grid-template-columns: 1fr auto;
        justify-content: space-between;
    }
    
    .brand {
        font-size: 20px;
        padding: 10px 14px;
        justify-self: start;
    }
    
    .header-actions {
        justify-self: end;
        margin-left: auto;
        gap: 12px;
    }
    
    .nav {
        display: none;
    }
    
    .facebook-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
    }
    
    .header-actions {
        gap: 14px;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: 0;
    }
    
    .btn-contact {
        display: none;
    }
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    footer {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    footer .flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    footer p,
    footer .flex .text-sm {
        font-size: 0.75rem;
    }
    
    footer img {
        width: 3rem;
        height: 3rem;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

/* Custom Marker */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Animations */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
    }
}

@keyframes floatMenu {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Horizontal Gallery */
.horizontal-gallery {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #0F172A;
}

.horizontal-wrapper {
    display: flex;
    will-change: transform;
}

/* Tablet Gallery Section */
@media (max-width: 1024px) and (min-width: 769px) {
    .horizontal-gallery h2 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .horizontal-gallery p {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
    
    .gallery-work-card {
        max-width: 85%;
    }
    
    .gallery-main-img {
        max-height: 70vh;
    }
}

@media (max-width: 768px) {
    .horizontal-wrapper {
        display: none !important;
    }
}

.gallery-panel {
    flex-shrink: 0;
}

/* Unified Background for Main Sections */
#our-services,
#horizontal-gallery,
#about-us,
#contact,
footer {
    background: var(--bg-primary) !important;
}

/* Cream Light Theme - All Sections - Complete Inversion */
[data-theme="grayscale"] #our-services,
[data-theme="grayscale"] #horizontal-gallery,
[data-theme="grayscale"] #about-us,
[data-theme="grayscale"] #contact,
[data-theme="grayscale"] footer {
    background: var(--bg-primary) !important;
}

[data-theme="grayscale"] #our-services h2,
[data-theme="grayscale"] #horizontal-gallery h2,
[data-theme="grayscale"] #about-us h2,
[data-theme="grayscale"] #contact h2 {
    color: var(--text-primary);
}

[data-theme="grayscale"] #our-services p,
[data-theme="grayscale"] #horizontal-gallery p,
[data-theme="grayscale"] #about-us p,
[data-theme="grayscale"] #contact p {
    color: var(--text-muted);
}

[data-theme="grayscale"] #our-services p.accent-neutral,
[data-theme="grayscale"] #horizontal-gallery p.accent-neutral,
[data-theme="grayscale"] #about-us p.accent-neutral,
[data-theme="grayscale"] #contact p.accent-neutral {
    color: var(--primary-color) !important;
}

[data-theme="grayscale"] .about-visual-accent {
    color: var(--primary-color) !important;
    text-shadow: none;
}

[data-theme="grayscale"] .text-white {
    color: var(--text-primary) !important;
}

[data-theme="grayscale"] .text-gray-300 {
    color: var(--text-muted) !important;
}

[data-theme="grayscale"] .text-gray-400 {
    color: var(--text-gray) !important;
}

/* Cream Theme - Gallery Section */
[data-theme="grayscale"] .horizontal-gallery {
    background: var(--bg-primary) !important;
}

[data-theme="grayscale"] .overlay-label {
    background: var(--bg-tertiary) !important;
    color: #111827;
    border: 1px solid rgba(17, 24, 39, 0.35);
    box-shadow: none;
}

/* Cream Theme - Service Cards */
[data-theme="grayscale"] .service-card .rounded-2xl {
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="grayscale"] .service-card .rounded-2xl:hover {
    border-color: transparent;
    box-shadow: none;
}

[data-theme="grayscale"] .service-card h3 {
    color: var(--text-primary);
}

[data-theme="grayscale"] .service-card p {
    color: var(--text-muted);
}

[data-theme="grayscale"] .service-card p.accent-neutral {
    color: var(--primary-color) !important;
}

/* Cream Theme - Footer */
[data-theme="grayscale"] footer h3,
[data-theme="grayscale"] footer h4 {
    color: var(--text-primary);
}

[data-theme="grayscale"] footer p,
[data-theme="grayscale"] footer a {
    color: var(--text-muted);
}

[data-theme="grayscale"] footer a:hover {
    color: var(--text-primary);
}

footer,
footer a,
footer p,
footer span {
    color: #ffffff !important;
}

footer a:hover {
    color: #ffffff !important;
}

[data-theme="grayscale"] footer,
[data-theme="grayscale"] footer a,
[data-theme="grayscale"] footer p,
[data-theme="grayscale"] footer span {
    color: var(--text-primary) !important;
}

[data-theme="grayscale"] footer a:hover {
    color: var(--text-primary) !important;
}

[data-theme="grayscale"] .footer-legal a {
    color: var(--text-primary) !important;
}

[data-theme="grayscale"] .footer-legal span {
    color: var(--text-primary) !important;
}

/* Scroll margin for fixed header - ensures sections aren't covered by navigation */
section[id] {
    scroll-margin-top: var(--header-offset, 110px);
}


/* Location Map Container - Borderless Design */
.location-map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .location-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    footer .footer-legal {
        font-size: 14px;
        line-height: 1.4;
    }

    footer .footer-legal-link {
        font-size: 14px;
        line-height: 1.4;
    }

    footer p.text-gray-500,
    footer span.text-gray-500 {
        font-size: 14px;
        line-height: 1.4;
    }

    footer #footerLogo {
        width: 60px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .location-map-container {
        height: 350px;
    }
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 20px;
    pointer-events: none;
}

.map-embed {
    position: relative;
}

.map-embed.is-active iframe {
    pointer-events: auto;
}

.map-embed-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.map-embed.is-active .map-embed-overlay {
    opacity: 0;
    pointer-events: none;
}

.map-embed-overlay__inner {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
}


/* Global Particles */
.global-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    display: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--particle-color);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: var(--particle-opacity-start);
    }
    50% {
        transform: translateY(-30px) translateX(15px);
        opacity: var(--particle-opacity-mid);
    }
}

/* About Us Section */
.about-us-section {
    position: relative;
    min-height: 200vh;
    display: flex;
    overflow: hidden;
}

.process-section {
    margin-top: 64px;
    margin-bottom: 64px;
}

.process-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .process-line {
        flex-direction: column;
        gap: 10px;
    }
    .process-step {
        width: 100%;
        justify-content: center;
    }
    .process-arrow {
        display: inline-block;
        line-height: 1;
        align-self: center;
        transform: rotate(90deg);
    }

    .process-arrow::before {
        content: '↓' !important;
    }
}

@media (min-width: 1024px) {
    .process-line {
        flex-wrap: nowrap;
    }
}

.process-step {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: var(--text-primary);
    transition: border-color 0.25s ease;
}

.process-step:hover {
    border-color: rgba(255, 255, 255, 0.92);
}

.process-step__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.process-step__num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary-color);
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.process-step__label {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1rem;
}

.process-step__desc {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.process-arrow {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 900;
    line-height: 1;
}

.process-arrow::before {
    content: '→';
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 520ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal--fast {
    transition-duration: 260ms;
}

.reveal--fast.is-visible {
    transition-duration: 260ms;
}

.reveal--step {
    transform: translate3d(-18px, 0, 0);
}

.reveal--step.is-visible {
    transform: translate3d(0, 0, 0);
}

.reveal--arrow {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
}

.reveal--arrow.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

[data-theme="grayscale"] .process-step {
    border-color: rgba(17, 24, 39, 0.6);
}

[data-theme="grayscale"] .process-step:hover {
    border-color: rgba(17, 24, 39, 0.9);
}

[data-theme="grayscale"] .process-step__num {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.18);
    color: #111827;
}

[data-theme="grayscale"] .process-arrow {
    color: rgba(0, 0, 0, 0.65);
}

.faq-section {
    padding: 90px 0;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.faq-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-cta {
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    padding: 44px 24px;
    background: transparent;
}

[data-theme="grayscale"] .service-cta {
    border-color: rgba(17, 24, 39, 0.6);
}

.service-cta__title {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: var(--text-primary);
}

.service-cta__desc {
    margin: 12px auto 0;
    max-width: 70ch;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    font-weight: 900;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.service-cta__btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: rgba(1, 2, 7, 0.92);
}

.panel-neutral {
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 22px;
    background: transparent;
}

[data-theme="grayscale"] .panel-neutral {
    border-color: rgba(17, 24, 39, 0.6);
}

.accent-neutral {
    color: var(--primary-color);
    font-weight: 800;
}

[data-theme="grayscale"] .accent-neutral {
    color: var(--primary-color);
}

.btn-neutral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    font-weight: 900;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

[data-theme="grayscale"] .btn-neutral {
    border-color: rgba(17, 24, 39, 0.6);
    color: var(--primary-color);
}

.btn-neutral:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
}

[data-theme="grayscale"] .btn-neutral:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.contact-panel-neutral {
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    background: transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#contact .contact-panel-neutral {
    background: transparent !important;
    background-image: none !important;
}

#contact .contact-card a.contact-panel-neutral,
#contact .contact-card > div.contact-panel-neutral {
    background: transparent !important;
    background-image: none !important;
}

.contact-panel-neutral:hover {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="grayscale"] .contact-panel-neutral {
border-color: rgba(17, 24, 39, 0.6);
}

[data-theme="grayscale"] .contact-panel-neutral:hover {
border-color: rgba(17, 24, 39, 0.9);
box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] .panel-neutral {
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] .panel-neutral:hover {
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
}

.icon-badge-neutral {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-theme="grayscale"] .icon-badge-neutral {
background: transparent;
border-color: rgba(0, 0, 0, 0.15);
}

.icon-neutral {
color: rgba(255, 255, 255, 0.92);
}

[data-theme="grayscale"] .icon-neutral {
    color: #111827;
}

[data-theme="grayscale"] .service-cta__btn {
    border-color: rgba(0, 0, 0, 0.7);
    color: #000000;
}

[data-theme="grayscale"] .service-cta__btn:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.faq-title {
    margin: 0;
    font-size: clamp(56px, 6vw, 110px);
    font-weight: 900;
    line-height: 0.95;
    color: var(--text-primary);
}

.faq-subtitle {
    margin: 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.faq-contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
}

.faq-contact-link:hover {
    text-decoration: underline;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lux-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lux-card:hover {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

[data-theme="grayscale"] .lux-card {
    border-color: rgba(17, 24, 39, 0.18);
    background: transparent;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] .lux-card:hover {
    border-color: rgba(17, 24, 39, 0.28);
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
}

[data-theme="grayscale"] .service-material-panel {
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] .service-material-panel:hover {
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
}

[data-theme="grayscale"] #about-us .about-card {
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] #about-us .about-card:hover {
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
}

[data-theme="grayscale"] .service-gallery-grid > div {
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

[data-theme="grayscale"] .service-gallery-grid > div:hover {
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.22);
}

.lux-card--compact {
    padding: 18px;
    border-radius: 18px;
}

.service-feature-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-feature-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
}

.service-feature-icon svg {
    width: 22px;
    height: 22px;
}

.service-feature-label {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
}

[data-theme="grayscale"] .service-feature-label {
    color: rgba(17, 24, 39, 0.82);
}

.service-feature-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
}

[data-theme="grayscale"] .service-feature-title {
    color: #111827;
}

.service-feature-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

[data-theme="grayscale"] .service-feature-text {
    color: rgba(17, 24, 39, 0.72);
}

.service-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.92);
}

[data-theme="grayscale"] .service-feature-card:hover {
    border-color: rgba(17, 24, 39, 0.6);
}

.service-equal-cols {
    align-items: stretch;
}

@media (min-width: 1024px) {
    .service-equal-cols {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.service-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-col__body {
    flex: 1;
}

.service-gallery-grid {
    gap: 1.1rem;
    align-content: start;
}

.service-gallery-grid > div {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.service-gallery-img {
    height: 100%;
}

@media (min-width: 1024px) {
    .service-equal-cols .service-col__body {
        height: clamp(520px, 56vh, 640px);
    }

    .service-equal-cols .service-col:first-child .service-col__body {
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .service-equal-cols .service-col:first-child .service-col__body > * {
        margin-top: 0 !important;
        height: 100%;
    }

    .service-equal-cols .service-gallery-grid {
        height: 100%;
        display: grid;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-auto-rows: unset;
        gap: 1.1rem;
        align-content: stretch;
    }

    .service-equal-cols .service-gallery-grid > div {
        height: 100%;
    }

    .service-equal-cols .service-gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.service-material-panel {
    background: transparent !important;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[data-theme="grayscale"] .service-material-panel {
    border-color: rgba(17, 24, 39, 0.35) !important;
}

.faq-item {
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 6px 22px;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s ease;
    gap: 18px;
}

[data-theme="grayscale"] .faq-question {
    color: #111827;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.92);
}

[data-theme="grayscale"] .faq-item[open] {
    border-color: rgba(17, 24, 39, 0.6);
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 6px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

[data-theme="grayscale"] .faq-icon::before,
[data-theme="grayscale"] .faq-icon::after {
    background-color: #111827;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.closing .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.3s ease;
    padding: 0;
    opacity: 0;
    margin-left: 28px;
}

.faq-item[open] .faq-answer {
    padding: 6px 0 18px 0;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 90%;
}

[data-theme="grayscale"] .faq-answer p {
    color: #111827;
}

.faq-header,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-header.is-visible,
.faq-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .faq-header {
        align-items: center;
        text-align: center;
    }
}

.left-panel {
    position: relative;
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.1;
}

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

.title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    margin-bottom: 2rem;
    border-radius: 2px;
}

.story-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.orange-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--overlay-gradient);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(60px);
}

.right-panel {
    width: 50%;
    padding: 4rem 2rem;
    overflow-y: auto;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    position: relative;
    background: var(--overlay-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.card-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--primary-lighter) 10px, var(--primary-lighter) 20px);
    border-radius: 16px;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.card-shadow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary-lighter) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

/* Service Cards */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy {
    position: absolute;
    left: clamp(16px, 4vw, 64px);
    bottom: clamp(6px, 3vw, 52px);
    z-index: 30;
    max-width: 760px;
    color: #ffffff;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(44px, 6vw, 92px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
}

.hero-copy h1::after {
    content: '';
    display: block;
    width: 110px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.hero-copy p {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 62ch;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.hero-cta:not(.btn-contact) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: #ffffff;
    color: rgba(1, 2, 7, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero-cta:not(.btn-contact):hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

#hero .btn-contact {
    display: inline-flex;
    margin-top: 22px;
    height: 48px;
    padding: 0 16px 0 18px;
    font-size: 16px;
}

#hero .btn-contact .contact-icon {
    width: 32px;
    height: 32px;
}

[data-theme="grayscale"] .hero-copy h1::after {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-copy {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
    
    .hero-copy p {
        font-size: 15px;
    }

    #hero .btn-contact {
        display: inline-flex !important;
        margin-top: 18px;
    }
}

/* Cream Theme - Enhanced particles for visibility */
[data-theme="grayscale"] .particle {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    animation: none !important;
    opacity: 0.3;
}

/* Cream Theme - Move particles behind content sections */
[data-theme="grayscale"] .global-particles {
    z-index: 0;
}

[data-theme="grayscale"] #our-services,
[data-theme="grayscale"] #horizontal-gallery,
[data-theme="grayscale"] #about-us,
[data-theme="grayscale"] #contact,
[data-theme="grayscale"] footer {
    position: relative;
    z-index: 1;
}

/* Cream Theme - Premium contact cards with warm cream background and gold accents */
[data-theme="grayscale"] .contact-card a,
[data-theme="grayscale"] .contact-card > div {
    background: transparent;
    border: 2px solid rgba(17, 24, 39, 0.6) !important;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.08), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="grayscale"] .contact-card a:hover,
[data-theme="grayscale"] .contact-card > div:hover {
    border-color: rgba(17, 24, 39, 0.9) !important;
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.14), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px);
}

/* Gold accent for contact card icons */
[data-theme="grayscale"] .contact-card .text-5xl {
    filter: none;
    color: #111827;
}

/* Gold color for key information in contact cards */
[data-theme="grayscale"] .contact-card .text-xl.font-semibold {
    color: #111827 !important;
    font-weight: 700;
}

/* Keep labels dark gray for hierarchy */
[data-theme="grayscale"] .contact-card .uppercase.tracking-wider {
    color: #4a4a4a !important;
    font-weight: 600;
}


/* AI Generated Image Badge - Dark Theme */
.ai-generated::after {
    content: 'A.I.';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* AI Generated Image Badge - Cream Theme */
[data-theme="grayscale"] .ai-generated::after {
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Tablet Services Section */
@media (max-width: 1024px) and (min-width: 769px) {
    #our-services {
        padding: 4rem 0;
    }
    
    #our-services h2 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    #our-services p {
        font-size: 1.125rem;
    }
    
    .service-card {
        gap: 3rem;
    }
    
    .service-card h3 {
        font-size: 3.5rem;
    }
    
    .service-card img {
        height: 350px;
    }
}

/* Mobile Services Section Improvements */
@media (max-width: 768px) {
    #our-services {
        padding: 3rem 0;
    }
    
    .service-card {
        gap: 2rem !important;
    }
    
    .service-card h3 {
        font-size: 2rem !important;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .service-card img {
        height: 300px !important;
        width: 100%;
        object-fit: cover;
    }
    
    #our-services .max-w-7xl {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    #our-services .text-center {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    #our-services h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    #our-services .text-center p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .service-card .space-y-4 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .service-card .space-y-4 p:first-child {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .service-card .space-y-4 h3 {
        font-size: 2.4rem;
        text-align: center;
        margin: 0.4rem 0;
    }
    
    .service-card .space-y-4 p:last-child {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    .service-card .md\\:text-right {
        text-align: center !important;
    }
    
    .service-card img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        border-radius: 0.8rem;
        margin: 0;
        display: block;
    }
    
    .service-card .rounded-2xl {
        display: flex;
        justify-content: center;
    }
    
    /* Gallery Section Mobile Styles - 20% smaller */
    #horizontal-gallery h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    #horizontal-gallery p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        max-width: 90%;
        margin: 0 auto 2rem;
        padding: 0 0.5rem;
    }
    
    .horizontal-gallery img {
        height: 50vh !important;
        width: 80% !important;
        margin: 0 auto;
        display: block;
        border-radius: 1rem;
    }
    
    .horizontal-gallery .text-center {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .horizontal-gallery .grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Mobile Hero Background Images - Override for mobile only */
@media (max-width: 768px) {
    #hero {
        position: relative;
    }
    
    #hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background-image: url('./images/mobilehero/mobilehero1.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        animation: mobileHeroSlideshow 12s infinite;
        transition: transform 0.3s ease-in-out;
    }
    
    #hero::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%
        );
    }
    
    /* Better mobile viewport handling */
    #hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }
    
    /* Hide desktop hero images on mobile */
    #hero .hero-image {
        display: none;
    }

    #hero .hero-image.active {
        display: block;
    }
}

/* Mobile hero slideshow animation */
@keyframes mobileHeroSlideshow {
    0%, 33% {
        background-image: url('./images/mobilehero/mobilehero1.jpg');
        background-position: center center;
    }
    34%, 66% {
        background-image: url('./images/mobilehero/mobilehero2.jpg');
        background-position: center center;
    }
    67%, 100% {
        background-image: url('./images/mobilehero/mobilehero3.jpg');
        background-position: center center;
    }
}

#scroll-indicator {
    animation: fadeIn 1.2s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

.scroll-mouse {
    border-color: var(--scroll-border);
    animation: scrollBounce 2s infinite;
}

[data-theme="grayscale"] .scroll-mouse {
    box-shadow: 0 0 15px var(--gold-accent-glow);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-dot {
    background: var(--scroll-dot-bg);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

.menu-item {
    opacity: 0;
    transform: translateX(100px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-us-section {
        flex-direction: column;
        min-height: auto;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }
}

/* ===================================
   COMPREHENSIVE RESPONSIVE UTILITIES
   =================================== */

/* Extra large screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .header-pill {
        max-width: 1200px;
    }
}

/* Large screens (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0 2rem;
    }
}

/* Medium tablets landscape (900px - 1023px) */
@media (max-width: 1023px) and (min-width: 900px) {
    .mobile-menu {
        top: 78px;
    }
    
    .mobile-nav {
        padding: 16px 20px;
        gap: 10px;
    }
    
    .mobile-nav .nav-link {
        padding: 12px 18px;
        font-size: 16px;
    }
}

/* Small tablets portrait (600px - 899px) */
@media (max-width: 899px) and (min-width: 600px) {
    .mobile-menu {
        top: 76px;
    }
    
    .mobile-nav {
        padding: 14px 18px;
        gap: 8px;
    }
    
    .mobile-nav .nav-link {
        padding: 10px 16px;
        font-size: 15px;
    }
}

/* Large phones (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .header-pill {
        margin: 10px auto 0;
        padding: 0 10px;
    }
    
    .brand {
        font-size: 18px;
    }
}

/* Small phones (320px - 479px) */
@media (max-width: 479px) {
    .header-pill {
        margin: 8px auto 0;
        padding: 0 8px;
        min-height: 60px;
    }
    
    .brand {
        font-size: 16px;
    }
    
    .brand-text-secondary {
        font-size: 14px;
    }
    
    .service-card {
        gap: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.75rem !important;
    }
    
    .service-card img {
        height: 250px !important;
    }
    
    #our-services h2 {
        font-size: 1.875rem !important;
    }
    
    .mobile-nav {
        padding: 12px 16px;
        gap: 6px;
    }
    
    .mobile-nav .nav-link {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* Extra small phones (under 400px) - Fix hamburger cutoff */
@media (max-width: 400px) {
    .header-pill {
        margin: 6px auto 0;
        padding: 0 6px;
        min-height: 56px;
    }
    
    .header-inner {
        gap: 12px;
        padding: 0 12px;
        height: 56px;
    }
    
    .brand {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .brand-text-secondary {
        font-size: 12px;
        margin-left: 4px;
    }
    
    /* Make navigation icon buttons smaller */
    .facebook-nav-btn,
    .theme-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .facebook-icon,
    .theme-icon {
        width: 16px;
        height: 16px;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .menu-toggle-bar {
        width: 16px;
        height: 2px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    /* Contact button - make it smaller or hide on very small screens */
    .btn-contact {
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
        gap: 6px;
    }
    
    .contact-dot {
        width: 6px;
        height: 6px;
    }
    
    .contact-icon {
        width: 16px;
        height: 16px;
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .header-pill {
        max-width: 1400px;
    }
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-legal span {
    color: #475569;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    padding: 0 16px;
    display: none;
    z-index: 50;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner__inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    padding: 16px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner__text {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.cookie-btn--primary {
    background: #60a5fa;
    border-color: #60a5fa;
    color: #0f172a;
}

.cookie-btn--primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.cookie-btn--secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: #94a3b8;
}

.cookie-btn--secondary:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: #94a3b8;
    color: #cbd5e1;
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px;
    }
    
    .cookie-banner__text {
        font-size: 13px;
        text-align: center;
    }
    
    .cookie-banner__actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 13px;
    }
}

/* =========================================
   Cookie Settings Modal
   ========================================= */
.cookie-settings-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 70;
}

.cookie-settings-modal[aria-hidden="false"] {
    display: block;
}

.cookie-settings-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-settings-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 32px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbar for Cookie Settings Modal */
.cookie-settings-modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.cookie-settings-modal__dialog::-webkit-scrollbar-track {
    background: transparent;
}

.cookie-settings-modal__dialog::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.3);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.cookie-settings-modal__dialog::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148, 163, 184, 0.5);
}

.cookie-settings-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 32px;
    cursor: pointer;
    padding: 4px 12px;
    line-height: 1;
    transition: color 0.2s;
}

.cookie-settings-modal__close:hover {
    color: #cbd5e1;
}

.cookie-settings-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    padding-right: 40px;
}

.cookie-settings-modal__body {
    color: #cbd5e1;
}

.cookie-settings-modal__description {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 24px;
}

.cookie-settings-modal__section-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.cookie-settings-modal__categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cookie-category {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 12px;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-category__name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.cookie-category__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-category-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: transparent;
    color: #94a3b8;
}

.cookie-category-btn--no {
    background: transparent;
}

.cookie-category-btn--no:hover,
.cookie-category-btn--no.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.cookie-category-btn--yes {
    background: transparent;
}

.cookie-category-btn--yes:hover,
.cookie-category-btn--yes.active {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.cookie-settings-modal__footer {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 0;
}

.cookie-settings-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.cookie-settings-btn--partners {
    background: transparent;
    color: #94a3b8;
}

.cookie-settings-btn--partners:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: #94a3b8;
    color: #cbd5e1;
}

.cookie-settings-btn--save {
    background: #60a5fa;
    border-color: #60a5fa;
    color: #0f172a;
}

.cookie-settings-btn--save:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.cookie-settings-modal__branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.cookie-settings-modal__branding svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.cookie-settings-modal__branding-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-settings-modal__branding-name {
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.05em;
}

.cookie-settings-modal__branding-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.1em;
}

.cookie-settings-modal__disclaimer {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 8px;
}

/* Mobile responsiveness for cookie settings modal */
@media (max-width: 768px) {
    .cookie-settings-modal__dialog {
        padding: 24px 16px;
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-settings-modal__title {
        font-size: 18px;
        padding-right: 30px;
    }
    
    .cookie-category__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-category__actions {
        width: 100%;
    }
    
    .cookie-category-btn {
        flex: 1;
        padding: 10px 12px;
    }
    
    .cookie-settings-modal__footer {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
}

/* =========================================
   Document Modal Viewer
   ========================================= */
.doc-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 20000;
}

.doc-modal.is-open {
    display: block;
}

.doc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(10px);
}

.doc-modal__dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 820px;
    max-width: 95vw;
    max-height: 95vh;
    margin: 0;
    padding: 30px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg-primary) 86%, #000 14%);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    z-index: 20001;
}

.doc-modal__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    padding-right: 40px;
    flex-shrink: 0;
    line-height: 1.3;
}

.doc-modal__body {
    flex: 1;
    height: 100%; /* Force height */
    overflow-y: auto; /* Scroll only vertically */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 6px;
    color: rgba(226, 232, 240, 0.95);
    line-height: 1.7;
    transition: color 0.3s ease;
}

[data-theme="grayscale"] .doc-modal__backdrop {
    background: rgba(17, 24, 39, 0.35);
}

[data-theme="grayscale"] .doc-modal__dialog {
    background: color-mix(in srgb, var(--bg-primary) 82%, #fff 18%);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

[data-theme="grayscale"] .doc-modal__title {
    color: #0f172a;
}

[data-theme="grayscale"] .doc-modal__close {
    color: rgba(15, 23, 42, 0.7);
}

[data-theme="grayscale"] .doc-modal__close:hover {
    color: #0f172a;
}

/* New Contact Icons Styles */
.contact-icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-svg {
    transform: scale(1.1);
    color: var(--primary-light);
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

[data-theme="grayscale"] .contact-icon-svg {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

[data-theme="grayscale"] .contact-card:hover .contact-icon-svg {
    color: var(--primary-light);
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

/* Light Theme overrides for Modal */
[data-theme="grayscale"] .doc-modal__body {
    color: rgba(15, 23, 42, 0.85);
}

/* Normalize HTML inside the document viewer */
.doc-modal__body,
.doc-modal__body * {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
    background: transparent !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
}

/* Dark theme: force readable light text inside embedded documents */
html:not([data-theme="grayscale"]) .doc-modal__body {
    color: #ffffff !important;
}

html:not([data-theme="grayscale"]) .doc-modal__body * {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

html:not([data-theme="grayscale"]) .doc-modal__body h1,
html:not([data-theme="grayscale"]) .doc-modal__body h2,
html:not([data-theme="grayscale"]) .doc-modal__body h3,
html:not([data-theme="grayscale"]) .doc-modal__body h4,
html:not([data-theme="grayscale"]) .doc-modal__body h5,
html:not([data-theme="grayscale"]) .doc-modal__body h6,
html:not([data-theme="grayscale"]) .doc-modal__body p,
html:not([data-theme="grayscale"]) .doc-modal__body li,
html:not([data-theme="grayscale"]) .doc-modal__body span,
html:not([data-theme="grayscale"]) .doc-modal__body div,
html:not([data-theme="grayscale"]) .doc-modal__body strong,
html:not([data-theme="grayscale"]) .doc-modal__body em,
html:not([data-theme="grayscale"]) .doc-modal__body b,
html:not([data-theme="grayscale"]) .doc-modal__body i,
html:not([data-theme="grayscale"]) .doc-modal__body td,
html:not([data-theme="grayscale"]) .doc-modal__body th {
    color: #ffffff !important;
}

html:not([data-theme="grayscale"]) .doc-modal__body a {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Light theme: force readable dark text inside embedded documents */
html[data-theme="grayscale"] .doc-modal__body {
    color: #0f172a !important;
}

html[data-theme="grayscale"] .doc-modal__body * {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.25) !important;
}

html[data-theme="grayscale"] .doc-modal__body a {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Custom Scrollbar for Modal */
.doc-modal__body::-webkit-scrollbar {
    width: 8px;
}

.doc-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.doc-modal__body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.doc-modal__body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Light Theme Scrollbar Override */
[data-theme="grayscale"] .doc-modal__body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

[data-theme="grayscale"] .doc-modal__body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Light Theme Text Colors for Inner Content */
[data-theme="grayscale"] .doc-modal__body,
[data-theme="grayscale"] .doc-modal__body * {
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

[data-theme="grayscale"] .doc-modal__body p,
[data-theme="grayscale"] .doc-modal__body li,
[data-theme="grayscale"] .doc-modal__body div {
    color: #000000 !important;
}

[data-theme="grayscale"] .doc-modal__body h1,
[data-theme="grayscale"] .doc-modal__body h2,
[data-theme="grayscale"] .doc-modal__body h3,
[data-theme="grayscale"] .doc-modal__body h4,
[data-theme="grayscale"] .doc-modal__body h5,
[data-theme="grayscale"] .doc-modal__body h6 {
    color: #000000 !important;
}

[data-theme="grayscale"] .doc-modal__body a {
    color: var(--gold-accent-darker) !important;
}

.doc-modal__body table {
    width: 100%;
    border-collapse: collapse;
}

.doc-modal__body th,
.doc-modal__body td {
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    padding: 8px;
}

[data-theme="grayscale"] .doc-modal__body th,
[data-theme="grayscale"] .doc-modal__body td {
    border-color: rgba(203, 213, 225, 0.8) !important;
}

/* Info Block Styling (for Privacy Policy) */
.doc-modal__body .info-block {
    background: rgba(0, 0, 0, 0.14);
    border-left: 3px solid var(--primary-color);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

[data-theme="grayscale"] .doc-modal__body .info-block {
    background: rgba(255, 255, 255, 0.45);
    border-left: 3px solid var(--primary-color);
}

/* Better layout for GDPR HTML inside modal: spacing & lists */
.doc-modal__body {
    line-height: 1.6;
    font-size: 15px;
}

.doc-modal__body p {
    margin-top: 0;
    margin-bottom: 0.9em;
}

.doc-modal__body h1,
.doc-modal__body h2,
.doc-modal__body h3,
.doc-modal__body h4,
.doc-modal__body h5,
.doc-modal__body h6 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 700 !important;
}

.doc-modal__body h1:first-child,
.doc-modal__body h2:first-child,
.doc-modal__body h3:first-child,
.doc-modal__body h4:first-child,
.doc-modal__body h5:first-child,
.doc-modal__body h6:first-child {
    margin-top: 0;
}

.doc-modal__body ul,
.doc-modal__body ol {
    margin: 0 0 1.1em 1.4em;
    padding-left: 1.2em;
    list-style-position: outside;
}

.doc-modal__body ul {
    list-style-type: disc;
}

.doc-modal__body ol {
    list-style-type: decimal;
}

.doc-modal__body li {
    margin-bottom: 0.4em;
}

.doc-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: transparent;
    color: rgba(148, 163, 184, 0.9);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.doc-modal__close:hover {
    color: var(--primary-color);
}

/* Mobile responsiveness for document modal */
@media (max-width: 768px) {
    .doc-modal__dialog {
        max-width: calc(100% - 32px);
        max-height: calc(100vh - 60px);
        padding: 20px 16px;
    }
    
    .doc-modal__title {
        font-size: 18px;
        padding-right: 30px;
    }
    
    .doc-modal__body {
        font-size: 14px;
        /* Let flex handle the height */
    }
}

/* =========================================
   Cookie Consent Banner - Light Theme Support
   ========================================= */
[data-theme="grayscale"] .cookie-banner__inner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="grayscale"] .cookie-banner__text {
    color: #334155;
}

[data-theme="grayscale"] .cookie-banner__text a {
    color: var(--gold-accent-darker);
}

[data-theme="grayscale"] .cookie-btn {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

[data-theme="grayscale"] .cookie-btn:hover {
    background: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="grayscale"] .cookie-btn--primary {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: white;
}

[data-theme="grayscale"] .cookie-btn--primary:hover {
    background: var(--gold-accent-darker);
    border-color: var(--gold-accent-darker);
}

[data-theme="grayscale"] .cookie-btn--secondary {
    background: transparent;
    border-color: #94a3b8;
    color: #64748b;
}

[data-theme="grayscale"] .cookie-btn--secondary:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: #64748b;
    color: #475569;
}

/* Cookie Settings Modal - Light Theme */
[data-theme="grayscale"] .cookie-settings-modal__dialog {
    background: #ffffff;
    border-color: rgba(203, 213, 225, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="grayscale"] .cookie-settings-modal__close {
    color: #64748b;
}

[data-theme="grayscale"] .cookie-settings-modal__close:hover {
    color: #334155;
}

[data-theme="grayscale"] .cookie-settings-modal__title {
    color: #0f172a;
}

[data-theme="grayscale"] .cookie-settings-modal__description {
    color: #475569;
}

[data-theme="grayscale"] .cookie-settings-modal__section-title {
    color: #64748b;
}

[data-theme="grayscale"] .cookie-category {
    border-bottom-color: rgba(203, 213, 225, 0.6);
}

[data-theme="grayscale"] .cookie-category__name {
    color: #0f172a;
}

[data-theme="grayscale"] .cookie-category-btn {
    color: #64748b;
    border-color: rgba(203, 213, 225, 0.8);
}

[data-theme="grayscale"] .cookie-settings-btn--partners {
    color: #64748b;
    border-color: rgba(203, 213, 225, 0.8);
}

[data-theme="grayscale"] .cookie-settings-btn--partners:hover {
    background: rgba(203, 213, 225, 0.3);
    color: #334155;
}

[data-theme="grayscale"] .cookie-settings-btn--save {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: white;
}

[data-theme="grayscale"] .cookie-settings-btn--save:hover {
    background: var(--gold-accent-darker);
    border-color: var(--gold-accent-darker);
}

[data-theme="grayscale"] .cookie-settings-modal__branding {
    border-top-color: rgba(203, 213, 225, 0.6);
}

[data-theme="grayscale"] .cookie-settings-modal__branding svg {
    color: var(--gold-accent);
}

[data-theme="grayscale"] .cookie-settings-modal__branding-name {
    color: #0f172a;
}

[data-theme="grayscale"] .cookie-settings-modal__branding-subtitle {
    color: #64748b;
}

[data-theme="grayscale"] .cookie-settings-modal__disclaimer {
    color: #64748b;
}
