/* =========================================================
   ЛИХОБОРЫ ЖАРА — LUXE DUOTONE (ред. 5)
   Вся палитра выведена ТОЛЬКО из #49a7ff (синий) и #ff850d (оранжевый).
   Тёмная база — синевато-чёрный бархат; «металл» — янтарь из оранжевого.
   ========================================================= */

:root {
  /* Синий #49a7ff */
  --blue-900: #052038;
  --blue-800: #092c52;
  --blue-700: #10477f;
  --blue-600: #1671c8;
  --blue-500: #49a7ff;   /* сигнатурный */
  --blue-400: #7cc0ff;
  --blue-300: #a9d6ff;
  --blue-200: #cfe8ff;
  --blue-100: #e7f3ff;

  /* Оранжевый #ff850d */
  --amber-700: #b85c00;
  --amber-600: #e06f00;
  --amber-500: #ff850d;  /* сигнатурный */
  --amber-400: #ffa142;
  --amber-300: #ffc37a;
  --amber-200: #ffdfb0;
  --amber-100: #fff3e2;

  /* Тёмная база (сине-чёрный) */
  --bg:     #04080f;
  --bg-2:   #06101d;
  --panel:  #081422;
  --panel-2:#0b1c30;

  /* Текст */
  --text:      #dbe4f0;
  --text-dim:  #8e9bb0;
  --text-mute: #66748a;

  --line:       rgba(73, 167, 255, 0.20);
  --line-amber: rgba(255, 133, 13, 0.22);

  /* Соединение двух бренд-цветов */
  --brand:       linear-gradient(100deg, #49a7ff 0%, #7cc0ff 32%, #ffc37a 68%, #ff850d 100%);
  --brand-shim:  linear-gradient(100deg, #1671c8 0%, #49a7ff 24%, #e7f3ff 44%, #a9d6ff 52%, #ffc37a 72%, #ff850d 100%);
  --amber:       linear-gradient(100deg, #b85c00 0%, #ffa142 40%, #fff3e2 50%, #ffa142 60%, #b85c00 100%);
  --dual-line:   linear-gradient(90deg, transparent, #49a7ff 28%, #a9d6ff 50%, #ff850d 72%, transparent);

  --heading: var(--blue-500);
  --radius: 2px;
  --container: 1320px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}
::selection { background: var(--amber-500); color: #04080f; }

/* ---------- Скроллбар в тон: золото на бархате ---------- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--amber-500) var(--bg-2);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600));
  border-radius: 6px;
  border: 2px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--amber-300), var(--amber-500));
}

/* =========================================================
   ФОН — ДУОТОН (синий ↔ оранжевый), 6 слоёв
   ========================================================= */
.lux-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(1050px 780px at 16% 20%, rgba(73, 167, 255, 0.32), transparent 60%),
    radial-gradient(1100px 860px at 84% 74%, rgba(255, 133, 13, 0.27), transparent 62%),
    radial-gradient(900px 720px at 64% 10%, rgba(73, 167, 255, 0.16), transparent 60%),
    radial-gradient(900px 780px at 28% 97%, rgba(255, 133, 13, 0.12), transparent 62%),
    radial-gradient(150% 130% at 50% 48%, transparent 44%, rgba(0, 2, 7, 0.74) 100%),
    linear-gradient(180deg, #04070e 0%, #060c16 45%, #030609 100%);
}
/* переливы синий↔оранжевый (аурора) */
.lux-bg::before { display: none; }
.lux-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  mix-blend-mode: screen;
  background:
    radial-gradient(680px 560px at 28% 30%, rgba(73, 167, 255, 0.20), transparent 60%),
    radial-gradient(720px 640px at 74% 68%, rgba(255, 133, 13, 0.18), transparent 62%),
    radial-gradient(560px 500px at 58% 12%, rgba(73, 167, 255, 0.13), transparent 60%);
  animation: aurora 30s ease-in-out infinite alternate;
}
/* решётка-дамаск */
.lux-lattice {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%2349a7ff' stroke-width='1'%3E%3Cpath d='M0 75 L75 0 L150 75 L75 150 Z'/%3E%3Cpath d='M75 48 L102 75 L75 102 L48 75 Z'/%3E%3Cpath d='M75 60 L90 75 L75 90 L60 75 Z'/%3E%3Ccircle cx='75' cy='75' r='2.4' stroke='%23ff850d'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 106px 106px;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(125% 95% at 50% 0%, #000 0%, transparent 78%);
}
/* бегущий блик */
.lux-sheen {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 43%, rgba(169, 214, 255, 0.07) 50%, transparent 57%);
  background-size: 240% 240%;
  animation: sheen 17s linear infinite;
}
/* зерно */
.lux-grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@keyframes aurora {
  from { transform: translate3d(-4%, -3%, 0) scale(1); }
  to   { transform: translate3d(5%, 4%, 0) scale(1.15); }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to   { transform: translate3d(-2.5%, 2%, 0) scale(1.12); }
}
@keyframes sheen {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

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

/* Текст-градиент «синий ↔ оранжевый» */
.brand-text {
  background: var(--brand-shim);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

/* Надзаголовок */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.overline::before { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber-500)); }

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 18, 0.74);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 50px -36px rgba(0, 0, 0, 0.95);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500) 22%, var(--amber-500) 50%, var(--blue-500) 78%, transparent);
  opacity: 0.9;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.5;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 108px;
}

