* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    color: #111827;
    background: #f8fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
}

.brand {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #4b5563;
    font-weight: 600;
}

.nav-links a {
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: #2563eb;
}

main {
    min-height: calc(100vh - 145px);
}

.hero {
    display: grid;
    min-height: 72vh;
    place-items: center;
    padding: 72px 24px;
    text-align: center;
}

.hero-inner {
    max-width: 830px;
}

.hero h1 {
    color: #0f172a;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    max-width: 680px;
    margin: 24px auto 34px;
    color: #475569;
    font-size: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.primary-button {
    color: #ffffff;
    background: #2563eb;
}

.primary-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.page-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 78px 24px;
}

.page-section.narrow {
    max-width: 760px;
}

.page-section h1 {
    margin-bottom: 24px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.page-section p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 1.08rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.service-item {
    min-height: 170px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.service-item h2 {
    margin-bottom: 10px;
    color: #111827;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.service-item p {
    margin-bottom: 0;
}

.confirmation {
    margin-bottom: 24px;
    padding: 14px 16px;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 8px;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.contact-form label {
    color: #1f2937;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 13px 14px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid #bfdbfe;
    border-color: #2563eb;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    justify-self: start;
    margin-top: 4px;
}

.site-footer {
    padding: 30px 24px;
    color: #64748b;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

@media (max-width: 680px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px 18px;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 62vh;
        padding: 56px 20px;
    }

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

    .hero p {
        font-size: 1.05rem;
    }

    .page-section {
        padding: 52px 20px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}
