:root {
  --bg-pure: #000000;
  --bg-base: #181818;
  --bg-surface: #1F1F1F;
  --bg-elevated: #272727;
  --bg-hover: #313131;
  --bg-warm: #131209;

  --text-primary: #FFFFFF;
  --text-secondary: #9B9B9B;
  --text-muted: #6E6E6E;

  --accent-amber: #F59E0B;
  --accent-tg: #2A7DE1;
  --accent-wa: #25D366;
  --accent-max: #7C3AED;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --ease-out-weighted: cubic-bezier(0.22, 1, 0.36, 1);

  /* Strict Spacing Scale (B2) */
  --sp-0: 0px;
  --sp-25: 2px;
  --sp-50: 4px;
  --sp-75: 8px;
  --sp-100: 12px;
  --sp-150: 14px;
  --sp-200: 16px;
  --sp-300: 24px;
  --sp-400: 32px;
  --sp-500: 40px;
  --sp-600: 48px;
  --sp-700: 64px;
  --sp-800: 80px;
  --sp-900: 96px;

  /* Tailwind Radius Scale (B3) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-3xl: 24px;
  --radius-full: 9999px;

  /* Safe offset for fixed navbar */
  --nav-safe-offset: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-safe-offset);
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-pure);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevent sections from hiding under fixed header */
section[id] {
  scroll-margin-top: var(--nav-safe-offset);
}

/* Type Scale (B1) */
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-base { font-size: 16px; line-height: 24px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 30px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 48px; line-height: 1; }

.font-mono {
  font-family: 'Geist Mono', monospace;
}

h1, h2, h3, h4 {
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* Skip link (B10) */
.skip-link {
  position: absolute;
  top: -64px;
  left: var(--sp-200);
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: var(--sp-75) var(--sp-100);
  border-radius: var(--radius-lg);
  z-index: 1000;
  text-decoration: none;
  transition: transform 300ms var(--ease-out-weighted);
}
.skip-link:focus {
  transform: translateY(80px);
  outline: 2px solid var(--accent-amber);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-300);
}

/* Floating Navigation (B7) */
.nav-wrapper {
  position: fixed;
  top: var(--sp-200);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 var(--sp-200);
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.nav-shell {
  width: 100%;
  max-width: 980px;
  position: relative;
  pointer-events: auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-200);
  background-color: rgba(24, 24, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: var(--sp-75) var(--sp-200);
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.brand-prefix {
  margin-right: -2px; /* компенсирует хвостовой letter-spacing буквы Р */
  line-height: 1;
}

.brand-suffix {
  line-height: 1;
}

.brand-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-amber);
  border-radius: var(--radius-full);
  position: relative;
  flex-shrink: 0;
  margin: 0 6px; /* абсолютно равные зазоры 6px от контура Р и В */
}

.brand-o::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-amber);
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-300);
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 300ms var(--ease-out-weighted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: var(--radius-full);
  background-color: var(--accent-amber);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-75);
  flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 250ms var(--ease-out-weighted), border-color 250ms var(--ease-out-weighted);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-strong);
}

.burger-bar {
  width: 16px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
}

.mobile-menu-btn[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Dropdown Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: rgba(24, 24, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: var(--sp-200);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-50);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-100) var(--sp-200);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  transition: background-color 200ms var(--ease-out-weighted), color 200ms var(--ease-out-weighted);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

.mobile-nav-footer {
  margin-top: var(--sp-100);
  padding-top: var(--sp-100);
  border-top: 1px solid var(--border-subtle);
}

/* Buttons (B1, B2, B9) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: var(--sp-75) var(--sp-200);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 300ms var(--ease-out-weighted), background-color 300ms var(--ease-out-weighted), border-color 300ms var(--ease-out-weighted), opacity 300ms var(--ease-out-weighted);
}

.btn-sm {
  font-size: 14px;
  line-height: 20px;
  padding: var(--sp-75) var(--sp-200);
  border-radius: var(--radius-full);
}

.btn-lg {
  padding: var(--sp-100) var(--sp-300);
  border-radius: var(--radius-xl);
}

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

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

.btn:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-pure);
}

.btn-primary:hover {
  background-color: #E5E5E5;
}

.btn-amber {
  background-color: var(--accent-amber);
  color: var(--bg-pure);
}

.btn-amber:hover {
  background-color: #FBBF24;
}

.btn-surface {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-surface:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-strong);
}

/* Messenger Buttons */
.btn-tg {
  background-color: #1F1F1F;
  color: var(--text-primary);
  border: 1px solid rgba(42, 125, 225, 0.35);
}
.btn-tg:hover {
  background-color: #272727;
  border-color: var(--accent-tg);
}

.btn-wa {
  background-color: #1F1F1F;
  color: var(--text-primary);
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background-color: #272727;
  border-color: var(--accent-wa);
}

.btn-max {
  background-color: #1F1F1F;
  color: var(--text-primary);
  border: 1px solid rgba(124, 58, 237, 0.35);
}
.btn-max:hover {
  background-color: #272727;
  border-color: var(--accent-max);
}

