/* ════════════════════════════════════════════════════
   FS-service — Style Sheet
   Автосервис, светлая тема, Deep Blue акцент
   ════════════════════════════════════════════════════ */

/* ════ CSS CUSTOM PROPERTIES ════ */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Palette */
  --primary:     #1B3A5C;
  --primary-dk:  #0F2440;
  --primary-lt:  #2A5A8E;
  --accent:      #E8A838;
  --accent-dk:   #C98A20;
  --bg:          #F8FAFB;
  --bg-alt:      #EFF3F6;
  --surface:     #FFFFFF;
  --text:        #1A1A2E;
  --muted:       #5A6B7D;
  --border:      #DAE2EA;

  /* RGB for rgba() */
  --primary-rgb: 27,58,92;
  --accent-rgb:  232,168,56;

  /* Typography */
  --font-d: 'Oswald', sans-serif;
  --font-b: 'PT Sans', sans-serif;

  /* Layout */
  --section-py:  clamp(4rem, 8vw, 7rem);
  --container:   1280px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.1);
  --transition:  0.3s ease;
  --lh:          1.7;
}

/* ════ RESET ════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh);
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ════ NOISE GRAIN TEXTURE ════ */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.018; mix-blend-mode: overlay;
}

/* ════ UTILITY ════ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-py) 0; scroll-margin-top: 80px; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.section-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.accent-bar { width: 56px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-dk)); border-radius: 2px; margin-bottom: 1.5rem; }

/* Performance */
section:not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ════ BUTTONS ════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: var(--radius); font-size: 1rem;
  font-weight: 700; text-decoration: none; transition: all var(--transition);
  cursor: pointer; border: none; font-family: var(--font-b);
  letter-spacing: 0.03em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dk), var(--accent));
  box-shadow: 0 10px 36px rgba(var(--accent-rgb), 0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px); font-size: 1rem;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 18px 42px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Btn Press */
.btn-press { transition: all 0.15s ease; transform: translateY(0); position: relative; overflow: hidden; }
.btn-press:hover { transform: translateY(-2px); }
.btn-press:active { transform: translateY(1px) scale(0.98); box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.2); transition-duration: 0.05s; }

/* Shimmer on btn */
.btn-press::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-press:hover::after { left: 100%; }

/* ════ SCROLL PROGRESS BAR (CSS) ════ */
.scroll-progress-css {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001;
  background: var(--accent); transform-origin: left;
  animation: progress-bar linear;
  animation-timeline: scroll();
}
@keyframes progress-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@supports not (animation-timeline: scroll()) {
  .scroll-progress-css { display: none; }
}

/* ════ ANIMATIONS ════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger > * { opacity: 0; transform: translateY(24px); transition: all 0.5s ease; }
.stagger.visible > :nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.stagger.visible > :nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
.stagger.visible > :nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: none; }
.stagger.visible > :nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: none; }
.stagger.visible > :nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: none; }
.stagger.visible > :nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: none; }

.animate-in { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll-driven reveal (CSS-only) */
@keyframes scroll-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@supports (animation-timeline: view()) {
  .scroll-reveal-css {
    animation: scroll-reveal ease both;
    animation-timeline: view();
    animation-range: entry 10% entry 40%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .animate-in { animation: none; opacity: 1; transform: none; }
  .stagger > * { transition: none; opacity: 1; transform: none; }
  .animated-gradient-text { animation: none; }
  .scroll-progress-css { animation: none; display: none; }
  .brands-swiper .swiper-wrapper { animation: none; }
}

/* ════ NAVIGATION ════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}
.nav-container { height: 72px; display: flex; align-items: center; gap: 1.5rem; }
.nav-logo {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 700;
  color: #fff; text-decoration: none; margin-right: auto;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.nav-logo span { color: var(--accent); }
#navbar.scrolled .nav-logo { color: var(--primary); }
#navbar.scrolled .nav-logo span { color: var(--accent); }

.nav-menu { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-link {
  display: block; padding: 8px 14px; color: rgba(255,255,255,0.85);
  text-decoration: none; font-size: 14px; font-weight: 500;
  border-radius: 8px; transition: all var(--transition);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--accent); transition: all 0.3s ease; transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover, .nav-link.active { color: #fff; }
#navbar.scrolled .nav-link { color: var(--muted); }
#navbar.scrolled .nav-link:hover, #navbar.scrolled .nav-link.active { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  color: rgba(255,255,255,0.9); text-decoration: none; font-size: 14px;
  font-weight: 600; display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav-phone i { color: var(--accent); }
#navbar.scrolled .nav-phone { color: var(--text); }
.nav-cta { padding: 10px 20px; font-size: 14px; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: all var(--transition);
}
#navbar.scrolled .burger span { background: var(--text); }

/* Burger open state */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-phone { display: none; }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1); gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link {
    color: var(--text); padding: 14px 0;
    border-bottom: 1px solid var(--border); border-radius: 0;
  }
  .nav-menu .nav-link::after { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .nav-right { display: none; }
  .burger { display: flex; }
}

