/*
Theme Name: ЗМК Гаражи из сэндвич-панелей
Theme URI: https://ваш-сайт.ru
Author: ЗМК
Author URI: https://ваш-сайт.ru
Description: Тема для строительной компании с поддержкой WooCommerce
Version: 1.0
License: GPL v2 or later
Text Domain: zmk-garage
*/

/* ========== БАЗОВЫЕ СТИЛИ ========== */
body {
    margin: 0;
    padding: 0;
    background: #F8F9FC;
}

:root {
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --light-bg: #F9FAFE;
  --dark-text: #111827;
  --gray-text: #4B5563;
  --soft-gray: #E5E7EB;
  --border-light: #EFF3F8;
  --accent-main: #1E88E5;
  --accent-deep: #0B5E9E;
  --accent-mid: #42A5F5;
  --accent-soft: #E3F2FD;
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--off-white);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-family: system-ui, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-main), var(--accent-mid));
  z-index: 9999;
  pointer-events: none;
  transition: width .1s linear;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

.header__info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header__address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-text);
}

.header__address i {
  color: var(--accent-main);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone a {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.3s;
}

.header__phone a:hover {
  color: var(--accent-main);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-main);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent-main);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent-main);
  color: var(--accent-main);
}

.btn--outline:hover {
  background: var(--accent-main);
  color: white;
  transform: translateY(-2px);
}

.btn--small {
  padding: 8px 20px;
  font-size: 13px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--dark-text);
  transition: all 0.3s ease;
}

.nav {
  border-top: 1px solid var(--border-light);
  background: white;
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding: 16px 0;
}

.nav__list li a {
  text-decoration: none;
  color: var(--gray-text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav__list li a:hover {
  color: var(--accent-main);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: white;
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 24px 40px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 24px;
}

/* ========== HERO ========== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__labels {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero__labels span {
  background: rgba(30,136,229,0.1);
  color: var(--accent-main);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__accent {
  color: var(--accent-main);
}

.hero__list {
  list-style: none;
  margin-bottom: 32px;
}
.hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hero__list li i {
  color: var(--accent-main);
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-main);
}
.hero__stat-label {
  font-size: 13px;
  color: var(--gray-text);
}

.hero__image {
  position: relative;
}
.hero__image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute;
  background: white;
  padding: 8px 16px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero__badge i {
  color: var(--accent-main);
}
.hero__badge--1 { top: 20px; left: -20px; }
.hero__badge--2 { bottom: 40px; left: -20px; }
.hero__badge--3 { top: 50%; right: -20px; transform: translateY(-50%); }

/* ========== ОБЩИЕ СЕКЦИИ ========== */
.section {
  padding: 100px 0;
}
.section--gray {
  background: var(--off-white);
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__tag {
  display: inline-block;
  background: rgba(30,136,229,0.1);
  color: var(--accent-main);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}
.section__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Benefits */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.benefit-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.benefit-card__number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(30,136,229,0.2);
}
.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.benefit-card__metric {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-main);
  margin: 16px 0;
}
.benefit-card p {
  color: var(--gray-text);
}

/* Types Slider (Swiper) */
.types-swiper {
  padding: 20px 0 60px;
  overflow: hidden;
}
.type-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-main);
}
.type-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.type-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.type-card:hover .type-card__image img {
  transform: scale(1.05);
}
.type-card__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.type-card__tag i {
  color: var(--accent-main);
}
.type-card__body {
  padding: 20px;
}
.type-card__id {
  font-size: 11px;
  color: var(--accent-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.type-card__body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.type-card__body p {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 16px;
}
.type-card__specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.type-card__specs span {
  font-size: 13px;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.type-card__specs span i {
  color: var(--accent-main);
}
.type-card__price {
  font-weight: 700;
  color: var(--accent-main) !important;
}
.type-card__footer {
  padding: 0 20px 20px;
}
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-main);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px;
}
.swiper-pagination-bullet-active {
  background: var(--accent-main);
}

/* Materials */
.materials__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
}
.material-panel {
  background: white;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}
.material-panel h3 {
  font-size: 24px;
  margin-bottom: 24px;
}
.material-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.material-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.material-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.material-item div strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.material-item div span {
  font-size: 14px;
  color: var(--gray-text);
}

