/* ==========================================================================
   ПРОФЭНЕРГО - PREMIUM UX/UI 2026/2027
   Full Design System with 3D, Animations, Micro-interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --primary: #FF6B00;
  --primary-hover: #E05E00;
  --primary-light: #FFF4EC;
  --primary-glow: rgba(255, 107, 0, 0.25);

  --dark: #0F172A;
  --dark-surface: #1E293B;
  --dark-border: #334155;

  --light-bg: #FFFFFF;
  --section-alt: #F8FAFC;
  --card-bg: #FFFFFF;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-focus: #FF6B00;

  --emerald: #10B981;
  --emerald-bg: #ECFDF5;
  --amber: #F59E0B;
  --amber-bg: #FFFBEB;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 8px 20px rgba(255, 107, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.35);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container width */
  --container-max: 1240px;
}

/* Mouse Cursor Interactive Spotlight Overlay */
#mouse-spotlight {
  display: none;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #FAFAFC;
  background-image: radial-gradient(at 50% 0%, rgba(255, 107, 0, 0.035) 0%, transparent 60%);
  background-repeat: no-repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* UI Vector Icon Utility Classes */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.ui-icon-stroke {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-star-gold {
  color: #F59E0B;
  display: inline-block;
  vertical-align: middle;
}

.check-badge-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-bg);
  color: var(--emerald);
  flex-shrink: 0;
}

.cross-badge-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--danger-bg);
  color: var(--danger);
  flex-shrink: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

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

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-orange {
  color: var(--primary);
}

.text-emerald {
  color: var(--emerald);
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-children>*:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.5s;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/* Ripple effect container */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.btn.ripple::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #FF7B1A 0%, #E05E00 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.45);
  background: linear-gradient(135deg, #FF882E 0%, #EE6500 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background-color: var(--dark-surface);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
  min-height: 48px;
}

.btn-full {
  width: 100%;
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background-color: #0F172A;
  color: #94A3B8;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #E2E8F0;
  font-weight: 500;
}

.top-bar-tag {
  background: rgba(255, 107, 0, 0.2);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  animation: pulse-tag 2s ease-in-out infinite;
}

@keyframes pulse-tag {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-link {
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar-link:hover {
  color: #FFFFFF;
}

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
  transition: all var(--transition-normal);
}

.logo:hover .logo-icon {
  transform: scale(1.06) rotate(3deg);
  filter: drop-shadow(0 6px 18px rgba(255, 107, 0, 0.45));
}

.logo-icon svg {
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1;
}

.logo-title span {
  color: var(--primary);
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

/* Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 28px;
}

@media (max-width: 1200px) and (min-width: 993px) {
  .desktop-nav {
    gap: 16px;
    margin-right: 20px;
  }

  .nav-link {
    font-size: 0.875rem;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  padding: 4px 0;
  position: relative;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Mobile Header Call Button */
.mobile-header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--primary);
  text-decoration: none;
  margin-left: auto;
  margin-right: 12px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.mobile-header-call:active {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(0.95);
}

.header-phone-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-phone {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--primary);
}

.header-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: badge-pulse 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

/* Mobile Off-Canvas Navigation Drawer & Backdrop (Hidden on Desktop by default) */
.mobile-overlay,
.nav-menu {
  display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  height: 20px;
  justify-content: center;
  z-index: 1100;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  padding: 40px 0 54px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

/* Canvas Background */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.ambient-glow-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  animation: float-glow 6s ease-in-out infinite;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  animation: float-glow 8s ease-in-out infinite reverse;
}

@keyframes float-glow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -15px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background-color: var(--primary-light);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--dark);
}

.hero-title span.text-gradient {
  background: linear-gradient(135deg, #FF6B00 0%, #D95200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dynamic-word-container {
  display: inline-block;
  position: relative;
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  padding: 0 4px;
}

.dynamic-word {
  display: none;
  animation: fadeInUp 0.4s ease forwards;
}

.dynamic-word.active {
  display: inline-block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.hero-floating-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--emerald-bg);
  border: 1px solid #A7F3D0;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: #065F46;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
}

