:root {
    --page: #f6fbfc;
    --surface: #ffffff;
    --surface-soft: #e7f3f5;
    --surface-strong: #d5eaee;
    --ink: #31566c;
    --heading: #274f68;
    --muted: #628092;
    --line: #b9d3da;
    --teal: #2f7f83;
    --teal-deep: #356e79;
    --orange: #dc704e;
    --orange-soft: #f8e4de;
    --focus: #6a8fa4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.72;
}

a {
    color: inherit;
}

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

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

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.header-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.brand::before {
    width: 14px;
    height: 32px;
    content: "";
    display: inline-block;
    background: var(--orange);
    border-radius: 3px;
    box-shadow: 8px 0 0 var(--teal);
}

.main-nav,
.footer-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a,
.footer-nav a {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.footer-nav a:hover {
    border-color: var(--orange);
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.hero::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 560px);
    width: 6px;
    content: "";
    background: var(--teal);
}

.hero::after {
    position: absolute;
    top: 0;
    left: calc(50% - 554px);
    width: 180px;
    height: 6px;
    content: "";
    background: var(--orange);
}

.hero-repair::before {
    background: var(--orange);
}

.hero-repair::after {
    background: var(--teal);
}

.hero-offer::before {
    background: var(--teal-deep);
}

.hero-inner {
    padding: 72px 0 64px 44px;
}

.eyebrow {
    display: inline-block;
    color: var(--teal-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 920px;
    margin-bottom: 26px;
    color: var(--heading);
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h2 {
    margin-bottom: 18px;
    color: var(--heading);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

h3 {
    margin-bottom: 8px;
    color: var(--heading);
    font-size: 19px;
    line-height: 1.35;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
}

.intro {
    max-width: 900px;
}

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

.actions-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 2px solid transparent;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

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

.button:active {
    transform: translateY(0);
}

.button-phone {
    background: var(--teal);
    color: var(--white);
}

.button-phone:hover {
    background: var(--teal-deep);
}

.button-online {
    background: var(--orange);
    color: var(--white);
}

.button-online:hover {
    background: #c96547;
}

.service-strip {
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
}

.strip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strip-row p {
    margin: 0;
    padding: 22px 26px;
    border-left: 1px solid var(--line);
}

.strip-row p:last-child {
    border-right: 1px solid var(--line);
}

.strip-row strong,
.strip-row span {
    display: block;
}

.strip-row strong {
    margin-bottom: 4px;
    color: var(--heading);
    font-size: 15px;
}

.strip-row span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.section {
    padding: 64px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.section-tint {
    background: var(--surface-soft);
}

.section-accent {
    background: var(--orange-soft);
}

.compact-section {
    padding-top: 54px;
    padding-bottom: 54px;
}

.content-rail {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 28px;
}

.section-index {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--teal);
    border-radius: 50%;
    color: var(--teal-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.section-copy {
    max-width: 900px;
}

.section-copy p:last-child {
    margin-bottom: 0;
}

.mid-actions {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.fault-lines {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.fault-line {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 26px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.fault-line p {
    margin-bottom: 0;
}

.device-list {
    margin-bottom: 20px;
    border-top: 1px solid var(--line);
}

.device-list p {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.lower-contact {
    padding: 54px 0;
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
}

.lower-contact-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    align-items: center;
}

.lower-contact-row h2 {
    margin-top: 8px;
}

.lower-contact-row p {
    max-width: 720px;
    margin-bottom: 0;
}

.lower-actions {
    justify-content: flex-end;
}

.offer-contact {
    background: var(--surface-soft);
}

.more-info {
    padding: 22px 0;
    background: var(--page);
    border-bottom: 1px solid var(--line);
}

.more-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    background: #3c6579;
    color: var(--white);
}

.footer-row {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    color: var(--white);
}

.footer-nav a {
    color: var(--white);
}

.footer-nav .privacy {
    opacity: 0.72;
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 1180px) {
    .hero::before {
        left: 24px;
    }

    .hero::after {
        left: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        padding-top: 58px;
        padding-bottom: 54px;
    }

    .strip-row {
        grid-template-columns: 1fr;
    }

    .strip-row p,
    .strip-row p:last-child {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

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

    .lower-contact-row {
        grid-template-columns: 1fr;
    }

    .lower-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .wrap {
        width: min(100% - 32px, 1120px);
    }

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

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero::before {
        left: 16px;
    }

    .hero::after {
        left: 22px;
    }

    .hero-inner {
        padding: 48px 0 46px 30px;
    }

    .section {
        padding: 50px 0;
    }

    .content-rail {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-index {
        width: 44px;
        height: 44px;
    }

    .fault-line {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 0;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 24px, 1120px);
    }

    .header-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
    }

    .main-nav,
    .footer-nav {
        flex-wrap: wrap;
    }

    .hero::before {
        left: 12px;
        width: 4px;
    }

    .hero::after {
        left: 16px;
        width: 120px;
        height: 4px;
    }

    .hero-inner {
        padding: 40px 0 40px 20px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .actions-pair {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .strip-row p {
        padding: 18px;
    }

    .section {
        padding: 42px 0;
    }

    .lower-contact {
        padding: 42px 0;
    }

    .footer-nav {
        gap: 14px 18px;
    }
}