/* Why Us */
.whyus__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.whyus-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.whyus-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.whyus-card--wide {
  grid-column: span 3;
}
.whyus-card__number {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-main);
  margin-bottom: 16px;
}
.whyus-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.whyus-card__metric {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-main);
  margin: 12px 0;
}
.whyus-card p {
  color: var(--gray-text);
  font-size: 14px;
}
.whyus__cta {
  text-align: center;
  margin-top: 48px;
}
.whyus__cta p {
  margin-top: 16px;
  color: var(--gray-text);
}

/* Steps */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.step-card__num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(30,136,229,0.2);
  margin-bottom: 16px;
}
.step-card__icon {
  font-size: 48px;
  color: var(--accent-main);
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--gray-text);
  font-size: 14px;
}

/* Pricing */
.factors__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.factor-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-main);
}
.factor-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}
.factor-card p {
  color: var(--gray-text);
  font-size: 14px;
}
.price-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.price-table__row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}
.price-table__row:last-child {
  border-bottom: none;
}
.price-table__header {
  background: var(--off-white);
  font-weight: 700;
}
.price-table__row .price {
  font-weight: 700;
  color: var(--accent-main);
}
.prices__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Foundation */
.foundation__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.foundation-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s;
}
.foundation-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.foundation-card__top img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
}
.foundation-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.foundation-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}
.foundation-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--gray-text);
}
.price-accent {
  color: var(--accent-main);
}
.consult-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: white;
  padding: 32px 40px;
  border-radius: 20px;
  border: 1px solid var(--accent-main);
}
.consult-card__icon {
  font-size: 48px;
  color: var(--accent-main);
}
.consult-card__text strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}
.consult-card__text p {
  color: var(--gray-text);
}

/* Options */
.options__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.option-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.option-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.option-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 16px;
}
.option-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.option-card p {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 12px;
}
.option-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-main);
}

/* Comparison */
.comparison-table {
  background: white;
  border-radius: 16px;
  overflow-x: auto;
}
.comparison-table__row {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.comparison-table__header {
  background: var(--off-white);
  font-weight: 700;
}
.comparison-table__row .yes {
  color: #00c853;
  font-weight: 600;
}
.comparison-table__row .no {
  color: #ff4444;
  font-weight: 600;
}
.comparison__footer {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  background: white;
  border-radius: 16px;
}
.comparison__footer p {
  margin-bottom: 20px;
  font-size: 18px;
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
}
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--accent-main);
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--gray-text);
  border-top: 1px solid var(--border-light);
}
.faq-item.open .faq-answer {
  display: block;
}
.faq__cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== WOOCOMMERCE КАТАЛОГ (СЕТКА, КАРТОЧКИ, ФИЛЬТРЫ) ========== */
.shop-page {
    padding-top: 140px;
}
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.shop-sidebar .widget {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}
.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.shop-title {
    font-size: 32px;
    font-weight: 800;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-main);
}
.product-card__link {
    display: block;
    overflow: hidden;
}
.product-card__link img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card__link img {
    transform: scale(1.03);
}
.product-card__body {
    padding: 20px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}
.product-card__title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}
.product-card__title a:hover {
    color: var(--accent-main);
}
.product-card__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-main);
    margin-bottom: 12px;
}
.product-card__price .woocommerce-Price-amount {
    font-weight: 800;
}
.product-card__meta {
    margin: 10px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}
