/* Локальные шрифты (Manrope, Caveat) — скачаны с Google Fonts, подгружаются с нашего сервера */
/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/caveat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/caveat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/caveat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/caveat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   ПРЕСТИЖ — АВТОШКОЛА · Hero section
   ========================================================================== */

:root{
  /* colors
     --red was #ED1C2E — 4.37:1 against white, just under the 4.5:1 AA
     threshold for normal text, so every red button label, link and price
     figure on the site technically failed accessibility contrast. Swapped
     in the old --red-dark value as the new base (5.9:1, comfortably AA),
     and picked a fresh, further-darkened shade for the hover state. */
  --red: #C8121F;
  --red-dark: #A30F1A;
  --red-soft: #FDEBEC;
  --black: #111318;
  --text-soft: #69717C;
  --text-faint: #B7BCC3;
  --line: #ECECEC;
  --bg: #FFFFFF;
  --bg-mist: #F7F6F5;
  /* neutral chip for plain decorative/info icons (stats, contacts, feature
     lists) — red-on-red-soft was the fill for every one of these, which
     drowns out red as a signal for buttons/prices/active states. Reserved
     red for things that are actually interactive or selected instead. */
  --icon-bg: #EFEDEB;
  --icon-fg: #3C4048;

  /* type */
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* layout */
  --wrap-max: 1560px;
  --wrap-pad: 56px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 28px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-main);
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a{ color: inherit; }

button{
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.wrap{
  max-width: var(--wrap-max);
  margin: 0 7%;
  /* padding: 0 var(--wrap-pad); */
}

/* focus visibility */
a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-s);
  text-decoration:none;
  white-space: nowrap;
  transition: background .2s ease, transform .18s ease, box-shadow .2s ease;
}

.btn-primary{
  background: var(--red);
  color:#fff;
  box-shadow: 0 10px 24px -10px rgba(237,28,46,0.55);
}
.btn-primary:hover{
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-primary:active{ transform: translateY(0); }

.btn-lg{ padding: 15px 28px; font-size: 15.5px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner{
  display:flex;
  align-items:center;
  gap: 40px;
  min-height: 92px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  flex-shrink:0;
}
.logo-mark{ width: 32px; height: 32px; }
.logo-text{ line-height:1.15; display:flex; flex-direction:column; }
.logo-name{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--black);
}
.logo-sub{
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--text-soft);
}

.main-nav{
  display:flex;
  gap: 36px;
  flex: 1;
  justify-content:center;
}
.main-nav a{
  text-decoration:none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--black);
  position:relative;
  padding: 4px 0;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover{ color: var(--red); }
.main-nav a:hover::after{ transform: scaleX(1); }

.header-actions{
  display:flex;
  align-items:center;
  gap: 26px;
  flex-shrink:0;
}
.phone-link{
  display:flex;
  align-items:center;
  gap: 9px;
  text-decoration:none;
  font-weight: 700;
  font-size: 14.5px;
  white-space:nowrap;
}
.phone-link svg{ width:16px; height:16px; color: var(--black); }

.mobile-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap: 5px;
  width: 34px;
  height: 34px;
  margin-left:auto;
}
.mobile-toggle span{
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none;
  flex-direction:column;
  gap: 4px;
  padding: 8px var(--wrap-pad) 22px;
  border-top: 1px solid var(--line);
}
.mobile-nav a{
  padding: 12px 4px;
  text-decoration:none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn{ margin-top: 12px; }
.mobile-nav.is-open{ display:flex; }

/* ==========================================================================
   Hero — premium composition: static copy + 3-photo slider
   ========================================================================== */

.hero{
  --hero-bg: #F8F3ED;
  --hero-dur: 900ms;
  position: relative;
  background: var(--hero-bg);
}

/* ==========================================================================
   Full-width photo slider — the whole first screen. The headline overlays
   the left half of the photo; each slide's own tag sits bottom-right; stats
   move to their own row below, back on the page's plain background.
   ========================================================================== */

.hero-slider{
  position: relative;
  gap: 18px;
}

.hero-slider-frame{
  position: relative;
  /* a definite height (not min-height) so .hero-slides{height:100%} below
     actually has something to resolve against — everything in here is
     absolutely positioned, so nothing needs room to grow past this */
  height: 86vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero-slides{
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-slide{
  position: absolute;
  inset: 0;
}

.hero-slide-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.08) translateX(1.5%);
  opacity: 0;
  filter: brightness(0.8) saturate(0.95);
  transition:
    transform var(--hero-dur) var(--ease),
    opacity var(--hero-dur) var(--ease),
    filter var(--hero-dur) var(--ease);
}
.hero-slide.is-active .hero-slide-media{
  transform: scale(1) translateX(0);
  opacity: 1;
  filter: brightness(0.92) saturate(1);
}
.hero-slide-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* left-to-right + bottom scrim: keeps the headline (left) and each slide's
   own tag (bottom-right) legible, while the photo's centre-right stays open
   enough to still read as a photo, not a dark panel */
.hero-slide-scrim{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(4,3,2,0.75) 0%,
      rgba(4,3,2,0.55) 28%,
      rgba(4,3,2,0.18) 52%,
      rgba(4,3,2,0) 66%),
    linear-gradient(180deg,
      rgba(4,3,2,0) 55%,
      rgba(4,3,2,0.7) 100%);
}

/* -- headline overlay, left half of the frame -- */
.hero-copy{
  position: absolute;
  z-index: 4;
  inset: 0 auto 0 0;
  width: min(600px, 56%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* left padding has its own, higher floor so text never sits under the
     prev-arrow (20px + 48px wide = clears at 68px) */
  padding: 40px clamp(24px, 6vw, 80px) 0 clamp(88px, 7vw, 110px);
  color: #fff;
}

.eyebrow{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-shadow: 0 0 1px rgba(255,255,255,0.9), 0 2px 10px rgba(0,0,0,0.5);
}
.eyebrow-dash{
  width: 26px;
  height: 2px;
  background: var(--red);
  flex-shrink:0;
}

.hero-title{
  margin: 0 0 22px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.6);
}
.hero-title .accent{ color: var(--red); }

.hero-desc{
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  max-width: 420px;
}

.hero-cta{
  display:flex;
  align-items:center;
  gap: 28px;
  flex-wrap: wrap;
}

/* -- stats strip (also reused standalone on other pages via .stats-block, on
   a plain background there — default colours are dark-on-light for that) -- */
.stats{
  display:flex;
  align-items:center;
  gap: 0;
  list-style:none;
  margin:0; padding:0;
}
.stat{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 0 26px;
}
.stat:first-child{ padding-left:0; }
.stat + .stat{ border-left: 1px solid var(--line); }

