/* ==========================================================================
   Erlebach Web Solutions — Clean Trust Design
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&f[]=switzer@300,400,500,600,700&display=swap');

:root {
    /* Colors — Trust Blue Palette */
    --clr-primary-900: #0f172a;
    --clr-primary-800: #1e293b;
    --clr-primary-700: #334155;
    --clr-primary-600: #475569;
    --clr-primary-500: #64748b;

    --clr-neutral-100: #ffffff;
    --clr-neutral-200: #f8fafc;
    --clr-neutral-300: #f1f5f9;
    --clr-neutral-400: #e2e8f0;
    --clr-neutral-500: #94a3b8;
    --clr-neutral-600: #64748b;
    --clr-neutral-700: #475569;

    --clr-accent: #2563eb;
    --clr-accent-hover: #3b82f6;
    --clr-accent-dark: #1d4ed8;
    --clr-accent-muted: rgba(37, 99, 235, 0.08);
    --clr-accent-glow: rgba(37, 99, 235, 0.15);

    --clr-warm: #2563eb;
    --clr-warm-muted: rgba(37, 99, 235, 0.06);

    --clr-text: #1e293b;
    --clr-text-muted: #64748b;
    --clr-text-light: #94a3b8;
    --clr-bg: #ffffff;
    --clr-bg-dark: #0f172a;

    /* Typography */
    --font-display: 'Cabinet Grotesk', system-ui, sans-serif;
    --font-body: 'Switzer', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --fs-hero: clamp(3rem, 10vw, 8rem);
    --fs-display: clamp(2rem, 5vw, 3.5rem);
    --fs-heading: clamp(1.5rem, 3vw, 2.25rem);
    --fs-subheading: clamp(1.125rem, 1.8vw, 1.375rem);
    --fs-body-lg: clamp(1rem, 1.3vw, 1.125rem);
    --fs-body: 0.9375rem;
    --fs-small: 0.8125rem;
    --fs-xs: 0.75rem;

    --lh-tight: 1.1;
    --lh-heading: 1.2;
    --lh-body: 1.7;

    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.04em;
    --ls-wider: 0.08em;
    --ls-widest: 0.12em;

    /* Spacing */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;
    --space-3xl: 12rem;

    /* Effects — Minimal */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-subtle: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-elevated: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-glow-accent: 0 4px 20px rgba(37, 99, 235, 0.15);
    --shadow-glow-accent-strong: 0 8px 30px rgba(37, 99, 235, 0.2);

    --glass-bg: rgba(255,255,255,0.7);
    --glass-bg-light: rgba(255,255,255,0.92);
    --glass-border: rgba(0,0,0,0.06);
    --glass-blur: 12px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-instant: 100ms;
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;
    --duration-slower: 900ms;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; background: var(--clr-bg-dark); }

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

body > main { flex: 1 0 auto; }
body > footer { flex-shrink: 0; }

/* No noise overlay — clean background */
body::before { display: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: var(--lh-heading);
    color: var(--clr-primary-900);
}

a { text-decoration: none; color: inherit; transition: color var(--duration-fast); }
img { max-width: 100%; display: block; }
::selection { background: var(--clr-accent); color: #fff; }

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; }
.container-wide { max-width: 1400px; }

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: absolute; top: -100px; left: 1rem;
    background: var(--clr-accent); color: #fff;
    padding: 0.5rem 1rem; font-weight: 600; font-size: var(--fs-small);
    border-radius: var(--radius-sm); z-index: 10001;
    transition: top var(--duration-fast);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden;
}

/* ==========================================================================
   SCROLL ANIMATIONS — Subtle
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}
[data-reveal="up"] { transform: translateY(30px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal="fade"] { transform: none; }
[data-reveal].revealed { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }
[data-reveal-delay="7"] { transition-delay: 0.56s; }
[data-reveal-delay="8"] { transition-delay: 0.64s; }

/* ==========================================================================
   BUTTONS — Clean, solid
   ========================================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.75rem 1.5rem;
    font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small);
    letter-spacing: var(--ls-wide); border-radius: var(--radius-sm);
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--duration-fast);
}

.btn svg { width: 16px; height: 16px; transition: transform var(--duration-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary, .btn {
    background: var(--clr-accent); color: #fff; box-shadow: var(--shadow-subtle);
}
.btn-primary:hover, .btn:not(.btn-outline):not(.btn-dark):not(.btn-ghost):hover {
    background: var(--clr-accent-hover); box-shadow: var(--shadow-glow-accent);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--clr-primary-900); color: #fff; box-shadow: var(--shadow-subtle);
}
.btn-dark:hover {
    background: var(--clr-primary-800); transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent; border-color: rgba(255,255,255,0.3); color: #fff;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5);
}

.btn-ghost {
    background: transparent; color: var(--clr-accent); padding: 0.5rem 0.75rem;
}
.btn-ghost:hover { color: var(--clr-accent-dark); }

/* ==========================================================================
   HEADER — Clean, minimal
   ========================================================================== */

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 0; transition: all var(--duration-normal);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { display: inline-flex; align-items: center; z-index: 1001; }
.logo-img { height: 36px; width: auto; transition: opacity var(--duration-fast); }
.logo:hover .logo-img { opacity: 0.7; }
.logo-img-light { display: none; }
.logo-img-dark { display: block; }

