/* ============================================================
   ГРУЗЧИК ГУД — Modernization layer (loaded after site.css)
   Goal: bolder, more dynamic, but restrained & B2B-serious.
   - Dark patterned hero with subtle motion
   - Disciplined typography (less heavy weight)
   - Scroll-reveal choreography + animated counters
   ============================================================ */

/* ────────────────────────────────────────────────
   1. TYPOGRAPHY DISCIPLINE
   Dial the chunky 900-black headings down to a tighter,
   more editorial weight. Reads premium, not shouty.
   ──────────────────────────────────────────────── */
.h2 {
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}
.hero h1,
.stat__num,
.hero__chip .num,
.hero__meta-item b {
  font-weight: var(--fw-bold);
}

/* Editorial overline: thin rule + tracked label */
/* Editorial section-index system: 01 | OVERLINE TEXT
   Auto-numbered via CSS counters — gives the page a structured,
   agency-grade rhythm with zero per-section markup. */
body { counter-reset: gg-sec; }
.section-head { counter-increment: gg-sec; }
.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-navy-500);
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
}
.overline::before {
  content: counter(gg-sec, decimal-leading-zero);
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: 1.25em;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-navy-900);
  padding-right: var(--space-3);
  border-right: 2px solid var(--color-yellow-400);
  flex-shrink: 0;
}
.section-head--center .overline { justify-content: center; }
.section--navy .overline { color: var(--color-navy-200); }
.section--navy .overline::before { color: #fff; border-color: var(--color-yellow-400); }

/* Give section heads a touch more air + tighter h2 */
.section-head .h2 { margin-top: var(--space-3); max-width: 22ch; }
.section-head--center .h2 { margin-inline: auto; }

/* ────────────────────────────────────────────────
   2. DARK HERO
   ──────────────────────────────────────────────── */
.hero--dark {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-900);
  color: #fff;
  border-bottom: none;
  isolation: isolate;
}
.hero--dark::after {
  /* soft fade into the page at the very bottom */
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(11, 14, 28, 0.5));
  pointer-events: none;
  z-index: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* blueprint dot grid, fading out to the left/bottom */
.hero__dots {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 80% 10%, #000 30%, transparent 75%);
}
/* warm amber glow behind the media */
.hero__glow {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(249, 183, 45, 0.20), rgba(249, 183, 45, 0.05) 55%, transparent 72%);
  filter: blur(8px);
}
/* faint diagonal hazard band — industrial nod, very low key */
.hero__stripe {
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 50%;
  height: 140%;
  transform: rotate(14deg);
  background: repeating-linear-gradient(
    -45deg,
    rgba(249, 183, 45, 0.045) 0 14px,
    transparent 14px 34px
  );
  -webkit-mask-image: linear-gradient(to top, #000, transparent 80%);
          mask-image: linear-gradient(to top, #000, transparent 80%);
}
/* drifting cardboard moving-boxes = the "animated pictures", abstract & quiet */
/* realistic cardboard moving-boxes (restored from Версия 1) — thin lines, gentle drift */
.crate {
  position: absolute;
  color: rgba(255, 255, 255, 0.18);
  border: 1.6px solid currentColor;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.025);
  animation: crate-drift 18s ease-in-out infinite;
}
/* lid seam where the two top flaps fold down */
.crate::before {
  content: "";
  position: absolute;
  left: -1.6px; right: -1.6px;
  top: 37%;
  height: 1.6px;
  background: currentColor;
  opacity: .7;
}
/* packing tape running up between the flaps */
.crate::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.6px;
  width: 1.6px;
  height: calc(37% + 1.6px);
  transform: translateX(-50%);
  background: currentColor;
  opacity: .7;
}
.crate--1 { width: 64px;  height: 60px;  top: 12%;  left: 47%; color: rgba(249,183,45,.34); animation-duration: 16s; }
.crate--2 { width: 42px;  height: 40px;  top: 80%;  left: 50%; animation-duration: 21s; animation-delay: -4s; }
.crate--3 { width: 92px;  height: 86px;  top: 56%;  left: 88%; color: rgba(58,110,212,.40); animation-duration: 24s; animation-delay: -8s; }
.crate--4 { width: 36px;  height: 34px;  top: 13%;  left: 92%; animation-duration: 19s; animation-delay: -2s; }
.crate--5 { width: 54px;  height: 50px;  top: 44%;  left: 44%; animation-duration: 23s; animation-delay: -11s; }
@keyframes crate-drift {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-26px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.hero--dark .hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.08fr .92fr;
  padding-block: var(--space-20) var(--space-16);
  align-items: center;
}

/* eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-navy-200);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-6);
}
.hero__eyebrow-rule {
  width: 32px;
  height: 2px;
  background: var(--color-yellow-400);
  flex-shrink: 0;
}

.hero--dark h1 {
  color: #fff;
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero--dark h1 .accent {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--color-yellow-400);
}
.hero--dark .hero__sub {
  color: var(--color-navy-200);
  font: var(--style-body-lg);
  margin-top: var(--space-6);
  max-width: 46ch;
}
.hero--dark .hero__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-7);
}
.hero--dark .hero__list li {
  color: var(--color-navy-100);
  font-size: var(--text-base);
  gap: var(--space-2-5);
}
.hero--dark .hero__list .ic {
  width: 18px; height: 18px;
  color: var(--color-navy-900);
  background: var(--color-yellow-400);
  border-radius: var(--radius-full);
  padding: 3px;
  box-sizing: border-box;
}
.hero--dark .hero__btns { margin-top: var(--space-8); }

/* light outline CTA for dark bg */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.30);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-light:active { transform: translateY(1px); }

/* hero meta row */
.hero__meta {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-item b {
  font-family: var(--ff-display);
  font-size: var(--text-3xl);
  color: #fff;
  line-height: 1;
}
.hero__meta-item span {
  font-size: var(--text-sm);
  color: var(--color-navy-300);
}

/* media: framed image + floating chips */
.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.hero--dark .hero__frame image-slot {
  width: 100%;
  height: 460px;
  --is-bg: rgba(255, 255, 255, 0.05);
}
.hero__corner {
  position: absolute;
  width: 34px; height: 34px;
  border: 2.5px solid var(--color-yellow-400);
  z-index: 3;
}
.hero__corner--tl { top: -6px; left: -6px; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.hero__corner--br { bottom: -6px; right: -6px; border-left: none; border-top: none; border-bottom-right-radius: 6px; }

.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: chip-float 6s ease-in-out infinite;
}
.hero__chip--rate {
  top: var(--space-5);
  left: calc(-1 * var(--space-6));
  font-size: var(--text-sm);
}
.hero__chip--rate b { display: block; color: var(--color-navy-900); font-size: var(--text-sm); }
.hero__chip--rate span { color: var(--text-muted); font-size: var(--text-xs); }
.hero__chip--fill {
  bottom: var(--space-6);
  right: calc(-1 * var(--space-5));
  animation-delay: -3s;
}
.hero__chip--fill .num { font-family: var(--ff-display); font-size: var(--text-3xl); color: var(--color-navy-900); line-height: 1; }
.hero__chip--fill .lbl { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.3; }
.hero__chip-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-success); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(24, 169, 106, 0.5);
  animation: pulse-dot 2.2s ease-out infinite;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(24, 169, 106, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(24, 169, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 169, 106, 0); }
}

/* ────────────────────────────────────────────────
   3. INDUSTRIES MARQUEE
   ──────────────────────────────────────────────── */
.marquee {
  background: var(--color-navy-800);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  width: max-content;
  padding-block: var(--space-4);
  animation: marquee-scroll 38s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2-5);
  color: var(--color-navy-200);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee__item svg { width: 18px; height: 18px; color: var(--color-yellow-400); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ────────────────────────────────────────────────
   4. SECTION POLISH — patterns & accents
   ──────────────────────────────────────────────── */
/* quiet dot texture on the dark stats / order bands */
.section--navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(58, 110, 212, 0.18), transparent 55%),
    var(--color-navy-900);
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
          mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}
