/* GLC Transfer — спільні стилі для всіх сторінок */
:root{
  --blue:#123B7E;        /* синій з логотипа */
  --blue-d:#0C2A5C;
  --blue-50:#EEF3FB;
  --ink:#14203A;
  --muted:#5D6678;
  --line:#E6E0D6;
  --bg:#FBF9F5;          /* світлий фон */
  --beige:#F4EDE2;       /* бежевий */
  --sand:#D9C3A0;
  --sand-d:#A8875A;
  --white:#fff;
  --accent:#F5B301;      /* жовтий з логотипа — кнопки */
  --accent-d:#E2A400;
  --ok:#1E9E62; --err:#D93A2B;
  --r:16px; --r-sm:12px;
  --shadow:0 12px 32px rgba(18,59,126,.10);
  --wrap:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{font-family:Onest,Manrope,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:18px;line-height:1.55;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}

/* типографіка */
h1{font-size:clamp(34px,4.2vw,54px);line-height:1.08;letter-spacing:-.025em;font-weight:800}
h2{font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.02em;font-weight:800}
h3{font-size:20px;line-height:1.3;font-weight:700}
.lead{font-size:19px;color:var(--muted);max-width:640px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--sand-d);margin-bottom:8px}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:28px}
.sec-head .lead{margin-top:8px}
section{padding:64px 0}
.sec-beige{background:var(--beige)}
.sec-white{background:var(--white)}
.sec-blue{background:var(--blue);color:#fff}
.sec-blue .lead{color:#C9D6EE}
.sec-blue .eyebrow{color:var(--sand)}

/* кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 26px;border-radius:var(--r-sm);border:0;font:inherit;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s,transform .1s,box-shadow .15s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-accent{background:var(--accent);color:var(--blue-d);box-shadow:0 6px 18px rgba(245,179,1,.35)}
.btn-accent:hover{background:var(--accent-d)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-d)}
.btn-line{background:transparent;color:var(--blue);border:2px solid var(--blue)}
.btn-line:hover{background:var(--blue-50)}
.btn-block{width:100%}
.btn[disabled]{opacity:.65;cursor:progress}
.ico{width:22px;height:22px;flex:none}

/* шапка */
header.top{position:sticky;top:0;z-index:50;background:rgba(251,249,245,.94);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.hbar{display:flex;align-items:center;gap:22px;height:72px}
.logo{display:inline-flex;flex:none}
.logo img{height:44px;width:auto}
.nav{display:flex;gap:2px;flex:1;justify-content:center}
.nav a{font-size:15.5px;font-weight:600;color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:10px;position:relative;white-space:nowrap}
.nav a:hover{color:var(--blue)}
.nav a.active{color:var(--blue)}
.nav a.active::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px;background:var(--accent)}
.hcontact{display:flex;align-items:center;gap:16px;flex:none}
.hphone{font-weight:700;text-decoration:none;color:var(--blue);display:flex;align-items:center;gap:8px;white-space:nowrap}
.hcontact .btn{min-height:46px;font-size:15.5px;padding:0 18px}

/* hero */
.hero{padding:44px 0 56px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:start}
.hero h1 span{color:var(--blue)}
.price-label{font-size:14px;font-weight:700;color:var(--muted);margin:22px 0 10px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 16px;font-weight:700;font-size:16px;text-decoration:none}
.chip em{font-style:normal;color:var(--blue)}
a.chip:hover{border-color:var(--blue)}
.hero .lead{margin:18px 0 18px}
.ticks{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:15.5px;font-weight:600;color:var(--blue-d)}
.ticks span{display:inline-flex;align-items:center;gap:8px}
.ticks span::before{content:"";width:18px;height:18px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2A5C' stroke-width='3.2'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;flex:none}
.hero-photo{margin-top:26px;border-radius:var(--r);overflow:hidden;height:250px;box-shadow:var(--shadow)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 70%}

/* картки форми */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.form-card{padding:26px 26px 22px}
.form-card h3{font-size:22px;margin-bottom:4px}
.form-card .fsub{font-size:15px;color:var(--muted);margin-bottom:16px}
.lf{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.lf .full{grid-column:1/-1}
.fld label{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:5px}
.fld label .req{color:var(--err);margin-left:2px}
.fld input,.fld select,.fld textarea{width:100%;height:50px;border:1.5px solid var(--line);border-radius:10px;padding:0 14px;font:inherit;font-size:16.5px;color:var(--ink);background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}
.fld textarea{height:84px;padding:12px 14px;resize:vertical}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(18,59,126,.12)}
.fld.bad input,.fld.bad select{border-color:var(--err);box-shadow:0 0 0 3px rgba(217,58,43,.10)}
.fld .msg{display:none;font-size:13px;color:var(--err);margin-top:4px;font-weight:600}
.fld.bad .msg{display:block}
.chan{display:flex;flex-wrap:wrap;gap:8px}
.chan label{margin:0}
.chan input{position:absolute;opacity:0;width:1px;height:1px}
.chan span{display:inline-flex;align-items:center;height:40px;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;background:#fff;transition:all .15s}
.chan input:checked+span{border-color:var(--blue);background:var(--blue);color:#fff}
.chan input:focus-visible+span{box-shadow:0 0 0 3px rgba(18,59,126,.25)}
.more{grid-column:1/-1;border-top:1px dashed var(--line);padding-top:6px}
.more summary{list-style:none;cursor:pointer;font-size:15px;font-weight:700;color:var(--blue);padding:8px 0;display:flex;align-items:center;gap:8px}
.more summary::-webkit-details-marker{display:none}
.more summary::before{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--blue-50);font-size:17px}
.more[open] summary::before{content:"–"}
.more .lf{margin-top:8px}
.form-foot{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;margin-top:4px}
.form-note{font-size:13.5px;color:var(--muted);text-align:center}
.form-note .req{color:var(--err)}

/* переваги */
.adv{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.adv-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;display:flex;gap:16px;align-items:flex-start}
.adv-ic{width:46px;height:46px;border-radius:12px;background:var(--blue-50);color:var(--blue);display:grid;place-items:center;flex:none}
.adv-card h3{font-size:18px;margin-bottom:4px}
.adv-card p{font-size:15.5px;color:var(--muted)}

/* галерея */
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:180px 180px;gap:12px;margin-top:28px}
.gallery figure{border-radius:var(--r-sm);overflow:hidden;position:relative;background:var(--beige)}
.gallery figure:first-child{grid-row:1/3}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery figcaption{position:absolute;left:10px;bottom:10px;background:rgba(12,42,92,.78);color:#fff;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px}

/* маршрути */
.routes-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;align-items:start}
.map-card{padding:16px;position:sticky;top:92px}
.map-card svg{width:100%;height:auto;display:block}
.map-city{cursor:pointer}

.map-city:hover rect{stroke:#F1D58C}
.map-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted);padding:8px 6px 0}.map-legend span{white-space:nowrap}
.map-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:middle}
.rgroup{margin-bottom:16px}
.rgroup h3{font-size:16px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}
.rlist{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.rrow{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line);text-decoration:none;transition:background .12s}
.rrow:last-child{border-bottom:0}
.rrow:hover{background:var(--blue-50)}
.rrow .rn{font-weight:600}
.rrow .rn small{color:var(--muted);font-weight:500;font-size:13.5px;margin-left:6px}
.rrow .rp{font-weight:800;color:var(--blue);text-align:right}
.rrow .rp small{display:block;font-size:12.5px;color:var(--muted);font-weight:500}
.rrow .rgo{font-size:13.5px;font-weight:700;color:var(--sand-d)}
.rrow.nolink .rgo{visibility:hidden}
.rnote{margin-top:14px;font-size:15.5px;color:var(--muted);background:#fff;border:1px dashed var(--sand);border-radius:var(--r-sm);padding:14px 16px}
.rnote b{color:var(--ink)}

/* блок заявки */
.order-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:start}
.contacts{display:grid;gap:10px;margin-top:22px}
.contacts a{display:flex;align-items:center;gap:14px;padding:13px 16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:var(--r-sm);text-decoration:none;font-weight:700;color:#fff}
.contacts a span{display:block;font-weight:500;font-size:14px;color:#C9D6EE}
.sec-blue .form-card{color:var(--ink)}

/* автопарк */
.fleet{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.car{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.car .ph{height:210px;overflow:hidden}
.car .ph img{width:100%;height:100%;object-fit:cover}
.car .th{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px 4px 0}
.car .th img{height:92px;width:100%;object-fit:cover;border-radius:8px}
.car .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.cap{align-self:flex-start;background:var(--blue-50);color:var(--blue);border-radius:999px;padding:4px 12px;font-size:14px;font-weight:700}
.car p{font-size:15.5px;color:var(--muted)}
.car .btn{margin-top:auto;min-height:46px;font-size:15.5px}

/* тарифи */
.tariff-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:16px}
.tcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px 22px}
.tcard h3{font-size:19px}
.tcard .tsub{font-size:14px;color:var(--muted);margin-bottom:8px}
.trow{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-top:1px solid var(--line);font-size:16px}
.trow b{font-size:22px;font-weight:800;color:var(--blue)}
.trow b small{font-size:14px;color:var(--muted)}
.promo{background:var(--blue);color:#fff;border-radius:var(--r);padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.promo .big{font-size:40px;font-weight:800;line-height:1;color:var(--accent)}
.promo .big small{font-size:16px;color:#fff;font-weight:600;margin-right:6px}
.promo p{font-size:15px;color:#C9D6EE}
.corp{margin-top:16px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 22px}
.corp p{font-size:15.5px;color:var(--muted)}

/* як це працює */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:s}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px}
.step::before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--blue-d);font-weight:800;margin-bottom:10px}
.step h3{font-size:17px}
.step p{font-size:15px;color:var(--muted);margin-top:4px}
.pay{margin-top:14px;font-size:15.5px;color:var(--muted)}
.pay b{color:var(--ink)}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:start}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:14px 36px 14px 0;font-weight:700;font-size:17px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:500;color:var(--blue)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 0 14px;color:var(--muted);font-size:16px}