/* Hero Section (Luxury Architectural Blur & Laser Horizon) */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 112px;
  padding-bottom: var(--sp-600);
  background-color: var(--bg-pure);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.hero-bg-image {
  position: absolute;
  inset: -20px;
  background-image: url('assets/hero-luxury-bg.jpg');
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  filter: blur(3.8px) brightness(0.94) contrast(1.15);
  transform: scale(1.04) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  opacity: 0.70;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(11, 11, 11, 0.88) 0%, rgba(11, 11, 11, 0.74) 42%, rgba(11, 11, 11, 0.35) 75%, rgba(11, 11, 11, 0.80) 100%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.65) 0%, transparent 18%, transparent 78%, #0B0B0B 100%);
  will-change: transform;
  transform: translateZ(0);
}

.ambient-glow-hero {
  position: absolute;
  top: 25%;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ambient-glow-calc {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--sp-600);
  align-items: center;
}

.hero-left {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: var(--sp-50) var(--sp-100);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  margin-bottom: var(--sp-300);
  max-width: 100%;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-wa);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hero-heading {
  max-width: 680px;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #FFFFFF 0%, #B8B8B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-300);
}

.hero-sub {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 24px;
}

/* Hero Actions Row (Master Status & Calculate Estimate Side by Side) */
.hero-actions-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: 72px;
  margin-bottom: var(--sp-400);
}

.hero-actions-row .hero-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 8px;
  margin-bottom: 0;
  width: auto;
  max-width: 100%;
  height: 52px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
  user-select: none;
  flex-shrink: 0;
}

.hero-actions-row .hero-author-badge:hover {
  border-color: var(--accent-amber);
  background: rgba(34, 34, 34, 0.95);
  transform: translateY(-1px);
}

.hero-actions-row .hero-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.hero-actions-row .hero-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

@media (max-width: 860px) {
  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .hero-actions-row .hero-author-badge,
  .hero-actions-row .hero-action-btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin-bottom: var(--sp-400);
}

/* Extended Trust Bar Across Full Container Width */
.hero-proof-strip {
  width: 100%;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-200);
  padding-top: var(--sp-300);
  border-top: 1px solid var(--border-subtle);
}

.proof-strip-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-300);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-50);
  min-width: 0;
}

.proof-num {
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

.proof-desc {
  color: var(--text-secondary);
}

/* Hero Author Badge (Status Bar - Exact Uniform Width 440px) */
.hero-author-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 6px;
  margin-bottom: 0;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.hero-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 35%, #2a2a2a 0%, #111111 100%);
  border: 1.5px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
  overflow: hidden;
}

.hero-author-avatar svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-author-name {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-author-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ADE80;
  font-weight: 500;
  white-space: nowrap;
}

.hero-author-btn {
  margin-left: auto;
  border-radius: var(--radius-full);
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  background-color: var(--bg-surface);
  white-space: nowrap;
}

/* Flagship Node Showcase (Hero Visual) */
.hero-showcase {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 300ms var(--ease-out-weighted), border-color 300ms ease, box-shadow 300ms ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-showcase:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.18);
}

.hero-showcase:hover .hero-showcase-img {
  transform: scale(1.04);
}

.hero-showcase:hover .hero-showcase-arrow {
  background-color: var(--accent-amber);
  color: #000000;
  transform: translateX(4px);
}

.hero-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0d0d0d;
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Interactive Hotspots on Showcase */
.hero-hotspot {
  position: absolute;
  z-index: 3;
  cursor: pointer;
}

.hotspot-1 {
  bottom: 24%;
  left: 20%;
}

.hotspot-1 .hotspot-label {
  left: 0;
  transform: none;
}

.hotspot-2 {
  top: 36%;
  right: 22%;
}

.hotspot-2 .hotspot-label {
  left: auto;
  right: 0;
  transform: none;
}

.hotspot-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  display: block;
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.hotspot-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--border-strong);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-showcase:hover .hotspot-label {
  opacity: 1;
  border-color: var(--accent-amber);
}

.hero-showcase-footer {
  padding: 16px 20px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-showcase-title {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.hero-showcase-sub {
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-showcase-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 200ms ease;
  white-space: nowrap;
}

.hero-showcase:hover .hero-showcase-action {
  background: var(--accent-amber);
  color: #000000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  transform: translateX(2px);
}

/* Digital Business Card Hub (Right Column in Hero) */
.hub-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-3xl);
  padding: var(--sp-400);
  min-width: 0;
}

.hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-100);
  margin-bottom: var(--sp-200);
  padding-bottom: var(--sp-200);
  border-bottom: 1px solid var(--border-subtle);
}

.hub-master {
  display: flex;
  align-items: center;
  gap: var(--sp-150);
  min-width: 0;
}

.hub-master-info {
  min-width: 0;
}

.hub-master-title {
  line-height: 1.25;
}

.hub-avatar {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 35%, #242424 0%, #111111 100%);
  border: 1.5px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.28), inset 0 0 8px rgba(245, 158, 11, 0.15);
  flex-shrink: 0;
}

.avatar-brand-text {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 0;
}

.avatar-brand-text .avatar-prefix {
  margin-right: -0.6px; /* компенсируем letter-spacing буквы Р */
  line-height: 1;
}

.avatar-brand-text .avatar-suffix {
  line-height: 1;
}