.section--navy .container { position: relative; z-index: 1; }

/* card hover: hairline turns amber, slightly snappier lift */
.adv-card, .svc-card, .work-card, .why-card, .news-card, .step {
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.adv-card { position: relative; }
.adv-card::before {
  content: "";
  position: absolute;
  top: -1px; left: var(--space-6); right: var(--space-6);
  height: 3px;
  background: var(--color-yellow-400);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.adv-card:hover::before { transform: scaleX(1); }

.icon-chip {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.adv-card:hover .icon-chip,
.work-card:hover .icon-chip {
  background: var(--color-yellow-400);
  color: var(--color-navy-900);
}

/* work-card gets a numbered, more dynamic feel on hover */
.work-card:hover { border-color: var(--color-yellow-300); }

/* steps: connecting amber dashes + numbered pop */
.step:hover .step__n { transform: scale(1.06); }
.step__n { transition: transform .2s ease; }

/* stat cards on dark band — make them feel like data tiles */
.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-5);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.stat:hover {
  border-color: rgba(249, 183, 45, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

/* price table header keeps strong, but add amber active tab accent already exists */
.price-cta-card { position: relative; overflow: hidden; }
.price-cta-card::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(closest-side, rgba(249,183,45,.25), transparent);
}

/* ────────────────────────────────────────────────
   5. SCROLL REVEAL
   Hidden state only applies when JS marks the doc ready
   AND the user hasn't asked for reduced motion.
   ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ────────────────────────────────────────────────
   6. RESPONSIVE
   ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero--dark .hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__chip--rate { left: var(--space-3); }
  .hero__chip--fill { right: var(--space-3); }
  .hero--dark .hero__sub { max-width: none; }
}
@media (max-width: 680px) {
  .hero--dark .hero__list { grid-template-columns: 1fr; }
  .hero__meta { gap: var(--space-6); }
  .hero__meta-item b { font-size: var(--text-2xl); }
  .hero--dark .hero__frame image-slot { height: 320px; }
  .hero__chip--rate { top: var(--space-3); }
  .crate { display: none; }
}

/* ════════════════════════════════════════════════
   7. EDITORIAL CRAFT LAYER
   Magazine numerals, a connected process flow, and
   premium micro-interactions — confident, not loud.
   ════════════════════════════════════════════════ */

/* ── Advantages: faint ghost index + sharper structure ── */
.adv-grid { counter-reset: gg-adv; }
.adv-card {
  counter-increment: gg-adv;
  overflow: hidden;
}
.adv-card > * { position: relative; z-index: 1; }
.adv-card::after {
  content: counter(gg-adv, decimal-leading-zero);
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-1);
  z-index: 0;
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--color-navy-900);
  opacity: 0.05;
  transition: opacity .25s ease, color .25s ease;
}
.adv-card:hover::after { opacity: 0.12; color: var(--color-yellow-600); }

/* ── "Почему" cards: outlined magazine numerals, tucked into the corner ── */
.why-card { overflow: hidden; }
.why-card__n {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 2.6vw, 2.5rem) !important;
  top: var(--space-3);
  right: var(--space-4);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-yellow-400);
  opacity: 0.9;
  transition: color .25s ease, -webkit-text-stroke-color .25s ease;
}
.why-card:hover .why-card__n {
  color: var(--color-yellow-100);
  -webkit-text-stroke-color: var(--color-yellow-500);
}

/* ── Process: connected amber flow line through the nodes ── */
.steps { position: relative; }
.step { position: relative; z-index: 1; }
@media (min-width: 681px) {
  .steps::before {
    content: "";
    position: absolute;
    top: calc(var(--space-7) + 24px);
    left: 13%;
    right: 13%;
    height: 2px;
    transform: translateY(-1px);
    background-image: linear-gradient(to right, var(--color-yellow-400) 0 55%, transparent 0);
    background-size: 16px 2px;
    z-index: 0;
  }
}