/* підвал */
footer{background:var(--blue-d);color:#C9D6EE;padding:36px 0;font-size:15.5px}
.fgrid{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
footer .logo img{height:40px}
.flinks{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:flex-end}
footer a{text-decoration:none;color:#fff;font-weight:600}
.fsmall{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12);padding-top:14px;font-size:13.5px;display:flex;flex-wrap:wrap;gap:8px 18px}
.fsmall a{font-weight:500;color:#C9D6EE}

/* сторінка маршруту */
.crumbs{font-size:14px;color:var(--muted);margin-bottom:14px}
.crumbs a{text-decoration:none;color:var(--blue);font-weight:600}
.route-facts{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 4px}
.fact{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 16px;min-width:130px}
.fact small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.fact b{font-size:20px;color:var(--blue)}
.dest{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.dest ul{list-style:none;display:grid;gap:10px}
.dest li{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:12px 16px;display:flex;gap:12px;align-items:flex-start;font-size:16px}
.dest li::before{content:"";flex:none;width:10px;height:10px;margin-top:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(245,179,1,.2)}
.who{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.who span{background:var(--blue-50);color:var(--blue);border-radius:999px;padding:6px 14px;font-size:14.5px;font-weight:600}
.tip{margin-top:16px;background:#fff;border-left:4px solid var(--accent);border-radius:8px;padding:12px 16px;font-size:15.5px;color:var(--muted)}
.tip b{color:var(--ink)}
.dest-photo{border-radius:var(--r);overflow:hidden;height:320px}
.dest-photo img{width:100%;height:100%;object-fit:cover}
.other{display:flex;flex-wrap:wrap;gap:10px}

/* модальне вікно */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;background:rgba(12,42,92,.5);padding:16px}
.modal.open{display:flex}
.sheet{background:#fff;width:100%;max-width:500px;border-radius:20px;padding:28px 26px;position:relative;max-height:92vh;overflow:auto}
.sheet h3{font-size:24px;margin-bottom:6px}
.sheet .sub{color:var(--muted);font-size:16px;margin-bottom:16px}
.mstate{display:none}
.okmark,.errmark{width:54px;height:54px;border-radius:50%;color:#fff;display:grid;place-items:center;font-size:28px;font-weight:800;margin-bottom:12px}
.okmark{background:var(--ok)}.errmark{background:var(--err)}
.msgbox{white-space:pre-wrap;background:var(--bg);border-radius:10px;padding:12px 14px;font-size:14.5px;margin-bottom:14px;max-height:180px;overflow:auto}
.sendgrid{display:grid;gap:8px}
.s-tg{background:#229ED9;color:#fff}.s-vb{background:#7360F2;color:#fff}.s-wa{background:#25D366;color:#fff}
.close{position:absolute;right:14px;top:10px;background:none;border:0;font-size:32px;line-height:1;cursor:pointer;color:var(--muted)}
.spinner{width:42px;height:42px;border-radius:50%;border:4px solid var(--blue-50);border-top-color:var(--blue);animation:sp 1s linear infinite;margin-bottom:12px}
@keyframes sp{to{transform:rotate(360deg)}}

/* моб. панель (мобільна версія — окреме ТЗ) */
.mbar{display:none}

/* адаптив (базовий, мобільне ТЗ буде окремо) */
@media(max-width:1180px){.nav a{padding:8px 8px;font-size:15px}.hphone span{display:none}}
@media(max-width:1000px){
  .nav{display:none}
  .hero-grid,.routes-grid,.order-grid,.faq-grid,.dest{grid-template-columns:1fr}
  .adv,.fleet,.tariff-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .map-card{position:static}
  .gallery{grid-template-columns:1fr 1fr;grid-template-rows:200px 140px 140px}
  .gallery figure:first-child{grid-column:1/-1;grid-row:auto}
}
@media(max-width:640px){
  body{font-size:17px;padding-bottom:80px}
  .wrap{padding:0 18px}
  section{padding:48px 0}
  .hcontact .btn,.hphone{display:none}
  .adv,.fleet,.tariff-grid,.steps,.lf{grid-template-columns:1fr}
  .corp{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr}.flinks{justify-content:flex-start}
  .sec-head{display:block}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
  .mbar .btn-accent{flex:1}
  .mbar .sq{width:54px;padding:0;background:var(--blue-50);color:var(--blue)}
}
.dir{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:4px}
.dir button{border:0;background:transparent;border-radius:9px;padding:9px 8px;font:inherit;font-size:14.5px;font-weight:700;color:var(--muted);cursor:pointer}
.dir button.on{background:#111;color:#fff}
.swap{border:1.5px dashed var(--line);background:transparent;border-radius:10px;padding:8px 12px;font:inherit;font-size:14px;font-weight:700;color:var(--sand-d,#A8875A);cursor:pointer;text-align:left}
.swap:hover{border-color:currentColor}
.both{display:inline-block;margin-top:12px;font-size:15px;font-weight:700;color:#F1D58C;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 14px}
