/* ===================================
   Google Fonts
   Montserrat: Official brand wordmark
   Oxygen: Headings & taglines
   Roboto: Body text
   Roboto Condensed: Accents & labels
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;700&family=Oxygen:wght@300;400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300;1,400&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* ===================================
   CSS Reset and Base Styles
   =================================== */

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

:root {
    /* Brand Colors — Dark Mode (Default) */
    --primary: #3c9eb1;
    --primary-bright: #4eb8cc;
    --primary-dark: #1c5465;
    --primary-deep: #255776;
    --bg-base: #0a0a0b;
    --bg-elevated: #111113;
    --bg-card: #161618;
    --bg-card-hover: #1c1c1f;
    --text-primary: #e8e8ec;
    --text-secondary: #8a8a96;
    --text-tertiary: #55555f;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --glow-primary: rgba(60, 158, 177, 0.15);
    --glow-strong: rgba(60, 158, 177, 0.3);
    --connector-grey: #656262;

    /* Fluid Spacing Scale */
    --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    --space-md: clamp(2rem, 1.8rem + 1vw, 3rem);
    --space-lg: clamp(4rem, 3.6rem + 2vw, 6rem);
    --space-xl: clamp(6rem, 5.4rem + 3vw, 9rem);

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

/* Light Mode Colors */
[data-theme="light"] {
    --primary: #0a8a9e;
    --primary-bright: #0D9CAF;
    --primary-dark: #105B75;
    --bg-base: #f6f6f8;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f4;
    --text-primary: #111118;
    --text-secondary: #5a5a66;
    --text-tertiary: #8a8a96;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --glow-primary: rgba(13, 156, 175, 0.1);
    --glow-strong: rgba(13, 156, 175, 0.2);
}

/* System preference detection */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --primary: #0a8a9e;
        --primary-bright: #0D9CAF;
        --primary-dark: #105B75;
        --bg-base: #f6f6f8;
        --bg-elevated: #ffffff;
        --bg-card: #ffffff;
        --bg-card-hover: #f0f0f4;
        --text-primary: #111118;
        --text-secondary: #5a5a66;
        --text-tertiary: #8a8a96;
        --border-subtle: rgba(0, 0, 0, 0.06);
        --border-medium: rgba(0, 0, 0, 0.1);
        --glow-primary: rgba(13, 156, 175, 0.1);
        --glow-strong: rgba(13, 156, 175, 0.2);
    }
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

[data-theme="light"] body::after {
    opacity: 0.02;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s var(--ease-out-quart);
}

a:hover {
    color: var(--primary-bright);
}

/* Accessible Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background-color: var(--primary);
    color: var(--bg-base);
    font-weight: 600;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
h2 { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    padding: 0.875rem 0;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.92);
    border-bottom-color: var(--border-medium);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(246, 248, 250, 0.78) 100%
    );
    border-bottom: 1px solid rgba(60, 158, 177, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 4px 24px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .navbar.scrolled {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(246, 248, 250, 0.92) 100%
    );
    border-bottom-color: rgba(60, 158, 177, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(60, 158, 177, 0.04);
}

[data-theme="light"] .nav-menu a {
    color: #4a4a56;
}

[data-theme="light"] .nav-menu a:hover {
    color: #111118;
    background: rgba(60, 158, 177, 0.07);
}

[data-theme="light"] .nav-menu a.active {
    color: var(--primary);
    background: rgba(60, 158, 177, 0.08);
    box-shadow: 0 0 0 1px rgba(60, 158, 177, 0.12) inset;
}

[data-theme="light"] .dropdown-menu {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(250, 250, 252, 0.96) 100%
    );
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(60, 158, 177, 0.08);
}

[data-theme="light"] .dropdown-menu a:hover {
    background: rgba(60, 158, 177, 0.06);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo img {
    display: block;
    transition: transform 0.3s var(--ease-out-quart), opacity 0.3s ease;
    vertical-align: middle;
    opacity: 0.9;
}

.logo:hover img {
    transform: scale(1.03);
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: 0.3s var(--ease-out-quart);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu > li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out-quart);
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    letter-spacing: 0.01em;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background-color: var(--glow-primary);
}

.nav-menu a.active {
    color: var(--primary);
    background-color: var(--glow-primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 22, 24, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    min-width: 220px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle);
    border-radius: 12px;
    list-style: none;
    padding: 0.5rem;
    margin-top: 0;
    z-index: 1000;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: left;
    width: 100%;
    font-size: 0.875rem;
}

.dropdown-menu a:hover {
    background-color: var(--glow-primary);
    color: var(--primary);
}

.dropdown > a::after {
    content: " \25BE";
    font-size: 0.7em;
    margin-left: 0.25rem;
    opacity: 0.5;
}

/* ===================================
   Theme Toggle — Premium Capsule
   =================================== */