.avatar-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  margin: 0 3px; /* абсолютно равные зазоры 3px от контура Р и В */
  box-shadow: 0 0 6px var(--accent-amber);
  flex-shrink: 0;
}

.hub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ADE80;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.16);
  white-space: nowrap;
}

.status-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  animation: pulse-ring 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.92) translateZ(0);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.28) translateZ(0);
    opacity: 0.45;
  }
  100% {
    transform: scale(0.92) translateZ(0);
    opacity: 0.95;
  }
}

.hub-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

/* Nested radius: outer 24px (radius-3xl) -> inner radius-xl (12px) */
.hub-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-100);
  padding: var(--sp-150) var(--sp-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
  transition: transform 300ms var(--ease-out-weighted), background-color 300ms var(--ease-out-weighted), border-color 300ms var(--ease-out-weighted);
}

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

.hub-btn:active {
  transform: scale(0.98);
}

.hub-btn-left {
  display: flex;
  align-items: center;
  gap: var(--sp-100);
  min-width: 0;
  flex: 1;
}

.hub-btn-title {
  font-size: 15px;
  line-height: 20px;
  color: var(--text-primary);
}

.hub-btn-meta {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-btn-phone {
  color: var(--text-primary);
  font-weight: 700;
}

.hub-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-elevated);
  flex-shrink: 0;
}

/* Golden Amber Laser Beam Dividers with Central Crystal */
.section-divider-amber {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.15) 15%, #F59E0B 50%, rgba(245, 158, 11, 0.15) 85%, transparent 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5), 0 0 4px #F59E0B;
  margin: 0;
  border: none;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-divider-amber::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--accent-amber);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--accent-amber), 0 0 4px #FFF;
  border-radius: 1px;
}

/* Sections */
.section {
  padding: 52px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Technical Blueprint Laser Grid Section (Calculator & Standards) */
.section-blueprint {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-pure);
}

.blueprint-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('assets/blueprint-grid-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  filter: contrast(1.3) brightness(0.9);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

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

.section-header {
  max-width: 680px;
  margin-bottom: var(--sp-300);
  position: relative;
}

.section-title {
  margin-bottom: var(--sp-200);
  position: relative;
  z-index: 1;
}

/* Luxury Gold Borders & Top Bevels (Concept 3) */
.calc-panel-controls,
.calc-panel-summary,
.hero-showcase,
.final-cta-hub-card,
.benefit-card,
.comparison-table-wrap {
  position: relative;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  box-shadow: inset 0 1px 0 rgba(245, 158, 11, 0.4), 0 14px 40px rgba(0, 0, 0, 0.5) !important;
}

.calc-panel-controls::before,
.hero-showcase::before,
.final-cta-hub-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F59E0B, transparent);
  box-shadow: 0 0 12px #F59E0B;
  pointer-events: none;
  z-index: 2;
}

.section-eyebrow {
  color: var(--accent-amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-75);
  display: block;
}

/* Portfolio Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: var(--sp-400);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 300ms var(--ease-out-weighted), color 300ms var(--ease-out-weighted), border-color 300ms var(--ease-out-weighted), transform 300ms var(--ease-out-weighted);
}

.filter-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-elevated);
}

.filter-btn.active {
  background-color: var(--text-primary);
  color: var(--bg-pure);
  border-color: var(--text-primary);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-300);
}

/* Outer card radius-2xl (16px), gap 8px -> inner image radius-lg (8px) */
.work-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--sp-75);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-width: 0;
  transition: transform 500ms var(--ease-out-weighted), border-color 300ms var(--ease-out-weighted), background-color 300ms var(--ease-out-weighted);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background-color: var(--bg-elevated);
}

.work-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-pure);
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out-weighted);
}

.work-card:hover .work-img {
  transform: scale(1.04);
}

.work-tag {
  position: absolute;
  top: var(--sp-75);
  left: var(--sp-75);
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  padding: var(--sp-50) var(--sp-75);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.work-body {
  padding: var(--sp-200) var(--sp-75) var(--sp-75);
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
  flex: 1;
  min-width: 0;
}

.work-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: auto;
  padding-top: var(--sp-125);
}

.spec-pill {
  background-color: var(--bg-base);
  color: var(--text-secondary);
  padding: var(--sp-25) var(--sp-75);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Portfolio Spec Pills (Spacious, airy & distinct styling) */
.work-specs .spec-pill {
  background: rgba(245, 158, 11, 0.08);
  color: #E5E7EB;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: -0.01em;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.work-card:hover .work-specs .spec-pill {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.14);
  color: #FFFFFF;
}

/* Portfolio Expand / Collapse Actions Bar */
.portfolio-actions-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  width: 100%;
}

.portfolio-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background-color: #15161B;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.15);
  transition: all 250ms var(--ease-out-weighted);
  cursor: pointer;
}

.portfolio-toggle-btn:hover {
  background-color: #1F2128;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 158, 11, 0.3);
}

.portfolio-toggle-btn.expanded .portfolio-toggle-icon {
  transform: rotate(180deg);
}

.portfolio-toggle-icon {
  color: var(--accent-amber);
  transition: transform 300ms var(--ease-out-weighted);
  flex-shrink: 0;
}