/* Nav — mobile hidden */
.nav {
    display: none; position: absolute;
    top: calc(100% + 0.5rem); left: 1rem; right: 1rem;
    background: #fff; border-radius: var(--radius-lg);
    padding: 1.5rem; flex-direction: column; gap: 0.75rem;
    box-shadow: var(--shadow-elevated); border: 1px solid var(--clr-neutral-400);
    z-index: 1100;
}
.nav.nav-open { display: flex; }

.nav a {
    font-size: var(--fs-small); font-weight: 600;
    letter-spacing: var(--ls-wider); color: var(--clr-primary-700);
    padding: 0.5rem 0; text-transform: uppercase;
}
.nav a::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--clr-accent);
    transition: width var(--duration-fast); display: none;
}
.nav a:hover { color: var(--clr-accent); }
.nav a.active { color: var(--clr-accent); }

.header-right { display: flex; align-items: center; gap: 1rem; }

.header-cta {
    display: none; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background: var(--clr-accent); color: #fff;
    font-weight: 600; font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
    border-radius: var(--radius-sm); transition: all var(--duration-fast);
}
.header-cta:hover { background: var(--clr-accent-hover); transform: translateY(-1px); }
.header-cta svg { width: 14px; height: 14px; transition: transform var(--duration-fast); }
.header-cta:hover svg { transform: translateX(2px); }

.mobile-toggle {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 0.5rem; z-index: 1001;
}
.mobile-toggle span {
    width: 22px; height: 2px; background: var(--clr-primary-900);
    border-radius: 1px; transition: all var(--duration-fast);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }
body.nav-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(15,23,42,0.2); backdrop-filter: blur(2px);
    z-index: 999; pointer-events: none;
}

.header.scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--clr-neutral-400);
}

.header.header-on-hero:not(.scrolled) { background: transparent; }
.header.header-on-hero:not(.scrolled) .logo-img-light { display: block; }
.header.header-on-hero:not(.scrolled) .logo-img-dark { display: none; }
.header.header-on-hero:not(.scrolled) .nav a { color: rgba(255,255,255,0.8); }
.header.header-on-hero:not(.scrolled) .nav a:hover { color: #fff; }
.header.header-on-hero:not(.scrolled) .nav a.active { color: #fff; }
.header.header-on-hero:not(.scrolled) .mobile-toggle span { background: #fff; }

/* Mobile nav popup has white background — force dark link text regardless of hero state */
.nav.nav-open a,
.header.header-on-hero:not(.scrolled) .nav.nav-open a { color: var(--clr-primary-700); }
.nav.nav-open a:hover,
.header.header-on-hero:not(.scrolled) .nav.nav-open a:hover { color: var(--clr-accent); }
.nav.nav-open a.active,
.header.header-on-hero:not(.scrolled) .nav.nav-open a.active { color: var(--clr-accent); }

.header-accent-line { display: none; }

@media (min-width: 768px) { .header-cta { display: inline-flex; } }

@media (min-width: 1024px) {
    .nav {
        display: flex; position: static; background: none;
        border-radius: 0; padding: 0; flex-direction: row;
        gap: 2rem; box-shadow: none; border: none; align-items: center;
    }
    .nav a {
        color: var(--clr-primary-600); position: relative;
    }
    .nav a::after { display: block; left: 50%; transform: translateX(-50%); }
    .nav a:hover::after { width: 100%; }
    .nav a.active::after { width: 100%; }
    .mobile-toggle { display: none; }
}

/* ==========================================================================
   HERO — Clean dark blue, simple layout
   ========================================================================== */

.hero {
    min-height: 100vh; min-height: 100svh;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    position: relative; display: flex; align-items: center; overflow: hidden;
}

.hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px; z-index: 1;
}

/* Hide decorative shapes — keep it clean */
.hero-shape { display: none !important; }

.hero-inner {
    position: relative; z-index: 3; width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 8rem 1.5rem 4rem;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-content {
    display: flex; flex-direction: column; gap: 2rem;
    align-items: center; width: 100%;
}

.hero-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.2); border-radius: var(--radius-full);
    margin-bottom: 1rem; margin-inline: auto;
    opacity: 0; transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}
.hero.hero-loaded .hero-label { opacity: 1; transform: none; transition-delay: 0.1s; }

.hero-label-dot {
    width: 6px; height: 6px; background: var(--clr-accent);
    border-radius: 50%;
}

.hero-label span {
    font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: var(--ls-wider); color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

.hero-text { position: relative; z-index: 3; max-width: 100%; text-align: center; }

.hero-text h1 {
    font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 2.5rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
    color: #fff; margin-bottom: 1.5rem;
}

.hero-text h1 .line {
    display: block; opacity: 0; transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}
.hero.hero-loaded .hero-text h1 .line:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.15s; }
.hero.hero-loaded .hero-text h1 .line:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.25s; }
.hero.hero-loaded .hero-text h1 .line:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.35s; }