.theme-toggle {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.toggle-track {
    position: relative;
    width: 56px;
    height: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1.5px solid rgba(60, 158, 177, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(60, 158, 177, 0.08) inset;
    overflow: hidden;
}

.toggle-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: radial-gradient(circle at 20% 50%, rgba(60, 158, 177, 0.15) 0%, transparent 60%);
    transition: opacity 0.5s ease;
}

.theme-toggle:hover .toggle-track {
    border-color: rgba(60, 158, 177, 0.45);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(60, 158, 177, 0.15) inset;
}

.toggle-icon {
    position: relative;
    z-index: 1;
    transition: all 0.5s var(--ease-out-expo);
    flex-shrink: 0;
}

.toggle-moon {
    color: rgba(60, 158, 177, 0.9);
    filter: drop-shadow(0 0 4px rgba(60, 158, 177, 0.4));
    opacity: 1;
    transform: scale(1);
}

.toggle-sun {
    color: rgba(255, 200, 50, 0.4);
    opacity: 0.5;
    transform: scale(0.8);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3c9eb1 0%, #2a7a8a 100%);
    box-shadow:
        0 2px 8px rgba(60, 158, 177, 0.5),
        0 0 16px rgba(60, 158, 177, 0.2),
        0 1px 2px rgba(255, 255, 255, 0.15) inset;
    transition: all 0.5s var(--ease-out-expo);
    z-index: 2;
}

.theme-toggle:hover .toggle-thumb {
    box-shadow:
        0 2px 12px rgba(60, 158, 177, 0.6),
        0 0 24px rgba(60, 158, 177, 0.3),
        0 1px 2px rgba(255, 255, 255, 0.2) inset;
}

.theme-toggle:active .toggle-thumb {
    width: 26px;
    border-radius: 12px;
}

/* Light mode state */
[data-theme="light"] .toggle-track {
    background: linear-gradient(135deg, #e8f4f7 0%, #d4eef3 50%, #c2e6ed 100%);
    border-color: rgba(60, 158, 177, 0.2);
    box-shadow:
        0 2px 8px rgba(60, 158, 177, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

[data-theme="light"] .toggle-track::before {
    background: radial-gradient(circle at 80% 50%, rgba(255, 200, 50, 0.15) 0%, transparent 60%);
}

[data-theme="light"] .theme-toggle:hover .toggle-track {
    border-color: rgba(60, 158, 177, 0.35);
    box-shadow:
        0 4px 16px rgba(60, 158, 177, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

[data-theme="light"] .toggle-thumb {
    left: calc(100% - 25px);
    background: linear-gradient(135deg, #f5a623 0%, #e8941c 100%);
    box-shadow:
        0 2px 8px rgba(245, 166, 35, 0.4),
        0 0 16px rgba(245, 166, 35, 0.15),
        0 1px 2px rgba(255, 255, 255, 0.3) inset;
}

[data-theme="light"] .theme-toggle:hover .toggle-thumb {
    box-shadow:
        0 2px 12px rgba(245, 166, 35, 0.5),
        0 0 24px rgba(245, 166, 35, 0.2),
        0 1px 2px rgba(255, 255, 255, 0.35) inset;
}

[data-theme="light"] .theme-toggle:active .toggle-thumb {
    left: calc(100% - 29px);
}

[data-theme="light"] .toggle-moon {
    color: rgba(60, 158, 177, 0.3);
    opacity: 0.4;
    transform: scale(0.8);
    filter: none;
}

[data-theme="light"] .toggle-sun {
    color: rgba(245, 166, 35, 0.9);
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(245, 166, 35, 0.4));
}

/* ===================================
   Hero Section — Animated Particle Network
   =================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0b;
}

/* Hero always stays dark — particle network is designed for dark backgrounds */
[data-theme="light"] .hero {
    background-color: #0a0a0b;
}

[data-theme="light"] .hero .hero-wordmark-main {
    color: #3c9eb1;
}

[data-theme="light"] .hero .hero-wordmark-sub {
    color: #1c5465;
}

[data-theme="light"] .hero .hero-tagline p {
    color: #55555f;
}

[data-theme="light"] .hero .scroll-indicator span {
    color: #55555f;
}

[data-theme="light"] .hero .data-label {
    color: #1c5465;
}

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

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        linear-gradient(var(--primary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-dark) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.04;
}

.hero-radial-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: heroGlowPulse 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Hero SVG Logo */
.hero-logo-container {
    width: 155px;
    height: 176px;
}

.hero-logo-container svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Logo animation states — v8: shapes first, then connector draws */
.logo-shape { opacity: 0; }
.logo-connector-el {
    stroke-dasharray: 539;
    stroke-dashoffset: 539;
}

.hero.animate .logo-connector-el {
    animation: drawLine 1.2s ease-out 1.2s forwards;
}
.hero.animate .logo-circle-top {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}
.hero.animate .logo-rect {
    animation: slideUp 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}
.hero.animate .logo-circle-right {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.9s forwards;
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.2); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeIn { to { opacity: 1; } }

.logo-glow-layer { animation: none; }
.hero.animate .logo-glow-layer {
    animation: logoGlowPulse 3s ease-in-out 2.0s infinite;
}
@keyframes logoGlowPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.55; }
}

/* Hero Wordmark */
.hero-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
}

.hero.animate .hero-wordmark {
    animation: heroFadeUp 1s ease-out 1.6s forwards;
}

.hero-wordmark-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 16px;
    color: var(--primary);
    text-transform: uppercase;
    text-indent: 16px;
}

.hero-wordmark-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--primary-dark);
    text-transform: uppercase;
    text-indent: 6px;
}