.product-card__meta span {
    font-size: 13px;
    color: var(--gray-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7fafc;
    padding: 4px 12px;
    border-radius: 30px;
    line-height: 1.4;
}
.product-card__meta i {
    color: var(--accent-main);
    font-size: 12px;
}
.product-card__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.product-card__actions .btn--small,
.product-card__actions a.button {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    background: #f1f5f9;
    color: #1e293b;
    border: none;
    display: inline-block;
}
.product-card__actions .btn--small:first-child,
.product-card__actions a.button:first-child {
    background: var(--accent-main);
    color: white;
}
.product-card__actions .btn--small:first-child:hover,
.product-card__actions a.button:first-child:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
}
.product-card__actions .btn--small:last-child,
.product-card__actions a.button:last-child {
    background: #f1f5f9;
    color: #1e293b;
}
.product-card__actions .btn--small:last-child:hover,
.product-card__actions a.button:last-child:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}
/* Скрываем поле количества в карточке товара (если появится) */
.product-card .quantity {
    display: none;
}
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}
.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
}
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-text);
}
.woocommerce-pagination .page-numbers li .current {
    background: var(--accent-main);
    border-color: var(--accent-main);
    color: white;
}
@media (max-width: 992px) {
    .shop-layout { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-card__link img { height: 200px; }
}

/* ========== СТРАНИЦА ТОВАРА (SINGLE PRODUCT) ========== */
.single-product-page {
    padding-top: 140px;
}
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.product-gallery .main-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.gallery-thumbs .thumb {
    width: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}
.gallery-thumbs .thumb img {
    width: 100%;
    transition: 0.2s;
}
.gallery-thumbs .thumb:hover {
    border-color: var(--accent-main);
}
.product-summary .product-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.product-category, .product-sku {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 8px;
}
.product-category a {
    color: var(--accent-main);
    text-decoration: none;
}
.product-price {
    margin: 20px 0;
}
.product-price .price-regular {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 15px;
}
.product-price .price-sale,
.product-price .price-current {
    font-size: 32px;
    font-weight: 800;
    color: #cf2e2e;
}
.product-meta-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}
.meta-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--off-white);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}
.meta-block i {
    font-size: 24px;
    color: var(--accent-main);
}
.meta-block span {
    font-size: 12px;
    color: var(--gray-text);
    display: block;
}
.meta-block strong {
    font-size: 16px;
    color: var(--dark-text);
}
.product-tabs-wrapper {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    margin: 40px 0;
    overflow: hidden;
}
.tabs-header {
    display: flex;
    background: var(--off-white);
    border-bottom: 1px solid var(--border-light);
}
.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.tab-btn.active {
    background: white;
    color: var(--accent-main);
    border-bottom: 2px solid var(--accent-main);
}
.tabs-content {
    padding: 30px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.product-description-content,
.product-complect-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-text);
}
.product-description-content h1, .product-description-content h2, .product-description-content h3,
.product-complect-content h1, .product-complect-content h2, .product-complect-content h3 {
    color: var(--dark-text);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.product-description-content ul, .product-complect-content ul,
.product-description-content ol, .product-complect-content ol {
    padding-left: 1.5em;
    margin: 1em 0;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}
.specs-table th, .specs-table td {
    padding: 12px;
    text-align: left;
}
.specs-table th {
    width: 40%;
    font-weight: 700;
    background: var(--off-white);
}
.single-product-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tabs-header {
        flex-wrap: wrap;
    }
    .tab-btn {
        flex: 1;
        text-align: center;
    }
}

