/* ==========================================================================
   Студия «Шаг вперёд» Владимира Павлюченко — Премиальная дизайн-система
   Палитра: клинический белый, спокойный серый, глубокий синий, бирюзовый
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-gray: #f1f5f9;
  --navy: #0f3d6e;
  --navy-dark: #092544;
  --navy-light: #1e5b94;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-hover: #0f766e;
  --teal-soft: #e6faf7;
  --teal-badge: #ccfbf1;
  --text: #1e293b;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 18px rgba(15, 61, 110, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 61, 110, 0.10);
  --shadow-lg: 0 24px 56px rgba(15, 61, 110, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Полоса прогресса скролла ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal-bright) 100%);
  z-index: 120;
  transition: width 0.08s linear;
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(27px, 4.1vw, 46px); }
h2 { font-size: clamp(23px, 3vw, 35px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
p { margin: 0 0 14px; }

.lead {
  font-size: clamp(16.5px, 1.45vw, 19.5px);
  color: var(--muted);
  line-height: 1.55;
}

.gradient-text {
  background: linear-gradient(120deg, var(--navy) 15%, var(--teal) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(204, 251, 241, 0.85);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.65);
  animation: dotBeacon 2s infinite;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.30);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 4.5s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 148, 136, 0.38);
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid rgba(13, 148, 136, 0.45);
  animation: ringPulse 2.6s var(--ease) infinite;
  pointer-events: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 61, 110, 0.05);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 61, 110, 0.25);
}
.btn-navy:hover { transform: translateY(-2px); }

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 12px;
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f3d6e 0%, #0e647b 55%, #0d9488 100%);
  border: 1px solid rgba(94, 234, 212, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.32);
  transform-style: preserve-3d;
  animation: logoBreathe 5.5s ease-in-out infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -130%;
  width: 65%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(24deg);
  animation: logoSheen 5.2s ease-in-out infinite;
  pointer-events: none;
}

.brand-mark svg {
  display: block;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.brand-mark .kinetic-base {
  opacity: 0.34;
}

.brand-mark .kinetic-flow {
  stroke-dasharray: 26 74;
  stroke-dashoffset: 100;
  animation: kineticFlow 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.brand-mark .kinetic-node {
  transform-origin: 25px 9px;
  animation: logoCorePulse 2.6s ease-in-out infinite;
}

.brand:hover .brand-mark {
  transform: perspective(600px) rotateY(-12deg) rotateX(6deg) scale(1.06);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.brand-title {
  display: inline-block;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--navy) 35%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.brand-sub { font-size: 12.5px; color: var(--subtle); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: background-color 0.22s, color 0.22s, transform 0.22s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--teal-soft);
  color: var(--navy);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { font-weight: 700; font-size: 15.5px; color: var(--navy); white-space: nowrap; }
.phone-link:hover { color: var(--teal); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  z-index: 88;
  padding: 20px 18px 110px;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer.open { display: flex; animation: fadeSlideDown 0.28s var(--ease); }
.mobile-drawer a {
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.mobile-drawer a:active { transform: scale(0.98); }

/* ---------- Hero с живым Aurora-фоном ---------- */
.hero {
  padding: 46px 0 58px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  position: relative;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.48;
  will-change: transform;
}

.aurora-1 {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.38), rgba(204, 251, 241, 0.1));
  animation: auroraDrift1 14s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: -90px;
  background: radial-gradient(circle, rgba(30, 91, 148, 0.22), rgba(15, 61, 110, 0.04));
  animation: auroraDrift2 18s ease-in-out infinite alternate;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

/* Входная анимация Hero сразу при загрузке */
.hero-enter {
  animation: heroReveal 0.85s var(--ease) both;
}
.hero-enter-delay {
  animation: heroReveal 0.95s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 148, 136, 0.22);
  box-shadow: 0 3px 10px rgba(15, 61, 110, 0.04);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.trust-pill svg { color: var(--teal); flex-shrink: 0; }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  perspective: 1100px;
  animation: hero3dFloat 7s ease-in-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  transition: transform 0.7s var(--ease);
}
.hero-card:hover img { transform: scale(1.02); }

.hero-live-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(15, 61, 110, 0.9);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transform: translateZ(26px);
  box-shadow: 0 10px 22px rgba(9, 37, 68, 0.24);
}

.hero-float-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: var(--shadow-md);
  transform: translateZ(34px);
}
.hero-float-badge strong { display: block; color: var(--navy); font-size: 15.5px; }
.hero-float-badge span { font-size: 13.5px; color: var(--muted); }