.hero-text h1 .accent { color: #60a5fa; }

.hero-text h1 .outline-text {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.25); color: transparent;
}
@supports not (-webkit-text-stroke: 1px white) {
    .hero-text h1 .outline-text { color: rgba(255,255,255,0.2); }
}

.hero-text > p {
    font-size: var(--fs-body-lg); color: rgba(255,255,255,0.6);
    max-width: 520px; margin-inline: auto; margin-bottom: 2rem;
    line-height: 1.7; opacity: 0; transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}
.hero.hero-loaded .hero-text > p { opacity: 1; transform: none; transition-delay: 0.45s; }

.hero-actions {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem;
    opacity: 0; transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}
.hero-actions .btn { width: 100%; }
.hero.hero-loaded .hero-actions { opacity: 1; transform: none; transition-delay: 0.55s; }

.hero-visual {
    position: relative; width: 100%; margin-top: 2rem; z-index: 5;
    opacity: 0; transition: all var(--duration-slower) var(--ease-out-expo);
}
.hero.hero-loaded .hero-visual { opacity: 1; transition-delay: 0.3s; }

.hero-image {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-elevated);
}
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.hero-image-badge {
    position: absolute; bottom: 1rem; right: 1rem;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); padding: 0.4rem 0.75rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-image-badge .badge-number {
    font-family: var(--font-display); font-size: 1.25rem;
    font-weight: 700; color: #fff; line-height: 1;
}
.hero-image-badge .badge-text {
    font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: var(--ls-wider); color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

.hero-card-stack { position: relative; aspect-ratio: 4/3; }
.hero-img-main { position: absolute; top: 0; left: 0; width: 90%; height: 90%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-elevated); }
.hero-img-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, transparent 50%); z-index: 1; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow); }
.hero-card-stack:hover .hero-img-main img { transform: scale(1.03); }
.hero-img-accent { position: absolute; bottom: -5%; right: -5%; width: 45%; height: 45%; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-medium); border: 3px solid #fff; }
.hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
    position: absolute; bottom: 8%; left: 0;
    background: var(--clr-accent); color: #fff;
    padding: 1rem 1.25rem; border-radius: var(--radius-md);
    text-align: center; box-shadow: var(--shadow-glow-accent);
}
.hero-badge .badge-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.hero-badge .badge-text { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--ls-wider); opacity: 0.8; }

.hero-divider {
    position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px;
    background: var(--clr-neutral-200); clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 4;
}
.hero-divider svg { width: 100%; height: 100%; display: block; }

@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: auto; }
    .hero-visual { display: none; }
}

@media (min-width: 768px) {
    .hero-actions { flex-direction: row; justify-content: center; }
    .hero-actions .btn { width: auto; }
    .hero-visual { max-width: 600px; margin-inline: auto; }
    .hero-text > p { max-width: 480px; }
    .hero-text h1 { font-size: clamp(2.8rem, 6vw, 3.2rem); }
}

@media (min-width: 1024px) {
    .hero-text h1 { font-size: clamp(3.2rem, 5vw, 4rem); }
}

@media (min-width: 1200px) {
    .hero-inner {
        padding: 10rem 2rem 6rem;
        flex-direction: row; text-align: left; gap: 4rem;
    }
    .hero-text { max-width: 580px; text-align: left; }
    .hero-text h1 { font-size: clamp(3.5rem, 4.5vw, 4.5rem); }
    .hero-label { margin-inline: 0; }
    .hero-actions { justify-content: flex-start; }
    .hero-text > p { margin-inline: 0; }
    .hero-visual { max-width: 500px; margin: 0; flex-shrink: 0; }
    .hero-divider { height: 80px; }
}

