/* ============================================
   CSS — Лендинг «Продажа полимеров»
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:focus-visible {
  outline: 3px solid #ff9800;
  outline-offset: 2px;
}

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

.btn--primary:hover {
  background: #1557b0;
  border-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: #1a73e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.25);
}

.btn--outline:active {
  transform: translateY(0);
}

.btn--accent {
  background: #ff9800;
  color: #fff;
  border-color: #ff9800;
}

.btn--accent:hover {
  background: #f57c00;
  border-color: #f57c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.35);
}

.btn--small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ---------- Section common ---------- */
.section {
  padding: 80px 0;
}

.section__title {
  font-size: 36px;
  font-weight: 800;
  color: #222;
  text-align: center;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 18px;
  color: #666;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ============================================
   1. HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eaeaea;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #1a73e8;
  flex-shrink: 0;
}

.header__logo-text {
  letter-spacing: 1px;
}

.header__phone {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s;
}

.header__phone:hover {
  color: #1a73e8;
}

/* ---------- Desktop Navigation ---------- */
.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav .nav-mobile-only {
  display: none;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a73e8;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.header__nav a:hover {
  color: #1a73e8;
}

.header__nav a:hover::after {
  width: 100%;
}

/* ---------- Burger ---------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1a73e8 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,152,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(76,175,80,0.10) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes heroGlow {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Floating decorative shapes */
.hero__bg .hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.06;
}

.hero__bg .hero__shape--1 {
  width: 400px;
  height: 400px;
  background: #fff;
  top: -100px;
  right: -100px;
  animation: floatShape 12s ease-in-out infinite;
}

.hero__bg .hero__shape--2 {
  width: 250px;
  height: 250px;
  background: #ff9800;
  bottom: -50px;
  left: -50px;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.hero__bg .hero__shape--3 {
  width: 180px;
  height: 180px;
  background: #4caf50;
  top: 40%;
  left: 10%;
  animation: floatShape 10s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
}

.hero__title {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeIn 1s ease forwards;
}

.hero__subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeIn 1s ease 0.2s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease 0.4s forwards;
  opacity: 0;
}

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

/* ============================================
   3. ABOUT
   ============================================ */
.about {
  background: #f8f9fc;
}

.about__desc {
  max-width: 720px;
}

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

.about__item {
  text-align: center;
  padding: 30px 16px;
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.about__icon {
  margin-bottom: 16px;
  display: inline-flex;
}

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

.about__item-text {
  font-size: 14px;
  color: #777;
}

/* ============================================
   4. PRODUCTS
   ============================================ */
.products {
  background: #fff;
  position: relative;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
  cursor: default;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #4caf50);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  border-color: #1a73e8;
}

.product-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  transition: background 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card__img svg {
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
  background: #f0f6ff;
}

.product-card:hover .product-card__img svg {
  transform: scale(1.08);
}

.product-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  padding: 20px 20px 8px;
  transition: color 0.3s;
}

.product-card:hover .product-card__title {
  color: #1a73e8;
}

.product-card__desc {
  font-size: 14px;
  color: #777;
  padding: 0 20px 12px;
  line-height: 1.5;
}

.product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #1a73e8;
  padding: 0 20px 20px;
}

.product-card__footer {
  padding: 0 20px 20px;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a73e8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s, gap 0.3s;
  font-family: inherit;
}

.product-card__btn:hover {
  color: #ff9800;
  gap: 10px;
}

.product-card__btn svg {
  transition: transform 0.3s;
}

.product-card__btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   5. BENEFITS
   ============================================ */
.benefits {
  background: #f8f9fc;
  position: relative;
}

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

.benefit-item {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #ff9800);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-item:hover::after {
  transform: scaleX(1);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.benefit-item__icon {
  margin-bottom: 16px;
  display: inline-flex;
  transition: transform 0.4s ease;
}

.benefit-item:hover .benefit-item__icon {
  transform: scale(1.1);
}

.benefit-item__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.benefit-item__text {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* ============================================
   6. CONTACT FORM
   ============================================ */
.contact {
  background: #fff;
  position: relative;
}

/* Contact form decorative top accent */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #4caf50, #ff9800);
}

.contact__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: color 0.3s;
}

.contact__input {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background: #fafafa;
}

.contact__input:hover {
  border-color: #bbb;
}

.contact__input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
  background: #fff;
}

.contact__input.error {
  border-color: #e53935;
  background: #fff5f5;
}

.contact__input.error:focus {
  box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}

.contact__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__error {
  font-size: 13px;
  color: #e53935;
  min-height: 18px;
  transition: opacity 0.3s;
}

/* ============================================
   7. CONTACTS
   ============================================ */
.contacts {
  background: #f8f9fc;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacts__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.contacts__item-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts__item-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #444;
  margin-bottom: 4px;
}

