/* ===== Tokens ===== */
:root {
  --red: #e30613;
  --red-dark: #b80510;
  --red-light: #fff0f0;
  --graphite: #1d1d1b;
  --graphite-2: #2a2a28;
  --text: #1d1d1b;
  --text-muted: #5a5f66;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f5fa;
  --bg-dark: #1d1d1b;
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  --glass-bg-dark: linear-gradient(135deg, rgba(40, 40, 40, 0.8) 0%, rgba(20, 20, 20, 0.5) 100%);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-dark: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --glass-blur: blur(16px);
}

/* ===== Icons (inline SVG) ===== */
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 28px; height: 28px; }
.icon--lg { width: 40px; height: 40px; stroke-width: 1.75; }
.icon--xl { width: 64px; height: 64px; stroke-width: 1.5; }
.icon--hero { width: 120px; height: 120px; stroke-width: 1.25; }

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }
button { font-family: inherit; cursor: pointer; border: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: inherit; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { margin: 0 0 1rem; }

/* ===== Layout ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; scroll-margin-top: 100px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-alt); color: var(--text); }
.section--dark h2, .section--dark h3 { color: var(--text); }
.section__title { text-align: center; margin-bottom: 14px; }
.section__lead { text-align: center; color: var(--text-muted); max-width: 760px; margin: 0 auto 48px; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
}
.btn--secondary {
  background: var(--graphite);
  color: #fff;
}
.btn--secondary:hover {
  background: var(--graphite-2);
  color: #fff;
}
.btn--outline {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--graphite);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.btn--outline:hover {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--graphite);
  border-color: #fff;
}
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ===== Topbar ===== */
.topbar {
  background: var(--graphite);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 20px;
}
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; gap: 20px; align-items: center; }

/* ===== Header — Apple glass capsule ===== */
.header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px auto 0;
  width: calc(100% - 24px);
  max-width: 1280px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 12px 36px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.28);
}
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo__name {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  color: var(--graphite);
}
.logo__sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 3px;
  text-transform: uppercase;
}
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, 0.45); }
.footer .logo__mark { box-shadow: 0 6px 16px rgba(227, 6, 19, 0.4); }
@media (max-width: 720px) {
  .header__inner { padding: 10px 14px; gap: 12px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 1rem; }
  .logo__sub { font-size: 0.62rem; letter-spacing: 0.03em; }
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 500;
  color: var(--graphite);
  padding: 6px 0;
  position: relative;
  font-size: .95rem;
}
.nav a.active { color: var(--red); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .2s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}
.header__phone-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--graphite);
  white-space: nowrap;
}
.header__phone-label {
  font-size: .75rem;
  color: var(--text-muted);
}
.header .btn--primary {
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
}
.burger {
  display: none;
  background: none;
  padding: 8px;
  border-radius: 4px;
  position: relative;
  width: 40px;
  height: 36px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  margin: 5px auto;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  background: var(--graphite);
  color: #fff;
  padding: 80px 0 64px 0;
  position: relative;
  overflow: hidden;
}
.hero__bgs {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero__bg-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__bg-slide.active {
  opacity: 1;
}
.hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(29,29,27,0.75) 0%, rgba(29,29,27,0.55) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(227,6,19,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__badge {
  display: inline-block;
  background: rgba(227,6,19,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ff9ea4;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(227,6,19,.3);
}
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 560px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.hero__feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-dark);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero__feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(227, 6, 19, 0.3);
}
.hero__feature strong {
  display: block;
  font-size: 2rem;
  color: var(--red);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.hero__feature span { color: var(--text-muted); font-size: .9rem; }

/* Hero quick form */
.hero__visual {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,.15);
}

/* Custom Hero Slider */
.custom-slider {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 32px;
}
.custom-slide {
  display: none;
  width: 100%;
  animation: fade-in 0.8s ease forwards;
}
.custom-slide.active {
  display: block;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.custom-slider-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}
.custom-slider-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.custom-slider-dots .dot.active {
  background: var(--red);
  transform: scale(1.3);
}
.hero__visual-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}
.hero__visual-sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.quick-form .form-row { margin-bottom: 14px; }
.quick-form label {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.quick-form textarea {
  min-height: 90px;
  resize: vertical;
}
.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227,6,19,.1);
}

