/* ========================================
   EZ Dev Flow LLC — Premium Dark Theme
   Accent: Ice Blue (#4ecfef) from logo
   ======================================== */

:root {
    --bg-deep: #080b10;
    --bg-section: #0d1117;
    --bg-card: #131921;
    --bg-card-hover: #1a2230;
    --border: rgba(78, 207, 239, 0.06);
    --border-hover: rgba(78, 207, 239, 0.15);
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #484f58;
    --accent: #4ecfef;
    --accent-soft: rgba(78, 207, 239, 0.08);
    --accent-glow: rgba(78, 207, 239, 0.12);
    --accent-hover: #6dd9f3;
    --white: #ffffff;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --max-w: 1100px;
    --radius: 10px;
    --radius-lg: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* ── Status Indicator ────────────────── */
.status-dot {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.3rem 0.7rem 0.3rem 0.5rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: default;
    transition: border-color 0.3s;
}
.status-dot .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.3s, box-shadow 0.3s;
}
.status-dot.healthy { border-color: rgba(34, 197, 94, 0.2); }
.status-dot.healthy .dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}
.status-dot.degraded .dot { background: #eab308; box-shadow: 0 0 8px rgba(234, 179, 8, 0.3); }
.status-dot.unhealthy .dot { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }

/* ── Header ──────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8, 11, 16, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 160px; width: auto; }
.header-nav { display: flex; gap: 2.5rem; }
.header-nav a {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s;
}
.header-nav a:hover { color: var(--text-primary); }
.header-nav a:hover::after { transform: scaleX(1); }

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-secondary);
    margin: 5px 0;
    transition: transform 0.25s, opacity 0.25s;
}

/* ── Hero ────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(78, 207, 239, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-logo {
    width: 180px; height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2.5rem;
    display: block;
    box-shadow: none;
    border: none;
    outline: 1px solid rgba(78, 207, 239, 0.03);
    outline-offset: -1px;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 10%, var(--accent) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.25rem;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    border: 1px solid var(--accent);
    border-radius: 6px;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.hero-cta:hover {
    background: rgba(78, 207, 239, 0.15);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(78, 207, 239, 0.08);
}

/* Announcement bar */
.announcement {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-soft);
    border: 1px solid rgba(78, 207, 239, 0.15);
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--accent);
}

/* ── Scroll Reveal ───────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-children > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > * {
    /* Will be set to visible by parent */
}
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sections ────────────────────────── */
.section {
    padding: 7rem 2rem;
}
.section-alt {
    background: var(--bg-section);
}
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--white);
}
.section .lead {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* ── Services Grid ───────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.service-card .icon {
    width: 40px; height: 40px;
    background: var(--accent-soft);
    border: 1px solid rgba(78, 207, 239, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.service-card h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Portfolio Grid ──────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.portfolio-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.portfolio-card h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}
.portfolio-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.arm-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.card-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.25s;
}
.card-link:hover { color: var(--accent-hover); }

.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid;
}
.badge-live {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}
.badge-dev {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(78, 207, 239, 0.15);
}

/* ── About ───────────────────────────── */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}
.about-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.highlight-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: border-color 0.25s;
}
.highlight-item:hover { border-color: var(--border-hover); }
.highlight-item h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.highlight-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Utility ─────────────────────────── */
.nowrap { white-space: nowrap; }