.stat-icon{
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.stat-icon svg{ width:20px; height:20px; }

.stat-body{ display:flex; flex-direction:column; line-height:1.3; }
.stat-body strong{ font-size: 21px; font-weight: 800; }
.stat-body em{ font-style: normal; font-size: 12.5px; color: var(--text-soft); }

/* -- in the hero overlay specifically: no background box, light text so it
   reads over the photo, same shadow treatment as the rest of .hero-copy -- */
.hero-copy .stats{ margin: 0 0 28px; flex-wrap: nowrap; row-gap: 14px; }
.hero-copy .stat + .stat{ border-left-color: rgba(255, 255, 255, 0.28); }
.hero-copy .stat-body strong{ color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero-copy .stat-body em{ color: rgba(255, 255, 255, 0.78); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* -- each slide's own tag: small, bottom-right, out of the headline's way -- */
.hero-slide-copy{
  position: absolute;
  right: clamp(24px, 3vw, 44px);
  left: auto;
  bottom: clamp(24px, 3vw, 44px);
  max-width: 280px;
  z-index: 4;
  color: white;
  text-align: right;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease) 120ms, transform 700ms var(--ease) 120ms;
  pointer-events: none;
}
.hero-slide.is-active .hero-slide-copy{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slide-num{
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  margin: 0 0 10px;
  /* red needs its own halo (a dark shadow alone won't lift it off a dark photo) */
  text-shadow: 0 0 1px rgba(255,255,255,0.9), 0 0 10px rgba(0,0,0,0.55);
}
.hero-slide-title{
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hero-slide-text{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* decorative red route thread linking the 3 stages — right side only now,
   above this slide's own tag, so it never crosses through the headline */
.hero-route{
  position: absolute;
  left: 82%;
  right: clamp(24px, 3vw, 44px);
  bottom: clamp(126px, 20vh, 160px);
  height: 24px;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}
.hero-route-line{
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1.5 7;
  animation: hero-route-flow 16s linear infinite;
}
@keyframes hero-route-flow{
  to{ stroke-dashoffset: -170; }
}
.hero-route-node{
  fill: rgba(255, 255, 255, 0.55);
  stroke: rgba(10, 8, 6, 0.3);
  stroke-width: 1;
  transition: fill var(--hero-dur) var(--ease), r var(--hero-dur) var(--ease);
}
.hero-route-node.is-active{ fill: var(--red); r: 5.5; }

/* prev / next arrows, floating on the frame */
.hero-arrow{
  position: absolute;
  /* stay vertically centered, but never drift into the bottom text zone on very short frames */
  top: min(50%, calc(100% - 84px));
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(17, 19, 24, 0.45);
  transform: translateY(-50%);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.hero-arrow svg{ width: 18px; height: 18px; }
.hero-arrow--prev{ left: 20px; }
.hero-arrow--next{ right: 20px; }
.hero-arrow:hover{ background: var(--red); color: #fff; }
.hero-arrow:active{ transform: translateY(-50%) scale(0.94); }
.hero-arrow:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; }

/* short horizontal progress indicators — not dots, fill drains the autoplay time */
.hero-progress{
  display: flex;
  gap: 10px;
  padding: 0 2px;
}
.hero-progress-bar{
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  padding: 0;
}
.hero-progress-fill{
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--red);
  border-radius: inherit;
}
.hero-progress-bar.is-active .hero-progress-fill{
  animation: hero-progress-run var(--hero-autoplay-dur, 5500ms) linear forwards;
}
.hero-slider.is-paused .hero-progress-bar.is-active .hero-progress-fill{
  animation-play-state: paused;
}
@keyframes hero-progress-run{
  from{ transform: scaleX(0); }
  to{ transform: scaleX(1); }
}
.hero-progress-bar:focus-visible{ outline: 2px solid var(--red); outline-offset: 2px; }

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px){
  :root{ --wrap-pad: 40px; }
}

/* below this width there isn't room for a left-half headline next to a
   bottom-right tag — the headline moves to its own band across the top of
   the photo instead, tag stays bottom-right, both stay out of each other's way */
@media (max-width: 860px){
  .hero-slider-frame{ height: 78vh; }

  .hero-copy{
    inset: 0 0 auto 0;
    width: auto;
    justify-content: flex-start;
    padding: 96px 24px 0;
  }
  .hero-desc{ max-width: none; }

  .hero-slide-scrim{
    background:
      linear-gradient(180deg,
        rgba(4,3,2,0.8) 0%,
        rgba(4,3,2,0.5) 28%,
        rgba(4,3,2,0.1) 48%,
        rgba(4,3,2,0) 60%),
      linear-gradient(0deg,
        rgba(4,3,2,0.75) 0%,
        rgba(4,3,2,0) 26%);
  }

  .hero-route{ display: none; }

  /* headline now sits top-anchored and can run tall (2–3 lines + desc + CTA);
     centred prev/next arrows would land right on top of that text, so on
     touch-width screens rely on swipe (already wired up) + the progress bar
     instead of arrows */
  .hero-arrow{ display: none; }
}

@media (max-width: 1120px){
  .header-inner{ gap: 20px; }
  .main-nav{ gap: 20px; }
  .header-actions{ gap: 16px; }
  .header-actions .phone-link span{ display:none; }
}

@media (max-width: 900px){
  .main-nav{ display:none; }
  .header-actions .phone-link span{ display:none; }
  .mobile-toggle{ display:flex; }
}

@media (max-width: 640px){
  :root{ --wrap-pad: 22px; }
  .header-inner{ min-height: 76px; gap:16px; }
  .header-actions{ gap: 14px; }
  .header-actions .phone-link{ display:none; }

  .hero-slider-frame{ height: 72vh; }
  .hero-copy{ padding-top: 84px; }
  .hero-title{ font-size: 34px; }
  .hero-desc{ font-size:15.5px; }

  .stats{ flex-wrap:wrap; row-gap:18px; }
  .stat{ padding: 0 18px 0 0; border-left:none !important; }
  .stat:first-child{ padding-left:0; }

  .hero-arrow{ width: 38px; height: 38px; }
  .hero-arrow svg{ width: 15px; height: 15px; }
  .hero-arrow--prev{ left: 12px; }
  .hero-arrow--next{ right: 12px; }
  .hero-slide-copy{ right: 16px; bottom: 16px; max-width: 190px; }
  .hero-slide-title{ font-size: 19px; }
  .hero-slide-text{ font-size: 13px; }
}

.btn-outline{
  flex-shrink:0;
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--red);
  padding: 12px 22px;
  font-size: 14.5px;
}
.btn-outline:hover{
  background: var(--red);
  transform: translateY(-1px);
}

@media (max-width: 720px){
  .btn-outline{ align-self: stretch; text-align:center; justify-content:center; }
}

/* ==========================================================================
   Promo block: referral banner + reviews
   ========================================================================== */

.promo-block{ padding: 0 0 84px; }

.referral-banner {
    background: var(--black);
    border-radius: var(--radius-m);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    color: var(--bg);
}

/* -- full-bleed variant: banner spans the whole row, edge to edge, outside .wrap -- */
.referral-banner--bleed{
  border-radius: 0;
}

.referral-info{
  display:flex;
  align-items:center;
  gap: 14px;
}
.referral-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--icon-fg);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.referral-icon svg{ width:16px; height:16px; }

.referral-line{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin:0;
}
.referral-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.referral-title .accent{ color: var(--red); }
.referral-dot{
  color: var(--text-faint);
  font-size: 12px;
}
.referral-sub{
  margin:0;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 500;
}

.referral-action{
  display:flex;
  align-items:center;
  gap: 18px;
}

.btn-ghost{
  background: #fff;
  color: var(--black);
  border: 1px solid var(--line);
  padding: 12px 20px;
  font-size: 14px;
}
.btn-ghost:hover{
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.referral-pin{ width: 24px; height:24px; flex-shrink:0; }
.referral-pin svg{ width:100%; height:100%; }

/* -- referral banner: running-text marquee (decorative; a11y text is the .sr-only sibling) -- */
.referral-marquee{
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.referral-track{
  display: flex;
  align-items: center;
  width: max-content;
  animation: referral-scroll 24s linear infinite;
}
.referral-marquee:hover .referral-track{ animation-play-state: paused; }
/* JS (script.js) clones .referral-info enough times to cover at least one full
   viewport width, then duplicates that whole padded set once more and writes
   the exact pixel half-width into --referral-distance — that's what guarantees
   the strip is never blank and the loop never visibly jumps/resets */
.referral-track .referral-info{ flex-shrink: 0; margin-right: 72px; }
.referral-track .referral-title,
.referral-track .referral-sub{ white-space: nowrap; }

@keyframes referral-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(-1 * var(--referral-distance, 50%))); }
}

@media (prefers-reduced-motion: reduce){
  .referral-marquee{ overflow: visible; -webkit-mask-image:none; mask-image:none; }
  .referral-track{
    animation: none;
    transform: none;
    display: block;
    width: auto;
  }
  .referral-track .referral-info{ margin-right: 0; }
  .referral-track .referral-title,
  .referral-track .referral-sub{ white-space: normal; }
}

.reviews-title{
  text-align:center;
  margin: 0 0 32px;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.reviews-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.review-card{
  background: var(--bg-mist);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  border: 1px solid transparent;
}

.review-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink:0;
  transition: box-shadow 350ms var(--ease);
}
.avatar-a{ background: linear-gradient(135deg, #6E7681, #414750); }
.avatar-b{ background: linear-gradient(135deg, #ED8FA0, #D65C74); }
.avatar-c{ background: linear-gradient(135deg, #6FB3C9, #3D7E96); }
.avatar-d{ background: linear-gradient(135deg, #E39A6B, #C56C3D); }

.review-name{
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 700;
}
.stars{
  color: var(--red);
  font-size: 12.5px;
  letter-spacing: 2px;
}

.review-text{
  margin:0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.reviews-more{ display:flex; justify-content:center; }

/* -- generic scroll-reveal (reviews section onward: reviews, FAQ/map/contacts,
   final CTA, footer) — fade up once on scroll-in, matches the .courses-head /
   .course-card reveal timing used earlier on the page -- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-1{ transition-delay: 80ms; }
.reveal-2{ transition-delay: 160ms; }
.reveal-3{ transition-delay: 240ms; }
.reveal-4{ transition-delay: 320ms; }
.reveal-5{ transition-delay: 400ms; }

/* -- review card: hover highlight (also carries the .reveal entrance so the
   two don't fight over the shared `transition` shorthand) -- */
.review-card{
  transition: opacity 700ms var(--ease), transform 350ms var(--ease),
    box-shadow 350ms var(--ease), border-color 350ms var(--ease), background 350ms var(--ease);
}
.review-card:hover{
  background: #fff;
  border-color: var(--red-soft);
  box-shadow: 0 22px 44px -24px rgba(17, 19, 24, 0.22);
  transform: translateY(-6px);
}
.review-card:hover .avatar{ box-shadow: 0 0 0 4px var(--red-soft); }

/* -- responsive: promo block -- */
@media (max-width: 1080px){
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .referral-banner{ flex-direction:column; align-items:flex-start; }
  .referral-marquee{ width:100%; }
  .referral-action{ width:100%; justify-content:space-between; }
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ + Map + Contacts
   ========================================================================== */

.info-block{ padding: 64px 0 88px; }

.info-grid{
  display:grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 24px;
  align-items: start;
}

.info-title{
  margin: 0 0 22px;
  font-size: 16.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* -- FAQ -- */






/* -- Map -- */
.map-col{ align-self: stretch; }
.map-frame{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-m);
  overflow:hidden;
  border: 1px solid var(--line);
}
.map-frame .ymap-canvas{
  width: 100%;
  height: 100%;
  min-height: 320px;
  display:block;
  filter: saturate(.9);
}
.ymap-pin{
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.35));
  pointer-events: none;
}

/* -- Contacts -- */
.contacts-list{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 16px;
}
.contacts-list li{
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: 14px;
}
.contacts-list a{ text-decoration:none; }
.contacts-list a:hover{ color: var(--red); }

.contact-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.contact-icon svg{ width:16px; height:16px; }

.contact-hours{ align-items:flex-start; }
.contact-hours span{ line-height:1.6; }

/* -- responsive: info block -- */
@media (max-width: 1080px){
  .info-grid{ grid-template-columns: 1fr; gap: 40px; }
  .map-frame{ min-height: 280px; }
  .map-frame .ymap-canvas{ min-height: 280px; }
}

/* ==========================================================================
   Final CTA banner
   ========================================================================== */

.final-cta{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  margin: 0 auto 0;
  max-width: var(--wrap-max);
  margin-left: var(--wrap-pad);
  margin-right: var(--wrap-pad);
}

.cta-bg{
  position:absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg svg{ width:100%; height:100%; display:block; }
.cta-bg-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 52%;
}

.cta-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(15,12,18,0.72) 0%, rgba(15,12,18,0.42) 45%, rgba(15,12,18,0.05) 75%);
}

.cta-inner{
  position: relative;
  z-index: 1;
  min-height: 300px;
  display:flex;
  align-items:center;
}

.cta-copy{ max-width: 460px; padding: 40px 0; }

.cta-copy h2{
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.cta-copy p{
  margin: 0 0 26px;
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  line-height: 1.55;
}

/* -- responsive: cta + footer -- */
@media (max-width: 640px){
  .final-cta{ margin-left: 16px; margin-right: 16px; border-radius: var(--radius-m); }
  .cta-inner{ min-height: 260px; }
  .cta-copy{ max-width:none; }
  .cta-bg::after{ background: linear-gradient(180deg, rgba(15,12,18,0.35) 0%, rgba(15,12,18,0.78) 65%); }

}

/* ==========================================================================
   Courses / services page
   ========================================================================== */

.breadcrumbs{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 22px 0 6px;
  font-size: 13px;
  color: var(--text-soft);
}
.breadcrumbs a{ text-decoration:none; color: var(--text-soft); }
.breadcrumbs a:hover{ color: var(--red); }
.breadcrumbs [aria-current="page"]{ color: var(--black); font-weight:600; }

/* -- courses page: hero + category cards share one warm band with the table -- */
.svc-hero,
.cc-section,
.cmp-section{ background: #F8F4EF; }

.svc-hero{ padding: 0 0 28px; }
.svc-hero .breadcrumbs{ padding: 28px 0 10px; }

.svc-hero-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items:center;
}

.svc-hero-copy h1{
  margin: 0 0 18px;
  font-size: clamp(32px, 3.9vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.svc-hero-copy h1 .accent{ color: var(--red); }
.svc-hero-copy p{
  margin:0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 460px;
}

.svc-hero-visual{
  position: relative;
  height: clamp(210px, 19vw, 270px);
  border-radius: 20px;
  overflow: hidden;
}
.svc-hero-bg{ position:absolute; inset:0; width:100%; height:100%; }

.svc-hero-car{
  position:absolute;
  left: 56%;
  bottom: 10%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 24px rgba(40,25,15,0.22));
}

.svc-pin{
  position:absolute;
  right: 4%;
  display:flex;
  align-items:center;
  gap: 8px;
  background: #fff;
  padding: 7px 16px 7px 12px;
  border-radius: 20px;
  box-shadow: 0 8px 18px -8px rgba(20,15,10,0.3);
  font-size: 12.5px;
  font-weight: 700;
}
.pin-dot{
  width: 9px; height:9px;
  border-radius:50%;
  background: var(--red);
  flex-shrink:0;
}
.svc-pin-1{ top: 12%; }
.svc-pin-2{ top: 31%; }
.svc-pin-3{ top: 50%; }

/* -- category detail panel -- */






.feature-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.feature-item{
  display:flex;
  gap: 12px;
  background:#fff;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  padding: 16px;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms var(--ease);
}
.feature-item:hover{
  border-color: var(--line);
  box-shadow: 0 18px 36px -22px rgba(17, 19, 24, 0.2);
  transform: translateY(-5px);
}
.feature-icon{
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.feature-icon svg{ width:17px; height:17px; }
.feature-item h3{ margin: 0 0 3px; font-size: 13.5px; font-weight: 800; }
.feature-item p{ margin:0; font-size: 12px; line-height: 1.45; color: var(--text-soft); }





/* -- standalone category page: quick links to the other two formats -- */
.cat-other-formats{
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cat-other-label{
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.cat-other-links{ display:flex; flex-wrap:wrap; gap: 14px; }

/* -- comparison table -- */










/* -- promo compact spacing -- */
.promo-block-compact{ padding: 56px 0 0; }
.promo-block-compact .referral-banner{ margin-bottom:0; }

/* -- FAQ detail layout -- */






/* -- responsive: courses page -- */
@media (max-width: 1080px){
  .svc-hero-grid{ grid-template-columns: 1fr; }
  .svc-hero-visual{ height: 240px; }
}

@media (max-width: 860px){
  .feature-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .svc-pin{ font-size: 11px; padding: 6px 10px 6px 8px; }
}

/* ==========================================================================
   Shared page-header pattern (Тарифы / Акции / Отзывы / О нас / Контакты / ...)
   ========================================================================== */

.page-intro{ padding: 26px 0 10px; }
.page-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}
.page-lead{
  margin: 0;
  font-size: 15.5px;
  color: var(--text-soft);
  max-width: 520px;
  line-height: 1.55;
}

.section-subtitle{
  margin: 56px 0 24px;
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* ==========================================================================
   Tariffs page
   ========================================================================== */

.tariffs-section{ padding: 12px 0 84px; }

.tariffs-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 8px;
}

.tariff-card{
  position:relative;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 24px 24px;
  text-align:center;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.tariff-card:hover{
  box-shadow: 0 22px 44px -24px rgba(17, 19, 24, 0.22);
  transform: translateY(-8px);
}
.tariff-card.is-featured{
  border-color: var(--red);
  border-width: 1.5px;
  box-shadow: 0 20px 40px -26px rgba(237,28,46,0.4);
}
.tariff-card.is-featured:hover{
  box-shadow: 0 26px 50px -24px rgba(237,28,46,0.45);
}
.tariff-media{ display:flex; justify-content:center; margin-bottom: 12px; }
.tariff-media svg{ width: 130px; height:auto; }
.tariff-card h3{ margin: 0 0 16px; font-size: 17px; font-weight: 800; }
.tariff-list{ list-style:none; margin: 0 0 20px; padding:0; display:flex; flex-direction:column; gap:10px; text-align:left; }
.tariff-list li{ display:flex; align-items:center; gap:10px; font-size:13.5px; }
.tariff-price{ margin: 0 0 16px; font-size: 24px; font-weight: 800; }

.included-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.included-item{
  background: var(--bg-mist);
  border-radius: var(--radius-s);
  padding: 20px 14px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
}
.included-item:hover{
  background: #fff;
  box-shadow: 0 18px 36px -22px rgba(17, 19, 24, 0.2);
  transform: translateY(-5px);
}
.included-icon{
  width: 40px; height:40px;
  border-radius:50%;
  background:#fff;
  color: var(--icon-fg);
  display:flex; align-items:center; justify-content:center;
}
.included-icon svg{ width:19px; height:19px; }

/* ==========================================================================
   Promotions page
   ========================================================================== */

.promo-hero-section{ padding: 12px 0 40px; }

.promo-hero-card{
  background: var(--bg-mist);
  border-radius: var(--radius-l);
  padding: 36px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  margin-bottom: 12px;
}
.promo-hero-eyebrow{ margin:0 0 8px; font-size: 24px; font-weight: 900; }
.promo-hero-desc{ margin:0 0 20px; color: var(--text-soft); font-size:14.5px; max-width: 320px; }
.promo-hero-gift svg{ width: 130px; height:auto; }

.offers-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}
.offer-card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms var(--ease);
}
.offer-card:hover{
  border-color: var(--red-soft);
  box-shadow: 0 22px 44px -24px rgba(17, 19, 24, 0.22);
  transform: translateY(-6px);
}
.offer-icon{
  width: 44px; height:44px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 14px;
}
.offer-icon svg{ width:20px; height:20px; }
.offer-card h3{ margin:0 0 8px; font-size:15px; font-weight:800; }
.offer-card p{ margin:0 0 18px; font-size:13px; color: var(--text-soft); line-height:1.55; }

.steps-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card{ padding: 4px; transition: transform 300ms var(--ease); }
.step-card:hover{ transform: translateY(-4px); }
.step-num{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 38px; height:38px;
  border-radius:50%;
  background: var(--black);
  color:#fff;
  font-weight:800;
  font-size:15px;
  margin-bottom: 14px;
  transition: background 300ms var(--ease), transform 300ms var(--ease);
}
.step-card:hover .step-num{ background: var(--red); transform: scale(1.08); }
.step-card h3{ margin:0 0 8px; font-size:15px; font-weight:800; }
.step-card p{ margin:0; font-size:13px; color: var(--text-soft); line-height:1.55; }

/* ==========================================================================
   Reviews page
   ========================================================================== */

.rating-summary{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 22px;
}
.rating-num{ font-size: 30px; font-weight: 900; }
.rating-stars{ color: var(--red); font-size: 17px; letter-spacing:2px; }
.rating-count{ font-size: 13px; color: var(--text-soft); }

.reviews-page-section{ padding: 30px 0 84px; }
.reviews-grid-4{ grid-template-columns: repeat(4,1fr); margin-bottom: 26px; }

.video-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.video-card{ border-radius: var(--radius-m); overflow:hidden; }
.video-card svg{ width:100%; height:auto; display:block; }

/* ==========================================================================
   About page
   ========================================================================== */

.about-hero{ padding: 24px 0 0; }
.about-hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
}
.about-body{ margin: 18px 0 22px; font-size:14.5px; line-height:1.65; color: var(--text-soft); max-width:440px; }
.about-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.about-points li{ display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:600; }

.about-hero-media{ position:relative; height: 360px; border-radius: var(--radius-l); overflow:hidden; }
.about-media-bg{
  position:absolute; inset:0;
  background: linear-gradient(180deg, #E9E5E1 0%, #D9D3CD 100%);
}
.about-hero-car{
  position:absolute;
  left:50%; bottom:-4%;
  width: 260px; height:auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 30px rgba(20,15,10,0.25));
}

.about-stats-section{ padding: 44px 0 84px; }
.stats-block{
  background: var(--bg-mist);
  border-radius: var(--radius-m);
  padding: 26px 32px;
  justify-content: space-between;
  margin-bottom: 34px;
  flex-wrap: wrap;
  row-gap: 20px;
}
.stats-block .stat{ padding: 0 20px; }
.stats-block .stat:first-child{ padding-left:0; }

.mission-card{
  background: var(--black);
  border-radius: var(--radius-l);
  padding: 36px 40px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items:center;
}
.mission-text h2{ margin:0 0 12px; color:#fff; font-size:19px; font-weight:800; text-transform:uppercase; }
.mission-text p{ margin:0; color: rgba(255,255,255,0.65); font-size:13.5px; line-height:1.65; }
.mission-media{ border-radius: var(--radius-s); overflow:hidden; }
.mission-media svg{ width:100%; height:auto; display:block; }

/* ==========================================================================
   Contacts page
   ========================================================================== */

.contacts-page-section{ padding: 26px 0 84px; }
.contacts-page-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 32px;
  margin-bottom: 12px;
}
.contacts-page-grid .contacts-list{ gap: 20px; }
.contacts-page-grid .contacts-list small{ color: var(--text-soft); font-weight:400; }
.contacts-page-grid .map-frame{ min-height: 340px; }
.contacts-page-grid .map-frame .ymap-canvas{ min-height: 340px; }

.filials-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.filial-card{
  background: var(--bg-mist);
  border-radius: var(--radius-m);
  padding: 24px 26px;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.filial-card:hover{
  background: #fff;
  box-shadow: 0 22px 44px -24px rgba(17, 19, 24, 0.22);
  transform: translateY(-6px);
}
.filial-card h3{ margin:0 0 14px; font-size:16px; font-weight:800; }
.filial-card p{
  display:flex; align-items:center; gap:10px;
  margin:0 0 10px;
  font-size:13.5px;
  color: var(--text-soft);
}
.filial-card p:last-child{ margin-bottom:0; }
.contact-icon-sm{
  width:24px; height:24px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-icon-sm svg{ width:12px; height:12px; }

/* ==========================================================================
   Booking page
   ========================================================================== */

.booking-section{ padding: 26px 0 84px; }
.booking-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items:start;
}

.booking-form{
  margin-top: 24px;
  display:flex;
  flex-direction:column;
  gap: 16px;
  max-width: 460px;
}
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:13px; font-weight:700; }
.form-row input,
.form-row select,
.form-row textarea{
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background:#fff;
  color: var(--black);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--red);
}
.form-checkbox{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-soft);
  cursor:pointer;
}
.form-checkbox input{ margin-top: 3px; accent-color: var(--red); flex-shrink:0; }
.form-note{
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  min-height: 18px;
  color: var(--red);
}
.form-note.is-success{ color: #1E8E4E; }

.booking-side-col{ position: relative; }
.booking-side-media{
  border-radius: var(--radius-l);
  overflow:hidden;
  height: 260px;
  margin-bottom: -60px;
}
.booking-side-media svg{ width:100%; height:100%; display:block; }
.booking-side-card{
  position:relative;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 26px 24px;
  margin: 0 20px;
  box-shadow: 0 20px 40px -26px rgba(20,15,10,0.25);
}
.booking-side-card h3{ margin:0 0 8px; font-size:16px; font-weight:800; }
.booking-side-card p{ margin:0 0 16px; font-size:13px; color: var(--text-soft); }
.booking-phone{
  display:flex; align-items:center; gap:10px;
  font-weight:800; font-size:15px;
  text-decoration:none;
  margin-bottom: 6px;
}
.booking-phone svg{ width:16px; height:16px; color: var(--red); }
.booking-hours{ font-size:12.5px !important; color: var(--text-soft); margin:0 !important; }

/* ==========================================================================
   Course landing pages (online / practical / examprep)
   ========================================================================== */

.landing-hero{ padding: 26px 0 20px; }
.landing-hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
}
.landing-hero-text .btn{ margin-top: 24px; }
.landing-hero-media{
  background: var(--bg-mist);
  border-radius: var(--radius-l);
  padding: 30px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 260px;
}
.landing-hero-media svg{ width:100%; max-width:320px; height:auto; }

.landing-steps-section{ padding: 12px 0 84px; }

.mini-steps{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.mini-step{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  text-align:center;
  font-size: 12px;
  font-weight: 700;
  max-width: 100px;
}
.mini-step-icon{
  width: 44px; height:44px;
  border-radius:50%;
  background: var(--bg-mist);
  color: var(--icon-fg);
  transition: background 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
  display:flex; align-items:center; justify-content:center;
}
.mini-step-icon svg{ width:20px; height:20px; }
.mini-step:hover .mini-step-icon{
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}
.mini-step-arrow{ color: var(--text-faint); font-size:16px; flex-shrink:0; }

.feature-grid-3{ grid-template-columns: repeat(3, 1fr); margin-bottom: 44px; }
.feature-grid-3 .feature-item{ flex-direction:column; text-align:left; padding:22px; }
.feature-grid-3 .feature-icon{ margin-bottom:12px; }
.feature-grid-3 h3{ font-size:15px; }
.feature-grid-3 p{ font-size:12.5px; }

.fleet-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.fleet-card{
  background: var(--bg-mist);
  border-radius: var(--radius-m);
  padding: 18px;
  text-align:center;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.fleet-card:hover{
  background: #fff;
  box-shadow: 0 18px 36px -22px rgba(17, 19, 24, 0.2);
  transform: translateY(-5px);
}
.fleet-card svg{ width:100%; max-width:150px; height:auto; margin-bottom: 10px; }
.fleet-card h3{ margin:0 0 4px; font-size:13.5px; font-weight:800; }
.fleet-card p{ margin:0; font-size:11.5px; color: var(--text-soft); }

.instructors-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.instructor-card{
  text-align:center;
  background: var(--bg-mist);
  border-radius: var(--radius-m);
  padding: 22px 14px;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.instructor-card:hover{
  background: #fff;
  box-shadow: 0 18px 36px -22px rgba(17, 19, 24, 0.2);
  transform: translateY(-5px);
}
.instructor-card .avatar{ margin: 0 auto 12px; width:52px; height:52px; font-size:14px; }
.instructor-card h3{ margin:0 0 4px; font-size:13.5px; font-weight:800; }
.instructor-card p{ margin:0; font-size:11.5px; color: var(--text-soft); }

/* ==========================================================================
   Responsive: new pages
   ========================================================================== */

@media (max-width: 1080px){
  .tariffs-grid{ grid-template-columns: 1fr; }
  .included-grid{ grid-template-columns: repeat(3, 1fr); }
  .offers-grid, .steps-grid{ grid-template-columns: 1fr; }
  .reviews-grid-4{ grid-template-columns: repeat(2,1fr); }
  .video-grid{ grid-template-columns: 1fr; }
  .about-hero-grid{ grid-template-columns: 1fr; }
  .about-hero-media{ order:-1; height: 280px; }
  .mission-card{ grid-template-columns: 1fr; }
  .contacts-page-grid{ grid-template-columns: 1fr; }
  .filials-grid{ grid-template-columns: 1fr; }
  .booking-grid{ grid-template-columns: 1fr; }
  .booking-side-media{ margin-bottom:-40px; }
  .landing-hero-grid{ grid-template-columns: 1fr; }
  .landing-hero-media{ order:-1; }
  .feature-grid-3{ grid-template-columns: 1fr; }
  .fleet-grid, .instructors-grid{ grid-template-columns: repeat(2,1fr); }
  .promo-hero-card{ flex-direction:column; text-align:center; }
  .mini-steps{ justify-content:center; }
}

@media (max-width: 640px){
  .included-grid{ grid-template-columns: repeat(2, 1fr); }
  .stats-block{ padding: 22px 20px; }
  .fleet-grid, .instructors-grid{ grid-template-columns: 1fr 1fr; }
  .mini-step-arrow{ display:none; }
}

/* reduced motion */

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ==========================================================================
   Product page (course-a / course-b / course-online)
   Left: title, key facts, feature cards. Right: sticky card with photo slider,
   specs, price and CTAs. Kept after the generic .reveal rules so the
   transition lists below win the cascade.
   ========================================================================== */

.pc-section{
  --pc-pink: #FBE4E5;
  --pc-line: #EFE8E1;
  background: #F8F3ED;
  padding-bottom: 72px;
}
.pc-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.pc-main{ position: relative; min-width: 0; padding-bottom: 8px; }

.pc-arc{
  position: absolute;
  top: 56px;
  right: 0;
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(200, 18, 31, 0.26);
  border-right-color: rgba(200, 18, 31, 0.26);
  transform: rotate(-12deg);
  pointer-events: none;
}

.pc-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: var(--pc-pink);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}
.pc-badge svg{ width: 18px; height: 18px; }

.pc-title{
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.4vw, 80px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.pc-title--long{ font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -1px; }
.pc-title .accent{ color: var(--red); }
.pc-section .breadcrumbs{ padding-top: 28px; }

.pc-lead{
  max-width: 560px;
  margin: 0 0 32px;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text-soft);
}

.pc-ic{
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pc-pink);
  color: var(--red);
  display: grid;
  place-items: center;
}
.pc-ic svg{ width: 24px; height: 24px; }
.pc-ic--lg{ width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 10px 18px -12px rgba(200, 18, 31, .5); }
.pc-ic--lg svg{ width: 28px; height: 28px; }
.pc-ic--round{ width: 44px; height: 44px; border-radius: 50%; }
.pc-ic--sm{ width: 40px; height: 40px; }
.pc-ic--sm svg{ width: 20px; height: 20px; }

.pc-facts{ display: flex; flex-wrap: wrap; row-gap: 18px; margin-bottom: 48px; }
.pc-fact{ display: flex; align-items: center; gap: 14px; padding: 0 28px; }
.pc-fact:first-child{ padding-left: 0; }
.pc-fact + .pc-fact{ border-left: 1px solid #E4DBD1; }
.pc-fact p{ margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-soft); max-width: 190px; }
.pc-fact strong{ display: block; font-size: 15px; font-weight: 700; color: var(--black); }
.pc-fact p span{ display: block; }

.pc-h2{ margin: 0 0 22px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }

.pc-features{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pc-feature{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: #FCFAF8;
  border-radius: 14px;
  transition: opacity 700ms var(--ease), transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.pc-feature:hover{
  background: #fff;
  box-shadow: 0 22px 44px -26px rgba(60, 30, 20, .3);
  transform: translateY(-5px);
}
.pc-feature h3{ margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.pc-feature p{ margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-soft); }

.pc-banner{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 20px 26px;
  border-radius: 14px;
  background: #F2E8E1;
  color: var(--red);
}
.pc-banner svg{ width: 32px; height: 32px; flex-shrink: 0; }
.pc-banner strong{ font-size: 18px; font-weight: 800; }
.pc-banner-line{ flex: 1; height: 1px; background: rgba(200, 18, 31, .28); min-width: 40px; }

/* -- right card -- */
.pc-card{
  position: sticky;
  top: 96px;
  margin-top: 28px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 34px 70px -42px rgba(60, 30, 20, .4);
}
.pc-slider{ position: relative; aspect-ratio: 1.37 / 1; background: #EFEAE4; overflow: hidden; }
.pc-slides{ position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.pc-slide{ position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease); }
.pc-slide.is-active{ opacity: 1; }
.pc-slide img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.pc-tag{
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 3;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35);
}
.pc-tag--info{
  left: auto;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.25;
}
.pc-tag--info svg{ width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }

.pc-arrow{
  position: absolute;
  bottom: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pc-arrow svg{ width: 18px; height: 18px; }
.pc-arrow--prev{ left: 20px; }
.pc-arrow--next{ right: 20px; }
.pc-arrow:hover{ background: var(--red); color: #fff; }
.pc-arrow:active{ transform: scale(.94); }
.pc-arrow:focus-visible, .pc-dot:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; }

.pc-dots{ position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.pc-dot{
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  pointer-events: auto;
  transition: background .2s ease, transform .2s ease;
}
.pc-dot.is-active{ background: var(--red); transform: scale(1.2); }

.pc-body{ padding: 10px 30px 28px; }
.pc-specs{ margin: 0; padding: 0; list-style: none; }
.pc-spec{ display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--pc-line); }
.pc-spec-label{ display: block; font-size: 13.5px; color: var(--text-soft); margin-bottom: 2px; }
.pc-spec strong{ display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }

.pc-price-row{ display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.pc-price{ font-size: 40px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.pc-price--muted{ font-size: 26px; font-weight: 800; color: var(--text-soft); letter-spacing: 0; }
.pc-old{ font-size: 15px; color: var(--text-faint); }
.pc-off{ padding: 5px 11px; border-radius: 999px; background: var(--pc-pink); color: var(--red); font-size: 14px; font-weight: 800; }

.pc-cta{ padding: 17px 24px; font-size: 17px; border-radius: 10px; gap: 12px; margin-bottom: 12px; }
.pc-cta svg{ width: 20px; height: 20px; flex: 0 0 20px; }
.pc-cta-2{ padding: 14px 24px; font-size: 16px; gap: 10px; }
.pc-cta-2 svg{ width: 18px; height: 18px; flex: 0 0 18px; }

.pc-trust{ display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; padding: 0; list-style: none; }
.pc-trust li{ display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 12.5px; line-height: 1.3; color: var(--text-soft); }
.pc-trust li:first-child{ padding-left: 0; }
.pc-trust li + li{ border-left: 1px solid var(--pc-line); }

.pc-section .cat-other-formats{ margin-top: 40px; border-top-color: #E4DBD1; }

@media (max-width: 1080px){
  .pc-grid{ grid-template-columns: 1fr; }
  .pc-card{ position: static; margin-top: 8px; max-width: 640px; }
  .pc-arc{ display: none; }
}
@media (max-width: 640px){
  .pc-features{ grid-template-columns: 1fr; }
  .pc-fact{ padding: 0 18px 0 0; border-left: none !important; }
  .pc-banner{ flex-wrap: wrap; }
  .pc-banner-line{ display: none; }
  .pc-body{ padding: 8px 20px 24px; }
  .pc-trust li{ padding: 0 6px; font-size: 11.5px; flex-direction: column; text-align: center; gap: 6px; }
  .pc-trust li + li{ border-left: none; }
  .pc-price{ font-size: 34px; }
  .pc-tag{ top: 12px; left: 12px; padding: 6px 12px; font-size: 12px; }
  .pc-tag--info{ left: auto; right: 12px; padding: 6px 10px 6px 8px; font-size: 11px; }
  .pc-tag--info svg{ width: 20px; height: 20px; }
}

/* ==========================================================================
   Courses page: category cards + comparison table polish.
   Placed after the generic .reveal rules so the transition lists win.
   ========================================================================== */

.cc-section{ padding: 8px 0 12px; }
.cc-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.cc-card{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 18px;
  box-shadow: 0 20px 44px -34px rgba(60, 30, 20, .35);
  transition: opacity 700ms var(--ease), transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms var(--ease);
}
.cc-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 64px -34px rgba(60, 30, 20, .45);
}
.cc-card--featured{
  border-color: var(--red);
  background: linear-gradient(180deg, #FFF4F4 0%, #fff 55%);
}

.cc-top{ display: flex; align-items: center; gap: 14px; min-height: 62px; }
.cc-letter{ font-size: 76px; font-weight: 900; line-height: .8; color: var(--red); letter-spacing: -2px; }
.cc-chip{
  width: 64px; height: 64px; border-radius: 16px;
  background: #FBE4E5; color: var(--red);
  display: grid; place-items: center;
}
.cc-chip svg{ width: 34px; height: 34px; }

.cc-pill{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: #FBE4E5; color: var(--red);
  font-size: 12.5px; font-weight: 700;
}
.cc-pill svg{ width: 14px; height: 14px; }
.cc-pill--solid{ background: var(--red); color: #fff; }
.cc-pill--gray{ background: #F1EFEC; color: var(--text-soft); }

.cc-title{ margin: 20px 0 10px; font-size: 24px; font-weight: 800; }
.cc-desc{ margin: 0; max-width: 60%; font-size: 14px; line-height: 1.5; color: var(--text-soft); min-height: 63px; }

.cc-media{
  position: absolute;
  right: 20px;
  top: 128px;
  width: 36%;
  max-width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cc-media::before{
  content: "";
  position: absolute;
  right: -6px; bottom: 4%;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: #FBE4E5;
  opacity: .8;
}
.cc-media img{
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(40, 20, 10, .22));
  transition: transform 450ms var(--ease);
}
.cc-card:hover .cc-media img{ transform: translateY(-4px) scale(1.05); }

.cc-list{
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  max-width: 60%;
  list-style: none;
}
.cc-list li{ display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--black); }
.cc-list svg{ width: 18px; height: 18px; flex: 0 0 18px; color: var(--red); }

.cc-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}
.cc-price{ font-size: 24px; font-weight: 800; white-space: nowrap; }
.cc-price--muted{ font-size: 15px; font-weight: 700; color: var(--text-soft); white-space: normal; }

.cc-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.cc-link svg{ width: 16px; height: 16px; flex: 0 0 16px; }
.cc-link::after{ content: ""; position: absolute; inset: 0; border-radius: 18px; }
.cc-link:focus-visible{ outline: none; }
.cc-link:focus-visible::after{ outline: 2px solid var(--red); outline-offset: 3px; }
.cc-link--solid, .cc-card:hover .cc-link{ background: var(--red); color: #fff; }

/* table: white card, soft featured column */

@media (max-width: 1080px){
  .cc-grid{ grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .cc-desc{ min-height: 0; }
}
@media (max-width: 420px){
  .cc-card{ padding: 22px 20px 20px; }
  .cc-letter{ font-size: 64px; }
  .cc-media{ top: 118px; }
}
@media (max-width: 640px){
  .svc-hero-car{ left: 38%; height: 96%; bottom: -3%; }
  .svc-pin{ right: 3%; padding: 6px 12px 6px 10px; font-size: 11.5px; }
}

/* ==========================================================================
   Courses page: comparison "table" — columns read as cards, B is featured.
   Real <table> underneath so rows stay aligned and screen readers get headers.
   ========================================================================== */

.cmp-section{
  --cmp-cream: #F8F4EF;
  --cmp-card: #FCFAF8;
  --cmp-line: #EEE6DE;
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}
.cmp-rings{
  position: absolute;
  top: -150px;
  right: -130px;
  width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 66px, rgba(200, 18, 31, .09) 66px 67.5px);
  pointer-events: none;
}
.cmp-section .wrap{ position: relative; }

.cmp-head{ position: relative; margin-bottom: 38px; }
.cmp-pill{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: #FBE4E5;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.cmp-title{
  margin: 16px 0 14px;
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.cmp-title .accent{ color: var(--red); }
.cmp-sub{ margin: 0; max-width: 560px; font-size: clamp(14.5px, 1.2vw, 16px); line-height: 1.6; color: var(--text-soft); }
.cmp-hand{
  position: absolute;
  top: 44px;
  right: 9%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  color: #D78A90;
  transform: rotate(-5deg);
}
.cmp-hand svg{ width: 52px; height: 44px; }
.cmp-hand span{ font-family: 'Caveat', 'Segoe Script', cursive; font-size: 27px; line-height: 1.05; }

.cmp-wrap{ overflow-x: auto; padding: 18px 2px 14px; margin: 0 -2px; }
.cmp-table{
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.cmp-table th, .cmp-table td{
  position: relative;
  padding: 0 28px;
  height: 63px;
  background: var(--cmp-card);
  text-align: left;
  font-size: 14.5px;
  font-weight: 500;
  color: #2D3138;
  vertical-align: middle;
}
.cmp-table th:first-child{ width: 24%; }

/* thin inset row separators */
.cmp-table tbody tr:not(.cmp-price-row):not(.cmp-actions) > *::after{
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 1px;
  background: var(--cmp-line);
}

/* header */
.cmp-table thead th{ height: 128px; padding-top: 22px; padding-bottom: 22px; border-radius: 18px 18px 0 0; }
.cmp-param-head{ vertical-align: top !important; padding-top: 34px !important; }
.cmp-param{ display: flex; align-items: center; gap: 16px; }
.cmp-param svg{ width: 24px; height: 24px; flex: 0 0 24px; color: #555a63; }
.cmp-param-head .cmp-param span{ font-size: 13.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-soft); }
.cmp-param-cell{ font-weight: 500 !important; }

.cmp-h{ display: flex; align-items: center; gap: 18px; }
.cmp-h strong{ display: block; margin-bottom: 4px; font-size: 16.5px; font-weight: 800; color: var(--black); }
.cmp-h div span{ display: block; font-size: 13.5px; line-height: 1.45; font-weight: 400; color: var(--text-soft); }
.cmp-chip{
  flex: 0 0 64px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #FBE4E5;
  color: var(--red);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 20px -14px rgba(200, 18, 31, .55);
}
.cmp-chip svg{ width: 34px; height: 34px; }

/* values */
.cmp-price{ font-size: 24px; font-weight: 800; color: var(--black); }
.cmp-price--muted{ font-size: 17px; color: var(--text-soft); }
.cmp-old{ margin-left: 12px; font-size: 13px; color: var(--text-faint); }
.cmp-off{ margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: #FBE4E5; color: var(--red); font-size: 13px; font-weight: 800; }
.cmp-price-row td, .cmp-price-row th{ height: 74px; white-space: nowrap; }

.cmp-actions td, .cmp-actions th{ height: 104px; border-radius: 0 0 18px 18px; }
.cmp-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--red);
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.cmp-btn svg{ width: 16px; height: 16px; flex: 0 0 16px; }
.cmp-btn:hover, .cmp-btn--solid{ background: var(--red); color: #fff; }
.cmp-btn:hover{ transform: translateY(-2px); }
.cmp-btn--solid:hover{ background: var(--red-dark); }

/* gaps between the column "cards" */
.cmp-table th:first-child, .cmp-table td:first-child{ border-right: 3px solid var(--cmp-cream); background: #FBF8F4; }
.cmp-table th:nth-child(2), .cmp-table td:nth-child(2){ border-right: 3px solid var(--cmp-cream); }
.cmp-table th:nth-child(4), .cmp-table td:nth-child(4){ border-left: 3px solid var(--cmp-cream); }

/* featured column */
.cmp-table .is-featured{
  background: linear-gradient(180deg, #FFEEEE 0%, #FFF7F7 100%);
  border-left: 1.5px solid var(--red);
  border-right: 1.5px solid var(--red);
}
.cmp-table thead .is-featured{ border-top: 1.5px solid var(--red); }
.cmp-table .cmp-actions .is-featured{ border-bottom: 1.5px solid var(--red); }
.cmp-badge{
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cmp-badge svg{ width: 14px; height: 14px; }

/* bottom reassurance strip */
.cmp-foot{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding: 22px 40px 22px 34px;
  border-radius: 999px;
  background: #F1EBE4;
  color: var(--text-soft);
}
.cmp-foot-ic{ flex: 0 0 44px; color: var(--red); }
.cmp-foot-ic svg{ width: 44px; height: 44px; }
.cmp-foot p{ flex: 1 1 340px; margin: 0; max-width: 430px; font-size: 14.5px; line-height: 1.6; }
.cmp-foot ul{ display: flex; flex: 1 1 auto; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.cmp-foot li{ display: flex; align-items: center; gap: 12px; padding: 0 clamp(16px, 3vw, 44px); font-size: 14px; line-height: 1.5; }
.cmp-foot li + li{ border-left: 1px solid #E0D7CD; }
.cmp-foot li:last-child{ padding-right: 0; }
.cmp-foot li svg{ width: 26px; height: 26px; flex: 0 0 26px; color: var(--red); }

@media (max-width: 900px){
  .cmp-hand, .cmp-rings{ display: none; }
  .cmp-foot{ flex-wrap: wrap; border-radius: 28px; padding: 24px; }
  .cmp-foot ul{ justify-content: flex-start; flex-wrap: wrap; row-gap: 14px; }
  .cmp-foot li{ padding: 0 20px 0 0; }
  .cmp-foot li + li{ border-left: none; padding-left: 0; }
}
@media (max-width: 1400px){
  .cmp-table th, .cmp-table td{ padding: 0 18px; }
  .cmp-table tbody tr:not(.cmp-price-row):not(.cmp-actions) > *::after{ left: 18px; right: 18px; }
  .cmp-h{ gap: 12px; }
  .cmp-chip{ flex-basis: 52px; width: 52px; height: 52px; font-size: 32px; border-radius: 14px; }
  .cmp-chip svg{ width: 28px; height: 28px; }
  .cmp-h strong{ font-size: 15px; }
  .cmp-h div span{ font-size: 12.5px; }
  .cmp-param{ gap: 12px; }
  .cmp-table{ min-width: 820px; }
}

/* ==========================================================================
   FAQ section (index + courses): numbered accordion + help card.
   Appended after the generic .reveal rules so the transition lists win.
   ========================================================================== */

.faq-section{
  position: relative;
  overflow: hidden;
  background: #F8F4EF;
  padding: 56px 0 72px;
}
.faq-section .wrap{ position: relative; }
.faq-watermark{
  position: absolute;
  top: 18px;
  right: 3%;
  font-size: clamp(110px, 15vw, 230px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.02em;
  color: rgba(70, 45, 30, .06);
  pointer-events: none;
  user-select: none;
}

.faq-head{ position: relative; margin-bottom: 38px; }
.faq-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: #FBE4E5;
  color: var(--red);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.faq-pill-ic svg{ display: block; width: 22px; height: 22px; color: var(--red); }
.faq-title{
  margin: 18px 0 16px;
  max-width: 640px;
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.faq-title .accent{ color: var(--red); }
.faq-sub{ margin: 0; max-width: 560px; font-size: clamp(14.5px, 1.25vw, 17px); line-height: 1.65; color: var(--text-soft); }
.faq-hand{
  position: absolute;
  top: 66px;
  right: 24%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  color: #C9858B;
  transform: rotate(-4deg);
}
.faq-hand svg{ width: 52px; height: 44px; }
.faq-hand span{ font-family: 'Caveat', 'Segoe Script', cursive; font-size: 25px; line-height: 1.1; }

.faq-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

/* -- accordion -- */
.faq-list{ display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  background: #FCFAF8;
  border: 1px solid #F0E9E2;
  border-radius: 14px;
  overflow: hidden;
  transition: opacity 700ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
}
.faq-item:hover{
  background: #fff;
  box-shadow: 0 18px 36px -26px rgba(60, 30, 20, .35);
  transform: translateY(-3px);
}
.faq-item.is-open{ background: #FDEEEE; border-color: rgba(200, 18, 31, .22); }

.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-question:focus-visible{ outline: 2px solid var(--red); outline-offset: -2px; border-radius: 14px; }
.faq-num{ flex: 0 0 36px; font-size: 26px; font-weight: 400; line-height: 1; color: var(--red); }
.faq-q-text{ flex: 1; min-width: 0; }

.faq-toggle{ position: relative; width: 20px; height: 20px; flex: 0 0 20px; }
.faq-toggle::before,
.faq-toggle::after{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--red);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-toggle::before{ width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after{ width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-toggle::after{ opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-answer p{
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 28px 0 88px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}
.faq-item.is-open .faq-answer{ grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p{ padding-bottom: 28px; }

/* -- help card -- */
.faq-help{
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 34px 34px 36px;
  background: #FCFAF8;
  border-radius: 20px;
  box-shadow: 0 24px 50px -38px rgba(60, 30, 20, .4);
}
.faq-help::after{
  content: "";
  position: absolute;
  right: -70px; top: 150px;
  width: 280px; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(200, 18, 31, .32);
  border-right-color: rgba(200, 18, 31, .32);
  transform: rotate(8deg);
  pointer-events: none;
}
.faq-help-ic{
  width: 84px; height: 84px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #FBE4E5;
  color: var(--red);
}
.faq-help-ic svg{ width: 44px; height: 44px; }
.faq-help h3{ margin: 0 0 14px; max-width: 380px; font-size: clamp(22px, 2vw, 26px); font-weight: 700; line-height: 1.3; }
.faq-help > p{ margin: 0 0 26px; max-width: 420px; font-size: 15px; line-height: 1.65; color: var(--text-soft); }
.faq-help-list{ margin: 0 0 30px; padding: 0; max-width: 270px; list-style: none; }
.faq-help-list li{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #EFE8E1;
  font-size: 14px;
  line-height: 1.45;
  color: #3B4048;
}
.faq-help-list li:last-child{ border-bottom: none; }
.faq-help-chip{
  flex: 0 0 56px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #FBE4E5;
  color: var(--red);
}
.faq-help-chip svg{ width: 26px; height: 26px; }
.faq-help-cta{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.faq-help-cta:hover{ background: var(--red-dark); transform: translateY(-2px); }
.faq-help-cta svg{ width: 20px; height: 20px; flex: 0 0 20px; }
.faq-help-img{
  position: absolute;
  right: 26px;
  bottom: 104px;
  width: 34%;
  max-width: 230px;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 14px;
  transform: rotate(-5deg);
  box-shadow: 0 22px 36px -20px rgba(40, 20, 10, .5);
}

@media (max-width: 1080px){
  .faq-grid{ grid-template-columns: minmax(0, 1fr); }
  .faq-hand{ display: none; }
  .faq-help{ min-height: 0; }
}
@media (max-width: 640px){
  .faq-section{ padding: 40px 0 56px; }
  .faq-question{ padding: 20px 18px; gap: 14px; font-size: 15.5px; }
  .faq-num{ flex-basis: 26px; font-size: 20px; }
  .faq-answer p{ padding: 0 18px 0 58px; font-size: 14.5px; }
  .faq-help{ padding: 26px 22px 28px; }
  .faq-help-img, .faq-help::after{ display: none; }
  .faq-help-cta{ padding: 16px 20px; font-size: 15px; gap: 10px; }
  .faq-watermark{ top: 6px; right: -6px; font-size: 96px; }
}
@media (max-width: 1359px){
  .faq-help-img{ display: none; }
  .faq-help{ min-height: 0; }
}

/* ==========================================================================
   Site-wide "cream & pink" theme for every page except the courses page and
   the three category pages (those have their own pc-/cc-/cmp- styles).
   Scope: body.theme-cream (inner pages) + index sections that opt in.
   ========================================================================== */

body.theme-cream{ background: #F8F4EF; }
.theme-cream, .reviews-section, .info-block{
  --icon-bg: #FBE4E5;
  --icon-fg: var(--red);
}

/* -- section head: pill + big title + sub (+ handwritten note, watermark) -- */
.sec-hero{ position: relative; overflow: hidden; padding: 14px 0 30px; }
.sec-hero .wrap{ position: relative; }
.sec-mark{
  position: absolute;
  top: 8px;
  right: 3%;
  font-size: clamp(80px, 12vw, 190px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: rgba(70, 45, 30, .06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.sec-pill{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: #FBE4E5;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.sec-pill::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.sec-title{
  margin: 18px 0 14px;
  max-width: 760px;
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.sec-title .accent{ color: var(--red); }
.sec-sub{ margin: 0; max-width: 540px; font-size: clamp(14.5px, 1.25vw, 17px); line-height: 1.65; color: var(--text-soft); }
.sec-hand{
  position: absolute;
  top: 52px;
  right: 22%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  color: #C9858B;
  transform: rotate(-4deg);
}
.sec-hand svg{ width: 52px; height: 44px; }
.sec-hand span{ font-family: 'Caveat', 'Segoe Script', cursive; font-size: 25px; line-height: 1.1; }

.theme-cream .section-subtitle{
  margin: 60px 0 26px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.2px;
  text-transform: lowercase;
}
.theme-cream .section-subtitle::first-letter{ text-transform: uppercase; }

/* -- cards: soft white tiles on cream, one hover language everywhere -- */
:is(.theme-cream, .reviews-section) :is(.review-card, .filial-card, .fleet-card, .instructor-card, .included-item, .feature-item, .offer-card, .tariff-card, .step-card, .stats-block .stat){
  background: #FCFAF8;
  border: 1px solid #F0E9E2;
  border-radius: 16px;
  box-shadow: 0 20px 44px -38px rgba(60, 30, 20, .35);
  transition: opacity 700ms var(--ease), transform 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease), border-color 350ms var(--ease);
}
:is(.theme-cream, .reviews-section) :is(.review-card, .filial-card, .fleet-card, .instructor-card, .included-item, .feature-item, .offer-card, .tariff-card, .step-card, .stats-block .stat):hover{
  background: #fff;
  border-color: #F0E9E2;
  box-shadow: 0 28px 52px -34px rgba(60, 30, 20, .42);
  transform: translateY(-6px);
}
.theme-cream .step-card{ padding: 26px; }
.theme-cream .step-card:hover .step-num{ background: var(--red); transform: scale(1.08); }
.theme-cream .stats-block{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.theme-cream .stats-block .stat{ padding: 22px; border-left: none; gap: 14px; }
.theme-cream .stats-block .stat + .stat{ border-left: 1px solid #F0E9E2; }
.theme-cream .stat-icon{ width: 48px; height: 48px; border-radius: 14px; }

.theme-cream .included-icon{ background: #FBE4E5; }
.theme-cream .mini-step-icon{ background: #FBE4E5; }
.theme-cream .check{ width: 22px; height: 22px; font-size: 12px; }
.theme-cream .contact-icon{ box-shadow: none; }

/* -- tariffs -- */
.theme-cream .tariff-card{ padding: 30px 26px 26px; border-radius: 20px; }
.theme-cream .tariff-card.is-featured{
  background: linear-gradient(180deg, #FFF3F3 0%, #FFFFFF 62%);
  border: 1.5px solid var(--red);
  box-shadow: 0 30px 56px -36px rgba(200, 18, 31, .45);
}
.tariff-media{ position: relative; height: 150px; display: grid; place-items: center; margin-bottom: 14px; }
.tariff-media::before{ content: ""; position: absolute; width: 128px; aspect-ratio: 1; border-radius: 50%; background: #FBE4E5; opacity: .85; }
.tariff-media img{ position: relative; width: auto; height: auto; max-width: 82%; max-height: 130px; filter: drop-shadow(0 12px 14px rgba(40, 20, 10, .22)); transition: transform 450ms var(--ease); }
.tariff-card:hover .tariff-media img{ transform: translateY(-4px) scale(1.05); }
.theme-cream .tariff-card h3{ font-size: 22px; }
.theme-cream .tariff-price{ font-size: 30px; }

/* -- promotions -- */
.theme-cream .promo-hero-card{
  background: linear-gradient(120deg, #FBE4E5 0%, #FFF4F2 100%);
  border-radius: 22px;
  padding: 40px 48px;
  box-shadow: 0 26px 52px -42px rgba(200, 18, 31, .45);
}
.theme-cream .promo-hero-eyebrow{ font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.5px; }
.theme-cream .promo-hero-desc{ font-size: 16px; max-width: 380px; }
.theme-cream .promo-hero-gift svg{ width: 170px; }

/* -- reviews page: rating chip -- */
.theme-cream .rating-summary{
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #FCFAF8;
  border: 1px solid #F0E9E2;
  box-shadow: 0 16px 30px -26px rgba(60, 30, 20, .4);
}

/* -- contacts page -- */
.theme-cream .contacts-page-grid .contacts-col{
  padding: 32px 34px;
  background: #FCFAF8;
  border: 1px solid #F0E9E2;
  border-radius: 20px;
  box-shadow: 0 24px 50px -40px rgba(60, 30, 20, .4);
}
.theme-cream .map-frame{ border-radius: 20px; border-color: #F0E9E2; box-shadow: 0 24px 50px -40px rgba(60, 30, 20, .4); }
.theme-cream .contacts-page-grid{ align-items: stretch; }

/* -- about -- */
.theme-cream .about-hero{ padding: 14px 0 0; }
.theme-cream .about-hero-media{ border-radius: 22px; background: #F1E9E1; box-shadow: 0 26px 52px -42px rgba(60, 30, 20, .45); }
.theme-cream .about-media-bg{ background: radial-gradient(circle at 62% 62%, #FBE4E5 0 34%, transparent 35%), linear-gradient(180deg, #F4ECE4 0%, #EADFD3 100%); }
.theme-cream .about-hero-car{ width: auto; height: 94%; max-width: none; bottom: -2%; }
.theme-cream .mission-card{
  background: linear-gradient(120deg, #FBE4E5 0%, #FFF4F2 100%);
  border-radius: 22px;
  box-shadow: 0 26px 52px -42px rgba(200, 18, 31, .45);
}
.theme-cream .mission-text h2{ color: var(--black); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.2px; }
.theme-cream .mission-text p{ color: var(--text-soft); font-size: 15px; }
.theme-cream .mission-media{ border-radius: 16px; }

/* -- booking -- */
.theme-cream .booking-form-col{
  padding: 36px 38px 40px;
  background: #FCFAF8;
  border: 1px solid #F0E9E2;
  border-radius: 22px;
  box-shadow: 0 26px 52px -42px rgba(60, 30, 20, .4);
}
.theme-cream .booking-form{ max-width: none; }
.theme-cream .form-row input,
.theme-cream .form-row select,
.theme-cream .form-row textarea{ background: #fff; border: 1px solid #EDE5DC; border-radius: 12px; padding: 14px 16px; }
.theme-cream .booking-side-media{ border-radius: 22px; }
.theme-cream .booking-side-card{ border-radius: 18px; border-color: #F0E9E2; background: #FCFAF8; }

/* -- landing pages (practical / online / examprep) -- */
.theme-cream .landing-hero{ padding: 14px 0 20px; }
.theme-cream .landing-hero-media{
  min-height: 320px;
  border-radius: 22px;
  background: radial-gradient(circle at 60% 58%, #FBE4E5 0 30%, transparent 31%), linear-gradient(135deg, #F4ECE4, #EFE5DB);
  box-shadow: 0 26px 52px -42px rgba(60, 30, 20, .45);
}
.theme-cream .landing-hero-media img{ filter: drop-shadow(0 18px 24px rgba(40, 25, 15, .25)); }
.theme-cream .landing-hero-text .btn{ margin-top: 28px; }

/* -- index: opt-in sections -- */
.promo-block--flush{ padding-bottom: 0; }
.promo-block--flush .referral-banner{ margin-bottom: 0; }
.reviews-section{ background: #F8F4EF; padding: 64px 0 76px; }
.reviews-section .rev-head{ margin-bottom: 34px; }
.reviews-section .reviews-title{
  margin: 16px 0 0;
  text-align: left;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.reviews-section .reviews-title .accent{ color: var(--red); }
.reviews-section .reviews-more{ justify-content: flex-start; }

.info-block .sec-pill{ margin-bottom: 14px; }
.info-block .info-title{ font-size: clamp(26px, 3vw, 40px); letter-spacing: -.3px; text-transform: none; font-weight: 800; }
.info-block .contacts-col{
  padding: 30px 32px;
  background: #F8F4EF;
  border-radius: 20px;
}

@media (max-width: 1080px){
  .sec-hand{ display: none; }
  .theme-cream .stats-block{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .sec-mark{ font-size: 72px; top: 4px; right: -4px; }
  .theme-cream .booking-form-col{ padding: 26px 20px 30px; }
  .theme-cream .contacts-page-grid .contacts-col{ padding: 24px 22px; }
  .theme-cream .promo-hero-card{ padding: 30px 24px; }
  .theme-cream .stats-block{ grid-template-columns: minmax(0, 1fr); }
  .reviews-section{ padding: 44px 0 56px; }
  .info-block .contacts-col{ padding: 24px 22px; }
}

/* ==== "Почему выбирают нас" — new layout (wy-*) ==== */
.wy{ padding: 24px 0 72px; }
.wy-wrap{ position: relative; }
.wy-watermark{
  position: absolute; top: -8px; right: -40px;
  font-size: clamp(60px, 9vw, 150px); font-weight: 900; line-height: .9;
  letter-spacing: -2px; color: rgba(200, 18, 31, .05);
  pointer-events: none; user-select: none; white-space: nowrap;
  overflow: hidden; max-width: 100%;
}
.wy-head{ position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 44px; }
.wy-head .sec-pill{ margin-bottom: 14px; }
.wy-title{ font-size: clamp(30px, 4.4vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -.5px; text-transform: uppercase; margin: 0 0 16px; }
.wy-title .accent{ color: var(--red); }
.wy-lead{ max-width: 500px; font-size: 15px; line-height: 1.6; color: #6B6B73; margin: 0; }
.wy-note{ display: flex; align-items: flex-end; gap: 4px; margin: 34px 7% 0 0; color: #8d8d95; transform: rotate(-3deg); }
.wy-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; text-align: right; }
.wy-note svg{ width: 54px; height: 44px; flex: 0 0 54px; transform: translateY(14px); }

.wy-grid{ position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 400px) minmax(0,1fr); gap: 32px; align-items: center; }
.wy-col{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }

.wy-item{
  --wy-t: 800ms cubic-bezier(.45, 0, .2, 1);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 22px; border-radius: 16px;
  border: 1px solid transparent; background: transparent;
  outline: none;
  transition: opacity 700ms var(--ease), transform var(--wy-t), border-color var(--wy-t), box-shadow var(--wy-t);
}
/* pink fill is faded in via opacity — gradients themselves can't be transitioned */
.wy-item::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, #FDEEEF, #FBE4E5);
  opacity: 0; transition: opacity var(--wy-t);
}
.wy-icon{
  position: relative; isolation: isolate;
  flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 70%);
  box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  color: var(--red);
  transition: transform var(--wy-t, 800ms), box-shadow var(--wy-t, 800ms), color var(--wy-t, 800ms);
}
.wy-icon::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--red); opacity: 0;
  transition: opacity 800ms cubic-bezier(.45, 0, .2, 1);
}
.wy-icon svg{ width: 28px; height: 28px; }
.wy-body h3{ font-size: 18px; font-weight: 700; margin: 4px 0 8px; color: var(--black, #111); transition: color 800ms cubic-bezier(.45, 0, .2, 1); }
.wy-body p{ font-size: 14px; line-height: 1.6; color: #6B6B73; margin: 0; }

.wy-item.is-active, .wy-item.is-featured{
  border-color: rgba(200,18,31,.35);
  box-shadow: 0 22px 44px -34px rgba(200,18,31,.5);
  transform: translateY(-4px);
}
.wy-item.is-active::before, .wy-item.is-featured::before{ opacity: 1; }
.wy-item.is-active .wy-icon, .wy-item.is-featured .wy-icon{
  color: #fff; transform: scale(1.06);
  box-shadow: 0 14px 26px -10px rgba(200,18,31,.6);
}
.wy-item.is-active .wy-icon::before, .wy-item.is-featured .wy-icon::before{ opacity: 1; }
.wy-item.is-active .wy-body h3{ color: var(--red); }

.wy-center{ display: grid; place-items: center; }
.wy-photo-wrap{ position: relative; width: 100%; max-width: 400px; aspect-ratio: 400 / 440; margin: 30px 0; }
.wy-photo{
  position: absolute; inset: 0; border-radius: 120px 120px 120px 120px / 90px 90px 90px 90px;
  border-radius: 28% 28% 28% 28% / 25% 25% 25% 25%;
  background: #E8DCD4 url("car_adv.jpeg") no-repeat;
  background-size: 330% auto; background-position: 49% 58%;
  box-shadow: 0 30px 60px -36px rgba(60,30,20,.55);
  overflow: hidden;
}
.wy-photo::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%); }
.wy-arc{ position: absolute; width: 64%; height: 64%; border: 1.5px solid var(--red); pointer-events: none; }
.wy-arc--tl{ top: -26px; left: -26px; border-right: 0; border-bottom: 0; border-radius: 40% 0 0 0; }
.wy-arc--br{ bottom: -26px; right: -26px; border-left: 0; border-top: 0; border-radius: 0 0 40% 0; }
.wy-stat{
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: 92%;
  padding: 14px 22px; background: #fff; border-radius: 14px;
  box-shadow: 0 20px 40px -24px rgba(60,30,20,.45);
}
.wy-percent{ font-size: 44px; font-weight: 900; line-height: 1; color: var(--red); letter-spacing: -1px; }
.wy-percent i{ font-style: normal; font-size: 22px; vertical-align: top; position: relative; top: 4px; }
.wy-percent-label{ font-size: 13px; line-height: 1.3; max-width: 130px; color: #333; }

.wy-cta{
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px;
  margin-top: 44px; padding: 26px 40px; border-radius: 20px;
  background: linear-gradient(100deg, #FDEEEF, #FBE4E5); border: 1px solid rgba(200,18,31,.14);
  transition: opacity 700ms var(--ease), transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.wy-cta:hover{ transform: translateY(-3px); box-shadow: 0 24px 46px -34px rgba(200,18,31,.5); }
.wy-cta::after{
  content:""; position:absolute; right: 190px; top: -60px; width: 300px; height: 300px;
  border: 1.5px solid rgba(200,18,31,.5); border-radius: 50%; border-bottom-color: transparent; border-right-color: transparent; border-left-color: transparent;
  pointer-events: none;
}
.wy-cta-icon{ flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 12px 26px -14px rgba(200,18,31,.5); }
.wy-cta-icon svg{ width: 32px; height: 32px; }
.wy-cta-text{ flex: 1; min-width: 0; }
.wy-cta-title{ font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.wy-cta-desc{ font-size: 15px; color: #6B6B73; margin: 0; }
.wy-cta-btn{ position: relative; z-index: 1; flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 1100px){
  .wy-grid{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .wy-center{ grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
  .wy-note{ display: none; }
}
@media (max-width: 720px){
  .wy-grid{ grid-template-columns: minmax(0,1fr); gap: 8px; }
  .wy-col{ gap: 8px; }
  .wy-item{ padding: 16px; gap: 14px; }
  .wy-icon{ flex-basis: 52px; width: 52px; height: 52px; }
  .wy-photo-wrap{ max-width: 320px; margin: 40px auto 24px; }
  .wy-watermark{ font-size: 56px; right: -10px; }
  .wy-cta{ flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 16px; }
  .wy-cta-title{ font-size: 21px; }
  .wy-cta-btn{ width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
  .wy-item.is-active, .wy-cta:hover{ transform: none; }
}
.wy{ background: radial-gradient(900px 420px at 85% 0%, rgba(251,228,229,.55), transparent 70%), #F8F4EF; padding-top: 56px; overflow: hidden; }

/* ==== "Тарифы" — new layout (tf-*) ==== */
.tf{
  background: radial-gradient(900px 420px at 10% 0%, rgba(251,228,229,.6), transparent 70%), #F8F4EF;
  padding: 56px 0 80px; overflow: hidden;
}
.tf-wrap{ position: relative; }
.tf-watermark{
  position: absolute; top: -8px; right: -20px;
  font-size: clamp(60px, 9vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -2px;
  color: rgba(200, 18, 31, .05); pointer-events: none; user-select: none; white-space: nowrap;
  overflow: hidden; max-width: 100%;
}
.tf-head-row{ position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 44px; }
.tf-head-row .sec-pill{ margin-bottom: 14px; }
.tf-title-h{ font-size: clamp(30px, 4.4vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -.5px; text-transform: uppercase; margin: 0 0 16px; }
.tf-title-h .accent{ color: var(--red); }
.tf-lead{ max-width: 500px; font-size: 15px; line-height: 1.6; color: #6B6B73; margin: 0; }
.tf-note{ display: flex; align-items: flex-end; gap: 4px; margin: 34px 7% 0 0; color: #8d8d95; transform: rotate(-3deg); }
.tf-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; text-align: right; }
.tf-note svg{ width: 54px; height: 44px; flex: 0 0 54px; transform: translateY(14px); }

.tf-grid{ position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.tf-card{
  --tf-t: 800ms cubic-bezier(.45, 0, .2, 1);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 28px 26px; border-radius: 24px;
  background: #FCFAF8; border: 1px solid #F0E9E2;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
  outline: none;
  transition: opacity 700ms var(--ease), transform var(--tf-t), border-color var(--tf-t), box-shadow var(--tf-t);
}
/* pink fill is faded in via opacity — gradients themselves can't be transitioned */
.tf-card::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, #FDEEEF, #FBE4E5);
  opacity: 0; transition: opacity var(--tf-t);
}
.tf-card.is-active, .tf-card:focus-visible{
  border-color: rgba(200,18,31,.35);
  box-shadow: 0 26px 50px -34px rgba(200,18,31,.5);
  transform: translateY(-6px);
}
.tf-card.is-active::before, .tf-card:focus-visible::before{ opacity: 1; }

.tf-num{ position: absolute; top: 22px; right: 26px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: rgba(200,18,31,.35); }
.tf-badge{
  position: absolute; top: 20px; left: 28px;
  padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.tf-card--b .tf-top{ padding-top: 22px; }

.tf-top{ display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 170px; }
.tf-head{ display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tf-kicker{ font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8d8d95; }
.tf-letter{ font-size: 76px; font-weight: 900; line-height: .95; color: var(--red); }
.tf-title-lg{ font-size: 30px; font-weight: 900; line-height: 1.05; text-transform: uppercase; color: var(--black, #111); }
.tf-pill{
  display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #F0E9E2; font-size: 12px; font-weight: 600; color: #55555d;
  transition: background var(--tf-t), border-color var(--tf-t);
}
.tf-card.is-active .tf-pill{ background: rgba(255,255,255,.8); border-color: rgba(200,18,31,.2); }

.tf-visual{ position: relative; flex: 0 0 48%; max-width: 190px; aspect-ratio: 1 / .8; display: grid; place-items: center; }
.tf-glow{
  position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,228,229,.95), rgba(251,228,229,0) 70%);
  transition: transform var(--tf-t);
}
.tf-visual img{ position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform var(--tf-t); }
.tf-card.is-active .tf-visual img{ transform: scale(1.06) translateY(-2px); }
.tf-card.is-active .tf-glow{ transform: scale(1.15); }

.tf-list{ list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-list li{ display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: #3a3a42; }
.tf-ic{
  position: relative; isolation: isolate; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #FBE4E5; color: var(--red);
  transition: color var(--tf-t, 800ms);
}
.tf-ic::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--red); opacity: 0; transition: opacity 800ms cubic-bezier(.45, 0, .2, 1);
}
.tf-ic svg{ width: 18px; height: 18px; }
.tf-rub{ font-size: 16px; font-weight: 800; line-height: 1; }
.tf-card.is-active .tf-ic{ color: #fff; }
.tf-card.is-active .tf-ic::before{ opacity: 1; }

.tf-foot{
  margin-top: auto; padding-top: 18px; border-top: 1px dashed rgba(200,18,31,.22);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.tf-price{ margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.5px; color: var(--black, #111); transition: color var(--tf-t); }
.tf-price--muted{ font-size: 18px; font-weight: 600; letter-spacing: 0; color: #8d8d95; }
.tf-card.is-active .tf-price:not(.tf-price--muted){ color: var(--red); }
.tf-cta{ flex: 0 0 auto; white-space: nowrap; }

.tf-more{ margin: 36px 0 0; text-align: center; }
.tf-more a{ font-size: 15px; font-weight: 600; color: var(--red); text-decoration: none; border-bottom: 1.5px solid rgba(200,18,31,.3); padding-bottom: 2px; transition: border-color 350ms var(--ease); }
.tf-more a:hover{ border-color: var(--red); }

@media (max-width: 1100px){ .tf-note{ display: none; } }
@media (max-width: 720px){ .tf-watermark{ font-size: 56px; right: -10px; } }
@media (prefers-reduced-motion: reduce){
  .tf-card.is-active{ transform: none; }
}

/* ==== Тарифы v2: большая средняя карточка, парящие картинки, «билетные» вырезы ==== */
.tf-grid{ grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 22px; }
.tf-card{ --tf-pad: 28px; --tf-nb: #F0E9E2; padding: 28px var(--tf-pad) 26px; }
.tf-card.is-active, .tf-card:focus-visible{ --tf-nb: #EBBFC3; }

/* featured middle card: larger on every axis */
.tf-card--b{
  --tf-pad: 36px;
  padding: 40px var(--tf-pad) 34px;
  box-shadow: 0 34px 64px -42px rgba(200,18,31,.55), 0 20px 44px -38px rgba(60,30,20,.35);
}
.tf-card--b .tf-top{ padding-top: 14px; min-height: 230px; }
.tf-card--b .tf-letter{ font-size: 108px; }
.tf-card--b .tf-visual{ flex-basis: 54%; max-width: 270px; }
.tf-card--b .tf-pill{ font-size: 13px; padding: 7px 14px; }
.tf-card--b .tf-list{ gap: 15px; margin: 22px 0 28px; }
.tf-card--b .tf-list li{ font-size: 16px; }
.tf-card--b .tf-ic{ flex-basis: 42px; width: 42px; height: 42px; }
.tf-card--b .tf-ic svg{ width: 20px; height: 20px; }
.tf-card--b .tf-price{ font-size: 42px; }
.tf-card--b .tf-cta{ padding: 15px 28px; font-size: 16px; }
.tf-card--b .tf-badge{ top: 22px; left: var(--tf-pad); font-size: 12px; padding: 6px 14px; }
.tf-card--b .tf-num{ top: 26px; right: 32px; }

/* ticket: perforation notches on the dashed divider */
.tf-foot{ position: relative; }
.tf-foot::before, .tf-foot::after{
  content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: #F8F4EF; border: 1px solid var(--tf-nb);
  transition: border-color var(--tf-t);
}
.tf-foot::before{ left: calc(-1 * var(--tf-pad) - 12px); }
.tf-foot::after{ right: calc(-1 * var(--tf-pad) - 12px); }

/* vehicle hovering in the air: bobbing + tilt, ground shadow breathes against it */
.tf-visual{ overflow: visible; }
.tf-visual img{ animation: tfFloat 4.2s ease-in-out infinite; will-change: transform; }
.tf-card--a .tf-visual img{ animation-name: tfFloatA; animation-duration: 4.8s; }
.tf-card--online .tf-visual img{ animation-duration: 5.2s; animation-delay: -1.4s; }
.tf-card--b .tf-visual img{ animation-delay: -2.2s; }
.tf-card.is-active .tf-visual img{ transform: none; }

.tf-visual::after{
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -10px; height: 14px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(60,30,20,.30), rgba(60,30,20,0) 70%);
  animation: tfShadow 4.2s ease-in-out infinite;
}
.tf-card--a .tf-visual::after{ animation-duration: 4.8s; }
.tf-card--online .tf-visual::after{ animation-duration: 5.2s; animation-delay: -1.4s; }
.tf-card--b .tf-visual::after{ animation-delay: -2.2s; }

/* speed lines trailing behind the motorbike and the car */
.tf-card--a .tf-visual > .tf-glow::after, .tf-card--b .tf-visual > .tf-glow::after{
  content: ""; position: absolute; right: -14%; top: 40%; width: 44px; height: 26px;
  background:
    linear-gradient(90deg, rgba(200,18,31,.55), rgba(200,18,31,0)) 0 0 / 44px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.4), rgba(200,18,31,0)) 8px 12px / 32px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.3), rgba(200,18,31,0)) 4px 24px / 38px 2px no-repeat;
  animation: tfWind 1.8s ease-out infinite;
}
.tf-card--b .tf-visual > .tf-glow::after{ width: 56px; right: -18%; }
.tf-glow{ animation: tfGlow 4.2s ease-in-out infinite; }

/* online card: laptop gets a pulsing signal ring */
.tf-card--online .tf-visual > .tf-glow::before{
  content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1.5px solid rgba(200,18,31,.35);
  animation: tfRing 3s ease-out infinite;
}

@keyframes tfFloat{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-9px) rotate(-1.2deg); }
}
@keyframes tfFloatA{
  0%, 100%{ transform: translate(0, 0) rotate(-4deg); }
  50%{ transform: translate(5px, -8px) rotate(-1.5deg); }
}
@keyframes tfShadow{
  0%, 100%{ transform: scaleX(1); opacity: 1; }
  50%{ transform: scaleX(.78); opacity: .55; }
}
@keyframes tfWind{
  0%{ transform: translateX(-10px); opacity: 0; }
  30%{ opacity: 1; }
  100%{ transform: translateX(14px); opacity: 0; }
}
@keyframes tfGlow{
  0%, 100%{ opacity: .85; }
  50%{ opacity: 1; }
}
@keyframes tfRing{
  0%{ transform: scale(.7); opacity: .9; }
  100%{ transform: scale(1.25); opacity: 0; }
}

@media (max-width: 1100px){
  .tf-grid{ gap: 16px; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr) minmax(0,1fr); }
  .tf-card{ --tf-pad: 20px; padding: 24px var(--tf-pad) 22px; }
  .tf-card--b{ --tf-pad: 24px; padding: 32px var(--tf-pad) 26px; }
  .tf-card--b .tf-letter{ font-size: 84px; }
  .tf-letter{ font-size: 60px; }
  .tf-title-lg{ font-size: 24px; }
  .tf-card--online{ grid-column: auto; }
  .tf-price{ font-size: 26px; }
  .tf-card--b .tf-price{ font-size: 32px; }
  .tf-top{ min-height: 0; flex-wrap: wrap; }
  .tf-visual{ flex-basis: 100%; max-width: none; height: 110px; }
  .tf-card--b .tf-visual{ max-width: none; height: 140px; }
  .tf-cta{ width: 100%; justify-content: center; }
}
@media (max-width: 860px){
  .tf-grid{ grid-template-columns: minmax(0,1fr); max-width: 560px; margin: 0 auto; gap: 18px; }
  .tf-card, .tf-card--b{ --tf-pad: 22px; padding: 26px var(--tf-pad) 24px; }
  .tf-card--b{ padding-top: 40px; }
  .tf-card--b .tf-letter, .tf-letter{ font-size: 72px; }
  .tf-card--b .tf-price, .tf-price{ font-size: 32px; }
  .tf-top{ flex-wrap: nowrap; min-height: 150px; }
  .tf-visual, .tf-card--b .tf-visual{ flex: 0 0 46%; max-width: 190px; height: auto; }
  .tf-card--b .tf-top{ min-height: 170px; }
  .tf-card--b .tf-visual{ max-width: 220px; }
  .tf-foot{ flex-direction: column; align-items: flex-start; }
  .tf-card--b .tf-list li{ font-size: 15px; }
  .tf-card--b .tf-ic{ flex-basis: 38px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce){
  .tf-visual img, .tf-visual::after, .tf-glow, .tf-glow::after, .tf-glow::before{ animation: none !important; }
}

/* ==== Бегущая строка: кремово-розовая гамма ==== */
.referral-banner{
  background: linear-gradient(90deg, #FBE4E5, #FDEEEF 50%, #FBE4E5);
  color: var(--black);
  padding: 16px 0;
  border-top: 1px solid rgba(200,18,31,.14);
  border-bottom: 1px solid rgba(200,18,31,.14);
}
.referral-icon{
  width: 40px; height: 40px;
  background: var(--red); color: #fff;
  box-shadow: 0 10px 18px -8px rgba(200,18,31,.65);
}
.referral-icon svg{ width: 19px; height: 19px; }
.referral-line{ align-items: center; gap: 16px; }
.referral-title{ font-size: 18px; font-weight: 800; letter-spacing: -.2px; color: var(--black); }
.referral-title .accent{
  display: inline-block; margin-left: 6px; padding: 3px 14px; border-radius: 999px;
  background: #fff; color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(200,18,31,.22), 0 8px 16px -10px rgba(200,18,31,.5);
}
.referral-dot{ color: var(--red); font-size: 14px; opacity: .8; }
.referral-sub{ font-family: 'Caveat', cursive; font-size: 23px; font-weight: 500; line-height: 1; color: var(--red-dark); }
.referral-track .referral-info{ margin-right: 64px; }
@media (max-width: 640px){
  .referral-banner{ padding: 12px 0; }
  .referral-icon{ width: 34px; height: 34px; }
  .referral-title{ font-size: 15.5px; }
  .referral-sub{ font-size: 20px; }
}

/* ==== Отзывы на главной: шапка как у остальных блоков ==== */
.reviews-section{ position: relative; overflow: hidden; }
.reviews-section .rev-head{
  position: relative; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; margin-bottom: 44px;
}
.reviews-section .rev-head .sec-pill{ margin-bottom: 14px; }
.reviews-section .reviews-title{ margin: 0 0 16px; font-size: clamp(30px, 4.4vw, 60px); }
.rv-watermark{
  position: absolute; top: -8px; right: -20px;
  font-size: clamp(60px, 9vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -2px;
  color: rgba(200, 18, 31, .05); pointer-events: none; user-select: none; white-space: nowrap;
  overflow: hidden; max-width: 100%;
}
.rv-head-text{ position: relative; }
.rv-lead{ max-width: 500px; margin: 0; font-size: 15px; line-height: 1.6; color: #6B6B73; }
.rv-note{ position: relative; display: flex; align-items: flex-end; gap: 4px; margin: 34px 7% 0 0; color: #8d8d95; transform: rotate(-3deg); }
.rv-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; text-align: right; }
.rv-note svg{ width: 54px; height: 44px; flex: 0 0 54px; transform: translateY(14px); }
@media (max-width: 1100px){ .rv-note{ display: none; } }
@media (max-width: 720px){ .rv-watermark{ font-size: 56px; right: -10px; } .reviews-section .rev-head{ margin-bottom: 30px; } }

/* ==== Страница «Акции» (pr-*) ==== */
.pr-section{ padding: 8px 0 84px; }
.pr-section .btn{ gap: 10px; }

/* special offer */
.pr-hero{
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 12px;
  min-height: 300px; padding: 44px 52px; border-radius: 26px;
  background: linear-gradient(110deg, #FFFFFF 0%, #FDF1F0 55%, #FBE4E5 100%);
  border: 1px solid #F0E3DD; box-shadow: 0 28px 56px -44px rgba(200,18,31,.45);
}
.pr-chip{
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #FBE4E5; color: var(--red); font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
}
.pr-chip i{ width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pr-hero-title{ margin: 18px 0 10px; font-size: clamp(36px, 4.6vw, 62px); font-weight: 900; letter-spacing: -1px; line-height: 1.02; color: var(--black, #111); }
.pr-hero-title .accent{ color: var(--red); }
.pr-hero-desc{ margin: 0 0 26px; max-width: 360px; font-size: 16px; line-height: 1.55; color: #6B6B73; }

.pr-hero-visual{ position: relative; align-self: stretch; display: grid; place-items: center; min-height: 220px; }
.pr-car{ position: relative; z-index: 2; width: 100%; max-width: 470px; height: auto; animation: prFloat 4.6s ease-in-out infinite; filter: drop-shadow(0 16px 18px rgba(60,30,20,.18)); }
.pr-car-shadow{
  position: absolute; z-index: 1; left: 18%; right: 14%; bottom: 8%; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(60,30,20,.28), rgba(60,30,20,0) 70%);
  animation: prShadow 4.6s ease-in-out infinite;
}
.pr-arc{ position: absolute; border: 1.5px solid var(--red); pointer-events: none; }
.pr-arc--a{ left: 4%; top: -18%; width: 62%; height: 78%; border-right: 0; border-bottom: 0; border-radius: 100% 0 0 0; opacity: .7; }
.pr-arc--b{ right: -6%; bottom: -26%; width: 60%; height: 70%; border-left: 0; border-top: 0; border-radius: 0 0 100% 0; opacity: .7; }
.pr-sparks{ position: absolute; z-index: 3; top: 12%; right: 6%; width: 44px; height: 44px; color: var(--red); animation: prSpark 2.4s ease-in-out infinite; }

/* headings */
.pr-h2{ margin: 56px 0 24px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.3px; color: var(--black, #111); }

/* offer cards */
.pr-offers{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pr-offer{
  position: relative; overflow: hidden; isolation: isolate; min-height: 340px; padding: 26px 26px 0;
  background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 22px;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}
.pr-offer:hover{ transform: translateY(-6px); border-color: rgba(200,18,31,.3); box-shadow: 0 28px 52px -36px rgba(200,18,31,.45); }
.pr-offer-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pr-ic{
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); color: var(--red);
  box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: transform 600ms var(--ease), background 600ms var(--ease), color 600ms var(--ease);
}
.pr-ic svg{ width: 24px; height: 24px; }
.pr-offer:hover .pr-ic{ transform: scale(1.08) rotate(-6deg); background: var(--red); color: #fff; }
.pr-tag{ padding: 5px 12px; border-radius: 999px; background: #FBE4E5; color: var(--red); font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.pr-tag--hot{ background: var(--red); color: #fff; }
.pr-offer h3{ margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.pr-offer p{ margin: 0 0 16px; max-width: 290px; font-size: 14px; line-height: 1.6; color: #6B6B73; }
.pr-link{ display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: none; }
.pr-link span{ transition: transform 350ms var(--ease); }
.pr-link:hover span{ transform: translateX(5px); }
.pr-offer-arc{
  position: absolute; z-index: -1; left: 4%; bottom: -34%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(200,18,31,.55); border-bottom-color: transparent; border-left-color: transparent; transform: rotate(-30deg);
}
.pr-art{ position: absolute; right: 10px; bottom: 6px; width: 190px; height: auto; pointer-events: none; animation: prFloatSm 5.2s ease-in-out infinite; }
.pr-offer:nth-child(2) .pr-art{ animation-delay: -1.7s; }
.pr-offer:nth-child(3) .pr-art{ animation-delay: -3.2s; }

/* steps */
.pr-steps{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pr-step{
  position: relative; padding: 26px 26px 28px; min-height: 190px;
  background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 20px;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease), background 600ms var(--ease);
}
.pr-step:hover{ transform: translateY(-5px); border-color: rgba(200,18,31,.3); background: linear-gradient(135deg, #FDEEEF, #FBE4E5); box-shadow: 0 26px 48px -34px rgba(200,18,31,.45); }
.pr-num{
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: #FBE4E5; color: var(--red); font-size: 16px; font-weight: 800;
  transition: background 600ms var(--ease), color 600ms var(--ease), transform 600ms var(--ease);
}
.pr-step:hover .pr-num{ background: var(--red); color: #fff; transform: scale(1.1); }
.pr-step h3{ margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.pr-step p{ margin: 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: #6B6B73; }
.pr-step-arrow{ position: absolute; right: 24px; bottom: 20px; font-size: 18px; color: var(--red); transition: transform 350ms var(--ease); }
.pr-step:hover .pr-step-arrow{ transform: translateX(6px); }

/* subscribe banner */
.pr-cta{
  position: relative; overflow: hidden; margin-top: 56px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px;
  padding: 40px 48px; border-radius: 26px;
  background: linear-gradient(100deg, #FDEEEF, #FBE4E5); border: 1px solid rgba(200,18,31,.14);
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.pr-cta:hover{ box-shadow: 0 28px 52px -38px rgba(200,18,31,.5); }
.pr-cta-icon{ width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 14px 28px -14px rgba(200,18,31,.5); }
.pr-cta-icon svg{ width: 38px; height: 38px; }
.pr-cta-text h2{ margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.4px; }
.pr-cta-text p{ margin: 0 0 22px; max-width: 420px; font-size: 14.5px; line-height: 1.6; color: #6B6B73; }
.pr-cta-side{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 150px; }
.pr-cta-note{ margin: 0; display: flex; align-items: flex-end; gap: 4px; color: #8d8d95; transform: rotate(-4deg); }
.pr-cta-note span{ font-family: 'Caveat', cursive; font-size: 23px; line-height: 1.05; text-align: right; }
.pr-cta-note svg{ width: 48px; height: 32px; flex: 0 0 48px; transform: translateY(10px); }
.pr-key{ width: 230px; height: auto; flex: 0 0 auto; animation: prFloatSm 5s ease-in-out infinite; }

@keyframes prFloat{ 0%, 100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-10px) rotate(-.8deg); } }
@keyframes prFloatSm{ 0%, 100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
@keyframes prShadow{ 0%, 100%{ transform: scaleX(1); opacity: 1; } 50%{ transform: scaleX(.8); opacity: .55; } }
@keyframes prSpark{ 0%, 100%{ opacity: 1; transform: scale(1); } 50%{ opacity: .35; transform: scale(.88); } }

@media (max-width: 1100px){
  .pr-hero{ padding: 36px 36px; }
  .pr-offers, .pr-steps{ gap: 16px; }
  .pr-art{ width: 150px; }
  .pr-cta{ grid-template-columns: auto minmax(0,1fr); }
  .pr-cta-side{ grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px){
  .pr-hero{ grid-template-columns: minmax(0,1fr); padding: 30px 24px 10px; }
  .pr-hero-visual{ min-height: 190px; }
  .pr-offers, .pr-steps{ grid-template-columns: minmax(0,1fr); }
  .pr-offer{ min-height: 320px; }
  .pr-h2{ margin-top: 42px; }
  .pr-cta{ grid-template-columns: minmax(0,1fr); padding: 30px 24px; gap: 18px; }
  .pr-cta-icon{ width: 64px; height: 64px; }
  .pr-key{ width: 190px; }
}
@media (prefers-reduced-motion: reduce){
  .pr-car, .pr-car-shadow, .pr-sparks, .pr-art, .pr-key{ animation: none; }
  .pr-offer:hover, .pr-step:hover{ transform: none; }
}
@media (max-width: 860px){
  .pr-cta-side{ justify-content: space-between; gap: 10px; overflow: hidden; }
  .pr-key{ flex: 0 1 auto; width: auto; max-width: 52%; }
  .pr-cta-note span{ font-size: 20px; }
}

/* ==== Страница «О нас» (ab-*) ==== */
.ab-hero{ position: relative; overflow: hidden; padding: 8px 0 36px; }
.ab-watermark{
  position: absolute; top: -6px; right: -30px; font-size: clamp(70px, 12vw, 190px); font-weight: 900; line-height: .9; letter-spacing: -3px;
  color: rgba(200,18,31,.05); pointer-events: none; user-select: none; white-space: nowrap;
}
.ab-hero-grid{ position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: center; gap: 24px; }
.ab-hero-text .sec-pill{ margin-bottom: 18px; }
.ab-title{ margin: 0 0 18px; font-size: clamp(36px, 5vw, 72px); font-weight: 900; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
.ab-title .accent{ color: var(--red); }
.ab-sub{ margin: 0 0 24px; max-width: 420px; font-size: 16px; line-height: 1.65; color: #6B6B73; }
.ab-points{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ab-points li{ display: flex; align-items: center; gap: 14px; font-size: 16px; color: #2c2c33; transition: transform 350ms var(--ease); }
.ab-points li:hover{ transform: translateX(6px); }
.ab-points svg{ width: 22px; height: 22px; flex: 0 0 22px; color: var(--red); }

.ab-hero-visual{ position: relative; min-height: 420px; display: grid; place-items: end center; }
.ab-arc{
  position: absolute; right: -4%; top: 6%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--red); border-bottom-color: transparent; border-left-color: transparent; transform: rotate(-12deg); opacity: .75; pointer-events: none;
}
.ab-skyline{
  position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: 72%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 85%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 85%, transparent 100%);
}
.ab-note{ position: absolute; z-index: 3; left: 4%; top: 2%; margin: 0; display: flex; align-items: flex-start; gap: 6px; color: #8d8d95; transform: rotate(-5deg); }
.ab-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; }
.ab-note svg{ width: 36px; height: 56px; flex: 0 0 36px; transform: translateY(26px); }
.ab-car{ position: relative; z-index: 2; width: 92%; max-width: 640px; height: auto; margin-bottom: 4%; filter: drop-shadow(0 18px 18px rgba(60,30,20,.2)); }
.ab-car-shadow{
  position: absolute; z-index: 1; left: 18%; right: 16%; bottom: 6%; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(60,30,20,.28), rgba(60,30,20,0) 70%); animation: abShadow 5s ease-in-out infinite;
}

/* stats */
.ab-stats-section{ padding: 0 0 84px; }
.ab-stats{ list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-stat{
  display: flex; flex-direction: column; padding: 26px 28px 24px;
  background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 20px; box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}
.ab-stat:hover{ transform: translateY(-6px); border-color: rgba(200,18,31,.3); box-shadow: 0 26px 48px -34px rgba(200,18,31,.45); }
.ab-stat-ic{
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); color: var(--red);
  box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: transform 600ms var(--ease), background 600ms var(--ease), color 600ms var(--ease);
}
.ab-stat-ic svg{ width: 26px; height: 26px; }
.ab-stat:hover .ab-stat-ic{ background: var(--red); color: #fff; transform: scale(1.08) rotate(-6deg); }
.ab-stat strong{ font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.ab-stat em{ margin-top: 8px; font-style: normal; font-size: 15px; color: #6B6B73; }

/* mission */
.ab-mission{
  position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 30px;
  padding: 18px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 28px; box-shadow: 0 20px 44px -38px rgba(60,30,20,.3);
}
.ab-mission-text{ padding: 20px 20px 20px 40px; }
.ab-dash{ display: block; width: 44px; height: 2px; background: var(--red); }
.ab-mission-text h2{ margin: 26px 0 20px; font-size: clamp(34px, 4vw, 56px); font-weight: 900; line-height: 1.02; letter-spacing: -.5px; text-transform: uppercase; }
.ab-mission-text p{ margin: 0 0 30px; max-width: 360px; font-size: 15.5px; line-height: 1.7; color: #6B6B73; }
.ab-mission-media{ position: relative; }
.ab-mission-arc{
  position: absolute; z-index: 2; left: -34px; top: -14px; width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px solid var(--red); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-8deg); opacity: .75; pointer-events: none;
}
.ab-mission-photo{
  position: relative; overflow: hidden; min-height: 300px; aspect-ratio: 16 / 8.2;
  border-radius: 70px 26px 26px 70px / 70px 26px 26px 70px;
  background: #E9D8C8 url("autoschool.png") center 38% / cover no-repeat;
  box-shadow: 0 26px 50px -34px rgba(60,30,20,.55);
}
.ab-mission-photo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,250,248,.25), rgba(252,250,248,0) 35%); }
.ab-mission-word{ position: absolute; z-index: 1; left: 6%; top: 8%; font-size: clamp(34px, 5.2vw, 76px); font-weight: 900; letter-spacing: -1px; color: rgba(255,255,255,.34); white-space: nowrap; }

/* trust */
.ab-trust{
  margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); align-items: stretch;
  padding: 34px 20px 34px 40px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 26px; box-shadow: 0 20px 44px -38px rgba(60,30,20,.3);
}
.ab-trust-head{ padding-right: 34px; align-self: center; }
.ab-chip{ display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #FBE4E5; color: var(--red); font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.ab-chip i{ width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ab-trust-head h2{ margin: 16px 0 14px; font-size: clamp(26px, 2.8vw, 40px); font-weight: 900; line-height: 1.08; letter-spacing: -.4px; text-transform: uppercase; }
.ab-trust-head h2 .accent{ color: var(--red); }
.ab-trust-head p{ margin: 0; max-width: 420px; font-size: 14px; line-height: 1.65; color: #6B6B73; }
.ab-trust-item{ padding: 8px 24px; border-left: 1px solid #EFE3DC; transition: background 600ms var(--ease), transform 600ms var(--ease); border-radius: 0 14px 14px 0; }
.ab-trust-item:hover{ background: linear-gradient(135deg, #FDEEEF, #FBE4E5); transform: translateY(-4px); }
.ab-trust-ic{
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 4px 0 16px; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: transform 600ms var(--ease), background 600ms var(--ease), color 600ms var(--ease);
}
.ab-trust-ic svg{ width: 24px; height: 24px; }
.ab-trust-item:hover .ab-trust-ic{ background: var(--red); color: #fff; transform: scale(1.08); }
.ab-trust-item h3{ margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.ab-trust-item p{ margin: 0; font-size: 13.5px; line-height: 1.6; color: #6B6B73; }

/* CTA */
.ab-cta{
  position: relative; overflow: hidden; margin-top: 26px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic text btn" "ic note btn"; align-items: center; column-gap: 28px; row-gap: 6px;
  padding: 32px 44px; border-radius: 26px; background: linear-gradient(100deg, #FDEEEF, #FBE4E5); border: 1px solid rgba(200,18,31,.14);
}
.ab-cta::after{
  content: ""; position: absolute; right: 150px; top: -70px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(200,18,31,.5); border-color: rgba(200,18,31,.5) transparent transparent transparent; transform: rotate(18deg);
}
.ab-cta-ic{ grid-area: ic; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 14px 28px -14px rgba(200,18,31,.5); }
.ab-cta-ic svg{ width: 34px; height: 34px; }
.ab-cta-text{ grid-area: text; }
.ab-cta-text h2{ margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.3px; }
.ab-cta-text p{ margin: 0; max-width: 520px; font-size: 14px; line-height: 1.6; color: #6B6B73; }
.ab-cta-note{ grid-area: note; margin: 6px 0 0; display: flex; align-items: center; gap: 8px; color: #8d8d95; transform: rotate(-3deg); transform-origin: left center; }
.ab-cta-note span{ font-family: 'Caveat', cursive; font-size: 21px; line-height: 1.05; }
.ab-cta-note svg{ width: 54px; height: 22px; }
.ab-btn{ grid-area: btn; position: relative; z-index: 1; white-space: nowrap; gap: 10px; }

@keyframes abFloat{ 0%, 100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-9px) rotate(-.6deg); } }
@keyframes abShadow{ 0%, 100%{ transform: scaleX(1); opacity: 1; } 50%{ transform: scaleX(.8); opacity: .55; } }

@media (max-width: 1100px){
  .ab-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-trust{ grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 30px 20px; }
  .ab-trust-head{ grid-column: 1 / -1; padding: 0 0 22px 20px; }
  .ab-trust-item:first-of-type{ border-left: 0; }
}
@media (max-width: 860px){
  .ab-hero-grid{ grid-template-columns: minmax(0, 1fr); }
  .ab-hero-visual{ min-height: 300px; order: -1; }
  .ab-note{ display: none; }
  .ab-mission{ grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .ab-mission-text{ padding: 18px 14px 6px; }
  .ab-mission-photo{ min-height: 220px; aspect-ratio: 16 / 10; border-radius: 40px 20px 20px 40px; }
  .ab-mission-arc{ display: none; }
  .ab-trust{ grid-template-columns: minmax(0, 1fr); padding: 26px 18px; }
  .ab-trust-head{ padding: 0 0 12px; }
  .ab-trust-item{ border-left: 0; border-top: 1px solid #EFE3DC; border-radius: 14px; padding: 18px 12px; }
  .ab-cta{ grid-template-columns: minmax(0, 1fr); grid-template-areas: "ic" "text" "note" "btn"; padding: 28px 22px; row-gap: 14px; }
  .ab-btn{ width: 100%; justify-content: center; }
}
@media (max-width: 560px){
  .ab-stats{ gap: 12px; }
  .ab-stat{ padding: 20px 18px; }
  .ab-watermark{ font-size: 64px; right: -8px; }
}
@media (prefers-reduced-motion: reduce){
  .ab-car, .ab-car-shadow{ animation: none; }
  .ab-stat:hover, .ab-trust-item:hover, .ab-points li:hover{ transform: none; }
}

/* ==== Шапка: меню как в макете ==== */
.site-header{ background: #F8F4EF; border-bottom: 1px solid rgba(200,18,31,.08); }
.header-inner{ gap: 28px; min-height: 88px; }
.main-nav{ gap: 28px; }
.main-nav a{ white-space: nowrap; font-size: 14px; font-weight: 500; color: #1d1d22; transition: color 300ms var(--ease); }
.main-nav a[aria-current="page"]{ color: var(--red); font-weight: 600; }
.main-nav a[aria-current="page"]::after{ transform: scaleX(1); }
.header-actions{ gap: 22px; }
.phone-link{ font-size: 14px; font-weight: 600; }
.phone-link svg{ color: #333; transition: color 300ms var(--ease); }
.phone-link:hover svg{ color: var(--red); }
.hdr-mail{ display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: #3a3a42; text-decoration: none; white-space: nowrap; transition: color 300ms var(--ease); }
.hdr-mail svg{ width: 17px; height: 17px; flex: 0 0 17px; }
.hdr-mail:hover{ color: var(--red); }
.hdr-social{ display: flex; align-items: center; gap: 12px; }
.hdr-social a{ display: grid; place-items: center; width: 22px; height: 22px; color: #3a3a42; transition: color 300ms var(--ease), transform 300ms var(--ease); }
.hdr-social a:hover{ color: var(--red); transform: translateY(-2px); }
.hdr-social svg{ width: 20px; height: 20px; }
.hdr-call{ padding: 12px 20px; font-size: 13px; border-radius: 8px; }
.mobile-nav a[aria-current="page"]{ color: var(--red); }
@media (min-width: 1041px){ .header-inner.wrap{ margin-right: 7%; } }

@media (max-width: 1599px){ .hdr-social{ display: none; } }
@media (max-width: 1499px){ .hdr-mail{ display: none; } }
@media (max-width: 1400px){ .main-nav{ gap: 22px; } }
@media (max-width: 1280px){
  .main-nav{ gap: 18px; }
  .header-inner{ gap: 20px; }
  .header-actions .phone-link span{ display: none; }
}
@media (max-width: 1100px){ .main-nav{ gap: 14px; } .main-nav a{ font-size: 13.5px; } }
@media (max-width: 1040px){
  .main-nav{ display: none; }
  .mobile-toggle{ display: flex; }
}
@media (max-width: 640px){ .hdr-call{ display: none; } }

/* ==== Страница «Записаться» (bk-*) ==== */
.bk-section{ position: relative; overflow: hidden; padding: 8px 0 84px; }
.bk-watermark{
  position: absolute; top: 4px; right: -30px; font-size: clamp(70px, 12vw, 200px); font-weight: 900; line-height: .9; letter-spacing: -3px;
  color: rgba(200,18,31,.05); pointer-events: none; user-select: none; white-space: nowrap;
}
.bk-grid{ position: relative; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.bk-head{ position: relative; margin-bottom: 30px; }
.bk-head .sec-pill{ margin-bottom: 18px; }
.bk-title{ margin: 0 0 16px; font-size: clamp(36px, 5vw, 70px); font-weight: 900; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
.bk-title .accent{ display: block; color: var(--red); }
.bk-lead{ margin: 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: #6B6B73; }
.bk-note{ position: absolute; top: 4px; right: 4%; margin: 0; display: flex; align-items: flex-start; gap: 6px; color: #8d8d95; transform: rotate(-5deg); }
.bk-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; }
.bk-note svg{ width: 36px; height: 56px; flex: 0 0 36px; transform: translateY(30px); }

.bk-form{
  display: flex; flex-direction: column; gap: 18px; padding: 34px 36px 32px;
  background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 26px; box-shadow: 0 26px 52px -42px rgba(60,30,20,.4);
}
.bk-row{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.bk-row--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bk-field{ display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.bk-ic{
  width: 52px; height: 52px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -14px rgba(200,18,31,.5), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}
.bk-ic svg{ width: 22px; height: 22px; }
.bk-field:focus-within .bk-ic{ background: var(--red); color: #fff; transform: scale(1.06); }
.bk-control{ display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.bk-control label{ font-size: 13.5px; font-weight: 600; color: #2c2c33; }
.bk-control label b{ color: var(--red); font-weight: 700; }
.bk-control input, .bk-control select, .bk-control textarea{
  width: 100%; font-family: inherit; font-size: 14px; color: var(--black, #111); padding: 14px 16px;
  background: #FBF8F4; border: 1px solid #EDE5DC; border-radius: 12px; resize: vertical;
  transition: border-color 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.bk-control input::placeholder, .bk-control textarea::placeholder{ color: #a9a6a3; }
.bk-control input:focus, .bk-control select:focus, .bk-control textarea:focus{
  outline: none; background: #fff; border-color: rgba(200,18,31,.5); box-shadow: 0 0 0 4px rgba(200,18,31,.08);
}
.bk-control select{
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.bk-check{ display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 13.5px; color: #6B6B73; cursor: pointer; }
.bk-check input{ width: 18px; height: 18px; accent-color: var(--red); flex: 0 0 18px; }
.bk-submit{ width: 100%; padding: 17px 24px; font-size: 16px; border-radius: 10px; gap: 12px; }
.bk-form .form-note{ margin: 0; text-align: center; }

.bk-right{ position: relative; padding-top: 70px; }
.bk-visual{ position: relative; }
.bk-photo{
  position: relative; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden;
  background: #E9D8C8 url("car_adv.jpeg") 50% 62% / 190% auto no-repeat; box-shadow: 0 30px 56px -38px rgba(60,30,20,.55);
}
.bk-arc{
  position: absolute; right: -26px; top: -10px; width: 78%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  border: 1.5px solid var(--red); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(8deg); opacity: .75;
}
.bk-contact{
  position: relative; z-index: 2; display: flex; gap: 18px; align-items: flex-start; margin: -64px 18px 0;
  padding: 26px 28px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 22px; box-shadow: 0 24px 48px -34px rgba(60,30,20,.45);
}
.bk-contact-ic{ flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); }
.bk-contact-ic svg{ width: 22px; height: 22px; }
.bk-contact h3{ margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.bk-contact p{ margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: #6B6B73; }
.bk-phone{ display: inline-block; margin-bottom: 4px; font-size: 18px; font-weight: 700; color: var(--black, #111); text-decoration: none; transition: color 300ms var(--ease); }
.bk-phone:hover{ color: var(--red); }
.bk-contact .bk-hours{ margin: 0; font-size: 13px; }

.bk-perks{ list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.bk-perks li{
  display: flex; gap: 18px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent;
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), background 600ms var(--ease), border-color 600ms var(--ease);
}
.bk-perks li:hover{ transform: translateX(6px); background: linear-gradient(135deg, #FDEEEF, #FBE4E5); border-color: rgba(200,18,31,.28); }
.bk-perk-ic{
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -14px rgba(200,18,31,.5), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background 600ms var(--ease), color 600ms var(--ease), transform 600ms var(--ease);
}
.bk-perk-ic svg{ width: 23px; height: 23px; }
.bk-perks li:hover .bk-perk-ic{ background: var(--red); color: #fff; transform: scale(1.08); }
.bk-perks h4{ margin: 2px 0 4px; font-size: 16px; font-weight: 700; }
.bk-perks p{ margin: 0; max-width: 300px; font-size: 13.5px; line-height: 1.55; color: #6B6B73; }

@media (max-width: 1100px){
  .bk-grid{ grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bk-right{ padding-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .bk-visual{ grid-column: 1 / -1; }
  .bk-contact{ margin: -56px 0 0 18px; }
  .bk-perks{ margin-top: 0; }
  .bk-note{ display: none; }
}
@media (max-width: 760px){
  .bk-form{ padding: 24px 18px 24px; border-radius: 22px; }
  .bk-row--2{ grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bk-field{ grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .bk-ic{ width: 42px; height: 42px; }
  .bk-ic svg{ width: 19px; height: 19px; }
  .bk-right{ grid-template-columns: minmax(0, 1fr); }
  .bk-contact{ margin: -44px 10px 0; padding: 20px 18px; }
  .bk-watermark{ font-size: 64px; right: -8px; }
}
@media (prefers-reduced-motion: reduce){
  .bk-perks li:hover{ transform: none; }
}

/* ==== Футер (ft-*) ==== */
.site-footer.ft{
  position: relative; overflow: hidden; margin-top: 56px; padding: 56px 0 0;
  background: radial-gradient(900px 380px at 100% 0%, rgba(251,228,229,.55), transparent 70%), #F8F4EF;
  border-top: 1px solid rgba(200,18,31,.08);
}
.ft-watermark{
  position: absolute; top: -10px; right: -20px; font-size: clamp(70px, 12vw, 190px); font-weight: 900; line-height: .9; letter-spacing: -3px;
  color: rgba(200,18,31,.05); pointer-events: none; user-select: none; white-space: nowrap;
}
.ft-arc{ position: absolute; border-radius: 50%; border: 1.5px solid rgba(200,18,31,.55); pointer-events: none; }
.ft-arc--l{ left: -150px; bottom: -150px; width: 300px; height: 300px; border-color: rgba(200,18,31,.55) transparent transparent rgba(200,18,31,.55); transform: rotate(18deg); }
.ft-arc--r{ right: -120px; top: 70px; width: 420px; height: 420px; border-color: rgba(200,18,31,.5) transparent transparent transparent; transform: rotate(32deg); }

.ft-grid{
  position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 0; padding-bottom: 44px;
}
.ft-brand{ padding-right: 44px; }
.ft-brand .logo{ display: inline-flex; margin-bottom: 18px; text-decoration: none; }
.ft-desc{ margin: 0 0 26px; max-width: 330px; font-size: 15px; line-height: 1.7; color: #6B6B73; }
.ft-social{ display: flex; gap: 14px; }
.ft-social a{
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 78%); box-shadow: 0 10px 22px -14px rgba(200,18,31,.5), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}
.ft-social svg{ width: 22px; height: 22px; }
.ft-social a:hover{ background: var(--red); color: #fff; transform: translateY(-4px); }

.ft-col{ position: relative; padding: 4px 0 4px 40px; border-left: 1px solid #EADFD6; display: flex; flex-direction: column; align-items: flex-start; }
.ft-col::before{ content: ""; position: absolute; left: 40px; top: -2px; width: 30px; height: 2px; background: var(--red); }
.ft-col h3{ margin: 20px 0 20px; font-size: 20px; font-weight: 700; color: var(--black, #111); letter-spacing: 0; text-transform: none; }
.ft-col a{
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15.5px; color: #5b5b63; text-decoration: none;
  transition: color 350ms var(--ease), transform 350ms var(--ease);
}
.ft-col a:hover{ color: var(--red); transform: translateX(5px); }
.ft-contacts a{ padding: 9px 0; }
.ft-contacts svg{ width: 22px; height: 22px; flex: 0 0 22px; color: var(--red); }

.ft-note{
  position: absolute; right: 2%; top: 4px; margin: 0; display: flex; align-items: flex-start; gap: 6px; color: #8d8d95; transform: rotate(-5deg); pointer-events: none;
}
.ft-note span{ font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.05; text-align: right; }
.ft-note svg{ width: 34px; height: 56px; flex: 0 0 34px; transform: translateY(40px); }

.ft-bottom{
  position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px 0 30px; border-top: 1px solid #EADFD6; font-size: 13.5px; color: #6B6B73;
}
.ft-bottom p{ margin: 0; }
.ft-bottom a{ display: inline-flex; align-items: center; gap: 10px; color: #6B6B73; text-decoration: none; transition: color 350ms var(--ease); }
.ft-bottom a svg{ width: 22px; height: 22px; color: var(--red); }
.ft-bottom a:hover{ color: var(--red); }

@media (max-width: 1280px){ .ft-note{ display: none; } }
@media (max-width: 1000px){
  .ft-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .ft-brand{ grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 680px){
  .site-footer.ft{ padding-top: 40px; }
  .ft-grid{ grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ft-col{ border-left: 0; padding: 18px 0 8px; }
  .ft-col::before{ left: 0; top: 0; }
  .ft-col h3{ margin: 12px 0 10px; }
  .ft-watermark{ font-size: 64px; right: -8px; }
  .ft-bottom{ flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce){
  .ft-col a:hover, .ft-social a:hover{ transform: none; }
}

/* ==== Страница «Автопарк» (fl-*) ==== */
.fl-section{ padding: 24px 0 84px; }
.fl-head{ margin-bottom: 36px; }
.fl-head .sec-pill{ margin-bottom: 14px; }
.fl-h2{ margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 56px); font-weight: 900; line-height: 1.03; letter-spacing: -.5px; text-transform: uppercase; }
.fl-h2 .accent{ color: var(--red); }
.fl-lead{ margin: 0; max-width: 520px; font-size: 15.5px; line-height: 1.65; color: #6B6B73; }
.fl-head--sub{ margin-top: 72px; }

.fl-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.fl-card{
  --fl-t: 800ms cubic-bezier(.45, 0, .2, 1);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px 34px 32px; border-radius: 28px; background: #FCFAF8; border: 1px solid #F0E9E2;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35); outline: none;
  transition: opacity 700ms var(--ease), transform var(--fl-t), border-color var(--fl-t), box-shadow var(--fl-t);
}
.fl-card::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, #FDEEEF, #FBE4E5); opacity: 0; transition: opacity var(--fl-t);
}
.fl-card.is-active, .fl-card:focus-visible{ border-color: rgba(200,18,31,.35); box-shadow: 0 28px 54px -34px rgba(200,18,31,.5); transform: translateY(-6px); }
.fl-card.is-active::before, .fl-card:focus-visible::before{ opacity: 1; }
.fl-num{ position: absolute; top: 24px; right: 30px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: rgba(200,18,31,.35); }

.fl-visual{ position: relative; height: 250px; display: grid; place-items: center; margin-bottom: 14px; }
.fl-glow{ position: absolute; inset: 6% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(251,228,229,.95), rgba(251,228,229,0) 70%); animation: flGlow 4.4s ease-in-out infinite; }
.fl-visual img, .fl-kalina{ position: relative; z-index: 2; width: 88%; max-width: 440px; height: auto; max-height: 100%; object-fit: contain; animation: flFloat 4.6s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(60,30,20,.16)); }
.fl-card--kalina .fl-kalina{ animation-delay: -2s; width: 92%; }
.fl-shadow{
  position: absolute; z-index: 1; left: 18%; right: 18%; bottom: 8%; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(60,30,20,.28), rgba(60,30,20,0) 70%); animation: flShadow 4.6s ease-in-out infinite;
}
.fl-card--kalina .fl-shadow{ animation-delay: -2s; }
.fl-wind{
  position: absolute; z-index: 1; right: 4%; top: 46%; width: 56px; height: 26px;
  background:
    linear-gradient(90deg, rgba(200,18,31,.55), rgba(200,18,31,0)) 0 0 / 56px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.4), rgba(200,18,31,0)) 10px 12px / 40px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.3), rgba(200,18,31,0)) 4px 24px / 48px 2px no-repeat;
  animation: flWind 1.8s ease-out infinite;
}

.fl-title-row{ display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.fl-kicker{ display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8d8d95; }
.fl-title-row h3{ margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -.5px; line-height: 1.02; text-transform: uppercase; }
.fl-card.is-active .fl-title-row h3{ color: var(--red); }
.fl-title-row h3{ transition: color var(--fl-t); }
.fl-pill{ padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #F0E9E2; font-size: 12.5px; font-weight: 600; color: #55555d; white-space: nowrap; }
.fl-text{ margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: #6B6B73; }

.fl-specs{ list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.fl-specs li{ display: flex; align-items: center; gap: 14px; }
.fl-sic{
  position: relative; isolation: isolate; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #FBE4E5; color: var(--red); transition: color var(--fl-t);
}
.fl-sic::before{ content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity var(--fl-t); }
.fl-sic svg{ width: 20px; height: 20px; }
.fl-card.is-active .fl-sic{ color: #fff; }
.fl-card.is-active .fl-sic::before{ opacity: 1; }
.fl-specs em{ display: block; font-style: normal; font-size: 12px; color: #8d8d95; }
.fl-specs strong{ display: block; font-size: 15.5px; font-weight: 700; }

.fl-tags{ list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fl-tags li{ padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px dashed rgba(200,18,31,.35); font-size: 12.5px; font-weight: 600; color: var(--red); }
.fl-cta{ margin-top: auto; align-self: flex-start; gap: 10px; }

/* equipment */
.fl-feats{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fl-feat{
  padding: 26px 24px 28px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 22px; box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
  transition: opacity 700ms var(--ease), transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease), background 600ms var(--ease);
}
.fl-feat:hover{ transform: translateY(-6px); border-color: rgba(200,18,31,.3); background: linear-gradient(135deg, #FDEEEF, #FBE4E5); box-shadow: 0 26px 48px -34px rgba(200,18,31,.45); }
.fl-fic{
  width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background 600ms var(--ease), color 600ms var(--ease), transform 600ms var(--ease);
}
.fl-fic svg{ width: 25px; height: 25px; }
.fl-feat:hover .fl-fic{ background: var(--red); color: #fff; transform: scale(1.08) rotate(-6deg); }
.fl-feat h3{ margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.fl-feat p{ margin: 0; font-size: 14px; line-height: 1.6; color: #6B6B73; }
.fl-cta-band{ margin-top: 48px; }

@keyframes flFloat{ 0%, 100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-10px) rotate(-.8deg); } }
@keyframes flShadow{ 0%, 100%{ transform: scaleX(1); opacity: 1; } 50%{ transform: scaleX(.78); opacity: .55; } }
@keyframes flGlow{ 0%, 100%{ opacity: .85; } 50%{ opacity: 1; } }
@keyframes flWind{ 0%{ transform: translateX(-10px); opacity: 0; } 30%{ opacity: 1; } 100%{ transform: translateX(14px); opacity: 0; } }

@media (max-width: 1100px){
  .fl-feats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-card{ padding: 26px 24px 28px; }
}
@media (max-width: 860px){
  .fl-grid{ grid-template-columns: minmax(0, 1fr); }
  .fl-visual{ height: 210px; }
  .fl-specs{ gap: 12px; }
  .fl-head--sub{ margin-top: 52px; }
}
@media (max-width: 560px){
  .fl-feats{ grid-template-columns: minmax(0, 1fr); }
  .fl-specs{ grid-template-columns: minmax(0, 1fr); }
  .fl-cta{ width: 100%; align-self: stretch; }
  .fl-pill{ white-space: normal; }
}
@media (prefers-reduced-motion: reduce){
  .fl-visual img, .fl-kalina, .fl-shadow, .fl-wind, .fl-glow{ animation: none; }
  .fl-card.is-active, .fl-feat:hover{ transform: none; }
}

/* ==== Инструкторы (fi-*) ==== */
.fi-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fi-card{
  --fi-t: 800ms cubic-bezier(.45, 0, .2, 1);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 34px 32px 30px; border-radius: 26px; background: #FCFAF8; border: 1px solid #F0E9E2;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35); outline: none;
  transition: opacity 700ms var(--ease), transform var(--fi-t), border-color var(--fi-t), box-shadow var(--fi-t);
}
.fi-card::before{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, #FDEEEF, #FBE4E5); opacity: 0; transition: opacity var(--fi-t);
}
.fi-card.is-active, .fi-card:focus-visible{ border-color: rgba(200,18,31,.35); box-shadow: 0 28px 54px -34px rgba(200,18,31,.5); transform: translateY(-6px); }
.fi-card.is-active::before, .fi-card:focus-visible::before{ opacity: 1; }
.fi-num{ position: absolute; top: 24px; right: 28px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: rgba(200,18,31,.35); }
.fi-avatar{ width: 92px; height: 92px; font-size: 28px; margin-bottom: 22px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(200,18,31,.18), 0 18px 30px -14px rgba(60,30,20,.4); transition: transform var(--fi-t), box-shadow var(--fi-t); }
.fi-card.is-active .fi-avatar{ transform: scale(1.06); box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(200,18,31,.55), 0 20px 34px -14px rgba(200,18,31,.5); }
.fi-card h3{ margin: 0 0 6px; font-size: 22px; font-weight: 800; transition: color var(--fi-t); }
.fi-card.is-active h3{ color: var(--red); }
.fi-role{ margin: 0 0 24px; font-size: 14.5px; color: #6B6B73; }
.fi-exp{ margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; width: 100%; border-top: 1px dashed rgba(200,18,31,.25); }
.fi-exp strong{ font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1px; color: var(--red); }
.fi-exp span{ font-size: 13.5px; line-height: 1.3; color: #6B6B73; }

@media (max-width: 1000px){ .fi-grid{ grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
@media (prefers-reduced-motion: reduce){ .fi-card.is-active{ transform: none; } }

/* ==== Выпадающее меню «О нас» ==== */
.main-nav .nav-dd{ position: relative; display: flex; align-items: center; }
.main-nav .nav-dd-toggle{ display: inline-flex; align-items: center; gap: 5px; }
.main-nav .nav-dd-toggle svg{ width: 11px; height: 11px; transition: transform 350ms var(--ease); }
.main-nav .nav-dd:hover .nav-dd-toggle, .main-nav .nav-dd:focus-within .nav-dd-toggle{ color: var(--red); }
.main-nav .nav-dd:hover .nav-dd-toggle svg, .main-nav .nav-dd:focus-within .nav-dd-toggle svg{ transform: rotate(180deg); }
.nav-dd-menu{
  position: absolute; z-index: 60; top: 100%; left: 50%; min-width: 250px; margin-top: 14px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 16px; box-shadow: 0 24px 48px -26px rgba(60,30,20,.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
}
.nav-dd-menu::before{ content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.main-nav .nav-dd:hover .nav-dd-menu, .main-nav .nav-dd:focus-within .nav-dd-menu{ opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.main-nav .nav-dd-menu a{ display: block; padding: 11px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background 300ms var(--ease), color 300ms var(--ease), padding-left 300ms var(--ease); }
.main-nav .nav-dd-menu a::after{ display: none; }
.main-nav .nav-dd-menu a:hover{ background: #FBE4E5; color: var(--red); padding-left: 20px; }
.main-nav .nav-dd-menu a[aria-current="page"]{ color: var(--red); background: #FDEEEF; font-weight: 600; }
.mobile-nav .mobile-sub{ padding-left: 22px; font-weight: 500; font-size: 14px; color: #6B6B73; }
.mobile-nav .mobile-sub[aria-current="page"]{ color: var(--red); }
@media (prefers-reduced-motion: reduce){ .nav-dd-menu{ transition: none; } }

/* ==== Модальное окно «Заказать звонок» (cm-*) ==== */
.cm-lock{ overflow: hidden; }
.cm{ position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 400ms; }
.cm.is-open{ visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cm-overlay{ position: absolute; inset: 0; background: rgba(34,20,16,.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity 400ms var(--ease); }
.cm.is-open .cm-overlay{ opacity: 1; }
.cm-dialog{
  position: relative; overflow: hidden; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 40px 38px 34px; border-radius: 28px; background: #FCFAF8; border: 1px solid #F0E9E2;
  background-image: radial-gradient(420px 220px at 100% 0%, rgba(251,228,229,.7), transparent 70%);
  box-shadow: 0 40px 80px -30px rgba(60,30,20,.55);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 400ms var(--ease), transform 500ms var(--ease);
}
.cm.is-open .cm-dialog{ opacity: 1; transform: none; }
.cm-arc{ position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(200,18,31,.45); border-color: transparent transparent rgba(200,18,31,.45) rgba(200,18,31,.45); pointer-events: none; }
.cm-x{
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: #FBE4E5; transition: background 350ms var(--ease), color 350ms var(--ease), transform 350ms var(--ease);
}
.cm-x svg{ width: 18px; height: 18px; }
.cm-x:hover{ background: var(--red); color: #fff; transform: rotate(90deg); }
.cm-body, .cm-done{ position: relative; }
.cm-body[hidden], .cm-done[hidden]{ display: none; }
.cm .sec-pill{ margin-bottom: 16px; }
.cm-title{ margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); font-weight: 900; line-height: 1.05; letter-spacing: -.5px; text-transform: uppercase; }
.cm-title .accent{ color: var(--red); }
.cm-lead{ margin: 0 0 26px; font-size: 15px; line-height: 1.6; color: #6B6B73; }
.cm-form{ display: flex; flex-direction: column; gap: 16px; }
.cm-field{ display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.cm-ic{
  width: 48px; height: 48px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -14px rgba(200,18,31,.5), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}
.cm-ic svg{ width: 21px; height: 21px; }
.cm-field:focus-within .cm-ic{ background: var(--red); color: #fff; transform: scale(1.06); }
.cm-control{ display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cm-control label{ font-size: 13.5px; font-weight: 600; color: #2c2c33; }
.cm-control label b{ color: var(--red); font-weight: 700; }
.cm-control input{
  width: 100%; font-family: inherit; font-size: 15px; color: var(--black, #111); padding: 14px 16px; background: #FBF8F4; border: 1px solid #EDE5DC; border-radius: 12px;
  transition: border-color 350ms var(--ease), box-shadow 350ms var(--ease), background 350ms var(--ease);
}
.cm-control input::placeholder{ color: #a9a6a3; }
.cm-control input:focus{ outline: none; background: #fff; border-color: rgba(200,18,31,.5); box-shadow: 0 0 0 4px rgba(200,18,31,.08); }
.cm-control input[aria-invalid="true"]{ border-color: var(--red); background: #fff; }
.cm-err{ min-height: 0; font-size: 12.5px; font-weight: 600; color: var(--red); }
.cm-err:empty{ display: none; }
.cm-submit{ width: 100%; padding: 16px 24px; font-size: 16px; border-radius: 10px; gap: 12px; margin-top: 4px; }
.cm-note{ margin: 0; font-size: 12px; line-height: 1.55; color: #8d8d95; text-align: center; }
.cm-done{ text-align: center; padding: 10px 0 0; }
.cm-done .cm-lead{ margin-bottom: 24px; }
.cm-done-ic{ width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); box-shadow: 0 16px 30px -12px rgba(200,18,31,.6); animation: cmPop 600ms var(--ease) both; }
.cm-done-ic svg{ width: 34px; height: 34px; }
@keyframes cmPop{ from{ transform: scale(.4); opacity: 0; } to{ transform: scale(1); opacity: 1; } }
@media (max-width: 520px){
  .cm{ padding: 12px; align-items: end; }
  .cm-dialog{ padding: 32px 22px 26px; border-radius: 24px; }
  .cm-field{ grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .cm-ic{ width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce){
  .cm-overlay, .cm-dialog{ transition: none; }
  .cm-done-ic{ animation: none; }
}

/* ==== Логотип-картинка ==== */
.logo-mark{ width: auto; height: 46px; flex: 0 0 auto; object-fit: contain; display: block; transition: transform 500ms var(--ease); }
.logo:hover .logo-mark{ transform: scale(1.06) rotate(-3deg); }
.logo{ gap: 12px; }
@media (max-width: 640px){ .logo-mark{ height: 40px; } }
@media (prefers-reduced-motion: reduce){ .logo:hover .logo-mark{ transform: none; } }

/* ==== Страница «Документы» (dc-*) ==== */
.dc-section{ padding: 24px 0 84px; }
.dc-visual{ display: grid; place-items: center; }
.dc-glow{ position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(251,228,229,.95), rgba(251,228,229,0) 70%); }
.dc-stack{ position: relative; z-index: 2; width: min(78%, 420px); height: auto; animation: abFloat 5s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(60,30,20,.16)); }
.dc-shadow{ position: absolute; z-index: 1; left: 28%; right: 28%; bottom: 8%; height: 18px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(60,30,20,.26), rgba(60,30,20,0) 70%); animation: abShadow 5s ease-in-out infinite; }

.dc-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dc-card{
  --dc-t: 800ms cubic-bezier(.45, 0, .2, 1);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: 28px 28px 26px; border-radius: 24px; background: #FCFAF8; border: 1px solid #F0E9E2;
  box-shadow: 0 20px 44px -38px rgba(60,30,20,.35); outline: none; scroll-margin-top: 110px;
  transition: opacity 700ms var(--ease), transform var(--dc-t), border-color var(--dc-t), box-shadow var(--dc-t);
}
.dc-card::before{ content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, #FDEEEF, #FBE4E5); opacity: 0; transition: opacity var(--dc-t); }
.dc-card.is-active, .dc-card:focus-visible, .dc-card:target{ border-color: rgba(200,18,31,.35); box-shadow: 0 28px 54px -34px rgba(200,18,31,.5); transform: translateY(-6px); }
.dc-card.is-active::before, .dc-card:focus-visible::before, .dc-card:target::before{ opacity: 1; }
.dc-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dc-ic{
  position: relative; isolation: isolate; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #FBE4E5 72%); box-shadow: 0 10px 22px -12px rgba(200,18,31,.45), inset 0 0 0 1px rgba(200,18,31,.08);
  transition: background var(--dc-t), color var(--dc-t), transform var(--dc-t);
}
.dc-ic svg{ width: 26px; height: 26px; }
.dc-card.is-active .dc-ic, .dc-card:target .dc-ic{ background: var(--red); color: #fff; transform: scale(1.08) rotate(-5deg); }
.dc-tag{ padding: 5px 12px; border-radius: 999px; background: #FBE4E5; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.dc-card h3{ margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.2; transition: color var(--dc-t); }
.dc-card.is-active h3, .dc-card:target h3{ color: var(--red); }
.dc-card p{ margin: 0 0 24px; font-size: 14.5px; line-height: 1.6; color: #6B6B73; }
.dc-actions{ margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dc-btn{ padding: 12px 24px; font-size: 14px; }
.dc-dl{ display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: none; }
.dc-dl span{ transition: transform 350ms var(--ease); }
.dc-dl:hover span{ transform: translateY(3px); }
.dc-cta{ margin-top: 48px; }

@media (max-width: 1000px){ .dc-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .dc-grid{ grid-template-columns: minmax(0, 1fr); } .dc-card{ padding: 24px 22px 22px; } }
@media (prefers-reduced-motion: reduce){ .dc-stack, .dc-shadow{ animation: none; } .dc-card.is-active, .dc-card:target{ transform: none; } }

/* ==== Плашка cookie (ck-*) ==== */
.ck{
  position: fixed; z-index: 900; left: 24px; bottom: 24px; width: min(460px, calc(100vw - 48px));
  display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px 22px;
  background: #FCFAF8; background-image: radial-gradient(320px 160px at 100% 0%, rgba(251,228,229,.8), transparent 70%);
  border: 1px solid rgba(200,18,31,.18); border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(60,30,20,.5);
  opacity: 0; transform: translateY(30px); pointer-events: none;
  transition: opacity 600ms var(--ease), transform 700ms var(--ease);
}
.ck.is-visible{ opacity: 1; transform: none; pointer-events: auto; }
.ck-ic{
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red);
  box-shadow: 0 12px 24px -10px rgba(200,18,31,.6);
}
.ck-ic svg{ width: 26px; height: 26px; }
.ck-body{ min-width: 0; }
.ck-title{ margin: 2px 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.ck-text{ margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: #6B6B73; }
.ck-text a{ color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(200,18,31,.35); transition: border-color 300ms var(--ease); }
.ck-text a:hover{ border-color: var(--red); }
.ck-actions{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ck-accept{ padding: 11px 26px; font-size: 14px; border-radius: 10px; }
.ck-decline{ background: none; border-width: 0 0 1px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: #55555d; padding: 6px 2px; border-bottom: 1px dashed rgba(85,85,93,.5); transition: color 300ms var(--ease), border-color 300ms var(--ease); }
.ck-decline:hover{ color: var(--red); border-color: var(--red); }
@media (max-width: 560px){
  .ck{ left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px 18px 18px; gap: 14px; border-radius: 22px; }
  .ck-ic{ flex-basis: 42px; width: 42px; height: 42px; }
  .ck-ic svg{ width: 21px; height: 21px; }
  .ck-title{ font-size: 16.5px; }
  .ck-actions{ gap: 12px; }
}
@media (prefers-reduced-motion: reduce){ .ck{ transition: opacity 200ms linear; transform: none; } }

/* ==== Юридические страницы (lg-*, sv-*), подвал (ft-legal), плашки-заполнители ==== */
.ph{ background: #FFF1B8; color: #6b5200; padding: 0 5px; border-radius: 5px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.lg-hero{ position: relative; overflow: hidden; padding: 10px 0 30px; }
.lg-title{ font-size: clamp(32px, 4.4vw, 62px); }
.lg-section{ padding: 0 0 84px; }
.lg-grid{ display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.lg-toc{
  position: sticky; top: 24px; padding: 26px 24px 22px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 22px; box-shadow: 0 20px 44px -38px rgba(60,30,20,.35);
}
.lg-toc-title{ margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); }
.lg-toc ol{ margin: 0; padding: 0; list-style: none; counter-reset: lg; display: flex; flex-direction: column; gap: 4px; }
.lg-toc li{ counter-increment: lg; }
.lg-toc a{
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #3a3a42; text-decoration: none;
  transition: background 300ms var(--ease), color 300ms var(--ease), padding-left 300ms var(--ease);
}
.lg-toc a::before{ content: counter(lg) "."; flex: 0 0 22px; color: var(--red); font-weight: 700; }
.lg-toc a:hover{ background: #FBE4E5; color: var(--red); padding-left: 14px; }
.lg-note{ margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed rgba(200,18,31,.25); font-size: 12.5px; line-height: 1.55; color: #8d8d95; }

.lg-doc{ padding: 40px 46px 44px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 26px; box-shadow: 0 26px 52px -42px rgba(60,30,20,.4); }
.lg-meta{ margin: 0 0 8px; font-size: 13.5px; color: #8d8d95; }
.lg-doc h2{ display: flex; gap: 12px; align-items: baseline; margin: 36px 0 14px; padding-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.2px; scroll-margin-top: 90px; }
.lg-doc h2 span{ color: var(--red); }
.lg-doc h2:first-of-type{ margin-top: 20px; }
.lg-doc p{ margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #4a4a52; }
.lg-doc ul{ margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.lg-doc li{ font-size: 15px; line-height: 1.65; color: #4a4a52; }
.lg-doc li::marker{ color: var(--red); }
.lg-doc a{ color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(200,18,31,.3); }
.lg-doc a:hover{ border-color: var(--red); }
.lg-table{ margin: 6px 0 16px; border: 1px solid #F0E9E2; border-radius: 16px; overflow: hidden; background: #fff; }
.lg-row{ display: grid; grid-template-columns: 1.1fr 2.2fr 1.1fr; gap: 14px; padding: 14px 18px; font-size: 14px; line-height: 1.55; color: #4a4a52; }
.lg-row + .lg-row{ border-top: 1px solid #F0E9E2; }
.lg-row--head{ background: #FBE4E5; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--red); }

.sv-dl{ margin: 0 0 14px; border: 1px solid #F0E9E2; border-radius: 16px; overflow: hidden; background: #fff; }
.sv-dl > div{ display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 16px; padding: 14px 18px; }
.sv-dl > div + div{ border-top: 1px solid #F0E9E2; }
.sv-dl dt{ font-size: 13.5px; color: #8d8d95; }
.sv-dl dd{ margin: 0; font-size: 15px; font-weight: 600; color: #2c2c33; }
.sv-links{ list-style: none; padding-left: 0 !important; }

@media (max-width: 1000px){
  .lg-grid{ grid-template-columns: minmax(0, 1fr); }
  .lg-toc{ position: static; }
  .lg-toc ol{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .lg-doc{ padding: 26px 20px 30px; border-radius: 22px; }
  .lg-doc h2{ font-size: 19px; }
  .lg-toc ol{ grid-template-columns: minmax(0, 1fr); }
  .lg-row{ grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lg-row--head{ display: none; }
  .sv-dl > div{ grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* подвал: юридический блок */
.ft-legal{ position: relative; padding: 22px 0 20px; border-top: 1px solid #EADFD6; }
.ft-legal-text{ margin: 0 0 14px; max-width: 980px; font-size: 13px; line-height: 1.7; color: #6B6B73; }
.ft-legal-links{ display: flex; flex-wrap: wrap; gap: 8px 26px; }
.ft-legal-links a{ font-size: 13.5px; font-weight: 600; color: #4a4a52; text-decoration: none; border-bottom: 1px dashed rgba(200,18,31,.4); transition: color 300ms var(--ease), border-color 300ms var(--ease); }
.ft-legal-links a:hover{ color: var(--red); border-color: var(--red); }
.ft-bottom{ border-top: 0 !important; padding-top: 4px !important; }

/* согласие в формах */
.bk-check a, .cm-check a{ color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(200,18,31,.35); }
.bk-check a:hover, .cm-check a:hover{ border-color: var(--red); }
.cm-check{ display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; line-height: 1.55; color: #6B6B73; cursor: pointer; }
.cm-check input{ width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; accent-color: var(--red); }
.cm-check input[aria-invalid="true"]{ outline: 2px solid var(--red); outline-offset: 2px; }
.cm-check-err{ margin-top: -8px; }

/* плашка cookie: настройки */
.ck-settings{ display: none; margin: 0 0 16px; padding: 4px 0 0; }
.ck.is-settings .ck-settings{ display: block; }
.ck.is-settings .ck-text{ display: none; }
.ck-opt{ display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px dashed rgba(200,18,31,.25); }
.ck-opt:first-child{ border-top: 0; padding-top: 0; }
.ck-opt b{ display: block; font-size: 14px; font-weight: 700; color: var(--black, #111); }
.ck-opt small{ display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #6B6B73; }
.ck-switch{ position: relative; flex: 0 0 44px; width: 44px; height: 26px; cursor: pointer; }
.ck-switch input{ position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.ck-switch i{ position: absolute; inset: 0; border-radius: 999px; background: #D9D2CB; transition: background 350ms var(--ease); }
.ck-switch i::after{ content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform 350ms var(--ease); }
.ck-switch input:checked + i{ background: var(--red); }
.ck-switch input:checked + i::after{ transform: translateX(18px); }
.ck-switch input:disabled{ cursor: not-allowed; }
.ck-switch input:disabled + i{ opacity: .6; }
.ck-switch input:focus-visible + i{ outline: 2px solid var(--red); outline-offset: 2px; }
.ck-save{ display: none; }
.ck.is-settings .ck-save{ display: inline-flex; }
.ck.is-settings .ck-accept:not(.ck-save), .ck.is-settings .ck-more{ display: none; }
.ck-more{ background: none; border-width: 0 0 1px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: #55555d; padding: 6px 2px; border-bottom: 1px dashed rgba(85,85,93,.5); }
.ck-more:hover{ color: var(--red); border-color: var(--red); }
.ck{ max-height: calc(100vh - 32px); overflow-y: auto; }

/* ==== Баннер «Приведи друга» (pr-promo) ==== */
.pr-promo{
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 10px;
  min-height: 380px; padding: 52px 56px; border-radius: 32px;
  background: radial-gradient(520px 320px at 85% 90%, rgba(248,200,200,.7), transparent 70%), linear-gradient(110deg, #FBF6F3 0%, #FCEFEC 55%, #FADCDC 100%);
  border: 1px solid #F3E2DC; box-shadow: 0 30px 60px -44px rgba(200,18,31,.5);
}
.pr-promo-mark{
  position: absolute; top: -14px; right: -18px; font-size: clamp(80px, 13vw, 200px); font-weight: 900; line-height: .9; letter-spacing: -3px;
  color: rgba(200,18,31,.055); pointer-events: none; user-select: none; white-space: nowrap;
}
.pr-promo-dots{
  position: absolute; top: 52px; left: 47%; width: 170px; height: 100px; pointer-events: none;
  background: radial-gradient(circle, #E9BFBF 2.2px, transparent 2.8px) 0 0 / 34px 34px;
}
.pr-promo-text{ position: relative; z-index: 2; }
.pr-promo-title{
  margin: 22px 0 18px; font-size: clamp(34px, 4.8vw, 70px); font-weight: 900; line-height: 1.02; letter-spacing: -1.2px; text-transform: uppercase; color: #0f0f12;
}
.pr-promo-title .accent{ color: var(--red); white-space: nowrap; }
.pr-promo-desc{ margin: 0 0 30px; max-width: 420px; font-size: 18px; line-height: 1.55; color: #5f5f68; }
.pr-promo-row{ display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.pr-promo-btn{ padding: 20px 34px; font-size: 18px; border-radius: 12px; gap: 14px; }
.pr-promo-terms{ margin: 0; font-size: 14.5px; line-height: 1.5; color: #7a7a82; }

.pr-promo-visual{ position: relative; z-index: 1; align-self: stretch; display: grid; place-items: center; min-height: 280px; }
.pr-promo-art{ width: 112%; max-width: 560px; height: auto; margin-right: -4%; animation: prFloat 5s ease-in-out infinite; }
.pr-promo-sparks{ animation: prSpark 2.4s ease-in-out infinite; transform-origin: 120px 70px; }
.pr-promo-note{
  position: absolute; z-index: 3; top: 4%; right: 2%; margin: 0; display: flex; align-items: center; gap: 6px; color: #8d8d95; transform: rotate(-8deg);
}
.pr-promo-note span{ font-family: 'Caveat', cursive; font-size: 26px; line-height: 1.05; text-align: right; }
.pr-promo-note svg{ width: 34px; height: 34px; flex: 0 0 34px; }

@media (max-width: 1100px){
  .pr-promo{ padding: 40px 36px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .pr-promo-btn{ padding: 16px 26px; font-size: 16px; }
  .pr-promo-note{ display: none; }
}
@media (max-width: 860px){
  .pr-promo{ grid-template-columns: minmax(0, 1fr); padding: 34px 24px 12px; min-height: 0; }
  .pr-promo-dots{ display: none; }
  .pr-promo-desc{ font-size: 16px; }
  .pr-promo-visual{ min-height: 220px; margin-top: 8px; }
  .pr-promo-art{ width: 100%; margin-right: 0; max-width: 420px; }
  .pr-promo-btn{ width: 100%; justify-content: center; }
  .pr-promo-row{ gap: 14px; }
  .pr-promo-mark{ font-size: 90px; right: -8px; top: 0; }
}
@media (prefers-reduced-motion: reduce){ .pr-promo-art, .pr-promo-sparks{ animation: none; } }

/* баннер «Приведи друга»: готовая картинка вместо SVG */
.pr-promo-art{ width: 108%; max-width: 580px; height: auto; margin-right: -2%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(120,30,30,.16)); }
.pr-promo-visual{ min-height: 300px; }
@media (max-width: 860px){ .pr-promo-art{ width: 112%; max-width: 480px; margin: 0 -6% 0 -6%; } }

/* карточка «Фиксируем цены»: готовая картинка календаря */
.pr-art--img{ width: 275px; right: 1px; bottom: -22px; max-width: none; }
@media (max-width: 1100px){ .pr-art--img{ width: 230px; right: -26px; } }
@media (max-width: 860px){ .pr-art--img{ width: 280px; right: -30px; } }

/* ==== Онлайн-обучения нет: в сетках остаётся две категории (A и B) ==== */
.cc-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-table{ min-width: 640px; }
.tf-grid{ grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); max-width: 980px; margin: 0 auto; }
@media (max-width: 860px){
  .cc-grid{ grid-template-columns: minmax(0, 1fr); }
  .tf-grid{ grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* три адреса: карточки филиалов в три колонки */
.filials-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px){ .filials-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .filials-grid{ grid-template-columns: minmax(0, 1fr); } }

/* ==== Правки по результатам проверки ==== */
.ab-mission-media{ min-width: 0; }
.ab-mission-photo{ aspect-ratio: auto; min-height: 0; width: 100%; height: clamp(240px, 24.5vw, 380px); }
@media (max-width: 860px){ .ab-mission-photo{ height: 240px; } }
.reviews-grid.reviews-grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px){ .reviews-grid.reviews-grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .reviews-grid.reviews-grid-4{ grid-template-columns: minmax(0, 1fr); } }

/* ==== Видеоотзывы: без видео блок скрыт ==== */
.video-reviews:not(:has(.video-card)){ display: none; }
.video-reviews[hidden]{ display: none; }
.video-card a{ position: relative; display: block; border-radius: inherit; overflow: hidden; }
.video-card img{ display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 700ms var(--ease); }
.video-card a:hover img{ transform: scale(1.04); }
.video-play{
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: var(--red); box-shadow: 0 14px 30px -10px rgba(200,18,31,.7); transition: transform 400ms var(--ease);
}
.video-play::after{ content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video-card a:hover .video-play{ transform: scale(1.1); }

/* ==== Только категория B: две карточки одного размера ==== */
.tf-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; align-items: stretch; }
.tf-card--mt .tf-visual > .tf-glow::after, .tf-card--at .tf-visual > .tf-glow::after{
  content: ""; position: absolute; right: -16%; top: 40%; width: 52px; height: 26px;
  background:
    linear-gradient(90deg, rgba(200,18,31,.55), rgba(200,18,31,0)) 0 0 / 52px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.4), rgba(200,18,31,0)) 10px 12px / 36px 2px no-repeat,
    linear-gradient(90deg, rgba(200,18,31,.3), rgba(200,18,31,0)) 4px 24px / 44px 2px no-repeat;
  animation: tfWind 1.8s ease-out infinite;
}
.tf-card--at .tf-visual img, .tf-card--at .tf-visual::after{ animation-delay: -2.2s; }
.tf-card--mt .tf-top, .tf-card--at .tf-top{ min-height: 190px; }
@media (max-width: 860px){ .tf-grid{ grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.cc-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* переключатель коробки передач на странице категории B */
.pc-var-tabs{ display: none; }
.pc-variants.is-ready .pc-var-tabs{
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 18px; background: #FBE4E5; border-radius: 14px;
}
.pc-var-tabs button{
  padding: 11px 10px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: #6B6B73; cursor: pointer;
  transition: background 350ms var(--ease), color 350ms var(--ease), box-shadow 350ms var(--ease);
}
.pc-var-tabs button[aria-selected="true"]{ background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px rgba(200,18,31,.6); }
.pc-var-tabs button:not([aria-selected="true"]):hover{ color: var(--red); }
.pc-variants:not(.is-ready) .pc-var + .pc-var{ margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(200,18,31,.25); }
.pc-var[hidden]{ display: none; }

/* ==== Автопарк: три автомобиля (Vesta и Granta — механика, Iskra — автомат) ==== */
.fl-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fl-card{ padding: 30px 26px 28px; }
.fl-card--granta .fl-car-svg, .fl-card--iskra .fl-car-svg{ position: relative; z-index: 2; width: 92%; max-width: 440px; height: auto; animation: flFloat 4.6s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(60,30,20,.16)); }
.fl-card--granta .fl-car-svg{ animation-delay: -2s; }
.fl-card--iskra .fl-car-svg{ animation-delay: -3.4s; }
.fl-card--granta .fl-shadow{ animation-delay: -2s; }
.fl-card--iskra .fl-shadow{ animation-delay: -3.4s; }
.fl-trans{
  position: absolute; top: 22px; left: 26px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #F0E9E2;
  font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #55555d;
}
.fl-trans--at{ background: var(--red); border-color: var(--red); color: #fff; }
.fl-visual{ margin-top: 26px; }
.fl-title-row h3{ font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 1100px){
  .fl-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-card--iskra{ grid-column: 1 / -1; }
}
@media (max-width: 860px){ .fl-grid{ grid-template-columns: minmax(0, 1fr); } .fl-card--iskra{ grid-column: auto; } }
@media (prefers-reduced-motion: reduce){ .fl-car-svg{ animation: none !important; } }

/* два инструктора: две карточки в ряд */
.fi-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.fi-card h3{ font-size: 21px; line-height: 1.25; }
@media (max-width: 760px){ .fi-grid{ grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* один адрес: одна карточка */
.filials-grid{ grid-template-columns: minmax(0, 520px); }

/* первый экран: значки в плашках статистики красные */
.hero .stat-icon{ color: var(--red); }

/* ==== Инструкторы: две плитки на всю ширину ==== */
.fi-grid{ max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
@media (max-width: 760px){ .fi-grid{ grid-template-columns: minmax(0, 1fr); } }

/* ==== Автопарк: одинаковые по высоте плитки, строки внутри выровнены ==== */
.fl-title-row{ flex-direction: column; align-items: flex-start; gap: 10px; }
.fl-cta{ justify-self: start; }
@media (min-width: 1101px){
  .fl-grid{ grid-template-rows: repeat(6, auto); row-gap: 0; align-items: stretch; }
  .fl-card{ display: grid; grid-template-rows: subgrid; grid-row: 1 / span 6; align-content: start; }
}

/* ==== Отправка форм: скрытое поле-ловушка для ботов и сообщение об ошибке ==== */
.hp{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cm-send-err{ margin: 0; font-size: 13px; font-weight: 600; text-align: center; color: var(--red); }
.cm-send-err:empty{ display: none; }
.cm-submit:disabled, .bk-submit:disabled{ opacity: .65; cursor: progress; }

/* ==== Единый фон на всех страницах: кремовый (раньше на главной, «Курсах» и «Категории B» между блоками просвечивал белый) ==== */
body{ background: #F8F4EF; }
.hero, .pc-section{ background-color: #F8F4EF; }

/* ==== SEO-тексты (seo-card) ==== */
.seo-section{ padding: 0 0 64px; }
.seo-card{
  padding: 40px 46px 42px; background: #FCFAF8; border: 1px solid #F0E9E2; border-radius: 26px;
  box-shadow: 0 26px 52px -42px rgba(60,30,20,.4);
}
.seo-card h2{ margin: 34px 0 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.3px; line-height: 1.15; }
.seo-card h2:first-child, .seo-cols h2:first-child{ margin-top: 0; }
.seo-card p{ margin: 0 0 14px; max-width: 900px; font-size: 15.5px; line-height: 1.75; color: #4a4a52; }
.seo-card ul{ margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.seo-card li{ font-size: 15.5px; line-height: 1.65; color: #4a4a52; }
.seo-card li::marker{ color: var(--red); }
.seo-card a{ color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(200,18,31,.3); }
.seo-card a:hover{ border-color: var(--red); }
.seo-cols{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-bottom: 8px; }
.faq-answer a{ color: var(--red); font-weight: 600; }
.dc-section > .wrap > .seo-card{ margin-bottom: 44px; }
@media (max-width: 860px){ .seo-card{ padding: 26px 20px 28px; border-radius: 22px; } .seo-cols{ grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 860px){ .ab-stats li:last-child:nth-child(odd){ grid-column: 1 / -1; } }

/* ==== метка на карте: svg не должен сжиматься в ноль внутри контейнера Яндекса ==== */
.ymap-pin{ width: 36px; height: 36px; }
.ymap-pin svg{ display: block; width: 36px; height: 36px; max-width: none; }