:root {
    --bg: #f4f8fb;
    --surface: #ffffff;
    --panel: #eef5f8;
    --text: #18252f;
    --muted: #647383;
    --line: #d7e2ea;
    --accent: #087f8c;
    --accent-dark: #075461;
    --signal: #f6b13d;
    --signal-soft: #fff3d7;
    --soft: #e6f3f5;
    --steel: #354a5a;
    --shadow: 0 18px 42px rgba(24, 37, 47, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(8, 127, 140, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 127, 140, 0.035) 1px, transparent 1px),
        var(--bg);
    background-size: 28px 28px;
    line-height: 1.55;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(24, 37, 47, 0.05);
}

.topbar,
.nav,
.hero,
.page-hero,
.section,
.contacts,
.footer {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.topbar {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: white;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}

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

.mobile-brand-phone {
    display: none;
}

.brand strong {
    font-size: 21px;
    line-height: 1.1;
}

.nav-toggle,
.burger,
.nav-backdrop,
.mobile-menu-head {
    display: none;
}

.burger {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--steel);
    border-radius: 2px;
}

.quick-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-weight: 700;
}

.quick-contacts a {
    color: var(--text);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: var(--soft);
    color: var(--accent-dark);
    font-weight: 700;
    line-height: 1;
}

.nav {
    display: flex;
    gap: 8px;
    overflow: visible;
    padding-top: 0;
    padding-bottom: 10px;
}

@media (min-width: 1101px) {
    .mobile-menu-head,
    .burger,
    .nav-backdrop {
        display: none !important;
    }

    .is-scrolled .topbar {
        min-height: 48px;
    }

    .is-scrolled .brand-mark,
    .is-scrolled .brand small,
    .is-scrolled .quick-contacts .contact-link:not(:first-child) {
        display: none;
    }

    .is-scrolled .nav {
        display: none;
    }

    .is-scrolled .brand strong {
        font-size: 20px;
    }
}

.nav-item {
    position: relative;
    flex: 0 0 auto;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
}

.nav a,
.nav-item > summary,
.nav-single > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
}

.nav-item > summary::-webkit-details-marker {
    display: none;
}

.nav a:hover,
.nav-item:hover > summary,
.nav-single > a:hover {
    background: var(--soft);
    color: var(--accent-dark);
    text-decoration: none;
}

.nav-arrow {
    font-size: 15px;
    color: var(--accent-dark);
}

.nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 320px;
    max-width: min(920px, calc(100vw - 48px));
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(230, 243, 245, 0.72), rgba(255,255,255,0.98)),
        var(--surface);
    box-shadow: var(--shadow);
    z-index: 30;
}

.nav-dropdown a {
    display: block;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.35;
    color: var(--steel);
}

.nav-dropdown a:hover {
    background: var(--soft);
    color: var(--accent-dark);
    text-decoration: none;
}

.nav-item[open] .nav-dropdown,
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    display: grid;
    gap: 14px;
}

.mega-menu {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.nav-group {
    display: grid;
    align-content: start;
    gap: 3px;
    padding: 8px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.62);
    border-radius: 8px;
}

.nav-heading {
    margin-bottom: 5px;
    background: var(--steel);
    color: #fff !important;
    font-weight: 700;
}

.nav-heading:hover {
    background: var(--accent-dark) !important;
    color: #fff !important;
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 38px;
    align-items: center;
    padding-top: 54px;
    padding-bottom: 54px;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: 0;
}

.page-hero h1 {
    font-size: clamp(34px, 4.5vw, 56px);
}

.lead {
    margin: 22px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 20px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
}

.button:hover {
    text-decoration: none;
    border-color: var(--accent);
}

.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.hero-visual,
.page-visual,
.card-image,
.block-visual {
    display: grid;
    place-items: center;
    min-height: 380px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 84, 97, 0.88), rgba(8, 127, 140, 0.70)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 30px),
        repeating-linear-gradient(0deg, transparent 0 30px, rgba(255,255,255,0.18) 31px 33px),
        #d9e7ea;
    background-position: center;
    background-size: cover;
    color: white;
    box-shadow: var(--shadow);
    font-weight: 700;
    overflow: hidden;
    position: relative;
}

.hero-visual::after,
.page-visual::after,
.card-image::after,
.block-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.08) 18px 20px);
}

