:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #f1f0ec;
  --border: #e6e4de;
  --border-strong: #d2cfc7;
  --text: #0a0a0a;
  --text-dim: #5c5c5c;
  --text-faint: #9a9a9a;
  --accent: #0a0a0a;
  --accent-strong: #0a0a0a;
  --ink: #ffffff;

  --container: 1160px;
  --radius: 6px;
  --shadow: 0 10px 24px -14px rgba(10, 10, 10, 0.16);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-strong);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent-strong);
  color: var(--ink);
  border-color: var(--accent-strong);
}
.btn--accent:hover { background: transparent; color: var(--accent-strong); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost:hover { background: var(--text); color: var(--ink); }
.btn--small { padding: 11px 20px; font-size: 13px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 18px;
  color: var(--text);
}
.logo span { color: var(--text-faint); font-weight: 600; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-faint);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active {
  background: var(--accent-strong);
  color: var(--ink);
}

.header__cta { display: inline-flex; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { display: none; }
.hero__grid {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero__eyebrow-index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--text-faint);
}
.hero__eyebrow {
  color: var(--text-faint);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(42px, 7.2vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text);
}
.hero__title span { color: var(--text-faint); font-weight: 600; }
.hero__subtitle {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 460px;
  margin: 0 0 20px;
}
.hero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__tag {
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Номера телефонов — отдельный блок-карточка справа от текста, в общей сетке hero */
.hero__phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero__phones-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.hero__phone-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text);
  transition: all 0.2s ease;
}
.hero__phone-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero__phone-link span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.hero__phone-link:hover {
  background: var(--accent-strong);
  color: var(--ink);
  border-color: var(--accent-strong);
}

/* Полоска статистики под hero */
.hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.hero__stat {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
  display: block;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--text-faint);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Section head ---------- */
.section-head {
  margin-bottom: 48px;
}
.section-head__eyebrow {
  display: block;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 10px;
}
.section-head__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.section-head__index { display: none; }

section { padding: 100px 0; }

/* ---------- About ---------- */
.about { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about__text {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 16.5px;
  margin: 0 0 40px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  color: var(--text);
}
.stat__label {
  color: var(--text-faint);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ---------- Info banners (discount / night shift) ---------- */
.discount-banner,
.night-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-dim);
}
.discount-banner__icon,
.night-banner__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: var(--accent-strong);
  border-radius: 50%;
}
.night-banner__icon { background: transparent; color: var(--text); font-size: 16px; }
.discount-banner__text { color: var(--text); font-weight: 600; }
.night-banner__text strong { color: var(--text); font-weight: 700; }

/* ---------- Prices ---------- */
.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.price-row {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.price-row--featured { border-color: var(--border-strong); }
.price-row--vip { background: var(--surface-2); border-color: var(--text); }
.price-row__index {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-faint);
}
.price-row__name {
  order: 1;
  flex: 1 1 auto;
  padding-right: 46px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.price-row__price {
  order: 2;
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
  white-space: nowrap;
}
.price-row__gift {
  order: 3;
  flex-basis: 100%;
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 11px;
  width: fit-content;
  white-space: nowrap;
}

/* ---------- Barbers ---------- */
.barber-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.barber-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.barber-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.barber-card:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.barber-card__index {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: auto;
}
.barber-card__night {
  display: none;
  position: absolute;
  top: 16px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-strong);
  border-radius: 999px;
  padding: 4px 9px;
}
.barber-card.is-night .barber-card__night { display: inline-block; }
.barber-card.is-night .barber-card__avatar { border-color: var(--text); }
.barber-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 14px;
  transition: transform 0.2s ease;
}
.barber-card:hover .barber-card__avatar { transform: scale(1.06); border-color: var(--text); }
.barber-card h3 { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.barber-card p { margin: 0; color: var(--text-faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.barber-card__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0;
  background: var(--accent-strong);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(100%);
  transition: transform 0.2s ease;
}
.barber-card:hover .barber-card__cta { transform: translateY(0); }

/* ---------- Maps & Contacts (spaced rows) ---------- */
.maps { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.maps-grid,
.contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-card,
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.2s ease;
}
.map-card:hover,
.contact-card:hover { border-color: var(--border-strong); transform: translateX(4px); }

.map-card__icon,
.contact-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.contact-card__icon { color: var(--text-dim); }
.contact-card__icon svg { width: 20px; height: 20px; }

.map-card__name,
.contact-card__name {
  flex: 1;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}
.map-card__arrow,
.contact-card__arrow {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--text-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}
.map-card:hover .map-card__arrow,
.contact-card:hover .contact-card__arrow {
  transform: translateX(4px);
  color: var(--text);
}

/* ---------- Contacts CTA ---------- */
.contacts__cta {
  margin-bottom: 40px;
}
.contacts__cta-note {
  color: var(--text-faint);
  font-size: 13.5px;
  margin: 14px 0 0;
}

/* ---------- Booking modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(10, 10, 10, 0.28);
  padding: 40px 32px 32px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal__close:hover { border-color: var(--text); color: var(--text); }
.modal__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 24px;
}

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  font-weight: 600;
}
.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.booking-form input,
.booking-form select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  text-transform: none;
}
.booking-form input:focus,
.booking-form select:focus { border-color: var(--text); }
.booking-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.booking-form__note {
  margin: -6px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}
.booking-form__note strong { color: var(--text); }

.booking-form__submit { margin-top: 4px; width: 100%; }
.booking-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.booking-form__status {
  margin: 0;
  font-size: 13.5px;
  text-align: center;
  min-height: 18px;
  text-transform: none;
  letter-spacing: normal;
}
.booking-form__status.is-success { color: #2f8f4e; }
.booking-form__status.is-error { color: #c3493a; }

@media (max-width: 480px) {
  .modal { padding: 32px 20px 24px; }
  .booking-form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: #0a0a0a;
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { color: #ffffff; font-size: 15px; }
.footer .logo span { color: #8a8a8a; }
.footer__copy { color: #8a8a8a; font-size: 12.5px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .barber-grid { grid-template-columns: repeat(3, 1fr); }
  .about__stats { grid-template-columns: 1fr; }

  .hero__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero__stat:last-child { border-bottom: none; }
  .hero__phones { padding: 20px; }
  .hero__phone-link { padding: 13px 18px; }
  .hero__phone-link span { font-size: 16px; }
}

@media (max-width: 760px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid var(--border); transform: translateY(-120%); opacity: 0; transition: all 0.3s ease; pointer-events: none; }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  section { padding: 72px 0; }
  .barber-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
}
