:root{--navy:#06243d;--navy-2:#0a314f;--cyan:#00a5b8;--cyan-2:#13c0d1;--ink:#082640;--muted:#5f7387;--line:#dfe8ef;--soft:#f5f8fa;--white:#fff;--radius:14px;--shadow:0 18px 45px rgba(4,35,59,.08);--container:min(1180px,calc(100% - 48px))}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{width:var(--container);margin-inline:auto}.narrow{max-width:850px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:9999;padding:12px 16px;background:#fff;color:#000;border-radius:8px}.skip-link:focus{top:16px}.eyebrow{text-transform:uppercase;letter-spacing:.28em;font-size:.72rem;font-weight:800;color:#668197;margin-bottom:5px}.eyebrow-light{color:#c8e7ed}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border:1px solid var(--cyan);border-radius:7px;background:linear-gradient(135deg,var(--cyan),#09b8c7);color:#fff;font-weight:750;box-shadow:0 12px 30px rgba(0,165,184,.18);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,165,184,.26)}.button-small{min-height:44px;padding:0 18px;font-size:.9rem}.button-ghost{border-color:rgba(255,255,255,.55);background:rgba(2,30,50,.18);backdrop-filter:blur(8px);box-shadow:none}.button-outline-light{background:transparent;border-color:rgba(255,255,255,.65);box-shadow:none}.text-link{display:inline-flex;align-items:center;gap:9px;color:#078ea0;font-weight:750}.text-link span{transition:transform .2s ease}.text-link:hover span{transform:translateX(4px)}.circle-link{width:34px;height:34px;border-radius:50%;display:inline-grid;place-items:center;background:#edf5f8;color:#077e91;font-weight:800}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(6,36,61,.06);transition:box-shadow .2s ease}.site-header.is-scrolled{box-shadow:0 10px 32px rgba(4,35,59,.1)}.header-inner{height:76px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:36px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img,.custom-logo{width:auto;height:48px;object-fit:contain}.primary-nav{justify-self:center}.menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:30px}.menu a{font-size:.92rem;font-weight:700;color:#183a54;transition:color .2s ease}.menu a:hover,.menu .current-menu-item>a{color:var(--cyan)}.header-contact{display:flex;align-items:center;gap:20px}.header-phone{display:flex;align-items:center;gap:10px;white-space:nowrap}.header-phone .phone-icon{color:var(--cyan);font-size:1.2rem}.header-phone span:last-child{display:grid}.header-phone strong{font-size:1.04rem}.header-phone small{font-size:.7rem;color:#718497;text-align:right}.menu-toggle{display:none;width:44px;height:44px;border:0;background:transparent;padding:9px}.menu-toggle span:not(.screen-reader-text){display:block;height:2px;background:var(--ink);margin:5px 0;border-radius:10px}.site-footer{background:#fff;border-top:1px solid var(--line)}.footer-main{min-height:100px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:30px}.footer-nav .menu{justify-content:center}.footer-legal{display:grid;justify-items:end;gap:4px;color:#728599;font-size:.75rem}.footer-legal a{text-decoration:underline;text-underline-offset:3px}.to-top{position:fixed;right:24px;bottom:24px;z-index:80;width:44px;height:44px;border:0;border-radius:50%;background:#eaf3f7;color:#0a5e72;font-weight:900;opacity:0;pointer-events:none;transform:translateY(12px);transition:.2s ease}.to-top.is-visible{opacity:1;pointer-events:auto;transform:none}.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}.reveal.is-visible{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}@media(max-width:1040px){.header-contact .button{display:none}.header-inner{gap:20px}.menu{gap:21px}}@media(max-width:820px){:root{--container:min(1180px,calc(100% - 30px))}.header-inner{height:68px;grid-template-columns:auto auto}.brand img,.custom-logo{height:42px}.menu-toggle{display:block;justify-self:end}.primary-nav{position:fixed;left:0;right:0;top:68px;background:#fff;border-top:1px solid var(--line);padding:16px 20px 24px;box-shadow:0 20px 30px rgba(5,35,56,.12);transform:translateY(-130%);opacity:0;pointer-events:none;transition:.25s ease}.primary-nav.is-open{transform:none;opacity:1;pointer-events:auto}.primary-nav .menu{display:grid;gap:0}.primary-nav .menu a{display:block;padding:13px 4px;border-bottom:1px solid #edf2f5}.header-contact{display:none}.footer-main{padding:28px 0;grid-template-columns:1fr;justify-items:start}.footer-nav .menu{flex-wrap:wrap;justify-content:flex-start;gap:15px 22px}.footer-legal{justify-items:start}.to-top{right:15px;bottom:15px}}@media(max-width:520px){body{font-size:15px}.brand img,.custom-logo{height:38px}.button{width:100%}}

/* v0.1.1: WordPress admin bar + focus/sticky fixes */
body.admin-bar .site-header{top:32px}
body.admin-bar .primary-nav{--automash-admin-offset:32px}
.skip-link{transform:translateY(-140px);top:0}
.skip-link:focus,.skip-link:focus-visible{transform:translateY(16px);top:0}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:820px){
  body.admin-bar .primary-nav{top:114px}
  body:not(.admin-bar) .primary-nav{top:68px}
}

