/* ========================================
   KIKOZ&CO - Dynamic Interactive Website
   ======================================== */

:root {
    --navy: #1e3a5f;
    --navy-dark: #152a45;
    --navy-light: #2d4a6f;
    --taupe: #8c8279;
    --taupe-light: #a69d95;
    --beige: #d9d2ca;
    --beige-light: #f5f3f0;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;

    --font-primary: 'Heebo', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(30, 58, 95, 0.4);

    --transition: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 8px;
    --radius-lg: 16px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--navy);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
p { color: var(--text-gray); }

.text-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--taupe) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--taupe);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(-5px);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--beige-light);
    transform: translateY(-3px);
}

.btn-glow {
    box-shadow: 0 0 0 0 rgba(30, 58, 95, 0.4);
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 58, 95, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(30, 58, 95, 0.2); }
}

.btn-full { width: 100%; }

/* ========================================
   HEADER - Larger Animated Logo
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-slow);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    position: relative;
}

/* Initial state - logo centered and larger */
.header.logo-centered .container {
    justify-content: center;
}

/* After scroll - content on the right side */
.header.menu-revealed .container {
    justify-content: flex-start;
}

.logo {
    position: relative;
    z-index: 1001;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.logo-centered .logo {
    transform: scale(1.3);
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition-slow);
    animation: logo-glow 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 10px rgba(30, 58, 95, 0.3));
}

/* Nav hidden initially, slides out on scroll */
.nav {
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.logo-centered .nav {
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
}

.header.menu-revealed .nav {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@keyframes logo-glow {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 2px 10px rgba(30, 58, 95, 0.3));
    }
    50% {
        transform: translateY(-3px);
        filter: drop-shadow(0 8px 20px rgba(30, 58, 95, 0.4));
    }
}

.header.scrolled .logo img {
    height: 55px;
    animation: none;
    filter: drop-shadow(0 2px 8px rgba(30, 58, 95, 0.2));
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list a {
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-list a {
    color: var(--navy);
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--taupe));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-list a:hover::before {
    width: 100%;
}

/* Language Toggle Button */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-toggle:hover {
    background: var(--taupe);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 9999;
    position: relative;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--navy);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.nav-toggle.active span {
    background: var(--white);
}

/* ========================================
   ACCESSIBILITY BUTTON
   ======================================== */
.accessibility-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.4);
    transition: var(--transition);
}

.accessibility-btn:hover {
    background: var(--navy-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(30, 58, 95, 0.5);
}

.accessibility-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    left: 20px;
    bottom: 90px;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.accessibility-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.accessibility-panel-header {
    padding: 16px 20px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-panel-header h3 {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.accessibility-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
}

.accessibility-options {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessibility-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--beige-light);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    width: 100%;
}

.accessibility-option:hover {
    background: var(--beige);
}

.accessibility-option svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: var(--navy);
}

.accessibility-option span {
    font-size: 0.9375rem;
    color: var(--navy);
    font-weight: 500;
}

.accessibility-option.active {
    background: var(--navy);
}

.accessibility-option.active svg {
    fill: var(--white);
}

.accessibility-option.active span {
    color: var(--white);
}

/* Accessibility States */
body.high-contrast {
    filter: contrast(1.5);
}

body.grayscale {
    filter: grayscale(1);
}

body.large-text {
    font-size: 120%;
}

body.large-text h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
body.large-text h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
body.large-text h3 { font-size: 1.8rem; }

body.highlight-links a {
    outline: 2px solid #ffcc00 !important;
    outline-offset: 2px;
}

body.readable-font * {
    font-family: Arial, sans-serif !important;
}

/* ========================================
   HERO - Clean Professional Design
   ======================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-dark);
}

/* Critical mobile fix for hero section */
@media (max-width: 768px) {
    .hero {
        overflow: hidden !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }

    .hero > * {
        max-width: 100vw !important;
    }

    /* Hide all decorative elements on mobile */
    .hero .floating-shapes,
    .hero .shape,
    .hero .shape-1,
    .hero .shape-2,
    .hero .shape-3,
    .hero .hero-logo-watermark,
    .hero .particle-canvas,
    .hero .scroll-indicator {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    max-width: 100vw;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

/* Video mobile fix */
@media (max-width: 768px) {
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        transform: none !important;
        object-fit: cover;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        overflow: hidden !important;
    }
}

/* Fallback - hide video on slow connections or if not supported */
.hero-bg img {
    display: none;
}

.hero-video:not([src])::after,
.hero-bg:has(video[src=""]) img {
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 42, 69, 0.95) 0%, rgba(30, 58, 95, 0.85) 50%, rgba(45, 74, 111, 0.9) 100%);
    z-index: 2;
}

