/*
 * Production polish — accessibility + micro-interactions.
 * Additive layer loaded after styles.css (see functions.php). Safe by design:
 * only adds focus, cursor, transitions, reduced-motion, and long-form measure.
 */

/* --- Keyboard focus (a11y): the base stylesheet defines no focus ring --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
.modal_btn:focus-visible,
.card_btn:focus-visible,
.button:focus-visible,
.btn_green:focus-visible,
.menu_item a:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid #b87235;
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- Pointer affordance on interactive controls --- */
button,
[role="button"],
.modal_btn,
.card_btn,
.button,
.btn_green,
.hamburger,
.footer_btn_top,
.menu_item a {
    cursor: pointer;
}

/* --- Smooth, consistent hover/press transitions (150-250ms) --- */
a,
button,
.card_btn,
.button,
.btn_green,
.modal_btn,
.servises_menu_item a,
.menu_item a,
.sub_menu_item {
    transition: color .2s ease, background-color .2s ease,
        border-color .2s ease, opacity .2s ease, transform .2s ease;
}

/* --- Subtle press feedback on primary tap targets --- */
.card_btn:active,
.button:active,
.btn_green:active,
.modal_btn:active {
    transform: translateY(1px);
}

/* --- Readable long-form measure for the SEO / FAQ content block --- */
.seo_content {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.seo_content p {
    line-height: 1.7;
    margin-bottom: 1em;
}
.seo_content h2,
.seo_content h3,
.seo_content h4 {
    margin: 1.5em 0 .5em;
    line-height: 1.3;
}
.seo_content .faq_item { margin-bottom: 1.25em; }

/* --- Respect reduced-motion preference (a11y) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
 * Design polish v2 — header nav, forms, buttons, links, spacing
 * ============================================================ */

/* --- Header navigation (desktop) --- */
@media (min-width: 1025px) {
    .navbar .navlink_items { gap: 0 40px; align-items: center; }

    /* animated underline on hover / current page */
    .menu_item > a { position: relative; font-weight: 500; }
    .menu_item > a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 100%;
        height: 2px;
        background: #b87235;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }
    .menu_item:hover > a::after,
    .menu_item.current > a::after { transform: scaleX(1); }
    .menu_item:last-child > a::after { display: none; }

    /* CTA: tame the oversized 99px padding, add radius + hover lift */
    .menu_item:last-child a {
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(184, 114, 53, .25);
    }
    .menu_item:last-child a:hover {
        background: #a5602b;
        color: #fff;
        transform: translateY(-1px);
    }
}
.menu_item.current > a { color: #b87235; }

/* Services dropdown: elevate + round for a premium feel */
.menu_item .sub_menu {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
    border: 1px solid #ececec;
}
.menu_item .sub_menu_item { opacity: .82; transition: opacity .2s ease; }
.menu_item .sub_menu_item:hover { opacity: 1; }
.menu_item .sub_menu_item a { border-radius: 8px; }

/* --- Buttons: reduce absurd horizontal padding, add radius --- */
.button { padding: 15px 44px; border-radius: 8px; }
.button:hover { background: rgba(255, 255, 255, .14); }
.card_btn { border-radius: 8px; }
.card_btn:hover { transform: translateY(-1px); }

/* --- Contact / appointment forms (Contact Form 7) --- */
.form_inputs input:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.contact form input:focus,
.contact form textarea:focus {
    outline: 2px solid #b87235;
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(184, 114, 53, .15);
}
.form_inputs input::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #9a9a9a; }

.form_button { border-radius: 8px; }
.form_button:hover { background: #b87235; }
.form_button:active { transform: translateY(1px); }
.wpcf7-spinner { margin-left: 10px; }

/* CF7 validation + response messages */
.wpcf7 .wpcf7-not-valid {
    border: 1px solid #BB0A07 !important;
    box-shadow: 0 0 0 3px rgba(187, 10, 7, .12) !important;
}
.wpcf7-not-valid-tip {
    color: #BB0A07;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}
.wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px;
    font-size: 14px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #BB0A07 !important;
    background: rgba(187, 10, 7, .06);
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #1a7f37 !important;
    background: rgba(26, 127, 55, .08);
    color: #1a7f37;
}

/* --- Content links: clearer affordance --- */
.seo_content a,
.advantages_item a,
.service_left a {
    color: #b87235;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.seo_content a:hover,
.advantages_item a:hover,
.service_left a:hover { color: #a5602b; }

/* --- Spacing polish --- */
.order_target { padding-top: 52px; padding-bottom: 52px; }
@media (max-width: 1024px) {
    .forms_info { padding: 32px 24px 36px; }
    .forms_component { padding: 32px 24px 40px; }
}

/* --- Header nav layout: links left, CTA pushed right (desktop) --- */
@media (min-width: 1025px) {
    .navbar .navlink_items { justify-content: flex-start; width: 100%; }
    .menu_item:last-child { margin-left: auto; }
}

/* ============================================================================
 * Design overhaul v3 — premium, cohesive Ferrari-service visual system.
 * Layered on top of styles.css. Nothing in this block touches PHP/HTML —
 * every improvement is achieved via selectors already emitted by templates.
 * ============================================================================ */

:root {
    /* Brand accents */
    --fs-bronze: #b87235;
    --fs-bronze-600: #a2612b;
    --fs-bronze-700: #8a5122;
    --fs-red: #c8102e;
    --fs-red-700: #a20a24;
    --fs-gold: #f2b840;

    /* Neutrals */
    --fs-ink: #14161a;
    --fs-ink-800: #1e2126;
    --fs-ink-600: #3d4148;
    --fs-ink-500: #5a5f68;
    --fs-ink-400: #8a8f97;
    --fs-line: #e8e6e0;
    --fs-line-soft: #efece6;
    --fs-surface: #ffffff;
    --fs-surface-alt: #f7f5f0;

    /* Elevation */
    --fs-shadow-sm: 0 1px 2px rgba(20, 22, 26, .06), 0 2px 6px rgba(20, 22, 26, .04);
    --fs-shadow-md: 0 4px 10px rgba(20, 22, 26, .06), 0 10px 30px rgba(20, 22, 26, .08);
    --fs-shadow-lg: 0 12px 24px rgba(20, 22, 26, .1), 0 24px 60px rgba(20, 22, 26, .12);
    --fs-shadow-brand: 0 10px 24px rgba(184, 114, 53, .32);

    /* Rhythm */
    --fs-radius-sm: 8px;
    --fs-radius-md: 14px;
    --fs-radius-lg: 20px;
}

body { color: var(--fs-ink-800); -webkit-font-smoothing: antialiased; }

@media (min-width: 1025px) {
    .container { padding: 0 32px; }
}

/* ============================================================
 * Header top bar — slim, refined, with brand accent line
 * ============================================================ */
.header_top {
    padding: 10px 0;
    background: linear-gradient(90deg, #0b0d10 0%, #1c1f24 55%, #2b2f36 100%);
    position: relative;
}
.header_top::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--fs-bronze) 20%,
        var(--fs-red) 50%,
        var(--fs-bronze) 80%,
        transparent 100%);
    opacity: .85;
}
.header_top .container {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .02em;
}
.top_text h1 {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .92;
}

/* ============================================================
 * Site header — cleaner spacing, refined info block
 * ============================================================ */
.header {
    background: #fff;
    border-bottom: 1px solid var(--fs-line-soft);
}
.header .container { padding-top: 10px; padding-bottom: 10px; }
.header_info .header_content { padding: 14px 0; }

.item_lists { gap: 0 32px; }
.item_lists .info_item .title_header_action {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fs-ink-800);
}
.item_lists .info_item .title_header_thin {
    font-size: 14px;
    font-weight: 400;
    color: var(--fs-ink-500);
}
.info_item .title_header_thin .link_phone {
    color: var(--fs-ink-800);
    font-weight: 600;
    letter-spacing: .01em;
}
.info_item .title_header_thin .link_phone:hover { color: var(--fs-bronze); }

/* ============================================================
 * Primary nav — uppercase links, defined active, refined CTA
 * ============================================================ */
@media (min-width: 1025px) {
    .navbar { margin-top: 14px; }
    .navbar .navlink_items { gap: 0 36px; padding: 6px 0 10px; }
    .menu_item > a {
        font-size: 15px;
        font-weight: 500;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--fs-ink-800);
        padding: 12px 2px;
    }
    .menu_item > a::after { bottom: 4px; height: 2px; }
    .menu_item.current > a { color: var(--fs-bronze); }

    .menu_item:last-child a {
        background: var(--fs-bronze);
        color: #fff;
        padding: 12px 26px;
        border-radius: var(--fs-radius-sm);
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        box-shadow: var(--fs-shadow-brand);
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .menu_item:last-child a:hover {
        background: var(--fs-bronze-600);
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(184, 114, 53, .38);
    }
}

.menu_item .sub_menu {
    background: #fff;
    border-radius: var(--fs-radius-md);
    box-shadow: var(--fs-shadow-lg);
    border: 1px solid var(--fs-line);
}
.menu_item .sub_menu.active { padding: 18px 20px; }
.menu_item .sub_menu_item a {
    border-left: none;
    border-radius: var(--fs-radius-sm);
    padding: 14px 8px;
    background: transparent;
    transition: background .2s ease, transform .2s ease;
}
.menu_item .sub_menu_item a:hover {
    background: var(--fs-surface-alt);
    transform: translateY(-1px);
}

/* ============================================================
 * Hero — rebalanced headline, warmer bg, richer body copy
 * ============================================================ */
.hero {
    padding-top: 40px;
    padding-bottom: 40px;
    background: radial-gradient(1200px 500px at 15% 20%, rgba(184, 114, 53, .08), transparent 60%),
                radial-gradient(900px 400px at 90% 80%, rgba(200, 16, 46, .05), transparent 60%),
                #fbfaf6;
}
@media (min-width: 1025px) {
    .hero { padding-top: 60px; padding-bottom: 90px; }
    .hero .hero_content { gap: 60px; align-items: center; }
}

.hero_info .hero_title .title_head {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--fs-bronze), var(--fs-red));
    border-radius: 3px;
}
.hero_info .section_title.top_sm {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fs-ink-600);
    line-height: 1.2;
}
.hero .section_title {
    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.02;
    letter-spacing: -.02em;
    font-weight: 700;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--fs-bronze) 0%, var(--fs-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--fs-bronze);
}