.trust-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}

/* SHOWCASE CARD — 3D TILT */
.showcase-card {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-lg);
  padding: 15px;
  color: var(--text-white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.showcase-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.showcase-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 8px;
}

.showcase-tab {
  flex: 1;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  border-radius: 6px;
  text-align: center;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  color: #FFFFFF;
}

.showcase-tab.active {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.showcase-content {
  display: none;
}

.showcase-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.showcase-svg-box {
  background-color: #0A0F1D;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.showcase-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== TICKER MARQUEE ==================== */
.ticker-marquee-wrapper {
  background: #0F172A;
  border-top: 1px solid rgba(255, 107, 0, 0.25);
  border-bottom: 1px solid rgba(255, 107, 0, 0.25);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ticker-marquee-wrapper::before,
.ticker-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.ticker-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0F172A 0%, transparent 100%);
}

.ticker-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0F172A 0%, transparent 100%);
}

.ticker-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: tickerScroll 24s linear infinite;
  will-change: transform;
}

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

.ticker-marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==================== COUNTERS SECTION ==================== */
.section-counters {
  padding: 48px 0;
  background: var(--dark);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  position: relative;
  overflow: hidden;
}

/* ==================== CLIENTS TICKER ==================== */
.section-ticker {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 16px 0;
  overflow: hidden;
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #1E293B 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #1E293B 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marqueeClients 28s linear infinite;
  will-change: transform;
}

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

.ticker-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  white-space: nowrap;
}

@keyframes marqueeClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.section-counters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.counter-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.counter-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-4px);
}

.counter-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 4px;
}

.counter-number .counter-suffix {
  font-size: 1.5rem;
  color: var(--primary);
}

.counter-label {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ==================== SECTIONS COMMON ==================== */
.section-comparison,
.section-blueprint,
.section-quiz,
.section-specs,
.section-pricing,
.section-portfolio,
.section-reviews,
.section-faq {
  padding: 64px 0;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  border-bottom: 1px solid var(--border-light);
}

.comparison-grid:last-child {
  border-bottom: none;
}

.comparison-grid.header-row {
  background-color: var(--dark);
  color: #FFFFFF;
  font-weight: 700;
}

.comparison-cell {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  transition: background-color var(--transition-fast);
}

.comparison-cell.param {
  font-weight: 700;
  color: var(--dark);
  background-color: #F8FAFC;
  border-right: 1px solid var(--border-light);
}

.comparison-cell.competitor {
  color: #64748B;
  border-right: 1px solid var(--border-light);
  background-color: var(--danger-bg);
}

.comparison-cell.moselectro {
  color: var(--dark);
  font-weight: 700;
  background-color: var(--emerald-bg);
}

.comparison-grid:hover .comparison-cell {
  filter: brightness(0.97);
}

/* ==================== BLUEPRINT SECTION ==================== */
.section-blueprint {
  background: var(--dark);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  position: relative;
  overflow: hidden;
}

.section-blueprint::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.blueprint-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  position: relative;
  transition: all var(--transition-normal);
}

.blueprint-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.blueprint-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(255, 107, 0, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.blueprint-step-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.blueprint-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.blueprint-card-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* ==================== QUIZ ==================== */
.quiz-wrapper {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quiz-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 24px 32px;
}

.quiz-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.quiz-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.quiz-header-subtitle {
  font-size: 0.8125rem;
  color: #94A3B8;
}

.quiz-live-estimate-pill {
  background: rgba(255, 107, 0, 0.15);
  border: 1.5px solid rgba(255, 107, 0, 0.5);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.15);
  animation: pulse-estimate 3s ease-in-out infinite;
}

@keyframes pulse-estimate {

  0%,
  100% {
    border-color: rgba(255, 107, 0, 0.5);
  }

  50% {
    border-color: rgba(255, 107, 0, 0.9);
    box-shadow: 0 0 24px rgba(255, 107, 0, 0.35);
  }
}

