:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-strong: #eef2f5;
    --text: #17202a;
    --muted: #5c6875;
    --line: #d9e0e7;
    --primary: #0f766e;
    --primary-dark: #0b5f59;
    --accent: #a44b1f;
    --focus: rgba(15, 118, 110, 0.22);
    --shadow: 0 16px 40px rgba(23, 32, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
}

.site-nav a:hover {
    background: var(--surface-strong);
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    padding: 92px 0 84px;
    background: linear-gradient(180deg, #ffffff 0%, #edf3f2 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 860px;
    margin-bottom: 20px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.25;
}

.hero-lead,
.section-heading p,
.about-layout p,
.contact-layout p {
    color: var(--muted);
    font-size: 18px;
}

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

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: var(--primary);
}

.btn-primary:hover {
    color: white;
    background: var(--primary-dark);
}

.btn-secondary {
    color: var(--text);
    background: var(--surface);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--surface-strong);
    color: var(--text);
}

.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.metric-row {
    display: grid;
    gap: 4px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.metric-row:last-child {
    border-bottom: 0;
}

.metric-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.metric-row strong {
    font-size: 18px;
}

.section {
    padding: 80px 0;
}

.section-muted {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.section-accent {
    background: #f1f5f4;
    border-top: 1px solid var(--line);
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 210px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-card p {
    color: var(--muted);
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 42px;
    align-items: start;
}

.document-figure {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.document-figure img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

.document-figure figcaption {
    padding: 14px 16px;
    color: var(--muted);
    font-size: 13px;
}

.info-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}

.info-list div {
    min-height: 92px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-list div:nth-child(2n) {
    border-right: 0;
}

.info-list dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.info-list dd {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
}

.contact-methods {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.contact-methods a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-dark);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #b9c4cf;
    border-radius: 8px;
    font: inherit;
    color: var(--text);
    background: white;
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    padding: 42px 0;
    color: #dce4e8;
    background: #17202a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.85fr;
    gap: 28px;
}

.site-footer p {
    margin: 8px 0;
    color: #b9c4cf;
}

.site-footer nav {
    display: grid;
    gap: 8px;
    align-content: start;
}

.site-footer a {
    color: #eef5f8;
}

.site-footer a:hover {
    color: #8fd6ce;
}

.page-shell {
    min-height: 58vh;
    padding: 80px 0;
}

.policy-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.policy-layout h1 {
    font-size: clamp(34px, 5vw, 52px);
}

.policy-layout h2 {
    margin-top: 32px;
    font-size: 24px;
}

.policy-layout p,
.policy-layout li {
    color: var(--muted);
}

.policy-layout ul {
    padding-left: 20px;
}

@media (max-width: 900px) {
    .hero-inner,
    .about-layout,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .info-list div,
    .info-list div:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 70px;
        display: none;
        grid-template-columns: 1fr;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

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

    .site-nav.open-static {
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav a {
        justify-content: flex-start;
    }

    .hero {
        padding: 64px 0;
    }

    h1 {
        font-size: 40px;
    }

    .hero-actions {
        display: grid;
    }

    .section {
        padding: 58px 0;
    }

    .policy-layout {
        padding: 24px;
    }
}
