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

:root {
  --orange: #f57c00;
  --orange-bright: #ff9800;
  --orange-hover: #e65100;
  --orange-light: #fff3e0;
  --dark: #1a1f2e;
  --dark-alt: #222a35;
  --dark-deep: #12161f;
  --text: #101828;
  --text-muted: #5b6472;
  --text-on-dark: #f2f4f7;
  --text-muted-on-dark: #9aa3b0;
  --white: #ffffff;
  --bg-light: #ffffff;
  --bg-section: #f2f5f9;
  --card-bg: #ffffff;
  --card-border: #e6eaf0;
  --dark-card-bg: #1c2330;
  --dark-card-border: rgba(255,255,255,0.08);
  --success: #4caf50;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 10px rgba(16,24,40,0.06);
  --shadow: 0 8px 30px rgba(16,24,40,0.08);
  --shadow-hover: 0 18px 48px rgba(16,24,40,0.14);
  --shadow-orange: 0 8px 24px rgba(245,124,0,0.35);
  --grad-orange: linear-gradient(135deg, #ff9800 0%, #f57c00 50%, #e65100 100%);
  --grad-dark: linear-gradient(135deg, #161b27 0%, #1a2130 55%, #1c2330 100%);
  --container: 1200px;
}

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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-orange);
  z-index: 400;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px rgba(245,124,0,0.5);
}

/* ===== SECTION ===== */
.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 5px;
  margin: 18px auto 0;
  border-radius: 8px;
  background: var(--grad-orange);
  box-shadow: 0 2px 10px rgba(245,124,0,0.4);
}

.calculator-info .section-title::after,
.contacts-info .section-title::after {
  margin-left: 0;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: box-shadow var(--transition), translate var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--grad-orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover {
  translate: 0 -3px;
  box-shadow: 0 14px 36px rgba(245,124,0,0.5);
}

.btn-primary:hover::before { left: 130%; }

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--white);
  background: rgba(245,124,0,0.1);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  translate: 0 -3px;
  box-shadow: var(--shadow-orange);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 44px; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* ===== FLOATING BADGE ===== */
.floating-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 98;
  background: rgba(28,35,48,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245,124,0,0.5);
  border-radius: 50px;
  padding: 11px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  animation: pulse-badge 2.5s ease-in-out infinite;
}

.floating-badge svg { color: var(--orange); flex-shrink: 0; }

@keyframes pulse-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(26,31,46,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--grad-orange);
  box-shadow: 0 0 12px rgba(245,124,0,0.7);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-on-dark);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-phone {
  color: var(--orange-bright);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-phone:hover { color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.menu-close {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark-card-border);
  background: var(--dark-card-bg);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.menu-close:hover {
  background: var(--orange);
  color: var(--white);
  transform: rotate(90deg);
}

.nav-links-call { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,18,27,0.94) 0%, rgba(26,31,46,0.78) 50%, rgba(16,18,27,0.94) 100%);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245,124,0,0.16), transparent 45%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221440%22 height=%22900%22 viewBox=%220 0 1440 900%22%3E%3Crect fill=%221a1f2e%22 width=%221440%22 height=%22900%22/%3E%3Cpath d=%22M0 600l60-40 120 60 120-80 120 70 120-60 120 80 120-50 120 70 120-60 120 80 120-50 60 20v120H0z%22 fill=%22222a35%22/%3E%3Crect x=%22200%22 y=%22300%22 width=%22100%22 height=%22200%22 fill=%23333e50%22 rx=%224%22/%3E%3Crect x=%22500%22 y=%22200%22 width=%22150%22 height=%22300%22 fill=%23333e50%22 rx=%224%22/%3E%3Crect x=%22800%22 y=%22250%22 width=%22200%22 height=%22250%22 fill=%23333e50%22 rx=%224%22/%3E%3Crect x=%221100%22 y=%22350%22 width=%22120%22 height=%22150%22 fill=%23333e50%22 rx=%224%22/%3E%3Ccircle cx=%22300%22 cy=%22400%22 r=%2230%22 fill=%23f57c00%22 opacity=%220.15%22/%3E%3C/svg%3E') center/cover no-repeat;
    background: url(/img/dem.jpg) no-repeat center center / cover;
    filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 0 80px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -1px;
}