.contacts__item-content p,
.contacts__item-content a {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

.contacts__item-content a:hover {
  color: #1a73e8;
}

.contacts__map {
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #4caf50, #ff9800);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 13px;
  color: #888;
}

.footer__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__links,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links li a,
.footer__contacts li a {
  font-size: 14px;
  color: #aaa;
  transition: color 0.3s;
}

.footer__links li a:hover,
.footer__contacts li a:hover {
  color: #fff;
}

.footer__contacts li {
  font-size: 14px;
  color: #aaa;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 440px;
  width: 90%;
  z-index: 1;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal__close:hover {
  color: #333;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  padding: 16px 28px;
  transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: top;
}

.notification.active {
  top: 24px;
}

.notification__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notification__icon {
  flex-shrink: 0;
  animation: notifPop 0.5s ease 0.2s both;
}

@keyframes notifPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.notification__text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #ff9800);
  border-radius: 4px;
  margin: 0 auto 20px;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: #1a73e8;
  color: #fff;
}

/* ============================================
   FOCUS VISIBLE (accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ff9800;
  outline-offset: 2px;
}

/* ============================================
   SMOOTH IMAGE / SVG LOAD
   ============================================ */
svg {
  transition: opacity 0.3s;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop: ≥1200px — компактные карточки для 6 колонок */
@media (min-width: 1200px) {
  .product-card__title {
    font-size: 16px;
    padding: 14px 14px 6px;
  }

  .product-card__desc {
    font-size: 12px;
    padding: 0 14px 10px;
  }

  .product-card__price {
    font-size: 15px;
    padding: 0 14px 14px;
  }

  .product-card__footer {
    padding: 0 14px 14px;
  }

  .product-card__img {
    padding: 16px 14px;
  }

  .product-card__img svg {
    width: 100%;
    height: auto;
    max-width: 140px;
  }

  .product-card__btn {
    font-size: 12px;
  }
}

/* Tablet: 768px–1199px */
@media (max-width: 1199px) {
  .header__nav {
    gap: 16px;
  }

  .header__nav a {
    font-size: 14px;
  }

  .header__phone {
    font-size: 14px;
  }

  .header__call-btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .header__logo-text {
    font-size: 18px;
  }

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

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits__grid .benefit-item:last-child {
    grid-column: 2 / 3;
  }

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

  .hero__title {
    font-size: 40px;
  }

  .hero__bg .hero__shape--1 {
    width: 250px;
    height: 250px;
  }

  .hero__bg .hero__shape--2 {
    width: 180px;
    height: 180px;
  }

  .hero__bg .hero__shape--3 {
    display: none;
  }
}

/* Mobile: ≤ 768px (бургер-меню включено) */
@media (max-width: 768px) {
  .header__inner {
    padding: 12px 20px;
  }

  .header__phone {
    display: none;
  }

  .header__call-btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Mobile menu */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .header__nav .nav-mobile-only {
    display: block;
    color: #1a73e8;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .header__nav .nav-mobile-only.btn {
    display: flex;
    color: #fff;
    border-bottom: none;
  }

  .hero {
    min-height: 80vh;
    padding-top: 70px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__bg .hero__shape--2,
  .hero__bg .hero__shape--3 {
    display: none;
  }

  .hero__bg .hero__shape--1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section {
    padding: 50px 0;
  }

  .section__title {
    font-size: 26px;
  }

  .section__desc {
    font-size: 15px;
    margin-bottom: 32px;
  }

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

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

  .product-card__img {
    padding: 20px 16px;
  }

  .product-card__img svg {
    width: 100%;
    height: auto;
    max-width: 180px;
  }

  .product-card__title {
    font-size: 18px;
    padding: 16px 16px 6px;
  }

  .product-card__desc {
    font-size: 14px;
    padding: 0 16px 10px;
  }

  .product-card__price {
    font-size: 17px;
    padding: 0 16px 16px;
  }

  .product-card__footer {
    padding: 0 16px 16px;
  }

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

  .benefits__grid .benefit-item:last-child {
    grid-column: auto;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .notification {
    width: 90%;
    max-width: 360px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 20px;
  }

  .modal__content {
    padding: 30px 20px;
  }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .hero__title {
    font-size: 24px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .section__title {
    font-size: 22px;
  }

  .product-card__title {
    font-size: 18px;
  }

  .product-card__price {
    font-size: 16px;
  }

  .contacts__map iframe {
    height: 220px;
  }

  .notification {
    width: 92%;
    padding: 12px 16px;
  }

  .notification__text {
    font-size: 14px;
  }
}

/* Extra small: ≤ 360px (минимальная поддержка 320px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero__title {
    font-size: 20px;
  }

  .hero__subtitle {
    font-size: 13px;
  }

  .section {
    padding: 36px 0;
  }

  .section__title {
    font-size: 20px;
  }

  .section__desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero__actions .btn {
    font-size: 13px;
    padding: 10px 18px;
  }

  .header__inner {
    padding: 10px 12px;
    gap: 10px;
  }

  .header__logo svg {
    width: 28px;
    height: 28px;
  }

  .header__logo-text {
    font-size: 18px;
  }

  .header__nav {
    width: 100%;
  }

  .contact__form {
    gap: 14px;
  }

  .contact__input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .modal__content {
    padding: 24px 16px;
    width: 96%;
  }

  .contacts__map iframe {
    height: 180px;
  }
}
