:root {
  --lime: #a3e635;
  --lime-bright: #bef264;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --gradient: linear-gradient(135deg, #84cc16 0%, #14b8a6 45%, #0891b2 100%);
  --gradient-soft: linear-gradient(160deg, rgba(132, 204, 22, 0.12) 0%, rgba(20, 184, 166, 0.08) 100%);
  --dark: #0f172a;
  --dark-card: #1e293b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-on-gradient: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --space: 1rem;
  --space-lg: 2.75rem;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(20, 184, 166, 0.25);
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; }

a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }

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

/* Three.js — фон hero */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg--fallback {
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

#three-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  z-index: 1000;
  transform-origin: left center;
  transform: scaleX(0);
}

/* Header — mobile first */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.65rem var(--space);
  padding-top: max(0.65rem, env(safe-area-inset-top));
  transition: background 0.3s, box-shadow 0.3s;
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.3s;
}

.header.scrolled .logo { color: var(--text); }
.logo span { color: var(--lime-bright); }
.header.scrolled .logo span { color: var(--teal); }

.nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: calc(100% + 0.25rem);
  right: var(--space);
  left: auto;
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  padding: 0.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  z-index: 220;
}

.nav.open { display: flex; }

.nav[hidden] { display: none !important; }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:active {
  background: var(--bg-alt);
  color: var(--teal);
}

.nav a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.nav-mobile-cta a {
  color: inherit;
}

.nav a:hover,
.nav a:active {
  background: var(--bg-alt);
  color: var(--teal);
}

.header-right {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  justify-self: end;
}

.header-phone {
  display: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  white-space: nowrap;
}

.header.scrolled .header-phone { color: var(--text-muted); }
.header-phone a { font-weight: 600; color: inherit; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s, background 0.3s;
}

.header.scrolled .burger {
  background: var(--bg-alt);
  border-color: var(--border);
}

.header.scrolled .burger span { background: var(--text); }

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.nav-backdrop[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.45);
}

.hero .btn-primary,
.cta-banner .btn-primary,
.header:not(.scrolled) .header-right .btn-primary {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

.hero .btn-primary:hover,
.cta-banner .btn-primary:hover,
.header:not(.scrolled) .header-right .btn-primary:hover {
  background: #f0fdfa;
  color: #0d9488;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover { transform: translateY(-2px); }

.btn-telegram {
  background: #24A1DE;
  color: #fff;
}

.btn-telegram:hover {
  background: #1d8fc4;
  transform: translateY(-2px);
}

.btn-vk {
  background: #0077ff;
  color: #fff;
}

.btn-vk:hover {
  background: #0066dd;
  transform: translateY(-2px);
}


.hero--photo {
  min-height: min(78vh, 640px);
  background: #0f172a;
  display: flex;
  align-items: center;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.45) 55%, rgba(15, 23, 42, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, transparent 45%);
}

.hero--photo .hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  max-width: 720px;
}

.hero--photo .hero-content {
  text-align: left;
}

.hero--photo .hero-content > p {
  margin-left: 0;
  margin-right: 0;
  max-width: 520px;
}

.hero--photo .hero-buttons {
  align-items: flex-start;
}

.hero--photo .hero-buttons .btn {
  width: auto;
}

.hero--photo .hero-secondary-links {
  justify-content: flex-start;
}