/* v0.1.5 — stronger brand presence in the header */
@media(min-width:821px){
  .header-inner{height:88px;gap:32px}
  .site-header .brand img,.site-header .custom-logo{height:60px;width:auto}
  .primary-nav .menu{gap:28px}
}
@media(max-width:1040px) and (min-width:821px){
  .header-inner{height:82px;gap:22px}
  .site-header .brand img,.site-header .custom-logo{height:54px}
}
@media(max-width:820px){
  .header-inner{height:72px}
  .site-header .brand img,.site-header .custom-logo{height:46px}
  body:not(.admin-bar) .primary-nav{top:72px}
  body.admin-bar .primary-nav{top:118px}
}
@media(max-width:520px){
  .site-header .brand img,.site-header .custom-logo{height:42px}
}


/* v0.1.6 — viewport integrity */
html,body{max-width:100%;overflow-x:clip}
.container{max-width:100%}
@media(max-width:820px){
  :root{--container:min(1180px,calc(100% - 30px))}
}

/* v0.1.7 — larger brand + expanded corporate footer */
@media(min-width:1041px){
  .header-inner{height:96px;gap:34px}
  .site-header .brand img,.site-header .custom-logo{height:68px;width:auto}
}
@media(max-width:1040px) and (min-width:821px){
  .header-inner{height:88px;gap:22px}
  .site-header .brand img,.site-header .custom-logo{height:60px;width:auto}
}
@media(max-width:820px){
  .header-inner{height:76px}
  .site-header .brand img,.site-header .custom-logo{height:50px;width:auto}
  body:not(.admin-bar) .primary-nav{top:76px}
  body.admin-bar .primary-nav{top:122px}
}
@media(max-width:520px){
  .site-header .brand img,.site-header .custom-logo{height:46px}
}

