/* База */
body { font-family: 'Raleway', sans-serif; margin: 0; color: #333; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 1. Верхняя плашка */
.top-bar { background: #f8f8f8; padding: 12px 0; border-bottom: 1px solid #eee; }
.top-info-row { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; flex-wrap: wrap; color: #666; }
.separator, .divider { color: #ccc; margin: 0 5px; }
.top-slogan { font-weight: 700; color: #000; }

/* 2. Header (Десктоп) */
.site-header { background: #fff; border-bottom: 1px solid #eee; height: 80px; position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; }

.logo-img-large { width: 85px; height: auto; display: block; }
.nav-list { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; color: #444; font-weight: 700; text-transform: uppercase; font-size: 13px; }

/* Бургер (скрыт на ПК) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.bar { width: 25px; height: 3px; background: #333; border-radius: 2px; }

/* 3. Hero */
.hero-new { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.hero-new::before { 
    content: ""; position: absolute; inset: 0; 
    background: url('img/uIdsKyJa6lg.jpg') center/cover no-repeat; 
    filter: blur(8px); z-index: -1; transform: scale(1.1); 
}
/* Контейнер, где лежит H1 и Кнопка */
.hero-content-center {
    display: flex;
    flex-direction: column; /* Выстраиваем элементы в столбик */
    align-items: center;    /* Центрируем по горизонтали */
    justify-content: center; /* Центрируем по вертикали */
    gap: 20px;              /* Расстояние между заголовком и кнопкой */
    position: relative;
    z-index: 10;
}

/* Заголовок */
.hero-content-center h1 {
    margin: 0; /* Убираем лишние отступы, чтобы gap работал точно */
    font-size: 46px;
    font-weight: 800;
    text-align: center;
    color: #fff;
}

/* Кнопка в обычном состоянии */
.btn-hero {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease; /* Плавность эффектов */
    background: transparent;
    cursor: pointer;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */
.btn-hero:hover {
    background: #fff;         /* Заливаем белым */
    color: #000;              /* Текст делаем черным */
    transform: translateY(-3px); /* Слегка приподнимаем (эффект прыжка) */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Добавляем мягкую тень */
}

/* Эффект при нажатии (клик) */
.btn-hero:active {
    transform: translateY(-1px); /* Чуть опускаем при клике */
}

/* Оверлей (чтобы не перекрывал кнопку) */
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 1; 
}
/* 4. О нас */
.section { padding: 80px 0; }
.about-flex { display: flex; gap: 60px; align-items: center; }
.about-text-content { flex: 1.4; }
.title-simple { font-size: 32px; font-weight: 800; margin-bottom: 25px; color: #000; }
.adaptive-logo { width: 100%; max-width: 340px; height: auto; }

/* 5. Темная плашка */
.action-bar-dark { 
    background: #555555; 
    color: #fff; 
    padding: 35px 0; 
    position: relative; 
}

/* Контейнер внутри плашки */
.action-flex-row { 
    display: flex; 
    justify-content: center; /* Центрируем всю группу (текст + кнопка) */
    align-items: center;     /* Выравниваем по вертикали */
    gap: 30px;               /* Расстояние между текстом и кнопкой */
    flex-wrap: wrap;         /* Чтобы на узких экранах кнопка ушла под текст */
}

.action-address { 
    font-weight: 700; 
    font-size: 16px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-black-on-grey { 
    background: #000; 
    color: #fff; 
    padding: 14px 28px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 4px; 
    transition: background 0.3s, transform 0.2s; 
}

/* Эффект при наведении на кнопку */
.btn-black-on-grey:hover {
    background: #222;
    transform: translateY(-2px);
}

.deco-pointer { 
    position: absolute; 
    bottom: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-left: 15px solid transparent; 
    border-right: 15px solid transparent; 
    border-top: 12px solid #555555; 
}
/* 6. Карта и Футер */
.map-section-black { background: #000; padding: 50px 0; }
.map-limit { max-width: 1000px; }
.catalog-footer { background: #111; color: #666; padding: 60px 0 20px; font-size: 14px; }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.link-col h4 { color: #fff; margin-bottom: 20px; text-transform: uppercase; }
.link-col ul { list-style: none; padding: 0; line-height: 2; }
.link-col a { color: #666; text-decoration: none; }
.footer-bottom { border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; text-align: center; }

/* --- ФОРМЫ НА JS (Цвета и стили) --- */
.fab { 
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; 
    background: #25d366; color: #fff; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 24px; cursor: pointer; z-index: 2000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.3s;
}
.fab:hover { transform: scale(1.1); background: #1ebd5d; }

.modal { display: none; position: fixed; inset: 0; z-index: 3000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { 
    position: relative; background: #fff; padding: 40px; border-radius: 15px; 
    text-align: center; z-index: 3100; width: 90%; max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.modal-link { 
    display: block; margin-top: 15px; padding: 15px; 
    background: #f1f1f1; color: #333; text-decoration: none; 
    font-weight: 700; border-radius: 8px; transition: 0.2s;
}
.modal-link.wa { background: #25d366; color: #fff; }
.modal-link:hover { opacity: 0.9; }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 28px; cursor: pointer; color: #999; }

.cookie-banner { 
    position: fixed; bottom: -120px; left: 0; width: 100%; 
    background: #222; color: #1a1818; padding: 20px 0; 
    z-index: 4000; transition: 0.6s ease; box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}
.cookie-banner.show { bottom: 0; }
.cookie-flex { display: flex; justify-content: center; align-items: center; gap: 20px; }
.btn-cookie { background: #fff; color: #000; border: none; padding: 8px 20px; font-weight: 800; cursor: pointer; border-radius: 4px; }

/* --- МОБИЛКА --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .brand-link { position: absolute; left: 50%; transform: translateX(-50%); top: 5px; z-index: 1050; }
    .logo-img-large { width: 90px; height: 90px; background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: #fff; padding: 30px 0; text-align: center; }
    .main-nav.active { display: block; }
    .nav-list { flex-direction: column; gap: 20px; }
    .about-flex, .action-flex-row, .footer-links-grid { flex-direction: column; text-align: center; }
}


/* --- КУКИ --- */
.cookie-banner { 
  position: fixed; bottom: 0; left: 0; width: 100%; 
  background: #fff; padding: 20px 0; z-index: 10001; 
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
  transform: translateY(100%); visibility: hidden; 
  transition: transform 0.5s ease, opacity 0.3s ease; opacity: 0;
}
.cookie-banner.show { 
  transform: translateY(0) !important; visibility: visible !important; opacity: 1 !important;
}
.cookie-inner { display: flex; justify-content: space-between; align-items: center; }
.btn-cookie-accept { 
  background: #2d9d78; color: #fff; border: none; padding: 8px 20px; 
  border-radius: 8px; font-weight: 700; cursor: pointer; 
}

/* --- FAB (Кнопка связи) --- */
.contact-fab { 
  position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; 
  background: #2d9d78; border-radius: 50%; display: flex; 
  align-items: center; justify-content: center; font-size: 30px; 
  color: white; cursor: pointer; box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
  z-index: 999; transition: 0.3s; 
}
.contact-fab:hover { transform: scale(1.1); }

/* --- МОДАЛКА СВЯЗИ --- */
.contact-modal { 
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
  display: flex; align-items: center; justify-content: center; 
  z-index: 10000; visibility: hidden; opacity: 0; transition: 0.3s; 
}
.contact-modal.active { visibility: visible !important; opacity: 1 !important; }

.modal-overlay { 
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(4px); 
}
.modal-content { 
  position: relative; background: white; width: 90%; max-width: 400px; 
  padding: 40px; border-radius: 30px; text-align: center; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: translateY(30px); 
  transition: 0.3s; z-index: 10001;
}
.contact-modal.active .modal-content { transform: translateY(0); }

.modal-close { 
  position: absolute; top: 15px; right: 20px; border: none; 
  background: none; font-size: 30px; cursor: pointer; color: #94a3b8; 
}

.modal-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; }
.m-btn { 
  padding: 16px; border-radius: 15px; text-decoration: none; 
  color: white !important; font-weight: 700; display: flex; 
  align-items: center; justify-content: center; gap: 10px; transition: 0.2s; 
}
.m-btn.phone { background: #2d9d78; }
.m-btn.vk { background: #4c75a3; }
.m-btn.whatsapp { background: #25d366; }
.m-btn-icon { width: 20px; height: 20px; object-fit: contain; }