/* Tagline Reveal Section (Compressed 2x) */
.tagline-section {
  padding: 38px 0;
  background-color: var(--bg-pure);
}

.tagline-text {
  max-width: 100%;
  width: 100%;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tagline-word {
  color: var(--text-primary);
  opacity: 0.25;
  transition: opacity 500ms var(--ease-out-weighted);
  display: inline-block;
  margin-right: 0.26em;
}

.tagline-word.active {
  opacity: 1;
}

/* Benefits Grid (Standards) - Компактный размер (-50% площади) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 200ms ease, border-color 200ms ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
}

.benefit-card h3 {
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
}

.benefit-card p {
  font-size: 12.5px !important;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   ENGINEERING COST CALCULATOR (Clean Classic Dashboard, Compact)
   ========================================================================== */
.calc-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.calc-panel-controls,
.calc-panel-summary {
  background-color: #111215;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 24px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.calc-panel-controls {
  justify-content: space-between;
  gap: 20px;
}

.calc-panel-summary {
  justify-content: flex-start;
}

.calc-panel-controls .calc-field-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-field-group {
  margin-bottom: 16px;
}

.calc-field-group:last-child {
  margin-bottom: 0;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 14px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-area-num {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-amber);
}

/* Repair Type Grid: 2 columns, dark subtle buttons */
.calc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-type-grid button:last-child:nth-child(odd) {
  grid-column: span 2;
}

.calc-type-btn {
  background-color: #15161B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #E5E7EB;
  text-align: left;
  cursor: pointer;
  transition: all 180ms ease;
}

.calc-type-btn:hover {
  background-color: #1B1D24;
  border-color: rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
}

.calc-type-btn.active {
  background-color: rgba(245, 158, 11, 0.08);
  border-color: var(--accent-amber);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

/* Slider Box */
.calc-slider-box {
  width: 100%;
}

.range-slider {
  width: 100%;
  accent-color: var(--accent-amber);
  height: 8px;
  background: #181920;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 8px;
}

.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Tier Grid (3 Buttons) */
.calc-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calc-tier-btn {
  background-color: #15161B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #E5E7EB;
  text-align: center;
  cursor: pointer;
  transition: all 180ms ease;
}

.calc-tier-btn:hover {
  background-color: #1B1D24;
  border-color: rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
}

.calc-tier-btn.active {
  background-color: rgba(245, 158, 11, 0.08);
  border-color: var(--accent-amber);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

/* Tech Options Checks */
.calc-tech-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-tech-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #15161B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 180ms ease;
  user-select: none;
}

.calc-tech-card:hover {
  background-color: #1B1D24;
  border-color: rgba(245, 158, 11, 0.35);
}

.calc-tech-card.active,
.calc-tech-card:has(input:checked) {
  background-color: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.5);
}

.calc-tech-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-tech-check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: #0E0F12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: transparent;
  flex-shrink: 0;
  transition: all 160ms ease;
}

.calc-tech-card.active .calc-tech-check-box,
.calc-tech-card:has(input:checked) .calc-tech-check-box {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #000000;
}

.calc-tech-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Right Panel: Summary & Action */
.calc-summary-header {
  margin-bottom: 12px;
}

.calc-spec-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  margin-bottom: 6px;
}

.calc-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.calc-summary-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.calc-price-board {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.calc-price-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-price-val {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 4px 0;
  line-height: 1.25;
}

.calc-price-sub {
  font-size: 12px;
  color: var(--accent-amber);
  font-weight: 600;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.calc-action-btn {
  width: 100%;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.calc-action-btn.btn-amber {
  background: var(--accent-amber);
  color: #000000;
  font-weight: 700;
}

.calc-action-btn.btn-amber:hover {
  background: #D97706;
}

.calc-action-btn.btn-surface {
  background: #18191E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.calc-action-btn.btn-surface:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.calc-action-btn.btn-subtle {
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9CA3AF;
  font-size: 12.5px;
}

.calc-action-btn.btn-subtle:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* How It Works (3 Steps) - 50% Compact Height */
#steps {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

#steps .section-header {
  margin-bottom: 22px !important;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  gap: 6px;
  min-width: 0;
  transition: transform 250ms ease, border-color 250ms ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}

.step-num {
  color: var(--accent-amber);
  font-weight: 700;
  font-size: 14px !important;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.step-card h3 {
  font-size: 15.5px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  font-weight: 700;
  color: #FFFFFF;
}

.step-card p {
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: var(--text-secondary);
}

/* ==========================================================================
   REVIEWS SECTION: Premium Client Reviews (Compact -50% Height, No Photos)
   ========================================================================== */
#reviews {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

#reviews .section-header {
  margin-bottom: 22px !important;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.review-card {
  background: #121316;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 250ms ease, border-color 250ms ease;
  min-height: unset;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}

.review-card-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 13px;
  letter-spacing: 2px;
}

.review-rating-val {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.review-badge-inline {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.review-card-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px !important;
  line-height: 1.35;
  margin-bottom: 8px;
}

.review-card-text {
  color: var(--text-secondary);
  font-size: 13px !important;
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}

.review-card-footer {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.review-avatar-pink {
  background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
}

.review-avatar-green {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

.review-author-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.review-author-loc {
  color: var(--text-muted);
  font-size: 11px;
  display: block;
  margin-top: 1px;
}

.review-tags {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}

/* Video Message Proof Box - Compact */
.video-proof-box {
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.video-proof-circle {
  position: relative;
  width: 54px;
  height: 54px;
  min-width: 54px;
}

.video-proof-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--accent-amber);
}

.video-proof-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-proof-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #FFFFFF;
  margin-left: 2px;
}

.video-proof-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  animation: livePulse 2.5s infinite;
}

.video-proof-info {
  flex: 1;
  min-width: 0;
}

.video-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 11px;
}

.video-proof-cta {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .video-proof-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .video-proof-cta {
    width: 100%;
    justify-content: center;
  }
}

/* FAQ Section - 50% Height Compact */
#faq {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

#faq .section-header {
  max-width: 100%;
  margin-bottom: 20px !important;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}