/* ---------- Бегущая лента (Marquee) ---------- */
.marquee-strip {
  background: var(--navy);
  color: #ffffff;
  padding: 13px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #e2e8f0;
}

.marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* ---------- Живые счётчики KPI ---------- */
.kpi-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
  position: relative;
  z-index: 4;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.kpi-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.kpi-num {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 4px;
}
.kpi-label {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- Секции и сетки ---------- */
.section { padding: 68px 0; position: relative; overflow-x: clip; }
.section-soft { background: var(--bg-soft); }
.section-gray { background: var(--bg-gray); }
.section-head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.52);
}

.card:active {
  transform: perspective(900px) scale(0.985) rotateX(-2deg);
}

.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #e6faf7 0%, #eff6ff 100%);
  border: 1px solid rgba(13, 148, 136, 0.24);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(15, 61, 110, 0.08);
  transform: translateZ(20px);
  transition: transform 0.45s var(--ease), background-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.card-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}
.card:hover .card-icon {
  transform: translateZ(30px) rotateY(14deg) scale(1.08);
  background: var(--teal-badge);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.20);
}

.card-centered {
  text-align: center;
  align-items: center;
}
.card-centered .card-tag {
  align-self: center;
}
.card-centered .btn {
  align-self: center;
  min-width: 190px;
}

.card-clickable {
  cursor: pointer;
}
.card-clickable:hover {
  border-color: var(--teal);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--bg-gray);
  color: var(--navy);
  margin-bottom: 12px;
}
.card-tag.accent { background: var(--teal-badge); color: var(--teal-hover); }

.card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: auto 0 14px;
  padding-top: 10px;
}

/* ---------- Интерактивная схема «Мышечные цепи / Биомеханика» ---------- */
.biomech-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.biomech-nodes {
  display: grid;
  gap: 10px;
}

.biomech-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.28s var(--ease);
}

.biomech-node:hover { border-color: var(--teal); transform: translateX(4px); }
.biomech-node.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 61, 110, 0.22);
}

.biomech-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-badge);
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.biomech-node.active .biomech-num { background: var(--teal); color: #ffffff; }

.biomech-panel {
  background: linear-gradient(145deg, var(--teal-soft) 0%, #f4f8fb 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-md);
  padding: 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: flip3dIn 0.42s var(--ease);
}
.biomech-panel .card-tag {
  align-self: center;
}

/* ---------- Подборщик направления ---------- */
.router-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.router-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.router-tab {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.router-tab:hover { border-color: var(--teal); }
.router-tab.active { background: var(--navy); color: #ffffff; border-color: var(--navy); }

.router-result {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--teal-soft);
  border-left: 5px solid var(--teal);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  animation: fadeSlideUp 0.32s var(--ease);
}

/* ---------- Шаги программы ---------- */
.steps-list { display: grid; gap: 14px; }
.step-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  cursor: pointer;
}
.step-item:hover, .step-item.active {
  border-color: var(--teal);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------- Прогресс ремонта на /zal ---------- */
.progress-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 18px;
  box-shadow: var(--shadow-sm);
}
.progress-track {
  height: 12px;
  border-radius: 999px;
  background: var(--bg-gray);
  overflow: hidden;
  margin: 10px 0 6px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal-bright) 100%);
  transition: width 1.2s var(--ease);
}

/* ---------- Медиа ---------- */
.media-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  background: #0f172a;
}
.media-card img.media-portrait {
  aspect-ratio: 3 / 4;
  object-position: center top;
}
.media-card img.media-square {
  aspect-ratio: 1 / 1;
  object-position: center center;
}
.media-card video,
.media-card .media-contain {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: 520px;
  object-fit: contain;
  background: #092544;
}
.media-caption { padding: 16px 18px; }
.media-caption strong { display: block; color: var(--navy); margin-bottom: 4px; }
.media-caption span { font-size: 14.5px; color: var(--muted); }

/* ---------- Юридический блок (компактный, мелким текстом) ---------- */
.legal-callout {
  background: var(--bg-gray);
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 13px 16px;
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--subtle);
}
.legal-callout strong { display: block; color: var(--navy); margin-bottom: 3px; font-size: 13px; }

/* ---------- Форма ---------- */
.lead-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); margin: 14px 0 20px; cursor: pointer; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }

.form-success {
  display: none;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--teal-soft);
  border: 1.5px solid var(--teal);
  color: var(--navy);
  font-weight: 700;
  margin-top: 14px;
  animation: fadeSlideUp 0.35s var(--ease);
}
.form-success.visible { display: block; }