@media (min-width: 1600px) {
    .hero-text { max-width: 650px; }
    .hero-text h1 { font-size: clamp(4rem, 5vw, 5.5rem); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header { margin-bottom: 3rem; max-width: 600px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-number {
    display: block; font-family: var(--font-mono);
    font-size: clamp(48px, 8vw, 80px); font-weight: 700;
    line-height: 0.8; color: rgba(37,99,235,0.06);
    letter-spacing: -0.02em; margin-bottom: -1rem;
    position: relative; z-index: 0;
}

.section-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.25rem 0.75rem; background: var(--clr-accent-muted);
    color: var(--clr-accent); font-size: var(--fs-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: var(--ls-wider);
    border-radius: var(--radius-full); margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display); font-size: var(--fs-display);
    font-weight: 800; color: var(--clr-primary-900);
    letter-spacing: -0.02em; margin-bottom: 0.75rem;
    position: relative; z-index: 1;
}

.section-title-display { font-family: var(--font-display); }

.section-subtitle {
    font-size: var(--fs-body-lg); color: var(--clr-text-muted); line-height: 1.6;
}

/* ==========================================================================
   SERVICES — Clean card grid
   ========================================================================== */

.services {
    padding: var(--space-2xl) 0; position: relative; overflow: hidden;
    background: var(--clr-neutral-200);
}

/* Remove decorative circles/shapes */
.services::before, .services::after { display: none; }
.services .container { position: relative; z-index: 1; }

.services-bento {
    display: flex; gap: 1rem; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem; scrollbar-width: none;
}
.services-bento::-webkit-scrollbar { display: none; }

.service-card {
    flex: 0 0 280px; max-width: 280px; scroll-snap-align: center;
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--clr-neutral-400);
    overflow: hidden; transition: all var(--duration-normal);
    position: relative;
}

.service-card::after { display: none; }
.service-card::before { display: none; }

.service-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-medium);
    border-color: var(--clr-accent);
}

.service-card-img { display: none; }
.service-card-body { padding: 1.5rem; }

.service-card-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--clr-accent-muted); color: var(--clr-accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; transition: all var(--duration-normal);
}
.service-card:hover .service-card-icon {
    background: var(--clr-accent); color: #fff;
}
.service-card-icon svg { width: 22px; height: 22px; }

.service-card-body h3 {
    font-family: var(--font-body); font-size: var(--fs-subheading);
    font-weight: 700; margin-bottom: 0.5rem; color: var(--clr-primary-900);
}
.service-card-body p { font-size: var(--fs-body); color: var(--clr-text-muted); line-height: 1.6; }

