:root{
  --bg: #0d0b0a;
  --text: #f3efe9;
  --muted: rgba(243,239,233,.75);

  --gold: #d6b36a;
  --gold2:#b8944b;

  --card: rgba(255,255,255,.06);
  --stroke: rgba(214,179,106,.35);

  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);

  --container: 1180px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif !important;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

/* Добавляем текстуру bg.png через псевдо-элемент */
body::before {
  content: "";
  position: fixed; /* Фиксируем фон, чтобы он не скроллился и всегда выглядел красиво */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./img/bg.png'); /* Путь к вашему файлу */
  background-size: cover; /* Растягиваем на весь экран */
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ваша прозрачность 50% */
  z-index: -1; /* Убираем НА ЗАДНИЙ план, под контент */
  pointer-events: none; /* Чтобы не мешал кликам */
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header Redesign */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Глубокий матовый эффект стекла */
  background: rgba(13, 11, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Тонкая золотая линия снизу */
  border-bottom: 1px solid rgba(214, 179, 106, 0.3);
  transition: all 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

/* Логотип в шапке */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(214,179,106,0.2));
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand__subtitle {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Меню */
.nav {
  display: flex;
  gap: 30px;
}

.nav__link {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--gold);
}

/* Эффект подчеркивания при наведении */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn:hover{ transform: translateY(-1px); border-color: rgba(214,179,106,.55); }
.btn--primary{
  border-color: rgba(214,179,106,.55);
  background: linear-gradient(180deg, rgba(214,179,106,.28), rgba(184,148,75,.12));
  box-shadow: 0 10px 35px rgba(214,179,106,.10);
}
.btn--ghost{
  background: transparent;
  border-color: rgba(214,179,106,.35);
}
.btn--link{
  height:auto;
  padding: 0;
  border:0;
  background: transparent;
  text-transform:none;
  letter-spacing:0;
  font-size: 14px;
  color: var(--gold);
}
.btn--small{
  height: 40px;
  border-radius: 12px;
  font-size: 11px;
}
.btn--wide{ width: 100%; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 500;
  letter-spacing:.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor:pointer;
  transition: .18s ease;
}

/* Кнопка в шапке (контурная золотая) */
.btn--gold-outline {
  background: transparent;
  border: 1px solid rgba(214, 179, 106, 0.5);
  color: var(--gold);
  padding: 0 20px;
  height: 42px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 50px; /* Овальная форма */
}

.btn--gold-outline:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(214, 179, 106, 0.4);
}

/* Burger */
.burger{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  padding: 10px;
}
.burger span{
  display:block;
  height:2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 2px;
  opacity: .9;
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh; /* Высота экрана 80% */
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Добавляем золотую рамку снизу */
  border-bottom: 1px solid rgba(214, 179, 106, 0.5);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center; 
}

/* Затемнение: Градиент от черного слева к прозрачному справа */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 0 70px; /* Убрал боковые отступы здесь, они есть у .container */
  text-align: left; 
}

.hero__title {
  font-family: "Inter", sans-serif;
  font-weight: 700; 
  /* Адаптивный шрифт: минимум 32px, оптимально 5vw, максимум 56px */
  font-size: clamp(32px, 5vw, 56px);  
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

/* Класс для золотого текста */
.text-gold {
  color: var(--gold);
  background: linear-gradient(90deg, #d6b36a, #f3eacb, #d6b36a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero__subtitle {
  margin: 0 0 35px;
  color: rgba(243, 239, 233, 0.8);
  /* Адаптивный подзаголовок */
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 450px; /* Ограничиваем ширину текста */
}

.hero__cta {
  display: flex;
  justify-content: flex-start;
}

/* Точечный адаптив для мобильных устройств */
@media (max-width: 768px) {
  .hero {
    min-height: 600px; /* Фиксированная высота для мобилок, чтобы не прыгало */
    align-items: center; /* Центрируем по вертикали */
  }

  .hero__overlay {
    /* На мобилках затемняем сильнее, чтобы текст читался поверх картинки */
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.95) 100%);
  }
  
  .hero__content {
    text-align: center; /* Центрируем текст на телефоне */
    padding-top: 200px; /* Сдвигаем контент вниз */
  }

  .hero__title {
    font-size: 32px; /* Фиксируем размер для телефона */
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto; /* Центрируем блок текста */
  }
  
  .hero__cta {
    justify-content: center; /* Центрируем кнопку */
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px; /* Еще меньше для узких экранов */
  }
}