/* ========== ОСТАЛЬНЫЕ СЕКЦИИ (PROJECTS, REVIEWS, PACKAGES, CTA, FOOTER, MODAL) ========== */
/* Projects & Products Grid (WooCommerce) - дополнительно для единообразия */
.projects__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 24px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.project-card, .product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
}
.project-card:hover, .product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-main);
}
.project-card img, .product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.project-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-main);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}
.project-card__body, .product-card__body {
  padding: 20px;
}
.project-card__id, .product-card__id {
  font-size: 11px;
  color: var(--accent-main);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-card__body h3, .product-card__body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.project-card__body p, .product-card__body p {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 16px;
}
.project-card__specs, .product-card__specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.project-card__specs span, .product-card__specs span {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-card__specs .price, .product-card__price {
  color: var(--accent-main);
  font-weight: 700;
}
.projects__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Reviews */
.reviews__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.review-stat {
  text-align: center;
}
.review-stat__num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-main);
  display: block;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.review-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-main);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-card__avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-main);
}
.review-card__stars {
  margin-left: auto;
  color: #ffc107;
}
.review-card p {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.review-card__footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-text);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.invite-card {
  text-align: center;
  background: rgba(30,136,229,0.05);
  border: 1px dashed var(--accent-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.invite-icon {
  font-size: 48px;
  color: var(--accent-main);
  margin-bottom: 16px;
}
.invite-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.invite-body p {
  margin-bottom: 20px;
}

/* Pricing Packages */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.package-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
}
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.package-card.featured {
  border: 2px solid var(--accent-main);
  transform: scale(1.02);
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-main);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
}
.package-card img {
  width: 80px;
  margin-bottom: 20px;
}
.package-card__badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-main);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 16px;
}
.package-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.package-card p {
  color: var(--gray-text);
  margin-bottom: 20px;
}
.package-card__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-main);
  margin-bottom: 24px;
}
.package-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}
.package-footer__icon {
  font-size: 48px;
  color: var(--accent-main);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-deep));
  color: white;
  text-align: center;
}
.cta__content {
  max-width: 700px;
  margin: 0 auto;
}
.cta__content .section__tag {
  background: rgba(255,255,255,0.2);
  color: white;
}
.cta__content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}
.cta__content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.cta__phone {
  margin-bottom: 30px;
}
.cta__phone a {
  font-size: 32px;
  font-weight: 800;
  color: white;
  text-decoration: none;
}
.cta__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__buttons .btn--outline {
  border-color: white;
  color: white;
}
.cta__buttons .btn--outline:hover {
  background: white;
  color: var(--accent-main);
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: var(--soft-gray);
  padding: 60px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer__logo img {
  height: 50px;
  margin-bottom: 20px;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__phone a, .footer__address, .footer__hours {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft-gray);
  text-decoration: none;
}
.footer__phone a:hover {
  color: var(--accent-main);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.footer__bottom a {
  color: var(--soft-gray);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--accent-main);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal__content {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}
.modal__header h3 {
  font-size: 24px;
}
.modal__close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.modal__body {
  padding: 24px;
}
.modal__body input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}
.politic {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 20px;
}
.politic a {
  color: var(--accent-main);
}

/* To Top button */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-main);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
}
.to-top:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .hero__title { font-size: 44px; }
  .section__title { font-size: 36px; }
}
@media (max-width: 992px) {
  .header__info { display: none; }
  .burger { display: flex; }
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .benefits__grid, .whyus__grid, .steps__grid, .materials__grid,
  .foundation__grid, .options__grid, .projects__grid, .reviews__grid,
  .packages__grid, .products-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .shop-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding-top: 100px; }
  .hero__title { font-size: 32px; }
  .section { padding: 60px 0; }
  .section__title { font-size: 28px; }
  .benefits__grid, .whyus__grid, .steps__grid, .materials__grid,
  .foundation__grid, .options__grid, .projects__grid, .reviews__grid,
  .packages__grid, .products-grid {
    grid-template-columns: 1fr;
  }
  .whyus-card--wide { grid-column: span 1; }
  .factors__grid { grid-template-columns: 1fr; }
  .comparison-table { overflow-x: scroll; }
  .comparison-table__row { min-width: 600px; }
  .consult-card { flex-direction: column; text-align: center; }
  .package-footer { flex-direction: column; text-align: center; }
  .hero__badge { display: none; }
  .cta__content h2 { font-size: 28px; }
  .cta__phone a { font-size: 24px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .hero__stats { gap: 20px; }
  .hero__stat-num { font-size: 28px; }
  .btn { padding: 10px 20px; font-size: 13px; }
  .section__buttons { flex-direction: column; align-items: center; }
  .section__buttons .btn { width: 100%; max-width: 280px; }
  .projects__filters { gap: 8px; }
  .filter-btn { padding: 6px 16px; font-size: 12px; }
  .reviews__stats { gap: 30px; }
  .review-stat__num { font-size: 36px; }
}

/* Топбар */
.top-strip {
    background: var(--dark-text);
    color: var(--soft-gray);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 15px;
}
.top-strip__contacts {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.top-strip__item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-strip__item i {
    color: var(--accent-main);
    font-size: 14px;
}
.top-strip__item a {
    color: var(--soft-gray);
    text-decoration: none;
}
.top-strip__item a:hover {
    color: var(--accent-main);
}
.top-strip__socials {
    display: flex;
    gap: 15px;
}
.top-strip__socials a {
    color: var(--soft-gray);
    font-size: 16px;
    transition: color 0.3s;
}
.top-strip__socials a:hover {
    color: var(--accent-main);
}
@media (max-width: 768px) {
    .top-strip__inner {
        justify-content: center;
        text-align: center;
        padding: 10px 0;
    }
    .top-strip__contacts {
        justify-content: center;
        gap: 15px;
    }
}

.product-card__actions .btn--full {
    width: 100%;
    text-align: center;
    display: block;
    background: var(--accent-main);
    color: white;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}
.product-card__actions .btn--full:hover {
    background: var(--accent-deep);
}

/* ========== СТИЛИ ДЛЯ ТАБА "ОПИСАНИЕ" (без правки HTML) ========== */

/* Убираем лишние маркеры у списков */
#description ul,
#description ol {
    list-style: none;
    padding-left: 0;
}
#description li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}
#description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-main);
    font-weight: bold;
}