@media (min-width: 768px) {
    .services-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; overflow: visible; }
    .service-card { flex: initial; max-width: none; }
}
@media (min-width: 1200px) {
    .services-bento { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   TECH STACK — Clean tag grid on dark bg
   ========================================================================== */

.tech-stack {
    padding: var(--space-2xl) 0;
    background: var(--clr-primary-900); position: relative; overflow: hidden;
}

.tech-stack::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* No glow orbs */
.tech-stack-glow-1, .tech-stack-glow-2 { display: none; }

.tech-stack .container { position: relative; z-index: 1; }

.tech-marquee-wrapper { display: none; }
.tech-marquee { display: flex; gap: 2rem; }
.tech-marquee span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: rgba(255,255,255,0.1); letter-spacing: var(--ls-wider); text-transform: uppercase; white-space: nowrap; }
.tech-marquee span.highlight { color: var(--clr-accent); opacity: 0.4; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tech-marquee-reverse { animation-direction: reverse; margin-top: 2rem; }

.tech-layout { display: flex; flex-direction: column; gap: 2.5rem; }
.tech-text { text-align: center; }
.tech-text .section-tag { background: rgba(37,99,235,0.12); color: #60a5fa; }

.tech-text h2 {
    font-family: var(--font-display); font-size: var(--fs-display);
    color: #fff; letter-spacing: -0.02em; margin-bottom: 1rem;
    overflow-wrap: break-word; word-break: break-word;
}
.tech-text h2 .accent { color: #60a5fa; }
.tech-text > p {
    font-size: var(--fs-body-lg); color: rgba(255,255,255,0.5);
    margin: 0 auto 1.5rem; line-height: 1.7;
}

.tech-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

.tech-card {
    padding: 0.5rem 1rem; border-radius: var(--radius-full);
    background: transparent; border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all var(--duration-fast); position: relative;
}
.tech-card::before { display: none; }
.tech-card:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(37,99,235,0.4);
    transform: translateY(-2px);
}
.tech-card h3 {
    font-family: var(--font-body); font-size: var(--fs-small);
    font-weight: 500; color: rgba(255,255,255,0.7); margin: 0;
}
.tech-card p { display: none; }

@media (min-width: 768px) {
    .tech-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
    .tech-text { text-align: left; }
    .tech-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
    .tech-text > p { max-width: 400px; margin: 0 0 1.5rem 0; }
    .tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .tech-card {
        padding: 1.25rem; border-radius: var(--radius-md);
        flex-direction: column; align-items: flex-start;
    }
    .tech-card h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wider); margin-bottom: 0.4rem; color: #60a5fa; }
    .tech-card p { display: block; font-size: var(--fs-body); color: rgba(255,255,255,0.5); }
}
@media (min-width: 1024px) { .tech-text h2 { font-size: clamp(2.2rem, 3.5vw, 3rem); } }
@media (min-width: 1200px) {
    .tech-layout { grid-template-columns: 1fr 1.5fr; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   ABOUT — Image + text panel
   ========================================================================== */

.about {
    padding: 0; position: relative; overflow: hidden;
    background: var(--clr-primary-900); min-height: 500px;
}
.about::before, .about::after { display: none; }
.about .container { position: relative; z-index: 1; }

.about-grid { display: flex; flex-direction: column; position: relative; min-height: 500px; }

.about-image-wrapper { position: absolute; inset: 0; z-index: 0; }
.about-image-wrapper::before { display: none; }
.about-image-main { width: 100%; height: 100%; }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.4), rgba(15,23,42,0.7));
    z-index: 1;
}
.about-image-secondary { display: none; }

.about-text {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem;
    margin: 2rem 1rem; border: 1px solid rgba(255,255,255,0.3);
}
.about-text h2 { font-size: var(--fs-heading); color: var(--clr-primary-900); margin-bottom: 0.75rem; }
.about-text > p { font-size: var(--fs-body-lg); color: var(--clr-text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

.feature-list { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 0.75rem; background: var(--clr-neutral-200);
    border: 1px solid var(--clr-neutral-400); border-radius: var(--radius-sm);
    font-weight: 600; font-size: var(--fs-body); color: var(--clr-primary-900);
    transition: all var(--duration-fast);
}
.feature-list li:hover {
    border-color: var(--clr-accent); background: var(--clr-accent-muted);
}
.feature-list li::before {
    content: ""; width: 24px; height: 24px;
    background: var(--clr-accent); border-radius: 50%; flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

@media (min-width: 768px) {
    .about-text { max-width: 480px; margin-left: auto; margin-right: 2rem; margin-top: 3rem; margin-bottom: 3rem; }
}
@media (min-width: 1200px) {
    .about { min-height: 600px; }
    .about-grid { min-height: 600px; }
    .about-text { max-width: 520px; padding: 2.5rem 2rem; margin-right: 4rem; }
}

/* ==========================================================================
   PROCESS — Clean timeline
   ========================================================================== */

.process {
    padding: var(--space-2xl) 0; position: relative; overflow: hidden;
    background: var(--clr-neutral-100);
}
.process::before { display: none; }
.process .container { position: relative; z-index: 1; }

.process-steps {
    display: flex; flex-direction: column; gap: 2rem;
    padding-left: 50px; position: relative;
}
.process-steps::before {
    content: ""; position: absolute; left: 19px; top: 0; bottom: 0;
    width: 2px; background: var(--clr-neutral-400);
}

.process-step { position: relative; text-align: left; }

.step-number {
    position: absolute; left: -50px; top: 0;
    width: 40px; height: 40px; font-size: 0.875rem;
    background: #fff; border: 2px solid var(--clr-accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700; color: var(--clr-accent);
    box-shadow: var(--shadow-subtle); z-index: 1;
    transition: all var(--duration-fast);
}
.process-step:hover .step-number {
    background: var(--clr-accent); color: #fff;
}

.step-content {
    background: var(--clr-neutral-200); border-radius: var(--radius-md);
    padding: 1.25rem; border: 1px solid var(--clr-neutral-400);
    transition: all var(--duration-fast);
}
.step-content:hover {
    border-color: var(--clr-accent-muted); box-shadow: var(--shadow-subtle);
}

.process-step h3 {
    font-family: var(--font-body); font-size: var(--fs-subheading);
    font-weight: 700; margin-bottom: 0.4rem;
}
.process-step p { font-size: var(--fs-body); color: var(--clr-text-muted); line-height: 1.6; }

@media (min-width: 768px) {
    .process-steps { padding-left: 0; max-width: 700px; margin: 0 auto; }
    .process-steps::before { left: 50%; transform: translateX(-50%); }
    .process-step:nth-child(odd) { padding-right: calc(50% + 2rem); text-align: right; }
    .process-step:nth-child(odd) .step-number { left: calc(50% - 20px); }
    .process-step:nth-child(even) { padding-left: calc(50% + 2rem); text-align: left; }
    .process-step:nth-child(even) .step-number { left: calc(50% - 20px); }
}
@media (min-width: 1200px) {
    .process-steps { max-width: 800px; }
    .step-number { width: 48px; height: 48px; font-size: 1rem; }
    .process-step:nth-child(odd) .step-number { left: calc(50% - 24px); }
    .process-step:nth-child(even) .step-number { left: calc(50% - 24px); }
}

/* ==========================================================================
   FEATURES — White cards on light bg
   ========================================================================== */

.features {
    padding: var(--space-2xl) 0; position: relative; overflow: hidden;
    background: var(--clr-neutral-200);
}
.features::before, .features::after { display: none; }
.features .container { position: relative; z-index: 1; }

.features-grid { display: flex; flex-direction: column; gap: 1.25rem; }

.feature-card {
    padding: 2rem; background: #fff; color: var(--clr-primary-900);
    border-radius: var(--radius-lg); border: 1px solid var(--clr-neutral-400);
    transition: all var(--duration-fast); position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.feature-card::before {
    content: ""; position: absolute; top: 0; left: 0;
    width: 3px; height: 100%; background: var(--clr-accent);
    opacity: 0; transition: opacity var(--duration-fast);
}
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-medium);
    border-color: var(--clr-accent);
}
.feature-card:hover::before { opacity: 1; }

.feature-number {
    font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: rgba(37,99,235,0.1); line-height: 1;
    margin-bottom: 0.75rem;
}
.feature-card:hover .feature-number { color: rgba(37,99,235,0.2); }

.feature-icon {
    width: 48px; height: 48px; background: var(--clr-accent-muted);
    color: var(--clr-accent); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; transition: all var(--duration-fast);
}
.feature-card:hover .feature-icon { background: var(--clr-accent); color: #fff; }
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
    font-family: var(--font-body); font-size: var(--fs-subheading);
    font-weight: 700; margin-bottom: 0.5rem; color: var(--clr-primary-900);
}
.feature-card p { font-size: var(--fs-body); color: var(--clr-text-muted); line-height: 1.6; }

@media (min-width: 768px) { .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   CTA — Simple dark section
   ========================================================================== */

.cta {
    padding: var(--space-2xl) 0; position: relative; overflow: hidden;
    background: var(--clr-primary-900); text-align: center;
}
.cta::before { display: none; }
.cta-slash, .cta-glow-1, .cta-glow-2 { display: none; }
.cta .container { position: relative; z-index: 1; }

.cta-center {
    max-width: 600px; margin: 0 auto; padding: 3rem 1.5rem;
}
.cta-center .section-tag {
    background: rgba(37,99,235,0.12); color: #60a5fa; margin-bottom: 1.5rem;
}
.cta-center h2 {
    font-family: var(--font-display); font-size: var(--fs-display);
    color: #fff; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.cta-center h2 .accent { color: #60a5fa; }
.cta-center p {
    font-size: var(--fs-body-lg); color: rgba(255,255,255,0.5);
    margin-bottom: 2rem; max-width: 480px; margin-left: auto;
    margin-right: auto; line-height: 1.7;
}

.cta-actions {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem;
}
.cta-actions .btn { width: 100%; }

.cta::after { display: none; }

@media (min-width: 768px) {
    .cta-actions { flex-direction: row; justify-content: center; }
    .cta-actions .btn { width: auto; }
}

/* ==========================================================================
   FOOTER — Clean, simple
   ========================================================================== */

.footer {
    background: #0f172a; position: relative; overflow: hidden;
    padding: 0 0 2rem;
}

.footer-edge { width: 100%; height: 1px; background: rgba(255,255,255,0.06); }
.footer-glow { display: none; }

.footer-hero {
    text-align: center; padding: 2.5rem 0; margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06); position: relative;
}

.footer-wordmark {
    display: flex; flex-direction: row; gap: 0.5rem;
    justify-content: center; align-items: baseline; margin-bottom: 1.5rem;
}
.fh-word {
    font-family: var(--font-display); font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.15);
}
.footer-hero:hover .fh-word { color: rgba(255,255,255,0.25); }
.fh-amp { color: var(--clr-accent); }

@keyframes amp-glow { 0%, 100% { opacity: 1; } }

.footer-services { display: none; list-style: none; margin: 0; padding: 0; }
.footer-services li {
    font-family: var(--font-body); font-size: var(--fs-small);
    text-transform: uppercase; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3); position: relative; padding-left: 0;
    transition: all 0.2s;
}
.footer-services li::before { display: none; }
.footer-services li:hover { color: rgba(255,255,255,0.5); }

.footer-location {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 1.5rem; padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm);
    background: transparent;
}
.footer-location:hover { border-color: rgba(255,255,255,0.15); }
.fl-icon { color: var(--clr-accent); font-size: 0.5rem; }
@keyframes icon-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.fl-text { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); font-weight: 600; }
.fl-year { font-size: var(--fs-xs); color: rgba(255,255,255,0.25); padding-left: 0.5rem; margin-left: 0.5rem; border-left: 1px solid rgba(255,255,255,0.08); }