/* ════ HERO ════ */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  overflow: hidden; background: var(--primary-dk);
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  content-visibility: visible;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.82) 0%, rgba(27,58,92,0.65) 50%, rgba(15,36,64,0.75) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 72px; }
.hero-content { max-width: 680px; }

.hero h1 {
  font-family: var(--font-d); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; color: #fff; line-height: 1.05;
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 28px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

/* Animated gradient text */
.animated-gradient-text {
  background: linear-gradient(90deg, var(--accent), #FCD34D, #FFE082, var(--accent));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientText 4s linear infinite;
}
@keyframes gradientText { to { background-position: 300% center; } }

.hero-features {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 36px; padding: 0;
}
.hero-features li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.92); font-size: 1.2rem; font-weight: 500;
}
.hero-features li i { color: var(--accent); font-size: 1.1rem; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* Pulsating CTA glow */
.hero-actions .btn-primary {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4); }
  50% { box-shadow: 0 8px 40px rgba(var(--accent-rgb), 0.65), 0 0 60px rgba(var(--accent-rgb), 0.2); }
}

.hero-price {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 14px 24px;
  backdrop-filter: blur(10px);
}
.hero-price-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.hero-price-value {
  color: var(--accent); font-family: var(--font-d); font-size: 1.25rem;
  font-weight: 600;
}

/* Floating particles in hero */
.hero .hero-particle {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: rgba(var(--accent-rgb), 0.15);
  animation: floatParticle 6s ease-in-out infinite alternate;
}
@keyframes floatParticle {
  0% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  100% { transform: translate(20px, -30px) scale(1.2); opacity: 0.08; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero-features li { font-size: 1.05rem; }
}

/* ════ WAVE DIVIDER ════ */
.wave-divider { margin-top: -1px; line-height: 0; background: var(--bg); }
.wave-divider svg { width: 100%; height: 80px; display: block; }
.wave-divider.wave-flip { background: var(--bg); }
.section-alt + .wave-divider { background: var(--bg-alt); }

/* ════ DIAGNOSTICS SECTION ════ */
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.diag-text h2 {
  font-family: var(--font-d); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 20px;
  line-height: 1.15;
}
.diag-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 24px; line-height: 1.65; }
.diag-list { padding: 0; margin-bottom: 24px; }
.diag-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0; font-size: 1.05rem; color: var(--text);
}
.diag-list li i { color: var(--accent); margin-top: 4px; font-size: 1.1rem; flex-shrink: 0; }
.diag-result { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; line-height: 1.65; }
.diag-result strong { color: var(--primary); }
.diag-img { position: relative; }
.diag-img img {
  border-radius: var(--radius-lg); object-fit: cover; width: 100%; max-height: 520px;
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.2);
}
.diag-badge {
  position: absolute; bottom: -24px; right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  color: #fff; padding: 20px 24px;
  border-radius: var(--radius-lg); display: flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.35);
  animation: badgeFloat 3s ease-in-out infinite alternate;
}
@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}
.diag-badge i { font-size: 1.75rem; color: var(--accent); }
.diag-badge span { font-size: 15px; font-weight: 600; line-height: 1.3; }

@media (max-width: 768px) {
  .diag-grid { grid-template-columns: 1fr; gap: 2rem; }
  .diag-badge { bottom: -16px; right: 12px; padding: 14px 18px; }
}