.hero_description {
    width: 88%;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--fs-ink-600);
    margin-top: 22px;
}
.hero_description strong { font-weight: 500; color: var(--fs-ink-800); }

.hero_work_check {
    gap: 14px 0;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--fs-line);
}
.hero_work_check li {
    font-size: 15px;
    font-weight: 500;
    color: var(--fs-ink-800);
    gap: 0 12px;
}
.hero_work_check li img { width: 22px; height: 22px; }

.hero_work_check .btn_green {
    background: linear-gradient(180deg, var(--fs-bronze) 0%, var(--fs-bronze-600) 100%);
    border-radius: var(--fs-radius-sm);
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: var(--fs-shadow-brand);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    margin-top: 8px;
}
.hero_work_check .btn_green:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(184, 114, 53, .42);
}
.hero_work_check .btn_green:active { transform: translateY(0); }

.hero_img_big img {
    filter: drop-shadow(0 30px 40px rgba(20, 22, 26, .18));
}

/* ============================================================
 * Service cards (3-up feature)
 * ============================================================ */
.servise_card { margin-top: 90px; }
@media (min-width: 1025px) {
    .servise_card { margin-top: 110px; }
}

.card_items { gap: 28px; }
.card_items .card_item {
    width: calc(33.333% - 19px);
    background: #fff;
    border-radius: var(--fs-radius-md);
    overflow: hidden;
    border: 1px solid var(--fs-line);
    box-shadow: var(--fs-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}
.card_items .card_item:hover {
    background: #fff;
    box-shadow: var(--fs-shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(184, 114, 53, .3);
}
.card_head { overflow: hidden; aspect-ratio: 16 / 10; }
.card_head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card_items .card_item:hover .card_head img { transform: scale(1.04); }

.card_item .card_body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.card_title {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--fs-ink);
    text-align: left;
    letter-spacing: -.01em;
}
.card_description {
    margin-top: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--fs-ink-500);
    text-align: left;
}
.card_btn {
    margin-top: auto;
    height: 46px;
    padding: 0 22px;
    border-radius: var(--fs-radius-sm);
    border: 1.5px solid var(--fs-bronze);
    background: transparent;
    color: var(--fs-bronze);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    align-self: flex-start;
}
.card_btn:hover {
    background: var(--fs-bronze);
    color: #fff;
    transform: translateY(-1px);
}
.card_items .card_item:hover .card_btn {
    background: var(--fs-bronze);
    color: #fff;
    border-color: var(--fs-bronze);
}

