/* =========================================================
   Гранат-Сервис — предрейсовый осмотр
   Design tokens
   ========================================================= */
:root {
  --ink:        #14211E;
  --ink-soft:   #45524E;
  --paper:      #F2F4EE;
  --paper-alt:  #E7EBE1;
  --card:       #FFFFFF;
  --night:      #0F2B27;
  --night-2:    #133B34;
  --amber:      #E2A33B;
  --amber-deep: #C1801F;
  --teal:       #2F7C6E;
  --stamp:      #A6332A;
  --line:       rgba(20, 33, 30, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --shadow: 0 18px 40px -22px rgba(15, 43, 39, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stamp);
  box-shadow: 0 0 0 3px rgba(166, 51, 42, 0.18);
}

.section {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}
.section--paper-alt { background: var(--paper-alt); }
.section--night { background: var(--night); color: #F3F1E8; }
.section--night h1, .section--night h2, .section--night h3 { color: #fff; }
.section--night .eyebrow { color: var(--amber); }
.section--night .eyebrow::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(226, 163, 59, 0.22); }
.section--night p { color: rgba(243, 241, 232, 0.82); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--amber);
  color: var(--night);
}
.btn--primary:hover { background: var(--amber-deep); box-shadow: 0 10px 24px -10px rgba(226, 163, 59, 0.55); }
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); }
.section--night .btn--ghost { border-color: var(--line-light); color: #fff; }
.section--night .btn--ghost:hover { border-color: #fff; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--night);
  color: #F3F1E8;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-word span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 241, 232, 0.6);
  font-weight: 400;
  margin-top: 2px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}
.phone-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.cabinet-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.18s ease;
}
.cabinet-btn:hover { background: #256356; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.icon-btn svg { width: 16px; height: 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding: 76px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(47, 124, 110, 0.08), transparent 45%),
    radial-gradient(circle at 88% 8%, rgba(226, 163, 59, 0.14), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  max-width: 620px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--night);
}
.hero-stat span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* waybill card — signature visual */
.waybill {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 30px 34px;
  transform: rotate(1.4deg);
  border: 1px solid var(--line);
}
.waybill::before {
  content: "";
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 22px);
  border-radius: 0 0 4px 4px;
}
.waybill-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.waybill-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.waybill-title strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}
.waybill-id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
}
.waybill-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}
.waybill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}
.waybill-row span:first-child { color: var(--ink-soft); }
.waybill-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}
.waybill-check svg { width: 14px; height: 14px; }
.waybill-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.waybill-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.waybill-time b { color: var(--ink); font-size: 15px; }

/* stamp */
.stamp {
  --stamp-size: 118px;
  position: absolute;
  width: var(--stamp-size);
  height: var(--stamp-size);
  border-radius: 50%;
  border: 2.5px solid var(--stamp);
  color: var(--stamp);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-11deg);
  mix-blend-mode: multiply;
  opacity: 0.92;
  right: -18px;
  bottom: -22px;
  background: rgba(166, 51, 42, 0.03);
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--stamp);
  border-radius: 50%;
}
.stamp-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* route divider */
.route-divider {
  height: 34px;
  background:
    linear-gradient(var(--line-color, var(--line)), var(--line-color, var(--line))) center / 100% 2px no-repeat,
    radial-gradient(circle, var(--night) 45%, transparent 46%) 0 center / 10px 10px no-repeat;
  background-color: transparent;
  position: relative;
}
.route-divider.on-night { --line-color: rgba(255,255,255,0.18); }

/* =========================================================
   About strip
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { font-size: 16.5px; }
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
}
.trust-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 1px;
}

/* =========================================================
   Advantages
   ========================================================= */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.adv-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}