.quiz-estimate-label {
  color: #CBD5E1;
  font-weight: 500;
  font-size: 12px;
}

.quiz-estimate-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: #FF9A44;
  transition: all 0.3s ease;
}

.quiz-bonus-status-badge {
  color: var(--emerald);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quiz-body {
  padding: 32px;
}

.quiz-progress-bar-container {
  margin-top: 16px;
}

.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748B;
  margin-bottom: 6px;
}

.quiz-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary), #FF9A44);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.quiz-question-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

/* ==================== QUIZ AREA SLIDER ==================== */
.quiz-slider-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.quiz-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.quiz-area-display {
  background: var(--dark);
  color: #FFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.quiz-area-display .unit {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.quiz-range-wrapper {
  margin-bottom: 24px;
}

.quiz-range-input {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, #CBD5E1 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.quiz-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--primary);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.quiz-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.quiz-range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 10px;
}

.quiz-specs-calculated {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-spec-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.quiz-spec-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 0, 0.3);
}

.quiz-spec-pill .pill-icon {
  font-size: 20px;
}

.quiz-spec-pill .pill-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.quiz-spec-pill strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--dark);
}

.quiz-quick-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.presets-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}

.preset-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.preset-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quiz-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #FFFFFF;
}

.quiz-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.quiz-option-content {
  flex: 1;
}

.quiz-option-card:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.08);
}

.quiz-option-card:hover .quiz-option-icon,
.quiz-option-card.selected .quiz-option-icon {
  background: var(--primary);
  color: #FFF;
  transform: scale(1.08);
}

.quiz-option-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 1.5px var(--primary);
}

.quiz-option-card.pulse-select {
  animation: cardPulse 0.3s ease;
}

@keyframes cardPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.quiz-option-card input[type="radio"] {
  display: none;
}

.quiz-option-radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition-fast);
}

.quiz-option-card.selected .quiz-option-radio-custom {
  border-color: var(--primary);
  background: var(--primary);
}

.quiz-option-card.selected .quiz-option-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.quiz-option-text {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.quiz-option-subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 32px;
  border-top: 1px solid var(--border-light);
  background: var(--section-alt);
}

.quiz-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  background: #FFF;
  min-height: 44px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.messenger-selector {
  display: flex;
  gap: 8px;
}

.messenger-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.messenger-btn:hover {
  border-color: var(--primary);
}

.messenger-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* ==================== FILE ATTACH FIELD ==================== */
.file-attach-wrapper {
  position: relative;
  width: 100%;
}

.file-attach-input {
  display: none;
}

.file-attach-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-align: center;
}

.file-attach-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.file-attach-btn span:first-child {
  font-size: 18px;
}

.file-attached-name {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.file-attached-name.active {
  display: flex;
}

.file-attached-name .file-remove-btn {
  cursor: pointer;
  color: #EF4444;
  font-weight: 800;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.file-attached-name .file-remove-btn:hover {
  background: rgba(239, 68, 68, 0.15);
}

.quiz-bonus-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #FFF;
}

.quiz-bonus-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiz-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: #CBD5E1;
}

/* ==================== SPECS TABS ==================== */
.specs-tabs-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  min-height: 44px;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background-color: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.spec-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
}

.spec-list {
  margin-top: 20px;
}

.spec-item-point {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.spec-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.spec-item-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.spec-item-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.spec-visual-box {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== PRICING ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.price-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border-color: var(--primary);
}

/* Popular card — gradient animated border */
.price-card.popular {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, #FF6B00, #FF9A44, #FF6B00, #E05E00);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.15);
  animation: gradient-rotate 4s linear infinite;
  background-size: 100% 100%, 300% 300%;
}

@keyframes gradient-rotate {
  0% {
    background-position: 0 0, 0% 50%;
  }

  50% {
    background-position: 0 0, 100% 50%;
  }

  100% {
    background-position: 0 0, 0% 50%;
  }
}

.price-card.popular:hover {
  box-shadow: 0 24px 60px rgba(255, 107, 0, 0.25);
}

.price-card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, #FF7B1A 0%, #E05E00 100%);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.price-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-value-box {
  padding: 16px;
  background: var(--section-alt);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.price-from {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.price-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--dark);
}