/* Таблица */
#description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
#description th,
#description td {
    border: 1px solid var(--border-light);
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}
#description th {
    background: var(--off-white);
    font-weight: 700;
    color: var(--dark-text);
}
#description td {
    color: var(--gray-text);
}
@media (max-width: 640px) {
    #description th,
    #description td {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Блоки "Преимущества" и "Модификации" – 2 колонки */
#description .mt-8.grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    margin-top: 30px;
}
#description .mt-8.grid > div {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
#description .mt-8.grid h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
#description .mt-8.grid ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
#description .mt-8.grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-text);
    padding-left: 0;
}
#description .mt-8.grid li::before {
    content: none;
}
#description .mt-8.grid li i {
    color: var(--accent-main);
    width: 20px;
    text-align: center;
}
@media (max-width: 768px) {
    #description .mt-8.grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Кнопки внутри таба */
#description .btn-primary,
#description .btn-secondary,
#description .btn-outline {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
}
#description .btn-primary {
    background: var(--accent-main);
    color: white;
}
#description .btn-secondary {
    background: var(--dark-text);
    color: white;
}
#description .btn-outline {
    background: transparent;
    border: 1px solid var(--accent-main);
    color: var(--accent-main);
}

/* Остальной контент */
#description p,
#description h3,
#description h4,
#description h5 {
    margin-bottom: 1em;
}
#description h3 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 1.5em;
}
#description h4 {
    font-size: 18px;
    font-weight: 700;
}


/* Этапы строительства – две колонки, цифры белые */
.bg-dark-shade.text-white.rounded-xl .relative.z-10 > ol,
.tab-content .bg-dark-shade.text-white.rounded-xl .relative.z-10 > ol {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bg-dark-shade.text-white.rounded-xl li,
.tab-content .bg-dark-shade.text-white.rounded-xl li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s;
    margin-bottom: 0;
}

.bg-dark-shade.text-white.rounded-xl li:hover,
.tab-content .bg-dark-shade.text-white.rounded-xl li:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Кружок с цифрой – белый текст */
.bg-dark-shade.text-white.rounded-xl li span:first-child,
.tab-content .bg-dark-shade.text-white.rounded-xl li span:first-child {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-main);
    color: white !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.bg-dark-shade.text-white.rounded-xl li div h4,
.tab-content .bg-dark-shade.text-white.rounded-xl li div h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-main);
}

.bg-dark-shade.text-white.rounded-xl li div p,
.tab-content .bg-dark-shade.text-white.rounded-xl li div p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .bg-dark-shade.text-white.rounded-xl .relative.z-10 > ol,
    .tab-content .bg-dark-shade.text-white.rounded-xl .relative.z-10 > ol {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ========== СТРАНИЦА "О НАС" ========== */
.about-hero {
    padding-top: 140px;
    padding-bottom: 60px;
}
.about-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-hero__title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}
.about-hero__text {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 32px;
}
.about-hero__stats {
    display: flex;
    gap: 40px;
}
.about-hero__stats .stat {
    text-align: center;
}
.about-hero__stats .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-main);
    display: block;
}
.about-hero__stats .stat-label {
    font-size: 13px;
    color: var(--gray-text);
}
.about-hero__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Миссия */
.about-mission {
    background: white;
}
.mission__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mission__content h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 16px 0 24px;
    line-height: 1.2;
}
.mission__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}
.mission__features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-soft);
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
}
.mission__features .feature i {
    color: var(--accent-main);
    font-size: 20px;
}
.mission__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Цифры и факты */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0 20px;
}
.number-card {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}
.number-card .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-main);
    margin-bottom: 8px;
}
.number-card .label {
    font-size: 16px;
    color: var(--gray-text);
    font-weight: 600;
}
.numbers-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-text);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.advantage-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
}
.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-main);
}
.advantage-icon {
    font-size: 48px;
    color: var(--accent-main);
    margin-bottom: 24px;
}
.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.advantage-card p {
    font-size: 14px;
    color: var(--gray-text);
}

/* Команда */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-main);
}
.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.team-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 4px;
}
.team-card p {
    color: var(--accent-main);
    font-weight: 600;
    margin-bottom: 8px;
}
.team-card span {
    display: block;
    font-size: 13px;
    color: var(--gray-text);
    margin-bottom: 20px;
}

/* Технология */
.about-tech {
    background: white;
}
.tech__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.tech__content h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 16px 0 24px;
}
.tech__content ul {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}
.tech__content li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}
.tech__content li i {
    color: var(--accent-main);
}

/* Отзывы */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-main);
}
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 20px;
    position: relative;
    padding-left: 24px;
}
.testimonial-text::before {
    content: '"';
    font-size: 48px;
    color: var(--accent-main);
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.3;
}
.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--dark-text);
}
.testimonial-author span {
    font-size: 13px;
    color: var(--gray-text);
}

