/* Brand palette */
:root {
    --brand-gray: #58585a;
    --brand-red: #ef3125;
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --text: #2a2a2c;
    --text-muted: #6a6a6c;
    --border: #e2e2e2;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s ease;
}

.main-nav a:hover {
    color: var(--brand-red);
}

/* Hero */
.hero {
    padding: 96px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    text-align: center;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    color: var(--brand-gray);
    letter-spacing: -0.02em;
}

.hero .lead {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-red);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 49, 37, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 49, 37, 0.35);
}

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

.section-alt {
    background: var(--bg-alt);
}

.section h2 {
    margin: 0 0 40px;
    font-size: clamp(28px, 3.5vw, 36px);
    color: var(--brand-gray);
    letter-spacing: -0.01em;
}

.text-block {
    max-width: 720px;
    font-size: 17px;
    color: var(--text);
}

/* Cards (services) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--brand-gray);
}

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

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

.contact-item h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    font-size: 17px;
    color: var(--text);
}

.contact-item a {
    color: var(--brand-red);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item .muted {
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }
    .main-nav {
        gap: 20px;
        font-size: 14px;
    }
    .hero {
        padding: 60px 0 50px;
    }
    .section {
        padding: 56px 0;
    }
}
