* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Bodoni Moda", serif; /* запасной цвет, если вдруг без градиента */
  background-color: #e8e3d8;

  /* сам градиент — слева теплее, справа светлее */
  background: linear-gradient(
    90deg,
    #d7c4a6 0%,
    /* тёплый беж слева */ #e8ddcc 40%,
    /* мягкий переход */ #f5f0e6 100% /* почти светлый справа, но не белый */
  );

  color: #5a5549;
  line-height: 1.6;
  font-size: 20px;
}

.large-quote {
  font-size: 44px;
  line-height: 1.2;
  color: rgba(90, 85, 73, 0.08); /* было 0.1–0.15, можно чуть уменьшить */
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  background-size: cover;
  background-size: contain;
}

.logo > img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  padding: 0; /* чтобы не сдвигало */
  margin: 0 auto; /* центр */
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 60px;
  background-color: #fff;
}
.header-logo {
  background-color: #fff;
  padding: 22px 62px 22px 71px;
}
.logo h1 {
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 400;
  color: #c4a57b;
  margin-bottom: 5px;
  background-color: #fff;
}

.subtitle {
  font-size: 9px;
  letter-spacing: 2px;
  color: #a89b8a;
  margin-bottom: 30px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
}

.nav a {
  text-decoration: none;
  color: #5a5549;
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav a:hover {
  color: #c4a57b;
}

/* Timeline Section */
.timeline {
  margin-bottom: 50px;
}

.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 10px;
}

.year {
  font-size: 12px;
  color: #a89b8a;
  border: 1px solid #a89b8a;
  padding: 3px 8px;
  border-radius: 3px;
}

.timeline-label {
  font-size: 20px;
  color: #a89b8a;
  text-transform: lowercase;
}

.timeline-content {
  margin-top: 15px;
}

.achievement {
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  color: #5a5549;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Quote Section */
.quote-section {
  margin-bottom: 40px;
}

.image-container {
  margin-bottom: 20px;
  height: 520px; /* фиксируем высоту рамки */
  overflow: hidden; /* скрыть обрезанные части */
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Первая фотография: картинка полностью заполняет рамку */

.image-container {
  border-radius: 20px;
  overflow: hidden; /* всё лишнее обрезаем */
  padding: 0; /* без внутренних отступов */
  background: transparent;
  box-shadow:
    0 40px 80px rgba(196, 165, 123, 0.35),
    0 0 60px rgba(196, 165, 123, 0.25); /* пусть тень будет у контейнера */
}
.portrait-img {
  width: 102%;
  height: 102%;
  transform: translate(-1%, -1%);
}
.image-container {
  overflow: hidden;
}

.quote {
  font-size: 20px;
  font-style: italic;
  color: #5a5549;
  margin-bottom: 20px;
  line-height: 1.8;
}

.description {
  font-size: 20px;
  color: #a89b8a;
  line-height: 1.8;
  margin-bottom: 50px;
  margin-top: 30px;
  padding: 40px 20px 40px 20px;
}

.link {
  display: inline-block;
  font-size: 28px; /* крупный текст */
  padding: 22px 38px; /* больше пространства внутри */
  border-radius: 18px; /* мягкие края */
  border: 2px solid rgba(90, 85, 73, 0.55);
  background: rgba(255, 255, 255, 0.65);
  color: #5a5549;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #c4a57b;
  color: #c4a57b;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(196, 165, 123, 0.35);
}

.cta-row {
  display: flex;
  justify-content: center; /* центр между соседними блоками */
  margin-top: 30px;
}

.link:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(196, 165, 123, 0.6);
  color: #c4a57b;
}

/* Image Section */
.image-section {
  margin-bottom: 40px;
}

.full-width-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Experience Section */
.experience-section {
  margin-bottom: 40px;
}

.experience-text {
  font-size: 20px;
  color: #a89b8a;
  line-height: 1.8;
}

/* Mission Section */
.mission-section {
  margin-bottom: 30px;
}

.mission-text {
  font-size: 20px;
  color: #5a5549;
  line-height: 1.8;
  margin-bottom: 25px;
}

.cta-text {
  font-size: 20px;
  color: #5a5549;
  font-style: italic;
}

/* Services Section */
.services-section {
  margin-bottom: 50px;
}

.services-list {
  list-style: none;
  padding-left: 0;
}

/* Gallery Section */
/* --- ГАЛЕРЕЯ: ФОТО ЗАПОЛНЯЕТ ВСЮ РАМКУ --- */
.gallery-section {
  position: relative;
  margin-bottom: 50px;
  height: 500px; /* высота рамки как и была */
  border-radius: 20px;
  overflow: hidden; /* обрезаем всё, что вылезет */
}

/* сама картинка внутри галереи */
.gallery-section .gallery-img {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* заполняет всю рамку */
  object-position: center;
  margin: 0;
  padding: 0 !important; /* убираем старый padding */
  border-radius: 0;
}

/* Statement Section */
.statement-section {
  margin-bottom: 50px;
  text-align: center;
}

.statement-text {
  font-size: 20px;
  color: #a89b8a;
  line-height: 1.8;
  max-width: 350px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  margin-bottom: 50px;
}

.contact-title {
  font-size: 30px;
  font-weight: 400;
  color: #5a5549;
  margin-bottom: 25px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: #5a5549;
}

.icon {
  font-size: 17px;
  width: 20px;
  text-align: center;
}

/* Bottom Quote */
.bottom-quote {
  text-align: center;
  padding: 40px 20px;
}

.large-quote {
  font-size: 16px;
  font-style: italic;
  color: rgba(90, 85, 73, 0.15);
  line-height: 1.8;
  font-weight: 300;
}

.quote-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.nav a {
  position: relative;
  padding-bottom: 10px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 26px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(90, 85, 73, 0.35);
}
.large-quote {
  font-size: 44px;
  line-height: 1.2;
  color: rgba(90, 85, 73, 0.1);
}
/* все основные картинки */
.portrait-img,
.full-width-img,
.gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px; /* скругление */
  background: transparent; /* убирает ощущение белой подложки */
  border: none; /* если вдруг где-то есть border */
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); /* мягкая тень (можешь убрать, если не надо) */
}
.image-container {
  border-radius: 14px;
  overflow: hidden; /* чтобы картинка не торчала за углы и не было рамки */
  background: transparent;
}