/* Название */
.brand { display: flex; align-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: var(--brand-shim);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.brand__tag {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber-400);
}

/* Меню */
.main-nav { justify-self: center; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0; padding: 0;
  list-style: none;
}
.main-nav__link {
  position: relative;
  display: inline-block;
  padding: 13px 17px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 10px rgba(255, 133, 13, 0.9);
  transform: translateX(-50%) scale(0);
  transition: transform 0.35s var(--ease);
}
.main-nav__link:hover { color: var(--blue-300); }
.main-nav__link.is-active { color: var(--blue-400); }
.main-nav__link.is-active::after { transform: translateX(-50%) scale(1); }

/* Телефон */
.phone {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 15px;
  border: 1px solid rgba(73, 167, 255, 0.30);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.92), rgba(6, 16, 29, 0.92));
  box-shadow: inset 0 0 0 1px rgba(73, 167, 255, 0.08), 0 16px 40px -22px rgba(0, 0, 0, 1);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 133, 13, 0.28);
  pointer-events: none;
}
.phone:hover {
  border-color: var(--amber-400);
  box-shadow: inset 0 0 0 1px rgba(255, 133, 13, 0.16), 0 20px 50px -18px rgba(255, 133, 13, 0.5);
  transform: translateY(-1px);
}
.phone__icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--amber-400); }
.phone.is-revealed .phone__icon { color: var(--blue-400); }
.phone__icon.is-ringing { animation: ring 0.7s ease; }

.phone__reveal {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: var(--num-w-half, 5.4em);
  transition: width 0.65s var(--ease);
}
.phone.is-revealed .phone__reveal { width: var(--num-w, auto); }
.phone__text {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
  padding-bottom: 5px;
  /* подчёркивание точками: 2px цвет / 2px пробел */
  background-image: repeating-linear-gradient(
    90deg,
    var(--blue-400) 0, var(--blue-400) 2px,
    transparent 2px, transparent 4px
  );
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.65s var(--ease), color 0.3s var(--ease);
}
.phone.is-revealed .phone__text { clip-path: inset(0 0 0 0); color: var(--amber-200); }
.phone__hint {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.phone.is-revealed .phone__hint { display: none; }

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-16deg); }
  40% { transform: rotate(13deg); }
  60% { transform: rotate(-9deg); }
  80% { transform: rotate(6deg); }
}

/* =========================================================
   СЛАЙДЕР — рама в двух цветах
   ========================================================= */
.hero { position: relative; }
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 5;           /* 1920 × 800 */
  max-height: 90vh;
  min-height: 500px;
  overflow: hidden;
  background: #030609;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 1.9s ease;
}
.slider.is-ready { opacity: 1; }
/* внешняя оранжевая + внутренняя синяя рама */
.slider::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 133, 13, 0.55);
  box-shadow: inset 0 0 0 4px rgba(4, 8, 15, 0.6), inset 0 0 0 5px rgba(73, 167, 255, 0.35);
  z-index: 5;
  pointer-events: none;
}
.hero-ornaments { position: absolute; inset: 16px; z-index: 6; pointer-events: none; }
.hero-ornaments .orn {
  position: absolute;
  width: clamp(64px, 7vw, 116px);
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(73, 167, 255, 0.45));
}
.orn--tl { top: 0; left: 0; }
.orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slide img, .slide svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 10s linear;
}
.slide.is-active img, .slide.is-active svg {
  transform: scale(1.14);
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 15% 60%, rgba(4, 8, 15, 0.75) 0%, rgba(4, 8, 15, 0.2) 45%, transparent 70%),
    linear-gradient(90deg, rgba(4, 8, 15, 0.85) 0%, rgba(4, 8, 15, 0.3) 46%, rgba(4, 8, 15, 0) 74%),
    linear-gradient(0deg, rgba(4, 8, 15, 0.78) 0%, rgba(4, 8, 15, 0) 60%);
  pointer-events: none;
}