.form-error {
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-fallback {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  font-size: 14.5px;
}
.form-fallback.visible { display: block; }
.form-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

textarea.form-control {
  min-height: 88px;
  resize: vertical;
}

/* ---------- Видео-кейсы (Было -> Стало) ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-video-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-video-frame {
  background: #092544;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-video-frame video {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: #092544;
}
.case-video-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-video-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.case-outcome {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Отзывы ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 700;
}
.review-source {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--border);
}
.review-text {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.review-author {
  font-size: 13.5px;
  color: var(--subtle);
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ---------- Разделённый прайс-блок (Пансионат + АФК) ---------- */
.price-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.price-box {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.price-box.highlight {
  border-color: var(--teal);
  background: linear-gradient(145deg, #ffffff 0%, var(--teal-soft) 100%);
}
.price-box-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.price-box-val {
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}
.price-box-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.faq-q svg { flex-shrink: 0; transition: transform 0.28s var(--ease); color: var(--teal); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease), padding 0.35s var(--ease); padding: 0 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 360px; padding: 0 20px 18px; }

/* ---------- Футер (компактный) ---------- */
.site-footer { background: var(--navy-dark); color: #e2e8f0; padding: 32px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-title { color: #ffffff; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.footer-links { display: grid; gap: 5px; font-size: 14px; color: #cbd5e1; line-height: 1.4; }
.footer-links a:hover { color: #5eead4; }
.footer-disclaimer {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--teal);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
  color: #94a3b8;
}
.footer-bottom { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #94a3b8; }

/* ---------- Мобильная sticky-панель ---------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(15, 61, 110, 0.12);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 340px;
  z-index: 92;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 12px;
  align-items: center;
}
.cookie-banner.show { display: flex; animation: fadeSlideUp 0.35s var(--ease); }

/* ---------- Чипы выбора времени/способа связи ---------- */
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-chip {
  position: relative;
  cursor: pointer;
}
.contact-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s var(--ease);
}
.contact-chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 61, 110, 0.2);
}

/* ---------- Лёгкий ненавязчивый виджет быстрого вопроса ---------- */
.quick-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}
.quick-widget.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-widget-bubble {
  max-width: 270px;
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.35);
  border-radius: 16px;
  padding: 12px 34px 12px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  line-height: 1.42;
  color: var(--navy);
  font-weight: 700;
  position: relative;
  animation: fadeSlideUp 0.35s var(--ease);
  cursor: pointer;
}
.quick-widget-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: var(--subtle);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.quick-widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 61, 110, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.quick-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 148, 136, 0.36);
}

.quick-widget-panel {
  display: none;
  width: min(360px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 0.28s var(--ease);
}
.quick-widget.open .quick-widget-panel { display: block; }
.quick-widget.open .quick-widget-bubble { display: none; }

.qw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.qw-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.qw-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.qw-close {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.qw-situations {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}
.qw-sit-btn {
  text-align: left;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.qw-sit-btn.active {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-hover);
}

/* ---------- 3D-анимации появления ---------- */
[data-reveal] {
  opacity: 0;
  transform: perspective(900px) rotateX(8deg) translateY(28px) scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].revealed { opacity: 1; transform: perspective(900px) rotateX(0deg) translateY(0) scale(1); }

@keyframes hero3dFloat {
  0%, 100% { transform: perspective(1100px) rotateX(1deg) rotateY(-2deg) translateY(0); }
  50% { transform: perspective(1100px) rotateX(-1.5deg) rotateY(2.5deg) translateY(-7px); }
}

@keyframes flip3dIn {
  from { opacity: 0; transform: perspective(900px) rotateY(-8deg) translateY(10px); }
  to { opacity: 1; transform: perspective(900px) rotateY(0deg) translateY(0); }
}

@keyframes logoBreathe {
  0%, 100% { box-shadow: 0 10px 22px rgba(13, 148, 136, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.32); transform: translateY(0); }
  50% { box-shadow: 0 14px 28px rgba(13, 148, 136, 0.42), 0 0 0 4px rgba(20, 184, 166, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.42); transform: translateY(-1px); }
}

@keyframes logoSheen {
  0%, 62% { left: -130%; }
  100% { left: 165%; }
}

@keyframes kineticFlow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes logoCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dotBeacon {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

@keyframes btnShimmer {
  0%, 72% { left: -120%; }
  100% { left: 160%; }
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(1.05, 1.16); opacity: 0; }
  100% { transform: scale(1.05, 1.16); opacity: 0; }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes auroraDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-45px, 35px) scale(1.12); }
}

@keyframes auroraDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(45px, -30px) scale(1.1); }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Стили редакционной статьи (/story) ---------- */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 14.5px;
  color: var(--muted);
  margin: 18px 0 26px;
}

