/* ======================================================
   N-PECHATI.RU — Modern CSS 2026
   Mobile-first, CSS Custom Properties, Grid/Flexbox
   Color: Dark Blue + White + Accent Orange-Red
   ====================================================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --c-primary: #0f1b3d;
  --c-primary-light: #1a2d5a;
  --c-primary-dark: #0a1229;
  --c-accent: #e8491d;
  --c-accent-hover: #ff5a2e;
  --c-accent-light: #ff7043;
  --c-white: #ffffff;
  --c-light: #f5f7fa;
  --c-gray: #6b7280;
  --c-gray-light: #e5e7eb;
  --c-gray-dark: #374151;
  --c-success: #10b981;
  --c-text: #1f2937;
  --c-text-light: #6b7280;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 60px;
  --container-px: 16px;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.2);

  /* Transitions */
  --tr: .25s ease;
  --tr-slow: .4s ease;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* === UTILITY === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--c-primary); color: var(--c-white); }
.section--light { background: var(--c-light); }
.section-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: 28px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--c-text-light);
  max-width: 600px;
}
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .section-subtitle { margin: 0 auto; }

.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--tr);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,73,29,.35);
}
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}
.btn--outline-dark {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--outline-dark:hover {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn--white {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.btn--lg { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-lg); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--icon-right svg { margin-left: 4px; }

/* === HEADER / NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 27, 61, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--tr);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar__logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.5px;
}
.navbar__logo span { color: var(--c-accent); }
.navbar__menu {
  display: none;
  gap: 24px;
}
.navbar__menu a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--tr);
  position: relative;
}
.navbar__menu a:hover,
.navbar__menu a.active { color: var(--c-white); }
.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width var(--tr);
}
.navbar__menu a:hover::after { width: 100%; }

.navbar__contacts {
  display: none;
  align-items: center;
  gap: 16px;
}
.navbar__phone {
  color: var(--c-white);
  font-weight: 600;
  font-size: 15px;
}
.navbar__phone:hover { color: var(--c-accent); }

.navbar__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--tr);
}
.navbar__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-primary);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.active { display: block; animation: slideDown .3s ease; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--c-white);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a:hover { color: var(--c-accent); }
.mobile-menu__contacts {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.mobile-menu__contacts a {
  color: var(--c-accent);
  font-size: 20px;
  font-weight: 700;
  border: none;
}
.mobile-menu__contacts p {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  margin-top: 8px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 50%, #1e3a6e 100%);
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(232,73,29,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--c-white), transparent);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 80px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,73,29,.15);
  color: var(--c-accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero__title span { color: var(--c-accent); }
.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.hero__stat {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.hero__stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-accent);
  display: block;
}
.hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.hero__img {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero__img img {
  max-width: 320px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* === ADVANTAGES RIBBON === */
.ribbon {
  background: var(--c-accent);
  color: var(--c-white);
  padding: 16px 0;
  position: relative;
  z-index: 2;
}
.ribbon__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
}
.ribbon__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.ribbon__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  font-size: 18px;
}

/* === ADVANTAGES GRID === */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.advantage-card {
  padding: 28px 24px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-light);
  transition: all var(--tr);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.advantage-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
  border-radius: var(--radius-sm);
  font-size: 24px;
  color: var(--c-white);
}
.advantage-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.advantage-card__text {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.5;
}

/* === PRODUCT CARDS === */
.products-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.products-tab {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-light);
  background: var(--c-light);
  border: 1px solid var(--c-gray-light);
  cursor: pointer;
  transition: all var(--tr);
}
.products-tab:hover,
.products-tab.active {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.product-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-light);
  transition: all var(--tr);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card__imgs {
  display: flex;
  gap: 8px;
  padding: 20px 20px 0;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  background: var(--c-light);
}
.product-card__imgs img {
  max-height: 120px;
  object-fit: contain;
  transition: transform var(--tr);
}
.product-card:hover .product-card__imgs img { transform: scale(1.05); }
.product-card__body { padding: 20px; }
.product-card__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--c-primary);
}
.product-card__prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.product-card__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--c-gray-light);
}
.product-card__price:last-child { border-bottom: none; }
.product-card__price-label { color: var(--c-text-light); }
.product-card__price-value { font-weight: 700; color: var(--c-primary); }
.product-card__price--urgent .product-card__price-value { color: var(--c-accent); }
.product-card__btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  transition: all var(--tr);
  text-align: center;
  cursor: pointer;
}
.product-card__btn:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,73,29,.3);
}

