* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

button, input, textarea {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    cursor: pointer;
}

button:focus-visible, a:focus-visible {
    outline: 3px solid #bd6f2e;
    outline-offset: 5px;
}

.wrap {
    width: min(1200px, calc(100% - 80px));
    margin: auto;
}

.header {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    font-size: 21px;
    letter-spacing: -.7px;
}

.brand-mark {
    background: var(--green);
    color: var(--lime);
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 29px;
}

.brand small {
    font-size: 11px;
    display: block;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 1.5px;
}

.nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.nav a:hover {
    text-decoration: underline;
}

.header-phone {
    font-size: 18px;
    font-weight: bold;
}

.header-phone small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-weight: normal;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 555px;
    border-radius: 36px;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-copy {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.9px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
}

.dot {
    height: 7px;
    width: 7px;
    background: var(--accent);
    border-radius: 50%;
}

h1 {
    font-size: clamp(42px, 5.2vw, 66px);
    line-height: 1.04;
    letter-spacing: -3px;
    font-weight: 500;
    margin: 30px 0 22px;
}

h1 span {
    color: var(--accent);
}

.intro {
    font-size: 17px;
    max-width: 350px;
    color: var(--muted);
    margin: 0 0 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: 0;
    border-radius: 100px;
    padding: 16px 24px;
    background: var(--green);
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s, box-shadow .2s, transform .2s;
    min-height: 52px;
}

.button:hover {
    background: var(--hover);
    box-shadow: 0 6px 18px #244c4220;
    transform: translateY(-2px);
}

.button.light {
    background: var(--lime);
    color: var(--ink);
}

.button.outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border-strong);
}

.hero-address {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.hero-photo {
    position: relative;
    min-height: 440px;
    background: #3b473b;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
    position: absolute;
}

.hero-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #102c28b8, transparent 65%);
}

.photo-label {
    position: absolute;
    z-index: 1;
    bottom: 32px;
    left: 32px;
    right: 32px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
}

.photo-label small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: .75;
    display: block;
}

.photo-label strong {
    font-size: 24px;
    font-weight: 400;
}

.photo-label .round {
    border: 1px solid #ffffff65;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0 34px;
    border-bottom: 1px solid var(--line);
    gap: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--soft);
    border-radius: 16px;
    display: grid;
    place-items: center;
}

