/* ==========================================================================
   Nishant Ranawat, MD — Vascular Neurology

   Layout follows hunter-healthcare.com: an editorial grid built from hairlines
   and whitespace, a very large light-weight display face with one coloured
   phrase, overlapping offset hero imagery with crosshair marks, and a pill CTA
   in the header. Their palette is black on white; this is the same structure
   rendered in deep navy.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #050b17;
  --navy-950:   #070f1f;
  --navy-900:   #0a1628;
  --navy-850:   #0d1c33;
  --navy-800:   #102340;

  --accent:     #7fb2ff;   /* the coloured phrase in a headline */
  --accent-mid: #4f93ff;
  --accent-deep:#2f7cf6;

  --text:       #f2f6fd;
  --text-soft:  #c6d4ea;
  --text-mute:  #8ea2c2;
  --text-faint: #61748f;

  --line:       rgba(150, 178, 224, 0.17);
  --line-soft:  rgba(150, 178, 224, 0.09);
  --line-bold:  rgba(150, 178, 224, 0.34);

  --shell:      1340px;
  --pad:        clamp(20px, 4.2vw, 68px);

  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  --header-h:   92px;

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* fallback */
  overflow-x: clip;     /* `hidden` makes body a scroll container and kills sticky */
}
body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent-deep); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.u-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; white-space: nowrap; clip: rect(0 0 0 0);
  clip-path: inset(50%); border: 0; text-transform: none;
}

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 300;
  padding: 12px 20px; border-radius: 999px;
  background: #fff; color: var(--navy-900); font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

/* --------------------------------------------------------------------------
   3. Display type — large, light, tight. The single most important rule here.
   -------------------------------------------------------------------------- */
.display {
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-size: clamp(2.9rem, 6.6vw, 6.4rem);
}
.display--md { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.display--sm { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.02; }

.h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.022em; }
.h4 { font-size: clamp(1.08rem, 1.35vw, 1.24rem); font-weight: 600; letter-spacing: -0.015em; }

.eyebrow {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

.lede {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.5; font-weight: 500;
  color: var(--text);
}
.body-copy { color: var(--text-mute); font-size: 1.02rem; line-height: 1.66; }
.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 24px; border-radius: 999px;
  background: #fff; color: var(--navy-900);
  font-weight: 600; font-size: 0.92rem; letter-spacing: -0.005em;
  border: 1px solid #fff;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pill:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.pill--lg { padding: 16px 34px; font-size: 1rem; }
.pill--ghost { background: transparent; color: var(--text); border-color: var(--line-bold); }
.pill--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* Arrow link — the workhorse, replaces most of the old icon chrome */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-bold);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.35s var(--ease-out);
}
.arrow-link::after {
  content: ""; width: 16px; height: 9px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M0 4.5h14M10.5.7 14.3 4.5 10.5 8.3' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M0 4.5h14M10.5.7 14.3 4.5 10.5 8.3' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center/contain;
}
.arrow-link:hover { color: var(--accent); border-color: var(--accent); gap: 18px; }

