/* Self-hosted Inter font */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/css/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/css/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-text: #1a1a2e;
    --color-text-light: #555;
    --color-accent: #0077b6;
    --color-accent-dark: #005f8f;
    --color-border: #e0e0e0;
    --max-width: 960px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo img {
    display: block;
}

.site-logo:hover {
    text-decoration: none;
    color: var(--color-accent);
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.site-nav a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 5rem 1.5rem;
    text-align: center;
    background: var(--color-bg-alt);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.hero .tagline {
    font-size: 1.15rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 4rem 1.5rem;
}

.services-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

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

.service-card {
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Contact */
.contact {
    padding: 4rem 1.5rem;
    background: var(--color-bg-alt);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-info {
    display: inline-block;
    text-align: left;
    line-height: 1.8;
}

.contact-info p {
    color: var(--color-text-light);
}

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

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

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

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Legal pages */
.legal {
    padding: 3rem 1.5rem;
}

.legal-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.legal h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.legal ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--color-text-light);
}

.legal li {
    margin-bottom: 0.25rem;
}

.legal strong {
    color: var(--color-text);
}

.legal .uppercase-block {
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
}

/* 404 */
.not-found {
    padding: 5rem 1.5rem;
    text-align: center;
}

.not-found h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-border);
}

.not-found p {
    margin-top: 1rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .services, .contact {
        padding: 2.5rem 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }

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

    .site-header {
        position: relative;
    }
}