/* ════ SERVICES ACCORDION ════ */
.services-price-info {
  display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 3rem;
  flex-wrap: wrap;
}
.price-tag {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 24px; font-size: 1rem;
  color: var(--muted); display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.price-tag i { color: var(--accent); font-size: 1.1rem; }
.price-tag strong { color: var(--primary); font-size: 1.15rem; }

.accordion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.accordion-col { display: flex; flex-direction: column; gap: 1.25rem; }
.accordion-item {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.accordion-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.12);
}
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 20px 22px; background: none; border: none;
  text-align: left; font-size: 1rem; font-weight: 600;
  color: var(--text); cursor: pointer; transition: color var(--transition);
  font-family: var(--font-b);
}
.accordion-btn span:first-child { display: flex; align-items: center; gap: 12px; }
.accordion-btn i { color: var(--primary); font-size: 1.1rem; width: 22px; text-align: center; }
.accordion-btn:hover, .accordion-btn[aria-expanded="true"] { color: var(--primary); }
.accordion-icon {
  font-size: 1.35rem; font-weight: 300; flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); color: var(--accent);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.accordion-body.open { grid-template-rows: 1fr; }
.accordion-body > div { overflow: hidden; }
.accordion-body ul { padding: 0 22px 20px 56px; }
.accordion-body ul li {
  padding: 6px 0; font-size: 0.95rem; color: var(--muted);
  border-bottom: 1px solid var(--border); line-height: 1.55;
}
.accordion-body ul li:last-child { border-bottom: none; }

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

/* ════ ADVANTAGES ════ */
.adv-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
}
.adv-item {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
/* Thermal glow hover */
.adv-item::before {
  content: ''; position: absolute; inset: -3px; border-radius: 23px;
  background: conic-gradient(from 0deg, var(--primary), var(--accent), rgba(255,107,107,0.6), var(--primary));
  filter: blur(16px); opacity: 0; transition: opacity 0.5s ease; z-index: -1;
}
.adv-item:hover::before { opacity: 0.4; }
.card-3d { transform-style: preserve-3d; perspective: 800px; }
.card-3d:hover {
  transform: rotateX(-3deg) rotateY(3deg) translateY(-10px);
  box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.18);
}
.adv-icon {
  width: 72px; height: 72px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.adv-item:hover .adv-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}
.adv-icon i { font-size: 1.75rem; color: var(--primary); transition: color 0.3s ease; }
.adv-item:hover .adv-icon i { color: #fff; }
.adv-item h3 {
  font-family: var(--font-d); font-size: 1.15rem; font-weight: 600;
  text-transform: uppercase; margin-bottom: 10px;
}
.adv-item p { font-size: 0.95rem; color: var(--muted); line-height: var(--lh); margin: 0; }

@media (max-width: 1024px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .adv-grid { grid-template-columns: 1fr; } }

/* ════ STATS COUNTER ════ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding: 3rem 2rem; margin: -3rem auto 0;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(var(--primary-rgb), 0.12);
  position: relative; z-index: 3;
  max-width: 900px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--primary); line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
}

/* ════ TIMELINE ════ */
.timeline { max-width: 750px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 32px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; position: relative; }
.timeline-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  color: #fff;
  font-family: var(--font-d); font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.3);
}
.timeline-content { padding-top: 12px; }
.timeline-content h3 {
  font-family: var(--font-d); font-size: 1.3rem; font-weight: 600;
  text-transform: uppercase; margin-bottom: 8px;
}
.timeline-content p { font-size: 1rem; color: var(--muted); line-height: var(--lh); margin: 0; }

@media (max-width: 600px) {
  .timeline::before { left: 20px; }
  .timeline-num { width: 44px; height: 44px; font-size: 1rem; }
}

/* ════ BRANDS ════ */
.brands-slider { position: relative; padding: 0 1rem; max-width: 1400px; margin: 0 auto; }
.brand-slide {
  display: flex; align-items: center; justify-content: center;
  height: 80px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 1.5rem;
  transition: all var(--transition);
}
.brand-slide:hover {
  border-color: var(--primary); box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.12);
}
.brand-slide span {
  font-family: var(--font-d); font-size: 1rem; font-weight: 500;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap; transition: color var(--transition);
}
.brand-slide:hover span { color: var(--primary); }