.price-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.price-features {
  margin-bottom: 20px;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.875rem;
}

.price-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-bg);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #FFF;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  min-height: 40px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--dark);
  color: #FFF;
  border-color: var(--dark);
}

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

.portfolio-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-box img {
  transform: scale(1.06);
}

.portfolio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.portfolio-content {
  padding: 20px;
}

.portfolio-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.portfolio-task {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.portfolio-meta-grid {
  display: flex;
  gap: 24px;
}

.portfolio-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-meta-label {
  font-size: 11px;
  color: var(--text-light);
}

.portfolio-meta-val {
  font-weight: 800;
  font-size: 0.9375rem;
}

/* ==================== REVIEWS CAROUSEL ==================== */
.section-reviews {
  padding: 64px 0;
  background: var(--section-alt);
  overflow: hidden;
}

.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  min-width: 100%;
  padding: 0 10px;
}

.review-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FF9A44);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  font-size: 14px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.review-object {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.review-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.review-arrow-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ==================== LEAD MAGNET ==================== */
.section-lead-magnet {
  padding: 50px 0;
  background: var(--dark);
  color: #FFFFFF;
}

.lead-magnet-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.lead-magnet-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.lead-magnet-desc {
  font-size: 0.9375rem;
  color: #CBD5E1;
  margin-bottom: 16px;
}

/* ==================== FAQ SMOOTH ACCORDION ==================== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 107, 0, 0.3);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.08);
}

.faq-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  gap: 12px;
  transition: background-color var(--transition-fast);
  min-height: 56px;
}

.faq-header:hover {
  background-color: var(--section-alt);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #FFF;
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 20px 18px 20px;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 48px 0 24px 0;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-top: 12px;
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #CBD5E1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--dark-border);
  color: #64748B;
  font-size: 0.8125rem;
}

/* ==================== MOBILE UNIFIED BOTTOM BAR ==================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  gap: 10px;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-bottom-bar.hidden-bar {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  height: 46px;
  box-sizing: border-box;
}

.mobile-call-btn {
  flex: 0 0 115px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-call-btn:active {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-calc-btn {
  flex: 1;
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  animation: cta-pulse 2.5s ease-in-out infinite;
}

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

@keyframes cta-pulse {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  }

  50% {
    box-shadow: 0 4px 22px rgba(255, 107, 0, 0.7);
  }
}

/* Form Consent Checkbox */
.form-consent-group {
  margin: 10px 0;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.4;
  cursor: pointer;
}

.consent-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.consent-checkbox-label a:hover {
  opacity: 0.8;
}

/* Quiz Estimate Note */
.quiz-estimate-note {
  display: block;
  font-size: 10px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.2;
}

/* Document Lightbox & Zoom Controls */
.doc-lightbox-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFF;
  padding: 18px 20px;
  width: 92vw;
  max-width: 860px;
}

.doc-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 6px;
}

.zoom-btn {
  background: transparent;
  border: none;
  color: #F8FAFC;
  font-weight: 800;
  font-size: 15px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.zoom-btn-reset {
  font-size: 11px;
  width: auto;
  padding: 0 6px;
}

.zoom-level {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  min-width: 38px;
  text-align: center;
}

.doc-close-btn {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  transition: background 0.15s ease;
}

.doc-close-btn:hover {
  background: #B91C1C !important;
}

.doc-zoom-container {
  touch-action: pan-x pan-y pinch-zoom;
}

/* ==================== MODALS ==================== */
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--dark);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 4px solid var(--emerald);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==================== MESSENGERS PULSE FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  animation: wa-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.telegram-float {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0088cc;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
  transition: all var(--transition-normal);
}