.hero-visual span,
.page-visual span,
.card-image span,
.block-visual span {
    position: relative;
    z-index: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    background: rgba(24, 37, 47, 0.36);
}

.page-visual {
    min-height: 300px;
}

.card-image {
    min-height: 150px;
    box-shadow: none;
}

.block-visual {
    min-height: 240px;
    box-shadow: none;
}

.block-visual.small {
    min-height: 200px;
}

.trust-strip {
    max-width: 1180px;
    margin: 0 auto 34px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.trust-strip div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(24, 37, 47, 0.05);
}

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

.trust-strip span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section.muted {
    max-width: none;
    background: var(--soft);
}

.section.muted > * {
    max-width: 1132px;
    margin-left: auto;
    margin-right: auto;
}

.section-head {
    max-width: 760px;
    margin-bottom: 26px;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin: 18px 0 10px;
    font-size: 23px;
}

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

.service-card,
.contact-box,
.related-box,
.subservice {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(24, 37, 47, 0.055);
}

.link-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.two-col,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.steps li {
    padding: 18px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid rgba(14, 124, 134, 0.18);
}

.steps span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.article {
    padding: 0;
    font-size: 18px;
}

.content-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 28px rgba(24, 37, 47, 0.055);
}

.content-block.wide {
    grid-template-columns: 1fr;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--muted);
}

.article p {
    margin-top: 0;
}

.article h2 {
    margin-top: 34px;
    font-size: 30px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

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

.subservice {
    display: grid;
    gap: 6px;
    color: var(--text);
}

.subservice:hover {
    border-color: var(--accent);
    text-decoration: none;
}

.subservice span {
    color: var(--muted);
    font-size: 15px;
}

.block-note {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--signal-soft), #fff);
    border: 1px solid rgba(246, 177, 61, 0.45);
    color: var(--steel);
}

.block-note strong {
    font-size: 20px;
}

.related-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.related-chips a {
    display: inline-flex;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--accent-dark);
    font-weight: 700;
}

.related-chips a:hover {
    text-decoration: none;
    background: var(--signal-soft);
}

.price-block {
    background:
        linear-gradient(135deg, rgba(230, 243, 245, 0.82), rgba(255,255,255,0.96)),
        var(--surface);
}

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

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.price-row span {
    color: var(--steel);
}

.price-row strong {
    color: var(--accent-dark);
    white-space: nowrap;
}

.price-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.repair-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.repair-process li {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 130px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--soft), #fff);
}

.repair-process span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.faq-list summary {
    padding: 16px 50px 16px 18px;
    color: var(--steel);
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 12px;
    color: var(--accent-dark);
    font-size: 25px;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

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

.work-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(24, 37, 47, 0.055);
}

.work-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--panel);
}

.work-card div {
    padding: 14px;
}

.work-card p {
    margin: 7px 0 0;
    color: var(--muted);
}

.empty-works {
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
}

.section-link {
    margin-top: 18px;
}

.check-list li {
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--signal);
}

.sidebar {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 14px;
}

.contact-box,
.related-box {
    display: grid;
    gap: 10px;
}

.contact-box h2,
.related-box h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 38px;
    margin-bottom: 32px;
    border-top: 1px solid var(--line);
}

.admin-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
}

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

.admin-head,
.admin-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.admin-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 20px;
}

.admin-pages {
    max-height: 78vh;
    overflow: auto;
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.admin-pages a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
}

.admin-pages a.active,
.admin-pages a:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form.narrow {
    max-width: 420px;
}