/* Sections */
.section{ padding: 70px 0; }
.section__head{ text-align:center; margin-bottom: 30px; }
.section__title{
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0 0 12px;
}
.section__title--left{ text-align:left; }
.section__subtitle{
  margin: 0;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Benefits - Clean Style (Иконки картинками) */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center; /* Центрируем весь контент */
}

.benefit {
  /* Убираем стили карточек */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit__icon {
  /* Контейнер для иконки теперь просто задает отступ снизу */
  margin-bottom: 25px;
  background: transparent;
  border: none;
  /* Убрали border, border-radius и фиксированные размеры контейнера */
}

/* Настройка размера самой картинки (которая уже с кругом) */
.benefit__icon img {
  width: 62px; /* Сделали иконку крупной, как на макете */
  height: auto;
  display: block; /* Убираем возможные отступы строчных элементов */
  /* Если ваши иконки уже золотые, фильтр не нужен. Если черные — раскомментируйте строку ниже */
  /* filter: sepia(100%) saturate(400%) hue-rotate(5deg) brightness(95%) contrast(90%); */
}

.benefit__title {
  margin: 0 0 15px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold); /* Золотой цвет заголовка */
  font-weight: 400;
}

.benefit__text {
  margin: 0;
  color: #ccc;
  line-height: 1.6;
  font-size: 15px;
  max-width: 320px;
}

/* Адаптив */
@media (max-width: 768px){
  .benefits__grid { 
    grid-template-columns: 1fr;
    gap: 50px; 
  }
}

/* Catalog Grid Style */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Ровно 4 колонки */
  gap: 20px;
  margin-top: 40px;
}

.hair-card {
  position: relative; /* Для ссылки-покрытия */
  border-radius: 20px; /* Скругление углов всей карточки */
  overflow: hidden; /* Чтобы картинка не вылезала */
  background: transparent;
  border: 1px solid rgba(214, 179, 106, 0.3); /* Тонкая золотая рамка по умолчанию */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hair-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--gold); /* Яркое золото при наведении */
}

.hair-card__img {
  width: 100%;
  /* Устанавливаем точные пропорции: 3.9 ширина к 2 высота */
  aspect-ratio: 3.9 / 2; 
  /* height: 200px; <-- Эту строку убираем, высота теперь считается автоматически */
  
  background-size: cover;
  background-position: center;
  /* Убираем скругление снизу, чтобы картинка состыковалась с плашкой */
  border-bottom-left-radius: 0; 
  border-bottom-right-radius: 0;
}

.hair-card__body {
  background: #1a1a1a; /* Темный фон плашки */
  /* Градиент как на макете (сверху темнее, снизу чуть светлее или наоборот) */
  background: linear-gradient(180deg, #1f1d1b 0%, #2a2622 100%);
  padding: 20px 15px;
  text-align: center;
  flex-grow: 1; /* Чтобы карточки были одной высоты */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.05); /* Разделитель, едва заметный */
}

.hair-card__title {
  color: #e0dacb; /* Светло-бежевый, почти белый */
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: none; /* На макете заголовок не капсом (или смешанно) */
}

.hair-card__desc {
  color: #8c8c8c; /* Серый текст */
  font-size: 13px;
  margin: 0 0 15px;
  font-weight: 400;
}

/* Декоративная линия внизу */
.hair-card__line {
  width: 40px;
  height: 2px;
  background-color: #4a4a4a; /* Темно-серая полоска */
  border-radius: 2px;
  transition: background-color 0.3s, width 0.3s;
}

.hair-card:hover .hair-card__line {
  background-color: var(--gold); /* Становится золотой при наведении */
  width: 60px;
}

/* Ссылка на всю карточку (вместо кнопки "Подробнее") */
.hair-card__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}

/* Адаптив каталога */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
  }
}

