/* ==========================================================================
   Obsidian Research — Design System
   ========================================================================== */

/* --- Theme Variables --- */
:root,
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #e8e8e8;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #ff4d2a;
    --accent-hover: #ff6b4a;
    --accent-glow: rgba(255, 77, 42, 0.15);
    --accent-glow-strong: rgba(255, 77, 42, 0.3);
    --border: #1e1e1e;
    --border-light: #2a2a2a;
    --nav-bg: rgba(10, 10, 10, 0.85);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a0a05 50%, #0a0a0a 100%);
}

[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f5;
    --bg-glass: rgba(0, 0, 0, 0.02);
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-muted: #777777;
    --accent: #d4380d;
    --accent-hover: #ff4d2a;
    --accent-glow: rgba(212, 56, 13, 0.1);
    --accent-glow-strong: rgba(212, 56, 13, 0.2);
    --border: #e0e0e0;
    --border-light: #d0d0d0;
    --nav-bg: rgba(250, 250, 250, 0.85);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-hero: linear-gradient(135deg, #fafafa 0%, #fff5f0 50%, #fafafa 100%);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; }

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 4rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-decoration: none;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.4rem;
    /* NOTE: diamond glyph renders ~2px low; fix with: position: relative; top: -2px; */
}

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

.logo-img-footer {
    height: 48px;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* --- Nav Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.nav-dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav-dropdown-trigger svg {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-glass);
    color: var(--accent);
}

.nav-dropdown-menu .nav-disabled {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: default;
    opacity: 0.6;
}

.footer-links .footer-disabled {
    display: block;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    cursor: default;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .footer-links .footer-disabled {
    color: rgba(0, 0, 0, 0.3);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.7),
        -1px -1px 1px rgba(0, 0, 0, 0.06);
}

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* --- Theme Toggle --- */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

[data-theme="dark"] .theme-icon.sun { display: block; }
[data-theme="dark"] .theme-icon.moon { display: none; }
[data-theme="light"] .theme-icon.sun { display: none; }
[data-theme="light"] .theme-icon.moon { display: block; }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

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

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Stats / Counters --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Partner Logos --- */
.partner-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-strip:hover {
    opacity: 1;
}

.partner-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.partner-logo:hover {
    color: var(--text-primary);
}

/* --- Publication List --- */
.pub-list {
    list-style: none;
}

.pub-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pub-item:hover {
    padding-left: 1rem;
    border-color: var(--accent);
}

.pub-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pub-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.pub-authors {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* --- Case Study Cards --- */
.case-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* --- Contact Forms --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

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

/* --- Alert Messages --- */
.messages {
    padding-top: 5rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* --- Footer --- */
.footer {
    background: url('/static/images/footer-bg.png') top left / auto 100% no-repeat;
    border-top: none;
    padding: 6rem 0 0;
}

[data-theme="light"] .footer {
    background-image: url('/static/images/footer-bg-light.png');
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

.footer-company-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 1px rgba(255, 255, 255, 0.08);
}

.footer-hero-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 1px rgba(255, 255, 255, 0.06);
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.2rem;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 1px rgba(255, 255, 255, 0.08);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    text-decoration: none;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 1px rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        0 0 8px var(--accent-glow);
}

.footer-bottom {
    border-top: none;
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 1px rgba(255, 255, 255, 0.06);
}

/* Light theme footer text */
[data-theme="light"] .footer-company-name {
    color: rgba(0, 0, 0, 0.7);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.8),
        -1px -1px 1px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-hero-tagline {
    color: rgba(0, 0, 0, 0.4);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.7),
        -1px -1px 1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-links h4 {
    color: rgba(0, 0, 0, 0.5);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.8),
        -1px -1px 1px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-links a {
    color: rgba(0, 0, 0, 0.55);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.7),
        -1px -1px 1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--accent);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.7),
        0 0 8px var(--accent-glow);
}

[data-theme="light"] .footer-bottom {
    color: rgba(0, 0, 0, 0.35);
    text-shadow:
        1px 1px 1px rgba(255, 255, 255, 0.7),
        -1px -1px 1px rgba(0, 0, 0, 0.06);
}

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

.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; }

/* --- Keyframes --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Dividers --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 0;
}

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

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.value-list {
    list-style: none;
}

.value-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.value-icon {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.value-list h4 {
    margin-bottom: 0.3rem;
}

.value-list p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Partner Page --- */
.partner-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
}

.partner-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 10rem 0 4rem;
    background: var(--gradient-hero);
    position: relative;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.8;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 1rem;
        min-width: auto;
        display: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-cta {
        text-align: center;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .section {
        padding: 5rem 0;
    }

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

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

    .footer {
        background: url('/static/images/footer-bg.png') top left / auto 100% no-repeat;
    }

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

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

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

    .partner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .btn {
        justify-content: center;
    }
}

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

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

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

    .partner-strip {
        gap: 2rem;
    }
}