.admin-form label {
    display: grid;
    gap: 6px;
    color: var(--steel);
    font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.admin-switches {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.admin-switches legend {
    padding: 0 6px;
    font-weight: 700;
    color: var(--steel);
}

.switch-line {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px;
    font-weight: 400 !important;
    line-height: 1.3;
}

.switch-line input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
}

.switch-line span {
    display: inline-block;
}

.upload-form {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.admin-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-message,
.admin-error {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.admin-message {
    background: var(--soft);
    color: var(--accent-dark);
}

.admin-error {
    background: #ffe8e4;
    color: #9b2c1f;
}

.contact-links {
    display: grid;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer div {
    display: grid;
    gap: 4px;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
    .topbar,
    .hero,
    .page-hero,
    .two-col,
    .article-layout,
    .contacts,
    .footer {
        grid-template-columns: 1fr;
    }

    .topbar,
    .footer {
        display: flex;
        align-items: center;
    }

    .topbar {
        min-height: 68px;
        padding-top: 12px;
        padding-bottom: 10px;
        justify-content: space-between;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        display: grid;
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 24px;
    }

    .brand small {
        display: none;
    }

    .mobile-brand-phone {
        display: block;
        margin-top: 2px;
        color: var(--accent-dark);
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
    }

    .quick-contacts {
        display: none;
    }

    .service-grid,
    .trust-strip,
    .subservice-grid,
    .content-block,
    .repair-process,
    .admin-head,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .nav {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(88vw, 380px);
        max-width: none;
        margin: 0;
        display: block;
        padding: 18px;
        overflow-y: auto;
        background: var(--surface);
        box-shadow: var(--shadow);
        transform: translateX(-105%) !important;
        transition: transform 0.22s ease;
        z-index: 50;
    }

    .nav-dropdown {
        position: static;
        display: none;
        min-width: 100%;
        max-width: 100%;
        box-shadow: none;
        margin-top: 4px;
        padding: 8px;
        border-color: transparent;
        background: var(--panel);
    }

    .mega-menu {
        grid-template-columns: 1fr;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .nav-item > summary,
    .nav-single > a {
        width: 100%;
        background: var(--soft);
        color: var(--accent-dark);
        font-weight: 700;
        justify-content: space-between;
    }

    .nav-item[open] .nav-dropdown {
        display: grid;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        display: none;
    }

    .nav-item[open]:hover .nav-dropdown,
    .nav-item[open]:focus-within .nav-dropdown {
        display: grid;
    }

    .nav-toggle:checked ~ .nav {
        transform: translateX(0) !important;
    }

    .nav-toggle:checked ~ .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(24, 37, 47, 0.38);
        z-index: 40;
    }

    .burger {
        display: inline-flex;
        order: -1;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
    }

    .menu-close {
        padding: 8px 10px;
        border-radius: 8px;
        background: var(--soft);
        color: var(--accent-dark);
        cursor: pointer;
    }

    .is-scrolled .topbar {
        min-height: 58px;
    }

    .is-scrolled .burger {
        display: none;
    }

    .is-scrolled .brand strong {
        font-size: 22px;
    }

    .hero-visual,
    .page-visual {
        min-height: 240px;
    }

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

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

    .sidebar {
        position: static;
    }
}

/* Более живой визуальный слой: мягкие формы, выразительная типографика и глубина. */
:root {
    --bg: #f7fafb;
    --panel: #eff7f7;
    --text: #142933;
    --muted: #5e7280;
    --line: #d8e8e9;
    --accent: #0793a1;
    --accent-bright: #14b8a6;
    --accent-dark: #075d68;
    --signal: #f4a62a;
    --signal-soft: #fff1ce;
    --soft: #e7f6f5;
    --shadow: 0 24px 60px rgba(21, 68, 76, 0.11);
    --shadow-soft: 0 14px 36px rgba(21, 68, 76, 0.075);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    letter-spacing: -0.008em;
    background:
        radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.10), transparent 27rem),
        radial-gradient(circle at 93% 24%, rgba(244, 166, 42, 0.10), transparent 23rem),
        linear-gradient(rgba(8, 127, 140, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 127, 140, 0.022) 1px, transparent 1px),
        var(--bg);
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.16;
    pointer-events: none;
    z-index: -1;
}

body::before {
    left: -90px;
    top: 35vh;
    background: var(--accent-bright);
}

body::after {
    right: -110px;
    bottom: 8vh;
    background: var(--signal);
}

.site-header {
    background: rgba(255, 255, 255, 0.86);
    border-bottom-color: rgba(7, 147, 161, 0.14);
    backdrop-filter: blur(18px) saturate(145%);
}

.brand-mark {
    border-radius: 13px 13px 13px 5px;
    background: linear-gradient(145deg, var(--accent-dark), var(--accent) 62%, var(--accent-bright));
    box-shadow: 0 8px 22px rgba(7, 147, 161, 0.25), inset 0 0 0 1px rgba(255,255,255,0.3);
    transform: rotate(-2deg);
}

.brand strong,
h1,
h2,
h3 {
    font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 800;
}

.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 68px;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 24px 12px;
    z-index: -1;
    border: 1px solid rgba(7, 147, 161, 0.10);
    border-radius: 38px 12px 38px 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.74), rgba(231,246,245,0.42));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.hero h1,