/* ============================================================
 * Services icon nav — tile look, softer icons
 * ============================================================ */
.servises { margin-top: 110px; }
.servises .servises_menu { gap: 20px; }
.servises_menu_item {
    width: calc(25% - 15px);
    border: 1px solid var(--fs-line);
    border-left: 1px solid var(--fs-line);
    border-radius: var(--fs-radius-md);
    background: #fff;
    padding: 26px 18px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.servises_menu_item:hover {
    box-shadow: var(--fs-shadow-md);
    transform: translateY(-3px);
    border-color: rgba(184, 114, 53, .35);
    background: linear-gradient(180deg, #fff 0%, #fdfaf4 100%);
}
.servises_menu_item a {
    gap: 12px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--fs-ink-800);
    text-align: center;
    line-height: 1.4;
}
.servises_menu_item img {
    width: 56px;
    height: 56px;
    opacity: .82;
    transition: opacity .25s ease, transform .25s ease;
}
.servises_menu_item:hover img { opacity: 1; transform: scale(1.05); }

/* ============================================================
 * Order banner
 * ============================================================ */
.order_target {
    margin-top: 70px;
    padding: 56px 0 !important;
    background: linear-gradient(135deg, var(--fs-bronze) 0%, var(--fs-bronze-600) 60%, var(--fs-bronze-700) 100%);
    position: relative;
    overflow: hidden;
}
.order_target::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 240px at 15% 30%, rgba(255, 255, 255, .14), transparent 60%),
        radial-gradient(500px 200px at 85% 70%, rgba(0, 0, 0, .18), transparent 60%);
    pointer-events: none;
}
.order_target .container {
    position: relative;
    z-index: 1;
    gap: 24px;
}
.order_target .order_title,
.order_title {
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    max-width: 720px;
}
.order_target .button {
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
    padding: 15px 42px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--fs-radius-sm);
    color: #fff;
    backdrop-filter: blur(2px);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.order_target .button:hover {
    background: #fff;
    color: var(--fs-bronze);
    border-color: #fff;
    transform: translateY(-1px);
}

