/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8f9fb;
  color: #1a1a2e;
  line-height: 1.65;
}
a { color: #1a5fa8; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.2rem; }
.section { padding: 3.5rem 0; }
.section--alt { background: #eef2f8; }
h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }

/* ─── Header ─── */
.site-header {
  background: #fff;
  border-bottom: 2px solid #1a5fa8;
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .75rem; padding-bottom: .75rem; gap: 1rem;
}
.site-logo { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; }
.site-logo span { color: #1a5fa8; }
.site-phone { font-size: 1.1rem; font-weight: 700; color: #1a5fa8; white-space: nowrap; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { font-size: .95rem; color: #333; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, #1a5fa8 0%, #0d3d73 100%);
  color: #fff; padding: 4rem 0;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 600px; margin-bottom: 1.8rem; opacity: .9; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .7rem 1.6rem;
  border-radius: 6px; font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none; transition: opacity .15s;
}
.btn:hover { opacity: .88; text-decoration: none; }
.btn--primary { background: #f5a623; color: #1a1a2e; }
.btn--outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn--sm { padding: .45rem 1rem; font-size: .9rem; }

/* ─── Services grid ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem;
}
.service-card {
  background: #fff; border-radius: 10px; padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column;
}
.service-card h3 { color: #1a5fa8; }
.service-card p { color: #555; font-size: .95rem; flex: 1; margin: .4rem 0 .8rem; }
.service-price { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: .6rem; }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { text-align: center; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px; border-radius: 50%;
  background: #1a5fa8; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; margin: 0 auto .75rem;
}
.step p { font-size: .95rem; color: #444; }

/* ─── Trust ─── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.trust-item { background: #fff; border-radius: 10px; padding: 1.3rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.trust-icon { font-size: 2rem; margin-bottom: .5rem; }

/* ─── Reviews ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.review-card { background: #fff; border-radius: 10px; padding: 1.4rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.review-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.review-name { font-weight: 600; }
.review-city { font-size: .85rem; color: #777; }
.stars { color: #f5a623; font-size: 1rem; }
.review-text { font-size: .95rem; color: #444; }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid #dde3ec; padding: 1rem 0; }
.faq-q { font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.faq-a { color: #444; font-size: .95rem; }

/* ─── Places footer links ─── */
.places-footer { background: #1a1a2e; color: #ccc; padding: 2.5rem 0; }
.places-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.places-footer a { color: #a8c8f0; font-size: .9rem; }
.places-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.places-col ul { list-style: none; }
.places-col li { margin-bottom: .3rem; }

/* ─── Contact ─── */
.contact-block { background: #1a5fa8; color: #fff; padding: 3rem 0; text-align: center; }
.contact-block h2 { margin-bottom: .5rem; }
.contact-block p { font-size: 1.05rem; opacity: .9; margin-bottom: 1rem; }
.contact-phone { font-size: 2rem; font-weight: 700; color: #f5a623; display: block; margin-bottom: 1rem; }

/* ─── Footer ─── */
.site-footer { background: #111827; color: #9ca3af; padding: 1.5rem 0; font-size: .88rem; text-align: center; }

/* ─── Breadcrumbs ─── */
.breadcrumbs { font-size: .88rem; color: #777; margin-bottom: 1.2rem; }
.breadcrumbs a { color: #1a5fa8; }
.breadcrumbs span + span::before { content: " › "; }

/* ─── Place page ─── */
.place-intro { max-width: 800px; margin-bottom: 1.5rem; font-size: 1.05rem; color: #333; }
.info-box { background: #fff; border-radius: 10px; padding: 1.3rem 1.5rem; margin-bottom: 1.2rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.info-box h3 { margin-bottom: .5rem; color: #1a5fa8; }
.neighbors { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .7rem; }
.neighbors a { background: #eef2f8; border-radius: 6px; padding: .35rem .8rem; font-size: .9rem; }
.service-link { display: inline-block; background: #1a5fa8; color: #fff; border-radius: 6px; padding: .4rem 1rem; margin: .3rem .3rem 0 0; font-size: .9rem; }
.service-link:hover { background: #0d3d73; text-decoration: none; }

/* ─── Page sections ─── */
.page-hero { background: transparent; color: var(--ink); padding: 1.5rem 0 .4rem; }
.page-hero h1 { font-size: 1.7rem; }

/* ─── Admin ─── */
.admin-body { background: #f0f4f8; min-height: 100vh; font-family: inherit; }
.admin-header { background: #1a1a2e; color: #fff; padding: .85rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.admin-header a { color: #a8c8f0; font-size: .9rem; }
.admin-main { max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
.admin-card { background: #fff; border-radius: 10px; padding: 1.5rem 2rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 1.5rem; }
.admin-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid #e5e7eb; font-size: .95rem; }
.admin-table th { background: #f9fafb; font-weight: 600; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid #d1d5db; border-radius: 6px;
  padding: .55rem .75rem; font-size: 1rem; font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #1a5fa8; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: .82rem; color: #6b7280; margin-top: .2rem; }
.alert { padding: .8rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: .95rem; }
.alert--success { background: #d1fae5; color: #065f46; }
.alert--error { background: #fee2e2; color: #991b1b; }
.admin-nav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.admin-nav-item {
  border: 2px solid #e5e7eb; border-radius: 10px; padding: 1.2rem 1rem; text-align: center;
  color: #1a1a2e; transition: border-color .15s;
}
.admin-nav-item:hover { border-color: #1a5fa8; text-decoration: none; }
.admin-nav-item.active { border-color: #1a5fa8; }
.admin-nav-item.disabled { opacity: .45; cursor: default; pointer-events: none; }
.admin-nav-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.admin-nav-label { font-weight: 600; display: block; margin-bottom: .2rem; }
.admin-nav-count { font-size: .85rem; color: #6b7280; }
.admin-nav-soon { font-size: .8rem; color: #9ca3af; }
.login-wrap { max-width: 360px; margin: 6rem auto; padding: 0 1rem; }
.login-card { background: #fff; border-radius: 12px; padding: 2.5rem 2rem; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.login-card h1 { font-size: 1.4rem; margin-bottom: 1.5rem; text-align: center; }

/* ─── Articles ─── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.article-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.article-card__img { width: 100%; height: 190px; object-fit: cover; display: block; }
.article-card__body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.article-card__title { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.article-card__title a { color: #1a1a2e; }
.article-card__date { font-size: .82rem; color: #9ca3af; margin-bottom: .4rem; }
.article-card__desc { font-size: .9rem; color: #555; flex: 1; }
/* Compact article catalog; article cards remain used by related content. */
.articles-list { list-style: none; margin: 0; padding: 0; }
.articles-list li + li { border-top: 1px solid #dce3ec; }
.articles-list a {
  display: block;
  min-height: 48px;
  padding: .75rem 0;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.articles-list a:focus-visible { outline: 2px solid #1a5fa8; outline-offset: 3px; }
.article-single{max-width:760px;margin:0 auto}
/* place/service body: 1 column on mobile, 2 columns (content + sidebar) on desktop */
.body-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}
@media(min-width:820px){.body-grid{grid-template-columns:2fr 1fr}}
/* sitemap page */
.sitemap-grid{display:grid;grid-template-columns:1fr;gap:26px}
@media(min-width:600px){.sitemap-grid{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.sitemap-grid{grid-template-columns:1fr 1fr 1fr}}
.sitemap-block h2{font-size:1.12rem;font-weight:800;margin:0 0 .7rem}
.sitemap-block h2 a{color:var(--ink)}
.sitemap-block h2 a:hover{color:var(--brand)}
.sitemap-block ul{list-style:none;margin:0;padding:0}
.sitemap-block li{margin-bottom:.45rem;line-height:1.35}
.sitemap-block li a{color:var(--brand-d)}
.sitemap-block li a:hover{color:var(--brand);text-decoration:underline}
.sitemap-empty{color:var(--muted);font-size:.9rem}
.article-body { line-height: 1.75; color: #1a1a2e; }
.article-body h2 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.article-body h3 { font-size: 1.1rem; margin: 1.2rem 0 .5rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: .5rem 0 1rem 1.4rem; }
.article-body li { margin-bottom: .3rem; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.article-body th, .article-body td { border: 1px solid #e5e7eb; padding: .5rem .75rem; text-align: left; }
.article-body th { background: #f9fafb; font-weight: 600; }

/* ─── Admin select ─── */
.admin-body select {
  background: #fff;
  cursor: pointer;
}
.admin-body select:focus { outline: none; border-color: #1a5fa8; }
.btn--outline { background: transparent; border: 2px solid #1a5fa8; color: #1a5fa8; }

/* ─── Route card ─── */
.route-card { background: #f0f7ff; border: 1.5px solid #bfdbfe; border-radius: 10px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.route-card__title { font-weight: 700; font-size: 1rem; color: #1a5fa8; margin-bottom: .8rem; }
.route-card__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem .8rem; }
.route-card__item { display: flex; flex-direction: column; }
.route-card__label { font-size: .78rem; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.route-card__val { font-size: 1rem; font-weight: 600; color: #1a1a2e; margin-top: .1rem; }
.route-card__price { color: #1a5fa8; font-size: 1.1rem; }
.route-card__notes { margin-top: .8rem; font-size: .9rem; color: #555; border-top: 1px solid #bfdbfe; padding-top: .7rem; }

/* ─── Pickup info box variant ─── */
.info-box--pickup { border-left: 4px solid #1a5fa8; }

/* ─── Places section grid ─── */
.places-section-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.place-card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); text-decoration: none; color: inherit; transition: box-shadow .15s; }
.place-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.place-card__img-wrap { height: 160px; overflow: hidden; }
.place-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.place-card__name { font-weight: 700; font-size: 1rem; color: #1a1a2e; }
.place-card__desc { font-size: .88rem; color: #555; flex: 1; }
.place-card__link { font-size: .88rem; color: #1a5fa8; font-weight: 600; margin-top: auto; }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  html { font-size: 16px; }
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.6rem; }
  .site-nav { display: none; }
  .contact-phone { font-size: 1.5rem; }
  .route-card__grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   SESSION 7.3 — Homepage redesign «Единая служба перевозки» (ЕСП)
   Design tokens + header/footer/callbar (global) + homepage blocks.
   Inner-page styles (container, page-hero, route-card, …) and admin
   styles (admin-, form-group, …) above are preserved untouched.
   ═══════════════════════════════════════════════════════════════ */

:root{
  --ink:#131c2b; --muted:#586a80; --line:#e6edf6;
  --brand:#1f63e6; --brand-d:#1348bd; --indigo:#3b53f0;
  --accent:#ec3f4b; --accent-d:#cf2b37;
  --teal:#10b6a8; --violet:#7c5cff; --ok:#16a34a;
  --card:#ffffff;
  --sh-sm:0 3px 10px rgba(21,45,89,.07);
  --sh:0 16px 40px rgba(21,45,89,.14);
  --r:20px;
}

/* Global base upgrade: Manrope + soft gradient background */
body{
  font-family:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:var(--ink); line-height:1.55; -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(900px 420px at 94% -8%, #ffdadd 0%, rgba(255,218,221,0) 55%),
    radial-gradient(1000px 500px at 6% 3%, #dbe7ff 0%, rgba(219,231,255,0) 55%),
    linear-gradient(180deg,#f3f7ff, #f8fbff 46%);
  min-height:100vh; min-height:100dvh;
  padding-bottom:env(safe-area-inset-bottom,0px);
  overflow-x:hidden;
}
/* Admin keeps its own look, no sticky call bar spacing */
.admin-body{ padding-bottom:0; background:#f0f4f8; }

.wrap{max-width:1140px;margin:0 auto;padding:0 16px}
.home a{color:inherit;text-decoration:none}
.home h1,.home h2,.home h3{line-height:1.16;letter-spacing:-.02em}

/* ─── Header ─── */
header.hdr{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(160%) blur(12px);backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;gap:7px;height:66px}
.burger{display:inline-flex;background:none;border:0;padding:3px;cursor:pointer;flex:0 0 auto}
.burger svg{width:25px;height:25px;stroke:var(--brand-d);fill:none;stroke-width:2;stroke-linecap:round}
.hdr .logo{display:inline-flex;align-items:center;flex:0 0 auto}
.hdr .logo img{width:auto;vertical-align:middle}
.hdr .logo-full{display:block;height:42px}
.hdr .logo-icon{display:none}
.hdr .city{display:none;align-items:center;gap:2px;color:#57687c;font-weight:700;font-size:.78rem;white-space:nowrap}
.hdr .city svg{width:14px;height:14px;stroke:var(--accent);fill:none;stroke-width:1.8;flex:0 0 auto}
.hdr-utility{display:flex;justify-content:space-between;align-items:center;padding:5px 16px;
  background:#eef3f9;border-bottom:1px solid var(--line);font-size:.75rem;color:#5a6b80;font-weight:600}
.hdr-utility .city{display:inline-flex;font-size:.8rem}
.hdr .wrap>nav{display:none;gap:22px;margin-left:14px;color:var(--muted);font-weight:600;font-size:.95rem}
.hdr .wrap>nav a{color:var(--muted)}
.hdr .wrap>nav a:hover{color:var(--brand)}
.hdr-actions{margin-left:auto;display:flex;align-items:center;gap:7px}
.phone{display:inline-flex;align-items:center;gap:6px;color:var(--brand-d);font-weight:800;white-space:nowrap}
.phone svg{width:16px;height:16px;stroke:var(--brand-d);fill:none;stroke-width:1.7;flex:0 0 auto}
.phone .num{display:block;font-size:.8rem;line-height:1;font-weight:800}
.phone small{display:none;font-weight:600;font-size:.64rem;color:var(--ok)}
.max{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto}
.max svg{width:34px;height:34px;display:block}
/* narrow phones: tighten header so logo+phone+MAX fit without horizontal overflow */
@media(max-width:440px){
  .container{padding:0 14px}
  .hdr .wrap{gap:6px}
  .hdr .logo-full{height:38px}
  .phone .num{font-size:.78rem}
  .phone svg{width:15px;height:15px}
  .max,.max svg{width:32px;height:32px}
}
@media(max-width:345px){ .hdr-actions .max{display:none} }
.mobnav{display:none;position:absolute;top:62px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
  padding:4px 16px 12px;flex-direction:column;box-shadow:var(--sh);z-index:30}
.mobnav.open{display:flex}
.mobnav a{padding:12px 2px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line)}
.mobnav a:last-child{border-bottom:0}

/* ─── Buttons (homepage/footer, pill) ─── */
.btn-call{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;
  border-radius:40px;padding:14px 22px;font-size:1rem;cursor:pointer;border:0;transition:.16s;
  background:var(--accent);color:#fff;box-shadow:0 8px 20px rgba(236,63,75,.42)}
.btn-call:hover{background:var(--accent-d);text-decoration:none}
.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;
  border-radius:40px;padding:14px 22px;font-size:1rem;cursor:pointer;
  background:rgba(255,255,255,.14);color:#fff;border:1.5px solid rgba(255,255,255,.5)}

/* ─── Hero ─── */
.hero{padding:38px 0 6px;background:none;color:inherit}
.card-hero{position:relative;overflow:hidden;border-radius:28px;padding:34px 24px 28px;color:#fff;
  background:linear-gradient(150deg,#3b53f0 0%,#1f63e6 45%,#1348bd 100%);box-shadow:var(--sh)}
.card-hero:before{content:"";position:absolute;inset:0;
  background:radial-gradient(600px 300px at 85% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%)}
.card-hero:after{content:"";position:absolute;right:-40px;bottom:-70px;width:260px;height:260px;
  background:radial-gradient(circle, rgba(236,63,75,.42), rgba(236,63,75,0) 70%);border-radius:50%}
.card-hero>*{position:relative;z-index:1}
.badge-line{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.badge-line span{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.28);
  padding:6px 12px;border-radius:30px;font-size:.78rem;font-weight:700}
.badge-line span.hot{background:var(--accent);border-color:var(--accent)}
.hero h1{font-size:1.92rem;font-weight:800;margin-bottom:12px;color:#fff}
.hero p.lead{opacity:.95;font-size:1.02rem;max-width:660px}

/* hero media slider */
.hero-media{margin-top:22px}
.hslider{position:relative;border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.18);aspect-ratio:4/3}
.hslide{display:none;position:absolute;inset:0}
.hslide.is-on{display:block}
.hslide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hcap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:30px 18px 16px;color:#fff;
  background:linear-gradient(to top,rgba(8,18,42,.92),rgba(8,18,42,.55) 55%,rgba(8,18,42,0))}
.hcap b{display:block;font-size:1.06rem;font-weight:800;line-height:1.32;margin-bottom:7px;letter-spacing:.005em}
.hcap span{display:block;font-size:.82rem;line-height:1.5;opacity:.94}
.harr{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;
  border:0;background:rgba(255,255,255,.85);color:var(--ink);font-size:1.3rem;cursor:pointer;line-height:1}
.harr.prev{left:8px}.harr.next{right:8px}
.hdots{display:flex;gap:7px;justify-content:center;margin-top:12px}
.hdots i{width:8px;height:8px;border-radius:50%;background:rgba(31,99,230,.28);transition:.15s}
.hdots i.on{background:var(--brand);width:22px;border-radius:5px}

/* lead form */
.leadform{display:grid;grid-template-columns:1fr;gap:10px;background:#fff;border-radius:18px;
  padding:14px;box-shadow:0 16px 38px rgba(21,45,89,.18);margin-top:16px}
.lf-field label{display:block;font-size:.74rem;font-weight:700;color:#7a889a;margin-bottom:5px}
.lf-field input{width:100%;border:1px solid #e2e9f2;background:#f6f9fc;border-radius:12px;
  padding:13px 14px;font-size:1rem;color:var(--ink);font-family:inherit}
.lf-field input::placeholder{color:#9aa7b6}
.lf-field input:focus{outline:none;border-color:var(--brand);background:#fff;box-shadow:0 0 0 3px rgba(31,99,230,.12)}
.lf-submit{background:var(--accent);color:#fff;border:0;border-radius:12px;font-weight:800;font-size:1rem;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:15px;transition:.15s}
.lf-submit:hover{background:var(--accent-d)}
.lf-submit svg{width:20px;height:20px;flex:0 0 auto}
.final .leadform{text-align:left;max-width:940px;margin:18px auto 0}

/* universal CTA strip: floats right under the page hero on every inner page */
.cta-under-hero{position:relative;z-index:4;margin-top:14px;margin-bottom:6px}
.cta-under-hero .leadform{max-width:1120px;margin:0 auto}
@media(min-width:820px){.cta-under-hero{margin-top:16px;margin-bottom:10px}}

.facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.fact{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:15px 16px;box-shadow:var(--sh-sm)}
.fact b{display:block;font-size:1.4rem;font-weight:800;
  background:linear-gradient(90deg,var(--brand),var(--indigo));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.fact span{font-size:.82rem;color:var(--muted);font-weight:600}

section.blk{padding:32px 0}
.eyebrow{color:var(--accent-d);font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
h2.sec{font-size:1.55rem;font-weight:800;margin:7px 0 20px}
.sec-sub{margin:-12px 0 22px;color:var(--muted);font-size:1.02rem;line-height:1.55;max-width:640px}

.cards{display:grid;grid-template-columns:1fr;gap:14px}
.svc{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--sh-sm);transition:.18s;position:relative;display:flex;flex-direction:column;color:var(--ink)}
.svc:hover{box-shadow:var(--sh);transform:translateY(-3px);text-decoration:none}
.svc .ic{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;font-size:1.5rem;margin-bottom:13px;color:#fff}
.svc:nth-child(1) .ic{background:linear-gradient(145deg,#2b74f0,#1348bd)}
.svc:nth-child(2) .ic{background:linear-gradient(145deg,#12c3b4,#0a9488)}
.svc:nth-child(3) .ic{background:linear-gradient(145deg,#ff8f36,#ec6407)}
.svc:nth-child(4) .ic{background:linear-gradient(145deg,#8a6dff,#6a45f5)}
.svc h3{font-size:1.12rem;margin-bottom:6px}
.svc p{color:var(--muted);font-size:.92rem;margin-bottom:14px}
.svc .price{font-weight:800;color:var(--brand-d);font-size:1.05rem;margin-top:auto}
.svc .arw{position:absolute;right:18px;bottom:18px;width:30px;height:30px;border-radius:50%;background:#eef4ff;color:var(--brand);display:grid;place-items:center;font-weight:800}

.steps{display:grid;grid-template-columns:1fr;gap:12px;text-align:left;counter-reset:none}
.steps .step{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px 18px 18px 64px;position:relative;box-shadow:var(--sh-sm);text-align:left}
.steps .step .n{position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:12px;
  background:linear-gradient(150deg,var(--indigo),var(--brand-d));color:#fff;font-weight:800;display:grid;place-items:center;font-size:1rem}
.steps .step h3{font-size:1.05rem;margin-bottom:3px}
.steps .step p{color:var(--muted);font-size:.9rem}

.feat{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:359px){.feat,.facts{grid-template-columns:1fr}}
.feat .f{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;box-shadow:var(--sh-sm)}
.feat .f .ic{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:1.35rem;margin-bottom:10px}
.feat .f:nth-child(1) .ic{background:#e6f0ff;color:#1348bd}
.feat .f:nth-child(2) .ic{background:#e2fbf7;color:#0a9488}
.feat .f:nth-child(3) .ic{background:#fff0e0;color:#ec6407}
.feat .f:nth-child(4) .ic{background:#efeaff;color:#6a45f5}
.feat .f h3{font-size:1rem;margin-bottom:4px}
.feat .f p{color:var(--muted);font-size:.86rem}

.revs{display:grid;grid-template-columns:1fr;gap:14px}
.rev{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;box-shadow:var(--sh-sm)}
.rev .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}
.rev .nm{font-weight:800}.rev .ct{color:var(--muted);font-size:.82rem;font-weight:600}
.rev .st{color:var(--accent);letter-spacing:2px;margin-bottom:8px;font-size:.95rem}
.rev p{color:var(--muted);font-size:.9rem}

.faq details{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin-bottom:11px;box-shadow:var(--sh-sm)}
.faq summary{font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:#fff;background:var(--brand);width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.faq details[open] summary::after{content:"–";background:var(--accent)}
.faq details p{color:var(--muted);font-size:.9rem;margin-top:11px}

.final{position:relative;overflow:hidden;background:linear-gradient(150deg,#3b53f0,#1348bd);color:#fff;border-radius:26px;padding:34px 22px;text-align:center;box-shadow:var(--sh);margin:10px 0 36px}
.final:after{content:"";position:absolute;left:-40px;top:-50px;width:220px;height:220px;background:radial-gradient(circle,rgba(236,63,75,.45),rgba(236,63,75,0) 70%);border-radius:50%}
.final>*{position:relative;z-index:1}
.final h2{font-size:1.5rem;margin-bottom:6px;color:#fff}
.final p{opacity:.92;margin-bottom:14px}

/* icon svg sizing inside colored tiles */
.ic svg{width:56%;height:56%;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* tabs + directions slider */
.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:16px;-ms-overflow-style:none;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;background:#fff;border:1px solid var(--line);color:var(--muted);font-weight:700;
  font-size:.92rem;padding:9px 16px;border-radius:30px;cursor:pointer;transition:.15s}
.tab.is-active{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 6px 16px rgba(31,99,230,.28)}
.slider{position:relative}
.track{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory;
  -ms-overflow-style:none;scrollbar-width:none}
.track::-webkit-scrollbar{display:none}
.track[hidden]{display:none}
.dcard{flex:0 0 240px;scroll-snap-align:start;background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:18px;box-shadow:var(--sh-sm);cursor:pointer;transition:.18s;display:block;color:var(--ink)}
.dcard:hover{box-shadow:var(--sh);transform:translateY(-3px);border-color:#cfe0ff;text-decoration:none}
.dcard .dk{display:inline-block;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;
  color:var(--brand);background:#eef4ff;padding:3px 9px;border-radius:20px;margin-bottom:10px}
.dcard h4{font-size:1.1rem;margin-bottom:5px}
.dcard p{color:var(--muted);font-size:.86rem;margin-bottom:12px}
.dcard .dp{font-weight:800;color:var(--brand-d)}

/* photo gallery */
.gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;-ms-overflow-style:none;scrollbar-width:none}
.gallery::-webkit-scrollbar{display:none}
.gphoto{flex:0 0 calc((100% - 12px)/2);aspect-ratio:1/1;scroll-snap-align:start;border-radius:16px;
  display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-sm);position:relative;overflow:hidden;background:#dfe8f4}
.gphoto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gphoto b{position:absolute;left:10px;bottom:10px;z-index:2;background:rgba(255,255,255,.9);color:var(--ink);
  font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:14px}

/* map */
.mapbox{position:relative;height:300px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);box-shadow:var(--sh-sm);background:#e6ebf1}
.mapbox .roads{position:absolute;inset:0;
  background:repeating-linear-gradient(90deg,transparent 0 58px,rgba(60,90,130,.06) 58px 60px),
             repeating-linear-gradient(0deg,transparent 0 58px,rgba(60,90,130,.06) 58px 60px)}
.mapbox .road{position:absolute;background:#fff;box-shadow:0 0 0 1px rgba(60,90,130,.08)}
.mapbox .r1{left:0;right:0;top:46%;height:14px}
.mapbox .r2{top:0;bottom:0;left:38%;width:12px}
.mapbox .r3{left:0;right:0;bottom:20%;height:9px;transform:skewY(-4deg)}
.mappin{position:absolute;left:44%;top:46%;transform:translate(-50%,-100%);z-index:2}
.mapcard{position:absolute;left:16px;bottom:16px;right:16px;max-width:320px;background:#fff;border-radius:14px;
  padding:14px 16px;box-shadow:var(--sh);z-index:3}
.mapcard h4{font-size:1rem;margin-bottom:3px}
.mapcard p{color:var(--muted);font-size:.86rem;margin-bottom:10px}
.mapcard a{display:inline-flex;background:var(--brand);color:#fff;font-weight:700;font-size:.85rem;
  padding:9px 14px;border-radius:24px}
.mapcard a:hover{text-decoration:none}

/* sticky mobile call bar */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;gap:10px;
  padding:10px 14px calc(14px + env(safe-area-inset-bottom,0px));
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
.callbar a{flex:1;text-align:center;font-weight:800;border-radius:30px;padding:14px;font-size:1rem}
.callbar a:hover{text-decoration:none}
.callbar .c1{background:var(--accent);color:#fff}
.callbar .c2{background:#eef4ff;color:var(--brand-d)}

/* ─── Footer (dark) ─── */
footer.ft{background:linear-gradient(180deg,#1a2231,#141b27);color:#9aa8bc;border-top:1px solid rgba(255,255,255,.07);padding:40px 0 0;font-size:.9rem}
.ft-top{display:grid;grid-template-columns:1fr;gap:26px}
.ft-logo{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.ft-logo img{height:44px;width:auto;display:block}
.ft-logo span{color:#fff;font-weight:800;font-size:1.02rem;line-height:1.12;letter-spacing:-.01em}
.ft-brand p{margin:.55rem 0 .9rem;color:#8494a8;font-size:.88rem;max-width:300px;line-height:1.5}
.ft-phone{font-size:1.35rem;font-weight:800;color:#8fb0ff;display:inline-block}
.ft-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.ft-badges span{font-size:.72rem;font-weight:700;color:#a2b0c2;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:4px 10px}
/* contacts as the 4th footer column */
.ft-contacts .fc-line{color:#a2b0c2;font-size:.88rem;line-height:1.4;padding:4px 0}
.ft-contacts .fmax{display:inline-flex;align-items:center;gap:8px}
.ft-contacts .fmax svg{width:20px;height:20px;flex:0 0 auto}
.ft-legal{color:#657386;font-size:.78rem;margin-top:4px}
/* compact footer nav: section names only + sitemap link */
.ft-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px;align-content:start}
.ft-nav__col{display:flex;flex-direction:column}
.ft-nav__col h4{color:#eef3fa;font-size:.9rem;font-weight:800;margin:0 0 8px;letter-spacing:.01em}
.ft-nav a{color:#a2b0c2;padding:4px 0;line-height:1.3;font-weight:600;font-size:.92rem}
.ft-nav a:hover{color:#fff}
.ft-nav .ft-map{grid-column:1/-1;margin-top:14px;color:#8fb0ff;font-weight:800}
.ft-nav .ft-map:hover{color:#bcd0ff}
.ft-bottom{margin-top:24px;border-top:1px solid rgba(255,255,255,.07);padding:14px 0 22px;display:flex;flex-wrap:wrap;
  gap:6px 18px;justify-content:space-between;align-items:center;color:#7a889a;font-size:.82rem}
.ft-bottom nav{display:flex;flex-wrap:wrap;gap:6px 16px}
.ft-bottom a{color:#8a99ad}
.ft-bottom a:hover{color:#fff}
.ft-pay{display:flex;align-items:center;gap:8px}
.ft-pay .pl{font-size:.78rem;color:#6c7c90;margin-right:2px}
.paybadge{height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;
  border:1px solid rgba(255,255,255,.16);border-radius:6px;background:rgba(255,255,255,.06);color:#c2ccda;font-weight:800;font-size:.72rem;letter-spacing:.04em}
.paybadge.visa{font-style:italic;font-family:Georgia,"Times New Roman",serif;font-size:.82rem}
.paybadge.mir{color:#e6ecf4}
.paybadge.mc{padding:0 8px;gap:5px}
.paybadge.mc svg{display:block}

/* ─── Thank-you page ─── */
.thanks-wrap{max-width:640px;margin:0 auto;padding:60px 16px 40px;text-align:center}
.thanks-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:40px 28px;box-shadow:var(--sh)}
.thanks-card .tick{width:72px;height:72px;border-radius:50%;background:#e2fbef;color:var(--ok);display:grid;place-items:center;margin:0 auto 18px}
.thanks-card .tick svg{width:38px;height:38px;stroke:var(--ok);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.thanks-card h1{font-size:1.6rem;margin-bottom:10px}
.thanks-card p{color:var(--muted);margin-bottom:20px}

/* ─── Desktop ─── */
@media(min-width:780px){
  .callbar{display:none}
  body{padding-bottom:0}
  .dcard{flex-basis:260px}
  .gphoto{flex-basis:calc((100% - 36px)/4)}
  .mapbox{height:360px}
  .leadform{grid-template-columns:1fr 1fr 1fr 64px;gap:12px;align-items:end;padding:16px}
  .lf-submit{height:50px;padding:0}
  .lf-submit .lf-txt{display:none}
  .lf-submit svg{width:24px;height:24px}
  .burger{display:none}
  .hdr .wrap>nav{display:flex;margin-left:auto;margin-right:22px}
  .hdr-actions{margin-left:0}
  .hdr .wrap{gap:9px;height:64px}
  .hdr .logo-full{display:block;height:50px}
  .hdr .city{font-size:.9rem;gap:3px}
  .hdr .city svg{width:15px;height:15px}
  .phone .num{font-size:1rem}
  .phone small{display:block}
  .phone svg{width:20px;height:20px}
  .max,.max svg{width:38px;height:38px}
  .hdr-utility{display:none}
  .hdr .city{display:inline-flex}
  .hero{padding:52px 0 6px}
  .hero h1{font-size:2.6rem}
  .card-hero{padding:44px 46px;display:grid;grid-template-columns:1.05fr .92fr;gap:38px;align-items:center}
  .hero-media{margin-top:0}
  .hslider{aspect-ratio:16/10}
  .facts{grid-template-columns:repeat(4,1fr);margin-top:18px}
  .cards{grid-template-columns:repeat(4,1fr)}
  .steps{grid-template-columns:repeat(4,1fr)}
  .feat{grid-template-columns:repeat(4,1fr)}
  .revs{grid-template-columns:repeat(3,1fr)}
  .ft-top{grid-template-columns:260px 1fr;gap:44px}
  .ft-nav{grid-template-columns:repeat(4,1fr);gap:8px 22px}
}

/* ─── Universal inner-page hero: light + card-based (Session 10.3) ─── */
.page-hero .breadcrumbs{color:#8494a6;margin-bottom:14px}
.page-hero .breadcrumbs a{color:var(--brand)}
.page-hero .breadcrumbs a:hover{color:var(--brand-d)}

/* white content card (title + subtitle / meta) */
.hero-box{background:var(--card);border:1px solid var(--line);border-radius:24px;
  padding:24px 22px;box-shadow:0 20px 46px rgba(21,45,89,.08)}
.hero-box h1{font-size:1.65rem;line-height:1.16;color:var(--ink);margin:0}
.hero-box .hero-sub,.page-hero .hero-sub{margin:.7rem 0 0;color:var(--muted);font-size:1.02rem;line-height:1.55}
.hero-meta{margin-top:.7rem;color:var(--muted);font-size:.95rem}
.hero-price{margin-top:.8rem;font-weight:800;font-size:1.2rem;color:var(--brand-d)}

/* two-column layout: text card + image card (article / any page with media) */
.hero-wrap{display:grid;grid-template-columns:1fr;gap:16px;align-items:stretch}
.hero-box--text{display:flex;flex-direction:column;justify-content:center}
.hero-pic{background:linear-gradient(160deg,#eaf1ff,#dbe7ff);border:1px solid var(--line);
  border-radius:24px;padding:14px;display:flex;align-items:center;justify-content:center}
.hero-pic img{width:100%;max-width:460px;aspect-ratio:1/1;object-fit:cover;border-radius:16px;
  display:block;box-shadow:0 14px 34px rgba(6,20,52,.20)}

/* eyebrow now sits on a light card → brand-red accent */
.page-eyebrow{display:inline-block;font-weight:800;font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--accent-d);margin-bottom:.4rem}

@media(min-width:820px){
  .page-hero{padding:1.9rem 0 .5rem}
  .hero-box{padding:36px 40px}
  .hero-box h1{font-size:2.1rem}
  .hero-wrap{grid-template-columns:1.05fr .95fr;gap:22px}
}
.article-body img{border-radius:14px;box-shadow:0 8px 22px rgba(21,45,89,.10);margin:1rem 0}
.article-fig{margin:1.6rem 0}
.article-fig img{width:100%;display:block;margin:0}
.article-fig figcaption{margin-top:.55rem;font-size:.86rem;color:#8090a4;text-align:center}
/* article cards as links */
.article-card{text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s;border:1px solid var(--line)}
.article-card:hover{box-shadow:0 16px 40px rgba(21,45,89,.14);transform:translateY(-3px);text-decoration:none}
.article-card__img{aspect-ratio:1/1;height:auto;width:100%;object-fit:cover}
.article-card__ph{display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,#3b53f0,#1348bd)}
.article-card__ph span{color:#fff;font-weight:800;font-size:1.6rem;letter-spacing:2px;opacity:.9}
.article-card__cat{display:inline-block;font-size:.68rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.05em;color:var(--brand);background:#eef4ff;padding:3px 9px;border-radius:20px;margin-bottom:.5rem}
.article-card__more{color:var(--brand-d);font-weight:700;font-size:.9rem;margin-top:auto;padding-top:.5rem}

/* Cookie consent bar (Session 13.1) */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:1200;padding:12px 16px;
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
  background:#12314f;color:#eaf2fa;box-shadow:0 -4px 20px rgba(10,25,45,.25)}
.cookie-bar[hidden]{display:none}
.cookie-bar__in{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:16px;
  flex-wrap:wrap;justify-content:center}
.cookie-bar__txt{margin:0;font-size:.9rem;line-height:1.5;flex:1;min-width:260px;color:#dbe7f4}
.cookie-bar__txt a{color:#fff;text-decoration:underline}
.cookie-bar__btn{flex:none;background:#2b74f0;color:#fff;border:0;border-radius:10px;
  padding:11px 26px;font-weight:700;font-size:.95rem;cursor:pointer;transition:.15s;font-family:inherit}
.cookie-bar__btn:hover{background:#1348bd}
@media(max-width:560px){
  .cookie-bar__in{flex-direction:column;gap:10px;text-align:center}
  .cookie-bar__btn{width:100%}
}

/* Real map embed (Session 13.2) */
.mapembed{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);box-shadow:var(--sh-sm);line-height:0;background:#eef2f6}
.mapembed iframe{display:block;width:100%;height:400px;border:0}
.mapcard--below{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-sm);
  padding:16px 20px;margin-top:14px}
.mapcard--below h4{margin:0 0 3px;font-size:1.05rem}
.mapcard--below p{margin:0;color:var(--muted);font-size:.92rem}
.mapcard--below .maplink{flex:none;background:#2b74f0;color:#fff;border-radius:10px;padding:10px 20px;
  font-weight:700;font-size:.92rem;white-space:nowrap}
.mapcard--below .maplink:hover{background:#1348bd;text-decoration:none}
@media(max-width:560px){
  .mapembed iframe{height:320px}
  .mapcard--below{flex-direction:column;align-items:flex-start}
  .mapcard--below .maplink{width:100%;text-align:center}
}