.faq-item {
  background-color: #121316;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.28);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  padding: 11px 18px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: color 200ms ease;
}

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

.faq-answer {
  padding: 0 18px 12px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.45;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 16px;
  transition: transform 300ms var(--ease-out-weighted);
  flex-shrink: 0;
  color: var(--accent-amber);
}

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

/* Final CTA Card - Expanded Width & Compact 2-Column Grid */
#contacts {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  background-color: #050507;
}

.final-cta-hub-card {
  background: #000000 !important;
  background-color: #000000 !important;
  border: 1px solid rgba(245, 158, 11, 0.38) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(245, 158, 11, 0.45) !important;
  max-width: 1040px !important;
  margin: 0 auto;
  padding: 24px 32px !important;
  border-radius: 20px !important;
}

.final-cta-hub-card .hub-card-header {
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.final-cta-hub-card .hub-avatar {
  width: 50px;
  height: 50px;
  min-width: 50px;
}

.final-cta-hub-card .avatar-brand-text {
  font-size: 8px;
  letter-spacing: 0.5px;
}

.final-cta-hub-card .avatar-brand-text .avatar-prefix {
  margin-right: -0.5px;
}

.final-cta-hub-card .avatar-dot {
  width: 3px;
  height: 3px;
  margin: 0 2.5px;
}

.final-cta-intro {
  margin-bottom: 14px;
}

.final-cta-title {
  margin-bottom: 6px !important;
  font-size: 20px !important;
  font-weight: 700;
  color: #FFFFFF;
}

.final-cta-desc {
  color: var(--text-secondary);
  font-size: 13.5px !important;
  line-height: 1.45;
  margin-bottom: 14px !important;
}

.final-cta-hub-card .hub-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
  margin-top: 14px !important;
}

.final-cta-hub-card .hub-btn {
  background-color: #0B0C0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 12px;
}

.final-cta-hub-card .hub-btn:hover {
  background-color: #13141A;
  border-color: rgba(245, 158, 11, 0.45);
}

.final-cta-hub-card .hub-btn-title {
  font-size: 13.5px;
}

.final-cta-hub-card .hub-btn-meta {
  font-size: 11.5px;
}

@media (max-width: 640px) {
  .final-cta-hub-card {
    padding: 18px 16px !important;
  }
  .final-cta-hub-card .hub-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* Lightbox Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-300);
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-3xl);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  transform: translateY(24px);
  transition: transform 500ms var(--ease-out-weighted);
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-img-col {
  background-color: var(--bg-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.modal-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.modal-info-col {
  padding: var(--sp-400);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-300);
  min-width: 0;
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-100);
  margin-bottom: var(--sp-200);
}

.modal-actions-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

.modal-nav-row {
  display: flex;
  gap: var(--sp-75);
  margin-bottom: var(--sp-50);
}

/* Scroll Reveal (B7) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  backface-visibility: hidden;
  transition: opacity 650ms var(--ease-out-weighted), transform 650ms var(--ease-out-weighted);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Footer - Fully Centered & Spread Width */
.footer {
  padding: 38px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg-pure);
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 21px;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 0;
}

.footer-logo .brand-prefix {
  margin-right: -0.16em; /* полностью убирает паразитный хвостовой letter-spacing от буквы Р */
  line-height: 1;
}

.footer-logo .brand-suffix {
  line-height: 1;
}

.footer-logo .brand-o {
  width: 26px;
  height: 26px;
  margin: 0 8px; /* строго одинаковые зазоры 8px от контура букв Р и В */
}

.footer-logo .brand-o::after {
  width: 7px;
  height: 7px;
}