.page-hero h1 {
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 1px 0 #fff;
}

.hero h1::after,
.page-hero h1::after {
    content: "";
    display: block;
    width: 88px;
    height: 7px;
    margin-top: 23px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--signal), var(--accent-bright));
    box-shadow: 0 5px 18px rgba(244, 166, 42, 0.20);
}

.lead {
    line-height: 1.65;
    letter-spacing: -0.015em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid rgba(7, 147, 161, 0.16);
    border-radius: 999px;
    background: rgba(231, 246, 245, 0.82);
    color: var(--accent-dark);
    letter-spacing: 0.095em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 4px rgba(244, 166, 42, 0.14);
}

.hero-visual,
.page-visual {
    border: 7px solid rgba(255,255,255,0.88);
    border-radius: 34px 12px 34px 12px;
    transform: rotate(1.2deg);
    box-shadow: 0 28px 70px rgba(7, 84, 97, 0.20);
}

.hero-visual::before,
.page-visual::before {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    right: -15px;
    top: -15px;
    border-radius: 50%;
    background: var(--signal);
    opacity: 0.92;
    box-shadow: 0 8px 30px rgba(244, 166, 42, 0.28);
}

.hero-visual span,
.page-visual span,
.card-image span,
.block-visual span {
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.button {
    min-height: 50px;
    padding: 13px 21px;
    border-radius: 14px 14px 14px 5px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(21, 68, 76, 0.14);
    text-decoration: none;
}

.button.primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent) 70%, var(--accent-bright));
    box-shadow: 0 13px 28px rgba(7, 127, 140, 0.25);
}

.trust-strip {
    position: relative;
    margin-top: -18px;
}

.trust-strip div {
    position: relative;
    overflow: hidden;
    padding: 21px;
    border-radius: 18px 18px 18px 7px;
    background: rgba(255,255,255,0.90);
    box-shadow: var(--shadow-soft);
}

.trust-strip div::after {
    content: "";
    position: absolute;
    width: 52px;
    height: 52px;
    right: -22px;
    bottom: -22px;
    border-radius: 50%;
    background: var(--accent-bright);
    opacity: 0.13;
}

.trust-strip div:nth-child(2n)::after {
    background: var(--signal);
    opacity: 0.20;
}

.trust-strip strong {
    color: var(--accent-dark);
    font-size: 18px;
}