.slider__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 0 0 clamp(60px, 10vh, 132px);
}
.slider__caption-inner { max-width: 680px; }
.slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.slider__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--blue-400); }
.slider__caption-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.03;
  color: var(--heading);
  margin: 0 0 20px;
  text-shadow: 0 0 40px rgba(73, 167, 255, 0.5), 0 2px 34px rgba(0, 0, 0, 0.65);
}
.slider__caption-text {
  max-width: 480px;
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(219, 228, 240, 0.82);
}
.slider__eyebrow, .slider__caption-title, .slider__caption-text {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.slide.is-active .slider__eyebrow       { opacity: 1; transform: none; transition-delay: 0.30s; }
.slide.is-active .slider__caption-title { opacity: 1; transform: none; transition-delay: 0.44s; }
.slide.is-active .slider__caption-text  { opacity: 1; transform: none; transition-delay: 0.58s; }

/* Стрелки */
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-300);
  border: 1px solid rgba(255, 133, 13, 0.55);
  background: rgba(5, 10, 18, 0.42);
  box-shadow: inset 0 0 0 1px rgba(73, 167, 255, 0.14);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.slider__arrow:hover {
  background: var(--brand);
  border-color: var(--blue-300);
  color: #04080f;
}
.slider__arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.slider__arrow--prev { left: clamp(30px, 4.5vw, 62px); }
.slider__arrow--next { right: clamp(30px, 4.5vw, 62px); }
.slider__arrow svg { width: 18px; height: 18px; }

/* Вуаль между слайдами */
.slider__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 120% at 50% 55%, rgba(4, 8, 15, 0.55) 0%, rgba(4, 8, 15, 0.92) 100%);
}
.slider__veil.is-flashing {
  animation: veilFlash 1.2s ease;
}
@keyframes veilFlash {
  0%   { opacity: 0; }
  42%  { opacity: 0.95; }
  58%  { opacity: 0.95; }
  100% { opacity: 0; }
}

/* Индикаторы */
.slider__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(30px, 4.5vh, 44px);
  z-index: 7;
  display: flex;
  justify-content: center;
  gap: 13px;
}
.slider__dot {
  width: 46px; height: 22px;
  padding: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)) center / 100% 2px no-repeat;
  position: relative;
}
.slider__dot::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  margin-top: -1px;
  height: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
}
.slider__dot.is-active::after { background: var(--brand); animation: dotFill 5.5s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* =========================================================
   H1 / ИНТРО
   ========================================================= */
.intro {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0 clamp(70px, 9vw, 130px);
  text-align: center;
  overflow: hidden;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 50% 8%, rgba(255, 133, 13, 0.16), transparent 64%),
    radial-gradient(1100px 540px at 50% -12%, rgba(73, 167, 255, 0.18), transparent 66%);
}
/* структурная линия-граница секции */
.intro::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
/* живой, но ненавязчивый фон блока H1: плавающие блики + редкий световой проход */
.intro__live {
  position: absolute;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 380px at 30% 36%, rgba(73, 167, 255, 0.20), transparent 62%),
    radial-gradient(520px 360px at 70% 66%, rgba(255, 133, 13, 0.16), transparent 64%),
    radial-gradient(720px 460px at 52% 8%, rgba(73, 167, 255, 0.12), transparent 66%);
  filter: blur(7px);
  animation: introFloat 28s ease-in-out infinite alternate;
  will-change: transform;
}
.intro__live::after {
  content: "";
  position: absolute;
  inset: -30%;
  mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 42%, rgba(124, 192, 255, 0.10) 50%, transparent 58%);
  animation: introSheen 18s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes introFloat {
  0%   { transform: translate3d(-1.5%, 1%, 0) scale(1.03); }
  50%  { transform: translate3d(1.5%, -1.5%, 0) scale(1.07); }
  100% { transform: translate3d(-1%, 1.5%, 0) scale(1.04); }
}
@keyframes introSheen {
  0%   { transform: translateX(-16%); opacity: 0; }
  35%  { opacity: 0.9; }
  70%  { opacity: 0; }
  100% { transform: translateX(16%); opacity: 0; }
}
.intro-ornaments { position: absolute; inset: clamp(20px, 3.4vw, 48px); pointer-events: none; }
.intro-ornaments .orn {
  position: absolute;
  width: clamp(52px, 5.5vw, 96px);
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.4));
}
.intro .orn--tl { top: 0; left: 0; }
.intro .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.intro .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.intro .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.intro .container { position: relative; z-index: 2; }
.intro__title {
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 600;
  line-height: 0.98;
  margin: 26px 0 0;
  text-shadow: 0 0 70px rgba(73, 167, 255, 0.4);
}
.intro__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--brand-shim);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.intro__lead {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-dim);
}