/* ============================================================
 * Advantages / reviews / brand carousel
 * ============================================================ */
.advantages { margin-top: 96px; }
.advantages_title {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
    color: var(--fs-ink);
}
.advantages_top .button {
    border: 1.5px solid var(--fs-bronze);
    color: var(--fs-bronze);
    background: transparent;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: var(--fs-radius-sm);
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.advantages_top .button:hover {
    background: var(--fs-bronze);
    color: #fff;
    transform: translateY(-1px);
}

.advantages_item.text_advantages p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fs-ink-600);
    font-weight: 400;
    margin-bottom: 16px;
}
.advantages_item.text_advantages strong {
    color: var(--fs-ink);
    font-weight: 600;
}
.advantages_item a,
.service_left a,
.forms_description a,
.seo_content a {
    color: var(--fs-bronze) !important;
    font-weight: 500;
}
.advantages_item a:hover,
.service_left a:hover,
.forms_description a:hover,
.seo_content a:hover { color: var(--fs-bronze-600) !important; }

.check_advantages li {
    font-size: 15px;
    color: var(--fs-ink-800);
    font-weight: 500;
    line-height: 1.5;
    gap: 0 14px;
    padding-bottom: 6px;
}
.check_advantages li img {
    width: 20px; height: 20px;
    flex: 0 0 auto;
}

.advantages_bottom {
    padding: 22px 20px !important;
    background: var(--fs-surface-alt);
    border-radius: var(--fs-radius-md);
    margin-top: 40px;
    justify-content: center;
    gap: 0 18px;
}
.advantages_bottom_title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fs-ink);
    letter-spacing: .01em;
}
.advantages_bottom_star {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}
.advantages_bottom_star img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%)
            invert(70%) sepia(72%) saturate(573%) hue-rotate(0deg) brightness(102%) contrast(97%);
}
.advantages_link a {
    color: var(--fs-bronze);
    font-size: 14px;
    font-weight: 600;
    border-bottom: none;
    letter-spacing: .02em;
}
.advantages_link a:hover { color: var(--fs-bronze-600); text-decoration: underline; text-underline-offset: 3px; }

.advantages_gallery {
    padding: 48px 0;
    border-top: 1px solid var(--fs-line);
    margin-top: 8px;
    align-items: center;
}
.galler_title {
    font-size: 16px;
    font-weight: 600;
    color: var(--fs-ink-600);
    letter-spacing: .03em;
    text-transform: uppercase;
    width: 26%;
}
.galler_contents { width: 74%; }
.slide_img img {
    max-width: 130px;
    height: auto;
    filter: grayscale(1) brightness(0.85);
    opacity: .75;
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
    display: block;
    margin: 0 auto;
}
.slide_img:hover img,
.swiper-slide:hover .slide_img img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* ============================================================
 * Appointment form section
 * ============================================================ */
.forms {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--fs-surface-alt) 0%, #fff 100%);
}
.forms .forms_content {
    background: #fff;
    border-radius: var(--fs-radius-lg);
    box-shadow: var(--fs-shadow-md);
    overflow: hidden;
    border: 1px solid var(--fs-line);
}
.forms_info {
    padding: 52px 56px;
    background: #fff;
}
.forms_component {
    padding: 52px 56px;
    background: linear-gradient(180deg, #f8f5ee 0%, #fff 100%);
}
.form_info_title {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fs-ink);
    text-align: left;
    padding-bottom: 16px;
    line-height: 1.15;
}
.form_info_title::after {
    left: 0; right: auto; margin: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--fs-bronze), var(--fs-red));
    border-radius: 3px;
}
.forms_description {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--fs-ink-600);
    font-weight: 400;
}
.forms_description p { margin-bottom: 12px; }
.form_description_title span { color: var(--fs-bronze); font-weight: 700; }