/* Hero Divider */
.hero-divider {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
}

.hero.animate .hero-divider {
    animation: expandLine 1.2s ease-out 1.9s forwards;
}

@keyframes expandLine {
    0% { width: 0; opacity: 0; }
    100% { width: 200px; opacity: 0.35; }
}

/* Hero Tagline */
.hero-tagline {
    opacity: 0;
    max-width: 520px;
}

.hero.animate .hero-tagline {
    animation: heroFadeUp 1s ease-out 2.1s forwards;
}

.hero-tagline p {
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-tertiary);
    letter-spacing: 0.3px;
}

/* Hero CTA */
.hero-cta-wrapper {
    opacity: 0;
}

.hero.animate .hero-cta-wrapper {
    animation: heroFadeUp 1s ease-out 2.4s forwards;
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero.animate .scroll-indicator {
    animation: heroFadeUp 1s ease-out 2.8s forwards;
}

.scroll-indicator span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.scroll-line {
    width: 1px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--primary));
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
    0% { top: -30px; }
    50% { top: 30px; }
    100% { top: 30px; }
}

/* Corner Accents */
.corner-accent {
    position: absolute;
    z-index: 5;
    opacity: 0;
}

.hero.animate .corner-accent {
    animation: fadeIn 1.5s ease-out 2.4s forwards;
}