.image-section {
  display: grid;
  grid-template-columns: 1fr 1fr; /* текст | фото */
  gap: 40px;
  align-items: start;
}
.image-text {
  grid-column: 1;
  padding: 165px 16px 90px 40px;
}

.image-foto {
  grid-column: 2;
}
.image-section img {
  display: block;
  /* width: 100%; теперь это 100% КОЛОНКИ, а не всей страницы */
  height: auto;
  border-radius: 14px;
}

.gallery-img {
  padding: 30px 100px 30px 100px;
}
/* CONTACT — красивый блок */
.contact-wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-left {
  flex: 1;
  min-width: 0;
}

.contact-right {
  width: 360px;
}

.contact-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* заголовок */
.contact-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

/* список контактов */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* одна строка */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #5a5549;
  font-size: 20px;
  line-height: 1.4;
}

/* иконка-кнопка */
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(90, 85, 73, 0.15);
  flex: 0 0 42px;
}

/* svg в цвет текста */
.contact-icon svg {
  display: block;
}

/* Luxury list */
.services-section {
  margin-top: 20px;
}

.services-list {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;

  /* делаем блок шире и ровнее */
  max-width: 720px;
}

.services-label {
  margin: 40px 0 24px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(90, 85, 73, 0.6);
  font-weight: 400;
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.services-list li {
  position: relative;
  padding-left: 0;
  margin: 22px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #5a5549;
}

.services-label {
  position: relative;
  margin: 60px 0 32px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(90, 85, 73, 0.65);
  font-weight: 400;
}

.services-label::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(90, 85, 73, 0.35);
  margin: 0 auto 18px;
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.services-list li {
  position: relative;
  margin: 26px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #5a5549;
}

/* кружок */
.services-list li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196, 165, 123, 0.85); /* золотистый */
  margin: 0 auto 12px;
}

.services-label {
  position: relative;
  margin: 80px 0 40px;
  text-align: center;

  font-size: 20px; /* крупнее */
  letter-spacing: 0.45em; /* широко, "дорого" */
  color: #c4a57b; /* мягкое золото, как логотип */
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.9;
}

.services-label::before {
  content: "";
  width: 120px; /* длиннее и тоньше */
  height: 1px;
  background: rgba(196, 165, 123, 0.5);
  display: block;
  margin: 0 auto 25px;
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.services-list li {
  font-size: 22px; /* заметнее */
  color: #5a5549;
  margin: 32px 0;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
}

/* Кружочек перед пунктом */
.services-list li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c4a57b; /* золотистый */
  margin: 0 auto 16px;
}

