/* ============================================
   MOTODOM97 — Single-Page Landing Page
   Mobile-first, Navy/Red/White palette
   ============================================ */

/* --- Scroll Progress Bar -------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #c3002f, #e63950);
  z-index: 9999;
  transition: width 0.1s linear;
  will-change: width;
}

/* --- Reset & Base --------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #222d35;
  margin-bottom: 40px;
  line-height: 1.3;
}

/* --- Buttons ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #c3002f;
  color: #fff;
  border-color: #c3002f;
}

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

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* --- Header -------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(34, 45, 53, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(34, 45, 53, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 130px;
  height: auto;
  filter: brightness(0) invert(1);
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c3002f;
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

.header-phone {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.header-phone:hover {
  color: #c3002f;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-overlay {
  display: none;
}

/* --- Hero ---------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.webp') center center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 45, 53, 0.85) 0%, rgba(34, 45, 53, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-highlight {
  color: #c3002f;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-num {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: #c3002f;
  white-space: nowrap;
}

.trust-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.3;
}

/* --- Benefits ------------------------------------ */
.benefits {
  padding: 80px 0;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background: #222d35;
  color: #fff;
  padding: 36px 28px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(34, 45, 53, 0.3);
}

.benefit-icon {
  margin-bottom: 16px;
  color: #c3002f;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Technologies (Способы нанесения) ------------- */
.tech {
  padding: 80px 0;
  background: #f8f8f8;
}

.tech-subtitle {
  text-align: center;
  font-size: 16px;
  color: #888;
  margin-top: -24px;
  margin-bottom: 40px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tech-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #c3002f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(34, 45, 53, 0.1);
  border-color: #c3002f;
}

.tech-icon {
  color: #222d35;
  margin-bottom: 16px;
  transition: color 0.3s, transform 0.3s;
}

.tech-card:hover .tech-icon {
  color: #c3002f;
  transform: scale(1.1);
}

.tech-title {
  font-size: 18px;
  font-weight: 700;
  color: #222d35;
  margin-bottom: 8px;
}

.tech-text {
  font-size: 14px;
  line-height: 1.6;
  color: #777;
}

/* --- Industries (Для кого мы работаем) ------------- */
.industries {
  padding: 80px 0;
  background: #fff;
}

.industries-subtitle {
  text-align: center;
  font-size: 16px;
  color: #888;
  margin-top: -24px;
  margin-bottom: 40px;
}

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

.industry-card {
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(34, 45, 53, 0.12);
}

.industry-icon {
  color: #c3002f;
  margin-bottom: 16px;
  transition: transform 0.3s;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-title {
  font-size: 20px;
  font-weight: 700;
  color: #222d35;
  margin-bottom: 10px;
}

.industry-text {
  font-size: 14px;
  line-height: 1.7;
  color: #777;
}

/* Industry CTA card */
.industry-card-cta {
  background: #222d35;
  border-color: #222d35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.industry-card-cta .industry-icon {
  color: #c3002f;
}

.industry-card-cta .industry-title {
  color: #fff;
}

.industry-card-cta .industry-text {
  color: rgba(255, 255, 255, 0.7);
}

.industry-btn {
  margin-top: 16px;
}

.industry-card-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(34, 45, 53, 0.25);
}

/* --- Steps (Этапы работы) ------------------------- */
.steps {
  padding: 80px 0;
  background: #222d35;
  color: #fff;
}

.steps .section-title {
  color: #fff;
}

.steps-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -24px;
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px 28px;
  transition: background 0.3s, transform 0.3s;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c3002f;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.step-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.step-arrow {
  display: none;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.steps-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Catalog ------------------------------------- */
.catalog {
  padding: 0;
}

.catalog-banner {
  background: #c3002f;
  color: #fff;
  padding: 60px 0;
}

.catalog-banner-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.catalog-banner-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.3;
}

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

.catalog-col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.catalog-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.catalog-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.catalog-banner-image {
  display: flex;
  justify-content: center;
}

.catalog-banner-image img {
  max-width: 320px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* --- About --------------------------------------- */
.about {
  padding: 80px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.about-merch {
  text-align: center;
  padding: 40px 24px;
  background: #f8f8f8;
  border-radius: 8px;
}

.about-merch-title {
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 3px;
  color: #222d35;
  margin-bottom: 12px;
}

.about-merch-accent {
  font-weight: 700;
  letter-spacing: -1px;
}

.about-merch-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.about-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card {
  background: #222d35;
  color: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(34, 45, 53, 0.2);
  position: relative;
  margin-top: -60px;
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: #fff;
}

/* --- Form Section -------------------------------- */
.form-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.form-title {
  font-size: 24px;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- Contact ------------------------------------- */
.contact {
  padding: 80px 0;
  background: #222d35;
  color: #fff;
}

.contact-title {
  color: #fff;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  flex-shrink: 0;
  color: #c3002f;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.contact-item span,
.contact-link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-link:hover {
  color: #c3002f;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
  display: block;
}

/* --- Floating Phone (mobile) --------------------- */
.float-phone {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: #c3002f;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(195, 0, 47, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-phone:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 30px rgba(195, 0, 47, 0.5);
}

/* --- Footer -------------------------------------- */
.footer {
  background: #1a2228;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 48px;
}

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

.footer-brand img {
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #c3002f;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #c3002f;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Animations (IntersectionObserver) ----------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card reveal */
.benefit-card {
  transition-delay: var(--stagger-delay, 0ms);
}

.benefit-card:nth-child(1) { --stagger-delay: 0ms; }
.benefit-card:nth-child(2) { --stagger-delay: 120ms; }
.benefit-card:nth-child(3) { --stagger-delay: 240ms; }
.benefit-card:nth-child(4) { --stagger-delay: 360ms; }

/* Hero content entrance */
.hero-content {
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.hero-title {
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-subtitle {
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-actions {
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-trust {
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

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

/* Hover glow effect on buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Benefit hover glow */
.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(195,0,47,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.benefit-card:hover::before {
  opacity: 1;
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .step-card {
    flex: 0 0 auto;
    width: 200px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 32px 20px;
  }

  .step-card:hover {
    transform: translateY(-4px);
  }

  .step-arrow {
    display: flex;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

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

  .about-merch-title {
    font-size: 32px;
  }

  .about-card {
    margin-top: 0;
  }

  .catalog-banner-title {
    font-size: 32px;
  }

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

  .industry-card-cta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    text-align: left;
    padding: 28px 36px;
  }

  .industry-card-cta .industry-btn {
    margin-top: 0;
  }

  .industry-card-cta .industry-icon {
    margin-bottom: 0;
  }

  .industry-card-cta .industry-title {
    margin-bottom: 0;
  }

  .industry-card-cta .industry-text {
    display: none;
  }

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

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

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .header-phone {
    display: block;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-banner-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

  .about-card {
    margin-top: -60px;
    margin-right: 60px;
  }

  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .industry-card-cta {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    text-align: left;
    padding: 32px 48px;
  }

  .industry-card-cta .industry-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .industry-card-cta .industry-title {
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .industry-card-cta .industry-text {
    display: block;
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
  }

  .industry-card-cta .industry-btn {
    flex-shrink: 0;
    margin-top: 0;
  }

  .steps-grid {
    flex-wrap: nowrap;
  }

  .step-card {
    width: 220px;
    padding: 40px 24px;
  }

  .section-title {
    font-size: 36px;
  }
}

/* ============================================
   MOBILE NAV (below 768px)
   ============================================ */
@media (max-width: 767px) {
  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay.active {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(34, 45, 53, 0.98);
    align-items: center;
    justify-content: center;
  }

  .nav-overlay-list {
    text-align: center;
  }

  .nav-overlay-list li {
    margin-bottom: 24px;
  }

  .nav-overlay-link {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
  }

  .nav-overlay-phone {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    border: 2px solid #c3002f;
    border-radius: 4px;
    color: #c3002f;
  }

  .float-phone {
    display: inline-flex;
  }

  .trust-num {
    font-size: 18px;
  }

  .hero-trust {
    gap: 20px;
  }

  .hero {
    min-height: 90vh;
  }

  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-wrapper {
    padding: 20px 16px;
  }
}

/* --- Navigation toggle active state --------------- */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Scrollbar ----------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* --- Privacy Modal -------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  animation: modalIn 0.3s ease-out;
  max-height: 85vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #c3002f;
}

.modal-content h2 {
  font-size: 24px;
  color: #222d35;
  margin-bottom: 20px;
}

.modal-content h3 {
  font-size: 18px;
  color: #222d35;
  margin-top: 24px;
  margin-bottom: 8px;
}

.modal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.modal-content a {
  color: #c3002f;
}

.modal-back {
  margin-top: 24px;
}

/* --- Selection ----------------------------------- */
::selection {
  background: #c3002f;
  color: #fff;
}