.footer-copy {
  color: var(--text-secondary);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.footer-geo {
  color: var(--text-muted);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 840px;
}

.footer-phone-link {
  color: var(--accent-amber);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 200ms ease, color 200ms ease;
}

.footer-phone-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Tablet & Mobile Responsive (<= 960px) */
@media (max-width: 960px) {
  .hero-grid,
  .calc-wrapper,
  .modal-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .portfolio-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Smartphone Responsive (<= 640px) */
@media (max-width: 640px) {
  :root {
    --nav-safe-offset: 84px;
  }

  .container {
    padding: 0 var(--sp-200);
  }

  .nav-wrapper {
    top: var(--sp-100);
    padding: 0 var(--sp-100);
  }

  .navbar {
    padding: 6px 6px 6px var(--sp-150);
    gap: var(--sp-75);
  }

  .brand-logo {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .brand-logo .brand-prefix {
    margin-right: -1.5px;
  }

  .brand-o {
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }

  .nav-cta-btn {
    padding: 7px 12px;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: var(--sp-600);
  }

  .hero-grid {
    gap: var(--sp-400);
  }

  .hero-badge {
    font-size: 11px;
    line-height: 15px;
    margin-bottom: var(--sp-200);
  }

  .hero-heading {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.15;
    margin-bottom: var(--sp-200);
  }

  .hero-sub {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: var(--sp-300);
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-100);
    margin-bottom: var(--sp-300);
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-100);
    padding-top: var(--sp-200);
  }

  .proof-num {
    font-size: clamp(16px, 4.8vw, 20px);
    line-height: 24px;
  }

  .proof-desc {
    font-size: 11px;
    line-height: 15px;
  }

  .portfolio-grid,
  .benefits-grid,
  .steps-grid,
  .calc-options,
  .calc-options-3,
  .calc-checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-bar {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--sp-75);
    margin-bottom: var(--sp-300);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hub-card,
  .calc-wrapper,
  .calc-summary,
  .benefit-card,
  .step-card {
    padding: var(--sp-200);
    border-radius: var(--radius-2xl);
  }

  .hub-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .avatar-brand-text {
    font-size: 8.5px;
  }

  .hub-master-title {
    font-size: 16px;
    line-height: 22px;
  }

  .hub-btn {
    padding: var(--sp-100) var(--sp-150);
    gap: var(--sp-75);
  }

  .hub-btn-title {
    font-size: 14px;
    line-height: 20px;
  }

  .hub-btn-meta {
    font-size: 11px;
    line-height: 16px;
  }

  .calc-price-value {
    font-size: clamp(20px, 5.6vw, 26px);
  }

  .tagline-section {
    padding: var(--sp-600) 0;
  }

  .tagline-text {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.35;
  }

  .section {
    padding: var(--sp-600) 0;
  }

  .section-header {
    margin-bottom: var(--sp-300);
  }

  .section-title {
    font-size: clamp(22px, 6.2vw, 26px);
    line-height: 1.25;
  }

  .faq-question {
    font-size: 15px;
    line-height: 22px;
    padding: var(--sp-200);
  }

  .faq-answer {
    font-size: 14px;
    line-height: 21px;
    padding: 0 var(--sp-200) var(--sp-200);
  }

  .modal-backdrop {
    padding: var(--sp-100);
  }

  .modal-content {
    max-height: calc(100vh - 24px);
    border-radius: var(--radius-2xl);
  }

  .modal-img-col {
    min-height: 220px;
  }

  .modal-img {
    max-height: 42vh;
  }

  .modal-info-col {
    padding: var(--sp-200);
    gap: var(--sp-200);
  }

  .footer {
    padding: 32px 0 84px;
  }

  .footer-center {
    gap: 12px;
  }
}

/* Ultra-compact screens (<= 360px, e.g. iPhone SE / compact Android) */
@media (max-width: 360px) {
  .nav-cta-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .hub-btn {
    padding: 10px 12px;
  }
  .hub-btn-title {
    font-size: 13px;
  }
  .hub-btn-meta {
    font-size: 10.5px;
  }
  .proof-strip {
    gap: 6px;
  }
}

/* ==========================================================================
   OMNI-CHANNEL FLOATING CONTACT & CHAT WIDGET (SPEED-DIAL)
   ========================================================================== */
.omni-widget-root {
  position: fixed;
  bottom: 24px;
  right: 14px;
  z-index: 120;
  pointer-events: none;
}

.omni-widget-root.is-chat-open {
  z-index: 1300;
}

/* На *.netlify.app хостинг вставляет плашку «Powered by Netlify» в правый нижний угол — поднимаем виджет над ней */
.host-netlify-badge.omni-widget-root,
.host-netlify-badge .omni-widget-root {
  bottom: 76px;
}

/* Speed-Dial Menu */
.omni-menu {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 310px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(245, 158, 11, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms var(--ease-out-weighted), visibility 220ms ease;
  pointer-events: none;
  z-index: 130;
}

.omni-widget-root.is-menu-open .omni-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.omni-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.omni-master-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ADE80;
  font-weight: 700;
}

.omni-menu-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 150ms ease;
}

.omni-menu-close:hover {
  color: var(--text-primary);
}

.omni-menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.omni-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 200ms var(--ease-out-weighted);
}

.omni-action-btn:hover {
  background-color: var(--bg-elevated);
  border-color: var(--accent-amber);
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.omni-action-btn:active {
  transform: scale(0.98);
}

.omni-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  transition: border-color 200ms ease;
}

.omni-action-btn:hover .omni-icon-wrap {
  border-color: currentColor;
}

