/*
Theme Name: Biyuvit Tech
Description: A Hebrew RTL WordPress theme for Biyuvit Tech.
Version: 1.4.70
Requires PHP: 8.0
Text Domain: biyuvit-tech
*/

@font-face {
    font-family: Heebo;
    src: url('assets/heebo-hebrew.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
    font-family: Heebo;
    src: url('assets/heebo-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --navy: #0d2034;
    --surface-blue: 24 50 71;
    --muted: #373d46;
    --gold: #ffb000;
    --paper: #fff;
    --wrap: min(92.5%, 1270px);
    --section-wrap: min(1280px, calc(100% - clamp(40px, 6.25vw, 80px)));
    --header-row-height: clamp(50px, 5.4vw, 76px);
    --header-top: 0px;
    scroll-padding-top: calc(var(--header-top) + var(--header-row-height) + 9px);
    color: var(--navy);
    font-family: Heebo, Arial, sans-serif;
    font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
body:is(.home, .page-template-page-areas) { --wrap: var(--section-wrap); }
h1, h2, p, figure, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { display: block; width: 1em; height: 1em; flex: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
:focus-visible { outline: 3px solid #a46300; outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 5; top: 8px; right: 8px; padding: 8px 15px; background: white; }

.site-header { position: sticky; inset-block-start: var(--header-top); z-index: 4; overflow-anchor: none; background: rgb(var(--surface-blue)); color: #fff; border-block-end: 1px solid #38546a; }
.site-header :is(a, summary, button):focus-visible { outline-color: #ffd15e; }
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: var(--section-wrap);
    min-height: var(--header-row-height);
    margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; width: 145px; }
.site-header .brand-light { height: auto; object-fit: contain; }
.site-header .header-phone { border-radius: 11px; font-size: clamp(14px, 1.45vw, 20px); }
.brand-art { position: relative; width: 100%; aspect-ratio: 1080 / 193; overflow: hidden; }
.brand-art img { position: absolute; top: 0; left: -8.2%; width: 116.3%; height: auto; }
.main-nav { align-items: center; font-size: clamp(14px, 2vw, 15px); font-weight: 760; }
.main-nav > a { padding-block: 9px; white-space: nowrap; }
.main-nav > [aria-current="page"] { padding: .42em .95em; border-radius: 9px; background: var(--gold); color: var(--navy); }
.main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .2em; }
.header-dropdown { position: relative; }
.header-dropdown summary {
    display: flex;
    align-items: center;
    gap: .36em;
    padding: 9px 4px 7px;
    border-block-end: 3px solid transparent;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}
.header-dropdown summary::-webkit-details-marker { display: none; }
.header-dropdown summary svg { width: 1em; height: 1em; stroke-width: 2.8; transform: rotate(-90deg); }
.header-dropdown[open] summary { border-color: var(--gold); }
.header-dropdown[open] summary svg { transform: rotate(90deg); }
.header-panel {
    position: absolute;
    z-index: 2;
    inset-block-start: calc(100% + 10px);
    inset-inline-start: -12px;
    width: min(455px, calc(100vw - 30px));
    padding: 9px 13px 7px;
    border: 1px solid #cbd7e3;
    border-radius: 13px;
    background: white;
    color: var(--navy);
    box-shadow: 0 14px 34px #0d203427;
    font-size: clamp(14px, 1.25vw, 17px);
}
.header-dropdown-areas .header-panel { width: min(390px, calc(100vw - 30px)); }
.header-panel::before {
    content: '';
    position: absolute;
    inset-block-start: -8px;
    inset-inline-start: 42px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #cbd7e3;
    border-left: 1px solid #cbd7e3;
    transform: rotate(45deg);
    background: white;
}
.header-panel-grid {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-template: repeat(3, auto) / repeat(2, minmax(0, 1fr));
    gap: 0 13px;
    padding: 0;
    list-style: none;
}
.header-panel-grid::after { content: ''; position: absolute; inset: 4px 50% 4px auto; width: 1px; background: #d7e0e8; }
.header-panel-grid li { border-block-start: 1px solid #d7e0e8; }
.header-panel-grid:not(.header-panel-services) li:nth-child(3n + 1),
.header-panel-services li:nth-child(5n + 1) { border-color: transparent; }
.header-panel-services { grid-template-rows: repeat(5, auto); }
.header-panel-grid a { display: flex; align-items: center; gap: .5em; min-height: 49px; padding-block: 4px; line-height: 1.2; }
.header-panel-grid a > svg { margin-inline-start: auto; color: #ad6b00; }
.header-panel-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 8px; background: #eaf0f6; }
.header-panel-icon img { width: 29px; height: 27px; object-fit: contain; filter: brightness(0) saturate(100%) invert(12%) sepia(22%) saturate(1678%) hue-rotate(168deg); }
.header-dropdown-areas .header-panel-icon img { filter: none; }
.header-panel-all { display: flex; justify-content: center; align-items: center; gap: .6em; padding-block: 9px 4px; margin-block-start: 4px; border-block-start: 1px solid #d7e0e8; }
.header-panel-all svg { color: #ad6b00; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .42em;
    width: max-content;
    max-width: 100%;
    padding: .33em .88em;
    border-radius: .45em;
    background: var(--gold);
    color: var(--navy);
    line-height: 1.15;
    font-size: clamp(17px, 1.96vw, 25px);
    font-weight: 760;
}
.button:hover { background: #ffc23b; }
.phone-button svg { width: .82em; height: .82em; }
.menu-toggle, .mobile-contact, .header-mobile-pin { display: none; }

.hero {
    position: relative;
    isolation: isolate;
    width: var(--wrap);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 18px;
    background: rgb(var(--surface-blue));
    color: #fff;
}
.hero-photo { position: absolute; inset: 0 auto 0 0; width: 62%; z-index: -1; mask-image: linear-gradient(to right, #000 88%, transparent); }
.hero-photo img { position: absolute; inset: 0; object-position: left center; }
.hero-inner { display: flex; align-items: center; }
.hero-copy { width: 45%; }
.hero h1 { font-weight: 870; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.hero p { color: #e6eaf0; line-height: 1.35; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .hero-phone { font-weight: 810; }
.hero-services { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; font-weight: 730; }
.hero-services:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero-services svg { transform: rotate(-90deg); stroke-width: 2.5; }
.hero a:focus-visible { outline-color: #ffcd55; }

.home-sections { margin-block-start: 17px; padding-block-end: clamp(23px, 2.5vw, 36px); }
.section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-block-end: 14px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 860;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.section-title::before { content: ''; width: clamp(25px, 4vw, 45px); height: 3px; border-radius: 2px; background: var(--gold); }
.services .section-title { margin-block-end: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.35vw, 19px); }
.service-card {
    display: flex;
    align-items: center;
    min-height: clamp(103px, 10.25vw, 124px);
    padding: 7px;
    border: 1px solid #ced2d7;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: #fafbfc;
}
.service-card:hover { border-color: #b38a3b; background: #fff9ed; }
.service-photo { position: absolute; inset: 7px auto 7px 7px; width: 57%; z-index: -1; overflow: hidden; border-radius: 7px; mask-image: linear-gradient(to right, #000 67%, transparent); }
.service-photo img { object-position: left center; }
.service-label { display: grid; justify-items: start; align-content: center; width: 48%; gap: 8px; padding-inline-start: clamp(8px, 1.2vw, 17px); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.1; text-wrap: balance; }
.service-label strong { font-weight: 820; max-width: 7.2em; }
.service-label svg { color: #b97700; width: 22px; height: 22px; stroke-width: 2; }
.service-card:hover .service-label svg { transform: translateX(-2px); }

.equipment {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: clamp(148px, 14.5vw, 186px);
    margin-block-start: clamp(28px, 3vw, 39px);
    background: #e6edf3;
    border-radius: 15px;
}
.equipment-photo { position: absolute; inset: 0 0 0 auto; width: 54%; z-index: -1; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.equipment-photo img { object-position: center; }
.equipment-copy { width: 48%; padding: 18px 4%; }
.equipment-copy h2 { border-inline-start: 4px solid var(--gold); padding-inline-start: 14px; font-size: clamp(26px, 3.15vw, 37px); font-weight: 860; line-height: 1.12; letter-spacing: -.04em; }
.equipment p { color: #374b60; font-size: clamp(16px, 1.7vw, 21px); margin-block-start: 8px; }

.home-updates { display: grid; gap: clamp(14px, 2vw, 26px); padding-block: clamp(22px, 3vw, 38px); }
.home-update-panel { padding: clamp(12px, 2vw, 26px); border-radius: 14px; background: linear-gradient(120deg, #e8eff6, #dfe8f2); }
.home-update-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px 16px; margin-block-end: clamp(12px, 1.8vw, 23px); }
.home-update-heading .section-title { margin: 0; font-size: clamp(23px, 3vw, 36px); }
.home-update-all { display: inline-flex; align-items: center; gap: .55em; font-size: clamp(14px, 1.3vw, 18px); font-weight: 740; text-decoration: underline; text-underline-offset: .22em; }
.home-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(9px, 1.2vw, 16px); }
.review-card, .home-guide-card { border: 1px solid #b9c7d6; border-radius: 10px; background: #fcfcfd; overflow-wrap: anywhere; }
.home-guide-link { display: flex; gap: 9px; height: 100%; min-height: clamp(99px, 12vw, 150px); padding: 6px; border-radius: inherit; }
.home-guide-link:hover { background: #fffbf3; }
.home-guide-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; padding: 6px 5px; }
.home-guide-copy h3 { margin: 0; font-size: clamp(16px, 2vw, 23px); font-weight: 830; line-height: 1.13; }
.home-guide-copy span { display: inline-flex; align-items: center; gap: .45em; color: #985a00; font-size: 15px; font-weight: 760; }
.home-guide-copy svg { color: #dc9000; }
.home-guide-image { position: relative; flex: 0 0 45%; overflow: hidden; border-radius: 7px; }
.home-guide-image img { position: absolute; inset: 0; }

@media (max-width: 700px) {
    .home-update-grid { grid-template-columns: 1fr; }
    .home-guide-copy h3 { font-size: 18px; }
}

.legacy-page-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: fit-content;
    max-width: 100%;
    margin-block: 16px 0;
    padding: 7px 12px;
    border: 1px solid #dbe4ec;
    border-radius: 8px;
    background: #f5f8fb;
}
.legacy-page-rating .kksr-stars { position: relative; display: block; direction: ltr; font: 22px/1.2 Arial, sans-serif; white-space: nowrap; letter-spacing: .07em; }
.legacy-page-rating .kksr-stars > * { display: none; }
.legacy-page-rating .kksr-stars::before, .legacy-page-rating .kksr-stars::after { content: '★★★★★'; }
.legacy-page-rating .kksr-stars::before { color: #748799; }
.legacy-page-rating .kksr-stars::after { position: absolute; inset: 0; color: #b47100; clip-path: inset(0 calc(100% - var(--legacy-rating-fill, 0%)) 0 0); }
.legacy-page-rating .kksr-legend { color: var(--navy); font-size: 14px; font-weight: 650; line-height: 1.3; }
main .kk-star-ratings:not(.legacy-page-rating) {
    direction: rtl;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer { background: linear-gradient(120deg, #1d3850, rgb(var(--surface-blue)) 72%); color: #e9f2f9; }
.site-footer a:focus-visible { outline-color: #ffd15e; }
.footer-wrap { padding-block: clamp(24px, 2.65vw, 43px); }
.footer-inner { display: grid; grid-template-columns: clamp(215px, 23vw, 350px) minmax(0, 1fr); align-items: start; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); width: min(100%, 970px); margin-inline: auto; padding-inline: 10px; }
.footer-brand { padding-inline-end: clamp(16px, 2.3vw, 38px); border-inline-end: 1px solid #42647a; }
.footer-brand .brand { width: min(100%, clamp(220px, 27vw, 365px)); }
.footer-brand .brand-light { height: auto; object-fit: contain; }
.footer-tagline { margin-block: 7px 13px; font-size: clamp(16px, 1.48vw, 21px); font-weight: 570; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.footer-links h2 { margin-block-end: 6px; color: var(--gold); font-size: clamp(19px, 1.82vw, 26px); font-weight: 830; line-height: 1.15; }
.footer-contact { display: grid; justify-items: start; gap: 7px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.25; }
.footer-contact a { display: flex; align-items: center; gap: 11px; max-width: 100%; overflow-wrap: anywhere; }
.footer-contact bdi { min-width: 0; }
.footer-contact svg { width: 1.05em; height: 1.05em; color: #e9f2f9; }
.footer-contact .footer-phone { color: var(--gold); font-size: clamp(20px, 1.65vw, 24px); font-weight: 830; }
.footer-contact a:hover, .footer-legal a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-hours { display: grid; gap: 3px; width: min(100%, 310px); margin-block-start: 15px; padding-block-start: 11px; border-block-start: 1px solid #42647a; font-size: clamp(15px, 1.25vw, 18px); }
.footer-bottom { border-block-start: 1px solid #42647a; background: #142c40; }
.footer-bottom-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px 18px; align-items: center; padding-block: clamp(12px, 1.4vw, 19px); font-size: clamp(13px, 1.24vw, 17px); }
.footer-build-credit { text-align: center; color: #dceaf3; }
.footer-build-credit a { display: inline-flex; align-items: center; gap: .4em; color: #fff; font-weight: 750; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.footer-build-credit a:hover, .footer-build-credit a span { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 12px; }
.footer-legal a + a { border-inline-start: 1px solid #93adbf; padding-inline-start: 12px; }
@media (max-width: 640px) {
    .footer-bottom-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .footer-legal { justify-content: center; }
}

.detail dialog { max-width: min(480px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 16px; box-shadow: 0 15px 65px #101c3460; color: var(--navy); }
.detail dialog::backdrop { background: #101c34a6; }
.detail h2 { font-size: 27px; line-height: 1.2; padding-inline-end: 24px; }
.detail p { margin-block: 10px 20px; }
.detail-close { position: absolute; top: 5px; left: 10px; border: 0; background: none; font-size: 27px; cursor: pointer; }
html:not(.dialog-ready) .detail:target dialog:not([open]) { position: static; display: block; margin-block: 20px; }
html:not(.dialog-ready) .detail:target dialog:not([open]) form { display: none; }
.standard-page { min-height: 56vh; padding-block: 35px; }
.source-copy { margin-block-start: clamp(24px, 4vw, 46px); }
.migrated-content { font-size: clamp(16px, 1.65vw, 19px); line-height: 1.65; overflow-wrap: anywhere; }
.migrated-content :is(h2, h3, h4) { margin-block: 1em .3em; line-height: 1.25; }
.migrated-content :is(p, ul, ol, figure) { margin-block: .55em; }
.migrated-content img { width: auto; max-width: 100%; height: auto; border-radius: 9px; }
.migrated-content a { text-decoration: underline; text-underline-offset: .15em; }
.migrated-content details { padding: 10px; border-block-end: 1px solid #d8e3ed; }
.migrated-content table { display: block; max-width: 100%; overflow-x: auto; }
.migrated-content :is(th, td) { padding: 7px 9px; border: 1px solid #c9d6e1; }
.migrated-content th { background: #e7f0f6; }
.migrated-content .elementor-button { display: inline-block; margin-block: 5px; }
@media (min-width: 1025px) { .migrated-content .elementor-hidden-desktop { display: none; } }
@media (min-width: 768px) and (max-width: 1024px) { .migrated-content .elementor-hidden-tablet { display: none; } }
@media (max-width: 767px) { .migrated-content .elementor-hidden-mobile { display: none; } }

@media (max-width: 900px) {
    :root {
        --header-row-height: 60px;
        --mobile-contact-height: calc(64px + env(safe-area-inset-bottom, 0px));
        scroll-padding-bottom: var(--mobile-contact-height);
    }

    body { padding-block-end: var(--mobile-contact-height); }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .header-inner .brand { width: min(100%, clamp(145px, 51vw, 209px)); }
    .header-inner .header-phone { display: none; }
    .has-menu-script .menu-toggle {
        display: inline-flex;
        grid-area: 1 / 2;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding-inline: 13px;
        border: 1px solid var(--gold);
        border-radius: 8px;
        background: transparent;
        color: var(--gold);
        font-weight: 760;
        cursor: pointer;
    }
    .menu-toggle > span { display: inline-flex; align-items: center; gap: 8px; }
    .menu-toggle .menu-toggle-close { flex-direction: row-reverse; }
    .menu-toggle svg { width: 19px; height: 19px; stroke-width: 2; }
    .menu-toggle[aria-expanded="false"] .menu-toggle-close,
    .menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
    .menu-toggle[aria-expanded="true"] { background: var(--gold); color: var(--navy); }
    .main-nav {
        display: grid;
        grid-column: 1 / -1;
        gap: 0;
        align-items: stretch;
        border: 1px solid #ccd7e0;
        border-radius: 10px;
        background: #fff;
        color: var(--navy);
        text-align: start;
        font-size: 17px;
    }
    .has-menu-script .main-nav {
        position: absolute;
        z-index: 1;
        inset: calc(100% + 12px) max(12px, calc((100% - 560px) / 2)) auto;
        display: none;
        max-height: calc(100dvh - var(--header-top) - var(--header-row-height) - var(--mobile-contact-height) - 24px);
        overflow: auto;
        overscroll-behavior: contain;
        box-shadow: 0 5px 18px #0d203435;
    }
    .has-menu-script .menu-toggle[aria-expanded="true"] + .main-nav { display: block; }
    .site-header:has(.menu-toggle[aria-expanded="true"])::after {
        content: '';
        position: absolute;
        inset: 100% 0 auto;
        height: calc(100dvh - var(--header-top) - var(--header-row-height) - var(--mobile-contact-height));
        background: #f2f5f7;
    }
    .main-nav > * + * { border-block-start: 1px solid #d3dde5; }
    .main-nav > a,
    .header-dropdown summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        padding: 7px 16px;
        border-block-end: 0;
    }
    .main-nav > [aria-current="page"] { padding: 7px 16px; border-radius: 0; background: transparent; }
    .header-dropdown[open] summary { background: #d4e6f8; box-shadow: inset -3px 0 var(--gold); }
    .header-panel,
    .header-dropdown-areas .header-panel {
        position: static;
        width: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 16px;
    }
    .header-panel-grid { display: block; }
    .header-panel-grid li { border: 0; }
    .main-nav .header-panel-grid li:nth-child(n + 2) { border-block-start: 1px solid #d3dde5; }
    .header-panel-grid a { min-height: 38px; padding: 5px 16px; font-weight: 620; }
    .header-panel-icon { flex-basis: 25px; height: 25px; }
    .header-panel-icon img { width: 21px; height: 20px; }
    .header-dropdown-areas .header-panel-icon,
    .header-dropdown-areas .header-panel-grid a > svg,
    .header-panel-all svg,
    .header-panel::before,
    .header-panel-grid::after { display: none; }
    .header-mobile-pin { display: inline-flex; }
    .header-panel-all { justify-content: flex-start; min-height: 44px; margin: 0; padding: 6px 16px; text-decoration: underline; text-underline-offset: .17em; }
    .main-nav :is(a, summary):focus-visible { outline-color: #855700; outline-offset: -3px; }

    .mobile-contact {
        position: fixed;
        inset: auto 0 0;
        z-index: 4;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px max(12px, calc((100vw - 560px) / 2)) calc(8px + env(safe-area-inset-bottom, 0px));
        border-block-start: 1px solid #294050;
        background: #071b2b;
    }
    .mobile-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 47px;
        border: 1px solid var(--gold);
        border-radius: 8px;
        color: var(--gold);
        font-size: 16px;
        font-weight: 800;
    }
    .mobile-contact .mobile-contact-phone { background: var(--gold); color: var(--navy); }
    .mobile-contact .mobile-contact-whatsapp { background: #25d366; border-color: #25d366; color: var(--navy); }
    .mobile-contact svg { width: 20px; height: 20px; }
    .mobile-contact a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
}

@media (max-width: 640px) {
    :root { --wrap: calc(100% - 30px); }
    .hero { display: flex; flex-direction: column; border-radius: 13px; }
    .hero-photo { position: relative; width: 100%; aspect-ratio: 1.76; mask-image: linear-gradient(transparent, #000 18%); }
    .hero-photo img { object-position: left center; }
    .hero-inner { justify-content: center; padding-block: 21px 7px; }
    .hero-copy { width: 100%; max-width: 400px; margin: 0; padding-inline: 12px; text-align: center; }
    .hero h1 { font-size: clamp(33px, 8.3vw, 46px); }
    .hero p { margin-block-start: 9px; font-size: 16px; }
    .hero-actions { justify-content: center; margin-block-start: 14px; gap: 10px 12px; }
    .hero .hero-phone { min-height: 38px; font-size: 18px; }
    .hero-services { font-size: 14px; }
    .home-sections { margin-block-start: 18px; }
    .section-title { margin-block-end: 12px; }
    .services .section-title { margin-block-end: 12px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .service-card { min-height: 96px; }
    .service-photo { inset: 5px auto 5px 5px; width: 55%; mask-image: linear-gradient(to right, #000 48%, transparent); }
    .service-label { width: 52%; padding-inline-start: 2px; font-size: 14px; gap: 5px; }
    .service-label svg { width: 18px; height: 18px; }
    .equipment { flex-direction: column; align-items: stretch; margin-block-start: 28px; }
    .equipment-photo { position: relative; width: 100%; aspect-ratio: 2.2; clip-path: none; }
    .equipment-copy { width: 100%; padding: 14px; }
    .equipment-copy h2 { padding-inline-start: 9px; }
}

@media (min-width: 601px) {
    :root:has(body.admin-bar) { --header-top: var(--wp-admin--admin-bar--height, 32px); }
}

@media (min-width: 641px) {
    :root {
        --canvas-width: min(100vw, 1710px);
        --inline-u: calc(var(--canvas-width) / 1024);
        --u: min(var(--inline-u), 1.15234375px);
        --wrap: calc(946 * var(--inline-u));
    }

    .brand { width: clamp(119px, 15vw, 232px); }
    .phone-button { min-width: calc(180 * var(--u)); min-height: calc(34 * var(--u)); padding-block: 0; font-size: calc(19 * var(--u)); border-radius: calc(8 * var(--u)); }

    .hero { border-radius: calc(18 * var(--u)); }
    .hero-photo { width: min(64%, 930px); }
    .hero-photo img { object-position: left 59%; }
    .hero-inner { min-height: min(calc(350 * var(--inline-u)), 458px); padding: calc(36 * var(--u)) calc(31 * var(--u)); }
    .hero h1 { font-size: min(calc(54 * var(--inline-u)), 65px); }
    .hero p { margin-block-start: calc(18 * var(--u)); font-size: clamp(14px, calc(20 * var(--inline-u)), 23px); }
    .hero-actions { margin-block-start: calc(24 * var(--u)); gap: calc(20 * var(--u)); }
    .hero .hero-phone { min-width: calc(203 * var(--u)); min-height: calc(45 * var(--u)); border-radius: calc(10 * var(--u)); font-size: calc(22 * var(--u)); }
    .hero-services { font-size: clamp(13px, calc(17 * var(--u)), 20px); }

}

@media (max-width: 1023px) {
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; width: 100%; padding: 0; }
    .footer-brand { padding: 0 0 17px; border: 0; border-block-end: 1px solid #42647a; }
}

@media (max-width: 640px) {
    .footer-brand { text-align: center; }
    .footer-contact { justify-items: center; }
    .footer-hours { margin-inline: auto; }
}

@media (min-width: 1024px) {
    .footer-wrap { width: 100%; padding-inline: calc((100% - var(--wrap)) / 2) 16px; }
}

@media (min-width: 901px) {
    .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(10px, 1.1vw, 18px); }
    .header-inner .brand { width: clamp(139px, 16vw, 230px); max-width: 100%; }
    .header-inner .header-phone { justify-self: end; min-width: 0; padding-inline: .9em; }
    .main-nav { display: flex; justify-content: center; gap: clamp(10px, 1.55vw, 24px); font-size: clamp(13px, 1.4vw, 18.5px); }
    .header-dropdown:not(.header-dropdown-areas) .header-panel { width: 485px; }
}

.content-diagram {
    margin: 28px 0;
    padding: clamp(16px, 2.5vw, 28px);
    border: 1px solid #d5e2ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fafc, #eaf2f7);
    color: #0d2034;
}

.content-diagram figcaption {
    margin-block-end: 14px;
    padding-inline-start: 11px;
    border-inline-start: 4px solid #ffb000;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 850;
    line-height: 1.25;
}

.content-diagram .content-diagram-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.content-diagram-points > div {
    padding: 10px 12px;
    border: 1px solid #dbe5ed;
    border-radius: 10px;
    background: #fff;
}

.content-diagram-points dt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.content-diagram-points dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.content-diagram-truck {
    position: relative;
    width: min(100%, 540px);
    margin: 0 auto 14px;
}

.content-diagram-truck img {
    display: block;
    width: 100%;
    height: auto;
}

.content-diagram-pin,
.content-diagram-points dt span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffb000;
    color: #0d2034;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
}

.content-diagram-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px #fff;
}

.content-diagram-pin--hose { left: 4%; top: 64%; }
.content-diagram-pin--tank { left: 49%; top: 31%; }
.content-diagram-pin--reel { left: 80%; top: 34%; }

.content-diagram--truck .content-diagram-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 600px) {
    .content-diagram .content-diagram-points { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .content-diagram-points > div { padding-block: 8px; }
    .content-diagram-pin { width: 20px; height: 20px; font-size: 12px; }
}