/* last day to commit */
/* Фон всего сайта вокруг панели */
body {
  background: #ead3af; /* или твой текущий градиентный/бежевый фон */
}

/* Общая панель со всем сайтом */
.page-panel {
  width: 980px; /* или твоя ширина */
  margin: 0 auto; /* ставит по центру */
  background: #f7f1e5; /* внутренний бежевый фон */
}

/* logo (day to commit) */
.header {
  background: #ffffff; /* белая полоса под логотип */
  padding: 40px 40px 20px; /* сверху/по бокам/снизу – можно подправить */
  text-align: center;
}

/* лёгкая тень снизу хедера, чтобы переход в бежевый был мягким */
.header {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* сам логотип */
.logo {
  width: 100%;
  max-width: 100%; /* чтобы не упирался в края */
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* logo */
/* === РАМКА ВОКРУГ ВСЕГО САЙТА === */
body {
  background: #ead3af; /* внешний фон */
}

.page-panel {
  background: #f7f1e5; /* внутренний бежевый фон */
}

/* === ШАПКА С ЛОГОТИПОМ — ОТ КРАЯ ДО КРАЯ РАМКИ === */
.header {
  background: #ffffff;
  text-align: center;
  padding: 40px 40px 25px; /* внутренняя "воздушность" для логотипа */
  margin-bottom: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); /* мягкий переход в бежевый */
}

/* Блок с логотипом */
.header-logo {
  max-width: 100%;
  margin: 0 auto 20px;
}

/* Картинка логотипа тянется по ширине шапки */
.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* === КОНТЕЙНЕР ДЛЯ ВСЕГО ОСТАЛЬНОГО === */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
/* Премиальная мягкая тень для всех фото */
.portrait-img,
.image-foto,
.full-width-img,
.gallery-img,
.image-container,
.gallery-section,
.contact-photo,
.contact-right {
  border-radius: 20px;
  box-shadow:
    0 40px 80px rgba(196, 165, 123, 0.35),
    0 0 60px rgba(196, 165, 123, 0.25);
}
body {
  background-image: url("https://anastasiialobanovaa.github.io/Beaty-Larysa-Demchenko/images/brand-background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* красивый параллакс-эффект */
}
/* --- ЖЁСТКО ФИКСИРУЕМ ПАНЕЛЬ И КОНТЕЙНЕР ПО ЦЕНТРУ --- */

html,
body {
  margin: 0;
  padding: 0;
}

/* фон вокруг панели (как ты хотела) */
body {
  background-image: url("https://anastasiialobanovaa.github.io/Beaty-Larysa-Demchenko/images/brand-background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* сама "лента" / рамка со всем сайтом */
.page-panel {
  width: 980px; /* фиксированная ширина, как на компе */
  margin: 0 auto; /* по центру экрана */
  background: #f7f1e5;
  position: relative;
}

/* внутренний контейнер с текстом и секциями */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 40px;
  position: relative;
}

/* phone */

/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОН --- */
@media (max-width: 768px) {
  /* сама панель */
  .page-panel {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  /* основной контейнер внутри */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px 32px;
  }

  /* цитаты и блок с "где искусство и медицина..." — из двух колонок в одну */
  .quote-section {
    display: block;
    padding-left: 16px; /* чуть меньше смещение от линии */
  }

  .image-section {
    display: block; /* вместо grid 1fr 1fr */
  }

  .image-text,
  .image-foto {
    grid-column: auto;
    margin-bottom: 20px;
  }

  .image-section img,
  .gallery-img {
    width: 100%;
    height: auto;
  }

  /* блок с контактами и фото — делаем в столбик */
  .contact-wrap {
    flex-direction: column;
    gap: 15px;
  }

  .contact-right {
    width: 100%;
  }

  .contact-photo {
    width: 100%;
    max-width: 100%;
  }

  /* — Контактная секция — красивое вертикальное центрирование — */
  @media (min-width: 769px) {
    .contact-wrap {
      align-items: center; /* ставим по вертикальному центру */
    }

    .contact-left {
      margin-top: 40px; /* немного ниже, чтобы было гармонично */
    }
  }
}

/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОН: УВЕЛИЧЕНИЕ ТЕКСТА --- */
@media (max-width: 768px) {
  html,
  body {
    font-size: 20px !important;
  }

  h1,
  .hero-title {
    font-size: 36px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 30px !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 26px !important;
  }

  p,
  li,
  .image-text,
  .quote-text,
  .mission-text {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  .contact-section,
  .contact-left,
  .contact-right {
    font-size: 20px !important;
  }
}

/* --- ПЕРВАЯ ФОТО: ЗАПОЛНЯЕТ РАМКУ БЕЗ ЩЕЛЕЙ --- */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
  background: transparent;
}
/* --- ХАК ДЛЯ ПЕРВОЙ ФОТО: УБИРАЕМ ЩЕЛЬ СПРАВА --- */
.image-container {
  position: relative;
  overflow: hidden;
}

.image-container .portrait-img {
  display: block;
  width: 102%; /* картинка чуть шире контейнера */
  margin: 0;
  margin-right: -2%; /* “заводим” вправо за край */
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* --- КНОПКА BOOK NOW — УВЕЛИЧЕННАЯ И КРАСИВАЯ --- */
.link {
  display: inline-block;
  font-size: 24px; /* крупнее */
  padding: 18px 34px; /* больше внутренняя область */
  border-radius: 14px; /* мягче углы */
  border: 2px solid rgba(90, 85, 73, 0.45);
  background: rgba(255, 255, 255, 0.55);
  color: #5a5549;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #c4a57b;
  color: #c4a57b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 165, 123, 0.35);
}
@media (max-width: 768px) {
  .link {
    font-size: 37px; /* почти такой же крупный текст */
    padding: 14px 26px; /* удобнее нажимать пальцем */
    border-radius: 16px;
    margin-bottom: 0px; /* уменьшит расстояние снизу */
    display: inline-block;
  }
  .cta-row {
    margin-top: 10px; /* меньше отступ сверху */
    margin-bottom: 10px;
  }
}
.contact-left {
  margin-right: 0 !important;
  padding-right: 0 !important;
}
/* --- МОБИЛКА: фото заполняет рамку, без пустой области снизу --- */
@media (max-width: 768px) {
  /* сама рамка подстраивается под размер фото */
  .image-container,
  .gallery-section {
    height: auto;
  }

  /* картинка ведёт себя как обычный блок и тянется на всю ширину */
  .image-container .portrait-img,
  .gallery-section .gallery-img {
    position: static; /* отменяем absolute на мобиле */
    width: 100%;
    height: auto;
    display: block;
  }

  /* убираем большие отступы у галереи на телефоне */
  .gallery-img {
    padding: 0;
  }
}
/* --- МОБАЙЛ: логотип как баннер на всю ширину --- */
@media (max-width: 768px) {
  /* контейнер без лишних отступов */
  .header-logo,
  .logo-container,
  .hero-logo {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: center;
  }

  /* сама картинка логотипа */
  .header-logo img,
  .logo-container img,
  .hero-logo img {
    width: 100% !important; /* растягиваем по ширине экрана */
    height: auto !important; /* сохраняем пропорции */
    display: block; /* без белых полос по бокам */
    object-fit: cover; /* если нужно кадрирование */
  }
}
/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОН --- */
@media (max-width: 768px) {
  /* сама панель */
  .page-panel {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  /* основной контейнер внутри */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px 32px;
  }
}
/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОН --- */
@media (max-width: 768px) {
  /* сама панель */
  .page-panel {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;

    /* ВАЖНО: фон только в контейнере на мобильной версии */
    background:
      linear-gradient(rgba(247, 241, 229, 0.8), rgba(247, 241, 229, 0.8)),
      url("https://anastasiialobanovaa.github.io/Beaty-Larysa-Demchenko/images/brand-background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* основной контейнер внутри */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px 32px;
  }

  /* остальное (quote-section, image-section и т.д.) оставь как есть */
}
/* --- ФИНАЛЬНЫЙ ТЮНИНГ МОБИЛКИ: КНОПКА + ТЕКСТ ПОД НЕЙ --- */
@media (max-width: 768px) {
  /* Кнопка и её строка — без лишнего воздуха снизу */
  .cta-row {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }

  .link {
    margin-bottom: 0 !important;
    display: inline-block;
  }

  /* Текстовый блок под кнопкой — уменьшить дырку сверху */
  .quote-section .description {
    margin-top: 8px !important; /* вместо 30px */
    padding-top: 12px !important; /* вместо 40px */
    margin-bottom: 32px !important; /* можно чуть меньше, чем 50px */
  }

  /* Чуть меньше общего отступа секции вниз */
  .quote-section {
    margin-bottom: 16px !important;
  }
}
/* --- ФИНАЛЬНЫЙ МОБИЛЬНЫЙ ТЮНИНГ: КНОПКА + КОНТАКТЫ --- */
@media (max-width: 768px) {
  /* 1. КНОПКА BOOK NOW — убираем "яму" под ней */
  .cta-row {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }

  .link {
    margin-bottom: 0 !important;
    display: inline-block;
  }

  /* текстовый блок под кнопкой (где описание) — подтягиваем ближе */
  .quote-section .description {
    margin-top: 8px !important; /* было 30 */
    padding-top: 12px !important; /* было 40 */
    margin-bottom: 28px !important; /* вместо 50 */
  }

  /* 2. КОНТАКТЫ — больше воздуха ПОД всем блоком */
  .contact-section {
    margin-bottom: 80px !important; /* реально заметный отступ перед следующей секцией */
  }

  /* между контактами и фото внутри contact-wrap */
  .contact-wrap {
    gap: 24px !important; /* расстояние между текстом и фото */
  }

  .contact-right {
    margin-top: 8px !important; /* ещё чуть-чуть воздуха над фото */
  }
}
/* page of prices */
/* =========================
   HEADERS (h2/h3/h4 classes)
   Style: like template (soft luxe, airy, thin lines)
   ========================= */

/* optional base (если не задавала где-то ещё) */
:root {
  --bg: #f3eee4;
  --text: #2a2722;
  --muted: rgba(42, 39, 34, 0.72);
  --line: rgba(42, 39, 34, 0.16);
  --accent: #c9a77e; /* тёплое золото */
  --serif: "Bodoni Moda", serif;
}

/* общий ритм для секций (чтобы всё “дышало”) */
#price,
#why,
#appointment {
  padding: 26px 0;
}

#price {
  border-top: 1px solid var(--line);
}

/* ===== H2 (главные заголовки секций) ===== */
.h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  /* мягкий “шаблонный” цвет */
  color: rgba(42, 39, 34, 0.55);

  /* адаптивный размер, чтобы красиво и на мобиле, и на десктопе */
  font-size: clamp(26px, 4.2vw, 54px);
  line-height: 1.05;
}

/* тонкая линия под H2 как в шаблоне */
.h2::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
  width: 100%;
  margin-top: 14px;
}

/* ===== H3 (подразделы, блоки услуг) ===== */
.h3 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: rgba(42, 39, 34, 0.82);
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.2;
}