.omni-action-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.omni-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.omni-action-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Floating Trigger Button */
.omni-trigger-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(22, 22, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-full);
  padding: 6px 13px 6px 9px;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(245, 158, 11, 0.22);
  transition: transform 250ms var(--ease-out-weighted), box-shadow 250ms ease, border-color 250ms ease, opacity 200ms ease, visibility 200ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.omni-trigger-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent-amber);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 26px rgba(245, 158, 11, 0.35);
}

.omni-trigger-btn:active {
  transform: scale(0.98);
}

.omni-widget-root.is-menu-open .omni-trigger-btn {
  border-color: var(--accent-amber);
  background: var(--bg-elevated);
}

/* При открытом окне чата плавно скрываем триггер */
.omni-widget-root.is-chat-open .omni-trigger-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.85) translateY(8px);
}

.omni-trigger-icons {
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 18px;
  height: 18px;
}

.omni-trigger-icons svg {
  width: 18px;
  height: 18px;
}

.omni-icon-phone,
.omni-icon-chat {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 300ms ease, transform 300ms ease;
}

.omni-icon-chat {
  opacity: 0;
  transform: rotate(-20deg) scale(0.8);
}

.omni-trigger-btn:hover .omni-icon-phone {
  opacity: 0;
  transform: rotate(20deg) scale(0.8);
}

.omni-trigger-btn:hover .omni-icon-chat {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.omni-trigger-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #F3F4F6;
  white-space: nowrap;
}

/* Chat Floating Window */
.chat-window {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background: #141414;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), transform 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 280ms;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat Header */
.chat-header {
  padding: 14px 18px;
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 35%, #2a2a2a 0%, #121212 100%);
  border: 1.5px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.chat-avatar-text {
  font-family: 'Geist Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #F3F4F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 0;
}

.chat-avatar-text .avatar-prefix {
  margin-right: -0.4px; /* компенсируем letter-spacing буквы Р */
  line-height: 1;
}

.chat-avatar-text .avatar-suffix {
  line-height: 1;
}

.chat-avatar .avatar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  margin: 0 2.5px; /* абсолютно симметричные зазоры 2.5px */
  box-shadow: 0 0 6px var(--accent-amber);
  flex-shrink: 0;
}

.chat-header-info {
  min-width: 0;
}

.chat-title {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.chat-subtitle {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 11.5px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  flex-shrink: 0;
}

.chat-close-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 200ms ease;
  flex-shrink: 0;
}

.chat-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Chat Body & Messages */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #111111;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  gap: 4px;
  animation: chatMsgFade 250ms var(--ease-out-weighted);
}

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

.chat-msg.master {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 19px;
  word-break: break-word;
}

.chat-msg.master .chat-msg-bubble {
  background-color: #222222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #F3F4F6;
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.chat-msg-time {
  font-size: 10px;
  color: var(--text-muted);
  padding: 0 4px;
}

.chat-msg.user .chat-msg-time {
  text-align: right;
}

/* Typing Indicator */
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #222222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chips Suggestions */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
}