.article-meta strong {
  color: var(--navy);
}

.article-body {
  font-size: 18px;
  line-height: 1.72;
  color: var(--text);
}

.article-body h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: clamp(21px, 2.4vw, 27px);
}

.article-quote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--teal-soft);
  border-left: 5px solid var(--teal);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.62;
}

.article-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--teal-hover);
}

.interview-qa {
  display: grid;
  gap: 18px;
}

.qa-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.qa-q {
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}

.qa-a {
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Глубокая мобильная адаптация (360px - 760px) ---------- */
@media (max-width: 1024px) {
  .grid-4, .kpi-band { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .biomech-wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero-enter { text-align: center; }
  .hero-enter .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .nav-links { display: none; }
  .burger { display: inline-flex; }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    padding-bottom: 84px;
  }
  .container { padding: 0 16px; }
  .header-inner { min-height: 64px; }
  .mobile-drawer { inset: 64px 0 0 0; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-title { font-size: 15px; }
  .brand-sub { font-size: 11.5px; }

  .hero { padding: 20px 0 38px; }
  h1 { font-size: clamp(24px, 6.4vw, 31px); margin-bottom: 10px; }
  h2 { font-size: clamp(21px, 5.4vw, 27px); }
  .eyebrow { font-size: 11px; padding: 5px 11px; margin-bottom: 10px; }
  .lead { font-size: 15.5px; }

  .hero-actions {
    flex-direction: column;
    margin-top: 16px;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; }

  .hero-trust-row {
    margin-top: 16px;
    padding-top: 14px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .trust-pill {
    font-size: 13.5px;
    justify-content: flex-start;
    padding: 9px 13px;
    border-radius: 12px;
  }

  .hero-card { border-radius: 20px; }
  .hero-card img { aspect-ratio: 16 / 11; }
  .hero-live-pill { top: 10px; left: 10px; font-size: 11.5px; padding: 5px 10px; }
  .hero-float-badge { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
  .hero-float-badge strong { font-size: 14.5px; }
  .hero-float-badge span { font-size: 12.5px; }

  .kpi-band {
    margin-top: 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi-card { padding: 14px; border-radius: 14px; }
  .kpi-num { font-size: 24px; }
  .kpi-label { font-size: 12.5px; }

  .section { padding: 42px 0; }
  .section-head { margin-bottom: 22px; }
  .grid-4, .grid-3, .grid-2, .cases-grid, .reviews-grid, .price-split-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-video-frame video { max-height: 380px; }
  .grid-2 > div { text-align: center; }
  .grid-2 .eyebrow { margin-left: auto; margin-right: auto; }
  .site-footer { padding: 24px 0 18px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    padding-bottom: 14px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-grid > div:first-child p {
    margin-bottom: 4px;
    font-size: 13px !important;
    line-height: 1.45;
  }
  .footer-title { font-size: 14px; margin-bottom: 6px; }
  .footer-links { font-size: 13px; gap: 4px; }
  .footer-disclaimer { margin-top: 10px; padding: 7px 10px; font-size: 11px; }
  .footer-bottom { margin-top: 10px; font-size: 12px; }
  .card { padding: 20px; border-radius: 16px; }

  .biomech-wrap { padding: 18px; border-radius: 20px; gap: 16px; }
  .biomech-panel { padding: 18px; min-height: auto; }

  .router-box { padding: 18px; border-radius: 20px; text-align: center; }
  .router-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .router-tab { width: 100%; text-align: center; padding: 11px 14px; font-size: 14px; }
  .router-result { text-align: center; border-left: none; border-top: 4px solid var(--teal); }
  .router-result .btn { width: 100%; }

  .step-item { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }

  .lead-form-wrap { padding: 20px; border-radius: 20px; text-align: left; }
  .lead-form-wrap .contact-chips { justify-content: flex-start; }
  .header-actions .phone-link, .header-actions .btn { display: none; }
  .mobile-sticky-bar { display: grid; grid-template-columns: 1fr 1.3fr; }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 82px;
    max-width: none;
    padding: 9px 12px;
    border-radius: 12px;
  }
  .cookie-banner .btn-sm {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13.5px;
  }

  .quick-widget {
    right: 12px;
    bottom: 80px;
    z-index: 96;
    transition: bottom 0.25s var(--ease);
  }
  body:has(.cookie-banner.show) .quick-widget {
    bottom: 142px;
  }
  .quick-widget-btn {
    padding: 10px 14px;
    font-size: 13.5px;
    box-shadow: 0 8px 20px rgba(15, 61, 110, 0.26);
  }
  .quick-widget-panel {
    width: calc(100vw - 24px);
    padding: 16px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
