/* ==============================
   ГРУЗАВТО — Premium Stylesheet
   ============================== */

/* ── CSS Variables ── */
:root {
  --primary:    #CF2E2E;
  --primary-d:  #b02626;
  --dark:       #1E3A5F;
  --dark-d:     #152c4a;
  --light:      #EEF2FF;
  --medium:     #dee3f2;
  --text:       #1a1a1a;
  --text-mid:   #4a4a6a;
  --text-light: #6b7280;
  --white:      #ffffff;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(30, 58, 95, 0.10);
  --shadow-lg:  0 12px 48px rgba(30, 58, 95, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section {
  padding: 96px 0;
}
.section-light  { background: var(--light); }
.section-medium { background: var(--medium); }

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(207, 46, 46, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(207, 46, 46, 0.3);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(207, 46, 46, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Reveal Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal-up.animated,
.reveal-right.animated {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.delay-1.animated { transition-delay: 0.1s; }
.delay-2.animated { transition-delay: 0.2s; }
.delay-3.animated { transition-delay: 0.3s; }
.delay-4.animated { transition-delay: 0.4s; }
.delay-5.animated { transition-delay: 0.5s; }


/* ==============================
   NAVIGATION
   ============================== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
.nav-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.30);
}

/* — Top bar — */
.nav-topbar {
  background: #eef2ff;
  height: 48px;
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}
.nav-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }
.nav-topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav-topbar-loc {
  font-size: 13px;
  color: var(--text-light);
}
.nav-topbar-phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}
.nav-topbar-phone:hover { color: var(--primary); }
.nav-topbar-cta { flex-shrink: 0; }

/* — Nav bar — */
.nav-bar {
  background: var(--dark-d);
  height: 48px;
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 7px 12px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active { color: var(--primary); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ==============================
   HERO
   ============================== */
.hero {
  background: var(--light);
  padding-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
  min-height: calc(100vh - var(--nav-h));
}

/* Left column */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-slogan {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 28px;
  font-family: 'Roboto', sans-serif;
}
.hero-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-brand-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dark);
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid rgba(30, 58, 95, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}
.hero-brand-tag:hover {
  background: var(--dark);
  color: var(--white);
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right column — image */
.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.6s ease;
  drop-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hero-image:hover img { transform: scale(1.03); }

/* Placeholder when no image */
.hero-image.hero-img-placeholder img { display: none; }
.hero-img-placeholder-text {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-light);
  text-align: center;
  padding: 24px;
}
.hero-image.hero-img-placeholder .hero-img-placeholder-text { display: flex; }
.hero-img-placeholder-text p { font-size: 15px; font-weight: 600; color: var(--text-mid); }
.hero-img-placeholder-text small { font-size: 12px; color: var(--text-light); }


/* ==============================
   НАЛИЧИЕ
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.contact-card-city {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.city-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
}
.city-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.city-address {
  font-size: 14px;
  color: var(--text-light);
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
}
.contact-btn-max {
  background: linear-gradient(135deg, #4EA8FF, #9B4EFF);
  color: var(--white);
}
.contact-btn-max:hover {
  filter: brightness(1.1);
  transform: translateX(4px);
}
.contact-btn-phone {
  background: rgba(30, 58, 95, 0.07);
  color: var(--dark);
}
.contact-btn-phone:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateX(4px);
}


/* ==============================
   ЗАКАЗ
   ============================== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.order-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.order-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.order-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.order-icon-email    { background: rgba(30, 58, 95, 0.08); color: var(--dark); }
.order-icon-max { background: rgba(155, 78, 255, 0.1); color: #9B4EFF; }
.order-icon-phone    { background: rgba(207, 46, 46, 0.08); color: var(--primary); }
.order-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.order-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  word-break: break-all;
}
.order-action {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}


/* ==============================
   ДОГОВОР
   ============================== */
.contract-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.contract-content .section-tag { display: inline-block; margin-bottom: 16px; }
.contract-content .section-title { text-align: left; margin-bottom: 16px; }
.contract-intro {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.contract-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.contract-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
}
.contract-check {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}
.contract-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contract-visual {}
.contract-stats {
  background: var(--dark);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stat-card {
  text-align: center;
  padding: 24px 0;
}
.stat-card:first-child { padding-top: 0; }
.stat-card:last-child  { padding-bottom: 0; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}
.stat-dash {
  font-size: 36px;
  color: var(--primary);
  display: inline-block;
  margin: 0 4px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}


/* ==============================
   МАРКИ
   ============================== */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand-badge {
  flex: 0 0 calc((100% - 5 * 16px) / 6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid rgba(30, 58, 95, 0.09);
  border-bottom: 3px solid transparent;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-bottom-color var(--transition);
  cursor: default;
}

.brand-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.brand-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #a02020);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.brand-icon span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-badge:hover .brand-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(207, 46, 46, 0.35);
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.3;
  transition: color var(--transition);
}

.brand-badge:hover .brand-name {
  color: var(--primary);
}

.brands-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(207, 46, 46, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
}
.brands-note svg { color: var(--primary); flex-shrink: 0; }
.brands-note p { font-size: 16px; }
.brands-note strong { color: var(--dark); }


/* ==============================
   О НАС
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.about-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}
.about-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.about-card-address {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.4;
}
.about-schedule { display: flex; flex-direction: column; gap: 8px; }
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.schedule-days { color: var(--text-mid); }
.schedule-time { font-weight: 600; color: var(--dark); }
.schedule-break .schedule-days { color: var(--text-light); font-size: 13px; }
.schedule-break .schedule-time { color: var(--text-light); font-size: 13px; }
.about-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}
.about-phone:hover { text-decoration: underline; }

.about-card-requisites { border: 2px dashed rgba(30, 58, 95, 0.15); }
.about-requisites-text { font-size: 15px; color: var(--text-mid); }


/* ==============================
   СХЕМА ПРОЕЗДА
   ============================== */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}
.direction-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.direction-photo {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.direction-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.direction-card:hover .direction-photo img {
  transform: scale(1.05);
}
.direction-photo-placeholder {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-placeholder-content {
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.photo-placeholder-content p { font-size: 15px; font-weight: 600; color: var(--text-mid); }
.photo-placeholder-content small { font-size: 12px; }
.direction-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.direction-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.direction-info p { font-size: 14px; color: var(--text-mid); }
.direction-phone {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
  margin-top: 6px;
}
.direction-phone:hover { text-decoration: underline; }

/* Carousel */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: #fff;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.carousel:hover .carousel-btn {
  opacity: 1;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* MAX logo icon */
.max-logo-icon {
  border-radius: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}
.contact-btn-max .max-logo-icon {
  width: 22px;
  height: 22px;
}
.order-icon-max .max-logo-icon {
  width: 36px;
  height: 36px;
}
.btn .max-logo-icon {
  width: 20px;
  height: 20px;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10000;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}


/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--primary); }
.footer-slogan { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-cities { font-size: 13px; color: rgba(255,255,255,0.4); }

.footer-contacts { display: flex; flex-direction: column; gap: 24px; }
.footer-contact-group { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.footer-phone { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); }
.footer-phone:hover { color: var(--primary); }
.footer-max { font-size: 13px; color: #9B4EFF; font-weight: 600; }
.footer-max:hover { text-decoration: underline; }
.footer-email { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-email:hover { color: var(--white); }

.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ==============================
   FLOATING CALL BUTTON
   ============================== */
.float-call {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(207, 46, 46, 0.45);
  transition: all var(--transition);
  display: none;
}
.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(207, 46, 46, 0.55);
}
.float-call::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.4;
}
@keyframes ping {
  75%, 100% { transform: scale(1.8); opacity: 0; }
}


/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .contract-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contract-visual { order: -1; }
  .contract-stats { flex-direction: row; justify-content: space-around; flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 90px; }

  .nav-topbar-info { display: none; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: auto;
  }
  .hero-image {
    order: -1;
    aspect-ratio: 16/9;
    border-radius: 14px;
  }
  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-text { text-align: center; align-items: center; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark-d);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { padding: 14px 16px; border-radius: 8px; font-size: 16px; }

  .hero-title { font-size: clamp(52px, 15vw, 72px); }

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

  .contract-stats { padding: 24px; }
  .stat-number { font-size: 36px; }

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

  .float-call { display: flex; }
  .hero-cta .btn-outline { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-brands { gap: 8px; }
  .brands-grid { gap: 10px; }
  .brand-badge { flex: 0 0 calc((100% - 2 * 10px) / 3); }
  .brand-badge { padding: 16px 10px 14px; min-height: 88px; }
  .brand-icon { width: 48px; height: 48px; }
  .brand-icon span { font-size: 16px; }
  .contact-card { padding: 24px; }
  .order-card { padding: 28px 20px; }
}

@media (max-width: 400px) {
  .brands-grid {
    gap: 10px;
  }
  .brand-badge {
    flex: 0 0 calc((100% - 10px) / 2);
  }
  .brand-badge {
    padding: 18px 12px 16px;
    min-height: 96px;
  }
  .brand-icon {
    width: 52px;
    height: 52px;
  }
  .brand-icon span {
    font-size: 18px;
  }
}