.telegram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 136, 204, 0.6);
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {

  .hero-grid,
  .spec-card-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* Mobile Phone Bar */
.mobile-phone-bar {
  display: none;
  background: #0B0F17;
  border-bottom: 1px solid rgba(255, 107, 0, 0.3);
  padding: 8px 0;
  z-index: 1001;
}

.mobile-phone-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-phone-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.mobile-phone-tag {
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 10px;
}

.top-bar-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FF6B00;
  font-weight: 800;
  font-size: 0.925rem;
  text-decoration: none;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.top-bar-phone-link:active {
  background: #FF6B00;
  color: #FFF;
}

@media (max-width: 992px) {
  body {
    padding-bottom: 78px;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .mobile-phone-bar {
    display: block;
  }

  .top-bar,
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-header-call {
    display: flex;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  /* Off-Canvas Mobile Navigation Drawer */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
  }

  .mobile-menu-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: #FFFFFF;
  }

  .mobile-menu-close {
    font-size: 1.4rem;
    color: #94A3B8;
    padding: 4px;
    cursor: pointer;
    line-height: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-close:hover {
    color: #FFFFFF;
    background: rgba(255, 107, 0, 0.3);
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-phone-link {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #0F172A;
    padding: 24px 20px 28px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    gap: 6px;
    z-index: 2050;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 107, 0, 0.3);
  }

  .nav-menu.mobile-open {
    display: flex;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes slideInRight {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(0);
    }
  }

  .nav-menu .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    color: var(--primary);
    background: rgba(255, 107, 0, 0.12);
    padding-left: 18px;
  }

  .mobile-nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .header-phone-box {
    display: none;
  }

  /* Mobile menu backdrop overlay */
  .mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hide floating badges when mobile menu is open */
  body.mobile-menu-active .telegram-float,
  body.mobile-menu-active .max-float,
  body.mobile-menu-active .floating-cta {
    display: none !important;
  }

  .hero-grid,
  .quiz-options-grid,
  .quiz-form-grid,
  .pricing-grid,
  .blueprint-grid,
  .portfolio-grid,
  .footer-grid,
  .spec-card-grid,
  .counters-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Portfolio horizontal scrollable filter tabs */
  .portfolio-filters {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  /* Mobile showcase card styling */
  .showcase-card {
    padding: 18px 16px;
    margin-top: 10px;
  }

  .showcase-nav {
    gap: 4px;
    padding: 4px;
    flex-wrap: wrap;
  }

  .showcase-tab {
    font-size: 11px;
    padding: 8px 6px;
    flex: 1 1 calc(50% - 4px);
    min-height: 38px;
  }

  .showcase-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }

  .showcase-footer .btn {
    width: 100%;
  }

  /* Mobile comparison vertical cards with clear labels */
  .comparison-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: #FFF;
  }

  .comparison-cell.param {
    background: var(--dark);
    color: #FFFFFF;
    border-right: none;
    border-bottom: 1px solid var(--dark-border);
    font-size: 0.875rem;
    font-weight: 800;
    padding: 12px 16px;
  }

  .comparison-cell.competitor {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-cell.competitor::before {
    content: "❌ Частный мастер / неофициальные бригады:";
    font-size: 11px;
    font-weight: 800;
    color: #EF4444;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .comparison-cell.moselectro {
    border-right: none;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-cell.moselectro::before {
    content: "✔ Служба ПрофЭнерго:";
    font-size: 11px;
    font-weight: 800;
    color: #10B981;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .comparison-grid.header-row {
    display: none;
  }

  .specs-tabs-header {
    flex-direction: column;
    gap: 8px;
  }

  .review-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
  }

  .review-avatar {
    margin: 0 auto;
  }

  .review-stars {
    justify-content: center;
  }

  .review-meta {
    flex-direction: column;
    gap: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Floating CTA visible on mobile */
  .floating-cta {
    display: block;
  }

  .whatsapp-float {
    bottom: 76px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .telegram-float {
    bottom: 132px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .toast {
    bottom: 76px;
    right: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .quiz-wrapper {
    border-radius: var(--radius-md);
  }

  .quiz-header {
    padding: 18px 16px;
  }

  .quiz-body {
    padding: 20px 16px;
  }

  .quiz-footer {
    padding: 14px 16px;
  }
}

@media (max-width: 576px) {
  .header-actions .btn {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .ticker-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ticker-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 20px 0 36px;
  }

  .form-input,
  input,
  select,
  textarea {
    font-size: 16px;
    /* Prevents auto-zoom on iOS Safari */
  }

  .messenger-selector {
    flex-wrap: wrap;
  }

  .messenger-btn {
    flex: 1 1 calc(50% - 4px);
    font-size: 12px;
    padding: 8px;
  }

  .btn-lg {
    padding: 14px 18px;
    font-size: 0.875rem;
  }

  .counter-number {
    font-size: 2rem;
  }

  .portfolio-img-box {
    height: 180px;
  }

  .portfolio-meta-grid {
    flex-direction: column;
    gap: 6px;
  }

  .portfolio-price-split {
    flex-direction: column;
    gap: 4px;
  }

  .modal-card {
    padding: 28px 16px 20px 16px;
    width: 95%;
  }

  .modal-title {
    font-size: 1.15rem;
    padding-right: 24px;
  }
}


/* ==================== MARQUEE TICKER ==================== */
.section-ticker {
  background: #0B1120;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  animation: marquee-slide 25s linear infinite;
}

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

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  color: #E2E8F0;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==================== TEAM & CERTIFICATES & DOCS ==================== */
.section-team-docs {
  background: #0F172A;
  color: #FFF;
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.team-lead-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.team-lead-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--primary);
}

.team-lead-img-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.team-lead-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.team-lead-role {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-lead-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
}

.team-lead-bio {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 14px;
}

.team-lead-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-badge-item {
  font-size: 12px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-stats-box {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.team-stat-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.team-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.team-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.team-stat-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-top: 2px;
}

/* Cert Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.cert-img-wrapper {
  position: relative;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  background: #0F172A;
  margin-bottom: 12px;
}

.cert-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
}

.cert-card:hover .cert-overlay {
  opacity: 1;
}

.cert-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 2px;
}

.cert-sub {
  font-size: 11px;
  color: #94A3B8;
}

/* Sample Docs Download Grid */
.docs-download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.doc-item-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-fast);
}

.doc-item-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.doc-icon {
  font-size: 32px;
}

.doc-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFF;
}

.doc-desc {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 4px;
}

/* Portfolio Extensions */
.portfolio-price-split {
  display: flex;
  justify-content: space-between;
  background: #F8FAFC;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin: 10px 0;
  border: 1px solid var(--border-light);
}

.modal-card-lg {
  max-width: 860px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.report-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.report-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.report-specs-table td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}

.report-specs-table td:first-child {
  color: var(--text-muted);
}

.report-specs-table td:last-child {
  font-weight: 700;
  text-align: right;
  color: var(--dark);
}

.report-img-tab {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.report-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.report-tab-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #FFF;
  cursor: pointer;
}

.report-tab-btn.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-lead-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-lead-img-box {
    max-width: 220px;
    margin: 0 auto;
  }

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

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

@media (max-width: 576px) {

  .cert-grid,
  .docs-download-grid {
    grid-template-columns: 1fr;
  }

  .showcase-nav {
    flex-wrap: wrap;
  }

  .showcase-tab {
    flex: 1 1 calc(50% - 4px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Floating Messenger Buttons */
.telegram-float,
.max-float {
  position: fixed;
  bottom: 77px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.telegram-float {
  right: 24px;
  background: #229ED9;
}

.max-float {
  right: 90px;
  background: #7C3AED;
}

.telegram-float:hover,
.max-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45);
}