.footer-tagline { color: rgba(255,255,255,0.3); font-size: var(--fs-small); letter-spacing: var(--ls-wider); text-transform: uppercase; font-weight: 600; }

.footer-grid {
    display: flex; flex-direction: column; gap: 2rem;
    padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}
.footer-brand p { color: rgba(255,255,255,0.35); font-size: var(--fs-body); line-height: 1.7; max-width: 320px; margin-top: 0.75rem; }
.footer-contact-line { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.35); font-size: var(--fs-small); margin-top: 0.75rem; }
.footer-contact-line svg { color: var(--clr-accent); flex-shrink: 0; }

.footer-col h4 {
    color: rgba(255,255,255,0.8); font-family: var(--font-body);
    font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase;
    letter-spacing: var(--ls-wider); margin-bottom: 0.75rem; display: inline-block;
}
.footer-col h4::after { content: ""; display: block; width: 20px; height: 2px; background: var(--clr-accent); margin-top: 0.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
    color: rgba(255,255,255,0.35); font-size: var(--fs-body);
    transition: color var(--duration-fast);
}
.footer-col ul li a:hover { color: var(--clr-accent); }

.footer-bottom {
    display: flex; flex-direction: column; gap: 0.75rem;
    text-align: center; align-items: center;
    color: rgba(255,255,255,0.2); font-size: var(--fs-small);
}
.footer-bottom-right { display: flex; align-items: center; gap: 0.75rem; }
.footer-made {
    display: flex; align-items: center; gap: 0.25rem;
    color: rgba(255,255,255,0.2); font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide); text-transform: uppercase;
}