.hero-title em {
  font-style: normal;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted-on-dark);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted-on-dark);
  font-size: 0.9rem;
}

.hero-messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--text-muted-on-dark);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.hero-messengers a:hover {
  color: var(--white);
  background: var(--orange);
  translate: 0 -3px;
  box-shadow: var(--shadow-orange);
}

/* scroll hint */
.hero::after {
  content: '';
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 62px;
  left: 50%;
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--orange);
  transform: translateX(-50%);
  z-index: 2;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; translate: 0 0; }
  70% { opacity: 0; translate: 0 12px; }
  100% { opacity: 0; translate: 0 0; }
}

/* ===== STATS ===== */
.stats {
  padding: 48px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: translate var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-item:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,124,0,0.4);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== OBJECTS ===== */
.objects::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,124,0,0.09), transparent 65%);
  top: -180px;
  right: -140px;
  pointer-events: none;
}

.objects::after {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,152,0,0.07), transparent 65%);
  bottom: -140px;
  left: -120px;
  pointer-events: none;
}

.objects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.object-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: translate var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.object-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.object-card:hover {
  translate: 0 -6px;
  border-color: rgba(245,124,0,0.45);
  box-shadow: var(--shadow-hover);
}

.object-card:hover::before { transform: scaleX(1); }

.object-card:hover::after {
  content: attr(data-desc);
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  border: none;
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 5;
  box-shadow: var(--shadow-hover);
}

.object-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 14px;
  background: var(--orange-light);
  transition: transform var(--transition);
}

.object-card:hover .object-icon { transform: scale(1.08); }

.object-icon svg { width: 100%; height: 100%; }

.object-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-section);
}

.services::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,124,0,0.08), transparent 65%);
  bottom: -160px;
  right: -120px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: translate var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}

.service-card:hover {
  translate: 0 -8px;
  border-color: rgba(245,124,0,0.4);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,18,27,0.45), transparent 55%);
  pointer-events: none;
}

.service-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 46px;
  height: 46px;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.service-icon svg { width: 100%; height: 100%; }

.service-body { padding: 22px; }

.service-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.service-price {
  display: inline-flex;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 50px;
  background: var(--orange-light);
  color: var(--orange-hover);
  font-size: 1rem;
  font-weight: 800;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== BENEFITS (dark) ===== */
.benefits {
  background: var(--grad-dark);
  color: var(--text-on-dark);
}

.benefits::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,124,0,0.13), transparent 65%);
  top: -200px;
  left: -160px;
  pointer-events: none;
}

.benefits::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,152,0,0.1), transparent 65%);
  bottom: -160px;
  right: -120px;
  pointer-events: none;
}

.benefits .section-title { color: var(--text-on-dark); }
.benefits .section-desc { color: var(--text-muted-on-dark); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--dark-card-border);
  border-radius: var(--radius);
  padding: 34px 26px;
  backdrop-filter: blur(8px);
  transition: translate var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  translate: 0 -6px;
  border-color: rgba(245,124,0,0.55);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(245,124,0,0.14);
  box-shadow: inset 0 0 0 1px rgba(245,124,0,0.25);
}

.benefit-icon svg { width: 100%; height: 100%; }

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-on-dark);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
  line-height: 1.55;
}

/* ===== CALCULATOR ===== */
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.calculator-info .section-title { text-align: left; }
.calculator-info .section-desc { text-align: left; margin-left: 0; }

.calculator-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calculator-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 14px 18px;
  background: var(--bg-section);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: border-color var(--transition), translate var(--transition);
}

