/* ===== Шрифт Inter хранится на нашем сервере: обращений к Google Fonts нет ===== */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-semibold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/inter-extrabold.woff') format('woff'); }

/* ===== Цвета взяты с фотографий барбершопа: кирпич, дерево, тёмные стены ===== */
:root {
  --ink: #14110f;        /* фон страницы */
  --ink-2: #1d1916;      /* фон чередующихся секций */
  --line: #332c26;       /* линии и рамки */
  --bone: #f0eae0;       /* основной текст */
  --bone-soft: #d9d2c7;  /* текст на главном экране */
  --muted: #a89f93;      /* второстепенный текст */
  --brick: #b5472f;      /* кнопки */
  --brick-hover: #c9573d;
  --wood: #d6a064;       /* цены и акценты */
  --ok: #8fd19e;
  --error: #ef8a7a;
 
  --font-head: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
 
  color-scheme: dark;
}
 
* { margin: 0; padding: 0; box-sizing: border-box; }
 
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
 
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
 
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.65;
}
 
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
 
h1, h2, h3, .logo {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
}
 
.container { width: min(1100px, 92%); margin: 0 auto; }
 
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
 
/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 17, 15, .96);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.logo { white-space: nowrap; }
.logo__a {
  display: inline-block;
  height: .74em;      /* высота бритвы относительно букв */
  width: auto;
  margin: 0 .02em;
  vertical-align: baseline;
}
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--bone); }
 
/* Мобильное меню без JavaScript (чекбокс) */
.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--bone); position: relative;
  transition: transform .2s, top .2s, background .2s;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after  { position: absolute; top: 7px; }
.menu-check:focus-visible + .burger { outline: 2px solid var(--wood); }
.menu-check:checked + .burger span { background: transparent; }
.menu-check:checked + .burger span::before { top: 0; transform: rotate(45deg); }
.menu-check:checked + .burger span::after  { top: 0; transform: rotate(-45deg); }
 
/* ===== Кнопки ===== */
.btn {
  display: inline-block; cursor: pointer; border: 1px solid var(--brick);
  background: var(--brick); color: var(--bone);
  padding: 14px 28px; border-radius: 4px;
  font: 600 16px/1.2 var(--font-body);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--brick-hover); border-color: var(--brick-hover); }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--ghost { background: transparent; border-color: var(--bone); }
.btn--ghost:hover { background: rgba(240, 234, 224, .12); border-color: var(--bone); }
 