/* Орнаментальный разделитель */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto 0;
  max-width: 420px;
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  flex: 1;
}
.ornament::before { background: linear-gradient(90deg, transparent, var(--blue-500)); }
.ornament::after  { background: linear-gradient(90deg, var(--amber-500), transparent); }
.ornament__diamond {
  width: 10px; height: 10px;
  transform: rotate(45deg);
  background: var(--brand);
  box-shadow: 0 0 18px rgba(255, 133, 13, 0.6);
}

/* =========================================================
   СТУДИЯ — адрес, часы, запись
   ========================================================= */
.studio {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 12% 18%, rgba(73, 167, 255, 0.12), transparent 62%),
    radial-gradient(760px 520px at 88% 82%, rgba(255, 133, 13, 0.10), transparent 64%);
}
.studio::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
.studio-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.studio-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.5;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.studio .orn--tl { top: 0; left: 0; }
.studio .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.studio .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.studio .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.studio .container { position: relative; z-index: 2; }
.studio__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.studio__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}
.studio__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--brand-shim);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.studio__lead {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: clamp(15px, 1.35vw, 17px);
  color: var(--text-dim);
}

/* Факты: адрес, метро, часы, цена */
.studio__facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.studio__facts li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.studio__facts li:last-child { border-bottom: 1px solid var(--line); }
.studio__fact-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.studio__fact-value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}
.studio__fact--price .studio__fact-value {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  background: var(--amber);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

/* Панель с записью */
.studio__panel {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  border: 1px solid rgba(255, 133, 13, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.9), rgba(6, 16, 29, 0.95));
  box-shadow:
    inset 0 0 0 4px rgba(4, 8, 15, 0.55),
    inset 0 0 0 5px rgba(73, 167, 255, 0.28),
    0 30px 70px -30px rgba(0, 0, 0, 0.95);
  text-align: center;
}
.studio__panel-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.studio__panel-text {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}
.studio__actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}
.studio__actions .btn {
  flex: 1 1 0;
  min-width: 0;
}
.studio__actions-sep {
  align-self: center;
  font-size: 22px;
  line-height: 1;
  color: var(--amber-500);
  opacity: 0.8;
  flex: 0 0 auto;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 16px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.btn--primary {
  background: linear-gradient(100deg, var(--amber-600) 0%, var(--amber-400) 48%, var(--amber-500) 100%);
  color: #0a1018;
  box-shadow: 0 18px 44px -20px rgba(255, 133, 13, 0.7);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px -18px rgba(255, 133, 13, 0.85);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  border: 1px solid rgba(73, 167, 255, 0.4);
  background: rgba(73, 167, 255, 0.06);
  color: var(--blue-300);
}
.btn--ghost:hover {
  border-color: var(--blue-400);
  background: rgba(73, 167, 255, 0.12);
  color: var(--blue-200);
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); }

/* Кнопка «Телефон»: тап подменяет подпись на сам номер, второй тап — звонок.
   Оба текста лежат в одной grid-ячейке — кнопка сама берёт ширину под номер. */
.studio-phone-btn {
  display: grid;
  min-width: 210px;
}
.studio-phone-btn__label,
.studio-phone-btn__num {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.studio-phone-btn__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber-200);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
}
.studio-phone-btn.is-revealed .studio-phone-btn__label {
  opacity: 0;
  transform: translateY(-8px);
}
.studio-phone-btn.is-revealed .studio-phone-btn__num {
  opacity: 1;
  transform: none;
}
.studio-phone-btn.is-revealed {
  border-color: var(--amber-400);
  background: rgba(255, 133, 13, 0.1);
}

/* =========================================================
   КАК ДОБРАТЬСЯ
   ========================================================= */
.route {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.route::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 85% 16%, rgba(73, 167, 255, 0.10), transparent 62%),
    radial-gradient(700px 480px at 10% 86%, rgba(255, 133, 13, 0.08), transparent 64%);
}
.route::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
.route-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.route-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.route .orn--tl { top: 0; left: 0; }
.route .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.route .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.route .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.route .container { position: relative; z-index: 2; text-align: center; }
.route__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}
.route__lead {
  max-width: 640px;
  margin: 34px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text);
}