.adv-icon svg { width: 23px; height: 23px; }
.adv-card h3 { font-size: 17px; margin-bottom: 8px; }
.adv-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.adv-tick {
  position: absolute;
  top: 20px; right: 20px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.adv-tick svg { width: 12px; height: 12px; }

/* =========================================================
   Cost
   ========================================================= */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.price-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  margin: 8px 0 28px;
  transform: rotate(-6deg);
}
.price-badge b {
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
}
.price-badge span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 6px;
}
.price-badge::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px dashed rgba(15,43,39,0.25);
  border-radius: 50%;
}
.cost-copy p { font-size: 16.5px; }
.cost-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cost-image img { width: 100%; height: 100%; object-fit: cover; }
.cost-image-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(15, 43, 39, 0.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* =========================================================
   Locations
   ========================================================= */
.city-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: var(--paper);
  border-radius: 999px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
}
.city-tab {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.city-tab.is-active {
  background: var(--night);
  color: #fff;
}
.city-panel { display: none; }
.city-panel.is-active { display: block; }
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.loc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.loc-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.loc-card-top svg { width: 15px; height: 15px; }
.loc-card h3 { font-size: 16px; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.loc-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; }
.loc-card .phone-location {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.loc-card.is-soon {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--ink-soft);
}
.badge-24 {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--amber);
  color: var(--night);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
}
.loc-howto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.loc-howto svg { width: 15px; height: 15px; color: var(--teal); }
.loc-howto:hover {
  background: var(--night);
  color: #fff;
  border-color: var(--night);
  transform: translateY(-2px);
}
.loc-howto:hover svg { color: var(--amber); }

/* =========================================================
   Lightbox — "Как пройти"
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 39, 0.82);
  backdrop-filter: blur(2px);
}
.lightbox-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-figure {
  margin: 0;
  width: min(80vw, 560px);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}
.lightbox-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  margin: 0 auto;
  background: #0c1a18;
}
.lightbox-figure figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--card);
  overflow-wrap: break-word;
  hyphens: auto;
}
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.lightbox-prev { left: 4vw; }
.lightbox-next { right: 4vw; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav[hidden] { visibility: hidden; }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 700px) {
  .lightbox-figure { width: 86vw; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 2vw; }
  .lightbox-next { right: 2vw; }
  .lightbox-figure img { max-height: 52vh; }
}

/* =========================================================
   Monitoring — личный кабинет для таксопарков
   ========================================================= */
.monitor-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.monitor-panel {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.monitor-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.monitor-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
}
.monitor-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fae4c;
  box-shadow: 0 0 0 3px rgba(47, 174, 76, 0.2);
  animation: monitor-pulse 2s ease-in-out infinite;
}
@keyframes monitor-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.monitor-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.7fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.monitor-row:last-of-type { border-bottom: none; }
.monitor-row--head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-alt);
  padding-top: 11px;
  padding-bottom: 11px;
}
.monitor-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--teal);
}
.monitor-status svg { width: 13px; height: 13px; flex-shrink: 0; }
.monitor-status.is-pending { color: var(--amber-deep); }
.monitor-caption {
  margin: 14px 4px 0;
  font-size: 12.5px;
  color: rgba(243, 241, 232, 0.55);
}

@media (max-width: 1024px) {
  .monitor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .monitor-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "driver status" "point status" "time status";
    row-gap: 2px;
    column-gap: 12px;
  }
  .monitor-row--head { display: none; }
  .col-driver { grid-area: driver; font-weight: 600; }
  .col-point { grid-area: point; font-size: 12.5px; color: var(--ink-soft); }
  .col-time { grid-area: time; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
  .col-status { grid-area: status; align-self: center; }
}

.map-frame {
  position: relative;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-frame img { width: 100%; height: auto; display: block; }
.map-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--night);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(15, 43, 39, 0.5);
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.map-cta svg { width: 16px; height: 16px; color: var(--amber); }
.map-cta:hover { background: var(--night-2); transform: translateY(-2px); }
@media (max-width: 700px) {
  .map-cta { left: 12px; bottom: 12px; padding: 9px 14px; font-size: 13px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--night);
  color: rgba(243, 241, 232, 0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 24px;
}
.footer-brand .brand-word { color: #fff; }
.footer-phone {
  font-family: var(--font-mono);
  font-size: 22px;
  color: #fff;
  font-weight: 500;
}
.footer-socials { display: flex; gap: 10px; }
.footer-legal {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(243, 241, 232, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .has-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .waybill { max-width: 460px; transform: rotate(0.8deg); }
  .about { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-image { max-width: 420px; }
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .topbar-inner { flex-wrap: wrap; row-gap: 12px; }
  .topbar-actions { gap: 10px; flex-wrap: wrap; width: 100%; justify-content: flex-start; }
  .phone-link { order: 3; width: 100%; }
  .phone-link span { display: inline; }
  .icon-btn { order: 1; }
  .brand-word { font-size: 15px; }
  .adv-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .price-badge { width: 138px; height: 138px; }
  .price-badge b { font-size: 27px; }
}