/* ===== Главный экран ===== */
.hero {
  min-height: 82vh; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, .92) 0%, rgba(20, 17, 15, .7) 45%, rgba(20, 17, 15, .2) 100%),
    url('../img/hero.jpg') center / cover no-repeat;
}
.hero__inner { padding: 80px 0; }
/* На телефонах — облегчённая картинка (в 2,5 раза меньше по весу) */
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(20, 17, 15, .92) 0%, rgba(20, 17, 15, .7) 45%, rgba(20, 17, 15, .2) 100%),
      url('../img/hero-mobile.jpg') center / cover no-repeat;
  }
}
.hero h1 { font-size: clamp(36px, 6.5vw, 76px); max-width: 12em; margin-bottom: 20px; }
.hero__brand { text-transform: uppercase; }
.nowrap { white-space: nowrap; }
.hero p { max-width: 34em; color: var(--bone-soft); font-size: 18px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
 
/* ===== Секции ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--ink-2); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 36px; }
 
/* ===== Цены ===== */
.prices { max-width: 760px; }
.prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.prices li:first-child { border-top: 1px solid var(--line); }
.prices__name { font-size: 20px; font-weight: 600; }
.prices__val { color: var(--wood); font-weight: 600; font-size: 20px; white-space: nowrap; }
 
/* ===== Блок «картинка + текст» (О нас, Мастера) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img {
  width: 100%; aspect-ratio: 4 / 3; max-height: 520px;
  object-fit: cover; border-radius: 4px; background: var(--ink-2);
}
.split--reverse img { order: 2; }
.split__text p { color: var(--muted); margin-bottom: 16px; max-width: 34em; }
 
.checks li { padding-left: 26px; position: relative; margin: 8px 0; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--wood);
}
 
/* ===== Мастера (карточки) ===== */
.masters__intro { color: var(--muted); max-width: 36em; margin: -12px 0 40px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; align-items: start; }
.mcard { display: flex; flex-direction: column; min-width: 0; }
.mcard__photo {
  position: relative; aspect-ratio: 4 / 5;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(160deg, #2b2521, var(--ink));
}
.mcard__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 3px;
}
.mcard__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: 800 110px/1 var(--font-head); color: var(--line);
}
/* Круглая кнопка «Нажмите, чтобы записаться» поверх фото */
.mcard__badge {
  position: absolute; right: -14px; bottom: 20px; z-index: 2;
  width: 120px; height: 120px; padding: 10px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; font-size: 12px; line-height: 1.15; color: var(--bone-soft);
  background: radial-gradient(circle at 30% 25%, #2f2926, #14110f 75%);
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
  transition: transform .2s, border-color .2s;
}
.mcard__badge:hover { transform: scale(1.05); border-color: var(--wood); }
.mcard__badge svg { width: 28px; height: 28px; margin-bottom: 2px; color: var(--wood); }
.mcard__badge b {
  display: block; color: var(--wood);
  font: 800 13px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .3px;
}
.master__name {
  display: block; margin: 20px 0 2px;
  font-size: 22px; text-transform: uppercase; letter-spacing: .5px;
}
.master__role { display: block; color: var(--muted); font-size: 15px; }
.mcard__quote { margin: 14px 0 22px; font-style: italic; color: var(--bone-soft); }
 
/* Раскрывающийся блок «Об Усмане» */
.mcard__more { border-top: 1px solid rgba(240, 234, 224, .35); border-bottom: 1px solid rgba(240, 234, 224, .35); }
.mcard__more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 2px; cursor: pointer; list-style: none;
  color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
}
.mcard__more summary::-webkit-details-marker { display: none; }
.mcard__more summary::after {
  content: ''; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--bone); border-bottom: 2px solid var(--bone);
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.mcard__more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.mcard__more summary:hover { color: var(--bone); }
.mcard__body { padding: 0 2px 18px; color: var(--muted); font-size: 15px; }
.mcard__body p { margin-bottom: 10px; }
.mcard__rating { color: var(--wood); font-weight: 600; }
.mcard__reviews { color: var(--wood); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
 
/* ===== Галерея ===== */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(20, 17, 15, .85)); font-size: 15px;
}
 
