:root {
    --ink: #17191c;
    --ink-2: #2c3136;
    --muted: #69717a;
    --line: #d9dee5;
    --paper: #ffffff;
    --soft: #f4f6f8;
    --warm: #f7b500;
    --warm-2: #ffcc45;
    --green: #1f8a5b;
    --red: #ba2d2d;
    --shadow: 0 18px 48px rgba(15, 18, 22, 0.16);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 76px;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 222, 229, 0.85);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    width: min(var(--container), 100%);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

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

.brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 8px;
    background: var(--warm);
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.brand__logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
}

.brand__name {
    display: block;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 800;
}

.brand__caption {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    color: var(--ink-2);
    font-size: 15px;
}

.main-nav a {
    padding: 9px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
    border-color: var(--warm);
}

.nav-menu {
    position: relative;
}

.nav-menu summary {
    list-style: none;
    padding: 9px 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--ink-2);
}

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

.nav-menu summary::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav-menu.is-active summary,
.nav-menu summary:hover,
.nav-menu summary:focus-visible {
    border-color: var(--warm);
}

.nav-menu__panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    z-index: 80;
    width: min(560px, 92vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu[open] .nav-menu__panel,
.nav-menu:hover .nav-menu__panel,
.nav-menu:focus-within .nav-menu__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-menu__panel a {
    min-height: 38px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    color: var(--ink-2);
    font-weight: 700;
}

.nav-menu__panel a:hover,
.nav-menu__panel a:focus-visible {
    background: var(--soft);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-link {
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border: 1px solid var(--warm);
    border-radius: 8px;
    background: var(--warm);
    color: var(--ink);
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 22px rgba(247, 181, 0, 0.24);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    background: var(--warm-2);
    border-color: var(--warm-2);
    box-shadow: 0 12px 28px rgba(247, 181, 0, 0.3);
}

.button--light {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
    box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: #ffffff;
    box-shadow: none;
}

.button--outline {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
    box-shadow: none;
}

.button--small {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 14px;
}

.nav-toggle {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
    border-color: var(--warm);
    background: #fffaf0;
    box-shadow: 0 8px 22px rgba(15, 18, 22, 0.08);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--ink);
    transform-origin: center;
    transition: transform 180ms ease, opacity 150ms ease, background 160ms ease;
}

.nav-toggle span:nth-child(1):not(.sr-only) {
    transform: translate(-50%, calc(-50% - 6px));
}

.nav-toggle span:nth-child(2):not(.sr-only) {
    transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3):not(.sr-only) {
    transform: translate(-50%, calc(-50% + 6px));
}

.nav-toggle[aria-expanded="true"] span:nth-child(1):not(.sr-only) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2):not(.sr-only) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0.2);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3):not(.sr-only) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #161a1d;
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media {
    background-image: url("/assets/img/hero-bg.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero__media,
.geo-hero__media,
.page-hero__media {
    animation: heroDrift 18s ease-in-out infinite alternate;
    will-change: transform;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(17, 20, 24, 0.95) 0%, rgba(17, 20, 24, 0.74) 46%, rgba(17, 20, 24, 0.24) 100%),
        linear-gradient(0deg, rgba(17, 20, 24, 0.58) 0%, rgba(17, 20, 24, 0) 45%);
}

.hero__layout {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
    padding: 58px 0 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 42px;
}

.hero__content {
    position: relative;
    color: #ffffff;
}

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

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 850px;
    margin: 0;
    font-size: 50px;
    line-height: 1.05;
}

h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.16;
}

h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.24;
}

.hero__lead {
    max-width: 690px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 21px;
}

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

.hero__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 850px;
    margin: 32px 0 0;
}

