@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --text: #202124;
    --muted: #6b6f73;
    --accent: #d71920;
    --accent-dark: #b8141a;
    --line: #e4e5e7;
    --dark: #202124;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

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

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 190px;
    height: auto;
    max-height: 34px;
}

.logo-mark { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    color: #55595d;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Hero */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 90px 0 100px;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(12, 17, 21, 0.82) 0%,
            rgba(12, 17, 21, 0.60) 42%,
            rgba(12, 17, 21, 0.18) 78%,
            rgba(12, 17, 21, 0.05) 100%
        ),
        url("images/hero.png");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero--services {
    background-image:
        linear-gradient(
            90deg,
            rgba(12, 17, 21, 0.82) 0%,
            rgba(12, 17, 21, 0.60) 42%,
            rgba(12, 17, 21, 0.18) 78%,
            rgba(12, 17, 21, 0.05) 100%
        ),
        url("images/services-hero.png");
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #ff4a50;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: #ff4a50;
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 700;
    color: #fff;
}

.hero p {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.7;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    padding: 14px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.hero-button:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Contact navigation button */
.nav-links .nav-contact {
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
}

.nav-links .nav-contact:hover,
.nav-links .nav-contact.active {
    background: var(--accent-dark);
    color: #fff;
}

/* Sections */
.section { padding: 88px 0; }

.section--white { background: #fff; }

.section-header {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(31px, 4vw, 47px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.section-header p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

/* Audience cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.audience-card {
    min-height: 250px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    box-shadow: 0 8px 25px rgba(20, 24, 28, .035);
}

.audience-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.audience-card h3 {
    margin: 17px 0 11px;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.audience-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Services */
.services {
    border-top: 1px solid var(--line);
}

.service {
    display: grid;
    grid-template-columns: 54px minmax(230px, .72fr) 1.5fr;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.service-number {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.service h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.32;
    letter-spacing: -.025em;
}

.service p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Contact */
.cta {
    padding: 76px 0;
    background: var(--dark);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
}

.cta h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.cta p {
    max-width: 620px;
    margin: 17px 0 0;
    color: #bfc2c5;
}

.contact-details {
    display: grid;
    gap: 8px;
    min-width: 230px;
    font-size: 15px;
    font-weight: 500;
}

.contact-details a {
    color: #fff;
}

.contact-details a:hover { color: #ff6469; }

/* Footer */
.site-footer {
    padding: 27px 0;
    background: #18191a;
    color: #9ea2a6;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.footer-brand img {
    display: block;
    width: 155px;
    height: auto;
    max-height: 28px;
}

.footer-contact {
    display: flex;
    gap: 24px;
    font-size: 13px;
}

.footer-contact a:hover { color: #fff; }

/* Responsive */
@media (max-width: 820px) {
    .container { width: min(calc(100% - 32px), var(--max-width)); }

    .nav {
        min-height: 66px;
        gap: 20px;
    }

    .nav-links { gap: 17px; }

    .hero {
        min-height: 560px;
        padding: 72px 0 80px;
        background-position: 62% center;
    }

    .section { padding: 68px 0; }

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

    .audience-card { min-height: 0; }

    .service {
        grid-template-columns: 42px 1fr;
        gap: 10px 17px;
    }

    .service p { grid-column: 2; }

    .cta-inner { display: block; }

    .contact-details { margin-top: 30px; }
}

@media (max-width: 520px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 620px;
        background-position: 64% center;
    }

    .hero h1 { font-size: 42px; }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}