.form_inputs { gap: 16px 0; }
.form_inputs input,
.form_inputs select,
.contact form input,
.contact form textarea,
.contact form select {
    border: 1px solid var(--fs-line) !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: var(--fs-radius-sm) !important;
    color: var(--fs-ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    height: 52px !important;
    padding: 14px 18px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact form textarea {
    height: 110px !important;
    font-family: "Lexend", sans-serif;
}
.form_inputs input:focus,
.form_inputs select:focus,
.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
    border-color: var(--fs-bronze) !important;
    box-shadow: 0 0 0 4px rgba(184, 114, 53, .15) !important;
    outline: none !important;
}
.form_inputs input::placeholder,
.contact form input::placeholder,
.contact form textarea::placeholder {
    color: var(--fs-ink-400) !important;
    font-weight: 400;
}

.form_button,
.contact form button {
    background: linear-gradient(180deg, var(--fs-ink) 0%, #000 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--fs-radius-sm) !important;
    height: 54px !important;
    padding: 0 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: var(--fs-shadow-md) !important;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.form_button:hover,
.contact form button:hover {
    background: linear-gradient(180deg, var(--fs-bronze) 0%, var(--fs-bronze-600) 100%) !important;
    transform: translateY(-2px);
    box-shadow: var(--fs-shadow-brand) !important;
}

/* ============================================================
 * Welcome / trust badges
 * ============================================================ */
.service { margin-top: 96px; }
.service .container { gap: 40px; align-items: center; }
.service .service_left span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fs-ink-500);
    line-height: 1;
}
.service .service_left h4 {
    font-size: clamp(36px, 4.4vw, 60px);
    line-height: 1.02;
    letter-spacing: -.02em;
    font-weight: 700;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--fs-bronze) 0%, var(--fs-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--fs-bronze);
}
.service .service_left p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--fs-ink-600);
    font-weight: 400;
    max-width: 520px;
}

.service .service_right { gap: 20px; }
.service .genuine {
    border-top: none;
    background: #fff;
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius-md);
    box-shadow: var(--fs-shadow-sm);
    position: relative;
    overflow: hidden;
    min-width: 190px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service .genuine::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fs-bronze), var(--fs-red));
    opacity: 0;
    transition: opacity .25s ease;
}
.service .genuine:hover {
    border-top: none;
    box-shadow: var(--fs-shadow-md);
    transform: translateY(-4px);
    border-color: rgba(184, 114, 53, .35);
}
.service .genuine:hover::before { opacity: 1; }
.service .genuine_in {
    padding: 34px 24px 30px;
    gap: 18px;
}
.service .genuine_in img { width: 52px; height: 52px; object-fit: contain; }
.service .genuine p {
    font-size: 15px;
    font-weight: 700;
    color: var(--fs-ink);
    letter-spacing: .01em;
    line-height: 1.25;
}

/* ============================================================
 * Contact section
 * ============================================================ */
.contact { padding-top: 96px; }
.contact .contact_title h5 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--fs-ink);
    line-height: 1.1;
}
.contact .contact_title p {
    padding-top: 12px;
    color: var(--fs-ink-500);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
}
.contact iframe {
    width: 547px;
    height: 520px;
    border-radius: var(--fs-radius-lg);
    box-shadow: var(--fs-shadow-md);
    border: 1px solid var(--fs-line);
}

/* ============================================================
 * Long-form SEO / FAQ block
 * ============================================================ */
.texts { margin-top: 110px; }
.texts .text_title h5 {
    font-size: 26px;
    font-weight: 700;
    color: var(--fs-ink);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.texts .title-3 h5 { font-size: 20px !important; font-weight: 700; }
.texts .container p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--fs-ink-600);
    font-weight: 400;
    padding-top: 16px;
}
.texts ul li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--fs-ink-600);
}
.texts p .text_span { color: var(--fs-red); font-weight: 600; }

.seo_content {
    max-width: 900px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.seo_content h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--fs-ink);
    margin: 1.4em 0 .4em;
}
.seo_content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--fs-ink);
    margin: 1.2em 0 .4em;
}
.seo_content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--fs-ink);
    margin: 1.2em 0 .3em;
}
.seo_content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--fs-ink-600);
}

/* ============================================================
 * Footer
 * ============================================================ */