@media (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr; /* 1 колонка на телефоне */
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.catalog-footer {
  margin-top: 50px; /* Отступ от карточек */
  text-align: center; /* Центрируем кнопку */
  display: flex;
  justify-content: center;
}

/* Если нужно, чтобы кнопка была чуть шире именно здесь */
.catalog-footer .btn--gold-filled {
  min-width: 240px; 
}

/* About Redesign (Updated Borders & Positioning) */
.about {
  padding: 100px 0;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text {
  padding-right: 20px;
}

.about__text .section__title {
  margin-bottom: 30px;
}

.about__lead {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
}

.about__p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 239, 233, 0.7);
  margin-bottom: 20px;
}

.about__cta {
  margin-top: 40px;
}

/* Блок с изображениями */
.about__media {
  position: relative;
  height: 540px;
  width: 100%;
}

.about__img--big {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 90%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 1;
  
  /* Убрана верхняя рамка. Оставлены только боковые и нижняя */
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-left: 1px solid rgba(255,255,255,0.05);
  border-right: 1px solid rgba(255,255,255,0.05);
  border-top: 1px solid transparent; /* Прозрачный верх для аккуратных углов */
}

/* Карточка с логотипом */
.about__logo-card {
  position: absolute;
  bottom: 25px; /* Сдвинули вверх (внутрь) */
  right: 25px;  /* Сдвинули влево (внутрь) */
  width: 200px; 
  height: 200px;
  
  background: rgba(13, 11, 10, 0.85); 
  backdrop-filter: blur(12px);
  
  /* Убрана верхняя золотая рамка */
  border-bottom: 1px solid rgba(214, 179, 106, 0.4);
  border-left: 1px solid rgba(214, 179, 106, 0.4);
  border-right: 1px solid rgba(214, 179, 106, 0.4);
  border-top: 1px solid transparent;
  
  border-radius: 20px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: -10px 10px 40px rgba(0,0,0,0.6);
}

.about__logo-card img {
  width: 120px; /* Увеличили размер логотипа (было 90px) */
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(214,179,106,0.3));
}

/* Адаптив для About */
@media (max-width: 980px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about__text {
    padding-right: 0;
    text-align: left;
  }
  
  .about__media {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about__img--big {
    width: 90%;
  }
  
  .about__logo-card {
    width: 150px; /* Чуть больше на мобилке под новый лого */
    height: 150px;
    right: 15px; /* Корректировка отступа на мобилке */
    bottom: 15px;
  }
  
  .about__logo-card img {
    width: 80px; /* Увеличенный лого на мобилке */
  }
}

/* Work Section (No Images - Premium Typography) */
.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-step {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08); /* Едва заметная рамка */
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px; /* Чтобы карточки были одинаковыми */
}

/* Эффект при наведении */
.work-step:hover {
  transform: translateY(-5px);
  border-color: var(--gold); /* Рамка загорается золотом */
  background: linear-gradient(145deg, rgba(214, 179, 106, 0.1), rgba(0,0,0,0));
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.work-step__num {
  font-family: "Playfair Display", serif; /* Красивый шрифт с засечками для цифр */
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  
  /* Золотой градиент для цифры */
  background: linear-gradient(180deg, #d6b36a 20%, rgba(214, 179, 106, 0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  margin-bottom: 25px;
  opacity: 0.9;
}

.work-step__content {
  margin-top: auto; /* Прижимаем текст к низу, если нужно */
}

.work-step__label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 10px;
  font-weight: 600;
}

.work-step__text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(243, 239, 233, 0.85); /* Светло-серый, читабельный */
  margin: 0;
}

/* Адаптив */
@media (max-width: 980px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
  }
}

@media (max-width: 500px) {
  .work__grid {
    grid-template-columns: 1fr; /* 1 колонка на телефоне */
  }
  
  /* На телефоне делаем горизонтальную верстку для удобства */
  .work-step {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-height: auto;
    padding: 20px;
  }
  
  .work-step__num {
    margin-bottom: 0;
    font-size: 42px;
    min-width: 55px; /* Чтобы цифра не сжималась */
  }
  
  .work-step__content {
    margin-top: 0;
  }
}