/* ===== Контакты ===== */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacts__info p { margin-bottom: 20px; }
.contacts__info strong { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.contacts__info a { color: var(--wood); font-size: 20px; font-weight: 600; }
 
/* ===== Форма записи ===== */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 14px; color: var(--muted); }
.form input,
.form select,
.form textarea {
  width: 100%; padding: 13px 14px; margin-bottom: 8px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px;
  color: var(--bone); font: 16px var(--font-body);
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--wood); outline-offset: 0; }
.form .btn { margin-top: 8px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
 
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__row > div { display: flex; flex-direction: column; gap: 8px; }
 
/* Ловушка для ботов: скрыта визуально, но остаётся в DOM */
.form__trap {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; opacity: 0; pointer-events: none;
}
 
.form__msg { min-height: 1.5em; font-size: 15px; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-error { color: var(--error); }
 
/* ===== Подвал ===== */
.footer { padding: 24px 0; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
 
/* ===== Адаптив ===== */
@media (max-width: 800px) {
  .burger { display: flex; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 16px 4%; border-top: 1px solid var(--line); font-size: 17px; }
  .menu-check:checked ~ .nav { display: flex; }
 
  .section { padding: 60px 0; }
  .split, .contacts { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse img { order: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 4 / 3; }
  .hero { background-position: 70% center; }
  .form__row { grid-template-columns: 1fr; }
}
 
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
 
/* ===== Кроссбраузерность: Safari, iOS, старые Chrome/Firefox ===== */
html { background: var(--ink); -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
 
/* Safari рисует поля по-своему: возвращаем единый вид */
.form input[type="text"],
.form input[type="tel"],
.form select,
.form textarea,
.btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a89f93' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
 
/* Поле даты в iOS Safari: высота и выравнивание как у остальных */
.form input[type="date"] { min-height: 49px; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
 
/* iOS: правильная высота главного экрана при скрывающейся адресной строке */
@supports (height: 100svh) {
  .hero { min-height: 82svh; }
}
 
/* Safari до 15: aspect-ratio не поддерживается, задаём высоту запасным способом */
@supports not (aspect-ratio: 1 / 1) {
  .split img { height: 320px; }
  .gallery img { height: 380px; }
}
 
/* ===== Карта ===== */
.map { margin-top: 64px; }
.map__title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.map__tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.map__tab {
  cursor: pointer; padding: 10px 18px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--ink-2); color: var(--bone);
  font: 600 14px/1.2 var(--font-body);
  -webkit-appearance: none; appearance: none;
  transition: background .2s, border-color .2s;
}
.map__tab:hover { border-color: var(--bone); }
.map__tab.is-active { background: var(--brick); border-color: var(--brick); }
.map__frame {
  height: clamp(320px, 48vw, 460px);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--ink-2);
}
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__link { display: inline-block; margin-top: 14px; color: var(--wood); font-weight: 600; }
.map__link:hover { text-decoration: underline; }
 
/* ===== Мессенджеры ===== */
.socials { margin-top: 28px; }
.socials > strong { margin-bottom: 12px; }
.socials__list { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts__info .socials__link {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--ink-2);
  color: var(--bone); font-size: 16px;
  transition: background .2s, border-color .2s, transform .2s;
}
.contacts__info .socials__link:hover { background: var(--brick); border-color: var(--brick); transform: translateY(-2px); }
.socials__link svg { width: 24px; height: 24px; }
 
/* ===== Вспомогательное ===== */
/* Скрытое поле-ловушка для ботов: правило перебивает общий стиль полей формы и не даёт странице «ехать» вбок */
.form { position: relative; }
.form input.form__trap {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0;
  opacity: 0; overflow: hidden; pointer-events: none;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.form__hint { margin: -2px 0 8px; color: var(--muted); font-size: 14px; }
 
/* В секциях со светлым фоном поля и кнопки делаем темнее, чтобы они не сливались с фоном */
.section--alt .form input,
.section--alt .form select,
.section--alt .form textarea { background-color: var(--ink); }
.section--alt .map__frame,
.section--alt .socials__link,
.section--alt .map__tab:not(.is-active),
.section--alt .chip:not(.is-active) { background-color: var(--ink); }
 
/* ===== Отзывы ===== */
.reviews { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chip {
  cursor: pointer; padding: 9px 16px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--ink-2); color: var(--bone);
  font: 600 14px/1.2 var(--font-body);
  -webkit-appearance: none; appearance: none;
  transition: background .2s, border-color .2s;
}
.chip:hover { border-color: var(--bone); }
.chip.is-active { background: var(--brick); border-color: var(--brick); }
 
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review:first-child { border-top: 1px solid var(--line); }
.review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 6px; }
.review__author { font-weight: 600; }
.review__stars { color: var(--wood); letter-spacing: 2px; }
.review__meta { color: var(--muted); font-size: 14px; }
.review__text { color: var(--bone-soft); white-space: pre-line; overflow-wrap: anywhere; }
.reviews__empty { padding: 20px 0; color: var(--muted); }
 
.reviews__form h3 { margin-bottom: 16px; font-size: 22px; }
.rating { border: 0; padding: 0; min-width: 0; }
.rating legend { padding: 0; margin-bottom: 4px; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; margin-bottom: 8px; }
.form .stars input {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0;
  opacity: 0; pointer-events: none;
}
.form .stars label { padding: 0 3px; font-size: 34px; line-height: 1.1; color: #4a4036; cursor: pointer; transition: color .15s; }
.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label { color: var(--wood); }
.stars input:focus-visible + label { outline: 2px solid var(--wood); border-radius: 4px; }
 
/* ===== Адаптив: мастера, отзывы, меню ===== */
@media (max-width: 1000px) and (min-width: 801px) {
  .nav { gap: 16px; font-size: 15px; }
}
@media (max-width: 900px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .team { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .mcard__badge { right: 12px; }
}

/* ===================================================================
   Новые элементы: запись на несколько услуг, согласия, cookie, документы
   =================================================================== */
[hidden] { display: none !important; }

.master__schedule { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Услуги в форме записи */
.svc-list { border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2); margin-bottom: 8px; max-height: 320px; overflow: auto; }
.svc-list__empty { padding: 14px; color: var(--muted); font-size: 15px; }
.svc {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 14px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.svc:last-child { border-bottom: 0; }
.svc input { width: 18px; height: 18px; margin: 0; accent-color: var(--brick); }
.form .svc input { padding: 0; margin: 0; }
.svc__name { color: var(--bone); font-size: 15px; }
.svc__meta { color: var(--wood); font-size: 14px; font-weight: 600; white-space: nowrap; }
.svc__dur { display: block; color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.form__total { font-size: 15px; color: var(--bone); margin-bottom: 4px; }
.form__total b { color: var(--wood); }
.form__hint { font-size: 13px; color: var(--muted); margin-top: -4px; margin-bottom: 6px; }

/* Галочка согласия */
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; margin: 4px 0; }
.form .check input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--brick); }
.check a, .legal-note a, .cookie a, .footer a { color: var(--wood); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { font-size: 13px; color: var(--muted); }

/* Подтверждение записи */
.booked { border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: var(--ink-2); }
.booked h3 { font-size: 22px; margin-bottom: 12px; }
.booked dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 18px; }
.booked dt { color: var(--muted); font-size: 14px; }
.booked dd { color: var(--bone); }
.booked .btn { margin-top: 4px; }

/* Ответ барбершопа на отзыв */
.review__reply { margin-top: 10px; padding: 10px 14px; border-left: 2px solid var(--wood); color: var(--bone-soft); font-size: 15px; }
.review__reply b { display: block; color: var(--wood); font-size: 13px; margin-bottom: 2px; }

/* Карта: загружается только после согласия на cookie Яндекса */
.map__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  min-height: 300px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; color: var(--muted);
}
.map__placeholder p { max-width: 520px; font-size: 15px; }

/* Баннер cookie */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; margin: 0 auto; max-width: 820px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center;
  padding: 18px 22px; background: #221d19; color: var(--bone); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: 14px;
}
.cookie p { line-height: 1.5; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 640px) { .cookie { grid-template-columns: 1fr; } .cookie__actions { justify-content: stretch; } .cookie .btn { flex: 1; } }

/* Подвал со ссылками на документы */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; margin-top: 6px; font-size: 13px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 8px; }
.footer__links button { background: none; border: 0; color: var(--wood); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Страницы документов */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--bone-soft); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal ol { padding-left: 22px; }
.legal .muted { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--bone-soft); }
.legal th { color: var(--bone); font-weight: 600; }
.legal__back { display: inline-block; margin-bottom: 24px; color: var(--wood); }
.fill { background: rgba(214, 160, 100, .15); color: var(--wood); padding: 0 4px; border-radius: 2px; }
.form__label { font-size: 14px; color: var(--muted); }
.contacts__schedule { display: block; font-size: 15px; line-height: 1.6; color: var(--bone-soft); }
.form select[disabled] { opacity: .7; }