/* Переключатель пешком / на автомобиле */
.route__toggle {
  display: inline-flex;
  margin: 30px auto 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 29, 0.7);
}
.route__toggle-btn {
  padding: 10px 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.route__toggle-btn:hover { color: var(--blue-300); }
.route__toggle-btn.is-active {
  background: linear-gradient(100deg, var(--amber-600), var(--amber-400) 55%, var(--amber-500));
  color: #0a1018;
  box-shadow: 0 8px 24px -10px rgba(255, 133, 13, 0.65);
}

/* Карточки метро */
.route__metro {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 36px auto 0;
  max-width: 720px;
}
.route__metro-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 280px;
  max-width: 340px;
  padding: 20px 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.75), rgba(6, 16, 29, 0.85));
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.route__metro-card:hover {
  border-color: rgba(255, 133, 13, 0.4);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.9);
}
.route__metro-line {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: #04080f;
  background: var(--brand);
}
.route__metro-body { display: flex; flex-direction: column; gap: 3px; }
.route__metro-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.route__metro-time {
  font-size: 13px;
  color: var(--text-dim);
}

.route__text {
  max-width: 720px;
  margin: 36px auto 0;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2;
  color: var(--text-dim);
}

/* Чип «уточнить»: тап показывает номер, второй тап — звонок */
.ask {
  display: inline-grid;
  vertical-align: baseline;
  margin: 0 3px;
  padding: 5px 16px 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blue-300);
  border: 1px dashed rgba(73, 167, 255, 0.5);
  border-radius: 999px;
  background: rgba(73, 167, 255, 0.07);
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.ask:hover {
  border-color: var(--blue-400);
  background: rgba(73, 167, 255, 0.14);
  color: var(--blue-200);
}
.ask__label,
.ask__num {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.ask__num {
  color: var(--amber-200);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
}
.ask.is-revealed .ask__label {
  opacity: 0;
  transform: translateY(-6px);
}
.ask.is-revealed .ask__num {
  opacity: 1;
  transform: none;
}
.ask.is-revealed {
  border-style: solid;
  border-color: var(--amber-400);
  background: rgba(255, 133, 13, 0.1);
  color: var(--amber-200);
  box-shadow: 0 0 22px -6px rgba(255, 133, 13, 0.45);
}

/* Сильный чип «позвоните» */
.ask--strong {
  padding: 8px 20px 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-300);
  border-style: solid;
  border-color: rgba(255, 133, 13, 0.5);
  background: rgba(255, 133, 13, 0.08);
}
.ask--strong:hover {
  border-color: var(--amber-400);
  background: rgba(255, 133, 13, 0.16);
  color: var(--amber-200);
}

/* Callout: если идёте впервые */
.route__callout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 720px;
  margin: 44px auto 0;
  padding: 26px 30px;
  text-align: left;
  border: 1px solid rgba(255, 133, 13, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 133, 13, 0.07), rgba(11, 28, 48, 0.6));
}
.route__callout-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 133, 13, 0.4);
  color: var(--amber-400);
  background: rgba(255, 133, 13, 0.08);
}
.route__callout-icon svg { width: 20px; height: 20px; }
.route__callout-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* Режимы «пешком / на авто»: что скрывать */
.route__only-car { display: none; }
.route.is-car .route__only-walk { display: none; }
.route.is-car .route__only-car { display: inline; }

/* =========================================================
   ЧТО У НАС ЕСТЬ
   ========================================================= */
.offer {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 15% 20%, rgba(73, 167, 255, 0.10), transparent 62%),
    radial-gradient(700px 480px at 88% 82%, rgba(255, 133, 13, 0.08), transparent 64%);
}
.offer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
.offer-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.offer-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.offer .orn--tl { top: 0; left: 0; }
.offer .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.offer .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.offer .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.offer .container { position: relative; z-index: 2; text-align: center; }
.offer__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}
.offer__lead {
  max-width: 640px;
  margin: 34px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text);
}

/* Два режима */
.offer__modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 56px auto 0;
  text-align: left;
}
.mode-card {
  position: relative;
  padding: 34px 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.75), rgba(6, 16, 29, 0.85));
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.mode-card:hover {
  border-color: rgba(255, 133, 13, 0.4);
  box-shadow: 0 24px 54px -28px rgba(0, 0, 0, 0.9);
  transform: translateY(-4px);
}
.mode-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--amber-400));
  opacity: 0.7;
}
.mode-card__badge {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--blue-300);
  border: 1px solid rgba(73, 167, 255, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(73, 167, 255, 0.08);
}
.mode-card__badge--led {
  color: var(--amber-300);
  border-color: rgba(255, 133, 13, 0.45);
  background: rgba(255, 133, 13, 0.08);
}
.mode-card__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
}
.mode-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