.feature b {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

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

section {
    margin-top: 76px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

h2 {
    font-weight: 500;
    font-size: 40px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 10px 0 0;
}

.section-heading p {
    font-size: 14px;
    color: var(--muted);
    max-width: 280px;
    margin: 0;
}

.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.offer {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 32px;
    box-shadow: 0 4px 8px #1a392604;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.offer:hover {
    box-shadow: 0 12px 32px #1a392611;
    transform: translateY(-3px);
}

.offer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    border-radius: 20px;
    padding: 7px 13px;
    background: var(--soft);
    font-size: 11px;
    letter-spacing: .3px;
}

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

.vehicle {
    height: 140px;
    display: grid;
    place-items: center;
    margin: 16px 0;
    color: var(--green);
    position: relative;
}

.vehicle:before {
    content: '';
    position: absolute;
    width: 180px;
    height: 85px;
    background: var(--illustration);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.vehicle svg {
    width: 190px;
    height: 100px;
    position: relative;
    stroke-width: 2.5;
}

.offer:nth-child(2) .vehicle:before {
    background: var(--illustration-alt);
}

.offer h3 {
    font-size: 25px;
    letter-spacing: -.6px;
    font-weight: 500;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.description {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.offer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.price {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.price small {
    font-size: 16px;
    letter-spacing: 0;
}

.period {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.offer-bottom .button {
    padding: 14px 20px;
}

.availability {
    font-size: 12px;
    color: var(--muted);
    margin: 16px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px 0 10px;
}

.step {
    position: relative;
}

.step-badge {
    width: 52px;
    height: 52px;
    background: var(--lime);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
}

.step:not(:last-child):after {
    content: '→';
    position: absolute;
    left: 76px;
    top: 8px;
    right: 0;
    border-bottom: 1px solid var(--line);
    text-align: right;
    color: var(--accent);
    font-size: 24px;
}

.step h3 {
    font-weight: 500;
    font-size: 20px;
    margin: 0 0 8px;
}

.step p {
    font-size: 14px;
    color: var(--muted);
    max-width: 270px;
    margin: 0;
}

.contact {
    background: var(--green);
    color: white;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

.contact-copy {
    padding: 44px;
}

.contact .eyebrow {
    color: var(--lime);
}

.contact h2 {
    font-size: 36px;
    margin: 18px 0;
}

.contact p {
    color: var(--on-dark);
    font-size: 14px;
    max-width: 320px;
}

.contact-phone {
    font-size: 38px;
    letter-spacing: -1px;
    display: block;
    margin: 26px 0 4px;
}

.contact small {
    color: var(--on-dark-muted);
}

.location {
    margin: 24px;
    background: var(--contact-panel);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.location .icon {
    width: 46px;
    height: 46px;
    color: var(--lime);
    margin-bottom: 24px;
}

.location h3 {
    font-size: 25px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0 0 8px;
}

.location .button {
    margin-top: 24px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 0;
    color: var(--muted);
    font-size: 12px;
}

.admin-link {
    border: 0;
    background: transparent;
    padding: 12px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
}

.footer-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-left strong {
    color: var(--ink);
}

dialog {
    border: 0;
    border-radius: 28px;
    padding: 0;
    width: min(700px, calc(100% - 24px));
    max-height: 90dvh;
    color: var(--ink);
    box-shadow: 0 24px 100px #0003;
    background: var(--paper);
}

dialog::backdrop {
    background: #142e29a8;
    backdrop-filter: blur(5px);
}

.editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

.editor-head h2 {
    font-size: 24px;
    margin: 0;
    letter-spacing: -.5px;
}

.close {
    border: 0;
    background: #e5ebdf;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
}

.editor-body {
    padding: 24px 28px;
}

.note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 22px;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    margin: 0 0 20px;
}

legend {
    font-size: 14px;
    font-weight: bold;
    padding: 0 8px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

input, textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    background: white;
    border: 1px solid #b8c8ba;
    border-radius: 10px;
    color: var(--ink);
}

input:focus, textarea:focus {
    outline: 2px solid #5b865c;
    outline-offset: 1px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

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

.check {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: normal;
}

.check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.editor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.editor-actions .button {
    padding: 14px 20px;
}

.editor-status {
    min-height: 22px;
    font-size: 13px;
    margin: 16px 0 0;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 14px 24px;
    border-radius: 14px;
    z-index: 3;
    box-shadow: 0 4px 24px #0002;
    font-size: 14px;
    width: max-content;
    max-width: 90vw;
}

.toast:empty {
    display: none;
}

@media(max-width:950px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .hero-copy {
        padding: 36px 28px;
    }

    h1 {
        font-size: 48px;
    }

    .nav {
        gap: 18px;
    }

    .offer {
        padding: 24px;
    }

    .offer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-copy {
        padding: 32px;
    }

    .location {
        padding: 24px;
    }

}

@media(max-width:650px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .header {
        height: 86px;
        gap: 12px;
    }

    .brand {
        font-size: 18px;
    }

    .brand small {
        font-size: 9px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .header-phone {
        font-size: 15px;
    }

    .header-phone small {
        font-size: 10px;
    }

    .nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .hero-copy {
        padding: 30px 24px;
    }

    h1 {
        font-size: 49px;
        letter-spacing: -2px;
        margin-top: 24px;
    }

    .intro {
        font-size: 16px;
    }

    .hero-photo {
        min-height: 260px;
    }

    .photo-label {
        bottom: 22px;
        left: 24px;
        right: 24px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 8px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature small {
        font-size: 12px;
    }

    .feature b {
        font-size: 14px;
    }

    section {
        margin-top: 52px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    h2 {
        font-size: 34px;
    }

    .section-heading p {
        max-width: none;
    }

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

    .offer {
        padding: 26px;
    }

    .offer-bottom {
        flex-direction: row;
        align-items: center;
    }

    .price {
        font-size: 28px;
    }

    .offer-bottom .button {
        padding: 12px 16px;
    }

    .steps {
        grid-template-columns: 1fr;
        padding: 12px 0;
        gap: 28px;
    }

    .step {
        padding-left: 74px;
        min-height: 60px;
    }

    .step-badge {
        position: absolute;
        left: 0;
        top: 0;
    }

    .step:not(:last-child):after {
        display: none;
    }

    .step h3 {
        font-size: 19px;
    }

    .step p {
        max-width: none;
    }

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

    .contact-copy {
        padding: 30px 26px 12px;
    }

    .contact h2 {
        font-size: 32px;
    }

    .contact-phone {
        font-size: 34px;
    }

    .location {
        margin: 20px;
        padding: 26px;
    }

    .footer {
        align-items: flex-start;
        gap: 10px;
    }

    .footer-left {
        display: block;
    }

    .footer-left span {
        display: block;
        margin-top: 6px;
    }

    .editor-head, .editor-body {
        padding: 20px;
    }

    .fields-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .editor-actions .button {
        width: 100%;
    }

}

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

    * {
        transition: none!important;
    }

}

/* SVG masks follow the selected palette without editing image files. */
.vehicle-symbol {
    display: block;
    position: relative;
    width: 180px;
    height: 110px;
    background-color: var(--green);
    -webkit-mask: var(--vehicle-image) center/contain no-repeat;
    mask: var(--vehicle-image) center/contain no-repeat;
}

.vehicle-symbol.car {
    --vehicle-image: url('../image/car.svg');
}

.vehicle-symbol.bike {
    --vehicle-image: url('../image/motorcycle.svg');
}

.button-eye {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url("../image/eye.svg") center/contain no-repeat;
    mask: url("../image/eye.svg") center/contain no-repeat;
}

.call-icon {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url("../image/call.svg") center/contain no-repeat;
    mask: url("../image/call.svg") center/contain no-repeat;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.footer-map {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: var(--soft);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

@media(max-width:650px) {
    .footer-map {
        border-radius: 22px;
        margin-top: 18px;
    }

    .footer-map iframe {
        height: 320px;
    }

}

.contact-map {
    min-width: 0;
    margin: 24px 24px 24px 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--soft);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

@media(max-width:650px) {
    .contact-map {
        margin: 20px;
        border-radius: 20px;
    }

    .contact-map iframe {
        height: 320px;
        min-height: 320px;
    }

}

/* Главный заголовок с описанием услуги. */
.hero-copy h1 {
    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.4px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-copy .intro {
    max-width: 440px;
}
