/* style.css - обновлённый с улучшенным дизайном модалки */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #fafafa;
    color: #222;
    line-height: 1.5;
}

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

/* Секции */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 48px;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* Hero */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-bg.PNG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0px;
  text-align: center;
  color: white;
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: white;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
    font-weight: 400;
    color: white;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #5a6a7a;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__contacts {
    text-align: right;
}

.hero__phone {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero__email {
    font-size: 1rem;
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .hero__top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    .hero__contacts {
        text-align: center;
    }
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 1px solid #ffffff;
    padding: 12px 36px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: rgb(156, 156, 156);
    color: #fff;
}

.benefits {
    background-color: #f5f7fa;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.benefit-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.benefit-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e2b37;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
  width: 100%;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background-color: #5a5856;
  border-radius: 2px;
}

.benefit-card__text {
  color: #4a5b6b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Каталог */
.catalog {
    background-color: #fff;
}

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

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 20px 25px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.05);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f4fa;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1e2b37;
}

.product-card__price {
    font-size: 1.4rem;
    font-weight: 350;
    color: #2c3e50;
    margin-bottom: 5px;
}

.product-card__size {
    font-size: 0.9rem;
    color: #6d7b8c;
    margin-bottom: 15px;
    font-weight: 400;
}

.product-card__btn {
  background-color: transparent;
  border: 1px solid #2c3e50;
  color: #2c3e50;
  padding: 8px 25px;
  font-size: 0.95rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  width: 140px;
}


.product-card__btn:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #1e2b37;
    color: #d0d8e0;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer__title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b0c4d9;
}

.footer__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0c4d9;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #b0c4d9;
  display: block;
}

.footer__link {
  color: #b0c4d9;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #ffffff;
}
.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.footer__social-link:hover {
    background-color: #2c3e50;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #8a9aa8;
}

.footer__copyright span {
    color: #fff;
}

/* ========== УЛУЧШЕННЫЙ ДИЗАЙН МОДАЛЬНОГО ОКНА ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 43, 55, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal {
    background-color: #ffffff;
    border-radius: 32px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 16px;
    border-bottom: 1px solid #edf2f7;
}

.modal__title {
    font-size: 1.8rem;
    font-weight: 350;
    color: #1e2b37;
    letter-spacing: -0.5px;
}

.modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #8a9aa8;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.modal__close:hover {
    background-color: #f1f5f9;
    color: #1e2b37;
}

.modal__close svg {
    width: 22px;
    height: 22px;
}

.modal__body {
    padding: 28px;
}

/* Форма */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required-star {
    color: #e53e3e;
    margin-left: 2px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.form-group.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2c3e50;
}

.form-group.checkbox label {
    margin-bottom: 0;
    flex: 1;
    font-weight: 400;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.form-control:hover:not(:focus) {
    border-color: #cbd5e0;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    border-radius: 20px;
}

.error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
    min-height: 20px;
    padding-left: 4px;
}

.modal__btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
    border-radius: 40px;
    background-color: #1e2b37;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.1s;
}

.modal__btn:hover {
    background-color: #2c3e50;
    transform: scale(1.02);
}

.modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-message {
    text-align: center;
    color: #2e7d32;
    font-weight: 500;
    margin-top: 20px;
    font-size: 1rem;
}

/* Адаптивность модального окна */
@media screen and (max-width: 640px) {
    .modal {
        border-radius: 24px;
    }
    .modal__header {
        padding: 20px 24px 12px;
    }
    .modal__body {
        padding: 24px;
    }
    .modal__title {
        font-size: 1.6rem;
    }
    .form-control {
        padding: 12px 16px;
    }
}

/* Остальная адаптивность */
@media screen and (max-width: 1024px) {
    .hero__title {
        font-size: 2.3rem;
    }
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

@media screen and (max-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }
    .hero__title {
        font-size: 1.9rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .benefits__grid,
    .catalog__grid {
        grid-template-columns: 1fr;
    }
    .benefit-card {
        padding: 25px 20px;
    }
}

@media screen and (max-width: 480px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}/* Группа кнопок в hero */
.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Стиль для второй кнопки */
.btn-outline {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}
.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Крупная кнопка после каталога */
.btn-large {
    padding: 14px 48px;
    font-size: 1.1rem;
}/* Кнопка с тёмной обводкой для светлого фона */
.btn-outline-dark {
    background-color: transparent;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}
.btn-outline-dark:hover {
    background-color: #2c3e50;
    color: #fff;
}.product-card__image {
    overflow: hidden;
}

.product-card__image img {
    transition: transform 0.4s ease;
}

.product-card__image:hover img {
    transform: scale(1.1);
}/* Модальное окно для увеличенного изображения */
.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    background-color: #fff;
    padding: 0;
}