/* ── Reviews: oversized editorial quotation glyph ── */
.review-card { position: relative; overflow: hidden; }
.review-card > * { position: relative; z-index: 1; }
.review-card::after {
  content: "\201D";
  position: absolute;
  top: -0.28em;
  right: 0.12em;
  z-index: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  color: var(--color-yellow-200);
  opacity: 0.55;
  pointer-events: none;
}

/* ── Service & news cards: quiet image zoom on hover ── */
.svc-card image-slot,
.news-card image-slot {
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.svc-card:hover image-slot,
.news-card:hover image-slot { transform: scale(1.05); }

/* card body arrow nudges on hover */
.svc-card:hover .link-more { gap: var(--space-3); color: var(--color-blue-700); }

/* ── Section heads: a touch more presence ── */
.section-head .h2 { letter-spacing: -0.02em; }
.overline { margin-bottom: var(--space-4); }

/* ── Duotone custom icons (work + stats blocks) ── */
.icon-chip .duo { width: 30px; height: 30px; display: block; }
.stat .icon-chip .duo { width: 32px; height: 32px; }
.duo .df { fill: currentColor; opacity: .20; stroke: none; }
.duo .dl {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* let the chip read as a crafted badge, not a flat tile */
.work-card .icon-chip,
.stat .icon-chip {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(27, 32, 56, 0.06);
}
.stat .icon-chip { box-shadow: inset 0 0 0 1px rgba(249, 183, 45, 0.22); }
/* image-based stat icons — transparent gold PNGs on the navy band */
.stat-img {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto var(--space-4);
}
.stat-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.work-card:hover .icon-chip .duo { transform: scale(1.06); }
.icon-chip .duo { transition: transform .25s ease; }
/* image-based work icons — square, full image, matches direction-icon treatment */
.icon-chip--img {
  width: 75px;
  height: 75px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(27, 32, 56, 0.08);
}
.icon-chip--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card:hover .icon-chip--img { background: #fff; }
/* tighten work cards with image icons — less air above & below the icon */
.work-card:has(.icon-chip--img) { padding-block: var(--space-4) var(--space-6); }
.work-card .icon-chip--img + h3 { margin-top: var(--space-3); }

/* ════════════════════════════════════════════════
   8. CHANGE-REQUEST LAYER (latest round)
   ════════════════════════════════════════════════ */

/* ── 8.1  Topbar "Заказать звонок" → solid yellow so it stands out ── */
.topbar .topbar__call {
  background: var(--color-yellow-400);
  color: var(--color-navy-900);
  border-color: var(--color-yellow-400);
  font-weight: var(--fw-semibold);
}
.topbar .topbar__call:hover {
  background: var(--color-yellow-500);
  border-color: var(--color-yellow-500);
  color: var(--color-navy-900);
}

/* ── 8.2  Advantages → compact horizontal cards ── */
.adv-grid { gap: var(--space-5); }
.adv-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: var(--space-6) var(--space-7);
  min-height: 128px;
}
.adv-card p { font-size: var(--text-base); padding-right: var(--space-7); line-height: var(--leading-snug); }
/* outlined magazine numeral tucked into the top-right corner (like .why-card__n) */
.adv-card__n {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-yellow-400);
  transition: color .25s ease, -webkit-text-stroke-color .25s ease;
}
.adv-card:hover .adv-card__n {
  color: var(--color-yellow-100);
  -webkit-text-stroke-color: var(--color-yellow-500);
}
/* the top accent rule spans the card padding */
.adv-card::before { left: var(--space-7); right: var(--space-7); }

/* ── 8.3  Directions → four large tiles stacked on the left, image on the right ── */
.dir-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: var(--space-7);
  align-items: stretch;
}
.dir-tiles {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.dir-media {
  position: sticky;
  top: var(--space-8);
  align-self: stretch;
}
.dir-media image-slot {
  width: 100%;
  height: 100%;
  min-height: 340px;
}
.dir-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-5);
  align-items: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-5) var(--space-6);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