/* ── Community Initiative ────────────── */
.community-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.community-header-block {
    text-align: center;
    margin-bottom: 2rem;
}
.community-intro-block {
    max-width: 640px;
    text-align: center;
    margin-bottom: 1.5rem;
}
.community-intro-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.community-compact-trust {
    max-width: 560px;
    text-align: center;
    margin-bottom: 1.5rem;
}
.community-compact-trust p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.community-compact-trust strong {
    color: var(--accent);
}
.community-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.community-open-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.community-open-btn:hover {
    background: rgba(78, 207, 239, 0.15);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(78, 207, 239, 0.08);
}
.community-list {
    list-style: none;
    padding: 0;
}
.community-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
}
.community-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}
.coming-soon-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(78, 207, 239, 0.15);
    border-radius: 4px;
    margin-bottom: 1rem;
}
/* Community modal sections */
.modal-content-wide {
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
}
.community-modal-section {
    margin-bottom: 1.5rem;
}
.community-modal-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.community-modal-section p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.community-trust-modal {
    background: rgba(78, 207, 239, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}
.community-trust-modal h4 {
    color: var(--accent);
}
.community-modal-form-section {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.community-modal-legal {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
}
.community-modal-legal p {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.community-modal-legal a {
    color: var(--text-muted);
    text-decoration: underline;
}
.community-modal-legal a:hover { color: var(--accent); }
.community-form-note {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.community-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.community-form input,
.community-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s;
}
.community-form input::placeholder,
.community-form textarea::placeholder {
    color: var(--text-muted);
}
.community-form input:focus,
.community-form textarea:focus {
    border-color: var(--accent);
}
.community-form textarea {
    resize: vertical;
    min-height: 100px;
}
.community-form .form-consent {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.community-form .form-consent a {
    color: var(--text-muted);
    text-decoration: underline;
}
.community-form .form-consent a:hover { color: var(--accent); }
.community-form button {
    align-self: flex-start;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.community-form button:hover {
    background: rgba(78, 207, 239, 0.15);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(78, 207, 239, 0.08);
}
.community-supporter-note {
    font-size: 0.82rem !important;
    color: var(--accent) !important;
    font-style: italic;
    opacity: 0.8;
}

/* ── Contact ─────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}
.contact-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.contact-info .appointment-notice {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(78, 207, 239, 0.12);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--accent);
}
.founder-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.founder-photo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.founder-row .founder-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.founder-row .founder-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.founder-row .founder-email {
    font-size: 0.72rem;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.25s;
}
.founder-row .founder-email:hover { opacity: 1; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-form input,
.contact-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .form-consent {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-form button {
    align-self: flex-start;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.contact-form button:hover {
    background: var(--accent);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 207, 239, 0.2);
}

/* ── Service Card Clickable ──────────── */
.service-card { cursor: pointer; }
.card-more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
}
.service-card:hover .card-more {
    opacity: 1;
    transform: translateY(0);
}

/* ── Modal ───────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-icon {
    width: 48px; height: 48px;
    background: var(--accent-soft);
    border: 1px solid rgba(78, 207, 239, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}
.modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}
.modal-content p, .modal-content li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}
.modal-content li {
    padding: 0.3rem 0 0.3rem 1.1rem;
    position: relative;
}
.modal-content li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.75rem;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}
.modal-cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ── Partner Carousel ────────────────── */
.carousel-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-section);
}
.carousel-label {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.carousel-track {
    display: flex;
    gap: 5rem;
    align-items: center;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-track .partner-item {
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.3s, color 0.3s;
    user-select: none;
}
.carousel-track .partner-item:hover {
    opacity: 1;
    color: var(--text-primary);
}
.carousel-track img {
    height: 24px;
    opacity: 0.3;
    filter: grayscale(100%) brightness(1.5);
    transition: opacity 0.3s, filter 0.3s;
}
.carousel-track img:hover { opacity: 0.7; filter: grayscale(50%) brightness(1.2); }

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Footer ──────────────────────────── */
.site-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}
.footer-logo-wrap {
    display: block;
    width: 390px;
    height: 60px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}
.footer-logo {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: -22%;
    opacity: 0.75;
    mix-blend-mode: lighten;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    transition: color 0.25s;
}
.footer-legal-links a:hover { color: var(--accent); }
.footer-legal p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .community-intro-block { padding: 0 0.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .header-nav { display: none; }
    .header-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 120px; left: 0; right: 0;
        background: rgba(8, 11, 16, 0.95);
        backdrop-filter: blur(24px);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-toggle { display: block; }

    .hero { padding: 7rem 1.5rem 4rem; min-height: 90vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: 140px; height: 140px; }
    .logo-link img { height: 90px; }
    .hero-subtitle { font-size: 1rem; }

    .section { padding: 4rem 1.25rem; }
    .section h2 { font-size: 1.7rem; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .carousel-track { gap: 3rem; }
}