.modal-image__body {
    padding: 0;
    text-align: center;
    background-color: #fff;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
}

.modal-image__body img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}/* Модальное окно для увеличенного изображения */
.modal-image {
    max-width: 90vw;
    width: 90vw;
    max-height: 90vh;
    height: auto;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1) translateY(0);
    overflow: visible;
}

.modal-image__body {
    text-align: center;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
}

.modal-image__body img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-image__close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: white;
    border: none;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: #1e2b37;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1010;
}

.modal-image__close:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .modal-image {
        width: 95vw;
        max-width: 95vw;
    }
    .modal-image__close {
        top: -50px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}
/* Навигационные ссылки в hero__top */
.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #b0c4d9;
}
/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero__top {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    .hero__top {
        margin-bottom: 40px;
    }
}/* Блок "Что мы предлагаем" */
.offer {
    padding: 70px 0;
    background-color: #fff;
}

.offer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.offer__card {
    background: #f9fafc;
    border-radius: 32px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.offer__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.05);
}

.offer__card--accent {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border: 1px solid #e2e8f0;
}

.offer__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.offer__title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1e2b37;
}

.offer__desc {
    color: #4a5b6b;
    line-height: 1.5;
    margin-bottom: 30px;
    font-size: 1rem;
}

.offer__btn {
    display: inline-block;
    background-color: #1e2b37;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 40px;
    transition: background-color 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.offer__btn:hover {
    background-color: #2c3e50;
}

.offer__btn--outline {
    background-color: transparent;
    border: 1px solid #1e2b37;
    color: #1e2b37;
}

.offer__btn--outline:hover {
    background-color: #1e2b37;
    color: #fff;
}

@media (max-width: 768px) {
    .offer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .offer__card {
        padding: 30px 20px;
    }
    .offer__title {
        font-size: 1.4rem;
    }
}.product-card__specs {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.product-card__specs li {
    margin-bottom: 4px;
}.product-card__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}
.slider-img.active {
    opacity: 1;
}
.slider-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s;
}
.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}/* Убираем маркеры списка в характеристиках */
.product-card__specs {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.product-card__specs li {
    margin-bottom: 4px;
}

/* Стили для стрелок слайдера (уже должны быть, но добавим для надёжности) */
.product-card__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}
.slider-img.active {
    opacity: 1;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(192, 192, 192, 0.7);
    font-size: 64px;
    font-weight: 100;
    cursor: pointer;
    padding: 0 10px;
    z-index: 2;
    transition: color 0.2s;
    line-height: 0,5;
}
.slider-btn:hover {
    color: white;
    background: transparent !important;
    box-shadow: none !important;
}
.prev-btn {
    left: 5px;
}
.next-btn {
    right: 5px;
}.hero__note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero__top {
  margin-bottom: 60px;
}
.offer {
  background-color: #ffffff;
  padding: 60px 0 70px;
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.offer__card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer__card--accent {
  background: #5a5856;
  color: #ffffff;
}

.offer__card--accent .offer__title {
  color: #ffffff;
}

.offer__card--accent .offer__desc {
  color: rgba(255, 255, 255, 0.85);
}

.offer__card--accent .offer__btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 8px;
}

.offer__card--accent .offer__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.offer__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.offer__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.offer__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.offer__btn {
  background: transparent;
  border: 1px solid #1e2b37;
  color: #1e2b37;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
}