/* growing left accent bar */
.dir-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--space-5);
  bottom: var(--space-5);
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--color-yellow-400);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.dir-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-yellow-300);
}
.dir-tile:hover::before { transform: scaleY(1); }
.dir-tile__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--color-yellow-100);
  color: var(--color-yellow-700);
  box-shadow: inset 0 0 0 1px rgba(249, 183, 45, 0.25);
  transition: background .25s ease, color .25s ease;
}
.dir-tile:hover .dir-tile__icon {
  background: var(--color-yellow-400);
  color: var(--color-navy-900);
}
.dir-tile__icon .duo { width: 30px; height: 30px; display: block; }
/* image-based direction icons — fill the chip, keep its size & rounding */
.dir-tile__icon--img {
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(27, 32, 56, 0.08);
  width: 112px;
  height: 112px;
}
.dir-tile__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dir-tile:hover .dir-tile__icon--img { background: #fff; }
.dir-tile__body h3 {
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  color: var(--color-navy-900);
  margin-bottom: var(--space-2);
}
.dir-tile__body p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}
.dir-tile__arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-border-mid);
  color: var(--color-navy-500);
  flex-shrink: 0;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.dir-tile__arrow svg { width: 18px; height: 18px; }
.dir-tile:hover .dir-tile__arrow {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ── 8.4  Footer "Заказать звонок" → classic, dark text, centered ── */
.footer__call {
  margin-top: var(--space-5);
  text-align: center;
}
.footer__contacts .footer__call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-yellow-400);
  color: var(--color-navy-900);
  border: 1px solid var(--color-yellow-400);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-7);
  font-weight: var(--fw-semibold);
  transition: background .15s ease, border-color .15s ease;
}
.footer__contacts .footer__call-btn:hover {
  background: var(--color-yellow-500);
  border-color: var(--color-yellow-500);
  color: var(--color-navy-900);
}

@media (max-width: 980px) {
  .dir-layout { grid-template-columns: 1fr; }
  .dir-media { position: static; order: -1; }
  .dir-media image-slot { min-height: 300px; }
}
@media (max-width: 680px) {
  .dir-tile { padding: var(--space-5); grid-template-columns: 1fr; gap: var(--space-3); }
  .dir-tile__arrow { display: none; }
}

/* ════════════════════════════════════════════════
   9. CHANGE-REQUEST LAYER (v2)
   ════════════════════════════════════════════════ */

/* ── 9.1  Advantages: numbered chips 01–04 instead of icons ── */
.icon-chip--num {
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
/* the chip already shows the number — drop the faint ghost numeral so it isn't doubled */
.adv-card::after { content: none; }

/* ── 9.2  Reviews: attached photo strip ── */
.review-card__photos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2-5);
  margin-top: auto;
  padding-top: var(--space-2);
}
.review-card__photos image-slot {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  --is-bg: var(--color-navy-50);
}

/* ── 9.3  Thank-you letters carousel (A4 cards, view-only) ── */
.letter-card {
  flex: 0 0 calc(((100% - 2 * var(--space-6)) / 3) * 0.8);
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.letter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-yellow-300);
}
.letter-card image-slot {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.414; /* A4 portrait */
  display: block;
  --is-bg: var(--color-navy-50);
}
@media (max-width: 1080px) {
  .letter-card { flex-basis: calc((100% - var(--space-6)) / 2); }
}
@media (max-width: 680px) {
  .letter-card { flex-basis: 100%; }
}

/* ════════════════════════════════════════════════
   10. CHANGE-REQUEST LAYER (v2 — round 2)
   ════════════════════════════════════════════════ */

/* ── 10.1  Prices: image swaps with the selected industry tab ── */
.price-media { display: grid; }
.price-media .price-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.price-media .price-img.is-active {
  opacity: 1;
  visibility: visible;
}

/* ── 10.2  Reviews: avatar is now an uploadable circle slot ── */
.gg-avatar--slot {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  --is-bg: var(--color-blue-100);
}