.brands-nav { display: flex; justify-content: center; gap: 12px; margin-top: 1.5rem; }
.brands-prev, .brands-next {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); color: var(--muted);
}
.brands-prev:hover, .brands-next:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ════ GALLERY ════ */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; min-height: 220px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.05); }
.gallery-wide { grid-row: span 2; }

/* Gallery overlay — subtle gradient, no icon */
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.5) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .gallery-wide { grid-row: span 1; grid-column: span 2; }
  .gallery-item img { min-height: 180px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
}

/* ════ FAQ ════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.5rem 0; background: none; border: none;
  text-align: left; font-size: 1.1rem; font-weight: 600;
  color: var(--text); cursor: pointer; transition: color var(--transition);
  font-family: var(--font-b);
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--primary); }
.faq-icon {
  font-size: 1.5rem; font-weight: 300; flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); color: var(--accent);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb), 0.1); border-radius: 8px;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: rgba(var(--accent-rgb), 0.2); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.5rem; color: var(--muted); font-size: 1rem; margin: 0; line-height: 1.7; }

/* ════ CTA BANNER ════ */
.cta-section { padding: var(--section-py) 0; }
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  border-radius: 28px; padding: 5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: -50%; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(var(--accent-rgb), 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(120,80,255,0.1) 0%, transparent 50%);
  animation: aurora 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(3deg); }
}
.cta-banner h2 {
  font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff; margin-bottom: 16px;
  text-transform: uppercase; position: relative; z-index: 1;
}
.cta-banner p {
  font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem;
  position: relative; z-index: 1; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-banner .btn { position: relative; z-index: 1; animation: pulseGlow 2.5s ease-in-out infinite; }

/* ════ CONTACTS ════ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contacts-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08); }
.contact-icon {
  width: 44px; height: 44px; background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { font-size: 1rem; color: var(--primary); }
.contact-label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-value { font-size: 1.05rem; font-weight: 600; color: var(--text); text-decoration: none; display: block; }
a.contact-value:hover { color: var(--primary); }

.contact-socials { display: flex; gap: 10px; padding: 4px 0; }
.social-link {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--muted); font-size: 1.1rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Contact Form */
.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; margin-top: 0.5rem;
}
.contact-form-wrap h3 {
  font-family: var(--font-d); font-size: 1.25rem; font-weight: 600;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

/* Input animated (material float label) */
.input-group { position: relative; margin-bottom: 16px; }
.input-group input,
.input-group textarea {
  width: 100%; padding: 14px 16px; background: var(--bg);
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--text); font-family: var(--font-b);
  transition: all 0.3s ease; outline: none; resize: vertical;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}
.input-group label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 14px; transition: all 0.2s ease;
  pointer-events: none; background: var(--bg); padding: 0 4px;
}
.input-group textarea ~ label { top: 18px; transform: none; }
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 0; font-size: 0.75rem; color: var(--primary);
}
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -8px; font-size: 0.75rem; color: var(--primary);
}

.form-success {
  background: #DCFCE7; border: 1px solid #86EFAC; border-radius: var(--radius);
  padding: 14px 18px; color: #166534; font-size: 14px; text-align: center; margin-top: 12px;
}
.form-success i { margin-right: 6px; }
.form-error {
  background: #FEE2E2; border: 1px solid #FCA5A5; border-radius: var(--radius);
  padding: 14px 18px; color: #991B1B; font-size: 14px; text-align: center; margin-top: 12px;
}
.form-error i { margin-right: 6px; }

/* Map */
.contacts-map { display: flex; flex-direction: column; gap: 1rem; }
.map-wrapper {
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  min-height: 400px; box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .map-wrapper { min-height: 300px; }
}

/* ════ FOOTER ════ */
footer {
  background: var(--primary-dk); color: rgba(255,255,255,0.75); padding: 3rem 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 700;
  color: #fff; text-decoration: none; display: block; margin-bottom: 8px;
  text-transform: uppercase;
}
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contacts a {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px;
  transition: color var(--transition); display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts i { width: 16px; color: var(--accent); text-align: center; }
.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy, .footer-dev { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-dev a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2); transition: color var(--transition);
}
.footer-dev a:hover { color: #fff; border-bottom-color: #fff; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ════ BOTTOM TABS ════ */
.bottom-tabs {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); border-top: 1px solid var(--border);
  padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
  justify-content: space-around;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 768px) {
  .bottom-tabs { display: flex; }
  body { padding-bottom: 72px; }
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 0.65rem;
  padding: 0.3rem 0.8rem; border-radius: 8px; transition: all 0.2s ease;
}
.tab-item i { font-size: 1.1rem; transition: transform 0.2s ease; }
.tab-item.active { color: var(--primary); }
.tab-item.active i { transform: scale(1.15); }