/* Consult Section - Premium Style */
.consult {
  padding: 100px 0;
  position: relative;
}

.consult__box {
  background: rgba(13, 11, 10, 0.85); /* Темная подложка */
  backdrop-filter: blur(12px); /* Эффект стекла */
  border: 1px solid rgba(214, 179, 106, 0.3); /* Тонкая золотая рамка */
  border-radius: 30px;
  padding: 60px;
  
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две колонки */
  gap: 80px;
  align-items: center;
  
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Глубокая тень */
}

/* Левая колонка */
.consult__left {
  max-width: 480px;
}

.consult__left .section__title {
  margin-bottom: 25px;
  line-height: 1.2;
}

.consult__text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(243, 239, 233, 0.8);
  margin-bottom: 40px;
}

/* Декоративная линия */
.consult__decoration {
  width: 60px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
}

/* Правая колонка (Форма) */
.consult__form {
  /* Убрали фон самой формы, теперь она часть общего блока */
  width: 100%;
}

.form-group {
  margin-bottom: 25px;
}

.field__label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--gold); /* Золотой цвет лейблов */
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field__input {
  width: 100%;
  background: transparent; /* Прозрачный фон */
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2); /* Только нижняя линия */
  color: #fff;
  border-radius: 0; /* Прямые углы для стиля "линии" */
  padding: 12px 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.field__input::placeholder {
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.field__input:focus {
  border-bottom-color: var(--gold); /* Линия становится золотой */
  padding-left: 10px; /* Небольшой сдвиг текста при фокусе */
}

.field__input--area {
  resize: none;
  min-height: 40px;
}

.btn--wide {
  width: 100%;
  margin-top: 10px;
  height: 54px; /* Чуть выше кнопка */
  font-size: 14px;
}

.form-hint {
  margin-top: 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* Адаптив */
@media (max-width: 980px) {
  .consult__box {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 50px;
    padding: 40px 25px;
  }
  
  .consult__left {
    text-align: center;
    margin: 0 auto;
  }
  
  .consult__decoration {
    margin: 0 auto;
  }
}

/* Contacts Section */
.contacts-section {
  padding: 80px 0 100px;
}

.contacts__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Карта занимает больше места */
  gap: 40px;
  background: rgba(255, 255, 255, 0.02); /* Очень легкая подложка */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  overflow: hidden; /* Чтобы карта не вылезала за углы */
}

/* Инфо блок */
.contacts__info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacts__label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 233, 0.5); /* Приглушенный цвет */
}