/* ===== Cards / Services ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.1);
  border-color: var(--red);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--red-light);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon .icon { width: 28px; height: 28px; stroke-width: 1.75; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); flex-grow: 1; font-size: .95rem; }
.card__price {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card__price-value {
  font-weight: 700;
  color: var(--red);
  font-size: 1.05rem;
}
.card__link { color: var(--graphite); font-weight: 600; font-size: .9rem; }
.card__link:hover { color: var(--red); }

/* ===== Advantages ===== */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.advantage {
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.advantage:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.advantage__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}
.advantage__icon .icon { width: 32px; height: 32px; stroke-width: 1.75; }
.advantage h3 { margin-bottom: 8px; }
.advantage p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ===== Fleet ===== */
.fleet-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fleet-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(29,29,27,.1); border-color: var(--red); }
.fleet-card__img {
  background: linear-gradient(135deg, #2a2a28 0%, #1d1d1b 100%);
  height: 200px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
}
.fleet-card__img .icon { width: 88px; height: 88px; stroke-width: 1.5; }
.fleet-card__img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
}
.fleet-card__body { padding: 28px; }
.fleet-card h3 { margin-bottom: 16px; }
.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.fleet-spec {
  font-size: .85rem;
  color: var(--text-muted);
}
.fleet-spec strong {
  display: block;
  color: var(--graphite);
  font-size: 1rem;
  margin-top: 2px;
  font-weight: 600;
}
.fleet-card__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.fleet-card__price strong { color: var(--red); font-size: 1.15rem; }
.fleet-card__price span { color: var(--text-muted); font-size: .85rem; }

/* ===== Geography ===== */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.geo-tag {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--glass-shadow);
  padding: 16px 18px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .2s ease, color .2s ease;
}
.geo-tag:hover { border-color: var(--red); color: var(--red); }
.geo-tag__flag {
  font-size: 1.3rem;
  line-height: 1;
}
.geo-tag .icon { width: 18px; height: 18px; color: var(--red); }
.geo-section {
  margin-bottom: 32px;
}
.geo-section:last-child { margin-bottom: 0; }
.geo-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text);
}
.geo-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--red);
  border-radius: 2px;
}

