/* ==========================================================================
   PRAVA-M.SBS — PREMIUM LEGAL DARK & GOLD DESIGN SYSTEM
   Mobile-First, Responsive (320px..1440px), Strict Layout Stability & Authority
   ========================================================================== */

:root {
  /* Color Palette - Premium Graphite, Dark Navy & Gold */
  --bg-deep: #070A0F;
  --bg-main: #0B0F17;
  --bg-surface: #111827;
  --bg-card: #151E2E;
  --bg-card-hover: #1A2538;
  --bg-card-subtle: #1E293B;
  
  --border-subtle: #1F2A3E;
  --border-default: #2A3852;
  --border-focus: #F59E0B;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-gold: #F59E0B;
  
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-gold-light: #FCD34D;
  --accent-gold-dark: #B45309;
  --accent-gold-glow: rgba(245, 158, 11, 0.22);
  
  --accent-blue: #38BDF8;
  --accent-green: #10B981;
  --accent-green-bg: #064E3B;
  --accent-red: #EF4444;

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 4px 20px var(--accent-gold-glow);
  
  /* Layout */
  --container-max: 1280px;
  --header-height: 76px;
}

/* Reset & Mandatory Stability Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  overflow-x: hidden;
}

/* All CSS Grid children MUST have min-width: 0 to prevent overflowing */
.grid, .footer-grid, .features-grid, .cards-grid, .steps-grid, .reviews-grid, .regions-grid, .calc-grid, .stats-grid, .about-grid {
  display: grid;
}
.grid > *, .footer-grid > *, .features-grid > *, .cards-grid > *, .steps-grid > *, .reviews-grid > *, .regions-grid > *, .calc-grid > *, .stats-grid > *, .about-grid > * {
  min-width: 0;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-gold-light);
}

/* ==========================================================================
   SVG ICONS SYSTEM (NO EMOJIS)
   ========================================================================== */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 36px; height: 36px; }
.icon-xl { width: 48px; height: 48px; }
.icon-brand { width: 28px; height: 28px; color: var(--accent-gold); }
.icon-burger { width: 26px; height: 26px; color: var(--text-main); }

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-system);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  white-space: nowrap;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.btn--block {
  width: 100%;
}
.btn--gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #070A0F;
  box-shadow: var(--shadow-gold);
  border: 1px solid #FCD34D;
}
.btn--gold:hover {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: #000;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}
.btn--gold:active {
  transform: translateY(0);
}
.btn--outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}
.btn--outline-gold:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #FFF;
  border-color: var(--accent-gold-light);
}
.btn--surface {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-default);
}
.btn--surface:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.badge--gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.35);
}
.badge--success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   TOP STATUS BAR
   ========================================================================== */
.top-bar {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  padding: 6px 0;
  color: var(--text-muted);
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.top-bar__guarantee {
  display: flex;
  align-items: center;
}
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-weight: 600;
}
.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.top-contact-link:hover {
  color: var(--text-main);
}
.top-contact-link--wa:hover { color: #25D366; }
.top-contact-link--tg:hover { color: #229ED9; }
.top-contact-link--phone { color: var(--accent-gold); font-weight: 700; }

/* ==========================================================================
   MAIN SITE HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
}
.brand-logo:hover {
  color: var(--text-main);
}
.brand-logo__emblem {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.08);
}
.emblem-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emblem-letter {
  position: absolute;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-top: -2px;
}
.brand-logo__text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
}
.brand-title strong {
  color: var(--accent-gold);
}
.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-link:hover, .nav-link.is-active {
  color: var(--text-main);
  background: var(--bg-card);
}
.nav-link.is-active {
  color: var(--accent-gold);
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
.dropdown-item:hover {
  color: var(--accent-gold);
  background: var(--bg-card-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.burger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   MOBILE DRAWER MENU
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}
.mobile-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-close {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
}
.mobile-drawer__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent-gold);
  background: var(--bg-card);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.mobile-nav__link:hover, .mobile-nav__link.is-active {
  color: var(--accent-gold);
  background: var(--bg-card);
}
.mobile-drawer__contacts {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.contacts-title {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-weight: 700;
}
.mobile-socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mobile-soc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-main);
}
.mobile-soc-btn--wa { border-color: rgba(37, 211, 102, 0.4); color: #25D366; }
.mobile-soc-btn--tg { border-color: rgba(34, 158, 217, 0.4); color: #229ED9; }
.mobile-soc-btn--vk { border-color: rgba(0, 119, 255, 0.4); color: #4C75A3; }
.mobile-soc-btn--max { border-color: rgba(245, 158, 11, 0.4); color: var(--accent-gold); }
.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 15px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 20%, #162238 0%, #0B0F17 70%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.hero__title span {
  color: var(--accent-gold);
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}
.hero__guarantee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--accent-gold);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}
.hero__guarantee-card .icon-md {
  color: var(--accent-gold);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

/* Hero Media Card */
.hero__media {
  position: relative;
}
.hero-card-preview {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card-preview__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card-preview:hover .hero-card-preview__img {
  transform: scale(1.02);
}
.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 15, 23, 0.92);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-col-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-col-left strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}
.badge-col-left span {
  font-size: 12px;
  color: var(--text-muted);
}
.badge-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   SECTIONS & TITLES
   ========================================================================== */
.section {
  padding: 70px 0;
  position: relative;
}
.section--dark {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section--deep {
  background: var(--bg-deep);
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.section-eyebrow {
  display: inline-flex;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CARDS & CATEGORIES MATRIX
   ========================================================================== */
.cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}
.cat-card__media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--bg-surface);
}
.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card__img {
  transform: scale(1.05);
}
.cat-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
}
.cat-card__term {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cat-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}
.cat-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.cat-card__title a {
  color: var(--text-main);
}
.cat-card__title a:hover {
  color: var(--accent-gold);
}
.cat-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}
.cat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}
.cat-card__pricing {
  display: flex;
  flex-direction: column;
}
.price-old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-dim);
}
.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   CALCULATOR COMPONENT
   ========================================================================== */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.calc-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.calc-option {
  position: relative;
}
.calc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc-option-box {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-option input:checked + .calc-option-box {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}
.calc-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}
.calc-opt-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.calc-opt-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 4px;
}