/* === EQUIPMENT / ACCESSORIES === */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.equip-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-light);
  transition: all var(--tr);
}
.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.equip-card__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.equip-card__img img { max-height: 90px; object-fit: contain; }
.equip-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 6px;
  min-height: 36px;
}
.equip-card__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-accent);
}

/* === CONSTRUCTOR CTA === */
.constructor-cta {
  background: linear-gradient(135deg, var(--c-primary) 0%, #1e3a6e 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.constructor-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.constructor-cta__inner {
  position: relative;
  text-align: center;
}
.constructor-cta__title {
  font-size: 28px;
  color: var(--c-white);
  margin-bottom: 16px;
}
.constructor-cta__desc {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.constructor-cta__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: left;
}
.constructor-cta__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.constructor-cta__feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,73,29,.3);
  color: var(--c-accent-light);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* === CONSTRUCTOR EMBED === */
.constructor-embed {
  padding: 40px 0 60px;
  background: var(--c-light);
}
.constructor-embed iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,61,.5), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}
.gallery-item:hover::after { opacity: 1; }

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.review-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-light);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card__name {
  font-size: 15px;
  font-weight: 700;
}
.review-card__role {
  font-size: 13px;
  color: var(--c-text-light);
}
.review-card__stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card__text {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* === TRUST / WHY US === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item {
  padding: 24px 16px;
}
.trust-item__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-item__label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
}

/* === PRICING TABLE === */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--c-gray-light);
}
.pricing-table th {
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--c-light); }
.pricing-table .price-urgent { color: var(--c-accent); font-weight: 700; }

/* === CALCULATOR === */
.calc-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}
.calc-card__title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 24px;
}
.calc-group {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-text);
}
.calc-select,
.calc-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--c-gray-light);
  border-radius: var(--radius-sm);
  background: var(--c-light);
  color: var(--c-text);
  transition: border-color var(--tr);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-white);
}
.calc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.calc-result {
  text-align: center;
  padding: 20px;
  background: var(--c-light);
  border-radius: var(--radius);
  margin-top: 20px;
}
.calc-result__label {
  font-size: 14px;
  color: var(--c-text-light);
  margin-bottom: 4px;
}
.calc-result__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-accent);
}
.calc-result__price span { font-size: 20px; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-gray-light);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
}
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 24px;
  color: var(--c-accent);
  font-weight: 300;
  transition: transform var(--tr);
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
}
.faq-answer__inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* === DELIVERY === */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.delivery-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.delivery-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  border-radius: var(--radius-sm);
  font-size: 24px;
}
.delivery-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.delivery-card__text {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.5;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--c-primary) 0%, #1e3a6e 100%);
  padding: 60px 0;
  text-align: center;
}
.cta-section__title {
  font-size: 28px;
  color: var(--c-white);
  margin-bottom: 12px;
}
.cta-section__desc {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  margin-bottom: 28px;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  border-radius: var(--radius-sm);
  font-size: 20px;
}
.contact-info__label {
  font-size: 13px;
  color: var(--c-text-light);
}
.contact-info__value {
  font-size: 16px;
  font-weight: 600;
}
.contact-info__value a:hover { color: var(--c-accent); }

.form-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
}
.form-card__title {
  font-size: 22px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group .form-input,
.form-group .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--c-gray-light);
  border-radius: var(--radius-sm);
  background: var(--c-light);
  transition: border-color var(--tr);
  font-family: inherit;
}
.form-group .form-input:focus,
.form-group .form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-white);
}
.form-group .form-textarea { resize: vertical; min-height: 100px; }
.form-group .alert-msg {
  display: none;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}
.form-group.error .alert-msg { display: block; }
.form-group.error .form-input,
.form-group.error .form-textarea { border-color: #ef4444; }

.form-consent-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.form-consent-block input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-accent);
  cursor: pointer;
}
.form-consent-block label {
  font-size: 12px;
  color: var(--c-text-light);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent-block label a {
  color: var(--c-accent);
  text-decoration: underline;
}
.consent-error {
  display: none;
  font-size: 12px;
  color: #ef4444;
  margin-top: -12px;
  margin-bottom: 12px;
}

.form-file-block {
  margin-bottom: 16px;
}
.form-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--c-light);
  border: 2px dashed var(--c-gray-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-light);
  transition: all var(--tr);
}
.form-file-label:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.form-file-label input[type="file"] {
  display: none;
}
.form-file-name {
  font-size: 13px;
  color: var(--c-success);
  margin-top: 4px;
}