/* Large Logo Watermark */
.hero-logo-watermark {
    position: absolute;
    left: -8%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    max-width: 750px;
    opacity: 0.12;
    z-index: 3;
    pointer-events: none;
    animation: watermark-float 10s ease-in-out infinite;
}

/* Hide watermark on mobile */
@media (max-width: 768px) {
    .hero-logo-watermark {
        display: none !important;
        visibility: hidden !important;
    }
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    filter: brightness(10) saturate(0);
}

@keyframes watermark-float {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
        opacity: 0.12;
    }
    50% {
        transform: translateY(-50%) translateX(30px) rotate(2deg);
        opacity: 0.18;
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

/* Hide floating shapes on mobile */
@media (max-width: 768px) {
    .floating-shapes,
    .shape,
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.shape {
    position: absolute;
    opacity: 0.06;
    border: 2px solid var(--white);
    animation: shape-float 20s ease-in-out infinite;
}

.shape-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    transform: rotate(45deg);
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 5%;
    transform: rotate(45deg);
    animation-delay: -10s;
}

@keyframes shape-float {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.06; }
    50% { transform: rotate(45deg) translate(15px, -15px); opacity: 0.1; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 120px 20px 80px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

/* Hero content mobile fix */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 100px 16px 60px !important;
        margin: 0 auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fade-in-up 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:nth-child(1) {
    animation: slide-up 0.8s ease forwards 0.2s;
    opacity: 0;
}

.title-line:nth-child(2) {
    animation: slide-up 0.8s ease forwards 0.4s;
    opacity: 0;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fade-in-up 0.8s ease forwards 0.6s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease forwards 0.8s;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   ANIMATED SKYLINE
   ======================================== */
.skyline-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 0 20px;
}

.building {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3) 0%, rgba(30, 58, 95, 0.15) 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    transform-origin: bottom;
    animation: buildingRise 1.5s ease-out forwards;
    opacity: 0;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.building::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: calc(100% - 20px);
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.1) 8px,
        rgba(255, 255, 255, 0.1) 10px
    );
    background-size: 100% 18px;
}

/* Building windows effect */
.building::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15%;
    width: 70%;
    height: calc(100% - 25px);
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 215, 100, 0.4) 0px,
            rgba(255, 215, 100, 0.4) 6px,
            transparent 6px,
            transparent 12px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 215, 100, 0.3) 0px,
            rgba(255, 215, 100, 0.3) 8px,
            transparent 8px,
            transparent 20px
        );
    opacity: 0;
    animation: windowsLight 0.5s ease-out forwards;
    animation-delay: inherit;
}

/* Different building sizes */
.building:nth-child(1) { width: 45px; height: 120px; animation-delay: 0.1s; }
.building:nth-child(2) { width: 60px; height: 180px; animation-delay: 0.2s; }
.building:nth-child(3) { width: 35px; height: 100px; animation-delay: 0.15s; }
.building:nth-child(4) { width: 80px; height: 220px; animation-delay: 0.3s; }
.building:nth-child(5) { width: 50px; height: 160px; animation-delay: 0.25s; }
.building:nth-child(6) { width: 70px; height: 250px; animation-delay: 0.35s; }
.building:nth-child(7) { width: 40px; height: 130px; animation-delay: 0.2s; }
.building:nth-child(8) { width: 90px; height: 200px; animation-delay: 0.4s; }
.building:nth-child(9) { width: 55px; height: 170px; animation-delay: 0.3s; }
.building:nth-child(10) { width: 65px; height: 190px; animation-delay: 0.35s; }
.building:nth-child(11) { width: 45px; height: 140px; animation-delay: 0.25s; }
.building:nth-child(12) { width: 75px; height: 210px; animation-delay: 0.4s; }
.building:nth-child(13) { width: 50px; height: 150px; animation-delay: 0.3s; }
.building:nth-child(14) { width: 85px; height: 230px; animation-delay: 0.45s; }
.building:nth-child(15) { width: 40px; height: 110px; animation-delay: 0.2s; }