.corner-accent.tl { top: 30px; left: 30px; }
.corner-accent.br { bottom: 30px; right: 30px; transform: rotate(180deg); }

/* Data Labels */
.data-label {
    position: absolute;
    z-index: 5;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--primary-dark);
    text-transform: uppercase;
    opacity: 0;
}

.hero.animate .data-label {
    animation: fadeIn 2s ease-out 3.0s forwards;
}

.data-label.dl1 { top: 18%; left: 8%; }
.data-label.dl2 { top: 72%; right: 6%; }
.data-label.dl3 { bottom: 22%; left: 12%; }

/* ===================================
   Page Header (sub-pages)
   =================================== */

.page-header {
    background: linear-gradient(135deg, var(--bg-base) 0%, rgba(60, 158, 177, 0.08) 100%);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--primary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-dark) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.03;
}

.page-header h1 {
    position: relative;
    font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

/* ===================================
   About Section — Our Identity
   =================================== */

.about-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-base);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-elevated);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 300px;
    max-width: 380px;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(60, 158, 177, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px var(--glow-primary);
    background: var(--bg-card-hover);
}

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

[data-theme="light"] .service-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 40px var(--glow-primary);
}

.service-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 0 12px var(--glow-strong));
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* ===================================
   Service Detail Pages
   =================================== */

.service-detail-section {
    padding: 80px 0;
    padding-top: 40px;
    background-color: var(--bg-base);
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-intro h2 {
    margin-bottom: 1.5rem;
}

.service-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 300;
}

.service-offerings {
    display: grid;
    gap: 2.5rem;
}

.offering-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    border-radius: 3px;
}

.offering-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 158, 177, 0.15);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.2),
        0 0 30px var(--glow-primary);
}

.offering-icon {
    margin-bottom: 1.5rem;
}

.offering-card:hover .offering-icon svg {
    filter: drop-shadow(0 0 10px var(--glow-strong));
}

.offering-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offering-card > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    color: var(--text-secondary);
    padding: 0.625rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.feature-list li:before {
    content: "\25B8";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    opacity: 0.7;
}

/* ===================================
   Process Section
   =================================== */

.process-section {
    padding: 80px 0;
    background-color: var(--bg-elevated);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.process-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.process-step {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-subtle);
    transition: all 0.5s var(--ease-out-expo);
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(60, 158, 177, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-primary);
}

.step-number {
    font-family: 'Oxygen', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.7;
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-base);
}

.why-choose-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.benefit-item:hover {
    transform: translateY(-6px);
    border-color: rgba(60, 158, 177, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-primary);
}

.benefit-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-base) 0%, rgba(60, 158, 177, 0.06) 50%, var(--bg-base) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.5;
}