/* Подзаголовок «Три вещи» */
.offer__subtitle {
  max-width: 720px;
  margin: clamp(64px, 7vw, 90px) auto 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

/* Три причины */
.offer__reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 44px auto 0;
  text-align: left;
}
.reason {
  padding: 30px 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 16, 29, 0.55);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reason:hover {
  border-color: rgba(73, 167, 255, 0.4);
  box-shadow: 0 20px 46px -26px rgba(0, 0, 0, 0.9);
}
.reason__num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  background: linear-gradient(100deg, var(--brand), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
}
.reason__title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.3;
}
.reason__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* =========================================================
   ЦЕНЫ И ПАКЕТЫ МИНУТ
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.prices {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.prices::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 500px at 50% 0%, rgba(255, 133, 13, 0.08), transparent 62%),
    radial-gradient(700px 480px at 8% 90%, rgba(73, 167, 255, 0.09), transparent 64%);
}
.prices::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
.prices-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.prices-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.prices .orn--tl { top: 0; left: 0; }
.prices .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.prices .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.prices .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.prices .container { position: relative; z-index: 2; text-align: center; }
.prices__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}

/* Обёртка таблицы: блик и рамка */
.prices__table-wrap {
  position: relative;
  max-width: 900px;
  margin: 56px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.8), rgba(6, 16, 29, 0.9));
  overflow: hidden;
}
.prices__sweep {
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(73, 167, 255, 0.10) 45%, rgba(255, 255, 255, 0.06) 55%, transparent);
  animation: priceSweep 5.5s var(--ease) infinite;
}
@keyframes priceSweep {
  0% { left: -40%; }
  55%, 100% { left: 120%; }
}

.prices__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.prices__table thead th {
  padding: 20px 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.45);
  white-space: nowrap;
}
.prices__table thead th:nth-child(n+3) { text-align: right; }

.prices__row {
  cursor: pointer;
  outline: none;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prices__row td {
  padding: 22px 26px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(73, 167, 255, 0.12);
  transition: color 0.3s var(--ease);
}
.prices__row:last-child td { border-bottom: none; }
.prices__row td:nth-child(n+3) { text-align: right; }

.prices__plan {
  position: relative;
  font-weight: 700;
}
.prices__plan::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.prices__sum {
  font-size: 19px;
  font-weight: 800;
  color: var(--amber-300);
}
.prices__per {
  font-weight: 700;
  color: var(--blue-300);
}

/* Живость: ховер */
.prices__row:hover,
.prices__row:focus-visible {
  background: linear-gradient(90deg, rgba(73, 167, 255, 0.10), rgba(73, 167, 255, 0.02) 60%, transparent);
}
.prices__row:hover .prices__sum { color: var(--amber-200); }

/* Выбранная строка */
.prices__row.is-selected {
  background: linear-gradient(90deg, rgba(255, 133, 13, 0.14), rgba(255, 133, 13, 0.03) 65%, transparent);
  box-shadow: inset 3px 0 0 var(--amber-400);
}
.prices__row.is-selected .prices__plan::before {
  transform: translateY(-50%) scale(1);
  background: var(--amber-400);
}
.prices__row.is-selected .prices__plan { color: var(--amber-200); }

/* Подпись под таблицой */
.prices__note {
  max-width: 760px;
  margin: 44px auto 0;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2;
  color: var(--text-dim);
  text-align: center;
}

/* =========================================================
   ОГРАНИЧЕНИЯ
   ========================================================= */
.limits {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.limits::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 85% 16%, rgba(255, 133, 13, 0.07), transparent 62%),
    radial-gradient(700px 480px at 10% 86%, rgba(73, 167, 255, 0.08), transparent 64%);
}
.limits::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.6;
}
.limits-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.limits-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.limits .orn--tl { top: 0; left: 0; }
.limits .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.limits .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.limits .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.limits .container { position: relative; z-index: 2; text-align: center; }
.limits__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}
.limits__lead {
  max-width: 680px;
  margin: 34px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text);
}