.calculator-features li:hover {
  border-color: rgba(245,124,0,0.4);
  translate: 0 -2px;
}

.calculator-features svg { flex-shrink: 0; }

.calculator-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text);
}

.form-group input,
.form-group select,
.questions-form input,
.questions-form textarea,
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 15px 16px;
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.questions-form input:focus,
.questions-form textarea:focus,
.modal-content input:focus,
.modal-content select:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,124,0,0.12);
}

.form-group input::placeholder,
.questions-form input::placeholder,
.questions-form textarea::placeholder,
.modal-content input::placeholder {
  color: #9aa3b0;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6472' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--white);
  color: var(--text);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.checkbox-label:hover {
  background: var(--bg-section);
  border-color: var(--card-border);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== CONSENT CHECKBOX ===== */
.form-consent {
  margin-bottom: 18px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.consent-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid var(--success);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.consent-box svg {
  opacity: 0;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.consent-checkbox:checked + .consent-box {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 2px 8px rgba(76,175,80,0.35);
}

.consent-checkbox:checked + .consent-box svg { opacity: 1; }

.consent-checkbox:focus-visible + .consent-box {
  box-shadow: 0 0 0 4px rgba(76,175,80,0.2);
}

.consent-box.error {
  border-color: #e53935;
  background: rgba(229,57,53,0.08);
  box-shadow: 0 0 0 4px rgba(229,57,53,0.15);
  animation: shake 0.35s ease;
}

.consent-box.error svg { color: #e53935; opacity: 1; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

.consent-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.consent-text a {
  color: var(--orange-hover);
  text-decoration: underline;
}

.consent-text a:hover { color: var(--orange); }

.consent-error {
  display: none;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e53935;
}

.consent-error.show { display: block; animation: fadeIn 0.3s ease; }

.modal-content .consent-text { font-size: 0.78rem; }

/* ===== PROCESS ===== */
.process {
  background: var(--bg-section);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,124,0,0.4), rgba(245,124,0,0.4), transparent);
  border-radius: 2px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 7px rgba(245,124,0,0.14), var(--shadow-orange);
  transition: translate var(--transition);
}

.process-step:hover .process-number { translate: 0 -4px; }

.process-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.process-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===== DOCUMENTS ===== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.doc-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: translate var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.doc-card:hover {
  translate: 0 -6px;
  border-color: rgba(245,124,0,0.4);
  box-shadow: var(--shadow-hover);
}

.doc-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 18px;
  background: var(--orange-light);
  transition: transform var(--transition);
}

.doc-card:hover .doc-icon { transform: scale(1.06); }

.doc-icon svg { width: 100%; height: 100%; }

.doc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.doc-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-section);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-item.open {
  border-color: rgba(245,124,0,0.5);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

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

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border: 1px solid var(--card-border);
  transition: all var(--transition);
}

.faq-item.open .faq-question .faq-chevron {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(180deg);
}

.faq-item.open .faq-question .faq-chevron svg { stroke: var(--white); }

.faq-item.open .faq-question { color: var(--orange-hover); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 26px;
}

.faq-item.open .faq-answer {
  max-height: 320px;
  padding: 0 26px 24px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px dashed var(--card-border);
  padding-top: 16px;
}

/* ===== CONTACTS (dark) ===== */
.contacts {
  background: var(--grad-dark);
  color: var(--text-on-dark);
}

.contacts::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,124,0,0.12), transparent 65%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

.contacts .section-title { color: var(--text-on-dark); }
.contacts .section-desc { color: var(--text-muted-on-dark); }

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contacts-info .section-title { text-align: left; }

.contacts-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--dark-card-border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: translate var(--transition), border-color var(--transition), background var(--transition);
}

.contact-item:hover {
  translate: 0 -3px;
  border-color: rgba(245,124,0,0.5);
  background: rgba(255,255,255,0.07);
}

