:root{
  --bg:#EEF1FB;--surface:#FFFFFF;--surface-2:#F6F8FD;
  --ink:#1A1A1A;--ink-2:#2C2C2C;--muted:#6E7480;--muted-2:#9AA0AC;
  --line:#E1E5F2;--line-2:#DDE3F0;
  --accent:#1A57EA;--accent-soft:#DCE5FB;--accent-hi:#1546C7;
  --font-display:'Onest',system-ui,sans-serif;
  --font-text:'Inter',system-ui,sans-serif;
  --font-mono:'PT Mono',ui-monospace,monospace;
  --container:1440px;--pad:clamp(20px,3vw,40px);
  --radius-card:20px;--radius-btn:12px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--font-display);font-size:15px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
button{font:inherit;cursor:pointer;border:none;background:none;}
.body-text{font-family:var(--font-text);font-size:14.5px;line-height:1.65;color:var(--muted);}
/* ХЕДЕР */
.site-header{position:sticky;top:0;z-index:100;background:var(--bg);}
.header-top{max-width:var(--container);margin:0 auto;padding:14px var(--pad);display:flex;align-items:center;gap:24px;}
.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;}
.brand-icon{width:28px;height:28px;background:var(--accent);border-radius:5px;display:flex;align-items:center;justify-content:center;}
.brand-icon svg{width:16px;height:16px;color:#fff;}
.brand-name{font-weight:700;font-size:14px;letter-spacing:0.04em;text-transform:uppercase;white-space:nowrap;}
.header-nav-inline{display:flex;align-items:center;gap:2px;list-style:none;}
.header-nav-inline .nav-item{position:relative;}
.header-nav-inline .nav-link{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;font-size:14px;font-weight:500;color:var(--ink-2);border-radius:8px;transition:all .15s ease;white-space:nowrap;}
.header-nav-inline .nav-link:hover{background:rgba(26,87,234,0.06);color:var(--accent);}
.header-nav-inline .nav-link.active{background:var(--accent-soft);color:var(--accent);font-weight:600;}
.chevron{width:13px;height:13px;opacity:0.6;transition:transform .2s ease;}
.nav-item:hover .chevron{transform:rotate(180deg);}
.header-utils{margin-left:auto;display:flex;align-items:center;gap:4px;}
.util-phone{font-size:14px;font-weight:600;padding:8px 4px;white-space:nowrap;}
.util-email{font-family:var(--font-text);font-size:13.5px;font-weight:500;color:var(--muted);padding:8px 12px;white-space:nowrap;transition:color .15s ease;}
.util-email:hover{color:var(--accent);}
.util-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:600;color:#fff;background:var(--accent);border-radius:10px;transition:all .2s ease;margin-left:8px;white-space:nowrap;}
.util-cta:hover{background:var(--accent-hi);transform:translateY(-1px);}
.util-cta svg{width:14px;height:14px;}
.dropdown{position:absolute;top:calc(100% + 6px);left:0;min-width:320px;background:#fff;border-radius:14px;padding:10px;box-shadow:0 12px 40px rgba(20,30,60,0.10),0 0 0 1px rgba(20,30,60,0.04);opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .18s ease;pointer-events:none;z-index:80;}
.dropdown::before{content:'';position:absolute;top:-8px;left:0;right:0;height:8px;}
.nav-item:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;}
.dropdown-link{display:flex;align-items:center;gap:12px;padding:11px 14px;font-size:14.5px;font-weight:500;color:var(--ink-2);border-radius:8px;transition:all .12s ease;}
.dropdown-link:hover{background:var(--bg);color:var(--accent);}
.burger{display:none;width:40px;height:40px;border-radius:10px;background:rgba(26,87,234,0.06);color:var(--accent);align-items:center;justify-content:center;flex-direction:column;gap:4px;}
.burger span{width:18px;height:2px;background:currentColor;border-radius:1px;transition:all .25s ease;}
.burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
.mobile-nav{position:fixed;top:0;right:0;bottom:0;width:320px;max-width:88vw;background:#fff;z-index:999;padding:80px 24px 32px;transform:translateX(100%);transition:transform .3s ease;overflow-y:auto;box-shadow:-20px 0 60px rgba(10,20,40,0.18);display:flex;flex-direction:column;gap:4px;}
.mobile-nav.open{transform:translateX(0);}
.mobile-nav-overlay{position:fixed;inset:0;background:rgba(10,20,40,0.4);backdrop-filter:blur(3px);z-index:998;opacity:0;visibility:hidden;transition:all .25s ease;}
.mobile-nav-overlay.open{opacity:1;visibility:visible;}
.mobile-nav a{display:block;padding:14px 16px;font-size:16px;font-weight:500;color:var(--ink);border-radius:10px;transition:all .15s ease;}
.mobile-nav a:hover,.mobile-nav a.active{background:var(--accent-soft);color:var(--accent);}
.mobile-nav a.active{font-weight:600;}
.mobile-nav-divider{height:1px;background:var(--line);margin:16px;}
.mobile-nav-section-title{font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:0.08em;color:var(--muted);padding:0 16px;margin-bottom:8px;}
.mobile-nav-sub a{padding:10px 28px;font-size:14px;color:var(--ink-2);}
.mobile-nav-contacts{margin-top:auto;padding-top:24px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;}
.mobile-nav-contacts a{padding:10px 16px;font-size:14px;font-weight:500;}
.mobile-nav-contacts .phone-link{color:var(--accent);font-weight:600;font-size:17px;}
/* ОБЩЕЕ */
.breadcrumbs{max-width:var(--container);margin:0 auto;padding:14px var(--pad) 8px;display:flex;align-items:center;gap:8px;font-family:var(--font-text);font-size:13px;color:var(--muted);}
.breadcrumbs a{color:var(--muted);transition:color .15s ease;}
.breadcrumbs a:hover{color:var(--accent);}
.breadcrumbs .sep{color:var(--muted-2);opacity:0.6;}
.breadcrumbs .current{color:var(--ink);font-weight:500;}
.section{max-width:var(--container);margin:0 auto;padding:0 var(--pad) 72px;}
.section-eyebrow{font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:0.08em;color:var(--accent);margin-bottom:12px;}
.section-title{font-family:var(--font-display);font-weight:700;font-size:clamp(28px,3.4vw,42px);line-height:1.1;letter-spacing:-0.02em;color:var(--ink);margin-bottom:12px;}
.section-sub{font-family:var(--font-text);font-size:15px;color:var(--muted);line-height:1.55;margin-bottom:32px;max-width:680px;}
/* HERO */
.page-hero{max-width:var(--container);margin:0 auto;padding:40px var(--pad) 56px;}
.page-hero h1{font-weight:700;font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-0.025em;margin-bottom:14px;}
.page-hero .sub{font-family:var(--font-text);font-size:16px;color:var(--muted);line-height:1.6;max-width:600px;}
/* ГЛАВНЫЙ ОФИС */
.hq-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
.hq-info{background:#fff;border-radius:var(--radius-card);padding:36px;display:flex;flex-direction:column;gap:20px;}
.hq-row{display:flex;align-items:flex-start;gap:14px;}
.hq-icon{width:40px;height:40px;border-radius:10px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.hq-icon svg{width:18px;height:18px;color:var(--accent);}
.hq-label{font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);margin-bottom:4px;}
.hq-val{font-weight:600;font-size:15px;color:var(--ink);}
.hq-val a{color:var(--accent);}
.hq-map{background:#fff;border-radius:var(--radius-card);overflow:hidden;min-height:360px;}
.hq-map iframe{width:100%;height:100%;border:none;min-height:360px;}
/* ФОРМА */
.contact-form-wrap{background:#fff;border-radius:var(--radius-card);padding:clamp(28px,4vw,44px);max-width:680px;}
.contact-form-wrap h2{font-weight:700;font-size:clamp(22px,2.4vw,30px);letter-spacing:-0.015em;margin-bottom:8px;}
.contact-form-wrap .form-sub{font-family:var(--font-text);font-size:14px;color:var(--muted);margin-bottom:24px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.field{display:flex;flex-direction:column;margin-bottom:14px;}
.field label{font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);margin-bottom:6px;}
.field input,.field textarea,.field select{font-family:var(--font-display);font-size:15px;font-weight:500;padding:12px 14px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface-2);color:var(--ink);transition:border-color .15s ease;}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--accent);background:#fff;}
.field textarea{resize:vertical;min-height:80px;}
.consent-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;cursor:pointer;user-select:none;}
.consent-row input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:1.5px solid var(--line-2);border-radius:4px;background:#fff;flex-shrink:0;margin-top:1px;cursor:pointer;transition:all .15s ease;position:relative;}
.consent-row input[type="checkbox"]:checked{background:var(--accent);border-color:var(--accent);}
.consent-row input[type="checkbox"]:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
.consent-row .consent-text{font-family:var(--font-text);font-size:12.5px;color:var(--muted);line-height:1.5;}
.consent-row .consent-text a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;background:var(--accent);color:#fff;border-radius:var(--radius-btn);font-weight:600;font-size:15px;transition:all .2s ease;}
.btn-primary:hover{background:var(--accent-hi);}
/* ГОРОДА */
.cities-bar{position:sticky;top:64px;z-index:50;background:var(--bg);padding:14px 0 0;margin-bottom:24px;}
.search-wrap{position:relative;max-width:520px;}
.search-input{width:100%;font-family:var(--font-display);font-size:15px;font-weight:500;padding:14px 44px;border:1px solid var(--line-2);border-radius:12px;background:#fff;color:var(--ink);transition:all .15s ease;}
.search-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgba(26,87,234,0.08);}
.search-input::placeholder{color:var(--muted-2);font-weight:400;}
.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted-2);pointer-events:none;}
.search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:var(--surface-2);display:none;align-items:center;justify-content:center;color:var(--muted);transition:all .15s ease;}
.search-clear:hover{background:var(--ink);color:#fff;}
.search-clear svg{width:12px;height:12px;}
.has-value .search-clear{display:flex;}
.search-results{display:none;background:#fff;border-radius:14px;box-shadow:0 8px 32px rgba(20,30,60,0.10);padding:10px;margin-top:8px;max-height:360px;overflow-y:auto;position:absolute;width:100%;z-index:10;}
.search-results.open{display:block;}
.search-result-item{display:block;padding:10px 14px;font-size:14.5px;font-weight:500;color:var(--ink-2);border-radius:8px;transition:all .12s ease;cursor:pointer;}
.search-result-item:hover{background:var(--bg);color:var(--accent);}
.search-result-item mark{background:none;color:var(--accent);font-weight:700;}
.search-result-empty{padding:14px;font-family:var(--font-text);font-size:14px;color:var(--muted);}
.cities-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.contact-card{background:#fff;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:6px;transition:all .2s ease;border:1px solid transparent;}
.contact-card:hover{border-color:var(--accent-soft);transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,30,60,0.07);}
.contact-card-city{font-weight:700;font-size:15px;color:var(--ink);}
.contact-card-addr{font-family:var(--font-text);font-size:13px;color:var(--muted);line-height:1.5;}
.contact-card-phone{font-family:var(--font-text);font-size:13px;color:var(--accent);font-weight:500;margin-top:4px;}
/* CTA */
.cta-section{max-width:var(--container);margin:0 auto;padding:0 var(--pad) 80px;}
.cta-inner{background:var(--ink);border-radius:var(--radius-card);padding:clamp(36px,5vw,56px);display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;}
.cta-inner h2{font-weight:700;font-size:clamp(26px,3vw,38px);letter-spacing:-0.02em;color:#fff;margin-bottom:10px;}
.cta-inner p{font-family:var(--font-text);font-size:15px;color:rgba(255,255,255,0.7);line-height:1.55;}
.cta-btns{display:flex;flex-direction:column;gap:12px;align-items:flex-end;}
.btn-accent{display:inline-flex;align-items:center;gap:10px;padding:14px 28px;background:var(--accent);color:#fff;border-radius:var(--radius-btn);font-weight:600;font-size:15px;white-space:nowrap;transition:all .2s ease;}
.btn-accent:hover{background:var(--accent-hi);transform:translateY(-2px);}
.btn-accent svg{width:16px;height:16px;}
.cta-phone{font-weight:600;font-size:17px;color:rgba(255,255,255,0.7);white-space:nowrap;text-align:right;transition:color .15s ease;}
.cta-phone:hover{color:#fff;}
/* ФУТЕР */
.site-footer{background:var(--bg);padding:60px var(--pad) 30px;border-top:1px solid var(--line);}
.footer-wrap{max-width:var(--container);margin:0 auto;}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;margin-bottom:50px;}
.footer-col h5{font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:0.06em;color:var(--muted);margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:8px;}
.footer-col a{font-size:14.5px;color:var(--ink-2);transition:color .15s ease;}
.footer-col a:hover{color:var(--accent);}
.footer-brand .body-text{margin-top:12px;font-size:13px;}
.footer-bottom{padding-top:24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:var(--font-text);font-size:13px;color:var(--muted);}
.footer-bottom a{color:var(--muted);transition:color .15s ease;}
.footer-bottom a:hover{color:var(--accent);}
/* МОДАЛКА */
.modal-backdrop{position:fixed;inset:0;background:rgba(10,20,40,0.55);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:all .25s ease;}
.modal-backdrop.open{opacity:1;visibility:visible;}
.modal-window{background:#fff;border-radius:var(--radius-card);padding:36px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;position:relative;transform:scale(0.95) translateY(10px);transition:transform .25s ease;box-shadow:0 30px 80px rgba(0,0,0,0.25);}
.modal-backdrop.open .modal-window{transform:scale(1) translateY(0);}
.modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--ink-2);transition:all .15s ease;}
.modal-close:hover{background:var(--ink);color:#fff;}
.modal-close svg{width:16px;height:16px;}
.modal-window h3{font-weight:700;font-size:22px;margin-bottom:6px;padding-right:40px;}
.modal-window .form-sub{font-family:var(--font-text);font-size:14px;color:var(--muted);margin-bottom:20px;}
/* АДАПТИВ */
@media(max-width:1280px){.util-email{display:none;}}
@media(max-width:1080px){
  .header-nav-inline{display:none;}.burger{display:flex;}
  .hq-grid{grid-template-columns:1fr;}
  .cities-grid{grid-template-columns:repeat(3,1fr);}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr;}
  .cta-inner{grid-template-columns:1fr;}
  .cta-btns{align-items:flex-start;flex-direction:row;flex-wrap:wrap;}
}
@media(max-width:900px){.util-cta span{display:none;}.util-cta::after{content:"КП";}}
@media(max-width:720px){
  .brand-name{display:none;}.util-phone{font-size:13.5px;padding:8px 0;}
  .cities-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .form-row{grid-template-columns:1fr;}
}
@media(max-width:520px){
  .cities-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}
@media(max-width:400px){.util-phone{font-size:12.5px;}.util-cta{padding:9px 12px;}}

.brand-logo{display:block;width:206px;height:auto;max-width:min(206px,55vw);}
@media (max-width:768px){.brand-logo{width:160px;max-width:min(160px,50vw);}}