/* === MAP === */
.map-section { position: relative; }
.map-section iframe,
.map-section script + div {
  width: 100%;
  height: 350px;
}

/* === FOOTER === */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 8px;
}
.footer__logo span { color: var(--c-accent); }
.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}
.footer__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  padding: 4px 0;
  transition: color var(--tr);
}
.footer__links a:hover { color: var(--c-accent); }
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
.footer__contact-item a:hover { color: var(--c-accent); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer__bottom a { color: rgba(255,255,255,.4); }
.footer__bottom a:hover { color: var(--c-accent); }

/* === MODALS === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active { display: flex; animation: fadeIn .2s ease; }
.modal-box {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn .3s ease;
}
@keyframes scaleIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  border-radius: 50%;
  font-size: 18px;
  color: var(--c-text-light);
  transition: all var(--tr);
  border: none;
  cursor: pointer;
}
.modal-close:hover { background: var(--c-gray-light); color: var(--c-text); }
.modal-title {
  font-size: 22px;
  margin-bottom: 20px;
  padding-right: 40px;
}

/* Success modal */
.modal-success {
  text-align: center;
  padding: 40px 24px;
}
.modal-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--c-white);
}
.modal-success__title {
  font-size: 24px;
  margin-bottom: 8px;
}
.modal-success__text {
  color: var(--c-text-light);
  font-size: 15px;
}
.modal-success__sub {
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-text-light);
}
.modal-success__messengers {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}
.msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.msg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  color: #fff;
}
.msg-btn--tg { background: #2AABEE; }
.msg-btn--max { background: #0077FF; }

/* === EXIT INTENT POPUP === */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.exit-popup.active { display: flex; }
.exit-popup__box {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: scaleIn .3s ease;
}
.exit-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
.exit-popup__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
  border-radius: 50%;
  color: var(--c-white);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}
.exit-popup__title {
  font-size: 22px;
  margin-bottom: 8px;
}
.exit-popup__text {
  color: var(--c-text-light);
  font-size: 15px;
  margin-bottom: 20px;
}

/* === FLOATING BUTTONS === */
.floating-btns {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform var(--tr), box-shadow var(--tr);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.float-btn--tg { background: #0088cc; }
.float-btn--max {
  background: #0077FF;
  border-radius: 26px;
  width: auto;
  padding: 0 16px;
  gap: 6px;
}
.float-btn__icon {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.float-btn__label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.float-btn--call {
  background: #ff3b30;
  animation: pulse-call 2s infinite;
}
.float-btn--top {
  background: var(--c-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}
.float-btn--top.visible { opacity: 1; pointer-events: all; }

@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(255,59,48,.6); }
  70% { box-shadow: 0 0 0 14px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}

/* === COOKIE CONSENT === */
.cookie-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 16px;
  z-index: 9998;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}
.cookie-bar.active { display: block; animation: slideUp .3s ease; }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.cookie-bar__text {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.cookie-bar__text a { color: var(--c-accent); text-decoration: underline; }
.cookie-bar__btn {
  padding: 10px 28px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background var(--tr);
}
.cookie-bar__btn:hover { background: var(--c-accent-hover); }

/* ======================================================
   RESPONSIVE — Tablet & Desktop
   ====================================================== */

@media (min-width: 576px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
  .ribbon__inner { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  :root {
    --section-py: 80px;
    --container-px: 24px;
  }
  .section-title { font-size: 36px; }
  .hero__title { font-size: 44px; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; padding: 60px 0 100px; }
  .hero__desc { font-size: 18px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .constructor-cta__features { grid-template-columns: repeat(2, 1fr); }
  .constructor-cta__title { font-size: 36px; }
  .cookie-bar__inner { flex-direction: row; text-align: left; }
  .mobile-menu a { font-size: 20px; }
}

@media (min-width: 992px) {
  .navbar__menu { display: flex; }
  .navbar__contacts { display: flex; }
  .navbar__burger { display: none; }
  .section-title { font-size: 40px; }
  .hero__title { font-size: 52px; }
  .hero__img img { max-width: 420px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .equip-grid { grid-template-columns: repeat(5, 1fr); }
  .delivery-grid { grid-template-columns: repeat(3, 1fr); }
  .map-section iframe,
  .map-section script + div { height: 450px; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 58px; }
  .advantages-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Hidden states for product tab content */
.tab-content { display: none; }
.tab-content.active { display: grid; }

/* Scroll reveal animation base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