footer {
    background: linear-gradient(180deg, #f5f2ec 0%, #ecebe5 100%);
    padding-top: 72px;
    margin-top: 60px;
}
.footer_bg { display: none; }
.footer_top_line { margin-top: 0; border-top-color: var(--fs-line); }

footer .container { position: relative; z-index: 1; }
footer .footer_top { gap: 60px; }
footer h6 {
    color: var(--fs-bronze);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
footer .nav_link li { margin-bottom: 8px; }
footer .nav_link li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--fs-ink-600);
    line-height: 1.6;
    transition: color .2s ease, padding-left .2s ease;
}
footer .nav_link li a:hover {
    color: var(--fs-bronze);
    padding-left: 4px;
}
footer .line { background: var(--fs-line); }
footer .footer_bottom .garage { padding: 26px 15px; }
footer .footer_bottom .garage span {
    font-size: 13px;
    color: var(--fs-ink-500);
    font-weight: 400;
    letter-spacing: .02em;
}
footer .footer_bottom .footer_btn_top {
    border: 1px solid var(--fs-line);
    background: #fff;
    border-radius: 50%;
}
footer .footer_bottom .footer_btn_top span {
    background: #fff;
    border: 1px solid var(--fs-line);
    box-shadow: var(--fs-shadow-sm);
}
footer .footer_bottom .footer_btn_top:hover span {
    background: var(--fs-bronze);
    border-color: var(--fs-bronze);
    transform: scale(1.08);
}

/* ============================================================
 * Modal — booking / callback
 * ============================================================ */