/* ===== H4 (названия процедур внутри блоков) ===== */
.h4 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: rgba(42, 39, 34, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

/* маленький акцент “NEW” и похожих слов внутри h4, если захочешь обыграть */
.h4 .tag,
.h4 .new {
  color: var(--accent);
}

/* =========================
   Mobile tweaks (телефон)
   ========================= */
@media (max-width: 480px) {
  .h2 {
    letter-spacing: 0.12em;
  }
  .h2::after {
    margin-top: 12px;
  }

  .h3 {
    margin-top: 16px;
    letter-spacing: 0.08em;
  }

  .h4 {
    letter-spacing: 0.12em;
  }
}

/* =========================
   Optional: make text blocks look “template-ish”
   (у тебя в prices.html много <p> под заголовками)
   ========================= */
#price p,
#why p,
#appointment p,
#price li,
#why li,
#appointment li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

#price ul,
#why ul,
#appointment ul {
  margin: 0;
  padding-left: 16px;
}

#price ul li {
  margin: 6px 0;
}

/* ссылки “Book now” — аккуратно как в шаблоне */
#price a,
#why a,
#appointment a {
  color: rgba(42, 39, 34, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

#price a:hover,
#why a:hover,
#appointment a:hover {
  border-bottom-color: var(--accent);
}
/* кнопка */
.spoiler-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.02em;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}