.contact-item svg { flex-shrink: 0; }

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted-on-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: 1.05rem;
  color: var(--text-on-dark);
  font-weight: 600;
}

.contact-item a:hover { color: var(--orange-bright); }

.contacts-map iframe {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
}

.contacts-actions { margin-top: 28px; }

/* ===== QUESTIONS ===== */
.questions-wrapper {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.questions-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.questions-form .btn { align-self: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-deep);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
  margin-top: 14px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--grad-orange);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
}

.footer-col ul li a {
  color: var(--text-muted-on-dark);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--orange-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
}

.footer-bottom a {
  color: var(--text-muted-on-dark);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--orange-bright); }

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16,24,40,0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: slideUp 0.35s var(--ease-spring);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(16,24,40,0.25);
}

.modal-content--wide { max-width: 640px; }
.modal-content--sm { max-width: 380px; text-align: center; }

@keyframes slideUp {
  from { transform: translateY(28px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.75rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  line-height: 1;
}

.modal-close:hover { color: var(--orange-hover); transform: rotate(90deg); }

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-content > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.success-icon { margin-bottom: 16px; }

.privacy-text {
  max-height: 50vh;
  overflow-y: auto;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 8px;
}

.privacy-text h4 {
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.privacy-text p { margin-bottom: 8px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  border: 1px solid var(--orange);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), translate var(--transition);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  translate: 0 -4px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--dark);
  border: 1px solid var(--dark-card-border);
  color: var(--text-on-dark);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  z-index: 290;
  opacity: 0;
  visibility: hidden;
  translate: 0 24px;
  transition: opacity 0.4s ease, visibility 0.4s ease, translate 0.4s ease;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted-on-dark);
  flex: 1;
}

