/* Территория масла — блоки многостраничного сайта.
   Дополняет site.css; цвета и шрифты — из tokens.css. */

/* — nav — */
.nav-links a[aria-current="page"]{ color: var(--ink); font-weight: 600; }
.nav-phone{ font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-phone:hover{ color: var(--orange); }

/* — hero главной: длинный заголовок — */
.hero h1{ font-size: clamp(44px, 7.4vw, 128px); line-height: .92; }
.hero-meta{ pointer-events: auto; width: max-content; max-width: calc(100% - 32px); }
.hero-pill{
  display: inline-flex; align-items: center; gap: 18px; line-height: 1;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14,14,16,.08); border-radius: 999px;
  padding: 10px 20px; font-size: 13px; color: var(--ink-soft); white-space: nowrap;
}
.hp-live{ display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.hp-dot{ width: 7px; height: 7px; border-radius: 50%; background: #16A34A; animation: pulse 1.6s ease-in-out infinite; }
.hp-sep{ width: 1px; height: 14px; background: rgba(14,14,16,.12); }
.hp-accent{ color: var(--orange); font-weight: 600; }
.hero-foot-stats{ display: flex; gap: 40px; justify-content: flex-end; align-items: flex-end; }

/* — hero внутренних страниц — */
.page-hero{
  position: relative; max-width: 1440px; margin: 0 auto;
  padding: 140px 32px 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.page-hero::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  left: 50%; transform: translateX(-50%); width: 100vw;
  background: radial-gradient(55% 60% at 85% 30%, rgba(255,89,1,.16), transparent 70%);
}
.page-hero h1{
  font-size: clamp(40px, 5.6vw, 92px); line-height: .95; letter-spacing: -.035em;
  font-weight: 700; margin: 20px 0 24px; text-wrap: balance;
}
.page-hero h1 em, .sec-h em{ font-style: italic; color: var(--orange); }
.ph-lead{ font-size: 20px; line-height: 1.45; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }
.ph-points{ list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; max-width: 680px; }
.ph-points li{ position: relative; padding-left: 26px; font-size: 16px; line-height: 1.4; }
.ph-points li::before{
  content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(-45deg); background: var(--orange);
}
.ph-actions{ display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ph-phone{ font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.ph-phone:hover{ color: var(--orange); border-color: var(--orange); }
.ph-art{ aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; }
.ph-art img{ width: 88%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(14,14,16,.18)); }

/* — заголовки секций — */
.sec-h{
  font-size: clamp(36px, 4.6vw, 72px); line-height: .98; letter-spacing: -.03em;
  font-weight: 700; margin: 20px 0 32px; max-width: 1000px; text-wrap: balance;
}
.sec-lead{ font-size: 18px; line-height: 1.5; color: var(--ink-soft); max-width: 720px; margin: -8px 0 32px; }
.sec-note{ font-size: 14px; line-height: 1.5; color: var(--ink-soft); max-width: 720px; margin: 20px 0 0; }
.services h2 em{ font-style: italic; color: var(--orange); }

/* — карточки фактов — */
.info-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info-card{ background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.info-card h3{ font-size: 22px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 10px; }
.info-card p{ font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* — шаги — */
.steps{ list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; counter-reset: none; }
/* Шаги проявляются всем списком, без сдвига (#26). */
.steps[data-reveal]{ transform: none; }
/* Текст шага — от левого края линии, вровень с заголовком блока (#26). */
.steps li{ display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px 0; border-top: 2px solid var(--ink); }
.st-num{ font-size: 14px; font-weight: 600; color: var(--orange); letter-spacing: .08em; padding-top: 4px; font-feature-settings: "tnum" 1; }
.steps h3{ font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.steps p{ font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* — прайс — */
.price-wrap{ overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.price-table{ width: 100%; border-collapse: collapse; font-size: 17px; min-width: 520px; }
.price-table th{
  text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.price-table td{ padding: 18px 24px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table tr:last-child td{ border-bottom: 0; }
.price-table td:nth-child(2){ color: var(--ink-soft); white-space: nowrap; }
.price-table td:last-child, .price-table th:last-child{ text-align: right; white-space: nowrap; font-feature-settings: "tnum" 1; }
.price-table small{ display: block; color: var(--orange); font-size: 13px; margin-top: 4px; }

/* — акции — */
.promo-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } /* 6 акций — два ряда по 3 (#34) */
.promo-card{
  border-radius: 24px; padding: 24px; min-height: 220px;
  background: linear-gradient(160deg, #fff 0%, #FFE8D9 100%); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.promo-card:nth-child(3), .promo-card:nth-child(4){ background: var(--orange); color: #fff; border-color: var(--orange); }
.promo-card:nth-child(3) p, .promo-card:nth-child(4) p{ color: rgba(255,255,255,.85); }
.promo-big{ font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: auto; padding-bottom: 24px; }
.promo-card h3{ font-size: 18px; margin: 0 0 6px; }
.promo-card p{ font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin: 0; }

/* — карточки услуг на главной — */
a.svc-card{ color: inherit; }
.svc-card.span-12{ grid-column: span 12; min-height: 0; }
.svc-extra h3{ font-size: 24px; max-width: 900px; }

/* — другие услуги — */
.other-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.other-card{
  position: relative; display: block; padding: 24px 24px 56px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.other-card:hover{ border-color: var(--orange); transform: translateY(-3px); }
.other-card h3{ font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.other-card p{ font-size: 14px; color: var(--ink-soft); margin: 0; }
.oc-arrow{ position: absolute; left: 24px; bottom: 20px; color: var(--orange); }

/* — отзывы: виджет Яндекс Карт (#28, docs/screens/otzyvy.md) — */
#reviews .st-tabs{ margin-bottom: 20px; }
.rv-panel{ display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 28px; align-items: start; }
.rv-panel[hidden]{ display: none; }
.rv-widget{ height: 620px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.rv-widget iframe{ width: 100%; height: 100%; border: 0; display: block; }
.rv-widget > a{ padding: 24px; font-weight: 600; border-bottom: 1px solid currentColor; }
.rv-links{ display: grid; gap: 12px; }
.rv-links p{ margin: 0 0 4px; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }
.review-link{
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
  padding: 18px 22px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); transition: border-color .2s, color .2s;
}
.review-link:hover{ border-color: var(--orange); color: var(--orange); }
.review-link strong{ font-size: 17px; }
@media (max-width: 900px){
  .rv-panel{ grid-template-columns: 1fr; }
  .rv-widget{ height: 520px; }
}

/* — приложение — */
.app-band{
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  border-radius: 32px; padding: 48px; background: linear-gradient(135deg, #FFF3EA, #FFE0CC); border: 1px solid var(--line);
}
.app-band p{ font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 560px; }
.app-points{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.app-points li{ background: #fff; border-radius: 16px; padding: 14px 18px; font-size: 16px; border: 1px solid var(--line-soft); }

/* — финальный призыв (ТЗ копирайтера, #8): тёмная плашка как у отзывов — */
.cta-actions{ display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.cta-band .ph-phone{ color: #fff; }

/* — о нас — */
.story{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.story .eyebrow{ grid-column: 1 / -1; }
.story .sec-h{ margin: 0; }
.story-text p{ font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.founder-quote{ margin: 8px 0 0; padding: 24px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); font-size: 18px; line-height: 1.55; }
.founder-quote cite{ display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--ink-soft); }

/* — команда (ТЗ копирайтера, #8): пока без фото мастеров — */
.team-points{ list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.team-points li{ background: #fff; border-radius: 16px; padding: 14px 18px; font-size: 16px; border: 1px solid var(--line-soft); }
.team-more{ display: inline-flex; gap: 8px; align-items: center; color: var(--orange); font-weight: 600; }

/* — документы (политика, согласие): тот же блок, что «С чего начинали», в одну колонку — */
.legal{ padding-top: 140px; }
.legal .story{ grid-template-columns: 1fr; max-width: 880px; }
.legal .story-text strong{ color: var(--ink); }

/* — контакты — */
.contacts-grid{ display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: stretch; }
.contacts-card{
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.contacts-card dl{ margin: 0; display: grid; gap: 6px; }
.contacts-card dt{ font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }
.contacts-card dd{ margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; }
.contacts-card dd a:hover{ color: var(--orange); }
.contacts-card .hero-cta{ align-self: flex-start; }
.contacts-map{ border-radius: 28px; overflow: hidden; min-height: 380px; background: var(--line-soft); border: 1px solid var(--line); }
.contacts-map iframe{ width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* — форма заявки — */
.contact > *, .form .field{ min-width: 0; }
.form select{ width: 100%; max-width: 100%; text-overflow: ellipsis; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent{ display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.consent input{ margin-top: 2px; width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; }
.consent a{ color: var(--ink); border-bottom: 1px solid var(--line); }
.form .field.invalid input, .consent.invalid span{ border-color: #D92D20; color: #D92D20; }
.form-status{ font-size: 15px; line-height: 1.45; margin: 4px 0 0; min-height: 1em; }
.form-status.ok{ color: #16A34A; }
.form-status.err{ color: #D92D20; }
.form-status a{ font-weight: 600; border-bottom: 1px solid currentColor; }
.form .submit[disabled]{ opacity: .6; pointer-events: none; }

/* — подвал — */
.foot-social{ margin-top: 24px; display: flex; gap: 8px; }
.foot-social a{ width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; padding: 0; font-size: 13px; }
.foot-bottom{ gap: 24px; flex-wrap: wrap; }

/* — адаптив — */
@media (max-width: 1100px){
  .promo-grid{ grid-template-columns: repeat(3, 1fr); }
  .other-grid{ grid-template-columns: repeat(2, 1fr); }
  .nav-phone{ display: none; }
}
@media (max-width: 900px){
  .page-hero{ grid-template-columns: 1fr; padding: 104px 20px 40px; }
  .ph-art{ display: none; }
  .ph-points{ grid-template-columns: 1fr; }
  .svc-grid{ grid-template-columns: 1fr; }
  .svc-grid .svc-card{ grid-column: auto !important; min-height: 0; gap: 24px; }
  .svc-card.featured h3{ font-size: 40px; }
  .svc-card .ill{ display: none; }
  .svc-card:has(.ill) .price{ padding-right: 0; }
  .app-band, .story, .contacts-grid{ grid-template-columns: 1fr; padding: 32px; }
  .story, .contacts-grid{ padding: 0; }
  .hero-pill{ white-space: normal; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px){
  .page-hero{ padding: 88px 16px 32px; }
  .ph-lead{ font-size: 17px; }
  .promo-grid, .other-grid{ grid-template-columns: 1fr; }
  .promo-card{ min-height: 0; }
  .app-band{ padding: 24px; border-radius: 24px; }
  .contacts-map, .contacts-map iframe{ min-height: 300px; }
  .price-table{ font-size: 15px; }
  .price-table th, .price-table td{ padding: 14px 16px; }
}

/* — онлайн-запись /zapis (#3, docs/screens/zapis.md) — */
.zp-wrap{ padding-top: 128px; }
.zp-wrap [hidden]{ display: none !important; }
.zp-h{ font-size: clamp(44px, 5.4vw, 88px); margin: 20px 0 24px; font-weight: 700; line-height: .95; letter-spacing: -.03em; text-wrap: balance; }
.zp-h em{ font-style: italic; color: var(--orange); }
.zp-facts{ margin-top: 36px; display: grid; gap: 14px; font-size: 17px; font-weight: 500; }
.zp-facts span{ display: block; font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.zp-facts a{ border-bottom: 1px solid var(--line); }
.zp-form{ gap: 20px; }
.zp-top{ display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.zp-back{ display: inline-flex; gap: 6px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.zp-back:hover{ color: var(--orange); }
.zp-count{ margin-left: auto; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.zp-bar{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.zp-bar i{ height: 3px; border-radius: 2px; background: var(--line); }
.zp-bar i.on{ background: var(--orange); }
.zp-step{ display: grid; gap: 18px; }
.contact .zp-form .zp-sh{ font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.zp-station{ text-align: left; display: grid; gap: 6px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, transform .2s; }
.zp-station:hover{ border-color: var(--orange); transform: translateX(4px); }
.zp-st-name{ font-size: 20px; font-weight: 700; }
.zp-st-addr, .zp-st-hours{ font-size: 15px; color: var(--ink-soft); }
.zp-st-go{ margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--orange); }
.zp-form textarea, .zp-form input[type=tel], .zp-form input[type=text]{ background: var(--cream); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; }
.zp-form textarea:focus, .zp-form input[type=tel]:focus, .zp-form input[type=text]:focus{ background: #fff; border-color: var(--orange); }
.zp-form textarea{ resize: vertical; min-height: 140px; line-height: 1.45; }
.zp-form .field.invalid input{ border-color: #D92D20; }
.zp-form .hp{ position: absolute; }
/* Стрелки поверх ленты, даты уходят под них (#72) */
.zp-strip-wrap{ position: relative; min-width: 0; }
.zp-strip{ display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px; min-width: 0; scrollbar-width: none; }
.zp-strip::-webkit-scrollbar{ display: none; }
.zp-strip button{ flex: 0 0 auto; width: 72px; scroll-snap-align: start; display: grid; gap: 2px; justify-items: center; padding: 10px 0 12px; border-radius: 16px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.zp-strip button:hover{ border-color: var(--orange); }
.zp-strip button[disabled]{ opacity: .35; pointer-events: none; }
.zp-strip .dw{ font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.zp-strip .dn{ font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.zp-strip .mo{ font-size: 12px; color: var(--ink-soft); }
.zp-strip button.we .dw{ color: var(--orange); }
.zp-strip button[aria-pressed="true"]{ background: var(--ink); border-color: var(--ink); color: #fff; }
.zp-strip button[aria-pressed="true"] .dw, .zp-strip button[aria-pressed="true"] .mo{ color: rgba(255,255,255,.7); }
.zp-nav{ position: absolute; top: 50%; z-index: 1; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink);
  border: 1px solid transparent; background: #fff; box-shadow: 0 6px 16px -4px rgba(14,14,16,.28), 0 1px 3px rgba(14,14,16,.14); }
.zp-nav[data-scroll="-1"]{ left: -6px; }
.zp-nav[data-scroll="1"]{ right: -6px; }
.zp-nav:hover{ border-color: var(--orange); }
.zp-times{ display: flex; flex-wrap: wrap; gap: 8px; }
.zp-times button{ padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); background: #fff; }
.zp-times button:hover{ border-color: var(--orange); }
.zp-times button[aria-pressed="true"]{ background: var(--orange); border-color: var(--orange); color: #fff; }
.zp-skel{ flex: 0 0 72px; height: 78px; border-radius: 16px; background: var(--line-soft); }
.zp-skel.t{ flex: 0 0 68px; height: 38px; border-radius: 999px; }
.zp-pick{ margin: 0; font-size: 15px; color: var(--ink-soft); }
.zp-pick.set{ color: var(--ink); font-weight: 600; }
.zp-pick.big{ display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; background: var(--cream); font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.zp-pick.big small{ font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.zp-pick.big.empty{ font-size: 17px; font-weight: 500; color: var(--ink-soft); }
.zp-pick a{ border-bottom: 1px solid currentColor; }
.zp-form .consent{ text-transform: none; letter-spacing: 0; font-size: 13px; }
/* У края ленты стрелка скрыта, чтобы не закрывать первую и последнюю дату (#72) */
.zp-nav:disabled{ visibility: hidden; }
@media (hover: none), (max-width: 600px){ .zp-strip button{ width: 64px; } }

/* «Вы записаны» — билет (#72, docs/screens/zapis.md) */
.zp-done{ position: relative; overflow: hidden; }
.zp-form .zp-done-h{ overflow-wrap: anywhere; }
.zp-ticket{ position: relative; display: grid; gap: 4px; padding: 22px 20px 18px; border-radius: 22px; background: var(--orange); color: #fff; }
.zp-tk-top{ display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.zp-tk-ok{ width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--orange); display: grid; place-items: center; animation: zp-pop .6s cubic-bezier(.3,1.4,.5,1) both; }
.zp-tk-when{ display: grid; gap: 6px; margin: 16px 0 0; }
.zp-tk-l1{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.zp-tk-time{ font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.zp-tk-dow{ font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.zp-tk-date{ font-size: 18px; font-weight: 500; color: rgba(255,255,255,.75); }
/* Пунктир по ширине текста; вырезы рисуются от самой линии — центр на линии и на краю билета */
.zp-tk-cut{ position: relative; margin-top: 14px; border-top: 2px dashed rgba(255,255,255,.45); }
.zp-tk-cut::before, .zp-tk-cut::after{ content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.zp-tk-cut::before{ left: -31px; }
.zp-tk-cut::after{ right: -31px; }
.zp-tk-addr{ display: grid; gap: 2px; margin: 0; padding-top: 12px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.85); }
.zp-tk-addr b{ font-size: 15px; font-weight: 600; color: #fff; }
.zp-done-acts{ display: grid; gap: 10px; }
.zp-done-btn{ display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 20px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.zp-done-route{ background: var(--ink); color: #fff; }
.zp-done-route:hover{ background: var(--orange); }
.zp-done-call{ background: #fff; color: var(--ink); border: 1px solid var(--line); }
.zp-done-call svg{ color: var(--orange); }
.zp-done-call small{ font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.zp-done-call:hover{ border-color: var(--orange); }
.zp-done-hint{ margin: 0; font-size: 14px; color: var(--ink-soft); text-align: center; }
/* Конфетти: кусочки создаёт zapis.js, разлетаются один раз и гаснут */
.zp-burst{ position: absolute; left: 50%; top: 40px; z-index: 2; width: 0; height: 0; pointer-events: none; }
.zp-burst i{ position: absolute; left: 0; top: 0; width: 8px; height: 14px; border-radius: 2px; opacity: 0;
  animation: zp-fly 1.1s cubic-bezier(.15,.7,.3,1) var(--d, 0s) forwards; }
.zp-burst i:nth-child(3n){ width: 10px; height: 10px; border-radius: 50%; }
@keyframes zp-fly{ 0%{ transform: translate(0,0) rotate(0) scale(.4); opacity: 1; } 70%{ opacity: 1; } 100%{ transform: translate(var(--x),var(--y)) rotate(var(--r)) scale(1); opacity: 0; } }
@keyframes zp-pop{ 0%{ transform: scale(.3); } 60%{ transform: scale(1.12); } 100%{ transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .zp-tk-ok{ animation: none; } .zp-burst{ display: none; } }

/* Шаг 2: плитки услуг (#27, docs/screens/zapis.md «Работы — плитки») */
.zp-form [hidden]{ display: none !important; }
.zp-tiles{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-radius: 22px; }
.zp-tile{ position: relative; display: grid; gap: 6px; align-content: start; text-align: left; padding: 14px 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .2s, background .2s; }
.zp-tile svg{ width: 52px; height: 52px; transition: transform .2s; }
.zp-tile b{ font-size: 16px; line-height: 1.25; }
.zp-tile span{ font-size: 12.5px; line-height: 1.35; color: var(--ink-soft); }
.zp-tile:hover{ border-color: rgba(14,14,16,.3); }
.zp-tile:focus-visible{ outline: 2px solid var(--orange); outline-offset: 2px; }
.zp-tile[aria-pressed="true"]{ border-color: var(--orange); background: rgba(255,89,1,.05); }
.zp-tile[aria-pressed="true"] svg{ transform: scale(1.06); }
.zp-tile[aria-pressed="true"]::after{ content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.zp-tiles.invalid{ outline: 1.5px solid #D92D20; outline-offset: 4px; }
.zp-form label.zp-own{ display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.zp-form label.zp-own small{ display: block; font-size: 13px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.zp-form .zp-own input{ appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; accent-color: var(--orange); flex: 0 0 auto; }
.zp-tiles-sum{ margin: 0; font-size: 14px; color: var(--ink-soft); }
.zp-tiles-sum:empty{ display: none; }
@media (max-width: 640px){
  .zp-tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-tile span{ display: none; }
  .zp-tile svg{ width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce){ .zp-tile svg{ transition: none; } }
/* Окно записи на всех страницах, кроме /zapis (#15) */
.zp-modal{ position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(14,14,16,.55); }
.zp-modal[hidden]{ display: none; }
.zp-dialog{ position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; background: #fff; outline: none; }
.zp-dialog .zp-form{ border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.zp-dialog .zp-form .zp-sh{ font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.zp-dlg-head{ position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.zp-dlg-head strong{ display: block; font-size: 17px; }
.zp-dlg-head span{ display: block; font-size: 14px; color: var(--ink-soft); }
.zp-close{ margin-left: auto; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; line-height: 1; color: var(--ink); background: #fff; }
.zp-close:hover{ border-color: var(--orange); }
body.zp-lock{ overflow: hidden; }
@media (max-width: 600px){
  .zp-modal{ padding: 0; place-items: stretch; }
  .zp-dialog{ width: 100%; height: 100%; max-height: none; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); }
  .zp-dlg-head{ padding: 14px 16px; }
}
/* Ссылка с Яндекс Карт на телефоне (#21): окно на /zapis и экран «скоро личный кабинет» после ✕ */
.lk-teaser{ padding-top: 120px; min-height: 80vh; }
.lk-teaser .sec-h{ margin: 12px 0 20px; }
.lk-teaser .hero-cta{ margin-top: 24px; }
.lk-st{ margin: 28px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.lk-st a{ color: var(--orange); }
.lk-teaser[hidden], .lk-st[hidden]{ display: none; }
body.zp-lk-on #zapis, body.zp-lk-on #contacts{ display: none; }
@media (max-width: 900px){ .zp-wrap.contact{ grid-template-columns: 1fr; gap: 40px; } .zp-wrap{ padding-top: 104px; } }
@media (max-width: 600px){ .zp-form{ padding: 24px; } .zp-facts{ display: none; } .zp-h{ font-size: 40px; margin: 12px 0; } .zp-wrap .contact-side p{ font-size: 16px; margin: 0; } .zp-wrap.contact{ gap: 24px; } }

/* — станции (#4): вкладки контактов, выбор станции в форме заявки, подвал — */
.st-tabs{ display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.st-tab{ font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--ink-soft); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.st-tab[aria-selected="true"]{ background: var(--ink); color: #fff; }
.st-tab:focus-visible{ outline: 2px solid var(--orange); outline-offset: 2px; }
.st-choice{ border: 0; margin: 0; padding: 0; min-width: 0; }
.st-choice legend{ padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.st-opts{ display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.form label.st-opt{ position: relative; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.st-opt input{ position: absolute; opacity: 0; pointer-events: none; }
.st-opt span{ display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; line-height: 1.35; transition: border-color .2s, box-shadow .2s; }
.st-opt strong{ display: block; font-size: 16px; color: var(--ink); }
.st-opt input:checked + span{ border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-opt input:focus-visible + span{ outline: 2px solid var(--orange); outline-offset: 2px; }
.foot-station{ margin-bottom: 14px; }
.foot-station .foot-city{ display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; margin-bottom: 2px; }
.foot-station > span:last-child{ display: block; font-size: 14px; opacity: .7; padding-top: 2px; }
.price-table td small + small{ margin-top: 2px; }
.contacts-grid[hidden]{ display: none; }

/* — страница «Стать партнером» (#9, docs/screens/stat-partnerom.md) — */
.case-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-card{ background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.case-fmt{ font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.case-card h3{ font-size: 26px; letter-spacing: -.01em; margin: 8px 0 20px; }
.case-card h4{ font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin: 20px 0 10px; }
.case-card ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.case-card li{ position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.case-card li::before{ content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.case-card .case-result li{ color: var(--ink); font-weight: 500; }
.case-card .case-result li::before{ background: var(--orange); }
.cta-band{
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start;
  background: var(--ink); color: #fff; border-radius: 32px; padding: 48px;
}
.cta-band .sec-h{ margin: 0; color: #fff; }
.cta-band-text p{ font-size: 17px; line-height: 1.55; opacity: .8; margin: 0 0 16px; }
.cta-band .hero-cta{ background: var(--orange); margin-top: 12px; }
.cta-band .hero-cta:hover{ background: #fff; color: var(--ink); }
.faq-side .hero-cta{ padding: 16px 24px; font-size: 15px; }
@media (max-width: 900px){
  .case-grid, .cta-band{ grid-template-columns: 1fr; }
  .cta-band{ padding: 32px; }
}
@media (max-width: 600px){
  .case-card{ padding: 24px; border-radius: 24px; }
  .cta-band{ padding: 24px; border-radius: 24px; }
}

/* — разводящая главная и шапка поддомена (#25, docs/screens/subdomains.md) — */
.hub-lead{ margin-top: 24px; max-width: 60ch; }
.hub-stations{ position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.hub-st{ background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.hub-st-top{ display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hub-st h2{ font-size: 32px; letter-spacing: -.02em; margin: 0; }
.hub-st dl{ display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.hub-st dt{ color: var(--ink-soft); }
.hub-st dd{ margin: 0; font-weight: 500; }
.hub-st-acts{ margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hub-st-site{ display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.nav-station{ font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.nav-station a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
@media (max-width: 900px){
  .hub-stations{ grid-template-columns: 1fr; }
  .hub-st h2{ font-size: 26px; }
  .nav-station{ display: none; }
}
/* — страница «Кешбэк» (#29, docs/screens/cashback.md) — */
.kb-hero{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 140px; }
.kb-hero-text{ display: grid; gap: 18px; justify-items: start; }
.kb-hero h1{ margin: 0; }
.kb-ladder{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.kb-ladder li{ border-radius: 22px 22px 8px 8px; padding: 16px; display: grid; gap: 2px; align-content: end; color: var(--ink); }
.kb-ladder b{ font-size: 44px; letter-spacing: -.03em; line-height: 1; font-feature-settings: "tnum" 1; }
.kb-ladder span{ font-size: 13px; color: var(--ink-soft); }
.kb-s1{ height: 150px; background: #FFE3D2; }
.kb-s2{ height: 200px; background: #FFB98F; }
.kb-s3{ height: 250px; background: var(--orange); }
.kb-ladder .kb-s3, .kb-ladder .kb-s3 span{ color: #fff; }
.kb-app{ display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 28px; background: var(--ink); }
.kb-app p{ margin: 0; color: #CFCDC8; max-width: 60ch; font-size: 16px; }
.kb-app b{ color: #fff; }
.kb-app .hero-cta{ background: #fff; color: var(--ink); }
/* карточка акции со ссылкой: кликается целиком, стрелка в углу (#58) */
a.promo-link{ position: relative; color: inherit; transition: transform .2s, box-shadow .2s; }
a.promo-link:hover{ transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.promo-arrow{
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; transition: transform .2s;
}
a.promo-link:hover .promo-arrow{ transform: rotate(-45deg); }
.promo-card:nth-child(3) .promo-arrow, .promo-card:nth-child(4) .promo-arrow{ background: #fff; color: var(--orange); }
@media (max-width: 900px){
  .kb-hero{ grid-template-columns: 1fr; padding-top: 110px; gap: 28px; }
  .kb-ladder b{ font-size: 32px; }
  .kb-s1{ height: 100px; } .kb-s2{ height: 135px; } .kb-s3{ height: 170px; }
}
/* — «Предложите локацию» на «Стать партнером» (#30) — */
.loc-band .hero-cta{ margin-top: 20px; }
.loc-band .team-points{ margin: 16px 0 0; }

/* — гибридная модель на «Стать партнером» (#23) — */
.hy-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.hy-num{ background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.hy-num strong{ font-size: 32px; letter-spacing: -.02em; line-height: 1.05; }
.hy-num span{ font-size: 14px; color: var(--ink-soft); }
.hy-num:last-child{ grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.hy-num:last-child span{ color: rgba(255,255,255,.75); }
.hy-cta{ margin-top: 20px; }
.hy-roles{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hy-role{ background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.hy-role h3{ margin: 0 0 6px; font-size: 22px; }
.hy-role p{ margin: 0 0 12px; color: var(--ink-soft); }
.hy-role ul{ margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.hy-table th[scope="row"]{ font-weight: 500; color: var(--ink-soft); text-align: left; }
@media (max-width: 900px){
  .hy-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hy-num strong{ font-size: 24px; }
  .hy-roles{ grid-template-columns: 1fr; }
}
/* — блок записи на страницах: запись открывается окном (#56) — */
.zp-cta-band{ display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 48px; }
.zp-cta-band p{ margin: 12px 0 24px; color: var(--ink-soft); max-width: 52ch; font-size: 17px; }
.zp-cta-band .zp-facts{ margin-top: 0; }
@media (max-width: 900px){ .zp-cta-band{ grid-template-columns: 1fr; padding: 28px; gap: 24px; } }