/* Result Box */
.calc-result-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.calc-result-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}
.calc-result-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}
.calc-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.calc-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}
.calc-summary-item strong {
  color: var(--text-main);
}
.calc-total-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.calc-total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.calc-total-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
}
.calc-guarantee-note {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

/* ==========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================== */
.features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS / STEPS
   ========================================================================== */
.steps-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.step-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   REVIEWS & E-E-A-T
   ========================================================================== */
.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border-default);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.review-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.review-city {
  font-size: 12px;
  color: var(--text-dim);
}
.review-stars {
  display: flex;
  gap: 2px;
  color: var(--accent-gold);
}
.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-green);
  font-weight: 600;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.is-open {
  border-color: var(--accent-gold);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-system);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-question .icon-xs {
  transition: transform 0.25s ease;
  color: var(--accent-gold);
}
.faq-item.is-open .faq-question .icon-xs {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  display: none;
}
.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   ARTICLE / RICH TEXT CONTENT (.content-body / .rt)
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.article-main {
  min-width: 0;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
.article-sidebar {
  min-width: 0;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-body, .rt {
  font-size: 16px;
  line-height: 1.7;
  color: #D1D5DB;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
.content-body h1, .rt h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.content-body h2, .rt h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.content-body h3, .rt h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.content-body h4, .rt h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 8px;
}
.content-body p, .rt p {
  margin-bottom: 18px;
}
.content-body strong, .rt strong {
  color: var(--text-main);
  font-weight: 700;
}
.content-body ul, .rt ul, .legal-list {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}
.content-body ul li, .rt ul li, .legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.content-body ul li::before, .rt ul li::before, .legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.content-body ol, .rt ol, .legal-ordered-list {
  margin-bottom: 20px;
  padding-left: 20px;
}
.content-body ol li, .rt ol li, .legal-ordered-list li {
  margin-bottom: 10px;
}

/* Callouts */
.legal-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  color: var(--text-main);
}
.callout__icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.callout--success {
  border-left-color: var(--accent-green);
}
.callout--success .callout__icon {
  color: var(--accent-green);
}
.callout--warning {
  border-left-color: #F97316;
}
.callout--warning .callout__icon {
  color: #F97316;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.legal-table th {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
}
.legal-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumbs__item a {
  color: var(--text-muted);
}
.breadcrumbs__item a:hover {
  color: var(--accent-gold);
}
.breadcrumbs__separator {
  margin-left: 8px;
  color: var(--border-default);
}
.breadcrumbs__item.is-active {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}
.sidebar-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.sidebar-link-item a:hover {
  background: var(--bg-card-hover);
  color: var(--accent-gold);
}

/* ==========================================================================
   GLOBAL CTA BANNER
   ========================================================================== */
.section--cta-banner {
  padding: 60px 0;
  background: var(--bg-deep);
}
.cta-banner-box {
  background: linear-gradient(135deg, #151E2E 0%, #111827 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-lg);
}
.cta-banner-box__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.cta-banner__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
}
.cta-banner__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cta-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.stamp-card {
  background: var(--bg-surface);
  border: 2px dashed var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}
.stamp-icon {
  color: var(--accent-gold);
}
.stamp-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.04em;
}
.stamp-sub {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-payment-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 600;
}
.footer-heading {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.footer-contact-link:hover { color: var(--text-main); }
.footer-contact-link--wa:hover { color: #25D366; }
.footer-contact-link--tg:hover { color: #229ED9; }
.footer-contact-link--vk:hover { color: #4C75A3; }
.footer-contact-link--max:hover { color: var(--accent-gold); }
.footer-contact-link--phone { color: var(--accent-gold); font-weight: 700; }
.footer-trust-links {
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.footer-trust-links a {
  color: var(--text-dim);
}
.footer-trust-links a:hover {
  color: var(--accent-gold);
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  gap: 16px;
}
.footer-bottom__links {
  display: flex;
  gap: 16px;
}
.footer-bottom__links a {
  color: var(--text-dim);
}
.footer-bottom__links a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}
.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 6px;
  cursor: pointer;
}
.modal-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}
.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-system);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
}
.form-guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.form-privacy-note {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}
.form-privacy-note a {
  color: var(--text-muted);
  text-decoration: underline;
}
.success-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.success-box .icon-lg {
  color: var(--accent-green);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   Breakpoints: 1024px, 768px, 425px, 375px, 320px
   ========================================================================== */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-box {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Hide Desktop Nav and show Mobile Hamburger */
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .top-bar {
    display: none; /* Clean mobile header */
  }
  
  /* Strictly convert overflowing flex containers into columns */
  .hero__actions, .cta-banner__actions, .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-bottom {
    text-align: center;
    gap: 12px;
  }
  .footer-bottom__links {
    justify-content: center;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  
  .hero__title {
    font-size: 28px;
  }
  .section-title {
    font-size: 24px;
  }
  .content-body h1, .rt h1 {
    font-size: 26px;
  }
  .content-body h2, .rt h2 {
    font-size: 20px;
  }
  
  .calc-wrapper {
    padding: 20px;
  }
  .cta-banner-box {
    padding: 24px;
  }
}

@media (max-width: 425px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .btn--lg {
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-title {
    font-size: 16px;
  }
}