.modal {
    width: 440px;
    border-radius: var(--fs-radius-lg);
    box-shadow: var(--fs-shadow-lg);
    padding: 40px 32px 28px !important;
}
.modal h6,
.modal .modal_in > span {
    color: var(--fs-ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    display: block;
    margin-bottom: 18px;
}
.modal input {
    border: 1px solid var(--fs-line);
    background: #fff;
    border-radius: var(--fs-radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fs-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.modal input:focus {
    border-color: var(--fs-bronze);
    box-shadow: 0 0 0 3px rgba(184, 114, 53, .15);
}
.modal form button {
    background: linear-gradient(180deg, var(--fs-bronze) 0%, var(--fs-bronze-600) 100%);
    border-radius: var(--fs-radius-sm);
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    height: 50px;
    box-shadow: var(--fs-shadow-brand);
}
.modal form button:hover { background: linear-gradient(180deg, var(--fs-bronze-600) 0%, var(--fs-bronze-700) 100%); }
.modal_bg { background: rgba(20, 22, 26, .72); backdrop-filter: blur(4px); }

/* ============================================================
 * Section rhythm on tablet & mobile
 * ============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 20px; max-width: 100%; }

    .top_text h1 { font-size: 11px; letter-spacing: .1em; }
    .header_top { padding: 8px 0; }

    .header .header_content { padding: 12px 0; }
    .info_item .title_header_thin .link_phone { font-size: 15px; }

    .navbar {
        background: #fff;
        top: 74px;
        height: calc(100vh - 74px);
        padding: 24px 24px 32px;
        box-shadow: -8px 0 24px rgba(20, 22, 26, .1);
    }
    .navbar .navlink_items a {
        border-top: 1px solid var(--fs-line);
        padding: 18px 0;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: .04em;
    }
    .menu_item:last-child a {
        background: var(--fs-bronze) !important;
        color: #fff !important;
        border-radius: var(--fs-radius-sm);
        text-align: center !important;
        margin-top: 14px;
        padding: 16px !important;
        border-top: none !important;
        border-bottom: none !important;
    }

    .hero { padding-top: 30px; padding-bottom: 30px; }
    .hero .section_title { font-size: 42px; line-height: 1.05; }
    .hero .section_title.top_sm { font-size: 15px; }
    .hero_description { font-size: 15px; width: 100%; }
    .hero_work_check li { width: 50%; font-size: 14px; }
    .hero_work_check .btn_green {
        padding: 15px 20px;
        font-size: 14px;
        width: 100%;
    }
    .hero_img_content { margin-top: 30px; }

    .card_items { gap: 20px; }
    .card_items .card_item { width: 100%; }

    .servises { margin-top: 60px; }
    .servises_menu_item { width: calc(50% - 10px); padding: 20px 12px; }
    .servises_menu_item img { width: 44px; height: 44px; }

    .order_target { margin-top: 40px; padding: 44px 0 !important; }
    .order_target .order_title { text-align: center; font-size: 22px; }
    .order_target .button { width: auto; padding: 14px 32px; }

    .advantages { margin-top: 56px; }
    .advantages_top { gap: 20px; }
    .advantages_top .button { width: auto; padding: 12px 24px; }
    .check_advantages { padding: 0; }
    .advantages_gallery { padding: 32px 0; gap: 20px 0; }
    .galler_title { width: 100%; text-align: center; }
    .galler_contents { width: 100%; }

    .forms { padding: 48px 0; }
    .forms_info { padding: 32px 24px; }
    .forms_component { padding: 32px 24px; }
    .form_info_title { font-size: 24px; }
    .forms_description { font-size: 14px; }

    .service { margin-top: 56px; }
    .service .service_left h4 { font-size: 36px; }
    .service .service_left span { font-size: 13px; }

    .contact { padding-top: 60px; }
    .contact iframe { width: 100%; height: 380px; }

    .seo_content { padding: 24px 0; }
    .seo_content h2 { font-size: 24px; }
    .seo_content h3 { font-size: 19px; }

    footer { padding-top: 48px; margin-top: 40px; }
    footer .footer_top { gap: 32px; }
    footer .footer_bottom .garage { justify-content: center; text-align: center; }
}

@media (max-width: 430px) {
    .hero .section_title { font-size: 36px; }
    .hero_work_check li { width: 100%; }
    .modal { width: calc(100% - 24px); padding: 32px 20px 24px !important; }
    .service .service_left h4 { font-size: 32px; }
}

/* ============================================================================
 * Patch v3.1 — Header nav layout, CF7 forms, buttons, spacing, headings
 *   • Force menu links LEFT, CTA button RIGHT on desktop
 *   • Style Contact Form 7 inputs & submit buttons (element-type selectors)
 *   • Unify feature-card CTAs to filled bronze
 *   • Tighten margin/align rules across sections
 *   • Refine heading font sizes and vertical rhythm
 * ============================================================================ */

/* ---------- Header nav: links left, CTA right (desktop) ---------- */
@media (min-width: 1025px) {
    .navbar .navlink_items {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0 36px;
    }
    /* All non-CTA items on the left */
    .navbar .navlink_items > .menu_item { flex: 0 0 auto; }
    /* Push the last item (Book a Service CTA) to the right */
    .navbar .navlink_items > .menu_item:last-child {
        margin-left: auto !important;
    }
    /* Guarantee the CTA button rendering (in case v3 rules were overridden) */
    .navbar .navlink_items > .menu_item:last-child > a {
        background: var(--fs-bronze);
        color: #fff;
        padding: 12px 28px;
        border-radius: var(--fs-radius-sm);
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        box-shadow: var(--fs-shadow-brand);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        height: 42px;
        border: none;
    }
    .navbar .navlink_items > .menu_item:last-child > a:hover {
        background: var(--fs-bronze-600);
    }
    /* Remove the underline animation from the CTA */
    .navbar .navlink_items > .menu_item:last-child > a::after { display: none !important; }
}

/* ---------- Contact Form 7 — global form styling ---------- */
.wpcf7-form,
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wpcf7-form p,
.wpcf7 form p { margin: 0; }
.wpcf7 label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fs-ink-600);
    margin-bottom: 6px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* Inputs, textareas, selects — cover every CF7 field type */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7-form-control:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.modal .wpcf7 input,
.modal .wpcf7 textarea,
.modal .wpcf7 select {
    width: 100% !important;
    border: 1px solid var(--fs-line) !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: var(--fs-radius-sm) !important;
    color: var(--fs-ink) !important;
    font-family: "Lexend", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    height: 52px !important;
    padding: 14px 18px !important;
    outline: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7 textarea {
    height: 120px !important;
    resize: vertical;
    line-height: 1.5 !important;
    padding-top: 14px !important;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--fs-bronze) !important;
    box-shadow: 0 0 0 4px rgba(184, 114, 53, .15) !important;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--fs-ink-400) !important;
    opacity: 1;
    font-weight: 400;
}

/* CF7 submit button — bronze primary */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
.wpcf7 .wpcf7-submit {
    width: 100% !important;
    background: linear-gradient(180deg, var(--fs-bronze) 0%, var(--fs-bronze-600) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--fs-radius-sm) !important;
    height: 54px !important;
    padding: 0 32px !important;
    font-family: "Lexend", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: var(--fs-shadow-brand) !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    margin-top: 6px;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    background: linear-gradient(180deg, var(--fs-bronze-600) 0%, var(--fs-bronze-700) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(184, 114, 53, .42) !important;
}

/* Modal-specific CF7 tightening */
.modal .wpcf7 { margin-top: 10px; }
.modal .wpcf7-form { gap: 12px; }
.modal .wpcf7 input[type="submit"] { height: 50px !important; margin-top: 4px; }

/* Modal heading + close button polish */
.modal .modal_in > span {
    display: block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fs-ink);
    margin-bottom: 16px;
    line-height: 1.2;
}
.modal .modal_close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-surface-alt);
    top: 14px;
    right: 14px;
    transition: background .2s ease, transform .2s ease;
}
.modal .modal_close:hover {
    background: rgba(200, 16, 46, .1);
    transform: rotate(90deg);
}

