:root {
    --ink: #172026;
    --muted: #60707a;
    --line: #d9e2e7;
    --soft: #f4f8fa;
    --white: #ffffff;
    --teal: #0f766e;
    --teal-dark: #0a4f49;
    --blue: #1d4ed8;
    --amber: #d97706;
    --red: #b42318;
    --shadow: 0 18px 45px rgba(23, 32, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
    font-size: 16px;
}

a {
    color: inherit;
}

img,
svg {
    max-width: 100%;
}

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

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    text-decoration: none;
}

.brand-mark {
    display: block;
    flex: 0 0 74px;
    width: 74px;
    height: 56px;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-header .brand-mark {
    flex-basis: 148px;
    width: 148px;
    height: 112px;
}

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

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

.main-nav,
.crm-topbar nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a,
.crm-topbar nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.main-nav a:hover,
.crm-topbar nav a:hover {
    color: var(--teal);
}

.header-actions,
.hero-actions,
.contact-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

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

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

.btn-ghost {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.header-actions .btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
}

.btn-telegram,
.btn-max,
.btn-call {
    gap: 8px;
    color: var(--white);
    background: #229ed9;
    border-color: #229ed9;
}

.btn-telegram:hover,
.btn-max:hover,
.btn-call:hover {
    background: #178bc0;
    border-color: #178bc0;
}

.messenger-icon {
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.link-telegram,
.text-link {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

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

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

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

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    gap: 42px;
    align-items: center;
    min-height: 620px;
    padding: 58px 0;
}

.hero-copy h1,
.service-hero h1 {
    max-width: 780px;
    margin: 12px 0 18px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.hero-copy p,
.service-hero p {
    max-width: 700px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 19px;
    overflow-wrap: anywhere;
}

.eyebrow,
.service-kicker {
    color: var(--amber);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

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

.hero-facts div,
.service-summary,
.service-card,
.lead-form,
.crm-panel,
.crm-login {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

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

.hero-facts dt {
    color: var(--muted);
    font-size: 13px;
}

.hero-facts dd {
    margin: 2px 0 0;
    font-weight: 800;
}

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

.panel-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.panel-top span {
    color: var(--muted);
}

.master-scene {
    position: relative;
    height: 260px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        #eef5f5;
    background-size: 24px 24px;
}

.device {
    position: absolute;
    border: 3px solid #163238;
    background: var(--white);
    box-shadow: 10px 12px 0 rgba(15, 118, 110, 0.12);
}

.device-fridge {
    left: 52px;
    bottom: 30px;
    width: 112px;
    height: 178px;
    border-radius: 8px;
}

.device-fridge::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    height: 3px;
    background: #163238;
}

.device-fridge::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 22px;
    width: 6px;
    height: 34px;
    border-radius: 8px;
    background: var(--teal);
}

.device-laptop {
    right: 42px;
    bottom: 48px;
    width: 150px;
    height: 94px;
    border-radius: 8px 8px 2px 2px;
}

.device-laptop::after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    bottom: -18px;
    height: 14px;
    border-radius: 2px 2px 8px 8px;
    background: #163238;
}

.tool-line {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 74px;
    height: 8px;
    border-radius: 8px;
    background: var(--amber);
    transform: rotate(-28deg);
}

.status-dot {
    position: absolute;
    right: 32px;
    top: 28px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.14);
}

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

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

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 8px;
    border-left: 3px solid var(--teal);
    border-bottom: 3px solid var(--teal);
    transform: rotate(-45deg);
}

.trust-band {
    background: var(--ink);
    color: var(--white);
}

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

.trust-grid div {
    min-height: 86px;
    padding: 18px;
    display: flex;
    align-items: center;
    background: #2f5d9d;
    font-weight: 700;
}