.hero__facts div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.hero__facts dt {
    color: var(--warm-2);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero__facts dd {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.hero-form {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.hero-form__title {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.hero-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.hero-form label span {
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 800;
}

.hero-form input {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
}

.hero-form input:focus {
    outline: 3px solid rgba(247, 181, 0, 0.28);
    border-color: var(--warm);
}

.hero-form__consent {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.hero-form__consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.hero-form__consent a {
    color: var(--green);
    text-decoration: underline;
}

.hero-form .button {
    width: 100%;
}

.quick-band {
    background: var(--warm);
}

.quick-band__inner {
    width: min(var(--container), calc(100% - 80px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quick-band p {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
}

.quick-band .button {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
    box-shadow: none;
}

.trust-strip {
    width: min(var(--container), calc(100% - 80px));
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-strip div {
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

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

.trust-strip strong {
    font-size: 17px;
    line-height: 1.2;
}

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

.prices-page .trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

.prices-page .section--dark {
    margin-top: -56px;
    padding-top: 138px;
}

.section {
    padding: 82px 40px;
}

.section--intro {
    padding-top: 92px;
}

.section--dark {
    background: var(--ink);
    color: #ffffff;
}

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

.section--steps {
    background: #ffffff;
}

.section--lead {
    background: linear-gradient(90deg, #17191c 0%, #25211a 100%);
    color: #ffffff;
}

.section__head {
    width: min(850px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.section__head p:not(.eyebrow) {
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 18px;
}

.section--dark .section__head p:not(.eyebrow),
.section--lead .section__head p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
}

.service-grid,
.price-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.service-card,
.price-card,
.area-group {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.service-card--link {
    color: inherit;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-card,
.price-card,
.area-group,
.trust-strip div,
.geo-detail-card,
.geo-local-copy,
.geo-local-stack article,
.faq-list details,
.lead-panel,
.hero-form,
.page-hero__panel,
.geo-hero__panel {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card--link:hover,
.service-card--link:focus-visible,
.landing-card:hover,
.landing-card:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.geo-detail-card:hover,
.geo-detail-card:focus-within,
.faq-list details:hover,
.trust-strip div:hover {
    transform: translateY(-2px);
    border-color: var(--warm);
    box-shadow: 0 14px 32px rgba(15, 18, 22, 0.1);
}

.service-card {
    min-height: 220px;
    padding: 24px;
}

.service-card__icon {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 0 14px, var(--ink) 14px 28px, transparent 28px),
        linear-gradient(0deg, transparent 0 18px, var(--warm) 18px 30px, transparent 30px);
    background-color: var(--warm);
}

.service-card p,
.price-card p,
.area-group p {
    margin: 12px 0 0;
    color: var(--muted);
}

.price-card {
    min-height: 210px;
    padding: 24px;
    background: #24282d;
    border-color: rgba(255, 255, 255, 0.12);
}

.price-card strong {
    display: block;
    margin-top: 18px;
    color: var(--warm-2);
    font-size: 24px;
    line-height: 1.15;
}

.price-card p {
    color: rgba(255, 255, 255, 0.74);
}

.note-row {
    width: min(var(--container), 100%);
    margin: 20px auto 0;
    padding: 18px 20px;
    border-left: 4px solid var(--warm);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
}

.section-link-row {
    width: min(var(--container), 100%);
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
}

.contact-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-card {
    min-height: 170px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--warm);
    box-shadow: 0 14px 32px rgba(15, 18, 22, 0.1);
}

.contact-card span {
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-card strong {
    font-size: 22px;
    line-height: 1.2;
}

.contact-card small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.area-layout {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.area-map {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 181, 0, 0.18) 0 14%, transparent 14% 100%),
        linear-gradient(45deg, #eef1f5 0 25%, #ffffff 25% 55%, #edf4f0 55% 100%);
}

.area-map__road {
    position: absolute;
    left: 8%;
    top: 74%;
    width: 84%;
    height: 12px;
    border-radius: 999px;
    background: var(--ink);
    transform: rotate(-34deg);
    box-shadow: 0 0 0 7px rgba(23, 25, 28, 0.12);
}

.area-map__road::after {
    content: "";
    position: absolute;
    right: 20%;
    top: 22px;
    width: 36%;
    height: 10px;
    border-radius: 999px;
    background: var(--green);
    transform: rotate(48deg);
    transform-origin: left center;
}

.area-map span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    max-width: 150px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(23, 25, 28, 0.12);
    box-shadow: 0 8px 18px rgba(23, 25, 28, 0.12);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.area-groups {
    display: grid;
    gap: 14px;
}

.area-group {
    padding: 20px;
}

.route-list {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.route-list span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink-2);
    font-weight: 700;
}

.steps {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    position: relative;
    min-height: 190px;
    padding: 28px 22px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    counter-increment: steps;
}

.steps li::before {
    content: counter(steps);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--ink);
    color: #ffffff;
    font-weight: 800;
}

.steps strong,
.steps span {
    display: block;
}

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

.lead-panel {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 42px;
    align-items: start;
}

.lead-panel h2 {
    font-size: 42px;
}

.lead-panel p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.check-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--warm);
}

.lead-form {
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lead-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.lead-form label span {
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 800;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #ffffff;
}

.lead-form textarea {
    resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 3px solid rgba(247, 181, 0, 0.28);
    border-color: var(--warm);
}

.trap-field {
    position: absolute;
    left: -9999px;
}

.consent {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.consent a {
    color: var(--green);
    text-decoration: underline;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.form-status.is-success {
    color: var(--green);
}

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

.faq-list {
    width: min(920px, 100%);
    margin: 0 auto;
}

.faq-list details {
    border-top: 1px solid var(--line);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.faq-list summary::after {
    content: "+";
    color: var(--warm);
    font-size: 28px;
    line-height: 1;
}

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

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

.site-footer {
    padding: 56px 40px 96px;
    background: #111315;
    color: #ffffff;
}

.footer-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 40px;
}

.brand--footer .brand__caption,
.site-footer p,
.footer-list,
.footer-bottom {
    color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
    color: var(--warm);
}

.footer-bottom {
    width: min(var(--container), 100%);
    margin: 38px auto 0;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

/* Подпись студии-разработчика: прижата вправо даже если рядом появится кредит на фото. */
.footer-credit {
    margin-left: auto;
}

/* Ссылка — сама марка, поэтому без подчёркивания: логотипы не подчёркивают.
   Вертикальные отступы поднимают область нажатия до 24px, не разгоняя строку. */
.footer-credit__link {
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.92);
    vertical-align: -3px;
    transition: color 160ms ease;
}

.footer-credit__link:hover,
.footer-credit__link:focus-visible {
    color: var(--warm);
}

.footer-credit__mark {
    flex: none;
}

.mobile-cta {
    display: none;
}

.floating-call {
    position: fixed;
    right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
    bottom: 24px;
    z-index: 75;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--warm);
    color: var(--ink);
    box-shadow: 0 18px 42px rgba(15, 18, 22, 0.26);
    animation: callPulse 3.8s ease-in-out infinite;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-call:hover,
.floating-call:focus-visible {
    transform: translateY(-2px);
    background: var(--warm-2);
    box-shadow: 0 22px 48px rgba(15, 18, 22, 0.3);
    animation-play-state: paused;
}

.floating-call svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.landing-block--compact {
    margin-top: 22px;
}

.landing-block__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.landing-block__head h3,
.landing-block__head p {
    margin: 0;
}

.landing-block__head p {
    max-width: 620px;
    color: var(--muted);
}

.landing-block__head a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--warm);
    text-underline-offset: 3px;
}

.landing-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-grid--roads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-card {
    min-height: 172px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.landing-card:hover,
.landing-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--warm);
    box-shadow: 0 14px 32px rgba(15, 18, 22, 0.1);
}

.landing-card span {
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.landing-card strong {
    font-size: 21px;
    line-height: 1.18;
}

.landing-card small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.42;
}

.geo-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 82px 0;
    background: #161a1d;
    color: #ffffff;
}

.geo-hero::before,
.geo-hero__media {
    position: absolute;
    inset: 0;
}

.geo-hero::before {
    content: "";
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(17, 20, 24, 0.96) 0%, rgba(17, 20, 24, 0.78) 48%, rgba(17, 20, 24, 0.34) 100%),
        linear-gradient(0deg, rgba(17, 20, 24, 0.58) 0%, rgba(17, 20, 24, 0) 50%);
}

.geo-hero__media {
    background-image: url("/assets/img/hero-bg.jpg");
    background-position: center;
    background-size: cover;
}

.geo-hero__layout {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: center;
}

.geo-hero__content {
    min-width: 0;
}

.geo-hero__panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.geo-hero__panel-title {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
}

.geo-hero__panel-list {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.geo-hero__panel-list div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.geo-hero__panel-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.geo-hero__panel-list dt {
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.geo-hero__panel-list dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.geo-hero__panel .button {
    width: 100%;
}

.geo-hero h1 {
    margin: 0;
}

.geo-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

.geo-hero .geo-hero__panel .geo-hero__panel-title {
    color: var(--ink);
}

.geo-page .section__head,
.service-page .section__head,
.cities-page .section__head,
.services-index-page .section__head,
.prices-page .section__head,
.contacts-page .section__head,
.faq-page .section__head {
    width: min(var(--container), 100%);
    text-align: left;
}

.geo-page .section__head p:not(.eyebrow),
.service-page .section__head p:not(.eyebrow),
.cities-page .section__head p:not(.eyebrow),
.services-index-page .section__head p:not(.eyebrow),
.prices-page .section__head p:not(.eyebrow),
.contacts-page .section__head p:not(.eyebrow),
.faq-page .section__head p:not(.eyebrow) {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
}

.section--geo-local {
    padding-top: 62px;
    padding-bottom: 62px;
    background: #ffffff;
}

.geo-local-layout {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.geo-local-copy {
    min-height: 330px;
    padding: 30px;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
}

.geo-local-copy h2 {
    max-width: 620px;
}

.geo-local-copy p:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.geo-local-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.geo-local-copy .button--outline {
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
}

.geo-local-stack {
    display: grid;
    gap: 14px;
}

.geo-local-stack article {
    min-height: 100px;
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.geo-local-stack span {
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.geo-local-stack strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
}

.geo-detail-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.geo-detail-card {
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

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

.breadcrumbs {
    padding: 14px 40px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs ol {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #a6adb5;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--ink);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--ink);
    color: #ffffff;
    isolation: isolate;
}

.page-hero__media,
.page-hero::after {
    position: absolute;
    inset: 0;
}

.page-hero__media {
    z-index: -2;
    background-image: url("/assets/img/hero-bg.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.page-hero::after {
    content: "";
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(17, 20, 24, 0.96) 0%, rgba(17, 20, 24, 0.78) 54%, rgba(17, 20, 24, 0.42) 100%),
        linear-gradient(0deg, rgba(17, 20, 24, 0.62) 0%, rgba(17, 20, 24, 0.14) 100%);
}

.page-hero__layout {
    width: min(var(--container), calc(100% - 80px));
    min-height: 500px;
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 42px;
}

.page-hero__content {
    min-width: 0;
}

.page-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: 48px;
}

.page-hero__lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.page-hero__panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.page-hero__panel-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.page-hero__facts {
    display: grid;
    gap: 12px;
    margin: 0;
}

.page-hero__facts div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.page-hero__facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.page-hero__facts dt {
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-hero__facts dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-list span,
.tag-list a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 700;
}

.tag-list a:hover,
.tag-list a:focus-visible {
    background: var(--warm);
    color: var(--ink);
}

.section--portfolio {
    background: #ffffff;
}

.portfolio-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-card {
    position: relative;
    min-height: 310px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ink);
    color: #ffffff;
}

.portfolio-card--wide {
    grid-column: span 2;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.02);
    transition: transform 220ms ease;
}

.portfolio-card:hover img {
    transform: scale(1.03);
}

.portfolio-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 6px;
    padding: 42px 18px 18px;
    background: linear-gradient(0deg, rgba(17, 20, 24, 0.92) 0%, rgba(17, 20, 24, 0.68) 58%, rgba(17, 20, 24, 0) 100%);
}

.portfolio-card strong {
    font-size: 18px;
    line-height: 1.2;
}

.portfolio-card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.35;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 40px 58px;
    background: var(--ink);
    color: #ffffff;
    isolation: isolate;
}

.legal-hero::before,
.legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.legal-hero::before {
    background-image: url("/assets/img/hero-bg.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.legal-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(17, 20, 24, 0.96) 0%, rgba(17, 20, 24, 0.8) 58%, rgba(17, 20, 24, 0.42) 100%),
        linear-gradient(0deg, rgba(17, 20, 24, 0.62) 0%, rgba(17, 20, 24, 0.18) 100%);
}

.legal-hero h1,
.legal-hero p {
    width: min(var(--container), 100%);
    margin-left: auto;
    margin-right: auto;
}

.legal-hero .eyebrow {
    width: min(var(--container), 100%);
    margin-left: auto;
    margin-right: auto;
}

.legal-hero h1 {
    font-size: 44px;
}

.legal-hero p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.legal-hero__actions {
    width: min(var(--container), 100%);
    margin: 26px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-hero__facts,
.geo-hero__facts {
    width: min(var(--container), 100%);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.geo-hero__facts {
    margin-left: 0;
    margin-right: 0;
}

.legal-hero__facts div,
.geo-hero__facts div {
    min-height: 88px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.legal-hero__facts dt,
.geo-hero__facts dt {
    color: var(--warm-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-hero__facts dd,
.geo-hero__facts dd {
    margin: 6px 0 0;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.legal-content {
    width: min(920px, calc(100% - 80px));
    margin: 0 auto;
    padding: 56px 0 88px;
}

.legal-content h2 {
    margin-top: 34px;
    font-size: 24px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--ink-2);
    font-size: 17px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 520ms ease,
        transform 520ms cubic-bezier(0.2, 0.75, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes heroDrift {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.055) translate3d(-0.8%, -0.4%, 0);
    }
}

@keyframes callPulse {
    0%,
    100% {
        box-shadow: 0 18px 42px rgba(15, 18, 22, 0.26), 0 0 0 0 rgba(247, 181, 0, 0.34);
    }

    50% {
        box-shadow: 0 20px 46px rgba(15, 18, 22, 0.3), 0 0 0 12px rgba(247, 181, 0, 0);
    }
}

@media (max-width: 1080px) {
    .site-header {
        padding: 0 24px;
    }

    .site-header__inner {
        min-height: 76px;
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .main-nav.is-open {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 76px;
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open a {
        padding: 16px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open a:last-child {
        border-bottom: 0;
    }

    .main-nav.is-open .nav-menu {
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open .nav-menu summary {
        padding: 16px;
        border-bottom: 0;
    }

    .main-nav.is-open .nav-menu__panel {
        position: static;
        width: auto;
        display: none;
        grid-template-columns: 1fr;
        padding: 0 12px 12px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .main-nav.is-open .nav-menu[open] .nav-menu__panel {
        display: grid;
    }

    .main-nav.is-open .nav-menu__panel a {
        min-height: 40px;
        padding: 10px 12px;
        border-radius: 8px;
        border-bottom: 0;
        background: var(--soft);
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 30px;
    }

    .hero__content {
        width: 100%;
    }

    .quick-band__inner {
        width: min(920px, calc(100% - 48px));
    }

    .hero__layout {
        width: min(920px, calc(100% - 48px));
        grid-template-columns: 1fr;
        padding: 50px 0 56px;
    }

    .geo-hero__layout {
        width: min(920px, calc(100% - 48px));
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-hero__layout {
        width: min(920px, calc(100% - 48px));
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 58px 0;
    }

    .service-grid,
    .price-grid,
    .steps,
    .trust-strip,
    .contact-grid,
    .legal-hero__facts,
    .geo-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-layout,
    .lead-panel,
    .footer-grid,
    .geo-detail-grid,
    .geo-local-layout {
        grid-template-columns: 1fr;
    }

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

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

    .area-map {
        min-height: 390px;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 68px;
        padding: 0 16px;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand__logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand__name {
        font-size: 15px;
    }

    .brand__caption {
        max-width: 155px;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .main-nav.is-open {
        top: 68px;
    }

    .hero {
        min-height: 82vh;
    }

    .hero__media {
        background-position: 62% center;
    }

    .hero__overlay {
        background:
            linear-gradient(0deg, rgba(17, 20, 24, 0.96) 0%, rgba(17, 20, 24, 0.72) 68%, rgba(17, 20, 24, 0.42) 100%);
    }

    .hero__content {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero__layout {
        width: calc(100% - 32px);
        padding: 46px 0 48px;
        gap: 24px;
    }

    h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    h2,
    .lead-panel h2 {
        font-size: 27px;
    }

    .hero__lead,
    .section__head p:not(.eyebrow),
    .lead-panel p {
        font-size: 16px;
    }

    .hero__actions,
    .page-hero__actions,
    .legal-hero__actions,
    .quick-band__inner {
        display: grid;
    }

    .hero__actions .button,
    .page-hero__actions .button,
    .legal-hero__actions .button,
    .quick-band .button,
    .lead-form .button {
        min-width: 0;
        width: 100%;
    }

    .service-grid,
    .price-grid,
    .steps,
    .form-grid,
    .trust-strip,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 28px;
    }

    .legal-hero__facts,
    .geo-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero__facts div,
    .legal-hero__facts div,
    .geo-hero__facts div {
        min-height: 0;
        padding: 10px;
    }

    .hero__facts dt,
    .legal-hero__facts dt,
    .geo-hero__facts dt {
        font-size: 10px;
    }

    .hero__facts dd,
    .legal-hero__facts dd,
    .geo-hero__facts dd {
        font-size: 12px;
    }

    .quick-band__inner {
        width: calc(100% - 32px);
        min-height: 0;
        padding: 18px 0;
    }

    .trust-strip {
        width: calc(100% - 32px);
        margin-top: 24px;
    }

    .prices-page .trust-strip {
        margin-top: -32px;
    }

    .prices-page .section--dark {
        margin-top: -40px;
        padding-top: 96px;
    }

    .section {
        padding: 58px 16px;
    }

    .geo-hero {
        min-height: 0;
        padding: 58px 0;
    }

    .geo-hero__layout {
        width: calc(100% - 32px);
        gap: 24px;
    }

    .page-hero__layout {
        width: calc(100% - 32px);
        min-height: 0;
        padding: 48px 0;
        gap: 24px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero__lead {
        font-size: 16px;
    }

    .page-hero__panel {
        padding: 20px;
    }

    .geo-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .section--intro {
        padding-top: 62px;
    }

    .section__head {
        margin-bottom: 26px;
        text-align: left;
    }

    .service-card,
    .price-card,
    .area-group,
    .steps li,
    .lead-form,
    .hero-form,
    .contact-card,
    .geo-local-copy,
    .geo-local-stack article {
        padding: 20px;
    }

    .geo-local-copy {
        min-height: 0;
    }

    .geo-local-actions {
        display: grid;
    }

    .geo-local-actions .button {
        width: 100%;
    }

    .geo-local-stack strong {
        font-size: 17px;
    }

    .area-map {
        min-height: 320px;
    }

    .area-map span {
        max-width: 112px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .route-list {
        display: grid;
    }

    .landing-block__head {
        display: grid;
        gap: 8px;
    }

    .landing-grid,
    .landing-grid--roads {
        grid-template-columns: 1fr;
    }

    .landing-card {
        min-height: 0;
    }

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

    .portfolio-card,
    .portfolio-card--wide {
        grid-column: auto;
        min-height: 280px;
    }

    .route-list span {
        justify-content: center;
    }

    .lead-panel {
        gap: 24px;
    }

    .faq-list summary {
        min-height: 62px;
        font-size: 16px;
    }

    .site-footer {
        padding: 46px 16px;
    }

    .legal-hero {
        padding: 58px 16px 36px;
    }

    .breadcrumbs {
        padding: 12px 16px;
        font-size: 13px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-content {
        width: calc(100% - 32px);
        padding: 42px 0 66px;
    }

    .footer-bottom {
        display: grid;
        gap: 10px;
    }

    .footer-credit {
        margin-left: 0;
    }

    .footer-credit__link {
        padding: 8px 0;
    }

    .floating-call {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .button {
        transition: none;
    }
}

/* Хабы Москва / область / трассы / услуги (11.10.2026) */

.nav-menu__panel .nav-menu__hub {
    grid-column: 1 / -1;
    background: var(--soft);
    color: var(--ink);
}

.geo-detail-grid--single {
    grid-template-columns: 1fr;
}

/* На хабах в карточках только списки ссылок — высоту задаёт содержимое. */
.hub-page .geo-detail-card,
.home-page .geo-detail-card,
.geo-detail-card--compact {
    min-height: 0;
}

.geo-detail-card .geo-detail-card__more {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.note-row--light {
    border-left-color: var(--warm);
    background: var(--soft);
    color: var(--ink-2);
}

.situation-list {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.situation-list li {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.situation-list span {
    color: var(--ink-2);
    text-wrap: pretty;
}

.situation-list a {
    flex-shrink: 0;
    max-width: 55%;
    color: var(--ink);
    font-weight: 800;
    text-align: right;
    text-decoration: underline;
    text-decoration-color: var(--warm);
    text-underline-offset: 3px;
}

.situation-list a:hover,
.situation-list a:focus-visible {
    color: var(--ink-2);
    text-decoration-thickness: 2px;
}

.section .route-list .button {
    min-height: 44px;
}

/* Связь только по телефону (11.10.2026): карточки звонка вместо форм, доплаты в блоке цен. */

.call-panel__phone,
.call-card__phone {
    display: block;
    color: var(--ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.call-panel__note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.call-panel__label {
    margin: 20px 0 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.call-panel__list {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
}

/* В первом экране гео-страниц и услуг абзацы белые (.geo-hero p) — в белой карточке звонка возвращаем тёмный текст. */
.geo-hero .call-panel .hero-form__title {
    max-width: none;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 20px;
}

.geo-hero .call-panel .call-panel__note {
    max-width: none;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.geo-hero .call-panel .call-panel__label {
    max-width: none;
    margin: 20px 0 8px;
    color: var(--ink);
    font-size: 14px;
}

.call-panel__button,
.call-card__button {
    width: 100%;
    margin-top: 20px;
}

.call-card {
    padding: 28px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.section--lead .call-card .call-card__label,
.call-card__label {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.call-card__phone {
    font-size: 32px;
}

.call-card__facts {
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

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

.call-card__facts dt {
    color: var(--muted);
    font-size: 14px;
}

.call-card__facts dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.price-extras {
    width: min(var(--container), 100%);
    margin: 24px auto 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #24282d;
}

.price-extras__title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.price-extras dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.price-extras dl div {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.price-extras dt {
    color: #ffffff;
    font-weight: 700;
}

.price-extras dd {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
}

.price-extras dd strong {
    display: block;
    margin-bottom: 2px;
    color: var(--warm-2);
    font-variant-numeric: tabular-nums;
}

.route-list--spaced {
    margin-top: 24px;
}

.seo-text {
    width: min(820px, 100%);
    margin: 0 auto;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.65;
}

.seo-text h3 {
    margin: 28px 0 8px;
    color: var(--ink);
    font-size: 22px;
    text-wrap: balance;
}

.seo-text p {
    margin: 0 0 12px;
    text-wrap: pretty;
}

.price-table {
    width: min(var(--container), 100%);
    margin: 0 auto;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

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

.price-table th {
    background: var(--soft);
    font-size: 14px;
}

.price-table td:nth-child(2) {
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price-table-wrap {
    width: min(var(--container), 100%);
    margin: 0 auto;
    overflow-x: auto;
}

@media (max-width: 1080px) {
    .main-nav.is-open {
        max-height: calc(100vh - 92px);
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (max-width: 720px) {
    .main-nav.is-open {
        max-height: calc(100vh - 84px);
        max-height: calc(100dvh - 84px);
    }

    /* Теги-ссылки на хабах — основная навигация по городам и трассам, на телефоне нужна цель 44px. */
    .tag-list a {
        min-height: 44px;
    }

    .situation-list,
    .price-extras dl {
        grid-template-columns: 1fr;
    }

    .call-panel__phone,
    .call-card__phone {
        font-size: 26px;
    }

    .call-card {
        padding: 20px;
    }

    /* Таблицы цен на телефоне — карточками: строка = блок, без горизонтальной прокрутки. */
    .price-table thead {
        display: none;
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table tr {
        padding: 12px 16px;
        border-bottom: 1px solid var(--line);
    }

    .price-table td {
        padding: 2px 0;
        border-bottom: 0;
    }

    .price-table td:first-child {
        font-weight: 700;
    }

    .price-table td:last-child {
        color: var(--muted);
        font-size: 15px;
    }

    .situation-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .situation-list a {
        max-width: none;
        text-align: left;
    }
}