/* ════ DECORATIVE ELEMENTS ════ */
.hero::after {
  content: ''; position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--accent); opacity: 0.08; filter: blur(120px);
  pointer-events: none; z-index: 0;
}

/* Floating blobs on sections */
.section::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0;
  opacity: 0;
}
#advantages::before {
  background: var(--accent); opacity: 0.05; top: -50px; right: -100px;
}
#faq::before {
  background: var(--primary); opacity: 0.04; bottom: -50px; left: -100px;
}

/* Reveal from left/right for alternating sections */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Reveal scale */
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ════ MOBILE SPACING & TYPOGRAPHY ════ */
@media (max-width: 768px) {
  :root {
    --section-py: clamp(3rem, 6vw, 5rem);
  }
  .container { padding: 0 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: clamp(1.65rem, 5vw, 2.25rem); margin-bottom: 10px; }
  .section-header p { font-size: 0.95rem; }

  /* Buttons */
  .btn { padding: 14px 24px; font-size: 0.95rem; }
  .btn-lg { padding: 16px 32px; font-size: 1rem; }

  /* Stats bar */
  .stats-bar { padding: 2rem 1.5rem; margin: -2rem auto 0; gap: 1.5rem; border-radius: 16px; }
  .stat-num { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .stat-label { font-size: 0.8rem; }

  /* Diagnostics */
  .diag-text h2 { font-size: clamp(1.65rem, 5vw, 2.25rem); }
  .diag-lead { font-size: 1rem; }
  .diag-list li { font-size: 0.95rem; padding: 8px 0; }
  .diag-result { font-size: 0.95rem; }

  /* Accordion */
  .accordion-btn { padding: 16px 16px; font-size: 0.95rem; }
  .accordion-btn i { font-size: 1rem; }
  .accordion-body ul { padding: 0 16px 16px 44px; }
  .accordion-body ul li { font-size: 0.9rem; padding: 5px 0; }

  /* Advantages */
  .adv-item { padding: 1.75rem 1rem; }
  .adv-item h3 { font-size: 1rem; }
  .adv-item p { font-size: 0.9rem; }
  .adv-icon { width: 60px; height: 60px; }
  .adv-icon i { font-size: 1.4rem; }

  /* Timeline */
  .timeline-item { gap: 1.25rem; margin-bottom: 2rem; }
  .timeline-content h3 { font-size: 1.1rem; }
  .timeline-content p { font-size: 0.95rem; }

  /* FAQ */
  .faq-q { font-size: 1rem; padding: 1.25rem 0; }
  .faq-a p { font-size: 0.95rem; }

  /* CTA */
  .cta-banner { padding: 3rem 1.5rem; border-radius: 20px; }
  .cta-banner h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-banner p { font-size: 1rem; }

  /* Contacts */
  .contact-form-wrap { padding: 1.5rem; }
  .contact-form-wrap h3 { font-size: 1.1rem; }
  .input-group input, .input-group textarea { padding: 13px 14px; font-size: 1rem; }

  /* Footer */
  .footer-brand { font-size: 1.3rem; }
  .footer-tagline { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .container { padding: 0 1rem; }
  .section-header { margin-bottom: 2rem; }

  .hero-price { flex-direction: column; gap: 4px; text-align: center; }
  .hero-price-label { font-size: 0.85rem; }
  .hero-price-value { font-size: 1.1rem; }

  .price-tag { padding: 10px 16px; font-size: 0.9rem; }
  .price-tag strong { font-size: 1rem; }

  .brands-nav { gap: 8px; margin-top: 1rem; }
  .brands-prev, .brands-next { width: 38px; height: 38px; }

  .contact-card { padding: 12px 14px; gap: 10px; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-value { font-size: 0.95rem; }

  .social-link { width: 38px; height: 38px; font-size: 1rem; }

  .tab-item { font-size: 0.6rem; }
  .tab-item i { font-size: 1rem; }
}