.section {
    padding: 78px 0;
    scroll-margin-top: 86px;
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2,
.split h2,
.lead-layout h2,
.empty-state h1,
.text-page h1,
.crm-head h1 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.section-head p,
.split p,
.lead-layout p,
.text-page p,
.empty-state p,
.crm-head p {
    max-width: 720px;
    color: var(--muted);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    padding: 22px;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin: 10px 0;
    font-size: 23px;
    line-height: 1.18;
}

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

.card-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.card-bottom strong {
    color: var(--teal);
}

.card-bottom a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.card-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.split,
.lead-layout,
.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 42px;
    align-items: start;
}

.price-section,
.district-section,
.process-section {
    background: var(--soft);
}

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

.price-list div,
.work-table div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.price-list span,
.work-table span {
    color: var(--muted);
}

.price-list strong,
.work-table strong {
    min-width: max-content;
}

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

.process-grid div {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.process-grid span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--white);
    background: var(--teal);
    font-weight: 800;
}

.process-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
}

.district-list,
.tag-grid,
.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.district-list span,
.tag-grid span,
.brand-list span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-weight: 700;
}

.lead-section {
    background: #ffffff;
}

.lead-form {
    padding: 24px;
    box-shadow: var(--shadow);
}

.form-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.form-head p {
    margin: 0 0 20px;
    color: var(--muted);
}

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

label span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

input,
select {
    min-height: 46px;
    padding: 0 12px;
}

textarea {
    resize: vertical;
    padding: 12px;
}

.wide {
    grid-column: 1 / -1;
}

.lead-form .btn {
    width: 100%;
    margin-top: 16px;
}

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

.form-note a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.form-result {
    min-height: 22px;
    margin-top: 12px;
    font-weight: 700;
}

.form-result.is-success {
    color: var(--teal);
}