.contacts__value {
  font-family: "Playfair Display", serif; /* Красивый шрифт для данных */
  font-size: 24px;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* Ссылка телефона */
a.contacts__value {
  text-decoration: none;
  transition: color 0.3s ease;
}
a.contacts__value:hover {
  color: #fff; /* При наведении белеет (если он был золотым) */
}

.contacts__action {
  margin-top: 20px;
}

/* Карта */
.contacts__map {
  position: relative;
  min-height: 400px;
  width: 100%;
  background: #1a1a1a;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  /* МАГИЯ: Делаем карту темной, чтобы не выбивалась из дизайна */
  filter: grayscale(100%) invert(92%) contrast(83%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* При наведении делаем карту чуть ярче/четче */
.contacts__map:hover iframe {
  opacity: 1;
  filter: grayscale(0%) invert(0%); /* Или убрать фильтр, если хотите цветную при наведении */
  /* Но лучше оставить темную: filter: grayscale(100%) invert(92%) contrast(90%); */
}

/* Адаптив */
@media (max-width: 980px) {
  .contacts__wrapper {
    grid-template-columns: 1fr; /* Одна колонка */
  }

  .contacts__info {
    padding: 40px 25px;
    order: 2; /* Инфо под картой или над? Лучше над, тогда order не нужен */
  }

  .contacts__map {
    height: 300px;
    min-height: 300px;
  }
}

/* Footer Redesign */
.footer {
  background: #080605; /* Чуть темнее основного фона */
  padding: 60px 0 40px;
  position: relative;
  /* Золотая рамка сверху */
  border-top: 1px solid rgba(214, 179, 106, 0.3);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr; /* 3 колонки */
  gap: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand .brand__title {
  font-size: 24px;
  color: var(--gold);
}

.footer__copyright {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer__title {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: #fff;
  margin: 0 0 5px;
  letter-spacing: 0.05em;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: var(--gold);
  transform: translateX(5px); /* Сдвиг вправо при наведении */
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__phone {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
}

.footer__address, 
.footer__schedule {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Адаптив для хедера и футера */
@media (max-width: 980px) {
  .nav { display: none; } /* Скрываем меню, остается бургер */
  .header__actions .btn { display: none; } /* Скрываем кнопку на планшетах, если мало места */
  
  .footer__inner {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 40px;
    text-align: center;
  }
  
  .brand, .footer__nav, .footer__contacts {
    align-items: center; /* Центрируем контент */
  }
}

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .header__actions .btn--ghost{ display:none; }
}

@media (max-width: 520px){
  .brand__subtitle{ display:none; }
  .brand__logo {width: 48px;}
}

/* Новый стиль кнопки (залитая золотая) */
.btn--gold-filled {
  background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  color: #2b2b2b; /* Темный текст */
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  padding: 0 32px; /* Чуть шире */
}

.btn--gold-filled:hover {
  background: linear-gradient(90deg, #aa771c, #fbf5b7, #b38728);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  border-color: transparent;
}

/* Page Header (для внутренних страниц) */
.page-header {
    background-image: url('./img/bg.png'); /* Или другой фон */
    background-size: cover;
    padding: 140px 0 60px; /* Отступ сверху под фиксированный хедер */
    text-align: center;
    border-bottom: 1px solid rgba(214, 179, 106, 0.3);
}

.page-title {
    font-family: "Inter", serif;
    font-size: 42px;
    color: var(--gold);
    margin: 0 0 10px;
}

.breadcrumbs {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.breadcrumbs a { color: #fff; transition: color .3s; }
.breadcrumbs a:hover { color: var(--gold); }

/* --- Стили для Страницы Каталога --- */

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* Сайдбар 280px, остальное товары */
    gap: 40px;
    align-items: start;
}

/* Сайдбар */
.catalog-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    position: sticky; /* Липнет при скролле */
    top: 100px; /* Отступ от шапки */
}

.filter-block {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}
.filter-block:last-of-type {
    border-bottom: none;
}

.filter-title {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    color: var(--gold);
    margin: 0 0 15px;
    font-weight: 600;
}

/* Селект */
.filter-select {
    width: 100%;
    background: #0d0b0a;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}

/* Инпуты цены */
.price-range {
    display: flex;
    gap: 10px;
}
.filter-input-small {
    width: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
}
.filter-input-small:focus {
    border-color: var(--gold);
}

/* Кастомные чекбоксы */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    user-select: none;
}
.custom-checkbox input {
    display: none; /* Прячем стандартный чекбокс */
}
.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}
/* Когда выбран */
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--gold);
    border-color: var(--gold);
}
/* Галочка внутри */
.custom-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Кнопка сброса */
.reset-filter {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: underline;
}
.reset-filter:hover { color: #fff; }

/* Обновления карточки для цен */
.catalog-grid--cols3 {
    grid-template-columns: repeat(3, 1fr); /* 3 колонки, так как есть сайдбар */
}

.hair-card__price {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    margin: 10px 0 5px;
}
.hair-card__meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
}

/* Адаптив каталога */
@media (max-width: 980px) {
    .catalog-layout {
        display: block; /* Убираем сайдбар сбоку, ставим сверху */
    }
    
    .catalog-sidebar {
        position: static;
        margin-bottom: 40px;
        display: none; /* В идеале здесь нужна кнопка "Показать фильтры" и JS для открытия */
    }
    
    /* Для простоты на мобильных покажем фильтры, но они займут много места. 
       Лучше сделать details/summary */
}

@media (max-width: 768px) {
    .catalog-grid--cols3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Простой хак для мобильных фильтров */
    .catalog-sidebar {
        display: block; 
    }
}

@media (max-width: 480px) {
    .catalog-grid--cols3 {
        grid-template-columns: 1fr;
    }
}