.spoiler-btn:hover,
.spoiler-btn:focus {
  border-color: rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

/* контейнер спойлера */
.spoiler {
  margin-top: 14px;
}

/* карточка */
.spoiler-card {
  max-width: 820px; /* чтобы не распирало на всю страницу */
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

/* сетка: десктоп = 2 колонки, мобилка = 1 колонка */
.spoiler-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

/* общий стиль элементов */
.media-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* картинка */
.spoiler-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px; /* ограничиваем высоту */
  object-fit: cover;
}

/* видео: делаем нормальный responsive-блок */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* красиво и адаптивно */
}

.spoiler-video,
.spoiler-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* мобилка */
@media (max-width: 767px) {
  .spoiler-card {
    padding: 12px;
    border-radius: 14px;
  }

  .spoiler-media {
    grid-template-columns: 1fr; /* 1 колонка */
    gap: 10px;
  }

  .spoiler-img {
    max-height: 320px;
  }
}
:root {
  /* warm champagne / wax gold */
  --gold: #b89b6a;
  --gold-2: #d6c09b; /* светлее */
  --ink: rgba(40, 32, 24, 0.86);
  --muted: rgba(40, 32, 24, 0.62);
  --card: rgba(255, 255, 255, 0.55);
  --blur: blur(10px);
}

