/* ============================================
   Ð¢ÐµÑ…Ð¡ÐµÑ€Ð²Ð¸Ñ â€” ÑˆÐ°Ð±Ð»Ð¾Ð½ ÑÐ°Ð¹Ñ‚Ð° Ñ€ÐµÐ¼Ð¾Ð½Ñ‚Ð° Ñ‚ÐµÑ…Ð½Ð¸ÐºÐ¸
   ============================================ */

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

:root {
  --bg: #f5f7fa;
  --bg-alt: #eef2f6;
  --surface: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --text-light: #8a9bb0;
  --accent: #0d8a6a;
  --accent-hover: #0a7056;
  --accent-soft: #e6f5f0;
  --accent-dark: #066348;
  --border: #dce3ec;
  --border-light: #e8eef4;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 35, 50, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: 'Manrope', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --container: 1140px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
.section-title { margin-bottom: 12px; }
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.section-head { margin-bottom: 40px; }
.section-head .section-lead { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.3;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 138, 106, 0.35);
}

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

.btn-white {
  background: #fff;
  color: var(--accent-dark);
}
.btn-white:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---- Forms ---- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 138, 106, 0.15);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6a7e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ---- Top bar / Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(16, 36, 58, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 24px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 28px;
  flex-shrink: 0;
}
.nav-main a {
  padding: 4px 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.925rem;
  transition: color var(--transition), opacity var(--transition);
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--accent);
  opacity: 1;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  min-width: 0;
}
.header-info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
  min-width: 0;
}
.header-info-title {
  color: var(--text);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  position: relative;
  padding-left: 20px;
}
.header-info-sub {
  color: var(--text-light);
  font-size: 0.72rem;
  white-space: nowrap;
  position: relative;
  padding-left: 20px;
}
.header-info-title::before,
.header-info-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  opacity: 0.9;
}
.header-contacts .header-info-block:first-child .header-info-title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.header-contacts .header-info-block:first-child .header-info-sub::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9bb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.header-contacts .header-info-block:nth-child(2) .header-info-title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.header-contacts .header-info-block:nth-child(2) .header-info-sub::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9bb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: transparent;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: var(--transition);
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3d4a 0%, #0d5c4d 45%, #0a7a5c 100%);
  color: #fff;
  padding: 88px 0 112px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 10%;
  width: 55%;
  height: 90%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Crect x='40' y='60' width='140' height='100' rx='8' stroke='rgba(255,255,255,0.12)' stroke-width='1.5'/%3E%3Crect x='60' y='80' width='40' height='8' rx='2' fill='rgba(255,255,255,0.1)'/%3E%3Crect x='60' y='96' width='60' height='6' rx='2' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='150' cy='100' r='12' stroke='rgba(255,255,255,0.15)' stroke-width='1.5'/%3E%3Cpath d='M180 110h80M180 130h50M220 60v40' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'/%3E%3Crect x='220' y='160' width='100' height='70' rx='6' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'/%3E%3Ccircle cx='80' cy='220' r='30' stroke='rgba(255,255,255,0.08)' stroke-width='1.5'/%3E%3Cpath d='M80 190v60M50 220h60' stroke='rgba(255,255,255,0.08)' stroke-width='1.5'/%3E%3Crect x='140' y='250' width='80' height='50' rx='4' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'/%3E%3Cpath d='M300 80l40 40-40 40M280 200h60v40h-40' stroke='rgba(255,255,255,0.08)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
  animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
  font-family: var(--font);
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.96rem;
  margin-bottom: 22px;
  line-height: 1.7;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}
.hero-point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-point-icon svg {
  width: 13px;
  height: 13px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.hero-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  border: 1px solid rgba(13, 138, 106, 0.18);
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #2ec9a0);
}

.hero-form-title,
.hero-form-card h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.hero-form-card > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