/* ── 10.3  Thank-you letters block on dark navy ── */
.letters--dark .slider__track { justify-content: center; }
.letters--dark .h2 { color: #fff; }
/* arrows flanking the letters: left arrow on the left, right on the right, centred */
.slider-flank {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.slider-nav { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-7); }
.slider-flank .slider { flex: 1; min-width: 0; }
.slider-btn--side { flex-shrink: 0; }
.letters--dark .slider-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.letters--dark .slider-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── 10.4  News cards: reading time beside the date ── */
.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.news-card__meta .news-card__date { margin-top: 0; }
.news-card__time {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.news-card__time .ic { width: 14px; height: 14px; }

/* ── 10.5  Consent checkbox ── */
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2-5);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  cursor: pointer;
  margin: var(--space-1) 0 var(--space-1);
}
.consent__box {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1.5px solid var(--color-border-mid);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.consent__box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .15s ease;
  margin-top: -2px;
}
.consent__box:checked {
  background: var(--color-yellow-400);
  border-color: var(--color-yellow-400);
}
.consent__box:checked::after { transform: rotate(-45deg) scale(1); }
.consent a { color: var(--color-blue-500); text-decoration: underline; }
.section--navy .consent { color: var(--color-navy-200); }
.section--navy .consent a { color: var(--color-blue-300); }
/* The order form is a white card sitting inside the navy band — render its consent
   exactly like the calculator's (dark text + classic blue link). Doubled class
   raises specificity above the .section--navy rules above. */
.order-form-card.order-form-card .consent { margin-top: var(--space-6); margin-bottom: 0; color: var(--text-secondary); }
.order-form-card.order-form-card .consent a { color: var(--color-blue-500); }

/* ── 10.6  Call-back popup modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: var(--space-5);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 28, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade .2s ease;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: modal-pop .25s cubic-bezier(.22,.61,.36,1);
}
.modal__dialog .field { margin: 0; }
.modal__sub { color: var(--text-secondary); font-size: var(--text-sm); margin: calc(-1 * var(--space-2)) 0 var(--space-1); }
.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-navy-50);
  color: var(--color-navy-600);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--color-navy-100); color: var(--color-navy-900); }
.modal__close svg { width: 18px; height: 18px; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ── 10.8  link-more as a <button> (prices "show more") ── */
button.link-more {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ── 10.7  Nested submenu (flyout) inside the header dropdown ── */
.dropdown__sub { position: relative; }
.dropdown__parent {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.dropdown__parent .caret-r { width: 14px; height: 14px; color: var(--color-navy-400); flex-shrink: 0; }
.dropdown__sub:hover > .dropdown__parent { background: var(--color-navy-50); color: var(--color-blue-600); }
.dropdown__sub:hover > .dropdown__parent .caret-r { color: var(--color-blue-600); }
.flyout {
  position: absolute;
  top: calc(-1 * var(--space-2));
  left: calc(100% + var(--space-2));
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 80;
}
.dropdown__sub:hover .flyout { opacity: 1; visibility: visible; transform: translateX(0); }
.flyout a {
  display: block;
  padding: var(--space-2-5) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-navy-700);
  transition: background .12s, color .12s;
}
.flyout a:hover { background: var(--color-navy-50); color: var(--color-blue-600); }

/* ── 10.9  Fleet: enlarged stage on the left, click-to-switch thumbnails ── */
.fleet-stage {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-navy-50);
  border: 1px solid var(--color-border);
}
.fleet-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  opacity: 1;
  transition: opacity .3s ease;
}
.fleet-stage.is-filled img { display: block; }
.fleet-stage.is-filled .fleet-stage__empty { display: none; }
.fleet-stage__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.fleet-stage__empty svg { width: 40px; height: 40px; opacity: .55; }
/* active thumbnail */
.fleet-thumbs image-slot {
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .15s ease, transform .15s ease;
}
.fleet-thumbs image-slot:hover { transform: translateY(-2px); }
.fleet-thumbs image-slot.is-active { outline-color: var(--color-yellow-400); }