/* ---------- Card CTAs — three-up feature cards ---------- */
.card_items .card_item .card_btn {
    background: var(--fs-bronze);
    border: 1.5px solid var(--fs-bronze);
    color: #fff;
    box-shadow: 0 4px 10px rgba(184, 114, 53, .22);
    font-size: 13.5px;
    height: 48px;
    padding: 0 24px;
    letter-spacing: .06em;
}
.card_items .card_item .card_btn:hover {
    background: var(--fs-bronze-600);
    border-color: var(--fs-bronze-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(184, 114, 53, .34);
}

/* ---------- Heading font sizes — tighter, cleaner hierarchy ---------- */
.card_title {
    font-size: 20px;
    line-height: 1.28;
    font-weight: 700;
    color: var(--fs-ink);
    letter-spacing: -.01em;
    text-align: left;
}
@media (min-width: 1025px) {
    .card_title { font-size: 22px; }
}

.advantages_title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.contact .contact_title h5 { font-size: clamp(32px, 3vw, 42px); line-height: 1.08; }
.form_info_title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
.hero .section_title { font-size: clamp(46px, 6.2vw, 84px); line-height: 1; }
.service .service_left h4 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; }

/* Long-form SEO headings */
.seo_content h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin-top: 1.6em; }
.seo_content h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.seo_content h4 { font-size: 17px; }

/* ---------- Section margins & alignment ---------- */
.main > section { scroll-margin-top: 90px; }

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1025px) {
    .container { padding-left: 40px; padding-right: 40px; }
}

/* Hero content vertical alignment */
@media (min-width: 1025px) {
    .hero .hero_content { align-items: center; }
    .hero_img_content, .hero_info { width: calc(50% - 30px); }
}

/* Order banner content alignment */
.order_target .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.order_target .order_title { flex: 1 1 auto; min-width: 260px; }
.order_target .button { flex: 0 0 auto; }

/* Advantages layout tuning */
.advantages_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.advantages_title { flex: 1 1 auto; min-width: 260px; }
.advantages_contents { gap: 40px; align-items: flex-start; margin-top: 40px; }
@media (min-width: 1025px) {
    .advantages_item { width: calc(50% - 20px); }
}

/* Welcome trust badges — align cards to same height */
@media (min-width: 1025px) {
    .service .service_right { align-items: stretch; }
    .service .genuine { display: flex; }
    .service .genuine_in { justify-content: center; }
}

/* Contact section grid */
@media (min-width: 1025px) {
    .contact .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }
    .contact .contact_left { flex: 1 1 0; max-width: 480px; }
    .contact iframe { flex: 1 1 0; height: 560px; }
}

/* ---------- Button colors — unified system ---------- */
/* Ghost / outline buttons default to bronze on white */
.button {
    border: 1.5px solid var(--fs-bronze);
    color: var(--fs-bronze);
    background: transparent;
    padding: 13px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: var(--fs-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover {
    background: var(--fs-bronze);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(184, 114, 53, .28);
}

/* Order banner keeps its white-on-bronze inverted look */
.order_target .button {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.order_target .button:hover {
    background: #fff;
    color: var(--fs-bronze);
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* Contact form textarea styling in the non-CF7 legacy form */
.contact form textarea {
    resize: vertical;
    line-height: 1.5 !important;
}

/* ---------- Mobile refinements for the patch ---------- */
@media (max-width: 1024px) {
    /* Card CTAs full-width for tappability */
    .card_items .card_item .card_btn {
        width: 100%;
        height: 50px;
        font-size: 14px;
    }
    /* Card titles */
    .card_title { font-size: 20px; }
    /* Contact iframe */
    .contact iframe { height: 360px; }
    /* Order banner center */
    .order_target .container { justify-content: center; text-align: center; }
    .order_target .order_title { text-align: center; }
    /* Advantages */
    .advantages_top { justify-content: center; text-align: center; }
    .advantages_title { text-align: center; }
    /* CF7 inputs — a touch smaller height */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="email"],
    .wpcf7 select { height: 50px !important; font-size: 15px !important; }
    .wpcf7 input[type="submit"],
    .wpcf7 button[type="submit"] { height: 52px !important; }
}