.plain-link {
  font-weight: 600; color: var(--text-soft);
  border-bottom: 1px solid var(--line-bold); padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.plain-link:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   5. Crosshair marks — the reference scatters these around its hero imagery
   -------------------------------------------------------------------------- */
.crosses { position: absolute; inset: -16px; pointer-events: none; }
.crosses i {
  position: absolute; width: 12px; height: 12px; opacity: 0.75;
  transform: translate(-50%, -50%);
  background: var(--accent-mid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* --------------------------------------------------------------------------
   6. Splash
   -------------------------------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { display: grid; justify-items: center; gap: 20px; color: var(--accent); }
.splash__mark { width: 74px; height: 74px; }
.splash__mark rect { opacity: 0.4; }
.splash__mark path {
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: draw 1s var(--ease-out) 0.1s forwards;
}
.splash__mark path:last-child { animation-delay: 0.28s; }
.splash__word {
  font-size: 0.68rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--text-faint); opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.7s forwards;
}
@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.45s var(--ease), background 0.35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(5, 11, 23, 0.88);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}
.site-header.is-up { transform: translateY(-101%); }

.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

/* Logo lockup */
.logo { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.logo__mark { width: 40px; height: 40px; color: var(--text); flex: 0 0 auto;
  transition: color 0.3s var(--ease); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__words { display: grid; gap: 1px; }
.logo__l1 { font-size: 1.04rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.14;
  transition: color 0.3s var(--ease); }
.logo__l2 { font-size: 0.65rem; font-weight: 500; line-height: 1.14;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); }
.logo:hover .logo__mark { color: var(--accent); }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); }
.nav__item { position: static; }
.nav__link {
  display: inline-block; padding: 10px 2px; position: relative;
  font-size: 0.95rem; font-weight: 500; color: var(--text-soft);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__item:hover .nav__link,
.nav__item.is-open .nav__link,
.nav__item.is-current .nav__link { color: #fff; }
.nav__item:hover .nav__link::after,
.nav__item.is-open .nav__link::after,
.nav__item.is-current .nav__link::after { transform: scaleX(1); transform-origin: left; }

/* Mega */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(7, 15, 31, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  display: grid; grid-template-columns: 1fr 1fr 0.85fr;
  gap: clamp(28px, 4vw, 70px); padding-block: 46px 50px; align-items: start;
}
.mega__eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px; }
.mega__blurb { color: var(--text-soft); font-size: 1.05rem; line-height: 1.5; max-width: 32ch; }
.mega__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  font-weight: 600; color: var(--accent); transition: gap 0.35s var(--ease-out); }
.mega__cta:hover { gap: 16px; }
.mega__links { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.mega__links a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft); font-weight: 500;
  transition: color 0.3s var(--ease), padding-left 0.35s var(--ease-out);
}
.mega__links a:hover { color: #fff; padding-left: 12px; }
.mega__media { aspect-ratio: 4/3; overflow: hidden; }
.mega__media img { width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.55) brightness(0.7); }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone { font-size: 0.92rem; font-weight: 600; color: var(--text-soft);
  transition: color 0.3s var(--ease); }
.header-phone:hover { color: var(--accent); }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 999px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 17px; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.2px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 880; background: var(--ink);
  padding-top: var(--header-h); overflow-y: auto;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner { padding: 22px var(--pad) 64px; }