@media (min-width: 768px) {
    .footer-services { display: flex; flex-direction: row; gap: 1.5rem; justify-content: center; }
    .footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .footer-hero { padding: 3rem 0 2.5rem; margin-bottom: 2.5rem; }
    .footer-wordmark .fh-word { font-size: clamp(1.25rem, 3vw, 1.75rem); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: row; text-align: left; justify-content: space-between; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: auto; }
    .hero-visual { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .tech-marquee { animation: none; }
}

/* ==========================================================================
   FORMS — Clean inputs
   ========================================================================== */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-group label { font-weight: 600; color: var(--clr-primary-900); font-size: var(--fs-small); }
.form-group label .required { color: #dc2626; }

.form-group input, .form-group select, .form-group textarea {
    padding: 0.65rem 0.875rem; border: 1px solid var(--clr-neutral-400);
    border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: var(--fs-body); background: #fff; color: var(--clr-text);
    width: 100%; transition: all var(--duration-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-muted);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem;
}

.checkbox-group { flex-direction: row; align-items: flex-start; gap: 0.75rem; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--clr-accent); }
.checkbox-group label { font-weight: 400; font-size: var(--fs-body); color: var(--clr-text-muted); cursor: pointer; }
.checkbox-group a { color: var(--clr-accent); }
.checkbox-group a:hover { text-decoration: underline; }

.form-response { display: none; margin-bottom: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-response.success { display: block; background: rgba(16,185,129,0.1); color: #065f46; border: 1px solid rgba(16,185,129,0.2); }
.form-response.error { display: block; background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }

.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #dc2626; }
.error-text { margin-top: 0.25rem; font-size: var(--fs-small); color: #dc2626; }
.error-text:empty { display: none; }

@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   SUBPAGE HERO
   ========================================================================== */

.hero.hero-small { min-height: 45vh; padding: 6rem 0 3rem; }
.hero.hero-small .hero-divider svg { height: 60px; }
.hero.hero-small .hero-content { display: block; text-align: center; position: relative; z-index: 3; max-width: 700px; margin: 0 auto; }
.hero.hero-small h1 { font-size: var(--fs-display); margin-bottom: 0.75rem; }
.hero.hero-small p { color: rgba(255,255,255,0.6); font-size: var(--fs-body-lg); max-width: 500px; margin: 0 auto; }

/* ==========================================================================
   MAP
   ========================================================================== */

.map-section { padding: 3rem 0; background: var(--clr-neutral-300); }
.map-container { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-subtle); border: 1px solid var(--clr-neutral-400); }
.map-container iframe { width: 100%; height: 350px; border: none; display: block; }
.map-placeholder { width: 100%; height: 350px; background: var(--clr-neutral-200); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; cursor: pointer; transition: background var(--duration-fast); }
.map-placeholder:hover { background: var(--clr-neutral-300); }
.map-placeholder-icon { width: 48px; height: 48px; background: var(--clr-accent-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--clr-accent); }
.map-placeholder-text { color: var(--clr-primary-900); font-weight: 600; font-size: var(--fs-body); }
.map-placeholder-hint { color: var(--clr-text-light); font-size: var(--fs-small); }
.map-info { padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid var(--clr-neutral-400); }
.map-address { display: flex; align-items: center; gap: 0.5rem; color: var(--clr-primary-900); font-weight: 600; font-size: var(--fs-body); }
.directions-btn { background: var(--clr-primary-900); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: var(--fs-small); display: inline-flex; align-items: center; gap: 0.4rem; transition: all var(--duration-fast); }
.directions-btn:hover { background: var(--clr-accent); transform: translateY(-1px); }

@media (max-width: 768px) { .map-info { flex-direction: column; text-align: center; } }

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem 2rem; max-width: 420px; text-align: center; box-shadow: var(--shadow-elevated); animation: modalIn var(--duration-normal) var(--ease-out-expo); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-icon { width: 56px; height: 56px; background: var(--clr-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.modal-icon svg { width: 28px; height: 28px; color: #fff; }
.modal-content h2 { font-size: var(--fs-heading); margin-bottom: 0.75rem; }
.modal-content p { font-size: var(--fs-body); color: var(--clr-text-muted); margin-bottom: 0.5rem; line-height: 1.6; }
.modal-content .btn { margin-top: 1rem; }

/* ==========================================================================
   TEAM NOTICE
   ========================================================================== */

.team-notice { position: relative; background: var(--clr-neutral-200); padding: var(--space-2xl) 0; overflow: hidden; }
.team-notice-shimmer { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--clr-accent); }
@keyframes tn-shimmer { to { background-position: -200% 0; } }

.team-notice-card {
    position: relative; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 1.5rem; background: var(--clr-primary-900);
    border-radius: var(--radius-lg); padding: 2.5rem 2rem; overflow: hidden;
    box-shadow: var(--shadow-elevated); border: 1px solid rgba(37,99,235,0.15);
    max-width: 800px; margin: 0 auto;
}

.team-notice-deco-circle { display: none; }
.team-notice-deco-dots { display: none; }
@keyframes tn-dot-pulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.4; } }

.team-notice-icon {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--clr-accent); color: #fff;
}
@keyframes tn-icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.team-notice-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.team-notice-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #fff; background: var(--clr-accent);
    padding: 0.25rem 0.75rem; border-radius: var(--radius-full); margin-bottom: 0.75rem;
}
.team-notice-headline {
    font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 0.5rem 0;
}
.team-notice-text {
    font-size: var(--fs-body); color: rgba(255,255,255,0.5);
    line-height: 1.6; margin: 0 0 1rem 0; max-width: 480px; text-align: center;
}

.team-notice-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; font-weight: 600;
    color: #fff; background: var(--clr-accent);
    padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
    text-decoration: none; transition: all var(--duration-fast);
}
.team-notice-cta:hover { background: var(--clr-accent-hover); transform: translateY(-1px); }
.team-notice-cta svg { transition: transform 0.2s; }
.team-notice-cta:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
    .team-notice-card { padding: 2rem 1.5rem; gap: 1rem; }
    .team-notice-icon { width: 60px; height: 60px; }
    .team-notice-icon svg { width: 32px; height: 32px; }
}

/* Animation keyframes needed by other pages */
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes glowPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