/* общий текст прайса */
#price {
  color: var(--ink);
}

#price .h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 32, 24, 0.72);
}

/* карточки прайса */
.price-card,
.price-group {
  background: var(--card);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  padding: 18px 18px;
  margin: 16px 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

/* заголовок услуги */
.price-card .h3,
.price-group .h3 {
  margin: 0 0 10px;
  color: rgba(40, 32, 24, 0.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* обычные абзацы */
.price-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.55;
}

/* цены */
.price-amount {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 500;
}

.price-amount strong {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* списки внутри прайса */
#price ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

#price li {
  margin: 6px 0;
  color: var(--muted);
}

/* кнопка SEE MORE (теплое золото, без линий-делителей) */
.price-btn,
#price button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 12px;
  padding: 10px 16px;

  border: 0;
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    rgba(214, 192, 155, 0.85),
    rgba(184, 155, 106, 0.85)
  );
  color: rgba(35, 28, 20, 0.9);

  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;
  box-shadow: 0 10px 22px rgba(184, 155, 106, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.price-btn:hover,
.price-btn:focus,
#price button:hover,
#price button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(184, 155, 106, 0.3);
  filter: saturate(1.05);
}

/* Book now как “luxury link button” без линии */
.price-book,
#price a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.price-book:hover,
#price a:hover {
  color: rgba(184, 155, 106, 0.9);
}