.mobile-menu__item { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
.mobile-menu__item > a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.6rem; font-weight: 300; letter-spacing: -0.025em; padding: 18px 0 10px;
}
.mobile-menu__item > a .c-icon { color: var(--accent); }
.mobile-menu__item ul { display: grid; gap: 1px; }
.mobile-menu__item ul a { display: block; padding: 7px 0; color: var(--text-mute); font-size: 0.96rem; }
.mobile-menu__foot { display: grid; gap: 20px; margin-top: 36px; justify-items: start; }
.mobile-menu__phone { font-size: 1.4rem; font-weight: 300; letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   8. Reveals
   -------------------------------------------------------------------------- */
.reveal[data-reveal="up"],
.reveal[data-reveal="fade"],
.reveal[data-reveal="right"] {
  opacity: 0; transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal[data-reveal="up"]    { transform: translateY(40px); }
.reveal[data-reveal="right"] { transform: translateX(56px); }
.reveal.in-view[data-reveal="up"],
.reveal.in-view[data-reveal="fade"],
.reveal.in-view[data-reveal="right"] { opacity: 1; transform: none; }

.reveal .reveal-child {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view .reveal-child { opacity: 1; transform: none; }
.reveal.in-view .reveal-child:nth-child(1) { transition-delay: 0.08s; }
.reveal.in-view .reveal-child:nth-child(2) { transition-delay: 0.18s; }
.reveal.in-view .reveal-child:nth-child(3) { transition-delay: 0.28s; }
.reveal.in-view .reveal-child:nth-child(4) { transition-delay: 0.38s; }

.stagger > * {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.16s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.27s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.38s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.47s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.56s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.63s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.70s; }
.stagger.in-view > *:nth-child(n+9) { transition-delay: 0.76s; }

/* Masked word rise */
.w-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.w-word { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.w-word.is-accent { color: var(--accent); }
[data-split].is-revealed .w-word { transform: none; }

/* Image mask */
.img-mask { position: relative; overflow: hidden; }
.img-mask::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateX(0); transition: transform 1.1s var(--ease-out) 0.1s;
}
.img-mask img { transform: scale(1.1); transition: transform 1.5s var(--ease-out) 0.1s; }
.in-view .img-mask::after, .img-mask.in-view::after { transform: translateX(101%); }
.in-view .img-mask img, .img-mask.in-view img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal .reveal-child, .stagger > * { opacity: 1 !important; transform: none !important; }
  .w-word { transform: none !important; }
  .img-mask::after { display: none; }
  .img-mask img { transform: none !important; }
  .splash { display: none; }
}

/* --------------------------------------------------------------------------
   8b. Ambient background decoration
       A fine dot grid, a faint vessel-tree line drawing and soft glows, so the
       flat navy sections have some depth without competing with the content.
   -------------------------------------------------------------------------- */
.section, .cta, .page-hero { position: relative; }
.section > *, .cta > *, .page-hero > * { position: relative; z-index: 1; }

/* Dot grid */
.bg-dots::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(150, 178, 224, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.55;
}

/* Vessel-tree line art, used as a large faint watermark */
.bg-vessel::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(420px, 46vw, 760px); aspect-ratio: 1;
  background: var(--accent-mid);
  -webkit-mask: url("../img/vessel-tree.svg") no-repeat center/contain;
          mask: url("../img/vessel-tree.svg") no-repeat center/contain;
  opacity: 0.07;
}
.bg-vessel--right::after { right: -8%; top: -6%; }
.bg-vessel--left::after  { left: -12%; bottom: -10%; transform: scaleX(-1) rotate(8deg); }

/* Soft glow */
.bg-glow::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(420px, 52vw, 900px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.16) 0%, transparent 68%);
}
.bg-glow--tr::before { right: -14%; top: -28%; }
.bg-glow--bl::before { left: -18%; bottom: -30%; }

/* A hairline rule that fades at both ends — used between major sections */
.rule-fade {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-bold) 18%,
                              var(--line-bold) 82%, transparent);
}

/* --------------------------------------------------------------------------
   9. Section framing
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(72px, 8.5vw, 150px); }
.section--tight { padding-block: clamp(52px, 6vw, 96px); }
.section--navy { background: var(--navy-900); }
.section--deep { background: var(--navy-950); }
.section--rule { border-top: 1px solid var(--line-soft); }

.section__head { max-width: 900px; margin-bottom: clamp(44px, 5vw, 80px); }
.section__head p { margin-top: 24px; }
.section__split {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.hairline { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   10. Hero — full-bleed video with the headline overlaid.
       The footage is teal-green theatre lighting, which fights the navy
       palette, so it is desaturated and tinted before the scrim goes on.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 880px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(84px, 8vw, 104px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero__video,
.hero__poster { /* the poster stands in when the video is suppressed */
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.55) brightness(0.82) contrast(1.05);
}

/* Navy tint, then a light scrim weighted to the left where the text sits —
   just enough to keep the headline legible, so the footage stays visible. */
.hero__tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--navy-900);
  mix-blend-mode: color;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(5,11,23,0.78) 0%, rgba(5,11,23,0.55) 36%,
                            rgba(5,11,23,0.14) 66%, rgba(5,11,23,0.18) 100%),
    linear-gradient(to top, rgba(5,11,23,0.8) 0%, rgba(5,11,23,0) 30%),
    linear-gradient(to bottom, rgba(5,11,23,0.55) 0%, rgba(5,11,23,0) 22%);
}