/* Адаптив */
@media (max-width: 992px) {
    .about-hero__grid,
    .mission__grid,
    .tech__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .numbers-grid,
    .advantages-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-hero__title {
        font-size: 36px;
    }
}
@media (max-width: 768px) {
    .numbers-grid,
    .advantages-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .about-hero__stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    .mission__features {
        justify-content: center;
    }
}

/* Страница "О нас" */
.page-about {
    padding-top: 140px;
}
.page-about__title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-text);
}
.page-about__description {
    max-width: 900px;
    margin: 0 auto;
}
.page-about__description h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-text);
}
.page-about__description h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--dark-text);
}
.page-about__description p {
    margin-bottom: 1.2em;
    line-height: 1.6;
    color: var(--gray-text);
}
.page-about__description ul,
.page-about__description ol {
    margin: 1em 0;
    padding-left: 1.5em;
}
.page-about__description li {
    margin-bottom: 8px;
}
.page-about__buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .page-about {
        padding-top: 100px;
    }
    .page-about__title {
        font-size: 32px;
    }
    .page-about__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Адаптивность изображений */
.tech__image img,
img {
    max-width: 100%;
    height: auto;
}
.tech__image {
    max-width: 100%;
    overflow: hidden;
}

/* ========== АДАПТИВНАЯ ШАПКА (МОБИЛЬНЫЕ) ========== */
@media (max-width: 992px) {
    /* Скрываем десктопное меню и показываем бургер */
    .nav {
        display: none;
    }
    .burger {
        display: flex;
    }
    /* Шапка на мобильных */
    .header__inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    .logo img {
        height: 40px;
    }
    .header__actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .header__phone {
        font-size: 14px;
    }
    .btn--outline {
        padding: 8px 16px;
        font-size: 12px;
    }
    /* Топбар на мобильных */
    .top-bar__inner {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    .top-bar__info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .top-bar__info span {
        font-size: 12px;
    }
    .top-bar__socials {
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .header__phone {
        display: none;
    }
    .btn--outline {
        padding: 6px 12px;
        font-size: 11px;
    }
    .logo img {
        height: 35px;
    }
    .top-bar__info {
        gap: 8px;
    }
    .top-bar__info span {
        font-size: 10px;
    }
}

/* ========== МОБИЛЬНОЕ МЕНЮ (ГАМБУРГЕР) ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

/* Шапка мобильного меню */
.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu__logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
}

.mobile-menu__close {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--gray-text);
    transition: color 0.3s;
}
.mobile-menu__close:hover {
    color: var(--accent-main);
}

/* Тело меню (ссылки) */
.mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__nav li {
    margin-bottom: 15px;
}

.mobile-menu__nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-text);
    display: block;
    padding: 8px 0;
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu__nav a:hover {
    color: var(--accent-main);
    padding-left: 5px;
}

/* Футер мобильного меню */
.mobile-menu__footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.mobile-menu__phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-main);
    text-decoration: none;
    margin-bottom: 15px;
    text-align: center;
}

/* Затемнение фона при открытом меню */
.menu-open {
    overflow: hidden;
}

.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    pointer-events: none;
}

/* Кнопка бургера (если нет стилей) */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-text);
    transition: all 0.3s;
}

.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);
}

/* Адаптив */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        width: 280px;
    }
    .mobile-menu__nav a {
        font-size: 16px;
    }
    .mobile-menu__phone {
        font-size: 18px;
    }
}

/* ========== ТОПБАР (верхняя полоса) ========== */
.top-bar {
    background: var(--dark-text);
    color: var(--soft-gray);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar__info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar__info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar__info i {
    color: var(--accent-main);
    font-size: 14px;
}

.top-bar__info a {
    color: var(--soft-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar__info a:hover {
    color: var(--accent-main);
}

.top-bar__socials {
    display: flex;
    gap: 15px;
}

.top-bar__socials a {
    color: var(--soft-gray);
    font-size: 16px;
    transition: color 0.3s;
}

.top-bar__socials a:hover {
    color: var(--accent-main);
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 768px) {
    .top-bar__inner {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    .top-bar__info {
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .top-bar__info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    .top-bar__info span {
        font-size: 12px;
    }
    .top-bar__socials {
        justify-content: center;
        gap: 12px;
    }
}

/* Исправление горизонтальной прокрутки на странице каталога */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.shop-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.container {
    overflow-x: hidden;
    width: 100%;
    max-width: 1440px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
}
.product-card {
    width: 100%;
    min-width: 0; /* важно для корректной работы grid */
    max-width: 100%;
    overflow: hidden;
}
.product-card__link img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}