/* Antenna/spire on tall buildings */
.building:nth-child(4)::before,
.building:nth-child(6)::before,
.building:nth-child(8)::before,
.building:nth-child(14)::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(30, 58, 95, 0.3));
    border-radius: 2px;
}

/* Rising animation */
@keyframes buildingRise {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    60% {
        transform: scaleY(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Windows lighting up */
@keyframes windowsLight {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Subtle floating animation for buildings */
.building {
    animation: buildingRise 1.5s ease-out forwards, buildingFloat 6s ease-in-out infinite;
    animation-delay: var(--delay, 0.1s), 2s;
}

@keyframes buildingFloat {
    0%, 100% {
        transform: scaleY(1) translateY(0);
    }
    50% {
        transform: scaleY(1) translateY(-3px);
    }
}

/* Responsive skyline */
@media (max-width: 1024px) {
    .skyline-container {
        height: 200px;
    }
    .building:nth-child(1) { width: 30px; height: 80px; }
    .building:nth-child(2) { width: 40px; height: 120px; }
    .building:nth-child(3) { width: 25px; height: 70px; }
    .building:nth-child(4) { width: 55px; height: 150px; }
    .building:nth-child(5) { width: 35px; height: 110px; }
    .building:nth-child(6) { width: 50px; height: 170px; }
    .building:nth-child(7) { width: 28px; height: 90px; }
    .building:nth-child(8) { width: 60px; height: 140px; }
    .building:nth-child(9) { width: 38px; height: 115px; }
    .building:nth-child(10) { width: 45px; height: 130px; }
    .building:nth-child(11) { display: none; }
    .building:nth-child(12) { display: none; }
    .building:nth-child(13) { display: none; }
    .building:nth-child(14) { display: none; }
    .building:nth-child(15) { display: none; }
}

@media (max-width: 768px) {
    .skyline-container {
        height: 150px;
    }
    .building:nth-child(1) { width: 25px; height: 60px; }
    .building:nth-child(2) { width: 35px; height: 90px; }
    .building:nth-child(3) { width: 20px; height: 50px; }
    .building:nth-child(4) { width: 45px; height: 110px; }
    .building:nth-child(5) { width: 30px; height: 80px; }
    .building:nth-child(6) { width: 40px; height: 120px; }
    .building:nth-child(7) { width: 22px; height: 65px; }
    .building:nth-child(8) { width: 50px; height: 100px; }
    .building:nth-child(9) { display: none; }
    .building:nth-child(10) { display: none; }
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--beige), var(--taupe), var(--beige));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
    position: relative;
    padding: 20px;
}

.stat-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255,255,255,0.2);
}

.stat-item:first-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white) 0%, var(--beige) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.3) 0%, transparent 100%);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float-card 3s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.floating-card .card-icon svg {
    width: 24px;
    height: 24px;
}

.floating-card .card-text strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
}

.floating-card .card-text span {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.about-content h2 {
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

.values-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--beige-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    width: 32px;
    height: 32px;
    color: var(--navy);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-item span {
    font-weight: 500;
    color: var(--navy);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 120px 0;
    background: var(--beige-light);
    position: relative;
    overflow: hidden;
}

.services-icon-bg {
    position: absolute;
    left: -15%;
    bottom: -20%;
    width: 50%;
    max-width: 600px;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    animation: services-icon-spin 30s linear infinite;
}

.services-icon-bg img {
    width: 100%;
    height: auto;
}

@keyframes services-icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .card-bg {
    opacity: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon {
    color: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    color: var(--navy);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.card-arrow {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    color: var(--white);
}

.card-arrow svg {
    width: 20px;
    height: 20px;
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CTA
   ======================================== */
.cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-bg img {
    transform: scale(1.2);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(140, 130, 121, 0.88) 100%);
    z-index: -1;
}

.cta-icon-watermark {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 500px;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    animation: cta-icon-float 12s ease-in-out infinite;
}

.cta-icon-watermark img {
    width: 100%;
    height: auto;
    filter: brightness(10) saturate(0);
}

@keyframes cta-icon-float {
    0%, 100% {
        transform: translateY(-50%) rotate(-5deg);
        opacity: 0.08;
    }
    50% {
        transform: translateY(-50%) rotate(5deg);
        opacity: 0.12;
    }
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 36px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info > p {
    margin-bottom: 40px;
    font-size: 1.0625rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.contact-icon-link:hover {
    transform: scale(1.1);
}

.contact-icon-link:hover .contact-icon {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--taupe) 100%);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-icon.pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--navy);
    border-radius: var(--radius);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.contact-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--navy);
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--white) 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--beige);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hide honeypot and system fields */
.contact-form > input[type="hidden"],
.contact-form > input[name="_gotcha"],
.contact-form > input[name="form-name"],
.contact-form > input[name="_timestamp"],
input[name="_gotcha"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.input-focus {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--taupe));
    transition: width 0.4s ease;
}