.offer__btn:hover {
  background: #1e2b37;
  color: #ffffff;
}
/* ========== О КОМПАНИИ ========== */
.about {
  background-color: #f5f7fa;
  padding: 70px 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.about__text {
  color: #4a5b6b;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.about__stat {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 20px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}
.about__stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e2b37;
  line-height: 1.1;
}
.about__stat-label {
  display: block;
  font-size: 0.78rem;
  color: #7a8a9a;
  margin-top: 6px;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ========== ДОСТАВКА ========== */
.delivery {
  background-color: #fff;
  padding: 70px 0;
}
.delivery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.delivery__card {
  background: #f5f7fa;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #eef0f3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.delivery__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}
.delivery__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.delivery__card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e2b37;
  margin-bottom: 12px;
}
.delivery__card-text {
  font-size: 0.9rem;
  color: #4a5b6b;
  line-height: 1.6;
}
.delivery__note {
  background: #1e2b37;
  color: #d0d8e0;
  border-radius: 16px;
  padding: 20px 28px;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .delivery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .delivery__grid { grid-template-columns: 1fr; }
}

/* ========== КОНТАКТЫ ========== */
.contacts {
  background-color: #f5f7fa;
  padding: 70px 0;
}
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacts__block-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e2b37;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #5a5856;
  display: inline-block;
}
.contacts__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.contacts__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
  font-size: 0.95rem;
  color: #333;
}
.contacts__icon {
  font-size: 1.2rem;
  width: 24px;
  flex-shrink: 0;
}
.contacts__link {
  color: #1e2b37;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contacts__link:hover {
  color: #5a5856;
}
.contacts__messengers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contacts__messenger {
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.contacts__messenger:hover { opacity: 0.85; }
.contacts__messenger--wa { background: #25D366; color: #fff; }
.contacts__messenger--tg { background: #229ED9; color: #fff; }
.contacts__messenger--vk { background: #0077FF; color: #fff; }
.contacts__form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
@media (max-width: 900px) {
  .contacts__grid { grid-template-columns: 1fr; gap: 36px; }
  .contacts__form-wrap { padding: 24px; }
}
/* Мобильная версия секции offer */
@media (max-width: 768px) {
    .offer {
        padding: 50px 0 60px;
    }
    .offer__grid {
        gap: 24px;
    }
    .offer__card {
        padding: 30px 20px;
        border-radius: 28px;
        text-align: center;
    }
    .offer__title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    .offer__desc {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    .offer__btn,
    .offer__btn--outline {
        padding: 12px 24px;
        font-size: 1rem;
        width: auto;
        display: inline-block;
    }
}@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    /* Карточки преимуществ */
    .benefit-card {
        padding: 24px 16px;
    }
    .benefit-card__title {
        font-size: 1rem;
        min-height: auto;
    }
    .benefit-card__text {
        font-size: 0.85rem;
    }

    /* Карточки каталога */
    .product-card {
        padding: 16px;
    }
    .product-card__title {
        font-size: 1.1rem;
    }
    .product-card__price {
        font-size: 1.2rem;
    }
    .product-card__btn {
        width: 120px;
        padding: 8px 16px;
    }

    /* Секция "О компании" */
    .about__stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .about__stat {
        padding: 16px 8px;
    }
    .about__stat-number {
        font-size: 1.4rem;
    }

    /* Доставка */
    .delivery__card {
        padding: 24px 16px;
    }
    .delivery__card-title {
        font-size: 0.95rem;
    }
    .delivery__card-text {
        font-size: 0.85rem;
    }

    /* Контакты */
    .contacts__form-wrap {
        padding: 24px 20px;
    }
    .contacts__messenger {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}@media (max-width: 768px) {
    .btn,
    .product-card__btn,
    .offer__btn,
    .modal__btn,
    .contacts__messenger {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}@media (max-width: 480px) {
    .modal {
        width: 95%;
        max-width: 95%;
        border-radius: 24px;
    }
    .modal__header {
        padding: 20px 20px 12px;
    }
    .modal__body {
        padding: 20px;
    }
    .modal__title {
        font-size: 1.4rem;
    }
    .form-control {
        padding: 12px 14px;
    }
    .modal__btn {
        padding: 14px;
    }
}@media (max-width: 768px) {
    .hero__top {
        margin-bottom: 40px;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}/* Мобильная версия: блок "Что мы предлагаем" – одна колонка */
@media (max-width: 768px) {
  .offer__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .offer__card {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 24px !important;
    box-sizing: border-box !important;
  }
}@media (max-width: 768px) {
  .offer__card {
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .offer__card--accent {
    background: #5a5856; /* или любой другой цвет, который нравится */
  }

  .offer__title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .offer__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .offer__btn,
  .offer__btn--outline {
    padding: 12px 20px;
    font-size: 0.95rem;
    display: inline-block;
    text-align: center;
  }
}
/* Цветовые кружки в карточках */
.product-card__colors {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 12px 0 8px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}@media (max-width: 480px) {
  .color-swatch {
    width: 24px;
    height: 24px;
  }
  .product-card__colors {
    gap: 6px;
  }
}/* Кастомный тултип для цветов */
.color-tooltip {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translateX(-50%) translateY(-100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.color-tooltip.visible {
  opacity: 1;
}