/* spoiler media внутри карточки (чтобы не распирало) */
.spoiler-card {
  max-width: 860px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.spoiler-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-item {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.spoiler-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.spoiler-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ✅ MOBILE */
@media (max-width: 767px) {
  .price-card,
  .price-group {
    padding: 14px 14px;
    border-radius: 16px;
    margin: 12px 0;
  }

  .price-card .h3,
  .price-group .h3 {
    font-size: 16px; /* если твой h3 слишком крупный */
  }

  .price-btn,
  #price button {
    width: 100%; /* на телефоне кнопка во всю ширину */
    padding: 12px 16px;
  }

  .spoiler-media {
    grid-template-columns: 1fr; /* фото и видео в столбик */
  }

  .spoiler-img {
    max-height: 320px;
  }
}
:root {
  --gold: #b89b6a; /* wax/champagne */
  --gold-soft: #d6c09b; /* светлее */
  --ink: rgba(40, 32, 24, 0.86);
  --muted: rgba(40, 32, 24, 0.62);
  --panel: rgba(255, 255, 255, 0.55);
}

.appointment {
  padding: 34px 0;
}

.appointment__wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

/* левый блок — как карточка */
.appointment__left {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

/* фото перед заголовком */
.appointment__photo {
  width: 100%;
  max-width: 420px;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin: 0 0 18px;
}

/* заголовок оставляем большим, добавим “золото” в акцент */
.appointment__title {
  margin: 0 0 14px;
  color: rgba(40, 32, 24, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

/* золотое “свечение” без линий */
.appointment__title::after {
  content: "";
  display: block;
  width: 84px;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(184, 155, 106, 0.55),
    rgba(184, 155, 106, 0)
  );
}

/* подзаголовок */
.appointment__lead {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* список — дорогие маркеры */
.appointment__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.appointment__list li {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 12px 14px 12px 42px;
  position: relative;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* золотой маркер-капля */
.appointment__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 18px rgba(184, 155, 106, 0.35);
}

/* кнопка */
.appointment__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(35, 28, 20, 0.9);
  background: linear-gradient(
    180deg,
    rgba(214, 192, 155, 0.9),
    rgba(184, 155, 106, 0.85)
  );
  box-shadow: 0 14px 30px rgba(184, 155, 106, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.appointment__btn:hover,
.appointment__btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(184, 155, 106, 0.32);
}

/* правый блок — просто мягкий “gold glow”, можно оставить пустым */
.appointment__right {
  min-height: 320px;
  border-radius: 26px;
  background: radial-gradient(
    circle at 40% 35%,
    rgba(214, 192, 155, 0.35),
    rgba(255, 255, 255, 0)
  );
}

/* 📱 MOBILE */
@media (max-width: 767px) {
  .appointment__wrap {
    grid-template-columns: 1fr;
  }

  .appointment__left {
    padding: 16px;
    border-radius: 18px;
  }

  .appointment__photo {
    height: 200px;
    border-radius: 16px;
    margin-bottom: 14px;
  }

  .appointment__title {
    letter-spacing: 0.06em;
  }

  .appointment__btn {
    width: 100%;
  }

  .appointment__right {
    display: none;
  }
}
.appointment__wrap {
  max-width: 1100px;
  margin: 0 auto; /* 👈 центр по странице */
  padding: 0 24px; /* чтобы не прилипало к краям */
}
.appointment__list {
  margin-bottom: 22px;
}
.appointment__btn {
  margin-top: 8px;
}
.appointment__left {
  max-width: 520px;
}
/* гарантированно центрирует блок секции на десктопе */
#appointment.appointment {
  display: flex;
  justify-content: center;
}

#appointment .appointment__wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}
.container {
  margin: 0 auto;
}

#appointment {
  margin-left: auto;
  margin-right: auto;
}
/* DESKTOP FIX: центрируем весь appointment-блок */
@media (min-width: 768px) {
  #appointment .appointment__wrap {
    grid-template-columns: 1fr !important; /* вместо 2 колонок */
    justify-items: center !important; /* центрируем контент */
  }

  #appointment .appointment__right {
    display: none !important; /* убираем пустую правую колонку */
  }

  #appointment .appointment__left {
    width: min(600px, 100%) !important; /* аккуратная ширина карточки */
    margin: 0 auto !important;
  }
}
/* WHY CLIENTS CHOOSE ME — desktop polish */
#why {
  padding: 44px 0;
}

/* центрируем контейнер самого блока */
#why .services-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* заголовок */
#why .services-label {
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: rgba(184, 155, 106, 0.75); /* wax/champagne */
}

/* список — делаем “органичную” колонку */
#why .services-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
}

/* каждый пункт — нормальный размер + читаемость */
#why .services-list li {
  width: 100%;
  max-width: 760px;
  text-align: center;

  color: rgba(40, 32, 24, 0.8);
  line-height: 1.7;

  background: rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 14px 18px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* золотая точка над текстом — как у тебя, но аккуратнее */
#why .services-list li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin: 0 auto 10px;
  background: radial-gradient(
    circle,
    rgba(214, 192, 155, 1),
    rgba(184, 155, 106, 1)
  );
  box-shadow: 0 10px 18px rgba(184, 155, 106, 0.25);
}

/* DESKTOP: делаем текст крупнее */
@media (min-width: 1024px) {
  #why .services-label {
    font-size: 28px; /* заголовок больше */
  }

  #why .services-list li {
    font-size: 18px; /* текст пунктов больше */
    padding: 16px 20px;
  }
}

/* MOBILE: оставляем компактно */
@media (max-width: 767px) {
  #why .services-section {
    padding: 0 16px;
  }

  #why .services-label {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  #why .services-list {
    gap: 12px;
  }

  #why .services-list li {
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 16px;
  }
}

/* Appointment card full width */
.appointment__left {
  width: 100%;
  max-width: none; /* ❗ убираем ограничение */
  margin: 0; /* ❗ убираем центрирование */
  border-radius: 28px; /* оставляем мягкие края */
}
/* TEST */
/* Global beige background with image — DESKTOP ONLY */
@media (min-width: 1024px) {
  .page-panel {
    position: relative;
    background-image: url("../images/brand-background.jpg"); /* потом заменишь */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* приглушающий шампань-слой */
  .page-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 235, 0.9); /* мягко, не серо */
    z-index: 0;
  }

  /* весь контент поверх фона */
  .page-panel > * {
    position: relative;
    z-index: 1;
  }
}
.contact-text a {
  color: inherit;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}