.limits__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: none;
}
.limits__item {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.7), rgba(6, 16, 29, 0.85));
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.limits__item:hover {
  border-color: rgba(255, 133, 13, 0.35);
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.9);
}
.limits__num {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding-top: 3px;
  background: linear-gradient(100deg, var(--brand), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.limits__item-body { flex: 1; }
.limits__item-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}
.limits__item-text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.limits__note {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 24px 30px;
  font-size: clamp(15px, 1.35vw, 16px);
  line-height: 1.85;
  color: var(--text-dim);
  border: 1px solid rgba(73, 167, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(73, 167, 255, 0.05);
}

/* =========================================================
   КОНТАКТЫ + ФОРМА ЗАПИСИ
   ========================================================= */
.contacts {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 12% 20%, rgba(73, 167, 255, 0.10), transparent 62%),
    radial-gradient(700px 480px at 88% 84%, rgba(255, 133, 13, 0.08), transparent 64%);
}
.contacts-ornaments { position: absolute; inset: clamp(18px, 3vw, 40px); pointer-events: none; }
.contacts-ornaments .orn {
  position: absolute;
  width: clamp(48px, 5vw, 88px);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(73, 167, 255, 0.35));
}
.contacts .orn--tl { top: 0; left: 0; }
.contacts .orn--tr { top: 0; right: 0; transform: scaleX(-1); }
.contacts .orn--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.contacts .orn--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.contacts .container { position: relative; z-index: 2; text-align: center; }
.contacts__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 56px auto 0;
  text-align: left;
}

/* Список контактов */
.contacts__info {
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.75), rgba(6, 16, 29, 0.85));
}
.contacts__list { margin: 0; }
.contacts__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(73, 167, 255, 0.12);
}
.contacts__row:first-child { padding-top: 0; }
.contacts__row:last-child { border-bottom: none; padding-bottom: 0; }
.contacts__key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 3px;
}
.contacts__val {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.contacts__phone {
  font-weight: 700;
  color: var(--amber-300);
  transition: color 0.3s var(--ease);
}
.contacts__phone:hover { color: var(--amber-200); }
.contacts__text {
  margin: 26px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* Форма записи */
.contacts__form-wrap {
  position: relative;
  padding: 34px 36px;
  border: 1px solid rgba(255, 133, 13, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 133, 13, 0.06), rgba(11, 28, 48, 0.8) 45%, rgba(6, 16, 29, 0.9));
}
.zapis-form__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
}
.zapis-form__lead {
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.zapis-form__field { display: block; margin-bottom: 16px; }
.zapis-form__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.zapis-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 8, 15, 0.6);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.zapis-form__input::placeholder { color: rgba(143, 163, 184, 0.45); }
.zapis-form__input:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(255, 133, 13, 0.15);
}
.zapis-form__input--area { resize: vertical; min-height: 84px; }

/* Телефон: фиксированный префикс +7 */
.zapis-form__phone-wrap {
  display: flex;
  align-items: stretch;
}
.zapis-form__prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: rgba(73, 167, 255, 0.06);
}
.zapis-form__input--phone {
  border-radius: 0 10px 10px 0;
}
.zapis-form__phone-wrap:focus-within .zapis-form__prefix {
  border-color: var(--amber-400);
  background: rgba(255, 133, 13, 0.1);
}
.zapis-form__input.is-error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.15);
}
.zapis-form__submit { width: 100%; margin-top: 6px; }
.zapis-form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.zapis-form__note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
}

/* Согласие: чекбокс */
.zapis-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 18px;
  cursor: pointer;
}
.zapis-form__checkbox {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(4, 8, 15, 0.6);
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.zapis-form__checkbox:hover { border-color: var(--blue-400); }
.zapis-form__checkbox:checked {
  border-color: var(--amber-400);
  background: linear-gradient(100deg, var(--amber-600), var(--amber-400));
}
.zapis-form__checkbox:checked::after {
  content: "";
  position: absolute;
  left: 8px; top: 3px;
  width: 7px; height: 13px;
  border: solid #0a1018;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.zapis-form__checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 133, 13, 0.25);
}
.zapis-form__consent-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}
.zapis-form__link {
  color: var(--blue-300);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s var(--ease);
}
.zapis-form__link:hover { color: var(--blue-200); }