.chat-chip {
  background: rgba(36, 36, 36, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #E5E7EB;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  touch-action: manipulation;
}

.chat-chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-amber);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Input Bar */
.chat-input-bar {
  padding: 10px 14px;
  background: #181818;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: #242424;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 9px 14px;
  color: #FFFFFF;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent-amber);
  border: none;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background-color: #FBBF24;
  transform: scale(1.05);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

/* Omni Widget & Calc Responsive */
@media (max-width: 768px) {
  .calc-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc-panel-controls,
  .calc-panel-summary {
    padding: 18px 16px;
  }

  .proof-strip-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .final-cta-hub-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .omni-widget-root {
    bottom: 16px;
    right: 16px;
    left: 16px;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
  }

  .host-netlify-badge.omni-widget-root,
  .host-netlify-badge .omni-widget-root {
    bottom: 68px;
  }

  .omni-menu {
    width: calc(100vw - 32px);
    max-width: 330px;
    right: 0;
    bottom: calc(100% + 10px);
  }

  .omni-trigger-btn {
    margin-left: auto;
    padding: 8px 14px 8px 10px;
  }

  .chat-window {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    height: 520px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: var(--radius-2xl);
  }

  .host-netlify-badge .chat-window {
    bottom: 64px;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transform: none;
  }
  .btn:hover,
  .work-card:hover,
  .hub-btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   COMPARISON MATRIX SECTION (УРОВЕНЬ vs Частники vs Студии)
   ========================================================================== */
.comparison-wrap {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  background: #111215;
  overflow: hidden;
  box-shadow: 
    0 24px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(245, 158, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.comparison-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.comp-row {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.1fr 1.1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-header {
  background: #15161B;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.45);
}

.comp-cell {
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  background: #111215;
}

.comp-cell:last-child {
  border-right: none;
}

.comp-criteria-head {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 14px 16px;
  background: #15161B;
}

.comp-criteria-badge {
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

.comp-head-uroven {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-top: 3px solid var(--accent-amber);
  border-right: 1.5px solid rgba(245, 158, 11, 0.45);
  border-left: 1.5px solid rgba(245, 158, 11, 0.45);
  position: relative;
  gap: 4px;
  padding: 14px 16px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.comp-brand-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center !important;
  width: 100%;
}

.comp-brand-sub {
  color: var(--text-secondary);
  font-size: 12px;
  text-align: center !important;
  width: 100%;
  display: block;
}

.comp-head-other {
  gap: 4px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  background: #15161B;
  padding: 14px 16px;
}

.comp-other-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center !important;
  width: 100%;
}

.comp-head-other span {
  text-align: center !important;
  width: 100%;
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
}

.comp-criteria {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  background: #0E0F12;
  padding: 12px 16px;
}

.comp-criteria-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.comp-criteria-sub {
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.comp-col-uroven {
  background: rgba(245, 158, 11, 0.04);
  border-left: 1.5px solid rgba(245, 158, 11, 0.45);
  border-right: 1.5px solid rgba(245, 158, 11, 0.45);
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.comp-head-uroven.comp-col-uroven {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 4px !important;
}

.comp-col-uroven p {
  color: #F3F4F6;
  line-height: 1.38;
  font-size: 13.5px;
  margin: 0;
}

.comp-col-uroven strong {
  color: #FFFFFF;
}

.comp-col-other {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.comp-col-other p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.comp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-icon-yes {
  background: var(--accent-amber);
  color: #111111;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.comp-icon-no {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
}

.comp-icon-warn {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
}

@media (max-width: 980px) {
  .comp-header {
    display: none;
  }

  .comp-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .comp-cell {
    border-right: none;
    padding: 14px;
    border-radius: var(--radius-lg);
  }

  .comp-criteria {
    background: transparent;
    padding: 4px 4px 8px;
  }

  .comp-col-uroven,
  .comp-col-other {
    position: relative;
    padding-top: 34px;
  }

  .comp-col-other {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
  }

  .comp-col-uroven::before,
  .comp-col-other::before {
    content: attr(data-label);
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .comp-col-uroven::before {
    color: var(--accent-amber);
  }

  .comp-col-other::before {
    color: var(--text-muted);
  }
}

/* ==========================================================================
   3-CLICK BUDGET QUIZ INSIDE CHAT
   ========================================================================== */
.chat-chip-accent {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24) 0%, rgba(245, 158, 11, 0.12) 100%);
  border-color: var(--accent-amber);
  color: #FDE68A;
  font-weight: 700;
}

.chat-chip-accent:hover {
  background: var(--accent-amber);
  color: #111111;
}

.chat-inline-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.chat-inline-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F3F4F6;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: all 180ms ease;
}

.chat-inline-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--accent-amber);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.chat-inline-btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.chat-inline-btn.selected {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #111111;
  opacity: 1;
}

.chat-result-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.chat-result-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.chat-result-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.chat-result-tg {
  background: var(--accent-amber);
  color: #111111;
}

.chat-result-wa {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #4ADE80;
}

.chat-result-call {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #60A5FA;
}

.chat-lead-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
}

.chat-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ADE80;
  font-weight: 700;
  font-size: 12.5px;
}

.chat-lead-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.chat-lead-success.is-pending {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.chat-lead-success.is-pending .chat-lead-badge {
  color: #FBBF24;
}

.chat-lead-success.is-pending .chat-lead-pulse {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.chat-lead-success.is-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
}

.chat-lead-success.is-error .chat-lead-badge {
  color: #F87171;
}

.chat-lead-success.is-error .chat-lead-pulse {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

/* ==========================================================================
   DESKTOP QR & SOFT EXIT-INTENT POPUP MODALS
   ========================================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  width: 100%;
  background: linear-gradient(165deg, #1A1C22 0%, #121318 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateY(14px) scale(0.97);
  transition: transform 280ms var(--ease-out-weighted);
}

.popup-overlay.open .popup-card {
  transform: translateY(0) scale(1);
}

.qr-popup-card {
  max-width: 440px;
  text-align: center;
}

.exit-popup-card {
  max-width: 540px;
  background: #000000 !important;
  background-color: #000000 !important;
  border: 1px solid rgba(245, 158, 11, 0.42) !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.98), 0 0 40px rgba(245, 158, 11, 0.12) !important;
}

.exit-popup-card .exit-offer-grid {
  background: #090A0D !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.exit-popup-card .exit-promo-code-row {
  background: #111216 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 4px 6px;
  border-radius: 10px;
}

.popup-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms ease;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
  margin-bottom: 14px;
}

.popup-title {
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 10px;
}

.popup-desc {
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.qr-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
}

.qr-frame {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--accent-amber);
}

.qr-img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
}

.qr-contact-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.qr-contact-name {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.qr-contact-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-amber);
  text-decoration: none;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-offer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
}

.exit-qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.exit-qr-img {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid var(--accent-amber);
  display: block;
}

.exit-promo-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exit-promo-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exit-promo-code {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.14);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}

.exit-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 560px) {
  .exit-offer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .exit-promo-code-row {
    justify-content: center;
  }
  .exit-secondary-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-author-badge {
    width: 100%;
    padding: 6px 10px 6px 6px;
    gap: 8px;
    justify-content: space-between;
  }
  .hero-author-name {
    font-size: 13px;
  }
  .hero-author-status {
    font-size: 11px;
  }
  .hero-author-btn {
    padding: 4px 8px;
    font-size: 11px;
    flex-shrink: 0;
  }
}

/* Honeypot Trap */
.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


