@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20BD, U+2212, U+2215;
}

:root {
  --red: #ce271e;
  --red-dark: #a91d15;
  --ink: #141414;
  --ink-2: #1f1f1f;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e4e1dc;
  --grey: #f4f2ef;
  --white: #fff;
  --radius: 14px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Демо-полоса */
.demo-bar {
  background: #2b2b2b; color: #cfcfcf; font-size: 13px; text-align: center; padding: 6px 16px;
}

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 20, 20, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.header__logo img { width: 112px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: #e9e9e9; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header__phone {
  color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap;
  padding: 9px 16px; border: 2px solid var(--red); border-radius: 999px;
}
.header__phone:hover { background: var(--red); }
.burger { display: none; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: inherit; font-weight: 800; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Первый экран */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(206, 39, 30, .35), transparent 60%),
    linear-gradient(160deg, #1c1c1c 0%, #0e0e0e 100%);
  color: #fff;
}
.hero__in { position: relative; z-index: 1; padding: 88px 24px 72px; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
.hero__main { min-width: 0; }
.hero__facts { grid-column: 1 / -1; }
.open {
  padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
}
.open__status { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-weight: 800; font-size: 20px; color: #fff; }
.open__dot { width: 12px; height: 12px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 0 5px rgba(60, 207, 110, .2); flex: none; }
.open.is-closed .open__dot { background: #8a8a8a; box-shadow: 0 0 0 5px rgba(138, 138, 138, .2); }
.open__sub { margin: 0 0 18px; color: #a9a9a9; font-size: 15px; }
.open__list { list-style: none; margin: 0 0 22px; padding: 0; }
.open__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: #d6d6d6; }
.open__list li b { color: #fff; white-space: nowrap; }
.open__list li.is-today b, .open__list li.is-today span { color: #ff7b72; }
.open .btn { width: 100%; }
.hero__kicker {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px;
  background: rgba(206, 39, 30, .18); color: #ffb3ad; font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.hero__title {
  color: #fff; font-weight: 800; font-size: clamp(36px, 6vw, 68px); letter-spacing: -.02em; max-width: 15ch;
}
.hero__title span { color: var(--red); }
.hero__lead { max-width: 560px; margin: 24px 0 32px; font-size: 19px; color: #d6d6d6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hero__facts b { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.hero__facts span { color: #a9a9a9; font-size: 14px; }
.hero__mark {
  position: absolute; right: -20px; bottom: -40px; z-index: 0;
  font-weight: 800; font-size: clamp(120px, 22vw, 300px); line-height: 1;
  color: rgba(255, 255, 255, .035); letter-spacing: -.04em; user-select: none;
}

/* Секции */
.section { padding: 88px 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--ink); color: #d8d8d8; }
.section--dark .h2, .section--dark h3 { color: #fff; }
.eyebrow {
  margin: 0 0 10px; color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow--light { color: #ff6a60; }
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.015em; max-width: 22ch; margin-bottom: 36px; }
.note { color: var(--muted); font-size: 15px; max-width: 760px; }

/* Преимущества */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.why__num { display: block; margin-bottom: 18px; color: var(--red); font-weight: 800; font-size: 32px; line-height: 1; }
.why__card h3 { font-size: 19px; margin-bottom: 10px; }
.why__card p { margin: 0; font-size: 15.5px; color: #4a4a4a; }

/* Направления */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line);
}
.zone h3 { font-size: 21px; margin-bottom: 10px; }
.zone p { color: #4a4a4a; font-size: 15.5px; }
.zone__link { margin-top: auto; font-weight: 800; text-decoration: none; }
.zone__link:hover { text-decoration: underline; }
.zone--main {
  grid-row: span 2; background: var(--red); border-color: var(--red); color: #fff;
  justify-content: flex-end; min-height: 320px;
  background-image: linear-gradient(200deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .25)), linear-gradient(var(--red), var(--red));
}
.zone--main h3 { color: #fff; font-size: 30px; }
.zone--main p { color: #ffe2df; font-size: 17px; }
.zone--main .zone__link { color: #fff; margin-top: 8px; }

/* Цены */
.price-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0 24px; }
.price-table table { width: 100%; border-collapse: collapse; min-width: 480px; }
.price-table caption {
  text-align: left; padding: 18px 24px; font-weight: 800; font-size: 18px; color: var(--ink); background: var(--grey);
}
.price-table th, .price-table td { padding: 16px 24px; text-align: left; border-top: 1px solid var(--line); }
.price-table thead th { font-size: 15px; color: var(--muted); font-weight: 700; }
.price-table thead small { display: block; font-weight: 500; font-size: 13px; }
.price-table tbody th { font-weight: 700; color: var(--ink); }
.price-table tbody th em {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; vertical-align: 2px;
}
.price-table td { font-weight: 800; font-size: 20px; color: var(--ink); white-space: nowrap; }
.price-table tr.is-best td:last-child { color: var(--red); }

.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.pcard { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.pcard h3 { font-size: 18px; margin-bottom: 6px; }
.pcard__who { color: var(--muted); font-size: 14px; min-height: 3em; }
.pcard dl { margin: 0; }
.pcard dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.pcard dt { color: #4a4a4a; font-size: 15px; }
.pcard dd { margin: 0; font-weight: 800; color: var(--ink); white-space: nowrap; }
.pcard__foot { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* Расписание */
.week { display: grid; gap: 6px; margin-bottom: 36px; }
.week__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week__day, .week__time { text-align: center; border-radius: 10px; padding: 12px 4px; }
.week__day { background: #262626; color: #fff; font-weight: 800; }
.week__time { background: var(--red); color: #fff; font-weight: 800; font-size: 20px; }
.week__day--off { background: #1b1b1b; color: #777; }
.week__time--off { background: #1b1b1b; color: #777; font-size: 15px; font-weight: 600; }
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sched__item { padding: 24px; border: 1px solid #2d2d2d; border-radius: var(--radius); }
.sched__item h3 { font-size: 18px; margin-bottom: 8px; }
.sched__item p { margin: 0; font-size: 15.5px; }
.sched__item a { color: #ff7b72; font-weight: 700; }

/* Сертификат */
.gift { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.gift .h2 { margin-bottom: 18px; }
.gift p { max-width: 520px; margin-bottom: 26px; }
.gift__card {
  aspect-ratio: 2.15 / 1; border-radius: 18px; padding: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red) 0%, #8f1610 100%);
  box-shadow: 0 24px 60px -24px rgba(143, 22, 16, .6);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg);
}
.gift__card img { width: 46%; }
.gift__card span { align-self: flex-end; color: #fff; font-weight: 800; font-size: clamp(22px, 3vw, 34px); text-transform: uppercase; letter-spacing: .04em; }

/* Заявка */
.cb { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cb__text .h2 { margin-bottom: 18px; }
.cb__phone { display: inline-block; margin: 6px 0 4px; font-size: 30px; font-weight: 800; color: var(--ink); text-decoration: none; }
.cb__phone:hover { color: var(--red); }
.cb__hours { color: var(--muted); }
.form { padding: 32px; border-radius: 18px; background: var(--grey); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 700; font-size: 14px; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid #d6d2cc; border-radius: 10px;
  background: #fff; font-family: inherit; font-weight: 500; font-size: 17px; color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(206, 39, 30, .15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #4a4a4a; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.form__msg { margin: 0; min-height: 1.4em; font-weight: 700; font-size: 15px; }
.form__msg.is-ok { color: #1d7a3a; }
.form__msg.is-err { color: var(--red); }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contacts__list { margin: 0 0 28px; }
.contacts__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contacts__list dt { color: var(--muted); font-size: 15px; }
.contacts__list dd { margin: 0; font-weight: 700; color: var(--ink); }
.contacts__list a { color: var(--ink); }
.contacts__map {
  min-height: 320px; border-radius: 18px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%) 0 0 / 160px 160px,
    linear-gradient(0deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) 0 0 / 220px 120px,
    #e6e2db;
  color: var(--ink);
}
.contacts__map b { position: relative; background: #fff; padding: 6px 14px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.contacts__map small { position: relative; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 6px; }
.pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); margin-bottom: 14px; box-shadow: 0 8px 18px rgba(206, 39, 30, .45); }

/* Подвал */
.footer { background: var(--ink); color: #9a9a9a; padding: 40px 0; font-size: 14px; }
.footer__in { display: flex; gap: 32px; align-items: center; }
.footer img { width: 120px; flex: none; }
.footer p { margin: 0 0 6px; }
.footer a { color: #d0d0d0; }
.footer__demo { color: #6f6f6f; }

/* Плавающая кнопка звонка на телефоне */
.callbar { display: none; }

@media (max-width: 1020px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: repeat(2, 1fr); }
  .zone--main { grid-column: span 2; grid-row: auto; min-height: 220px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px 24px 20px; border-bottom: 1px solid #2a2a2a;
    transform: translateY(-120%); visibility: hidden; transition: transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #262626; font-size: 17px; }
  .header__phone { margin-left: auto; padding: 7px 12px; font-size: 14px; }
  .burger {
    display: block; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; flex: none;
  }
  .burger span, .burger span::before, .burger span::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; content: ""; transition: transform .2s;
  }
  .burger span { top: 21px; }
  .burger span::before { left: 0; top: -7px; }
  .burger span::after { left: 0; top: 7px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .hero__in { grid-template-columns: 1fr; }
  .open { max-width: 420px; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .sched, .gift, .cb, .contacts { grid-template-columns: 1fr; }
  .gift__card { max-width: 420px; }
  .section { padding: 64px 0; }

  .footer { padding-bottom: 100px; }
  .callbar {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    min-height: 54px; align-items: center; justify-content: center; border-radius: 999px;
    background: var(--red); color: #fff; font-weight: 800; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header__in { gap: 12px; }
  .header__logo img { width: 92px; }
  .header__phone { display: none; }
  .burger { margin-left: auto; }
  .hero__in { padding: 56px 18px 48px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .why, .price-cards, .zones { grid-template-columns: 1fr; }
  .zone--main { grid-column: auto; }
  .week__row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .week__time { font-size: 13px; padding: 10px 2px; }
  .week__time--off { font-size: 0; }
  .week__time--off::after { content: "—"; font-size: 15px; }
  .week__day { font-size: 14px; }
  .price-table table { min-width: 0; }
  .price-table caption { padding: 14px 14px; font-size: 16px; }
  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table th:first-child { padding-left: 14px; }
  .price-table td { font-size: 16px; }
  .price-table tbody th em { display: table; margin: 4px 0 0; padding: 2px 8px; font-size: 11px; white-space: nowrap; }
  .form { padding: 22px; }
  .contacts__list div { grid-template-columns: 1fr; gap: 2px; }
  .cb__phone { font-size: 26px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