/* Успех */
.zapis-form__success {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 30px 10px;
  text-align: center;
}
.zapis-form__success[hidden] { display: none; }
.zapis-form__success-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 133, 13, 0.5);
  color: var(--amber-400);
  background: rgba(255, 133, 13, 0.1);
}
.zapis-form__success-icon svg { width: 26px; height: 26px; }
.zapis-form__success-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1120px) {
  .header__inner {
    grid-template-columns: auto auto;
    grid-template-areas: "brand phone" "nav nav";
    row-gap: 2px;
    padding-top: 15px; padding-bottom: 13px;
    min-height: 0;
  }
  .brand { grid-area: brand; }
  .phone { grid-area: phone; }
  .main-nav { grid-area: nav; justify-self: stretch; border-top: 1px solid var(--line); padding-top: 10px; overflow-x: auto; }
  .main-nav__list { justify-content: flex-start; }
  .studio__grid { grid-template-columns: 1fr; gap: 48px; }
  .studio__cta { max-width: 520px; margin: 0 auto; width: 100%; }
  .offer__modes { grid-template-columns: 1fr; max-width: 560px; }
  .offer__reasons { grid-template-columns: 1fr; max-width: 560px; }

  /* Контакты */
  .contacts-ornaments { display: none; }
  .contacts__grid { grid-template-columns: 1fr; max-width: 560px; }
  .contacts__info, .contacts__form-wrap { padding: 28px 24px; }
  .contacts__row { grid-template-columns: 1fr; gap: 5px; }

  /* Ограничения */
  .limits__list { grid-template-columns: 1fr; max-width: 620px; }
  .limits__note { padding: 22px 24px; }
}
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .header__inner { gap: 14px; }
  .brand__name { font-size: 22px; letter-spacing: 0.01em; }
  .brand__tag { display: none; }

  /* Телефон: на мобильных тоже полускрытый — тап раскрывает (аналитика) */
  .phone { padding: 10px 12px; gap: 8px; }
  .phone::before { display: none; }
  .phone__text { font-size: 13px; }
  .phone__hint { font-size: 8px; letter-spacing: 0.16em; }

  /* Меню: горизонтальный скролл без полосы */
  .main-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav__link { padding: 12px 10px; font-size: 10px; letter-spacing: 0.12em; }

  .slider { aspect-ratio: 4 / 3; min-height: 400px; }
  .slider::before { inset: 12px; }
  /* На мобильных переходы чуть длиннее — ощущается мягче */
  .slider__track { transition-duration: 1.4s; }
  .slide img, .slide svg { transition-duration: 13s; }
  .slider__veil.is-flashing { animation-duration: 1.4s; }
  .hero-ornaments { inset: 12px; }
  .hero-ornaments .orn { width: 60px; }
  .slide::after { background: linear-gradient(0deg, rgba(4, 8, 15, 0.85) 0%, rgba(4, 8, 15, 0) 64%); }
  .slider__arrow { width: 46px; height: 46px; }
  .slider__caption { padding-bottom: 76px; }
  .intro-ornaments { display: none; }
  .studio-ornaments { display: none; }
  .studio__facts li { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  /* Кнопки: столбик во всю ширину, точка между ними */
  .studio__actions {
    flex-direction: column;
    gap: 12px;
  }
  .studio__actions .btn { width: 100%; }
  .studio__actions-sep { display: none; }
  .btn { padding: 16px 22px; }

  /* Как добраться */
  .route-ornaments { display: none; }
  .route__toggle-btn { padding: 9px 18px; font-size: 11px; letter-spacing: 0.12em; }
  .route__metro { flex-direction: column; align-items: stretch; }
  .route__metro-card { max-width: none; }
  .route__text { line-height: 1.9; }
  .ask { font-size: 12.5px; padding: 5px 13px 6px; }
  .ask--strong { font-size: 13px; padding: 7px 16px 8px; }
  .route__callout { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }

  /* Что у нас есть */
  .offer-ornaments { display: none; }
  .mode-card { padding: 26px 22px 30px; }
  .mode-card__badge { position: static; display: inline-block; margin-bottom: 14px; }
  .reason { padding: 24px 22px 28px; }

  /* Ограничения */
  .limits-ornaments { display: none; }
  .limits__item { padding: 22px 20px; gap: 14px; }

  /* Таблица цен: строки превращаются в карточки */
  .prices-ornaments { display: none; }
  .prices__table thead { display: none; }
  .prices__table,
  .prices__table tbody,
  .prices__table tr,
  .prices__table td { display: block; width: 100%; }
  .prices__row {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(73, 167, 255, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  .prices__row:last-child { border-bottom: none; }
  .prices__row td {
    padding: 0;
    border: none;
    text-align: left !important;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }
  .prices__row td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .prices__row td[data-label="Программа"] {
    grid-column: 1 / -1;
    font-size: 18px;
  }
  .prices__row td[data-label="Программа"]::before { display: none; }
  .prices__sum { font-size: 17px; }
  .prices__note { line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .slide img, .slide svg { transition: none; transform: none; }
  .lux-bg::before, .lux-bg::after, .lux-sheen, .brand-text, .brand__name, .intro__title em,
  .intro__live, .intro__live::after { animation: none; }
}