.form-result.is-error {
    color: var(--red);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-strip a {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.contact-max-link,
.footer-max-link,
.contact-telegram-link,
.footer-telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.service-summary {
    display: grid;
    gap: 1px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-summary div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    background: var(--white);
}

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

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

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

summary {
    padding: 18px;
    cursor: pointer;
    font-weight: 800;
}

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

.empty-state,
.text-page {
    max-width: 840px;
}

.empty-state {
    text-align: center;
}

.centered {
    justify-content: center;
}

.text-page h2 {
    margin-top: 34px;
}

.site-map-list {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.site-map-list.columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    list-style: none;
}

.site-map-list a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    color: var(--white);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 44px 0;
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-grid strong {
    display: block;
    margin-bottom: 10px;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand-mark {
    flex-basis: 208px;
    width: 208px;
    height: 156px;
}

.footer-brand-text strong {
    font-size: 20px;
    line-height: 1.15;
}

.footer-brand small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.25;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 28px;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.mobile-sticky {
    display: none;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(47, 93, 157, 0.32);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner-text {
    display: grid;
    gap: 4px;
}

.cookie-banner-text strong {
    color: var(--blue);
}

.cookie-banner-text span {
    color: var(--muted);
    font-size: 14px;
}

.cookie-banner-text a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.cookie-banner .btn {
    flex: 0 0 auto;
}

.crm-body {
    min-height: 100vh;
    background: var(--soft);
}

.crm-login-wrap {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.crm-login {
    width: min(430px, 100%);
    padding: 28px;
    box-shadow: var(--shadow);
}

.crm-login h1 {
    margin: 24px 0 18px;
}

.crm-login label {
    display: block;
    margin-bottom: 14px;
}

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

.crm-alert {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid rgba(180, 35, 24, 0.22);
    border-radius: 8px;
    color: var(--red);
    background: #fff5f5;
}

.crm-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.crm-shell {
    padding: 28px 0 56px;
}

.crm-panel {
    padding: 24px;
    box-shadow: var(--shadow);
}

.crm-head,
.crm-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.crm-head {
    margin-bottom: 22px;
}

.crm-head h1,
.crm-head p {
    margin-top: 0;
}

.crm-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.crm-stats a {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    text-decoration: none;
}

.crm-stats a.active {
    border-color: var(--teal);
}

.crm-stats span,
.crm-stats strong {
    display: block;
}

.crm-stats span {
    color: var(--muted);
    font-size: 13px;
}

.crm-filter {
    margin-bottom: 18px;
}

.crm-filter input {
    flex: 1;
}

.crm-table-wrap {
    overflow-x: auto;
}

.crm-table {
    width: 100%;
    min-width: 1140px;
    border-collapse: collapse;
}

.crm-table th,
.crm-table td {
    padding: 14px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.crm-table th {
    color: var(--muted);
    font-size: 13px;
}

.crm-table td strong,
.crm-table td small,
.crm-table td a,
.crm-table td span {
    display: block;
}

.crm-table td small {
    max-width: 260px;
    margin-top: 6px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.crm-table td a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.status-form select {
    min-width: 170px;
}

.crm-empty {
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.price-embed-head {
    margin-bottom: 24px;
}

.price-embed-head h1 {
    max-width: 780px;
    margin: 8px 0 12px;
    color: var(--blue);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
}

.price-embed-head p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.price-embed-frame {
    overflow: hidden;
    border: 2px solid var(--blue);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.price-embed-frame iframe {
    display: block;
    min-height: 800px;
    background: var(--white);
}

/* Blue technical redesign inspired by the repair price sheet palette. */
:root {
    --ink: #173c72;
    --muted: #5d7392;
    --line: #2f5d9d;
    --soft: #eef5ff;
    --white: #ffffff;
    --teal: #2f5d9d;
    --teal-dark: #1d477d;
    --blue: #214f90;
    --amber: #2f5d9d;
    --red: #b42318;
    --shadow: 0 18px 45px rgba(25, 65, 122, 0.14);
}

body {
    background:
        linear-gradient(180deg, rgba(238, 245, 255, 0.82), rgba(255, 255, 255, 0.96) 320px),
        repeating-linear-gradient(90deg, rgba(47, 93, 157, 0.08) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(0deg, rgba(47, 93, 157, 0.08) 0 1px, transparent 1px 24px),
        var(--white);
}

.site-header,
.crm-topbar {
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 100%);
    border-bottom: 2px solid var(--blue);
}

.site-header::before {
    content: "";
    display: block;
    height: 10px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 22px),
        var(--blue);
}

.brand strong,
.section-head h2,
.split h2,
.lead-layout h2,
.empty-state h1,
.text-page h1,
.crm-head h1,
.hero-copy h1,
.service-hero h1 {
    color: var(--blue);
}

.brand-mark {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.main-nav a,
.crm-topbar nav a {
    color: var(--blue);
}

.main-nav a:hover,
.crm-topbar nav a:hover {
    color: #0f2f5f;
}

.btn {
    border-radius: 8px;
    text-transform: none;
}

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

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

.btn-ghost {
    color: var(--blue);
    background: var(--white);
    border-color: var(--blue);
}

.btn-ghost:hover {
    color: var(--white);
    background: var(--blue);
}

.hero,
.service-hero {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 255, 0.92)),
        repeating-linear-gradient(90deg, rgba(47, 93, 157, 0.12) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(0deg, rgba(47, 93, 157, 0.12) 0 1px, transparent 1px 28px);
    border-bottom: 2px solid var(--blue);
}

.hero-copy h1,
.service-hero h1 {
    font-weight: 800;
    letter-spacing: 0;
}

.eyebrow,
.service-kicker {
    color: var(--blue);
}

.hero-facts div,
.service-summary,
.service-card,
.lead-form,
.crm-panel,
.crm-login,
.process-grid div,
.price-list div,
.work-table div,
details,
.district-list span,
.tag-grid span,
.brand-list span {
    border-color: rgba(47, 93, 157, 0.5);
    box-shadow: 0 10px 26px rgba(25, 65, 122, 0.08);
}

.hero-facts div {
    background: rgba(255, 255, 255, 0.9);
}

.hero-panel {
    border: 2px solid var(--blue);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.panel-top {
    margin: -24px -24px 18px;
    padding: 14px 18px;
    color: var(--white);
    background: linear-gradient(180deg, #2f65ad, var(--blue));
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.panel-top span,
.panel-top strong {
    color: var(--white);
}

.master-scene {
    border: 1px solid rgba(47, 93, 157, 0.35);
    background:
        radial-gradient(circle at 80% 18%, rgba(47, 93, 157, 0.18), transparent 24%),
        repeating-linear-gradient(90deg, rgba(47, 93, 157, 0.14) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(0deg, rgba(47, 93, 157, 0.14) 0 1px, transparent 1px 24px),
        #f7fbff;
}

.device {
    border-color: var(--blue);
    box-shadow: 10px 12px 0 rgba(47, 93, 157, 0.12);
}

.device-fridge::before,
.device-laptop::after {
    background: var(--blue);
}

.device-fridge::after,
.tool-line,
.status-dot {
    background: #2f65ad;
}

.status-dot {
    box-shadow: 0 0 0 8px rgba(47, 93, 157, 0.15);
}

.check-list li::before {
    border-color: var(--blue);
}

.trust-band {
    background: var(--blue);
}

.site-footer {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 26px),
        var(--blue);
}

.trust-grid div {
    border: 1px solid #7fa0ce;
    background: #2f5d9d;
}

.price-section,
.district-section,
.process-section,
.crm-body {
    background:
        linear-gradient(180deg, rgba(238, 245, 255, 0.94), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(90deg, rgba(47, 93, 157, 0.08) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(0deg, rgba(47, 93, 157, 0.08) 0 1px, transparent 1px 24px);
}

.price-list div,
.work-table div {
    border-radius: 0;
    border-color: var(--blue);
}

.price-list strong,
.work-table strong,
.card-bottom strong,
.crm-table td a,
.site-map-list a,
.contact-strip a,
.text-link {
    color: var(--blue);
}

.process-grid span {
    background: var(--blue);
}

input,
select,
textarea {
    border-color: rgba(47, 93, 157, 0.55);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(47, 93, 157, 0.18);
    border-color: var(--blue);
}

.form-result.is-success {
    color: var(--blue);
}

.hero-actions .btn-primary,
.hero-actions .btn-max,
.hero-actions .btn-ghost {
    color: var(--white);
    background: #229ed9;
    border-color: #229ed9;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-max:hover,
.hero-actions .btn-ghost:hover {
    color: var(--white);
    background: #178bc0;
    border-color: #178bc0;
}

.crm-stats a.active {
    border-color: var(--blue);
    background: #eef5ff;
}

@media (max-width: 980px) {
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .split,
    .lead-layout,
    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

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

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

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero-grid,
    .section,
    .service-hero {
        padding: 42px 0;
    }

    .hero-copy h1,
    .service-hero h1 {
        font-size: 32px;
        line-height: 1.08;
    }

    .hero-copy p,
    .service-hero p {
        font-size: 17px;
    }

    .hero-actions,
    .contact-strip,
    .crm-head,
    .crm-filter {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-facts,
    .services-grid,
    .process-grid,
    .form-grid,
    .site-map-list.columns,
    .footer-grid,
    .crm-stats {
        grid-template-columns: 1fr;
    }

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

    .hero-panel,
    .lead-form,
    .crm-panel,
    .crm-login {
        padding: 18px;
    }

    .master-scene {
        height: 220px;
    }

    .device-fridge {
        left: 24px;
    }

    .device-laptop {
        right: 26px;
        width: 126px;
    }

    .price-list div,
    .work-table div,
    .service-summary div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 70px;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        max-width: calc(100% - 24px);
    }

    .cookie-banner .btn {
        width: 100%;
    }

    .mobile-sticky {
        position: sticky;
        bottom: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        background: var(--white);
        border-top: 1px solid var(--line);
    }

    .mobile-sticky a {
        display: grid;
        place-items: center;
        min-height: 54px;
        padding: 6px 4px;
        color: var(--white);
        background: var(--teal);
        font-size: 13px;
        font-weight: 800;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
    }

    .mobile-sticky a:first-child {
        background: var(--blue);
    }
}