.site-footer--expanded{
  position:relative;
  overflow:hidden;
  border-top:0;
  background:
    radial-gradient(circle at 78% 48%,rgba(0,165,184,.10),transparent 29%),
    linear-gradient(135deg,#072944 0%,#041d32 64%,#062a42 100%);
  color:#fff;
}
.site-footer--expanded::before{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,transparent,rgba(26,202,217,.28) 22%,rgba(63,225,234,.88) 52%,rgba(26,202,217,.25) 78%,transparent);
}
.footer-route-network{position:absolute;right:-24px;bottom:44px;width:min(68vw,1000px);height:auto;opacity:.34;pointer-events:none}
.footer-route-lines path{fill:none;stroke:url(#automash-footer-cyan);stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.footer-route-lines path:nth-child(2){opacity:.72;stroke-width:1.05}.footer-route-lines path:nth-child(3){opacity:.5;stroke-dasharray:5 9}.footer-route-lines path:nth-child(4){opacity:.35;stroke-width:.8}
.footer-route-nodes circle{fill:#18c7d7;stroke:#89f0f4;stroke-width:1.1;vector-effect:non-scaling-stroke}
.footer-expanded-main{position:relative;z-index:2;display:grid;grid-template-columns:minmax(280px,.95fr) minmax(150px,.42fr) minmax(500px,1.55fr);gap:clamp(30px,3.5vw,56px);padding:56px 0 48px}
.footer-about{max-width:420px}
.footer-brand{display:inline-block;margin-bottom:20px}
.footer-brand img{width:min(370px,100%);height:auto}
.footer-description{max-width:405px;margin:0 0 20px;color:rgba(255,255,255,.70);font-size:.92rem;line-height:1.64}
.footer-contact-list{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-top:18px;border-top:1px solid rgba(255,255,255,.13)}
.footer-phone{font-size:1.16rem;font-weight:800;color:#fff}.footer-contact-list>span{color:rgba(255,255,255,.62);font-size:.84rem}
.footer-cta{display:inline-flex;align-items:center;gap:9px;margin-top:7px;padding-bottom:4px;border-bottom:1px solid rgba(51,218,229,.52);color:#62e3eb;font-size:.91rem;font-weight:750}.footer-cta span{transition:transform .2s ease}.footer-cta:hover span{transform:translateX(4px)}
.footer-title{margin:2px 0 18px;color:#65e2eb;font-size:.78rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.footer-expanded-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}.footer-expanded-nav a{display:inline-flex;gap:7px;align-items:center;color:rgba(255,255,255,.82);font-size:.91rem;transition:.2s ease}.footer-expanded-nav a::after{content:"→";color:rgba(75,222,231,.72);font-size:.9em;transition:transform .2s ease}.footer-expanded-nav a:hover{color:#fff}.footer-expanded-nav a:hover::after{transform:translateX(4px)}
.footer-unused{min-width:0}.footer-unused-heading{display:flex;align-items:center;gap:16px;margin-bottom:9px}.footer-unused-heading .footer-title{margin:0;flex:0 0 auto}.footer-unused-heading>span{height:1px;width:100%;background:linear-gradient(90deg,rgba(77,224,233,.58),rgba(77,224,233,.10) 70%,transparent)}
.footer-unused-lead{margin:0 0 18px;color:rgba(255,255,255,.61);font-size:.84rem}
.footer-unused-companies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.footer-unused-card{display:flex;align-items:center;justify-content:center;min-height:124px;padding:18px 20px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.035);transition:transform .2s ease,border-color .2s ease,background .2s ease;min-width:0}
a.footer-unused-card:hover{transform:translateY(-3px);border-color:rgba(70,224,234,.34);background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.026))}
.footer-unused-card img{display:block;width:auto;height:62px;max-width:92%;object-fit:contain;object-position:center}
.footer-unused-card--bjs img{height:70px}.footer-unused-card--hermes img{height:58px}.footer-unused-card--respect img{height:58px}
.footer-expanded-bottom{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.52);font-size:.77rem}.footer-expanded-bottom p{margin:0}.footer-expanded-bottom a{color:rgba(255,255,255,.62);text-decoration:underline;text-decoration-color:rgba(255,255,255,.24);text-underline-offset:3px}.footer-expanded-bottom a:hover{color:#fff}

@media(max-width:1100px){
  .footer-expanded-main{grid-template-columns:1fr .48fr;gap:36px 46px}
  .footer-unused{grid-column:1/-1}
  .footer-unused-companies{grid-template-columns:repeat(4,minmax(0,1fr))}
  .footer-unused-card{min-height:118px;padding:16px 14px}
  .footer-unused-card img{height:54px;max-width:94%}.footer-unused-card--bjs img{height:62px}
}
@media(max-width:820px){
  .footer-route-network{right:-260px;bottom:62px;width:820px;opacity:.22}
  .footer-expanded-main{grid-template-columns:1fr;gap:34px;padding:44px 0 34px}
  .footer-about{max-width:100%}.footer-brand img{width:min(340px,88vw)}
  .footer-unused{grid-column:auto}.footer-unused-companies{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .footer-unused-card{min-height:118px}
  .footer-expanded-bottom{align-items:flex-start;flex-direction:column;justify-content:center;gap:7px;padding:17px 0;min-height:0}
}
@media(max-width:520px){
  .footer-brand img{width:min(320px,92vw)}
  .footer-expanded-nav ul{grid-template-columns:1fr 1fr;column-gap:18px}
  .footer-unused-companies{grid-template-columns:1fr}
  .footer-unused-card{min-height:124px;padding:22px 18px}
  .footer-unused-card img{height:62px;max-width:92%}.footer-unused-card--bjs img{height:72px}.footer-unused-card--hermes img,.footer-unused-card--respect img{height:60px}
}


/* v0.1.8 — stronger separation between quote section and footer */
@media(min-width:1041px){
  .header-inner{height:104px}
  .site-header .brand img,.site-header .custom-logo{height:76px}
}
@media(max-width:1040px) and (min-width:821px){
  .header-inner{height:94px}
  .site-header .brand img,.site-header .custom-logo{height:66px}
}
@media(max-width:820px){
  .header-inner{height:78px}
  .site-header .brand img,.site-header .custom-logo{height:52px}
  body:not(.admin-bar) .primary-nav{top:78px}
  body.admin-bar .primary-nav{top:124px}
}
@media(max-width:520px){
  .site-header .brand img,.site-header .custom-logo{height:48px}
}

.site-footer--expanded{
  border-top:0;
  background:
    radial-gradient(circle at 84% 44%,rgba(0,157,181,.075),transparent 31%),
    linear-gradient(145deg,#021521 0%,#041a29 54%,#03131e 100%);
  box-shadow:inset 0 18px 44px rgba(0,0,0,.14);
}
.site-footer--expanded::before{
  height:3px;
  background:linear-gradient(90deg,transparent 0%,rgba(16,190,207,.18) 13%,#18c7d7 50%,rgba(16,190,207,.18) 87%,transparent 100%);
  box-shadow:0 -1px 18px rgba(24,199,215,.16);
}
.footer-route-network{opacity:.24}
.footer-expanded-main{padding-top:64px}
.footer-about{max-width:450px}
.footer-brand{margin-bottom:22px}
.footer-brand img{width:min(420px,100%)}
.footer-description{color:rgba(255,255,255,.67)}
.footer-unused-card{
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  border-color:rgba(129,203,217,.13);
}
a.footer-unused-card:hover{
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  border-color:rgba(70,224,234,.30);
}

@media(max-width:820px){
  .footer-brand img{width:min(370px,92vw)}
  .footer-expanded-main{padding-top:50px}
}
@media(max-width:520px){
  .footer-brand img{width:min(345px,94vw)}
}



/* v0.1.10 — clean Hermes logo: transparent background and normalized visual size */
.footer-unused-card--hermes img{height:58px;max-width:90%;width:auto;object-fit:contain}
@media(max-width:1100px){.footer-unused-card--hermes img{height:54px;max-width:90%}}
@media(max-width:520px){.footer-unused-card--hermes img{height:56px;max-width:92%}}


/* v0.1.12 — mobile company logo normalization */
@media(max-width:520px){
  .footer-unused-card{
    min-height:132px;
    padding:22px 20px;
  }
  .footer-unused-card img,
  .footer-unused-card--tarban img,
  .footer-unused-card--hermes img,
  .footer-unused-card--respect img,
  .footer-unused-card--bjs img{
    display:block;
    width:72%;
    height:auto;
    max-width:360px;
    max-height:78px;
    margin:auto;
    object-fit:contain;
    object-position:center;
  }
  .footer-unused-card--hermes img{width:74%;max-width:370px}
  .footer-unused-card--bjs img{width:72%;max-width:360px}
}

/* v1.0.5 — mobile navigation: full-width panel instead of a centered desktop-sized column */
@media(max-width:820px){
  body.menu-open{overflow:hidden}
  body.menu-open::before{
    content:"";
    position:fixed;
    z-index:90;
    inset:78px 0 0;
    background:rgba(3,24,40,.42);
    backdrop-filter:blur(2px);
  }
  body.admin-bar.menu-open::before{top:110px}

  .site-header{z-index:110}
  .header-inner{position:relative;z-index:112}
  .menu-toggle{
    position:relative;
    z-index:114;
    display:block;
    justify-self:end;
  }
  .menu-toggle span:not(.screen-reader-text){
    transition:transform .22s ease,opacity .18s ease;
    transform-origin:center;
  }
  .menu-toggle[aria-expanded="true"] span:not(.screen-reader-text):nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:not(.screen-reader-text):nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:not(.screen-reader-text):nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .primary-nav{
    position:fixed;
    z-index:113;
    top:78px;
    left:0;
    right:0;
    width:100%;
    max-width:none;
    margin:0;
    padding:12px 0 18px;
    justify-self:stretch;
    border-top:1px solid var(--line);
    border-bottom:1px solid rgba(6,36,61,.08);
    background:#fff;
    box-shadow:0 20px 34px rgba(5,35,56,.16);
    transform:translateY(-16px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s;
  }
  .primary-nav.is-open{
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s;
  }
  .primary-nav .menu{
    width:var(--container);
    max-width:100%;
    margin:0 auto;
    display:grid;
    gap:0;
  }
  .primary-nav .menu li{margin:0}
  .primary-nav .menu a{
    display:flex;
    align-items:center;
    min-height:56px;
    padding:0 10px;
    border-bottom:1px solid #edf2f5;
    font-size:1.03rem;
    font-weight:750;
  }
  .primary-nav .menu li:last-child>a{border-bottom:0}
  .primary-nav .menu .current-menu-item>a{
    color:var(--cyan);
    box-shadow:inset 3px 0 0 var(--cyan);
    padding-left:16px;
  }
}
@media(max-width:782px){
  body.admin-bar .primary-nav{top:124px}
  body.admin-bar.menu-open::before{top:124px}
}
@media(min-width:783px) and (max-width:820px){
  body.admin-bar .primary-nav{top:110px}
}

/* Автомаш v0.2.0 — фирменная система */
:root{
  --navy:#071b2d;--navy-2:#0b2a42;--cyan:#e5262b;--cyan-2:#ff383d;
  --ink:#0b1d30;--muted:#657587;--line:#e4e9ee;--soft:#f5f7f9;--white:#fff;
  --radius:12px;--shadow:0 18px 44px rgba(7,27,45,.10);--container:min(1240px,calc(100% - 48px));
}
body{color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.eyebrow{color:#e5262b}.eyebrow-light{color:#ffb5b7}
.button{border-color:#e5262b;background:linear-gradient(135deg,#e5262b,#ff3035);box-shadow:0 12px 30px rgba(229,38,43,.20);border-radius:5px}
.button:hover{box-shadow:0 16px 34px rgba(229,38,43,.28)}
.text-link{color:#e5262b}.circle-link{background:#f6f0f0;color:#d91d23}
.menu a:hover,.menu .current-menu-item>a{color:#e5262b}
.header-phone .phone-icon{color:#e5262b;width:22px;height:22px}.header-phone .phone-icon svg{width:100%;height:100%}
.site-header{border-bottom:1px solid rgba(9,28,46,.08)}
.header-inner{height:86px;grid-template-columns:auto 1fr auto;gap:28px}
.site-header .brand img,.site-header .custom-logo{height:60px;width:auto;max-width:275px}
.primary-nav .menu{gap:26px}.primary-nav .menu a{font-size:.9rem}
.header-contact{gap:16px}.header-phone strong{font-size:.98rem}.header-phone small{font-size:.72rem;color:#798899}
.button-small{min-height:44px;padding:0 16px}
.to-top{background:#f6ecec;color:#cf1d23}

.site-footer--automash{background:#071b2d;color:#fff;border-top:0;position:relative;overflow:hidden}
.site-footer--automash::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 12%,rgba(229,38,43,.13),transparent 30%),linear-gradient(135deg,rgba(255,255,255,.018),transparent 42%)}
.footer-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:56px;padding:54px 0 44px}
.footer-brand-block{max-width:430px}.footer-brand{display:inline-block}.footer-brand img{width:min(360px,100%);height:auto;filter:brightness(0) invert(1)}
.footer-brand-block p{max-width:380px;margin:18px 0 0;color:rgba(255,255,255,.68);line-height:1.65}
.footer-nav-block h2,.footer-contact-block h2{margin:2px 0 18px;color:#ff6569;font-size:.78rem;text-transform:uppercase;letter-spacing:.18em}
.footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:11px}.footer-menu a{color:rgba(255,255,255,.78);font-size:.93rem}.footer-menu a:hover{color:#fff}
.footer-contact-block{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.footer-contact-block>a{color:#fff;font-weight:700}.footer-contact-block>span{color:rgba(255,255,255,.66);line-height:1.45}.footer-cta{margin-top:8px;color:#ff666b;border-bottom:1px solid rgba(255,102,107,.45);padding-bottom:4px}
.footer-bottom{position:relative;z-index:1;display:flex;justify-content:space-between;gap:24px;padding:18px 0 24px;border-top:1px solid rgba(255,255,255,.11);font-size:.78rem;color:rgba(255,255,255,.52)}
.footer-bottom p{margin:0}.footer-bottom div{display:flex;gap:10px;flex-wrap:wrap}.footer-bottom a{color:rgba(255,255,255,.68)}.footer-bottom a:hover{color:#fff}

@media(max-width:1080px){
  .header-inner{gap:18px}.primary-nav .menu{gap:18px}.site-header .brand img,.site-header .custom-logo{height:54px;max-width:245px}.header-contact .header-phone small{display:none}
  .footer-grid{grid-template-columns:1.1fr .7fr 1fr;gap:34px}
}
@media(max-width:820px){
  :root{--container:min(1240px,calc(100% - 30px))}
  .header-inner{height:76px;grid-template-columns:auto auto}.site-header .brand img,.site-header .custom-logo{height:46px;max-width:210px}
  body:not(.admin-bar) .primary-nav{top:76px}.primary-nav .menu .current-menu-item>a{color:#e5262b;box-shadow:inset 3px 0 0 #e5262b}
  .footer-grid{grid-template-columns:1fr;gap:32px;padding:42px 0 34px}.footer-brand-block{max-width:none}.footer-nav-block .footer-menu{grid-template-columns:1fr 1fr;gap:12px 18px}.footer-bottom{flex-direction:column;gap:8px}
}
@media(max-width:520px){
  .site-header .brand img,.site-header .custom-logo{height:42px;max-width:188px}.footer-brand img{width:min(320px,92vw)}
}
/* v0.2.0 — футер на белом фоне, чтобы утверждённый логотип использовался без перекраски */
.site-footer--automash{background:#fff;color:#0b1d30;border-top:1px solid #e4e9ee}
.site-footer--automash::before{display:none}
.footer-brand img{filter:none}
.footer-brand-block p{color:#667687}
.footer-nav-block h2,.footer-contact-block h2{color:#e5262b}
.footer-menu a{color:#425466}.footer-menu a:hover{color:#0b1d30}
.footer-contact-block>a{color:#0b1d30}.footer-contact-block>span{color:#667687}.footer-cta{color:#e5262b;border-bottom-color:rgba(229,38,43,.35)}
.footer-bottom{border-top:1px solid #e4e9ee;color:#7a8896}.footer-bottom a{color:#667687}.footer-bottom a:hover{color:#0b1d30}

/* Автомаш v0.2.2 — аккуратная двухуровневая шапка по утверждённому макету */
@media(min-width:821px){
  .site-header{background:#fff}
  .header-shell{
    min-height:112px;
    display:grid;
    grid-template-columns:minmax(220px,300px) minmax(0,1fr);
    align-items:stretch;
    column-gap:38px;
  }
  .header-brand{
    display:flex;
    align-items:center;
    min-width:0;
  }
  .header-brand .brand{display:flex;align-items:center;width:100%}
  .header-brand .brand img,
  .header-brand .custom-logo{
    display:block;
    width:auto;
    height:auto;
    max-width:285px;
    max-height:72px;
    object-fit:contain;
  }
  .header-content{
    min-width:0;
    display:grid;
    grid-template-rows:58px 54px;
    align-items:stretch;
  }
  .header-topline{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:22px;
    border-bottom:1px solid #edf0f3;
  }
  .header-meta{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:24px;
    color:#263b4f;
    font-size:.78rem;
    line-height:1.2;
    white-space:nowrap;
  }
  .header-meta-item{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-width:0;
  }
  .header-meta-item strong{font-size:.82rem;color:#13283a}
  .header-meta-icon{
    width:16px;
    height:16px;
    flex:0 0 16px;
    color:#e5262b;
  }
  .header-meta-icon svg{display:block;width:100%;height:100%}
  .header-address{max-width:260px;overflow:hidden;text-overflow:ellipsis}
  .header-cta{
    min-height:40px;
    padding:0 17px;
    flex:0 0 auto;
    font-size:.78rem;
    box-shadow:none;
  }
  .header-content>.primary-nav{
    position:static;
    width:auto;
    margin:0;
    padding:0;
    border:0;
    box-shadow:none;
    background:transparent;
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    justify-self:stretch;
    align-self:stretch;
    display:flex;
    align-items:center;
  }
  .header-content>.primary-nav .menu{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:34px;
    margin:0;
  }
  .header-content>.primary-nav .menu a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:54px;
    padding:0;
    color:#102438;
    font-size:.86rem;
    font-weight:750;
  }
  .header-content>.primary-nav .menu a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    border-radius:2px;
    background:#e5262b;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .18s ease;
  }
  .header-content>.primary-nav .menu a:hover,
  .header-content>.primary-nav .menu .current-menu-item>a{color:#102438}
  .header-content>.primary-nav .menu a:hover::after,
  .header-content>.primary-nav .menu .current-menu-item>a::after{transform:scaleX(1)}
  .menu-toggle{display:none}
}

@media(min-width:821px) and (max-width:1120px){
  .header-shell{grid-template-columns:minmax(200px,250px) minmax(0,1fr);column-gap:24px}
  .header-brand .brand img,.header-brand .custom-logo{max-width:240px;max-height:64px}
  .header-meta{gap:15px;font-size:.72rem}
  .header-address{display:none}
  .header-content>.primary-nav .menu{gap:24px}
  .header-cta{padding:0 14px}
}

@media(max-width:820px){
  .header-shell{
    height:76px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:14px;
  }
  .header-brand{min-width:0;display:flex;align-items:center}
  .header-brand .brand img,.header-brand .custom-logo{height:46px;width:auto;max-width:220px}
  .header-content{display:block}
  .header-topline{display:none}
  .header-content>.primary-nav{top:76px}
}
@media(max-width:520px){
  .header-shell{height:70px}
  .header-brand .brand img,.header-brand .custom-logo{height:42px;max-width:190px}
  body:not(.admin-bar) .header-content>.primary-nav{top:70px}
  body.admin-bar .header-content>.primary-nav{top:116px}
}


/* v0.3.0 — header rebuilt into a cleaner compact composition */
@media (min-width: 821px){
  .site-header{
    background:#fff;
    border-bottom:1px solid #e7ebef;
    box-shadow:none;
  }
  .site-header.is-scrolled{box-shadow:0 10px 26px rgba(7,31,52,.08)}
  .header-shell{
    width:min(1320px, calc(100% - 56px));
    min-height:98px;
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    column-gap:20px;
    align-items:stretch;
  }
  .header-brand{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-width:0;
    padding:8px 0 4px;
  }
  .header-brand .brand{width:auto;display:flex;align-items:center}
  .header-brand .brand img,
  .header-brand .custom-logo{
    width:auto;
    height:auto;
    max-width:310px;
    max-height:58px;
    object-fit:contain;
  }
  .header-content{
    min-width:0;
    display:grid;
    grid-template-rows:42px 46px;
    align-items:stretch;
  }
  .header-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-width:0;
    padding-top:4px;
    border-bottom:1px solid #edf1f4;
  }
  .header-meta{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:18px;
    color:#4b5f72;
    font-size:.75rem;
    line-height:1.15;
    white-space:nowrap;
  }
  .header-meta-item{gap:7px;color:#425668}
  .header-meta-item strong{font-size:.80rem;color:#0f2740}
  .header-meta-icon{width:16px;height:16px;flex:0 0 16px;color:#ef2b31}
  .header-address{max-width:none;overflow:visible;text-overflow:clip}
  .header-cta{
    flex:0 0 auto;
    min-height:38px;
    padding:0 18px;
    border-radius:6px;
    background:#ef2b31;
    border-color:#ef2b31;
    font-size:.77rem;
    font-weight:760;
    box-shadow:none;
  }
  .header-content > .primary-nav{
    position:static;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    width:auto;
    margin:0;
    padding:0;
    border:0;
    box-shadow:none;
    background:transparent;
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .header-content > .primary-nav .menu{
    width:100%;
    height:46px;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    gap:28px;
    margin:0;
    padding:0;
  }
  .header-content > .primary-nav .menu a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:46px;
    padding:0;
    color:#10263d;
    font-size:.88rem;
    font-weight:800;
    letter-spacing:-.01em;
  }
  .header-content > .primary-nav .menu a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:2px;
    border-radius:2px;
    background:#ef2b31;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .18s ease;
  }
  .header-content > .primary-nav .menu a:hover,
  .header-content > .primary-nav .menu .current-menu-item > a,
  .header-content > .primary-nav .menu .current_page_item > a{color:#0b2137}
  .header-content > .primary-nav .menu a:hover::after,
  .header-content > .primary-nav .menu .current-menu-item > a::after,
  .header-content > .primary-nav .menu .current_page_item > a::after{transform:scaleX(1)}
}
@media (min-width: 821px) and (max-width: 1180px){
  .header-shell{width:min(1180px, calc(100% - 38px)); grid-template-columns:236px minmax(0,1fr); column-gap:18px}
  .header-brand .brand img,.header-brand .custom-logo{max-width:236px;max-height:54px}
  .header-meta{gap:12px;font-size:.71rem}
  .header-content>.primary-nav .menu{gap:22px}
  .header-content>.primary-nav .menu a{font-size:.84rem}
}
@media (min-width: 821px) and (max-width: 980px){
  .header-address{display:none}
  .header-shell{grid-template-columns:220px minmax(0,1fr)}
  .header-brand .brand img,.header-brand .custom-logo{max-width:220px;max-height:50px}
  .header-cta{padding:0 14px;font-size:.73rem}
  .header-content>.primary-nav .menu{gap:18px}
}


/* v0.3.1 — header: remove always-on highlight on Home, integrate CTA with nav */
@media (min-width:821px){
  .header-shell{
    width:min(1320px, calc(100% - 48px));
    min-height:96px;
    grid-template-columns:260px minmax(0,1fr);
    column-gap:22px;
  }
  .header-brand{padding:6px 0 4px}
  .header-brand .brand img,
  .header-brand .custom-logo{max-width:285px;max-height:54px}
  .header-content{grid-template-rows:36px 52px}
  .header-topline{
    justify-content:flex-end;
    gap:0;
    padding-top:4px;
    border-bottom:1px solid #edf1f4;
  }
  .header-meta{
    justify-content:flex-end;
    gap:20px;
    font-size:.75rem;
  }
  .header-navline{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:26px;
    min-width:0;
  }
  .header-content>.primary-nav,
  .header-navline>.primary-nav{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
  }
  .header-content>.primary-nav .menu,
  .header-navline>.primary-nav .menu{
    width:auto;
    flex-wrap:wrap;
    height:52px;
    gap:30px;
    align-items:flex-end;
  }
  .header-content>.primary-nav .menu a,
  .header-navline>.primary-nav .menu a{
    min-height:52px;
    font-size:.88rem;
    font-weight:780;
  }
  .header-content>.primary-nav .menu a::after,
  .header-navline>.primary-nav .menu a::after{
    bottom:0;
  }
  /* only hover underline; no persistent active underline */
  .header-content>.primary-nav .menu .current-menu-item>a,
  .header-content>.primary-nav .menu .current_page_item>a,
  .header-navline>.primary-nav .menu .current-menu-item>a,
  .header-navline>.primary-nav .menu .current_page_item>a{
    color:#102438;
  }
  .header-content>.primary-nav .menu .current-menu-item>a::after,
  .header-content>.primary-nav .menu .current_page_item>a::after,
  .header-navline>.primary-nav .menu .current-menu-item>a::after,
  .header-navline>.primary-nav .menu .current_page_item>a::after{
    transform:scaleX(0) !important;
  }
  .header-cta--nav{
    flex:0 0 auto;
    min-height:46px;
    padding:0 22px;
    border-radius:8px;
    font-size:.82rem;
    font-weight:780;
    align-self:center;
    margin-bottom:2px;
  }
}
@media (min-width:821px) and (max-width:1180px){
  .header-shell{width:min(1180px, calc(100% - 36px)); grid-template-columns:224px minmax(0,1fr); column-gap:18px}
  .header-brand .brand img,.header-brand .custom-logo{max-width:232px;max-height:50px}
  .header-meta{gap:14px;font-size:.72rem}
  .header-navline>.primary-nav .menu{gap:22px}
  .header-cta--nav{padding:0 16px;font-size:.76rem}
}
@media (min-width:821px) and (max-width:980px){
  .header-address{display:none}
  .header-navline{gap:18px}
  .header-navline>.primary-nav .menu{gap:16px}
}
@media (max-width:820px){
  .header-navline{display:block}
  .header-cta--nav{display:none}
}


/* v0.3.2 — hover works for current menu item (including «Главная») */
@media (min-width:821px){
  .header-navline>.primary-nav .menu .current-menu-item>a:hover::after,
  .header-navline>.primary-nav .menu .current_page_item>a:hover::after,
  .header-content>.primary-nav .menu .current-menu-item>a:hover::after,
  .header-content>.primary-nav .menu .current_page_item>a:hover::after{
    transform:scaleX(1) !important;
  }
}

/* v0.4.2 — единый фирменный красный для названий рубрик/секций */
.eyebrow,
.eyebrow-light{color:#e5262b}