.hero__inner { position: relative; z-index: 3; width: 100%; }
/* The lighter scrim leaves the default faint eyebrow too dim over footage. */
.hero .eyebrow { color: var(--text-soft); }
.hero__copy { max-width: 60ch; }
.hero__title {
  margin-bottom: clamp(24px, 2.6vw, 38px);
  max-width: 24ch;
  /* Scales gently: a steeper vw coefficient tips the headline onto a fourth
     line around 1600px and pushes the CTA toward the fold. */
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
}
.hero__lede { max-width: 46ch; margin-bottom: 20px; }
.hero__body { max-width: 54ch; margin-bottom: 32px; color: var(--text-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }

/* The portrait is the one photograph that must not be dimmed — the stock
   imagery is darkened to sit in the navy palette, but his face should read
   clearly wherever it appears. */
img[src$="dr-ranawat.jpg"] {
  filter: saturate(0.92) brightness(0.98) contrast(1.02) !important;
}

/* --------------------------------------------------------------------------
   11. Rule-divided column blocks (their three-up)
   -------------------------------------------------------------------------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-block {
  min-width: 0; position: relative;
  padding: 34px clamp(20px, 2.4vw, 38px) 8px;
  border-top: 1px solid var(--line-bold);
}
.col-block:not(:last-child) { border-right: 1px solid var(--line-soft); }
.col-block:first-child { padding-left: 0; }
.col-block:last-child { padding-right: 0; }
.col-block__n { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--text-faint);
  margin-bottom: 20px; }
.col-block__media { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 26px; }
.col-block__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.55) brightness(0.68) contrast(1.05);
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease);
}
.col-block:hover .col-block__media img { transform: scale(1.06); filter: saturate(0.8) brightness(0.82); }
.col-block__title { margin-bottom: 15px; }
.col-block__text { color: var(--text-mute); font-size: 0.98rem; margin-bottom: 26px; }

/* Plain numbered block, no photography */
.plain-block {
  min-width: 0; padding: 32px clamp(18px, 2.2vw, 34px) 26px;
  border-top: 1px solid var(--line-bold);
}
.plain-block:not(:last-child) { border-right: 1px solid var(--line-soft); }
.plain-block:first-child { padding-left: 0; }
.plain-block:last-child { padding-right: 0; }
.plain-block__n { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 22px; }
.plain-block__t { margin-bottom: 13px; }
.plain-block__d { color: var(--text-mute); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   12. Conditions — hover expands to reveal the explanation
   -------------------------------------------------------------------------- */
.cond-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
.cond {
  position: relative; min-width: 0; display: block;
  background: var(--navy-900); padding: 30px; cursor: pointer;
  transition: background 0.4s var(--ease);
}
.cond::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.cond__name {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
}
.cond__plus {
  flex: 0 0 auto; width: 15px; height: 15px; margin-top: 5px;
  background: var(--text-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform 0.45s var(--ease-out), background 0.3s var(--ease);
}
/* Description is laid out but clipped to zero height until revealed. */
.cond__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.cond__desc > span {
  overflow: hidden; color: var(--text-mute); font-size: 0.94rem; line-height: 1.55;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.cond__desc > span > span { display: block; padding-top: 16px; }

.cond:hover, .cond:focus-visible, .cond.is-open { background: var(--navy-800); }
.cond:hover::before, .cond:focus-visible::before, .cond.is-open::before { transform: scaleX(1); }
.cond:hover .cond__plus, .cond:focus-visible .cond__plus, .cond.is-open .cond__plus {
  transform: rotate(135deg); background: var(--accent);
}
.cond:hover .cond__desc, .cond:focus-visible .cond__desc, .cond.is-open .cond__desc {
  grid-template-rows: 1fr;
}
.cond:hover .cond__desc > span, .cond:focus-visible .cond__desc > span,
.cond.is-open .cond__desc > span { opacity: 1; }

/* --------------------------------------------------------------------------
   13. Feature rows
   -------------------------------------------------------------------------- */
.feature {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 8vw, 132px); }
.feature--flip .feature__media { order: 2; }
.feature__media { min-width: 0; position: relative; }
.feature__media .img-mask { aspect-ratio: 4/5; }
.feature__media img { width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.6) brightness(0.74) contrast(1.05); }
.feature__copy { min-width: 0; }
.feature__copy > .display { margin-bottom: 26px; }
.feature__n { font-size: 0.74rem; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 20px; }
.feature__list { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line-soft); }
.feature__list li { padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   14. Rolling statistics
   -------------------------------------------------------------------------- */
.rolling { background: var(--navy-950); position: relative; }
.rolling__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); }
.rolling__left { position: relative; min-width: 0; }
.rolling__sticky { position: sticky; top: calc(50vh - 160px); min-height: 300px; }
.rolling__item {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.rolling__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rolling__figure { display: flex; align-items: baseline; gap: 2px; }
.rolling__num { font-size: clamp(4.5rem, 12vw, 11rem); font-weight: 200; line-height: 0.88;
  letter-spacing: -0.05em; color: var(--accent); }
.rolling__suffix { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 200; color: var(--accent); }
.rolling__label { margin-top: 16px; font-size: 1.02rem; color: var(--text); max-width: 24ch; }
.rolling__right { display: grid; }
.rolling__inline { display: none; }
.rolling__panel {
  min-height: clamp(280px, 40vh, 400px);
  display: flex; flex-direction: column; justify-content: center;
  padding-left: clamp(24px, 3.5vw, 56px);
  border-left: 1px solid var(--line-soft);
}
.rolling__panel h3 { margin-bottom: 18px; }
.rolling__panel p { color: var(--text-mute); max-width: 46ch; }
.rolling__panel-inner { opacity: 0.22; transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.rolling__panel.is-active .rolling__panel-inner { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. Reviews carousel
   -------------------------------------------------------------------------- */
.reviews__top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px; align-items: end; margin-bottom: clamp(38px, 4vw, 60px);
}
.reviews__rating { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.reviews__score { font-size: 2.2rem; font-weight: 300; letter-spacing: -0.03em; color: var(--accent); }
.reviews__stars { display: flex; gap: 3px; }
.star {
  width: 15px; height: 15px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.6 7.2 1-5.2 5 1.3 7.2L12 18.4 5.7 21.8 7 14.6 1.8 9.6l7.2-1z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.6 7.2 1-5.2 5 1.3 7.2L12 18.4 5.7 21.8 7 14.6 1.8 9.6l7.2-1z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/contain;
}
.star.is-empty { opacity: 0.26; }
.reviews__count { font-size: 0.88rem; color: var(--text-faint); }

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 24px; transition: transform 0.65s var(--ease-out);
  will-change: transform; }
.carousel__slide { flex: 0 0 auto; min-width: 0; }

.review {
  height: 100%; display: flex; flex-direction: column;
  padding: 34px 32px 30px;
  border: 1px solid var(--line-soft); background: var(--navy-900);
  transition: border-color 0.4s var(--ease);
}
.review:hover { border-color: var(--line-bold); }
.review__mark { font-size: 2.6rem; line-height: 0.6; color: var(--accent);
  margin-bottom: 22px; height: 22px; }
.review__text { flex: 1; margin: 0; color: var(--text-soft); font-size: 1.01rem; line-height: 1.6; }
.review__foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.review__stars { display: flex; gap: 3px; margin-bottom: 10px; }
.review__meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); }