.form-group input:focus ~ .input-focus,
.form-group select:focus ~ .input-focus,
.form-group textarea:focus ~ .input-focus {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(10) saturate(0);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    max-width: 320px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 8px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.privacy-link {
    display: inline-block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--white);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
}

.footer-legal-links .privacy-link {
    margin-top: 0;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   TABLET (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { gap: 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
    .logo img { height: 60px; }
    .header.scrolled .logo img { height: 50px; }
}

/* ========================================
   MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Global mobile fixes - prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative !important;
    }

    * {
        max-width: 100vw;
    }

    .container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow: hidden;
    }

    /* Hide cursor follower on touch devices */
    .cursor-follower { display: none; }

    /* Header - always show menu toggle on mobile */
    .header .container {
        justify-content: space-between;
    }

    /* Disable logo centering animation on mobile */
    .header.logo-centered .container {
        justify-content: space-between;
    }

    .header.logo-centered .logo {
        transform: none;
    }

    /* Show hamburger menu on mobile - position on left side */
    .nav-toggle {
        display: flex !important;
        z-index: 9999;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Mobile menu - full screen overlay */
    .nav {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9998;
        pointer-events: none;
        width: 100% !important;
        height: 100vh;
    }

    /* Show nav when active */
    .nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-list {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.5rem;
        color: var(--white) !important;
        padding: 10px 20px;
        display: block;
    }

    .nav-list a::before {
        display: none;
    }

    /* Hamburger animation when active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--white);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--white);
    }

    /* Hero section - adjust height for mobile */
    .hero {
        min-height: calc(100vh - 150px);
        min-height: calc(100svh - 150px); /* Small viewport height for mobile */
    }

    .hero-content {
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hide decorative elements on mobile */
    .floating-shapes { display: none !important; }
    .scroll-indicator { display: none !important; }
    .particle-canvas {
        display: none !important;
    }
    .hero-logo-watermark {
        display: none !important;
    }

    /* Ensure hero doesn't overflow */
    .hero {
        overflow: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .hero-bg,
    .hero-bg video,
    .hero-overlay {
        max-width: 100vw !important;
        width: 100% !important;
        overflow: hidden !important;
        left: 0 !important;
        right: 0 !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
    }

    .hero-title {
        text-align: center !important;
    }

    .hero-buttons {
        align-items: center !important;
        justify-content: center !important;
    }

    /* Stats bar */
    .stats-bar {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-item::after { display: none; }
    .stat-number { font-size: 2.5rem; }
    .stat-label { font-size: 0.9rem; }

    /* About section */
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { order: -1; }
    .floating-card {
        right: 10px;
        bottom: -15px;
        padding: 12px 16px;
    }
    .floating-card .card-icon {
        width: 36px;
        height: 36px;
    }

    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .services-icon-bg {
        width: 200px;
        opacity: 0.03;
    }

    /* CTA section */
    .cta {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-icon-watermark {
        width: 150px;
    }

    /* Contact section */
    .contact-form-wrapper {
        padding: 24px 16px;
        border-radius: var(--radius);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        padding: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand { grid-column: span 1; }
    .footer-brand p { max-width: none; }
    .footer-logo {
        margin: 0 auto 20px;
        max-width: 150px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-separator {
        display: none;
    }

    /* Accessibility button */
    .accessibility-btn {
        width: 48px;
        height: 48px;
        bottom: 15px;
        left: 15px;
    }

    .accessibility-panel {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 75px;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .header {
        padding: 12px 0;
    }

    .logo img {
        height: 45px;
    }

    .header.logo-centered .logo {
        transform: none;
    }

    .hero {
        min-height: calc(100vh - 180px);
        min-height: calc(100svh - 180px);
    }

    .hero-content {
        padding: 60px 16px 30px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .about, .services, .contact {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 20px 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    /* Larger touch targets */
    .nav-list a {
        padding: 12px 16px;
    }

    .contact-item {
        min-height: 60px;
    }

    /* Disable tilt effect on touch */
    [data-tilt] {
        transform: none !important;
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