.cta-section h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow:
        0 4px 16px rgba(60, 158, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 32px rgba(60, 158, 177, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(60, 158, 177, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(60, 158, 177, 0.35);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* Loading State */
.btn-primary.loading,
.btn-secondary.loading {
    color: transparent;
    pointer-events: none;
}

.btn-primary.loading::after,
.btn-secondary.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

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

/* ===================================
   Contact Page
   =================================== */

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-base);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-form-container > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.required {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-subtle);
    border-bottom: 2px solid var(--primary-dark);
    color: var(--text-primary);
    padding: 0.875rem;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(60, 158, 177, 0.04);
    box-shadow: 0 0 0 3px var(--glow-primary);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    background-color: rgba(60, 158, 177, 0.15);
    color: var(--primary);
    border: 1px solid rgba(60, 158, 177, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

.recaptcha-notice {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 1rem;
}

.recaptcha-notice a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(60, 158, 177, 0.06);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(60, 158, 177, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    transition: all 0.5s var(--ease-out-expo);
}

.contact-info-card::before {
    display: none;
}

.contact-info-card h3 {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.contact-info-card strong {
    color: var(--text-primary);
}

.contact-info-card a {
    color: var(--primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.contact-info-card:hover {
    transform: translateY(-6px);
    background: rgba(60, 158, 177, 0.1);
    border-color: rgba(60, 158, 177, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-primary);
}

[data-theme="light"] .contact-info-card {
    background: rgba(60, 158, 177, 0.06);
    border-color: rgba(60, 158, 177, 0.12);
}

[data-theme="light"] .contact-info-card:hover {
    background: rgba(60, 158, 177, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06), 0 0 20px var(--glow-primary);
}

.contact-logo {
    display: none;
}

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

.logo-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1rem;
}

/* ===================================
   Map Section
   =================================== */

.map-section {
    padding: 80px 0;
    background-color: var(--bg-elevated);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.map-link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.map-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(60, 158, 177, 0.2);
}

.map-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 158, 177, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.map-link:hover .map-overlay {
    background: rgba(60, 158, 177, 0.12);
}

.map-overlay-text {
    background: rgba(10, 10, 11, 0.9);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-quart);
}

.map-link:hover .map-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="light"] .map-overlay-text {
    background: rgba(255, 255, 255, 0.95);
}

.map-note {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ===================================
   Footer — Premium
   =================================== */

.footer {
    background: var(--bg-base);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.footer .container {
    max-width: 1200px;
}

/* Footer Brand */
.footer-brand {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 300;
    letter-spacing: 0.02rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    font-family: 'Oxygen', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    text-align: center;
}

.footer-col ul {
    list-style: none;
    text-align: center;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-col a {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out-quart);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.footer-contact-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact a {
    color: var(--text-tertiary);
}

.footer-contact a:hover {
    color: var(--primary);
    transform: none;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.825rem;
    color: var(--text-tertiary);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal a {
    color: var(--text-tertiary);
    transition: color 0.3s ease;
    opacity: 0.7;
}

.footer-legal a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-divider {
    color: var(--primary);
    opacity: 0.3;
}

/* ===================================
   Scroll Reveal Animations
   =================================== */

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===================================
   Hero Logo (legacy — for sub-pages using img)
   =================================== */

.hero-logo {
    position: relative;
    max-width: 100%;
    overflow: visible;
}

.hero-logo img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fadeInDown 1s ease-out both;
}

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

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

/* ===================================
   Responsive Design
   =================================== */

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

    .services-grid .service-card {
        flex: 0 1 calc(50% - 1rem);
        min-width: 280px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 11, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        width: 100%;
        text-align: center;
        transition: 0.4s var(--ease-out-expo);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 0;
    }

    [data-theme="light"] .nav-menu {
        background: rgba(246, 246, 248, 0.97);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        margin: 0.5rem 0;
        width: 100%;
        display: block;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(60, 158, 177, 0.06);
        margin-top: 0.5rem;
        transform: none;
        left: auto;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-wordmark-main {
        font-size: 28px;
        letter-spacing: 10px;
        text-indent: 10px;
    }

    .hero-wordmark-sub {
        font-size: 9px;
        letter-spacing: 4px;
        text-indent: 4px;
    }

    .hero-tagline p {
        font-size: 13px;
    }

    .hero-logo-container {
        width: 120px;
        height: 140px;
    }

    .data-label { display: none; }

    .corner-accent.tl { top: 20px; left: 20px; }
    .corner-accent.br { bottom: 20px; right: 20px; }

    .page-header {
        padding: 100px 0 50px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

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

@media (max-width: 700px) {
    .services-grid .service-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

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

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-col a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .service-card,
    .offering-card,
    .process-step,
    .benefit-item {
        padding: 1.75rem 1.25rem;
    }

    .hero-wordmark-main {
        font-size: 22px;
        letter-spacing: 8px;
        text-indent: 8px;
    }

    .hero-logo-container {
        width: 100px;
        height: 116px;
    }
}
