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

:root {
    --ink: #18202f;
    --muted: #667085;
    --line: #d8dee8;
    --paper: #ffffff;
    --soft: #f3f6fb;
    --soft-2: #e9eef6;
    --accent: #f4b23f;
    --accent-dark: #a15c07;
    --green: #1e8a5a;
    --blue: #2458a6;
    --radius: 8px;
    --shadow: 0 20px 60px rgba(18, 26, 42, 0.12);
    --container: 1180px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(216, 222, 232, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 24px;
}

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

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--accent);
    font-size: 22px;
}

.logo strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
    color: var(--ink);
}

.header-phone {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
    white-space: nowrap;
}

.menu-toggle,
.menu-button {
    display: none;
}

.hero {
    padding: 84px 0 72px;
    background:
        linear-gradient(135deg, rgba(244, 178, 63, 0.18), transparent 34%),
        linear-gradient(180deg, var(--soft), #ffffff 72%);
}

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

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(244, 178, 63, 0.45);
    border-radius: 999px;
    background: rgba(244, 178, 63, 0.14);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    max-width: 820px;
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: 0;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.hero-copy p,
.section-head p,
.credit-box p,
.about-text p,
.detail-copy p,
.service-hero p {
    color: var(--muted);
    font-size: 18px;
}

.hero-copy p {
    max-width: 680px;
    margin-top: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 800;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-light {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.btn-dark {
    background: #fff;
    color: var(--ink);
    white-space: nowrap;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 680px;
    margin-top: 34px;
}

.hero-facts div,
.trust-items article,
.service-card,
.price-group,
.service-summary,
.mini-card,
.about-stats div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.hero-facts div {
    padding: 16px;
}

.hero-facts strong,
.about-stats strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.hero-facts span,
.about-stats span {
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(24, 32, 47, 0.12);
    border-radius: var(--radius);
    background: #101827;
    color: #fff;
    box-shadow: var(--shadow);
}

.panel-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-top span {
    color: #b9c2d0;
}

.panel-top strong {
    color: var(--accent);
    font-size: 22px;
}

.panel-list {
    display: grid;
    gap: 12px;
}

.panel-list div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.panel-list span,
.steps span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #1d1405;
    font-size: 13px;
    font-weight: 900;
    flex: 0 0 auto;
}

.mini-card {
    padding: 18px;
    background: #fff9eb;
}

.hero-panel .mini-card {
    border-color: rgba(244, 178, 63, 0.5);
    color: var(--ink);
}

.mini-card b {
    display: block;
    margin-bottom: 6px;
}

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

.section {
    padding: 76px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-head h2 {
    margin-bottom: 14px;
}

.trust {
    background: var(--paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 42px;
    align-items: start;
}

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

.trust-items article {
    padding: 20px;
}

.trust-items p,
.service-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}

.service-card p {
    margin-bottom: 16px;
}

.services,
.prices,
.detail-prices {
    background: var(--soft);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 22px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(36, 88, 166, 0.38);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.service-card-price {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 20px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--soft-2);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    min-height: 0;
    font-size: 21px;
}

.service-card-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.credit-section {
    padding: 54px 0;
    background: var(--green);
    color: #fff;
}

.credit-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.credit-box .eyebrow {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.credit-box p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.82);
}

.price-list {
    display: grid;
    gap: 18px;
}

.price-group {
    overflow: hidden;
}

.price-group-title {
    display: block;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
    font-weight: 800;
}

.price-group-title:hover {
    color: var(--blue);
}

.price-table {
    display: grid;
}

.price-table.standalone {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 130px 150px;
    gap: 18px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
}

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

.price-unit {
    color: var(--muted);
    font-size: 14px;
}

.price-value {
    text-align: right;
}

.about {
    background: #fff;
}

.about-text {
    max-width: 920px;
}

.about-text p {
    margin-top: 18px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.about-stats div {
    padding: 18px;
}

.footer {
    padding: 58px 0 24px;
    background: #111827;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.9fr;
    gap: 46px;
}

.footer p,
.footer a,
.copyright {
    color: #b9c2d0;
}

.footer h3 {
    margin-bottom: 14px;
}

.footer-grid > div {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-logo {
    margin-bottom: 8px;
}

.footer-phone {
    color: var(--accent) !important;
    font-size: 22px;
    font-weight: 800;
}

.copyright {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.service-hero {
    padding: 72px 0;
    background:
        linear-gradient(135deg, rgba(36, 88, 166, 0.13), transparent 38%),
        var(--soft);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 42px;
    align-items: center;
}

.service-hero h1 {
    margin-bottom: 18px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--blue);
    font-weight: 800;
}

.service-summary {
    padding: 26px;
    box-shadow: var(--shadow);
}

.service-summary span {
    color: var(--muted);
    font-weight: 700;
}

.service-summary strong {
    display: block;
    margin: 4px 0 12px;
    font-size: 36px;
    line-height: 1.1;
}

.service-summary p {
    font-size: 15px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: start;
}

.detail-copy h2 {
    margin-bottom: 16px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.steps div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-weight: 700;
}

.detail-card {
    position: sticky;
    top: 100px;
}

@media (max-width: 1080px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-grid,
    .hero-grid,
    .service-hero-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .service-summary,
    .detail-card {
        max-width: 640px;
    }

    .detail-card {
        position: static;
    }
}

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

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

    .header-phone {
        display: none;
    }

    .menu-button {
        display: grid;
        gap: 5px;
        margin-left: auto;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: var(--ink);
    }

    .nav {
        position: fixed;
        inset: 70px 0 auto 0;
        display: grid;
        gap: 0;
        margin: 0;
        padding: 12px 14px 18px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        transform: translateY(-120%);
        transition: var(--transition);
    }

    .nav a {
        padding: 13px 6px;
        border-bottom: 1px solid var(--line);
    }

    .menu-toggle:checked ~ .nav {
        transform: translateY(0);
    }

    .header-inner:not(:has(.menu-toggle)) .nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-left: auto;
        padding: 0;
        border-bottom: 0;
        background: transparent;
        transform: none;
    }

    .header-inner:not(:has(.menu-toggle)) .nav a {
        padding: 0;
        border-bottom: 0;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-facts,
    .trust-items,
    .about-stats,
    .footer-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credit-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .price-value {
        text-align: left;
        color: var(--blue);
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 38px;
    }

    .section {
        padding: 56px 0;
    }

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

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

    .service-card {
        min-height: 190px;
    }

    .panel-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