.section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-head h2,
.article h2 {
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-head h2 {
    position: relative;
    margin-top: 12px;
}

.section-head p:last-child {
    color: var(--muted);
    font-size: 17px;
}

.service-card,
.contact-box,
.related-box,
.subservice,
.content-block,
.work-card {
    border-color: rgba(7, 147, 161, 0.13);
    border-radius: 22px 22px 22px 8px;
    box-shadow: var(--shadow-soft);
}

.service-card,
.subservice,
.work-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.subservice:hover,
.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(7, 147, 161, 0.34);
    box-shadow: var(--shadow);
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 16px 16px 22px;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    height: 4px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

.service-card:nth-child(2n)::before {
    background: linear-gradient(90deg, var(--signal), #f7c965);
}

.service-card h3 {
    margin-top: 22px;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

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

.card-image,
.block-visual {
    border-radius: 17px 17px 17px 6px;
}

.card-image {
    min-height: 175px;
}

.content-block {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: rgba(255,255,255,0.91);
}

.content-block::before {
    content: "";
    position: absolute;
    width: 96px;
    height: 96px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: var(--accent-bright);
    opacity: 0.10;
}

.content-block:nth-of-type(2n)::before {
    background: var(--signal);
    opacity: 0.15;
}

.check-list li::before {
    width: 18px;
    height: 18px;
    top: 5px;
    border-radius: 50% 50% 50% 3px;
    background: linear-gradient(135deg, var(--signal), #f7c967);
    box-shadow: 0 4px 10px rgba(244, 166, 42, 0.22);
}

.block-note {
    border-radius: 22px 22px 22px 7px;
    background: linear-gradient(145deg, var(--signal-soft), #fffaf0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.subservice {
    padding: 20px;
    background: linear-gradient(145deg, #fff, rgba(231,246,245,0.55));
}

.related-chips a {
    border: 1px solid rgba(7, 147, 161, 0.10);
    border-radius: 999px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.related-chips a:hover {
    transform: translateY(-2px);
}

.repair-process li {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 20px 7px;
    background: linear-gradient(145deg, var(--soft), #fff);
}

.repair-process li::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    right: -28px;
    bottom: -28px;
    border-radius: 50%;
    background: var(--signal);
    opacity: 0.16;
}

.repair-process span {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-bright));
    box-shadow: 0 7px 18px rgba(7, 147, 161, 0.22);
}

.price-row,
.faq-list details {
    border-radius: 14px 14px 14px 5px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.price-row:hover,
.faq-list details:hover {
    border-color: rgba(7, 147, 161, 0.30);
    transform: translateX(3px);
}

.sidebar .contact-box {
    background: linear-gradient(150deg, var(--accent-dark), var(--accent));
    color: #fff;
    box-shadow: 0 22px 48px rgba(7, 84, 97, 0.24);
}

.sidebar .contact-box h2,
.sidebar .contact-box a {
    color: #fff;
}

.sidebar .contact-box .contact-icon {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.contacts {
    position: relative;
    margin-bottom: 48px;
    padding: 36px;
    overflow: hidden;
    border: 0;
    border-radius: 30px 12px 30px 12px;
    background: linear-gradient(135deg, var(--accent-dark), #087b86 65%, var(--accent));
    color: #fff;
    box-shadow: 0 24px 60px rgba(7, 84, 97, 0.22);
}

.contacts::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -45px;
    top: -70px;
    border: 28px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.contacts .eyebrow {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.contacts a,
.contacts h2 {
    color: #fff;
}

.contacts .contact-icon {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.footer {
    margin-bottom: 18px;
    padding-top: 28px;
    border-top-color: rgba(7, 147, 161, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .page-hero > div:first-child {
        animation: provorot-rise 0.55s ease-out both;
    }

    .hero-visual,
    .page-visual {
        animation: provorot-visual 0.65s 0.08s ease-out both;
    }

    @keyframes provorot-rise {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes provorot-visual {
        from { opacity: 0; transform: translateY(16px) rotate(1.2deg) scale(0.98); }
        to { opacity: 1; transform: translateY(0) rotate(1.2deg) scale(1); }
    }
}

@media (max-width: 1100px) {
    .hero,
    .page-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero::before,
    .page-hero::before {
        inset: 14px 10px;
        border-radius: 28px 10px 28px 10px;
    }

    .hero-visual,
    .page-visual {
        transform: none;
    }

}

@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
    .hero-visual,
    .page-visual {
        animation-name: provorot-rise;
    }
}

@media (max-width: 520px) {
    .hero h1,
    .page-hero h1 {
        font-size: clamp(34px, 11vw, 46px);
        line-height: 1.01;
    }

    .hero::before,
    .page-hero::before {
        left: 6px;
        right: 6px;
    }

    .content-block {
        padding: 20px;
    }

    .contacts {
        margin-left: 12px;
        margin-right: 12px;
        padding: 26px 20px;
        border-radius: 24px 9px 24px 9px;
    }
}

@media (max-width: 520px) {
    .topbar,
    .nav,
    .hero,
    .page-hero,
    .section,
    .contacts,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero,
    .page-hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .lead,
    .contact-links {
        font-size: 18px;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
    .site-header .nav {
        position: fixed !important;
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: min(88vw, 380px) !important;
        max-width: none !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 18px !important;
        display: block !important;
        overflow-y: auto !important;
        background: var(--surface) !important;
        transform: translateX(-105%) !important;
        z-index: 50 !important;
    }

    .site-header .nav-toggle:checked ~ .nav {
        transform: translateX(0) !important;
    }

    .site-header .burger {
        display: inline-flex !important;
    }

    .site-header .quick-contacts {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .contacts {
        margin-left: 12px;
        margin-right: 12px;
        padding: 26px 20px;
    }
}