/* ---- Stats ---- */
.stats {
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

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

.stat-card {
  position: relative;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 16px 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 138, 106, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.stat-icon svg {
  width: 24px;
  height: 24px;
}
.stat-card:hover .stat-icon {
  transform: scale(1.08);
}

.stat-icon--years { background: linear-gradient(145deg, #fff8e1, #ffecb3); color: #f57f17; }
.stat-icon--clients { background: linear-gradient(145deg, #e3f2fd, #bbdefb); color: #1565c0; }
.stat-icon--time { background: linear-gradient(145deg, #e6f5f0, #b2dfdb); color: var(--accent-dark); }
.stat-icon--success { background: linear-gradient(145deg, #e8f5e9, #c8e6c9); color: #2e7d32; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-card:hover .stat-value {
  color: var(--accent-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ---- Sections ---- */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}

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

.quiz-top {
  padding: 20px 28px 0;
  background: linear-gradient(135deg, #e6f5f0 0%, #f0f7f4 50%, #eef4fa 100%);
  border-bottom: 1px solid var(--border-light);
}

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

.quiz-step-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 138, 106, 0.15);
}

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

.quiz-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: -1px;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent), #12a882);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.quiz-progress {
  display: flex;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.quiz-progress::-webkit-scrollbar { display: none; }

.quiz-step-indicator {
  flex: 1;
  min-width: 88px;
  padding: 14px 8px 12px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  transition: color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.quiz-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.quiz-step-badge svg {
  width: 16px;
  height: 16px;
}

.quiz-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.quiz-step-indicator.active {
  color: var(--accent-dark);
}
.quiz-step-indicator.active .quiz-step-badge {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 138, 106, 0.3);
}

.quiz-step-indicator.done {
  color: var(--accent);
}
.quiz-step-indicator.done .quiz-step-badge {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.quiz-body { padding: 32px 28px; }

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

.quiz-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-panel-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft), #dceef0);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-panel-icon svg {
  width: 26px;
  height: 26px;
}
.quiz-panel-icon--warn {
  background: linear-gradient(145deg, #fff3e0, #ffe8cc);
  color: #c45a00;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.quiz-panel-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.quiz-options--brands {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

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

.quiz-options-empty {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quiz-option {
  padding: 18px 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform 0.15s ease;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(13, 138, 106, 0.12);
  transform: translateY(-1px);
}

.opt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: var(--bg-alt);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.opt-icon svg {
  width: 26px;
  height: 26px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.opt-icon--device { background: linear-gradient(145deg, #e8f0ec, #dce8f0); color: var(--accent); }
.opt-icon--brand { background: #eef2f6; color: var(--text); }
.opt-icon--power { background: #ffebee; color: #c62828; }
.opt-icon--temp { background: #fff8e1; color: #f57f17; }
.opt-icon--leak { background: #e1f5fe; color: #0277bd; }
.opt-icon--error { background: #fce4ec; color: #ad1457; }
.opt-icon--water { background: #e0f7fa; color: #00838f; }
.opt-icon--unknown { background: #f5f5f5; color: #616161; }
.opt-icon--urgent { background: #ffebee; color: #d32f2f; }
.opt-icon--soon { background: #fff8e1; color: #f9a825; }
.opt-icon--calendar { background: #e8f5e9; color: #2e7d32; }
.opt-icon--week { background: #e3f2fd; color: #1565c0; }

/* Device quiz icons */
.quiz-options[data-field="device"] .opt-icon,
.quiz-options[data-field="group"] .opt-icon {
  background: linear-gradient(145deg, #e8f0ec, #dce8f0);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 3px 10px rgba(26, 35, 50, 0.08);
}
.quiz-options[data-field="device"] .quiz-option:hover .opt-icon,
.quiz-options[data-field="group"] .quiz-option:hover .opt-icon {
  transform: translateY(-1px) scale(1.04);
}

.quiz-option.selected .opt-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(13, 138, 106, 0.26);
}

.opt-letter {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.opt-label {
  line-height: 1.3;
}

.opt-hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 2px;
}
.quiz-option.selected .opt-hint {
  color: var(--accent);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.quiz-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.quiz-fields .form-group.full { grid-column: 1 / -1; }

.quiz-final {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.quiz-final-visual {
  position: sticky;
  top: 16px;
}

.quiz-final-card {
  background: linear-gradient(160deg, var(--accent-dark) 0%, var(--accent) 55%, #12a882 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(13, 138, 106, 0.25);
}
.quiz-final-card > svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.quiz-final-card > p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 20px;
  opacity: 0.95;
}

.quiz-final-perks {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-final-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}
.quiz-final-perks svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

/* ---- Steps ---- */
.steps-flow {
  margin-bottom: 40px;
}

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

.step-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 138, 106, 0.25);
}
.step-card:hover .step-num {
  opacity: 0.13;
  color: var(--accent);
}

.step-num {
  position: absolute;
  top: -0.06em;
  right: 0.04em;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--accent-dark);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.step-icon svg {
  width: 32px;
  height: 32px;
}
.step-card:hover .step-icon {
  transform: scale(1.06);
}

.step-icon--request { background: linear-gradient(145deg, #e3f2fd, #bbdefb); color: #1565c0; }
.step-icon--drive { background: linear-gradient(145deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.step-icon--diag { background: linear-gradient(145deg, #fff8e1, #ffecb3); color: #f57f17; }
.step-icon--repair { background: linear-gradient(145deg, #f3e5f5, #e1bee7); color: #7b1fa2; }
.step-icon--warranty { background: linear-gradient(145deg, #e6f5f0, #b2dfdb); color: var(--accent-dark); }

.step-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.step-card p {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.steps-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #e8f4f8 100%);
  border: 1px solid rgba(13, 138, 106, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.steps-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(13, 138, 106, 0.25);
}
.steps-cta-icon svg {
  width: 28px;
  height: 28px;
}

.steps-cta-text {
  flex: 1;
  text-align: left;
}
.steps-cta p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.steps-cta strong { color: var(--text); }

.steps-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---- Why us ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 138, 106, 0.2);
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-icon--shield { background: #e6f5f0; color: var(--accent-dark); }
.why-icon--clock { background: #fff8e1; color: #f57f17; }
.why-icon--price { background: #e8f5e9; color: #2e7d32; }
.why-icon--tool { background: #f3e5f5; color: #7b1fa2; }

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.why-visual {
  position: relative;
  background: linear-gradient(160deg, #0d5c4d 0%, #0a4a5e 55%, #0b3d4a 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px 36px;
  color: #fff;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}

.why-visual-art {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-bottom: 8px;
}
.why-scene {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.why-visual-content {
  position: relative;
  z-index: 1;
}

.why-visual-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.why-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
}
.why-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.why-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.why-visual h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.why-visual p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Why visual SVG animations */
@keyframes whyGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}
@keyframes whyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes whyVanDrive {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@keyframes whyRouteDash {
  to { stroke-dashoffset: -24; }
}
@keyframes whyWrenchTilt {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}
@keyframes whyBadgePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes whyDoorBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes whySpark {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.why-anim-glow {
  transform-origin: 180px 98px;
  animation: whyGlowPulse 5s ease-in-out infinite;
}
.why-anim-float--1 { animation: whyFloat 4.2s ease-in-out infinite; }
.why-anim-float--2 { animation: whyFloat 4.8s ease-in-out 0.6s infinite; }
.why-anim-van { animation: whyVanDrive 3.5s ease-in-out infinite; }
.why-anim-route {
  stroke-dasharray: 6 6;
  animation: whyRouteDash 2s linear infinite;
}
.why-anim-wrench {
  transform-origin: 263px 164px;
  animation: whyWrenchTilt 2.5s ease-in-out infinite;
}
.why-anim-badge {
  transform-origin: 234px 48px;
  animation: whyBadgePulse 2.8s ease-in-out infinite;
}
.why-anim-door { animation: whyDoorBlink 2s ease-in-out infinite; }
.why-anim-spark--1 { animation: whySpark 3s ease-in-out infinite; }
.why-anim-spark--2 { animation: whySpark 3.5s ease-in-out 0.8s infinite; }
.why-anim-spark--3 { animation: whySpark 2.8s ease-in-out 1.4s infinite; }

@media (prefers-reduced-motion: reduce) {
  .why-anim-glow,
  .why-anim-float--1,
  .why-anim-float--2,
  .why-anim-van,
  .why-anim-route,
  .why-anim-wrench,
  .why-anim-badge,
  .why-anim-door,
  .why-anim-spark--1,
  .why-anim-spark--2,
  .why-anim-spark--3 {
    animation: none;
  }
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.review-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card::before {
  content: '“';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  pointer-events: none;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(13, 138, 106, 0.2);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.review-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--font-display);
  border: 2px solid transparent;
}
.review-avatar--1 { background: #e3f2fd; color: #1565c0; border-color: #bbdefb; }
.review-avatar--2 { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.review-avatar--3 { background: #fce4ec; color: #c2185b; border-color: #f8bbd0; }

.review-header-info {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
  margin-left: 3px;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  margin-top: 5px;
  width: fit-content;
}

.review-stars-icons {
  color: #e8a317;
  font-size: 1.4rem;
  line-height: 1;
}

.review-stars-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b8860b;
  letter-spacing: 0.02em;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-left: 4px;
}

.review-device {
  color: var(--text-light);
  font-weight: 500;
}

.review-date::before {
  content: '·';
  margin: 0 6px;
  color: var(--border);
}

.review-date {
  color: var(--text-light);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-style: normal;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-rating-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
}

.reviews-rating-stars {
  color: #e8a317;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.reviews-rating-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  width: 100%;
}
@media (min-width: 600px) {
  .reviews-rating-count { width: auto; }
}

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

.news-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.news-card-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4e8e0, #c5d9e8);
  color: var(--accent);
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--accent); }
.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 12px;
}
.news-more {
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(13, 138, 106, 0.15);
}
.faq-item.open {
  border-color: rgba(13, 138, 106, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--transition);
}

.faq-q-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q-icon svg { width: 20px; height: 20px; }
.faq-q-icon--price { background: #e8f5e9; color: #2e7d32; }
.faq-q-icon--clock { background: #fff8e1; color: #f57f17; }
.faq-q-icon--shield { background: #e6f5f0; color: var(--accent-dark); }
.faq-q-icon--brands { background: #f3e5f5; color: #7b1fa2; }
.faq-q-icon--card { background: #e3f2fd; color: #1565c0; }

.faq-q-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  font-family: var(--font-display);
}

.faq-question:hover { color: var(--accent); }
.faq-question:hover .faq-q-icon { filter: brightness(0.97); }

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.open .faq-question { color: var(--accent-dark); }
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-soft);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 320px;
  padding-bottom: 18px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 54px;
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 0 28px;
  background: linear-gradient(165deg, #0a1219 0%, #121f2e 35%, #0d2830 70%, #0a1f24 100%);
  border-top: 1px solid rgba(77, 212, 172, 0.2);
}

.footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(77, 212, 172, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 212, 172, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(13, 138, 106, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(13, 138, 106, 0.1) 0%, transparent 50%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, #000 25%, #000 100%);
}
.footer-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 212, 172, 0.6) 30%, rgba(77, 212, 172, 0.6) 70%, transparent);
}
.footer-bg::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(77, 212, 172, 0.08);
  border-radius: 50%;
  animation: footerRingPulse 8s ease-in-out infinite;
}
@keyframes footerRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.06); opacity: 0.7; }
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(77, 212, 172, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.footer-badge svg {
  width: 14px;
  height: 14px;
  color: #4dd4ac;
  flex-shrink: 0;
}

.footer-cta {
  font-size: 0.9rem;
  padding: 12px 22px;
  box-shadow: 0 4px 16px rgba(13, 138, 106, 0.35);
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-col a:hover {
  color: #4dd4ac;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(77, 212, 172, 0.1);
  border: 1px solid rgba(77, 212, 172, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4dd4ac;
}
.footer-contact-icon svg {
  width: 16px;
  height: 16px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.footer-contact-item a:hover { color: #4dd4ac; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .footer-bg::after { animation: none; }
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0b3d4a 0%, #0d5c4d 100%);
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; }

/* ---- Category / Device cards ---- */
.services-catalog {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-group-title {
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

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

.device-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.device-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.device-card-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e8f0ec, #dce8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.device-card-img svg { width: 64px; height: 64px; opacity: 0.85; }
.device-card-body { padding: 20px; }
.device-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.device-card h3 a { color: var(--text); }
.device-card h3 a:hover { color: var(--accent); }
.device-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ---- Content layout ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-content {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 36px;
}
.article-content .article-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.article-content h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.article-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
  color: var(--text-muted);
}
.article-content li { margin-bottom: 6px; }
.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #d4e8e0, #c5d9e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.sidebar-card ul li { margin-bottom: 8px; }
.sidebar-card a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.sidebar-card a:hover { color: var(--accent); }
.sidebar-cta {
  background: linear-gradient(145deg, #0d5c4d, #0b3d4a);
  color: #fff;
  border: none;
}
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ---- Contacts page ---- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font);
}
.contact-info-item p,
.contact-info-item a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.contact-info-item a:hover { color: var(--accent); }
.contact-map {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.contact-map-placeholder {
  text-align: center;
  padding: 40px;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ---- Device detail ---- */
.device-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.device-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.device-feature svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 2px;
}
.device-feature h3 { font-size: 0.95rem; margin-bottom: 2px; }
.device-feature p { font-size: 0.85rem; color: var(--text-muted); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}
.price-table th {
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
}
.price-table td:last-child {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 50, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.modal h3 {
  margin-bottom: 6px;
  padding-right: 36px;
}
.modal > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.925rem;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---- Mobile nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav a {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
}
.mobile-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.mobile-nav-contacts {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav-contacts a {
  display: block;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 8px;
}

body.nav-open { overflow: hidden; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .header-brand { order: 1; }
  .header-contacts { order: 2; margin-left: auto; }
  .nav-main {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  .header-contacts .header-info-block:nth-child(2) { display: none; }
  .header-contacts { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero::after { opacity: 0.35; width: 70%; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { min-height: auto; }
  .why-item:hover { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .content-layout { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-main,
  .header-info-block { display: none; }
  .burger { display: flex; }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-inner { min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
  .header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }
  .header-contacts .btn {
    padding: 10px 13px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-value { font-size: 1.75rem; }
  .stat-icon { width: 42px; height: 42px; margin-bottom: 10px; }
  .stat-card { padding: 18px 12px 16px; }

  .section { padding: 56px 0; }

  .quiz-options { grid-template-columns: repeat(2, 1fr); }
  .quiz-options--urgency { grid-template-columns: 1fr; }
  .quiz-final { grid-template-columns: 1fr; }
  .quiz-final-visual { position: static; }
  .quiz-fields { grid-template-columns: 1fr; }
  .quiz-step-label { display: none; }
  .quiz-step-indicator { min-width: 56px; padding: 12px 6px; }
  .quiz-body { padding: 24px 16px; }
  .quiz-top { padding: 16px 16px 0; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .steps-cta-text { text-align: center; }
  .steps-cta .btn { width: 100%; max-width: 320px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .reviews-rating { justify-content: center; }
  .news-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: 1fr; }
  .device-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero { padding: 64px 0 80px; }
  .article-content { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-card {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 4px;
    padding: 20px;
    align-items: start;
  }
  .step-num {
    font-size: 4.5rem;
    top: -0.08em;
    right: 0.02em;
  }
  .step-icon {
    grid-row: 1 / 4;
    margin: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    align-self: center;
  }
  .step-icon svg {
    width: 26px;
    height: 26px;
  }
  .step-card h3 {
    grid-column: 2;
    margin-bottom: 4px;
  }
  .step-card p {
    grid-column: 2;
    margin-bottom: 8px;
  }
  .step-tag {
    grid-column: 2;
    justify-self: start;
  }
  .steps-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .steps-cta-text { text-align: center; }
  .steps-cta .btn { width: 100%; }
  .faq-answer p { padding-left: 0; }
  .quiz-options { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}



