:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-soft: #f1f4f8;
    --text: #182230;
    --muted: #667085;
    --line: #d9e0ea;
    --primary: #1f3a5f;
    --primary-dark: #142843;
    --accent: #b98a45;
    --shadow: 0 20px 50px rgba(18, 35, 60, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(185, 138, 69, 0.12), transparent 32%), var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 251, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(217, 224, 234, 0.75);
}

.nav-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary);
}

.section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.55rem, 6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-text,
.section-heading p,
.company-text,
.contact-panel p,
.service-content p {
    color: var(--muted);
}

.hero-text {
    max-width: 760px;
    font-size: 1.16rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.22);
}

.button.primary:hover {
    background: var(--primary-dark);
}

.button.secondary {
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--line);
}

.hero-card,
.service-card,
.company-panel,
.contact-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 224, 234, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 28px;
}

.hero-logo {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    padding: 20px;
    border-radius: 20px;
    background: var(--surface-soft);
    margin-bottom: 24px;
}

.hero-card h2 {
    font-size: 1.65rem;
    letter-spacing: -0.03em;
}

.hero-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image-wrap {
    height: 190px;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 26px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.service-label {
    color: var(--accent) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.text-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    margin-top: auto;
    padding-top: 18px;
}

.text-link:hover {
    text-decoration: underline;
}

.company-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 44px;
    padding: 46px;
}

.company-text p:last-child {
    margin-bottom: 0;
}

.contact-panel {
    text-align: center;
    padding: 54px 28px;
    margin-bottom: 72px;
}

.contact-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 0.93rem;
}

.site-footer p {
    margin: 4px 0;
}

@media (max-width: 920px) {
    .hero,
    .company-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
    }

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

    .service-card {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
    }

    .service-image-wrap {
        height: 100%;
        min-height: 240px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .nav-wrap,
    .section {
        width: min(100% - 28px, 1120px);
    }

    .nav-wrap {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.88rem;
    }

    .section {
        padding: 48px 0;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .service-card {
        display: flex;
    }

    .service-image-wrap {
        height: 180px;
        min-height: 180px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .company-panel,
    .contact-panel,
    .hero-card {
        padding: 26px;
    }
}