.cookie-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 12px;
  }

  .cookie-banner .btn { width: 100%; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-init {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.reveal-init.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 17px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .calculator-wrapper,
  .contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-map iframe { height: 320px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .section { padding: 72px 0; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--grad-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1.15rem; }

  .nav-links a::after { bottom: -6px; }

  .menu-close { display: flex; }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links-call {
    margin-top: 32px;
  }

  .nav-links-call .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    display: inline-flex;
  }

  .nav-phone { display: none; }

  .burger { display: flex; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-number { font-size: 1.9rem; }

  .objects-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

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

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

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

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

  .form-row { grid-template-columns: 1fr; }

  .calculator-form,
  .questions-form { padding: 26px 22px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .checkbox-group { grid-template-columns: 1fr; }

  .floating-badge {
    bottom: 16px;
    right: 16px;
    font-size: 0.75rem;
    padding: 9px 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .modal-content { padding: 30px 20px; }

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

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

  .process-timeline { grid-template-columns: 1fr; }

  .process-timeline::before { display: none; }
}

@media (min-width: 769px) {
  .hero-actions .btn-outline {
    font-size: 1.05rem;
    padding: 14px 28px;
  }
}

.nav-links a{
	color: white;
}

  /* Мелкие острые сколы на буквах */
.hero-title {

    position: relative;
    display: inline-block;
    

    clip-path: polygon(
        0% 0%,
        /* Мелкие сколы по верхнему краю */
        3% 0%, 3% 4%, 2% 5%, 4% 6%, 3.5% 0%,
        8% 0%, 8% 3%, 7% 4%, 9% 5%, 8.5% 0%,
        15% 0%, 15% 5%, 14% 6%, 16% 7%, 15.5% 0%,
        22% 0%, 22% 3%, 21% 4%, 23% 5%, 22.5% 0%,
        28% 0%, 28% 4%, 27% 5%, 29% 6%, 28.5% 0%,
        35% 0%, 35% 3%, 34% 4%, 36% 5%, 35.5% 0%,
        42% 0%, 42% 5%, 41% 6%, 43% 7%, 42.5% 0%,
        48% 0%, 48% 3%, 47% 4%, 49% 5%, 48.5% 0%,
        55% 0%, 55% 4%, 54% 5%, 56% 6%, 55.5% 0%,
        62% 0%, 62% 3%, 61% 4%, 63% 5%, 62.5% 0%,
        68% 0%, 68% 5%, 67% 6%, 69% 7%, 68.5% 0%,
        75% 0%, 75% 3%, 74% 4%, 76% 5%, 75.5% 0%,
        82% 0%, 82% 4%, 81% 5%, 83% 6%, 82.5% 0%,
        88% 0%, 88% 3%, 87% 4%, 89% 5%, 88.5% 0%,
        95% 0%, 95% 5%, 94% 6%, 96% 7%, 95.5% 0%,
        100% 0%,
        
        /* Правый край */
        100% 15%, 96% 15%, 95% 17%, 97% 18%, 100% 16%,
        100% 30%, 97% 30%, 96% 32%, 98% 33%, 100% 31%,
        100% 45%, 96% 45%, 95% 47%, 97% 48%, 100% 46%,
        100% 60%, 98% 60%, 97% 62%, 99% 63%, 100% 61%,
        100% 75%, 96% 75%, 95% 77%, 97% 78%, 100% 76%,
        100% 90%, 97% 90%, 96% 92%, 98% 93%, 100% 91%,
        100% 100%,
        
        /* Нижний край */
        95% 100%, 95% 96%, 94% 95%, 96% 94%, 95.5% 100%,
        88% 100%, 88% 97%, 87% 96%, 89% 95%, 88.5% 100%,
        82% 100%, 82% 95%, 81% 94%, 83% 93%, 82.5% 100%,
        75% 100%, 75% 97%, 74% 96%, 76% 95%, 75.5% 100%,
        68% 100%, 68% 96%, 67% 95%, 69% 94%, 68.5% 100%,
        62% 100%, 62% 97%, 61% 96%, 63% 95%, 62.5% 100%,
        55% 100%, 55% 95%, 54% 94%, 56% 93%, 55.5% 100%,
        48% 100%, 48% 97%, 47% 96%, 49% 95%, 48.5% 100%,
        42% 100%, 42% 96%, 41% 95%, 43% 94%, 42.5% 100%,
        35% 100%, 35% 97%, 34% 96%, 36% 95%, 35.5% 100%,
        28% 100%, 28% 95%, 27% 94%, 29% 93%, 28.5% 100%,
        22% 100%, 22% 97%, 21% 96%, 23% 95%, 22.5% 100%,
        15% 100%, 15% 96%, 14% 95%, 16% 94%, 15.5% 100%,
        8% 100%, 8% 97%, 7% 96%, 9% 95%, 8.5% 100%,
        3% 100%, 3% 95%, 2% 94%, 4% 93%, 3.5% 100%,
        0% 100%,
        
        /* Левый край */
        0% 90%, 4% 90%, 5% 88%, 3% 87%, 0% 89%,
        0% 75%, 3% 75%, 4% 73%, 2% 72%, 0% 74%,
        0% 60%, 4% 60%, 5% 58%, 3% 57%, 0% 59%,
        0% 45%, 3% 45%, 4% 43%, 2% 42%, 0% 44%,
        0% 30%, 4% 30%, 5% 28%, 3% 27%, 0% 29%,
        0% 15%, 3% 15%, 4% 13%, 2% 12%, 0% 14%,
        0% 0%
    );
}

  /* Конец Мелкие острые сколы на буквах */




.hazard-border-bottom {

    position: relative;
}

/* Черно-желтая лента только снизу */
.hazard-border-bottom::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 0;
    background: repeating-linear-gradient(
        45deg,
        #000 0px,
        #000 12px,
        #e79212 12px,
        #e79212 24px
    );
}

.hazard-border-bottom > * {
    position: relative;
    z-index: 1;
}