/* Shared additions for the home page and the five brand landing pages. */
:root{--surface:#0d131b;--line:#232c38;--text:#f7f9fc}
a{color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}
[hidden]{display:none!important}
section[id],#booking{scroll-margin-top:28px}
.header-inner{gap:28px}.header-phone{font-size:15px;white-space:nowrap;text-decoration:none}
.navigation{gap:clamp(20px,2.4vw,36px)}
.hero{height:850px;min-height:760px;max-height:none}
.hero-copy{max-width:780px;padding-bottom:50px}
.hero h1{font-size:clamp(40px,4.2vw,62px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.hero h1 strong{margin:8px 0}
.description{max-width:510px;margin:26px 0 30px;font-size:18px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.button{gap:24px;border:1px solid transparent;line-height:1.3}
.button-outline{background:rgba(7,11,15,.3);border-color:#546176}
.button-outline:hover{background:#172337;border-color:#759aff}
.hero-foot{align-items:center;gap:24px;letter-spacing:0;font-size:13px;font-weight:400;border-top:1px solid var(--line);padding-top:24px}
.hero-foot a{text-decoration:none}.hero-foot a:hover{color:white}
.section{padding:104px 0;border-top:1px solid var(--line)}
.section-heading{margin-bottom:42px}
h2{font-family:Anton,Arial,sans-serif;font-size:clamp(30px,3.2vw,46px);font-weight:400;line-height:1.17;letter-spacing:-.035em;margin:0;text-wrap:balance}
.section-heading>p{font-size:17px;line-height:1.7;color:var(--muted);max-width:640px;margin:18px 0 0}
h3{font-size:21px;font-weight:500;line-height:1.35;letter-spacing:-.02em;margin:0}
.brand-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}
.brand-card{position:relative;display:flex;min-height:218px;flex-direction:column;align-items:center;justify-content:center;gap:28px;border:1px solid var(--line);border-radius:4px;background:var(--surface);text-decoration:none;font-size:15px;transition:border-color .2s,background .2s}
.brand-card:hover{border-color:var(--blue);background:#101d31}
.brand-card img{height:72px;width:90px;object-fit:contain;opacity:.9}
.brand-card[href$="audi.html"] img{width:110px}
@media(max-width:1023px) and (min-width:701px){.brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.service-row p.service-price{color:#fff;font-weight:700}
.services-section{background:var(--surface)}
.services-layout{display:grid;grid-template-columns:1fr 1.65fr;gap:80px}
.services-layout .section-heading{margin:0}.services-layout .section-heading p{max-width:270px}
.text-link{display:inline-flex;gap:26px;margin-top:30px;text-decoration:none;color:#80a8ff;font-size:15px;line-height:1.5}
.text-link:hover{text-decoration:underline}
.service-row{padding:26px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:20px}
.service-icon{display:block;width:72px;height:72px;object-fit:contain}
.service-row:first-child{padding-top:0}.service-row:last-child{padding-bottom:0;border-bottom:0}
.row-number{color:#6e97f6;font-size:13px;padding-top:5px;font-variant-numeric:tabular-nums}
.service-row p,.process-grid p{color:var(--muted);font-size:15px;line-height:1.7;margin:12px 0 0}
.process-grid{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px}
.gallery-heading>p{margin:0;max-width:360px}
.service-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:clamp(44px,6.1vw,86px);gap:clamp(12px,1.4vw,20px)}
.gallery-photo{position:relative;display:block;min-width:0;min-height:0;border-radius:4px;overflow:hidden;background:var(--surface);isolation:isolate;outline-offset:5px}
.gallery-photo:nth-child(1){grid-column:1/4;grid-row:2/6}
.gallery-photo:nth-child(2){grid-column:4/10;grid-row:1/5}
.gallery-photo:nth-child(3){grid-column:10/13;grid-row:2/6}
.gallery-photo:nth-child(4){grid-column:1/7;grid-row:6/10}
.gallery-photo:nth-child(5){grid-column:7/10;grid-row:5/9}
.gallery-photo:nth-child(6){grid-column:10/13;grid-row:6/10}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gallery-zoom{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff70;border-radius:50%;background:#070b0fb3;color:white;font-size:26px;font-weight:400;line-height:1;transition:background .2s,border-color .2s}
.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:scale(1.035)}
.gallery-photo:hover .gallery-zoom,.gallery-photo:focus-visible .gallery-zoom{background:var(--blue);border-color:var(--blue)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body.gallery-open{overflow:hidden}
.gallery-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:24px;border:0;background:#070b0ff5;color:var(--text);overscroll-behavior:contain}
.gallery-viewer:not([open]){display:none}
.gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px}
.gallery-viewer::backdrop{background:#070b0f}
.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px}
.gallery-counter{font-size:14px;color:#c1c7d0;font-variant-numeric:tabular-nums}
.gallery-control{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:0;border:1px solid #536074;border-radius:50%;background:#121c2c;color:white;transition:background .2s,border-color .2s}
.gallery-control:hover{background:var(--blue);border-color:var(--blue)}
.gallery-close{font-size:32px;line-height:1}
.gallery-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;grid-template-rows:minmax(0,1fr);align-items:center;gap:24px;min-height:0}
.gallery-full-image{display:block;justify-self:center;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;touch-action:pan-y pinch-zoom;user-select:none}
.gallery-caption{margin:0;text-align:center;color:#c1c7d0;font-size:14px;line-height:1.6;min-height:1.6em}
@media(max-width:700px){
  .gallery-heading{display:block}.gallery-heading>p{margin-top:16px}
  .service-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(27px,7vw,48px);gap:12px}
  .gallery-photo:nth-child(1){grid-column:1;grid-row:1/6}
  .gallery-photo:nth-child(2){grid-column:2;grid-row:2/5}
  .gallery-photo:nth-child(3){grid-column:2;grid-row:5/10}
  .gallery-photo:nth-child(4){grid-column:1;grid-row:6/9}
  .gallery-photo:nth-child(5){grid-column:1;grid-row:9/14}
  .gallery-photo:nth-child(6){grid-column:2;grid-row:10/15}
  .gallery-zoom{width:32px;height:32px;right:10px;bottom:10px;font-size:22px}
  .gallery-viewer{padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .gallery-stage{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 48px;gap:16px 12px}
  .gallery-full-image{grid-column:1;grid-row:1}
  .gallery-prev,.gallery-next{grid-column:1;grid-row:2}
  .gallery-prev{justify-self:center;transform:translateX(-34px)}.gallery-next{justify-self:center;transform:translateX(34px)}
}
.process-section{background:var(--surface)}
.parts-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(40px,6vw,88px)}
.parts-copy .section-heading{margin-bottom:20px}
.parts-benefit{max-width:560px;margin:0 0 30px;color:var(--muted);font-size:16px;line-height:1.7}
.parts-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;height:480px;min-width:0}
.parts-photos img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:4px}
.parts-photos img:first-child{grid-column:1 / 3}
@media(max-width:850px){.parts-layout{grid-template-columns:1fr;gap:36px}.parts-photos{height:400px}}
@media(max-width:700px){.parts-photos{height:clamp(260px,85vw,400px);gap:10px}.parts-benefit{font-size:15px}.parts-copy .button{max-width:100%;text-align:center}}
.process-grid li{border-top:1px solid #3a485b;padding-top:28px}
.step-number{display:block;color:#5285ff;font-family:Anton,Arial,sans-serif;font-size:40px;margin-bottom:28px}
.contacts-section{background:var(--surface)}
.contacts-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);column-gap:64px;align-items:start}
.contacts-layout .section-heading,.contact-details{grid-column:1}
.contacts-layout .map-shell{grid-column:2;grid-row:1 / 3}
.contact-phone{font-size:clamp(24px,2.8vw,36px);line-height:1.3;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}
.contact-details dl{margin:32px 0}.contact-details dl>div{margin-bottom:24px}
dt{color:#8f9bab;font-size:13px;margin-bottom:8px}dd{font-size:16px;line-height:1.65;margin:0;max-width:340px}
.map-shell{height:460px;min-width:0;position:relative;isolation:isolate;border:1px solid var(--line);border-radius:4px;background:#111923;overflow:hidden}
.map-canvas{position:absolute;inset:0}
.map-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:32px;text-align:center;background:radial-gradient(ellipse at center,#182a46,#0b131e)}
.map-fallback strong{font-size:18px;font-weight:500;line-height:1.6;max-width:270px}
.map-fallback a{font-size:14px;color:#8eb1ff;line-height:1.7;text-underline-offset:4px}
.map-status{font-size:13px;color:var(--muted);margin:0;line-height:1.6}
.map-noscript{position:absolute;bottom:15px;inset-inline:20px;font-size:12px;color:var(--muted);text-align:center}
.map-marker{position:relative;width:0;height:0}
.map-pin{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:68px;height:68px;border:1px solid #d5deed;border-radius:16px;background:#fff;box-shadow:0 6px 26px #0008;display:grid;place-items:center;padding:3px;cursor:pointer}
.map-pin img{display:block;width:60px;height:60px;object-fit:contain}
.map-popup{position:absolute;left:-140px;bottom:48px;width:280px;padding:22px;border:1px solid #47556a;border-radius:6px;box-shadow:0 12px 35px #0007;background:#101923;color:var(--text);font-family:Arial,Helvetica,sans-serif}
.map-popup:after{content:'';position:absolute;left:132px;bottom:-6px;width:10px;height:10px;background:#101923;border-right:1px solid #47556a;border-bottom:1px solid #47556a;transform:rotate(45deg)}
.map-popup strong{display:block;font-size:17px;padding-right:24px}
.map-popup p{font-size:13px;line-height:1.6;margin:10px 0;color:#c5cfdb}
.map-popup a{display:inline-block;font-size:13px;line-height:1.5;color:#8eb1ff;margin-top:4px;text-underline-offset:3px}
.map-popup-close{position:absolute;right:8px;top:8px;width:32px;height:32px;border:0;background:transparent;color:#ccd5e2;font-size:24px}
.map-zoom{width:40px;height:40px;border:0;border-radius:4px;background:#111923;color:white;font-size:25px}
.map-zoom:hover{background:#243a5c}
.booking-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);gap:64px;padding-top:70px;margin-top:70px;border-top:1px solid var(--line)}
.booking-layout .section-heading{margin:0}.booking-layout .section-heading p{max-width:340px}
.booking-note,.form-status{font-size:13px!important;line-height:1.7;color:var(--muted)}
.booking-note a{color:#aec8ff;text-underline-offset:3px;white-space:nowrap}
.booking-form{display:grid;gap:22px;align-content:start}
.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.booking-form label{display:grid;gap:10px;font-size:13px;color:#c9d2df}
input,textarea{width:100%;min-width:0;border:1px solid #39475a;background:#090f16;color:white;border-radius:4px;padding:16px;font-size:15px;line-height:1.5;transition:border-color .2s}
input{min-height:54px}textarea{resize:vertical;min-height:110px}
input::placeholder,textarea::placeholder{color:#8390a3}
input:focus-visible,textarea:focus-visible{outline:2px solid #80a8ff;outline-offset:3px}
.booking-form .button{justify-self:start;min-width:200px}
.button:disabled{opacity:.5;cursor:not-allowed;background:#26344c;color:#c0cbdc}
.form-status{margin:0}
.footer{border-top:1px solid var(--line);padding:24px 0}
.footer-inner{display:flex;gap:32px;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
.footer-inner a{text-decoration:none}.footer img{display:block;object-fit:contain}
.brand-hero .hero-copy{max-width:780px}.brand-hero .brand-hero-logo{width:66px;height:66px;object-fit:contain;margin-bottom:24px}
.brand-hero .hero-actions{margin-top:32px}
.brand-emblem-background{display:flex;align-items:center;justify-content:flex-end;background:radial-gradient(ellipse at 75% 45%,#152c4d,#070b0f 65%)}
.brand-emblem-background>img{width:42%;height:auto;margin-right:6%;opacity:.13}
.brand-hero .hero-foot .text-link{margin:0}
@media(min-width:1600px){.hero{height:900px}.hero h1{font-size:66px}}
@media(max-width:1100px) and (min-width:701px){.container{width:calc(100% - 64px)}.header-inner{gap:20px}.navigation{gap:18px}.navigation a,.header-phone{font-size:13px}.services-layout{gap:44px}.contacts-layout,.booking-layout{gap:36px}.contact-phone{font-size:27px}.process-grid{gap:22px}.brand-card{min-height:190px}.hero-copy{max-width:680px}.hero-foot{gap:16px;font-size:12px}}
@media(max-width:850px){.contacts-layout .map-shell{grid-column:1;grid-row:auto}.contacts-layout{row-gap:36px}.contacts-layout .section-heading{margin-bottom:0}}
@media(max-width:850px) and (min-width:701px){.header-phone{display:none}.contacts-layout{grid-template-columns:1fr}.contact-details{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-details dl{grid-column:2;grid-row:1/3;margin:0}.contact-details .button{align-self:start}.booking-layout{grid-template-columns:1fr 1.5fr;gap:30px}.brand-grid{gap:8px}.brand-card{font-size:13px}.brand-card img{width:65px;height:62px}.brand-card[href$="audi.html"] img{width:90px}}
@media(max-width:700px){
  .header-inner{gap:12px}.brand{flex-shrink:0}.header-phone{margin-left:auto;font-size:13px}.menu-toggle{order:3;flex-shrink:0}.navigation{z-index:5}
  .hero{height:auto;min-height:920px;max-height:none}
  .hero-inner{min-height:920px;padding:290px 0 174px;align-items:flex-end}
  .hero-copy{padding:0;max-width:100%}.hero h1{font-size:clamp(34px,7.8vw,52px);line-height:1.14;letter-spacing:-.035em}
  .hero h1 strong{margin:8px 0}.description{font-size:16px;line-height:1.7;margin:20px 0 26px}
  .hero-image:after{background:linear-gradient(180deg,rgba(7,11,15,.06) 0%,rgba(7,11,15,.08) 18%,rgba(7,11,15,.84) 36%,#070b0f 56%)}
  .slide{background-size:auto 440px;background-position:61% 40px}
  .hero-actions{gap:12px}.hero-actions .button{min-height:54px;font-size:14px;padding:0 22px}
  .hero-foot{bottom:28px;padding-top:20px;display:grid;grid-template-columns:1fr auto;gap:14px;font-size:12px;line-height:1.5}
  .hero-foot>a:first-child{grid-column:1/-1}.hero-foot>a:last-child{text-align:right}
  .section{padding:64px 0}.section-heading{margin-bottom:30px}.section-heading>p{font-size:15px;margin-top:16px}
  h2{font-size:32px;line-height:1.2}h3{font-size:19px}
  .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-card{min-height:182px;gap:22px}.brand-card:last-child{grid-column:1/-1;min-height:160px}.brand-card img{height:62px;width:80px}
  .services-layout{grid-template-columns:1fr;gap:34px}.services-layout .section-heading p{max-width:100%}.text-link{margin-top:20px}
  .service-row{gap:16px;grid-template-columns:56px minmax(0,1fr);padding:24px 0}.service-icon{width:56px;height:56px}.service-row p{font-size:14px}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.process-grid li{padding-top:20px}.step-number{font-size:32px;margin-bottom:22px}.process-grid p{font-size:14px}
  .contacts-layout,.booking-layout{grid-template-columns:1fr;gap:36px}.contact-phone{font-size:29px}.contact-details dl{margin:28px 0}
  .contact-details .button{width:auto}.map-shell{height:440px}.map-popup{width:250px;left:-125px;padding:18px}.map-popup:after{left:118px}
  .booking-layout{padding-top:48px;margin-top:48px}.booking-layout .section-heading p{max-width:100%}
  .form-fields{grid-template-columns:1fr;gap:22px}.booking-form .button{width:100%}
  .footer-inner{display:grid;grid-template-columns:64px 1fr;gap:12px 20px;font-size:12px;line-height:1.7}.footer-inner>a:first-child{grid-row:1/3}.footer-inner>a:last-child{grid-column:2}
  .brand-hero .hero-inner{padding-top:270px;min-height:880px}.brand-hero{min-height:880px}.brand-hero .brand-hero-logo{width:54px;height:54px;margin-bottom:20px}
  .brand-emblem-background{align-items:flex-start;justify-content:center;padding-top:100px}.brand-emblem-background>img{width:180px;margin:0}
}
@media(max-width:359px){.container{width:calc(100% - 32px)}.header-phone{font-size:12px}.hero h1{font-size:32px}.hero-inner{padding-bottom:176px}.process-grid{grid-template-columns:1fr}.contact-phone{font-size:26px}.brand-card{font-size:13px}.hero-foot{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Callback and service requests share one accessible native dialog. */
.header-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}
.header-callback{min-height:44px;padding:0 18px;font-size:14px;white-space:nowrap;width:auto}
.request-open{overflow:hidden}
.request-dialog{width:min(640px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #39475a;border-radius:8px;background:var(--surface);color:var(--text);overscroll-behavior:contain}
.request-dialog::backdrop{background:rgba(0,0,0,.8)}
.request-panel{position:relative;padding:40px}
.request-panel h2{padding-right:36px;font-size:clamp(28px,4vw,36px)}
.request-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:4px;background:transparent;color:var(--text);font-size:30px;line-height:1}
.request-close:hover{background:#26344c}
.request-description{color:var(--muted);font-size:16px;line-height:1.6;margin:18px 0 24px}
.request-car{display:grid;gap:22px;border:0;padding:0;margin:0;min-width:0}
.request-dialog .booking-form label{font-size:14px;gap:8px}
.request-dialog input,.request-dialog textarea{font-size:16px}
.request-dialog .booking-form{gap:20px}
.field-optional{color:var(--muted);font-size:13px;font-weight:400}
.field-hint{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.field-hint a,.consent-field a,.request-dialog .form-status a{color:#aec8ff;text-underline-offset:3px}
.booking-form .consent-field{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6}
.consent-field input{appearance:auto;flex:0 0 20px;width:20px;min-height:20px;height:20px;margin:2px 0 0;accent-color:var(--blue)}
.booking-actions{align-self:center;display:grid;justify-items:start;gap:18px}
.footer-legal{display:flex;flex-wrap:wrap;gap:16px 28px;border-top:1px solid var(--line);margin-top:24px;padding-top:24px;font-size:14px;line-height:1.6;color:var(--muted)}
.footer-legal a{text-underline-offset:4px}
.legal-main{max-width:900px;padding:152px 0 72px}
.legal-main h1{font-size:clamp(30px,5vw,48px);line-height:1.2;overflow-wrap:anywhere}
.legal-main h2{font-family:Arial,Helvetica,sans-serif;font-size:23px;letter-spacing:0;margin:36px 0 16px}
.legal-main p,.legal-main li,.legal-main dd{font-size:16px;line-height:1.8;max-width:none;color:#c9d2df}
.legal-main ul{padding-left:24px}.legal-main li+li{margin-top:8px}
.legal-main a{color:#aec8ff;text-underline-offset:4px}
.legal-notice{border:1px solid #806c3f;background:#251f13;border-radius:4px;padding:18px 22px;margin:28px 0}
.legal-main .legal-notice p{margin:0;color:#e5d7b6}
.legal-main dl>div{border-bottom:1px solid var(--line);padding:16px 0}
.legal-main dt{font-size:14px}.legal-main dd{overflow-wrap:anywhere}
@media(max-width:1200px) and (min-width:701px){.header-inner{gap:18px}.header-actions{gap:12px}.header-actions .header-phone{display:none}.header-callback{font-size:13px;padding:0 14px}.navigation{gap:20px}}
@media(max-width:700px){
  .header-actions{margin-left:auto;gap:0}.header-actions .header-phone{display:none}
  .header-callback{font-size:13px;padding:0 14px;min-height:42px}
  .request-panel{padding:28px 20px}.request-dialog .form-fields{grid-template-columns:1fr;gap:20px}
  .request-dialog{position:fixed;inset:auto 12px auto;top:calc(var(--viewport-top, 0px) + 12px);margin:0;width:calc(100% - 24px);max-height:calc(var(--viewport-height, 100dvh) - 24px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  .request-dialog .booking-form .button{width:100%}.request-panel h2{padding-right:32px}
  .footer-legal{flex-direction:column;gap:14px}.legal-main{padding:112px 0 56px}
  .booking-actions,.booking-actions .button{width:100%}
}

/* Keep navigation usable between phone and desktop layouts. */
@media (min-width:701px) and (max-width:900px){
  .header-inner{gap:12px}
  .brand{flex-shrink:0}
  .header-actions{margin-left:auto}
  .menu-toggle{display:flex;order:3;flex:0 0 44px;flex-direction:column;justify-content:center;gap:7px;width:44px;height:44px;padding:10px;border:0;background:transparent}
  .menu-toggle span{width:24px;height:2px;background:white}
  .navigation{display:none;position:absolute;top:100px;left:0;right:0;z-index:5;flex-direction:column;align-items:stretch;gap:0;padding:16px 32px 24px;border-bottom:1px solid #29313b;background:#0b1118}
  .navigation.open{display:flex}
  .navigation a{padding:14px 0;font-size:16px}
}
@media (max-width:900px){
  .header-actions{gap:0}
  .header-actions .header-callback{display:none}
  .header-actions .header-phone{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:0;padding:0 10px;border:0;border-radius:6px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;line-height:1.2;box-shadow:0 0 16px #2865ef40;transition:background .2s}
  .header-actions .header-phone::before{content:"";flex:0 0 16px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat}
  .header-actions .header-phone:hover{background:#427bff}
  .header-actions .header-phone:active{background:#1d50c5}
  .navigation{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
  .navigation a{min-height:48px}
}
@media (max-width:700px){.header .brand{width:48px;height:48px}.header-actions .header-phone{height:44px}}
@media (max-width:359px){.header-inner{gap:8px}}
@media (min-width:701px) and (max-width:900px){.navigation{max-height:calc(100dvh - 100px)}}
@media (max-width:700px){
  .hero,.brand-hero{height:auto;min-height:100svh}
  .hero-inner,.brand-hero .hero-inner{height:auto;min-height:100svh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:36px;padding:clamp(250px,40svh,360px) 0 28px}
  .hero-foot{position:static;flex-shrink:0}
  .hero-copy{width:100%}
  .hero h1{overflow-wrap:anywhere}
  .booking-form input:not([type="checkbox"]),.booking-form textarea{font-size:16px}
  .map-shell{height:clamp(320px,65svh,440px)}
}

/* Mobile: reserve a separate image area above the hero copy. */
.route-icon{width:18px;height:18px;flex:none}
@media (max-width:700px){
  .hero:not(.brand-hero) .hero-inner{padding-top:440px}
  .hero:not(.brand-hero) .hero-image:after{background:linear-gradient(180deg,rgba(7,11,15,.06) 0,rgba(7,11,15,.08) 300px,#070b0f 440px)}
  .request-description,.request-dialog .booking-form>.field-hint:first-child{display:none}
  .request-panel h2{margin-bottom:24px}
  .gallery-close{width:44px;height:44px;border:0;background:transparent;font-size:26px}
  .gallery-close span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #536074;border-radius:50%;background:#121c2c;line-height:1}
}

.map-entrance{position:absolute;left:45px;top:-16px;white-space:nowrap;padding:7px 10px;border-radius:4px;background:#d82929;color:#fff;font:700 14px/1 Arial,sans-serif;pointer-events:none;box-shadow:0 3px 12px #0008}