.tariff-day {
  margin: -0.35rem 0 0.85rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.calc-hint {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.start-requirements,
.tariffs,
.calc-section,
.faq,
.contacts {
  padding-top: calc(var(--space-lg) * 0.85);
  padding-bottom: calc(var(--space-lg) * 0.85);
}

.stats-section {
  padding: 1.25rem 0;
}

.cta-banner {
  padding: 1.5rem 0;
}

/* Hero — mobile first */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: calc(72px + 1.25rem) var(--space) 2.5rem;
  padding-top: calc(72px + 1.25rem + env(safe-area-inset-top));
  background: var(--gradient);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.hero-deco-1 { width: 80px; height: 80px; top: 12%; right: 4%; }
.hero-deco-2 { width: 44px; height: 44px; bottom: 18%; left: 3%; }
.hero-deco-3 { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.hero-content { color: var(--text-on-gradient); text-align: center; }

.hero-content h1 {
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
  font-size: clamp(1.65rem, 7vw, 3.25rem);
}

.hero-content > p {
  font-size: 1rem;
  opacity: 0.92;
  margin-bottom: 0.75rem;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero-price {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.25);
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.hero-buttons .btn { width: 100%; }

.hero-visual {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout paint style;
  isolation: isolate;
  order: -1;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.hero-visual-plate {
  width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  animation: none !important;
  transform: none !important;
  filter: none !important;
  will-change: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

main { position: relative; z-index: 1; }

/* Stats — franchise style */
.stats-section {
  padding: 0;
  margin-top: -1.25rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.25;
}

/* Sections */
section { padding: var(--space-lg) 0; }

h2 { font-size: clamp(1.45rem, 5vw, 2.5rem); }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.section-gradient {
  background: var(--gradient);
  color: #fff;
}

.section-gradient .section-label { color: rgba(255,255,255,0.8); }
.section-gradient h2 { color: #fff; }

.section-alt { background: var(--bg-alt); }

/* Stagger reveal — only child cards, not whole sections */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stagger-reveal.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-reveal > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-reveal > *:nth-child(3) { transition-delay: 0.12s; }
.stagger-reveal > *:nth-child(4) { transition-delay: 0.16s; }
.stagger-reveal > *:nth-child(5) { transition-delay: 0.2s; }
.stagger-reveal > *:nth-child(6) { transition-delay: 0.24s; }

/* Tariffs */
.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tariff-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
}

.tariff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.tariff-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-glow);
}

.tariff-badge {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: var(--gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tariff-price {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.tariff-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tariff-features {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tariff-features li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.tariff-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Calculators */
.calc-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.calc-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.calc-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.calc-tab {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: none;
  box-shadow: inset 0 0 0 2px var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
  color: var(--text-muted);
  text-align: center;
}

.calc-tab:hover {
  box-shadow: inset 0 0 0 2px var(--teal);
  color: var(--teal);
}

.calc-tab.active {
  background: var(--gradient);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
  color: #fff;
}

.calc-tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.calc-panel { display: none; }
.calc-panel.active { display: block; }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.calc-body {
  width: 100%;
}

.calc-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.calc-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.calc-field {
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.calc-field .value-display {
  font-family: 'Syne', sans-serif;
  color: var(--teal);
  font-weight: 700;
}

.calc-field select,
.calc-field input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-alt);
  transition: border-color 0.2s;
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--teal);
}

.calc-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, var(--teal), var(--lime));
  border-radius: 999px;
  outline: none;
  margin-top: 0.25rem;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.calc-toggle-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calc-toggle {
  flex: 1;
  min-width: 80px;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.calc-toggle.active {
  border-color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal);
}

.calc-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.calc-checkbox input { width: 18px; height: 18px; accent-color: var(--teal); }

.calc-result {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: static;
}

.calc-result h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.calc-big-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--lime-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.calc-big-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.75rem;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.calc-row:last-child { border-bottom: none; }
.calc-row .label { opacity: 0.65; }
.calc-row .val { font-weight: 600; }

.calc-chart {
  margin: 1.5rem 0;
}

.calc-chart-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.75rem;
}

.calc-chart-segment {
  height: 100%;
  transition: width 0.5s ease;
}

.calc-chart-segment.rent { background: var(--teal); }
.calc-chart-segment.deposit { background: var(--lime); }
.calc-chart-segment.savings { background: var(--cyan); }
.calc-chart-segment.overpay { background: #f97316; }

.calc-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.calc-chart-legend span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.calc-chart-legend .l-rent::before { background: var(--teal); }
.calc-chart-legend .l-deposit::before { background: var(--lime); }
.calc-chart-legend .l-savings::before { background: var(--cyan); }
.calc-chart-legend .l-overpay::before { background: #f97316; }

.calc-tip {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
  border-left: 3px solid var(--teal);
}

.calc-compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.calc-compare-badge.good {
  background: rgba(163, 230, 53, 0.15);
  color: var(--lime-bright);
}

.calc-compare-badge.neutral {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* Services, advantages, steps — cards */
.services-grid,
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card,
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover,
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p,
.advantage-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.advantage-card {
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.step {
  text-align: left;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.9;
  margin-bottom: 0;
  grid-row: span 2;
}

.step h3 { margin-bottom: 0.15rem; text-align: left; }
.step p { font-size: 0.85rem; opacity: 0.85; text-align: left; grid-column: 2; }

/* Gallery */
.gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 184, 166, 0.45) transparent;
  padding: 0.5rem 0 0.75rem;
}

.gallery-grid--hover-scroll {
  cursor: grab;
}
.gallery-grid.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.gallery-grid.is-dragging .gallery-item img {
  transform: none;
}


.gallery-grid::-webkit-scrollbar {
  height: 6px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.35);
  border-radius: 999px;
}

.gallery-grid:hover::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.65);
}

.gallery-item {
  flex: 0 0 auto;
  width: clamp(160px, 42vw, 280px);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

.gallery-item:hover {
  z-index: 4;
}

.gallery-item img {
  width: 100%;
  height: clamp(200px, 52vw, 350px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.25s;
}

.review-card:hover { box-shadow: var(--shadow); }

.review-card blockquote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review-source {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
}

/* Compare */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.compare-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-card.before { background: var(--bg-alt); }
.compare-card.after {
  background: linear-gradient(135deg, rgba(132,204,22,0.08), rgba(20,184,166,0.08));
  border-color: var(--teal);
}

.compare-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.compare-card li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.compare-card.before li::before { content: '✕'; position: absolute; left: 0; color: #ef4444; }
.compare-card.after li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 720px; margin: 2rem auto 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--teal); }

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 2000px; }

.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contacts & form */
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contacts-info a:not(.social-icon) { color: var(--teal); font-weight: 600; }

.map-container {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.map-container iframe { width: 100%; height: 100%; border: none; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input { width: auto; margin-top: 0.2rem; accent-color: var(--teal); }
.form-checkbox a { color: var(--teal); }

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; flex-wrap: wrap; }
.footer-links a:not(.social-icon) { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-links a:not(.social-icon):hover { color: #fff; }
.footer-telegram { color: #0088cc !important; font-weight: 600; }
.footer-vk { color: #0077ff !important; font-weight: 600; }

/* Floating UI — mobile first (base styles; layout in footer block) */
.floating-actions {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  right: 1rem;
  z-index: 90;
  display: none;
}

.floating-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.45);
}

.floating-cta:hover { transform: scale(1.02); color: #fff; }

.scroll-top {
  position: fixed;
  bottom: max(6.5rem, calc(5.5rem + env(safe-area-inset-bottom)));
  right: 1rem;
  left: auto;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* Tablet+ */
@media (min-width: 480px) {
  :root { --space: 1.15rem; }

  .footer-links { flex-direction: row; gap: 1.25rem; }
}

@media (min-width: 640px) {
  :root { --space-lg: 3.5rem; }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
  }

  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .step {
    text-align: center;
    display: block;
  }

  .step-num { font-size: 2rem; margin-bottom: 0.35rem; }
  .step h3, .step p { text-align: center; }
  .step p { grid-column: auto; }
}

@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: calc(88px + 2rem) var(--space) 3.5rem;
  }

  .hero-inner { gap: 2.5rem; }

  .hero-visual { max-width: 420px; }

  .hero-visual-plate { padding: 0; }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .hero-buttons .btn { width: auto; }

  .calc-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .calc-tab {
    width: 100%;
    border-radius: 14px;
  }

  .calc-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .compare-grid { grid-template-columns: 1fr 1fr; }

  .contacts-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .contacts-map-col {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .contacts-map-col .map-container {
    flex: 1 1 auto;
    aspect-ratio: unset;
    min-height: 240px;
  }

  .form-block { height: 100%; }

  .calc-form,
  .calc-result { padding: 1.75rem; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --space: 1.5rem;
    --space-lg: 3.5rem;
  }

  .header {
    padding: 0.85rem var(--space);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.4rem;
    flex-shrink: 0;
  }


  .hero-bg { width: 62%; }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-content { text-align: left; }

  .hero-content > p { max-width: 480px; margin-left: 0; margin-right: 0; }

  .hero-buttons { justify-content: flex-start; }

  .hero-visual {
    order: 0;
    max-width: none;
    margin: 0;
  }

  .hero-visual-plate {
    max-width: 520px;
    padding: 0;
    box-shadow: none;
  }

  .hero-deco-1 { width: 120px; height: 120px; top: 15%; right: 8%; }
  .hero-deco-2 { width: 60px; height: 60px; bottom: 25%; left: 5%; }
  .hero-deco-3 { display: block; width: 40px; height: 40px; top: 40%; left: 15%; }

  .stats-section { margin-top: -3rem; }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem;
  }

  .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .tariff-card { padding: 2rem; }

  .calc-layout {
    gap: 2rem;
  }

  .calc-form,
  .calc-result { padding: 2rem; }

  .calc-result {
    position: static;
    align-self: stretch;
  }

  .calc-header { margin-bottom: 2.5rem; }

  .calc-header p { font-size: 1.05rem; }

  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .step {
    text-align: center;
    display: block;
    padding: 1.75rem 1rem;
  }

  .step-num { font-size: 2rem; margin-bottom: 0.35rem; }

  .compare-card { padding: 2rem; }

  .floating-actions { display: none !important; }

  .scroll-top {
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 1280px) {
  .header-phone { display: block; }
}

@media (min-width: 1024px) {
  .nav-mobile-cta {
    display: none;
  }

  .header-icon-link {
    display: none;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }

  .header-right .header-social { display: flex; }

  .header-actions .header-social--mobile { display: none; }

  .header-right .btn {
    padding: 0.6rem 1rem;
    min-height: 40px;
    font-size: 0.8125rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
}

.logo-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.container-narrow { max-width: 720px; }
.text-center { text-align: center; }
.text-muted-lg { color: var(--text-muted); font-size: 1.05rem; }

.btn-block { width: 100%; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }

.btn-outline-dark {
  background: var(--bg-alt);
  color: var(--text);
  border: 2px solid var(--border);
}

@media (max-width: 1023px) {
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem 0.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
  }
}

.header-icon-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-right .header-social { display: none; }

.header-actions .header-social--mobile { display: flex; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon:hover { transform: translateY(-2px); opacity: 0.92; }

.social-icon--vk { background: #0077ff; }
.social-icon--telegram { background: #24A1DE; }

.social-icon--telegram svg {
  transform: translateX(-1px);
}

.social-icon--hero {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.social-icon--lg {
  width: 44px;
  height: 44px;
}

.contacts-social {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.contacts-social--form {
  margin-bottom: 1.25rem;
}

.contacts-info .social-icon,
.footer-links .social-icon {
  color: #fff;
}

.nav-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.header.scrolled .header-icon-link {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text);
}

.hero-secondary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hero-secondary-links a:not(.social-icon) {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-photo-caption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.stat-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.model-card {
  background: #fff;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.model-card.featured { box-shadow: 0 0 0 2px var(--teal), var(--shadow); }

.model-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.model-body { padding: 1.25rem; }

.model-body ul {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.model-body li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
}

.model-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.cta-banner {
  background: var(--gradient);
  color: #fff;
  padding: 2rem 0;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta-banner-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin: 0;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #fff;
}

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.gallery-item--service .gallery-placeholder {
  background: linear-gradient(135deg, rgba(132,204,22,0.25), rgba(20,184,166,0.35));
}

.gallery-item--office .gallery-placeholder {
  background: linear-gradient(135deg, #334155, #475569);
}

.reviews-meta {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.partners {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.9);
}

.partners .section-label { color: var(--lime-bright); }
.partners h2 { color: #fff; }

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.partner-badge {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
}

.calc-field-compact {
  display: grid;
  gap: 0.5rem;
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calc-note,
.calc-disclaimer-block {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.calc-disclaimer {
  display: block;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.calc-cta { margin-top: auto; padding-top: 1.25rem; }

.calc-panel[hidden] { display: none !important; }

.form-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.form-offer {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-alt {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-alt a { color: #0088cc; font-weight: 600; }

.form-success {
  padding: 1rem 0;
}

.form-success h4 { margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); margin-bottom: 1rem; }

.floating-actions {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  right: 1rem;
  z-index: 90;
  display: none;
  pointer-events: none;
  gap: 0.5rem;
}

.floating-actions.visible {
  display: flex;
  pointer-events: auto;
}

.floating-actions .floating-cta {
  position: static;
  display: flex;
  flex: 1;
  pointer-events: auto;
  min-width: 0;
  font-size: 0.8125rem;
  padding: 0.75rem 0.85rem;
}

.floating-cta--phone {
  background: var(--gradient);
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.45);
}

.floating-cta--telegram {
  background: #24A1DE;
  box-shadow: 0 4px 24px rgba(36, 161, 222, 0.45);
}

.start-requirements h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.start-requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.start-requirements-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.start-requirements-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.start-requirements-card p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.reviews-strip {
  margin-top: calc(var(--space-lg) * 0.85);
  padding-top: calc(var(--space-lg) * 0.65);
  border-top: 1px solid var(--border);
}

.reviews-strip h2 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.gallery--tariffs {
  margin-top: calc(var(--space-lg) * 0.85);
  padding-top: calc(var(--space-lg) * 0.65);
  border-top: 1px solid var(--border);
}

.buyout-price-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.buyout-price-table caption {
  caption-side: top;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.buyout-price-table th,
.buyout-price-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.4rem;
  text-align: center;
  vertical-align: middle;
}

.buyout-price-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
}

.buyout-price-table small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.form-group--optional textarea {
  min-height: 4.5rem;
}

@media (min-width: 640px) {
  .start-requirements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-page { background: var(--bg-alt); }
.legal-content { padding: 6rem 1rem 3rem; max-width: 720px; }
.legal-content h1 { margin-bottom: 1rem; }
.legal-content h2 { margin-top: 1.5rem; font-size: 1.2rem; }
.legal-content p { margin-bottom: 0.75rem; color: var(--text-muted); }

@media (min-width: 768px) {
  .cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-icon-link { display: inline-flex; }
}

.calc-header h2,
.calc-form h3 {
  overflow-wrap: anywhere;
}

.model-card img.pos-center { object-position: 50% center; }
.model-card img.pos-right { object-position: 60% center; }
.model-card img.pos-left { object-position: 30% center; }

@media (min-width: 1024px) {
  .hero-secondary-links { justify-content: flex-start; }
}

@media (hover: hover) and (pointer: fine) {
  .tariff-card:hover,
  .service-card:hover,
  .advantage-card:hover {
    transform: translateY(-4px);
  }

  .gallery-item:hover img {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in,
  .stagger-reveal > * { opacity: 1; transform: none; }
}


@media (min-width: 1024px) {
  .hero--photo {
    min-height: min(72vh, 680px);
  }
  .hero--photo .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero--photo .hero-content {
    text-align: left;
  }
}

/* ==========================================================================
   Premium energy-route theme
   ========================================================================== */

:root {
  --lime: #b8f34a;
  --lime-bright: #d6ff75;
  --teal: #12c7a0;
  --cyan: #33d6d1;
  --ink: #07130f;
  --ink-soft: #0d1d17;
  --ink-muted: #183027;
  --surface: #f3f6f2;
  --surface-strong: #ffffff;
  --gradient: linear-gradient(125deg, #b8f34a 0%, #22d3a7 55%, #33d6d1 100%);
  --gradient-soft: linear-gradient(145deg, rgba(184, 243, 74, 0.16), rgba(18, 199, 160, 0.08));
  --dark: var(--ink);
  --dark-card: var(--ink-soft);
  --bg: #ffffff;
  --bg-alt: var(--surface);
  --text: #0a1712;
  --text-muted: #64716a;
  --border: rgba(7, 19, 15, 0.1);
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 80px rgba(7, 19, 15, 0.12);
  --shadow-glow: 0 24px 70px rgba(18, 199, 160, 0.2);
  --ease-premium: cubic-bezier(0.2, 0.75, 0.25, 1);
}

body.premium-site {
  background: var(--surface);
  color: var(--text);
}

.premium-site main {
  overflow: clip;
}

.premium-site .container {
  max-width: 1280px;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.premium-site h1,
.premium-site h2,
.premium-site h3 {
  text-wrap: balance;
}

.premium-site h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.premium-site .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #087c65;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.premium-site .section-label::before {
  content: '';
  width: 1.7rem;
  height: 1px;
  background: currentColor;
}

.premium-site .btn {
  min-height: 50px;
  padding-inline: 1.4rem;
  border-radius: 999px;
  transition:
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.premium-site .btn-primary {
  background: var(--gradient);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(18, 199, 160, 0.2);
}

.premium-site .btn-primary:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(18, 199, 160, 0.3);
}

/* Header */
.premium-site .header {
  padding: max(0.7rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 2rem) 0.7rem;
}

.premium-site .header-inner {
  max-width: 1360px;
}

.premium-site .header.scrolled {
  background: rgba(246, 249, 245, 0.88);
  border-bottom: 1px solid rgba(7, 19, 15, 0.07);
  box-shadow: 0 12px 38px rgba(7, 19, 15, 0.06);
  backdrop-filter: blur(22px) saturate(150%);
}

.premium-site .logo {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.045em;
}

.premium-site .logo-img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 5px rgba(184, 243, 74, 0.08);
}

.premium-site .header.scrolled .logo-img {
  border-color: rgba(7, 19, 15, 0.08);
  box-shadow: 0 0 0 5px rgba(18, 199, 160, 0.06);
}

.premium-site .burger,
.premium-site .header-icon-link {
  border-radius: 50%;
  backdrop-filter: blur(16px);
}

.premium-site .nav {
  border-radius: 22px;
  border-color: rgba(7, 19, 15, 0.08);
  box-shadow: 0 28px 80px rgba(7, 19, 15, 0.2);
}

/* Hero */
.premium-site .hero--premium {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(7rem, 10vh, 9rem) clamp(1rem, 3vw, 2rem) clamp(5rem, 8vh, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 42%, rgba(33, 211, 165, 0.14), transparent 28%),
    radial-gradient(circle at 28% 84%, rgba(184, 243, 74, 0.08), transparent 32%),
    var(--ink);
}

.premium-site .hero--premium::before {
  content: none;
}

.hero-photo-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.96) 0%, rgba(7, 19, 15, 0.72) 48%, rgba(7, 19, 15, 0.22) 100%),
    radial-gradient(circle at 80% 50%, rgba(18, 199, 160, 0.16), transparent 35%);
  pointer-events: none;
}

.premium-site .hero-bg {
  inset: 0;
  width: 100% !important;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}

.premium-site .hero-bg--fallback {
  background:
    radial-gradient(circle at 76% 38%, rgba(51, 214, 209, 0.14), transparent 24%),
    radial-gradient(circle at 64% 70%, rgba(184, 243, 74, 0.1), transparent 30%);
}

.premium-site #three-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.premium-site.three-ready #three-canvas {
  opacity: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 48%, #000);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.2;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255, 255, 255, 0.08) 1px, transparent 2px, transparent 7px);
  background-size: 19px 23px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.premium-site .hero-inner--premium {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1360px;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.premium-site .hero-content {
  position: relative;
  z-index: 6;
  max-width: 730px;
  text-align: left;
}

.premium-site .hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.hero-live-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(184, 243, 74, 0.55);
  border-radius: inherit;
  animation: livePulse 2.2s ease-out infinite;
}

.premium-site .hero-content h1 {
  max-width: 10.5ch;
  margin: 0 0 1.5rem;
  padding-block: 0.04em 0.12em;
  padding-inline-end: 0.15em;
  color: #f7fff9;
  font-size: clamp(3.5rem, 6.2vw, 6.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: none;
  overflow: visible;
}

.premium-site .hero-content h1 span {
  color: var(--lime-bright);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.premium-site .hero-content > .hero-lead {
  max-width: 600px;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.hero-offer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.7rem;
}

.premium-site .hero-badge {
  margin: 0;
  padding: 0.55rem 0.85rem;
  color: #f7fff9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-availability > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(18, 199, 160, 0.9);
}

.premium-site .hero-buttons {
  width: auto;
  justify-content: flex-start;
  gap: 0.75rem;
}

.premium-site .hero-buttons .btn {
  width: auto;
  min-height: 56px;
  padding-inline: 1.65rem;
}

.premium-site .hero .btn-primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 14px 36px rgba(184, 243, 74, 0.18);
}

.premium-site .hero .btn-primary:hover {
  color: var(--ink);
  background: var(--lime-bright);
  box-shadow: 0 18px 44px rgba(184, 243, 74, 0.28);
}

.premium-site .hero .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.premium-site .hero-secondary-links {
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.premium-site .hero-secondary-links .social-icon {
  width: 38px;
  height: 38px;
}

.premium-site .hero-visual {
  position: relative;
  order: 0;
  width: min(100%, 580px);
  max-width: 580px;
  margin: 0 auto;
  overflow: visible;
  contain: layout style;
  isolation: isolate;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-product-card {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.36),
    0 0 90px rgba(18, 199, 160, 0.12);
  transform:
    translate3d(var(--shift-x, 0), var(--shift-y, 0), 0)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    rotate(2deg);
  backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-premium);
  will-change: transform;
}

.hero-product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(184, 243, 74, 0.36), transparent 32%, transparent 70%, rgba(51, 214, 209, 0.24));
  filter: blur(1px);
}

.hero-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  background: var(--ink-soft);
}

.premium-site .hero-product-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 52% 57%;
  filter: saturate(0.88) contrast(1.03);
  transform: scale(1.02) !important;
}

.hero-product-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 15, 0.02) 35%, rgba(7, 19, 15, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 199, 160, 0.08), transparent 35%);
  pointer-events: none;
}

.hero-product-card figcaption {
  position: absolute;
  right: 2rem;
  bottom: 1.65rem;
  left: 2rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.hero-product-card figcaption span {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-product-card figcaption small {
  max-width: 120px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: right;
}

.hero-float-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 190px;
  padding: 0.8rem 0.95rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(9, 27, 21, 0.72);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px) saturate(140%);
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-float-card--range {
  top: 16%;
  left: -10%;
}

.hero-float-card--service {
  right: -8%;
  bottom: 18%;
  animation-delay: -2.2s;
}

.hero-float-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-float-card strong,
.hero-float-card small {
  display: block;
}

.hero-float-card strong {
  font-size: 0.86rem;
}

.hero-float-card small {
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
}

.hero-route-pin {
  position: absolute;
  z-index: 7;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(184, 243, 74, 0.4);
  border-radius: 50%;
  background: rgba(7, 19, 15, 0.5);
  box-shadow: 0 0 24px rgba(184, 243, 74, 0.25);
}

.hero-route-pin span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.hero-route-pin--one {
  top: 8%;
  right: 12%;
}

.hero-route-pin--two {
  right: 3%;
  bottom: 7%;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll-cue i {
  position: relative;
  display: block;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.hero-scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  animation: scrollCue 2.4s var(--ease-premium) infinite;
}

/* Stats and section rhythm */
.premium-site .stats-section {
  z-index: 12;
  margin-top: -2.2rem;
}

.premium-site .stats-section .container {
  max-width: 1280px;
}

.premium-site .stats-grid {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 15, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 85px rgba(7, 19, 15, 0.14);
  backdrop-filter: blur(18px);
}

.premium-site .stat-item {
  position: relative;
  padding: clamp(1.2rem, 2.6vw, 2rem) 0.75rem;
}

.premium-site .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24%;
  right: 0;
  bottom: 24%;
  width: 1px;
  background: var(--border);
}

.premium-site .stat-num,
.premium-site .stat-text {
  color: #0c9c7f;
  background: linear-gradient(120deg, #77bf1f, #0db596 65%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  letter-spacing: -0.055em;
}

.premium-site .stat-label {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-site .start-requirements,
.premium-site .tariffs,
.premium-site .calc-section,
.premium-site .faq,
.premium-site .contacts {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.premium-site .section-alt {
  background:
    radial-gradient(circle at 8% 14%, rgba(184, 243, 74, 0.12), transparent 25%),
    var(--surface);
}

.premium-site .start-requirements h2 {
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.premium-site .start-requirements-grid {
  max-width: 1060px;
  margin: 0 auto;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
}

.premium-site .start-requirements-card {
  position: relative;
  min-height: 190px;
  padding: 4.8rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.premium-site .start-requirements-card:not(:last-child) {
  border-right: 1px solid var(--border);
}

.premium-site .start-requirements-card::before {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  color: #0ba485;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.premium-site .start-requirements-card:nth-child(1)::before { content: '01 / ДОКУМЕНТ'; }
.premium-site .start-requirements-card:nth-child(2)::before { content: '02 / УСЛОВИЯ'; }
.premium-site .start-requirements-card:nth-child(3)::before { content: '03 / ВЫДАЧА'; }

/* Banner hero — full-bleed photo, no product card */
.premium-site .hero--banner {
  display: flex;
  align-items: center;
}

.premium-site .hero--banner .hero-photo-bg {
  z-index: 0;
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.02);
}

.premium-site .hero--banner .hero-photo-wash {
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 19, 15, 0.92) 0%, rgba(7, 19, 15, 0.72) 42%, rgba(7, 19, 15, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 19, 15, 0.55) 0%, transparent 42%);
}

.premium-site .hero--banner .hero-bg,
.premium-site .hero--banner .hero-grid-overlay,
.premium-site .hero--banner .hero-noise {
  z-index: 2;
}

.premium-site .hero-inner--banner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0;
  width: 100%;
}

.premium-site .hero--banner .hero-content {
  max-width: 720px;
}

.premium-site .hero--banner .hero-content h1 {
  max-width: 12ch;
}

.premium-site .tariff-badge--summer {
  background: linear-gradient(125deg, #fbbf24, #f59e0b);
  color: #1f1300;
}

.premium-site .tariffs-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .premium-site .tariffs-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .premium-site .tariffs-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .premium-site .tariffs-grid--4 .tariff-card {
    min-height: 480px;
  }
}

@media (max-width: 1023px) {
  .premium-site .hero--banner .hero-content h1 {
    max-width: 14ch;
  }
}

.premium-site .start-requirements-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

/* Tariffs, reviews and gallery */
.premium-site .tariffs {
  position: relative;
  background:
    radial-gradient(circle at 96% 10%, rgba(51, 214, 209, 0.08), transparent 24%),
    #fff;
}

.premium-site .tariffs-grid {
  gap: 1.15rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.premium-site .tariff-card {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  overflow: hidden;
  border-color: rgba(7, 19, 15, 0.09);
  border-radius: 28px;
  background: linear-gradient(155deg, #fff 0%, #f5f8f4 100%);
  box-shadow: 0 14px 50px rgba(7, 19, 15, 0.06);
}

.premium-site .tariff-card::after {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  bottom: -80px;
  border: 1px solid rgba(18, 199, 160, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(18, 199, 160, 0.025), 0 0 0 48px rgba(18, 199, 160, 0.018);
  pointer-events: none;
}

.premium-site .tariff-card:hover {
  border-color: rgba(18, 199, 160, 0.34);
  box-shadow: 0 28px 80px rgba(7, 19, 15, 0.12);
  transform: translateY(-8px);
}

.premium-site .tariff-card.featured {
  color: #fff;
  border: 1px solid rgba(184, 243, 74, 0.28);
  background:
    radial-gradient(circle at 90% 10%, rgba(184, 243, 74, 0.18), transparent 32%),
    var(--ink);
  box-shadow: 0 28px 85px rgba(7, 19, 15, 0.22);
}

.premium-site .tariff-card.featured .tariff-period,
.premium-site .tariff-card.featured .tariff-features {
  color: rgba(255, 255, 255, 0.62);
}

.premium-site .tariff-card.featured .tariff-day,
.premium-site .tariff-card.featured .tariff-features li::before {
  color: var(--lime);
}

.premium-site .tariff-card.featured .btn-primary {
  background: var(--lime);
}

.premium-site .tariff-price {
  margin-top: 0.5rem;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.premium-site .tariff-period {
  margin-top: 0.55rem;
}

.premium-site .tariff-features {
  margin-block: 1.4rem 2rem;
}

.premium-site .tariff-card .btn {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.premium-site .tariff-badge {
  top: 1rem;
  right: 1rem;
  color: var(--ink);
  border-radius: 999px;
  background: var(--lime);
}

.premium-site .reviews-strip {
  position: relative;
  margin-top: clamp(5rem, 9vw, 8rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 0;
  border-radius: 36px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(184, 243, 74, 0.07), transparent 36%),
    var(--ink);
}

.premium-site .reviews-strip::after {
  content: '“';
  position: absolute;
  top: -2.5rem;
  right: 1.5rem;
  color: rgba(184, 243, 74, 0.08);
  font-family: Georgia, serif;
  font-size: clamp(10rem, 25vw, 22rem);
  line-height: 1;
  pointer-events: none;
}

.premium-site .reviews-strip .section-label {
  color: var(--lime);
}

.premium-site .reviews-strip h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.premium-site .reviews-meta,
.premium-site .reviews-meta a {
  color: rgba(255, 255, 255, 0.55);
}

.premium-site .reviews-grid {
  position: relative;
  z-index: 2;
  gap: 0.8rem;
}

.premium-site .review-card {
  min-height: 230px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.premium-site .review-card blockquote {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.premium-site .review-source {
  color: var(--lime);
}

.premium-site .gallery--showcase,
.premium-site .gallery--tariffs {
  margin-top: clamp(5rem, 9vw, 8rem);
  padding-top: 0;
  border: 0;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-head h2 {
  margin-bottom: 0;
}

.gallery-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 220px;
  text-align: right;
}

.gallery-showcase {
  display: grid;
  gap: 1rem;
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #0c1b16;
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 70px rgba(7, 19, 15, 0.14);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.45s var(--ease-premium);
}

.gallery-main img.is-switching {
  opacity: 0.35;
  transform: scale(1.02);
}

.gallery-main-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  color: #fff;
  background: rgba(7, 19, 15, 0.62);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-counter {
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gallery-nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 19, 15, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-nav:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
  color: var(--teal);
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 184, 166, 0.45) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.4);
  border-radius: 999px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: clamp(78px, 14vw, 112px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #e8eee9;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 199, 160, 0.35);
}

.gallery-thumb.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 199, 160, 0.18);
}

.gallery-thumb.is-active img {
  filter: none;
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-hint {
    text-align: left;
    max-width: none;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
  }

  .gallery-nav:hover {
    transform: translateY(-50%);
  }

  .gallery-nav--prev { left: 0.65rem; }
  .gallery-nav--next { right: 0.65rem; }

  .gallery-main {
    border-radius: 22px;
    aspect-ratio: 4 / 3;
  }

  .gallery-main-meta {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Calculator dashboard */
.premium-site .calc-section {
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(51, 214, 209, 0.12), transparent 26%),
    radial-gradient(circle at 8% 86%, rgba(184, 243, 74, 0.09), transparent 28%),
    var(--ink);
}

.premium-site .calc-section::before {
  inset: 0;
  width: auto;
  height: auto;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.premium-site .calc-header h2 {
  margin-inline: auto;
  color: #fff;
}

.premium-site .calc-header p {
  color: rgba(255, 255, 255, 0.56);
}

.premium-site .calc-header .section-label {
  color: var(--lime);
}

.premium-site .calc-tabs {
  max-width: 760px;
  margin-inline: auto;
  padding: 0.35rem;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.premium-site .calc-tab {
  min-height: 50px;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.premium-site .calc-tab:hover {
  color: #fff;
  box-shadow: none;
}

.premium-site .calc-tab.active {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 10px 28px rgba(184, 243, 74, 0.14);
}

.premium-site .calc-layout {
  gap: 0.8rem;
  max-width: 1120px;
  margin-inline: auto;
}

.premium-site .calc-form,
.premium-site .calc-result {
  border-radius: 28px;
  box-shadow: none;
}

.premium-site .calc-form {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: #f7faf6;
}

.premium-site .calc-result {
  border: 1px solid rgba(184, 243, 74, 0.12);
  background:
    radial-gradient(circle at 90% 8%, rgba(184, 243, 74, 0.12), transparent 30%),
    #0c2119;
}

.premium-site .calc-big-number {
  background: linear-gradient(110deg, var(--lime-bright), #39d6b2);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.07em;
}

.premium-site .calc-field select,
.premium-site .calc-field input[type="number"] {
  min-height: 50px;
  border-color: rgba(7, 19, 15, 0.09);
  background: #fff;
}

.premium-site .calc-toggle {
  border-width: 1px;
  background: #fff;
}

.premium-site .calc-toggle.active {
  color: #087c65;
  border-color: var(--teal);
  background: rgba(18, 199, 160, 0.1);
}

.premium-site .buyout-price-table th,
.premium-site .buyout-price-table td {
  border-color: rgba(7, 19, 15, 0.1);
}

/* CTA, FAQ and contacts */
.premium-site .cta-banner {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
}

.premium-site .cta-banner::after {
  content: '';
  position: absolute;
  top: -120px;
  right: 8%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(7, 19, 15, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(7, 19, 15, 0.035), 0 0 0 76px rgba(7, 19, 15, 0.02);
}

.premium-site .cta-banner-inner {
  position: relative;
  z-index: 2;
  min-height: 170px;
}

.premium-site .cta-banner h2 {
  max-width: 750px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4.5vw, 3.7rem);
  letter-spacing: -0.055em;
}

.premium-site .cta-banner-label {
  color: rgba(7, 19, 15, 0.62);
}

.premium-site .cta-banner .btn-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(7, 19, 15, 0.2);
}

.premium-site .cta-banner .btn-primary:hover {
  color: #fff;
  background: #10251c;
}

.premium-site .faq {
  background:
    radial-gradient(circle at 92% 20%, rgba(18, 199, 160, 0.08), transparent 24%),
    var(--surface);
}

.premium-site .faq-list {
  max-width: 940px;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.premium-site .faq-item {
  border-color: rgba(7, 19, 15, 0.11);
}

.premium-site .faq-question {
  min-height: 88px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -0.025em;
}

.premium-site .faq-question::after {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: rgba(18, 199, 160, 0.1);
}

.premium-site .contacts {
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(184, 243, 74, 0.08), transparent 28%),
    var(--ink-soft);
}

.premium-site .contacts h2 {
  color: #fff;
}

.premium-site .contacts .section-label {
  color: var(--lime);
}

.premium-site .contacts-inner {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.premium-site .contacts-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.64);
}

.premium-site .contacts-info strong {
  color: #fff;
}

.premium-site .contacts-info a:not(.social-icon) {
  color: var(--lime);
}

.premium-site .map-container {
  min-height: 330px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  filter: saturate(0.65) contrast(1.02);
}

.premium-site .form-block {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text);
  border: 0;
  border-radius: 28px;
  background: #f8faf7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.premium-site .form-block h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
}

.premium-site .form-group input,
.premium-site .form-group textarea {
  min-height: 50px;
  border-color: rgba(7, 19, 15, 0.1);
  background: #fff;
}

.premium-site .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--ink);
}

/* Motion */
@keyframes livePulse {
  0% { opacity: 0.8; transform: scale(0.7); }
  75%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 30px); }
  50% { transform: translate3d(0, -10px, 30px); }
}

@keyframes scrollCue {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

.premium-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-premium) var(--reveal-delay, 0ms),
    transform 0.7s var(--ease-premium) var(--reveal-delay, 0ms);
}

.premium-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive premium layout */
@media (min-width: 640px) {
  .premium-site .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1023px) {
  .premium-site .hero--premium {
    min-height: auto;
    padding-top: calc(88px + env(safe-area-inset-top));
  }

  .premium-site .hero-inner--premium {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .premium-site .hero-content {
    max-width: 720px;
  }

  .premium-site .hero-content h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 9.5vw, 5.6rem);
  }

  .premium-site .hero-visual {
    width: min(86vw, 540px);
  }

  .hero-float-card--range {
    left: -6%;
  }

  .hero-float-card--service {
    right: -5%;
  }

  .premium-site .stats-section {
    margin-top: -1.5rem;
  }
}

@media (max-width: 767px) {
  .premium-site h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .premium-site .header {
    padding-inline: 0.9rem;
  }

  .premium-site .logo-img {
    width: 38px;
    height: 38px;
  }

  .premium-site .hero--premium {
    padding-inline: 1rem;
    padding-bottom: 4.5rem;
  }

  .premium-site .hero-bg {
    opacity: 0.65;
  }

  .hero-grid-overlay {
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent 5%, #000 35%, transparent 95%);
  }

  .premium-site .hero-kicker {
    margin-bottom: 1rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .premium-site .hero-content h1,
  .premium-site .hero--banner .hero-content h1 {
    max-width: none;
    margin-bottom: 1.15rem;
    padding-inline-end: 0.2em;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .premium-site .hero-content > .hero-lead {
    font-size: 0.98rem;
  }

  .hero-offer-row {
    margin-bottom: 1.35rem;
  }

  .premium-site .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .premium-site .hero-buttons .btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 0.9rem;
  }

  .premium-site .hero-secondary-links {
    gap: 0.5rem;
  }

  .premium-site .hero-visual {
    width: min(92vw, 430px);
  }

  .hero-product-card {
    width: min(82vw, 360px);
    border-radius: 30px;
  }

  .hero-product-image {
    border-radius: 23px;
  }

  .hero-product-card figcaption {
    right: 1.3rem;
    bottom: 1.25rem;
    left: 1.3rem;
  }

  .hero-float-card {
    min-width: 154px;
    padding: 0.65rem 0.75rem;
  }

  .hero-float-card--range {
    top: 13%;
    left: -1%;
  }

  .hero-float-card--service {
    right: -1%;
    bottom: 14%;
  }

  .hero-float-icon {
    width: 32px;
    height: 32px;
  }

  .hero-float-card strong {
    font-size: 0.76rem;
  }

  .hero-float-card small {
    font-size: 0.6rem;
  }

  .hero-route-pin--two {
    right: 1%;
  }

  .hero-scroll-cue {
    display: none;
  }

  .premium-site .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-site .stat-item:nth-child(2)::after {
    display: none;
  }

  .premium-site .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .premium-site .start-requirements-grid {
    gap: 0;
  }

  .premium-site .start-requirements-card {
    min-height: auto;
    padding: 4.2rem 1.25rem 1.4rem;
  }

  .premium-site .start-requirements-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .premium-site .tariff-card {
    min-height: 0;
  }

  .premium-site .reviews-strip {
    margin-inline: -0.25rem;
    border-radius: 28px;
  }

  .premium-site .review-card {
    min-height: 0;
  }

  .premium-site .calc-layout {
    gap: 0.75rem;
  }

  .premium-site .calc-form,
  .premium-site .calc-result {
    border-radius: 22px;
  }

  .premium-site .contacts-info {
    grid-template-columns: 1fr;
  }

  .premium-site .map-container {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .premium-site .logo {
    gap: 0.4rem;
    font-size: 1rem;
  }

  .premium-site .logo-img {
    width: 34px;
    height: 34px;
  }

  .premium-site .header-actions .social-icon {
    width: 36px;
    height: 36px;
  }

  .premium-site .burger {
    width: 40px;
    height: 40px;
  }

  .premium-site .hero-content h1 {
    font-size: clamp(2.55rem, 12.8vw, 3.45rem);
  }

  .premium-site .hero-badge {
    font-size: 0.72rem;
  }

  .hero-availability {
    font-size: 0.72rem;
  }

  .hero-float-card--range {
    left: 1%;
  }

  .hero-float-card--service {
    right: 1%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-live-dot::after,
  .hero-float-card,
  .hero-scroll-cue i::after {
    animation: none !important;
  }

  .hero-product-card {
    transform: none !important;
  }

  .premium-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