/* ===== Reviews ===== */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}
.review__text { color: var(--graphite); margin-bottom: 20px; font-size: 1rem; line-height: 1.55; }
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--graphite);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.review__name { font-weight: 600; color: var(--graphite); }
.review__role { font-size: .85rem; color: var(--text-muted); }
.review__stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: none;
  box-shadow: 0 24px 60px rgba(227,6,19,.25);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 240px; height: 240px;
  border: 60px solid rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-banner .btn--primary {
  background: #fff;
  color: var(--red);
}
.cta-banner .btn--primary:hover { background: var(--graphite); color: #fff; }

/* ===== Forms ===== */
.form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.form__row { margin-bottom: 18px; }
.form__row--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form label {
  display: block;
  font-size: .85rem;
  color: var(--graphite);
  font-weight: 500;
  margin-bottom: 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: .95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.5);
  color: var(--graphite);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  background: #fff;
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,6,19,.12);
}
.form textarea { min-height: 110px; resize: vertical; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.form__check input { width: auto; margin-top: 4px; }
.form__check a { color: var(--red); text-decoration: underline; }
.form__success {
  background: #e8f6ed;
  color: #1c7a3d;
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  display: none;
  font-size: .95rem;
}
.form__success.show { display: block; }
.form__success.error { background: #fdecec; color: #b80510; }

/* ===== Calculator ===== */
.calc-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.calc-form h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.calc-form h3::before {
  content: counter(calc-step);
  counter-increment: calc-step;
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 700;
}
.calc-form { counter-reset: calc-step; }
.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.calc-option input { display: none; }
.calc-option-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
}
.calc-option-card strong { display: block; font-size: .95rem; color: var(--graphite); }
.calc-option-card span { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.calc-option input:checked + .calc-option-card {
  border-color: var(--red);
  background: var(--red-light);
}
.calc-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.calc-checkbox:hover { background: var(--bg-alt); border-color: var(--red); }
.calc-checkbox input { width: auto; }
.calc-checkbox strong { flex-grow: 1; color: var(--graphite); font-size: .95rem; }
.calc-checkbox span { color: var(--red); font-weight: 600; font-size: .95rem; }

.calc-result {
  background: var(--graphite);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  position: sticky;
  top: 100px;
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}
.calc-result h3 { color: #fff; margin-bottom: 24px; }
.calc-summary { margin-bottom: 20px; }
.calc-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #c7c8ca;
  font-size: .9rem;
  gap: 16px;
}
.calc-summary-row:last-child { border: none; }
.calc-summary-row strong { color: #fff; font-weight: 600; text-align: right; }
.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  margin: 18px 0;
  border-top: 2px solid rgba(255,255,255,.15);
  border-bottom: 2px solid rgba(255,255,255,.15);
}
.calc-total-label { color: #c7c8ca; font-size: .95rem; }
.calc-total-value {
  color: var(--red);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.calc-note {
  font-size: .78rem;
  color: #a7a9ac;
  margin-top: 16px;
}

/* ===== Contacts ===== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.contact-info {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.contact-info h3 { margin-bottom: 20px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border: none; }
.contact-row__icon {
  width: 40px; height: 40px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row__icon .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.contact-row__label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-row__value { font-size: 1.02rem; color: var(--graphite); font-weight: 600; margin-top: 2px; }
.map-placeholder {
  background: linear-gradient(135deg, #e4e7ec 0%, #c7c8ca 100%);
  border-radius: 6px;
  height: 100%;
  min-height: 400px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}
.contact-map {
  position: relative;
  height: 100%;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--glass-shadow);
  background: #e4e7ec;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map__open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--graphite);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform .15s ease, color .15s ease;
}
.contact-map__open:hover { color: var(--red); transform: translateY(-2px); }
@media (max-width: 720px) {
  .contact-map { min-height: 360px; }
  .contact-map__open { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 0.82rem; }
}

/* ===== Filters ===== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: var(--graphite);
  font-weight: 500;
  font-size: .9rem;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ===== Footer ===== */
.footer {
  background: var(--graphite);
  color: #a7a9ac;
  padding: 64px 0 24px;
  border-top: 4px solid var(--red);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; font-weight: 600; }
.footer ul li { margin-bottom: 10px; font-size: .9rem; }
.footer a { color: #c7c8ca; }
.footer a:hover { color: var(--red); }
.footer__about p { font-size: .9rem; color: #a7a9ac; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #8a8d92;
}

/* ===== Service page hero ===== */
.service-hero {
  background: linear-gradient(135deg, #1d1d1b 0%, #2a2a28 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  z-index: 3;
}
.service-hero > .container { position: relative; z-index: 2; }
/* Опциональный фон-баннер: положите файл в assets/img/ и раскомментируйте <img> */
.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.service-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(1.05) saturate(0.9);
}
.service-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.2) 40%, rgba(11,11,12,0.92) 100%),
    radial-gradient(60% 60% at 15% 30%, rgba(11,11,12,0.45) 0%, transparent 70%);
  z-index: 1;
}
/* Полноширинный баннер: добавьте класс service-hero--banner на <section>.
   SVG-плашка справа скрывается, текст растягивается на всю ширину, фото становится ярче. */
.service-hero--banner .service-hero__art { display: none; }
.service-hero--banner .service-hero__grid { grid-template-columns: 1fr; max-width: 760px; }
.service-hero--banner { padding: 110px 0 90px; min-height: 480px; }
.service-hero--banner .service-hero__bg-img { opacity: 0.6; }
.service-hero--banner .service-hero__bg::before {
  background:
    linear-gradient(100deg, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.55) 50%, rgba(11,11,12,0.15) 100%),
    linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.7) 100%);
}
@media (max-width: 720px) {
  .service-hero--banner { padding: 80px 0 60px; min-height: 380px; }
}
.service-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-hero h1 { color: #fff; margin-bottom: 16px; }
.service-hero__lead { color: #c7c8ca; font-size: 1.1rem; margin-bottom: 28px; max-width: 580px; }
.service-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(227,6,19,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(227,6,19,.4);
  padding: 10px 18px;
  border-radius: 12px;
  margin-bottom: 28px;
}
.service-hero__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.service-hero__meta .service-hero__price { margin-bottom: 0; }
.service-hero__meta .service-hero__price--min {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.service-hero__price-value { color: #fff; font-weight: 700; font-size: 1.2rem; }
.service-hero__price-label { color: #c7c8ca; font-size: .85rem; }
.service-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.service-hero__art {
  background: rgba(255,255,255,.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 64px 40px;
  display: grid;
  place-items: center;
  color: var(--red);
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.service-hero__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(227,6,19,.05) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 6px;
}
.service-hero__art .icon {
  width: 180px;
  height: 180px;
  stroke-width: 1.25;
  position: relative;
  z-index: 1;
}

/* ===== Service page sections ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-list__item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature-list__item:hover { border-color: var(--red); box-shadow: 0 12px 28px rgba(29,29,27,.08); }
.feature-list__icon {
  width: 44px; height: 44px;
  border-radius: 4px;
  background: var(--red-light);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-list__icon .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.feature-list__body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-list__body p { margin: 0; font-size: .92rem; color: var(--text-muted); }

.specs-table {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.specs-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.specs-table__row:last-child { border-bottom: none; }
.specs-table__row:nth-child(even) { background: rgba(0,0,0,0.02); }
.specs-table__key { color: var(--text-muted); font-size: .95rem; }
.specs-table__val { color: var(--graphite); font-weight: 600; font-size: .95rem; }

.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.related-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  color: var(--graphite);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s ease, color .2s ease;
}
.related-service:hover { border-color: var(--red); color: var(--red); }
.related-service .icon { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }

/* ===== Page header ===== */
.page-header {
  background: var(--graphite);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header > .container {
  position: relative;
  z-index: 2;
}
.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-header__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(1.05) saturate(0.9);
}
.page-header__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.2) 40%, rgba(11,11,12,0.92) 100%),
    radial-gradient(60% 60% at 15% 30%, rgba(11,11,12,0.45) 0%, transparent 70%);
  z-index: 1;
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  z-index: 3;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: #c7c8ca; margin: 0; font-size: 1.05rem; max-width: 720px; }
.breadcrumbs {
  font-size: .85rem;
  color: #8a8d92;
  margin-bottom: 18px;
}
.breadcrumbs a { color: #c7c8ca; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { color: var(--red); }

/* ===== 404 ===== */
.notfound {
  text-align: center;
  padding: 120px 20px;
}
.notfound__code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 64px 0; }
  .hero__grid, .calc-layout, .contacts-layout, .service-hero__grid {
    grid-template-columns: 1fr;
  }
  .service-hero__art { padding: 48px 32px; }
  .service-hero__art .icon { width: 120px; height: 120px; }
  .hero__features { grid-template-columns: repeat(2, 1fr); }
  .calc-result { position: static; }
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 22px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .header .btn--primary { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero__features { grid-template-columns: 1fr; gap: 16px; }
  .form__row--grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; }
  .filter-btn { flex-shrink: 0; }
}

/* ===== Page transition (shutter) ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.page-transition__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 51%;
  will-change: transform;
  transition: transform 650ms cubic-bezier(.76, 0, .24, 1);
}
.page-transition__half--top {
  top: 0;
  background: var(--graphite);
  transform: translateY(-101%);
}
.page-transition__half--bottom {
  bottom: 0;
  background: var(--red);
  transform: translateY(101%);
}
.page-transition__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  opacity: 0;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(.34, 1.56, .64, 1);
  z-index: 1;
}
.page-transition__logo svg {
  display: block;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35));
}
/* Closing: shutters slide in to cover the page */
.page-transition.is-closing .page-transition__half--top    { transform: translateY(0); }
.page-transition.is-closing .page-transition__half--bottom { transform: translateY(0); }
.page-transition.is-closing .page-transition__logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 200ms;
}
/* Initial state on load: shutters covering, then opening out */
.page-transition.is-opening .page-transition__half--top    { transform: translateY(0); }
.page-transition.is-opening .page-transition__half--bottom { transform: translateY(0); }
.page-transition.is-opening .page-transition__logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.page-transition.is-open .page-transition__half--top    { transform: translateY(-101%); }
.page-transition.is-open .page-transition__half--bottom { transform: translateY(101%); }
.page-transition.is-open .page-transition__logo { opacity: 0; transform: translate(-50%, -50%) scale(.85); }

@media (prefers-reduced-motion: reduce) {
  .page-transition__half,
  .page-transition__logo { transition: none !important; }
}

/* ------------- Пользовательские фоны для бэнто-плиток ------------- */
.h-bento__cell {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--bento-bg-gradient, none);
  position: relative;
  overflow: hidden;
}

.h-bento__cell--with-bg {
  background-image: none !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.h-bento__cell--with-bg .h-bento__icon, 
.h-bento__cell--with-bg .h-bento__body {
  position: relative;
  z-index: 1;
}

.h-bento__cell--with-bg .h-bento__bg-icon {
  display: none !important;
}

/* ===== Modal overlay and card styling ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 29, 27, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.show .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(29, 29, 27, 0.05);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--graphite);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--red);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.modal-divider:not(:empty)::before {
  margin-right: .75em;
}

.modal-divider:not(:empty)::after {
  margin-left: .75em;
}

.modal-direct-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--graphite);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.modal-direct-call:hover {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}

.modal-form-foot {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.4;
}

.modal-form-foot a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.modal-form-foot a:hover {
  color: var(--red);
}

@media (max-width: 480px) {
  .modal-card {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .modal-title {
    font-size: 1.4rem;
  }
}

/* ===== Floating phone button (FAB) ===== */
.fab-phone {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 980;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
  text-decoration: none;
}
.fab-phone:hover {
  background: var(--red-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 40px rgba(227, 6, 19, 0.55);
  color: #fff;
}
.fab-phone:active { transform: translateY(-1px) scale(1.0); }
.fab-phone__icon { width: 26px; height: 26px; position: relative; z-index: 2; }
.fab-phone__pulse,
.fab-phone__pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
.fab-phone__pulse::after { animation-delay: 1.2s; }
@keyframes fabPulse {
  0%   { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.8); }
}
@media (max-width: 720px) {
  .fab-phone { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .fab-phone__icon { width: 24px; height: 24px; }
}

/* ===== Legal document (privacy / terms) ===== */
.legal-doc {
  max-width: 880px;
  margin: 0 auto;
  color: var(--graphite);
  line-height: 1.7;
  font-size: 1.02rem;
}
.legal-doc h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--graphite);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin: 0 0 14px; color: #3d4148; }
.legal-doc ul { margin: 0 0 18px 18px; padding: 0; }
.legal-doc li { margin-bottom: 8px; color: #3d4148; }
.legal-doc a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--red-dark); }
.legal-doc strong { color: var(--graphite); font-weight: 700; }
@media (max-width: 720px) {
  .legal-doc { font-size: 0.96rem; }
  .legal-doc h2 { font-size: 1.2rem; margin-top: 32px; }
}