.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 50px; height: 50px; border-radius: 999px;
  border: 1px solid var(--line-bold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); flex: 0 0 auto;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.carousel__btn svg { width: 17px; height: 17px; }
.carousel__btn:hover:not(:disabled) { background: #fff; color: var(--navy-900); border-color: #fff; }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }

.carousel__foot { display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 34px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
  width: 7px; height: 7px; border-radius: 999px; padding: 0;
  background: var(--line-bold);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel__dot.is-active { background: var(--accent); width: 22px; }

/* --------------------------------------------------------------------------
   16. BE FAST
   -------------------------------------------------------------------------- */
.befast__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.befast__item {
  min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px; align-items: baseline;
  padding: 30px clamp(18px, 2.2vw, 34px);
  border-top: 1px solid var(--line-soft);
}
.befast__item:nth-child(-n+3) { border-top-color: var(--line-bold); }
.befast__item:not(:nth-child(3n)) { border-right: 1px solid var(--line-soft); }
.befast__item:nth-child(3n+1) { padding-left: 0; }
.befast__item:nth-child(3n) { padding-right: 0; }
.befast__letter { grid-row: 1/3; font-size: 3rem; font-weight: 200; line-height: 0.85;
  color: var(--accent); }
.befast__word { font-weight: 600; margin-bottom: 6px; }
.befast__desc { color: var(--text-mute); font-size: 0.93rem; line-height: 1.45; }

.alert {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: nowrap;
  margin-top: 40px; padding: 22px 26px;
  border: 1px solid rgba(255, 138, 128, 0.32);
  background: rgba(255, 90, 80, 0.07);
  color: #ffd3ce; font-size: 0.97rem; line-height: 1.5;
}
.alert__dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 999px;
  background: #ff7d70; margin-top: 8px; }
.alert strong { color: #fff; }
.alert > span { min-width: 0; }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-card { padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); background: var(--navy-900); }
.form-card__title { margin-bottom: 14px; }
.form-card__intro { color: var(--text-mute); font-size: 0.97rem; margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint); }
.field label .req { color: var(--accent); }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 0; font: inherit; font-size: 1rem;
  color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-bold); border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field select option { background: var(--navy-900); color: var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent);
}
.field.has-error input, .field.has-error textarea, .field.has-error select {
  border-bottom-color: #ff7d8d;
}
.field__error { font-size: 0.8rem; color: #ffa3ae; }

.consent { display: flex; gap: 13px; align-items: flex-start; margin: 30px 0;
  font-size: 0.88rem; color: var(--text-mute); line-height: 1.5; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto;
  accent-color: var(--accent-deep); }
.consent label { font-weight: 400; color: inherit; font-size: inherit;
  letter-spacing: normal; text-transform: none; }

.form-submit { width: 100%; }
.form-status {
  margin-top: 20px; padding: 18px 20px;
  border: 1px solid rgba(127, 178, 255, 0.36); background: rgba(47, 124, 246, 0.1);
  font-size: 0.92rem; color: var(--text-soft);
}
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta { background: var(--navy-900); border-top: 1px solid var(--line-soft);
  padding-block: clamp(72px, 9vw, 140px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(30px, 4vw, 70px); align-items: end; }
.cta__copy { min-width: 0; }
.cta__body { margin-top: 26px; color: var(--text-mute); max-width: 48ch; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* --------------------------------------------------------------------------
   19. Page hero (interior)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(52px, 6.5vw, 104px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background: linear-gradient(175deg, var(--navy-900) 0%, var(--ink) 82%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 4vw, 70px); align-items: end; }
.page-hero__title { max-width: 16ch; }
.page-hero__body { max-width: 46ch; color: var(--text-mute); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 0.8rem;
  color: var(--text-faint); margin-bottom: 30px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.45; }

/* --------------------------------------------------------------------------
   20. Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 4vw, 70px); align-items: start; }
.contact-aside { display: grid; gap: 0; }
.contact-tile { padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.contact-tile:first-child { border-top: 1px solid var(--line-bold); }
.contact-tile__h { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px; }
.contact-tile p { color: var(--text-mute); font-size: 0.96rem; }
.contact-tile__big { display: inline-block; font-size: 1.7rem; font-weight: 300;
  letter-spacing: -0.03em; color: #fff; transition: color 0.3s var(--ease); }
.contact-tile__big:hover { color: var(--accent); }

.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.loc { min-width: 0; padding: 32px clamp(18px, 2.2vw, 34px) 30px;
  border-top: 1px solid var(--line-bold); }
.loc:not(:last-child) { border-right: 1px solid var(--line-soft); }
.loc:first-child { padding-left: 0; }
.loc:last-child { padding-right: 0; }
.loc__badge { display: inline-block; margin-bottom: 16px;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.loc__name { font-weight: 600; font-size: 1.06rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.loc__addr { color: var(--text-mute); font-size: 0.95rem; margin-bottom: 14px; }
.loc__tel { font-weight: 600; border-bottom: 1px solid var(--line-bold); padding-bottom: 2px; }
.loc__tel:hover { color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-soft);
  padding-block: clamp(56px, 7vw, 92px) 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 80px); padding-bottom: 50px; }
.footer__brand { min-width: 0; display: grid; justify-items: start; gap: 0; }
.logo--footer { margin-bottom: 24px; }
.footer__pitch { color: var(--text-mute); font-size: 0.96rem; max-width: 32ch; }
.footer__phone { margin-top: 24px; font-size: 1.5rem; font-weight: 300; letter-spacing: -0.03em;
  transition: color 0.3s var(--ease); }
.footer__phone:hover { color: var(--accent); }
.footer__note { margin-top: 10px; font-size: 0.86rem; color: var(--text-faint); }

.footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.footer__col { min-width: 0; }
.footer__h { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 20px; font-weight: 600; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: var(--text-mute); font-size: 0.93rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease-out); }
.footer__col a:hover { color: #fff; padding-left: 5px; }

.footer__locs { padding-block: 40px; border-top: 1px solid var(--line-soft); }
.footer__locs-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer__loc { min-width: 0; }
.footer__loc-name { font-weight: 600; font-size: 0.97rem; margin-bottom: 7px; }
.footer__loc.is-primary .footer__loc-name { color: var(--accent); }
.footer__loc-addr { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 8px; }
.footer__loc-tel { font-size: 0.9rem; color: var(--text-soft);
  border-bottom: 1px solid var(--line-bold); padding-bottom: 2px; }
.footer__loc-tel:hover { color: #fff; border-color: #fff; }

.footer__langs { padding-block: 22px; border-top: 1px solid var(--line-soft);
  color: var(--text-mute); font-size: 0.91rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line-soft); }
.footer__copy, .footer__legal { margin: 0; font-size: 0.84rem; color: var(--text-faint); }
.footer__legal { max-width: 60ch; }

/* --------------------------------------------------------------------------
   22. Small shared pieces
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; padding: 9px 18px;
  border: 1px solid var(--line); font-size: 0.9rem; color: var(--text-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.chip:hover { border-color: var(--accent); color: #fff; }

.timeline__row { display: grid; grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px); padding-block: 28px; border-top: 1px solid var(--line-soft); }
.timeline__row:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline__when { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--accent); padding-top: 3px; }
.timeline__what { min-width: 0; }
.timeline__title { font-weight: 600; font-size: 1.06rem; margin-bottom: 5px; letter-spacing: -0.015em; }
.timeline__where { color: var(--text-mute); font-size: 0.94rem; }

.list-panel { padding: 30px 0 0; border-top: 1px solid var(--line-bold); }
.list-panel__h { margin-bottom: 22px; }
.list-panel ul { display: grid; gap: 0; }
.list-panel li { padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }

.c-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.c-icon--sm { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-phone { display: none; }
  .mega__inner { grid-template-columns: 1fr 1fr; }
  .mega__media { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 78px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header__actions > .pill { display: none; }
  .hero { min-height: min(86vh, 760px); }
  .hero__title { max-width: 18ch; }
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero__title { max-width: 20ch; }
  .rolling__inner { grid-template-columns: 1fr; }
  .rolling__left { display: none; }
  .rolling__panel { min-height: 0; padding-block: 26px; padding-left: 22px; }
  .rolling__panel-inner { opacity: 1; transform: none; }
  .rolling__inline { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
  .rolling__inline .rolling__num { font-size: clamp(3.4rem, 17vw, 5rem); }
  .rolling__inline .rolling__suffix { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__locs-list { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .cols, .cols--2, .befast__grid, .loc-grid { grid-template-columns: 1fr; }
  .col-block, .plain-block, .befast__item, .loc {
    padding-left: 0 !important; padding-right: 0 !important; border-right: 0 !important;
  }
  .befast__item { border-top-color: var(--line-soft) !important; }
  .befast__item:first-child { border-top-color: var(--line-bold) !important; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .section__split, .reviews__top { grid-template-columns: 1fr; align-items: start; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 72px); }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .carousel__foot { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .cta__actions .pill { width: 100%; }
}
