/* ==========================================================================
   MIRA HAIR STUDIO — страницы стрижек
   /strizhka-kaskad-kirov/ и /strizhki-kirov/
   Палитра только obsidian / gold / cream (токены styles.css)
   ========================================================================== */

:root {
  --cascade-gold-gradient: linear-gradient(135deg, #f4e3c3 0%, #c9a96e 50%, #8a6f3b 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

::selection {
  background: rgba(201, 169, 110, 0.35);
  color: var(--cream-primary);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Контент виден без JS: ничего не скрываем в CSS */
.cascade-reveal,
.cascade-item {
  opacity: 1;
}

/* --- 1. Hero: текст слева, веер фото справа --- */
.hc-hero {
  position: relative;
  padding: 7rem 0 4.5rem;
  border-bottom: 1px solid var(--border-gold-subtle);
  background:
    radial-gradient(ellipse 55% 60% at 85% 35%, rgba(201, 169, 110, 0.08) 0%, transparent 70%),
    var(--obsidian);
  overflow: hidden;
}

.hc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hc-hero .breadcrumbs {
  margin-bottom: 1.25rem;
}

.hc-hero .breadcrumbs ol {
  justify-content: flex-start;
}

.hc-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream-primary);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hc-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

.hc-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
  color: var(--cream-secondary);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hc-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 1rem 0;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  max-width: 34rem;
}

.hc-price-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: lining-nums;
}

.hc-price-note {
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.hc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.hc-trust span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 0.85rem;
  vertical-align: -0.1em;
  background: var(--border-gold-accent);
}

.hc-trust strong {
  color: var(--cream-primary);
  font-weight: 600;
}

.hc-obj-top {
  object-position: 50% 22%;
}

/* Веер фото: слои «спадают» уровнями */
.hc-fan {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  margin-left: auto;
}

.hc-fan-item {
  position: absolute;
  width: 60%;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: var(--obsidian-surface);
}

.hc-fan-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-fan-item:nth-child(1) {
  left: 0;
  top: 4%;
  rotate: -5deg;
}

.hc-fan-item:nth-child(2) {
  left: 40%;
  top: 0;
  rotate: 4deg;
}

.hc-fan-item:nth-child(3) {
  left: 18%;
  top: 24%;
  rotate: -1deg;
  border-color: var(--border-gold-accent);
}

/* Веер из двух фото (страница каскада) */
.hc-fan-two .hc-fan-item:nth-child(1) {
  left: 2%;
  top: 2%;
}

.hc-fan-two .hc-fan-item:nth-child(2) {
  left: 36%;
  top: 18%;
  rotate: 3deg;
  border-color: var(--border-gold-accent);
}

@media (max-width: 900px) {
  .hc-hero {
    padding: 6rem 0 3.5rem;
  }

  .hc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-fan {
    max-width: 360px;
    aspect-ratio: 1 / 1;
    margin: 0.5rem auto 0;
  }

  .hc-fan-item {
    width: 54%;
  }
}

/* --- 2. Заголовки секций: слева, золотая нить 1px --- */
.hc-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.75rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.hc-head::before {
  content: "";
  grid-column: 1 / -1;
  width: 56px;
  height: 1px;
  background: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.hc-head .section-title {
  margin: 0;
  text-wrap: balance;
}

.hc-head .section-desc {
  margin: 0;
}

@media (max-width: 860px) {
  .hc-head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 2rem;
  }
}

/* --- 3. Сравнение: обычный срез / авторский --- */
.hc-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.hc-compare-col {
  min-width: 0;
}

.hc-compare-muted {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border-gold-subtle);
}

.hc-compare-author {
  padding: 2.25rem 2rem;
}

.hc-compare h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream-primary);
  margin: 0 0 1.25rem;
}

.hc-compare-muted h3 {
  color: var(--cream-secondary);
}

.hc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hc-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--cream-secondary);
}

.hc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.9rem;
  height: 1px;
  background: var(--cream-faint, rgba(250, 247, 242, 0.3));
}

.hc-list-gold li::before {
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold-primary);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

@media (max-width: 768px) {
  .hc-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-compare-author {
    padding: 1.5rem 1.25rem;
  }
}

/* --- 4. «Кому подходит»: строки с нитями вместо карточек --- */
.hc-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 4rem;
}

.hc-fit h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 0.5rem;
}

.hc-fit dl {
  margin: 0;
}

.hc-fit dl div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.hc-fit dt {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--cream-primary);
  margin-bottom: 0.3rem;
}

.hc-fit dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cream-secondary);
}

@media (max-width: 860px) {
  .hc-fit {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- 5. Редакционные строки: фото + текст, чередуются --- */
.hc-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.hc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  scroll-margin-top: 6rem;
}

.hc-row:nth-child(even) .hc-row-photo {
  order: 2;
}

.hc-row-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  background: var(--obsidian-surface);
  max-width: 400px;
  width: 100%;
}

.hc-row:nth-child(even) .hc-row-photo {
  justify-self: end;
}

.hc-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-row-body {
  min-width: 0;
  max-width: 36rem;
}

.hc-row h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream-primary);
  margin: 0 0 0.75rem;
}

.hc-row .hc-row-meta,
.hc-pair .hc-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.hc-row-meta strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.hc-row p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--cream-secondary);
  margin: 0 0 1rem;
}

.hc-row .hc-list {
  margin-bottom: 1.5rem;
}

@media (max-width: 760px) {
  .hc-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-row:nth-child(even) .hc-row-photo {
    order: 0;
    justify-self: start;
  }

  .hc-row-photo {
    aspect-ratio: 4 / 5;
  }
}

/* Пара текстовых услуг без фото (чёлка, полировка) */
.hc-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-gold-subtle);
}

.hc-pair article {
  scroll-margin-top: 6rem;
  min-width: 0;
}

.hc-pair h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cream-primary);
  margin: 0 0 0.6rem;
}

.hc-pair p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-secondary);
  margin: 0 0 1.25rem;
}

@media (max-width: 760px) {
  .hc-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Вторичная ссылка-кнопка */
.hc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border-gold-accent);
  text-underline-offset: 0.3em;
  transition: color var(--transition-fast);
}

.hc-link:hover {
  color: var(--gold-bright);
  text-decoration-color: currentColor;
}

/* --- 6. Таблица выбора стрижки --- */
.hc-table-wrap {
  border-top: 1px solid var(--gold-dark);
}

.hc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hc-table th,
.hc-table td {
  text-align: left;
  vertical-align: top;
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
  color: var(--cream-secondary);
  line-height: 1.55;
}

.hc-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hc-table tbody th {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream-primary);
  white-space: nowrap;
}

.hc-table tbody th a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-gold-accent);
  text-underline-offset: 0.25em;
}

.hc-table tbody th a:hover {
  color: var(--gold-bright);
}

.hc-table .hc-td-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hc-table,
  .hc-table tbody,
  .hc-table tr,
  .hc-table th,
  .hc-table td {
    display: block;
  }

  .hc-table tr {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-gold-subtle);
  }

  .hc-table th,
  .hc-table td {
    border: 0;
    padding: 0.2rem 0;
  }

  .hc-table td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--cream-muted);
  }

  .hc-table tbody th {
    white-space: normal;
    margin-bottom: 0.35rem;
  }

  .hc-table tbody th a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* --- 7. Портфолио с фильтром --- */
.hc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hc-filter[hidden] {
  display: none;
}

.hc-filter button {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-subtle);
  background: transparent;
  color: var(--cream-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.hc-filter button:hover {
  border-color: var(--border-gold-accent);
  color: var(--cream-primary);
}

.hc-filter button[aria-pressed="true"] {
  border-color: var(--gold-primary);
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold-bright);
}

.hc-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-gallery li {
  margin: 0;
  min-width: 0;
}

.hc-gallery li[hidden] {
  display: none;
}

.hc-gallery figure {
  margin: 0;
}

.hc-gallery-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-subtle);
  background: var(--obsidian-surface);
}

.hc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-gallery figcaption {
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cream-muted);
}

/* Первая работа шире: ритм вместо одинаковой сетки */
.hc-gallery li:first-child:not([hidden]) {
  grid-column: span 2;
  grid-row: span 2;
}

.hc-gallery li:first-child:not([hidden]) figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hc-gallery li:first-child:not([hidden]) .hc-gallery-img {
  position: relative;
  aspect-ratio: auto;
  flex: 1;
  min-height: 0;
}

.hc-gallery li:first-child:not([hidden]) img {
  position: absolute;
  inset: 0;
}

@media (max-width: 900px) {
  .hc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-gallery li:first-child:not([hidden]) {
    grid-row: auto;
  }

  .hc-gallery li:first-child:not([hidden]) .hc-gallery-img {
    aspect-ratio: 4 / 5;
    flex: none;
  }

  .hc-gallery li:first-child:not([hidden]) img {
    position: static;
  }
}

/* Две работы (страница каскада) */
.hc-gallery-pair {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem;
  align-items: end;
}

.hc-gallery-pair figure {
  margin: 0;
}

.hc-gallery-pair .hc-gallery-img {
  aspect-ratio: 4 / 5;
}

.hc-gallery-pair figure:last-child .hc-gallery-img {
  aspect-ratio: 3 / 4;
}

.hc-gallery-pair figcaption {
  padding-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--cream-muted);
}

@media (max-width: 600px) {
  .hc-gallery-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- 8. Визит: вертикальная шкала --- */
.hc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
  counter-reset: step;
}

.hc-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 1rem;
  padding-bottom: 2.25rem;
  counter-increment: step;
}

.hc-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
}

.hc-steps li::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 2.9rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--border-gold-subtle);
}

.hc-steps li:last-child {
  padding-bottom: 0;
}

.hc-steps li:last-child::after {
  display: none;
}

.hc-steps h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--cream-primary);
  margin: 0.15rem 0 0.4rem;
}

.hc-steps p {
  grid-column: 2;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--cream-secondary);
}

.hc-steps h3 {
  grid-column: 2;
  grid-row: 1;
}

.hc-steps li::before {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* --- 9. Прайс: акцентная строка + компактный список --- */
.hc-spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

.hc-spot h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--cream-primary);
  margin: 0 0 0.5rem;
}

.hc-spot p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cream-secondary);
  max-width: 40rem;
}

.hc-spot-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hc-spot-price {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-bright);
}

.hc-spot-time {
  font-size: 0.85rem;
  color: var(--cream-muted);
}

@media (max-width: 760px) {
  .hc-spot {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hc-pricelist-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream-primary);
  margin: 3rem 0 0.5rem;
}

.hc-pricelist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-pricelist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.hc-pricelist-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream-primary);
}

.hc-pricelist-time {
  font-size: 0.85rem;
  color: var(--cream-muted);
  white-space: nowrap;
}

.hc-pricelist-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}

.hc-pricelist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.hc-pricelist a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

@media (max-width: 600px) {
  .hc-pricelist li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hc-pricelist-time {
    grid-column: 1;
    grid-row: 2;
  }

  .hc-pricelist-price {
    grid-column: 2;
    grid-row: 1;
  }

  .hc-pricelist a {
    grid-column: 2;
    grid-row: 2;
  }
}

.hc-more {
  margin-top: 1.5rem;
}

/* --- 10. До / после --- */
.transformation-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 900px) {
  .transformation-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.comparison-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 800 / 1066;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold-accent);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  --split: 50%;
  min-width: 0;
}

.comparison-image-layer {
  position: absolute;
  inset: 0;
}

.comparison-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.layer-after {
  z-index: 1;
}

.layer-before {
  z-index: 2;
  /* перекрываем старый слайдер из styles.css (width: 50%, рамка, тень) */
  width: 100%;
  border-right: 0;
  box-shadow: none;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}

.comparison-slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 1px;
  transform: translateX(-50%);
  background: var(--gold-light);
  z-index: 3;
  pointer-events: none;
}

.comparison-badge-tag {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(15, 12, 10, 0.85);
  border: 1px solid var(--border-gold-subtle);
  color: var(--cream-primary);
  z-index: 4;
  pointer-events: none;
}

.badge-tag-before {
  left: 1rem;
}

.badge-tag-after {
  right: 1rem;
  color: var(--gold-bright);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: var(--split, 50%);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cascade-gold-gradient);
  color: var(--obsidian-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 10;
  cursor: ew-resize;
  transition: box-shadow 0.2s ease;
  user-select: none;
}

.slider-handle:focus-visible {
  outline: 2px solid var(--cream-primary);
  outline-offset: 3px;
}

.handle-arrows-svg {
  width: 22px;
  height: 22px;
  stroke: var(--obsidian-dark);
  pointer-events: none;
}

.transformation-details {
  min-width: 0;
}

.transformation-details h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream-primary);
  margin: 0 0 0.75rem;
}

.transformation-details > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cream-secondary);
  margin: 0;
}

.transformation-specs {
  margin: 1.5rem 0 2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.spec-row dt {
  color: var(--cream-muted);
}

.spec-row dd {
  margin: 0;
  color: var(--gold-bright);
  font-weight: 600;
  text-align: right;
}

/* --- 11. Отзыв --- */
.hc-review {
  max-width: 46rem;
  margin: 0;
}

.hc-review-stars {
  display: block;
  width: 96px;
  height: 18px;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.hc-review blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream-primary);
  margin: 0 0 1.5rem;
}

.hc-review figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.hc-review-name {
  font-weight: 600;
  color: var(--gold-light);
}

.hc-review-reply {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-gold-subtle);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cream-secondary);
  max-width: 40rem;
}

.hc-review-reply strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-bright);
}

/* --- 12. FAQ --- */
.faq-accordion-container {
  max-width: 50rem;
  margin: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-gold-subtle);
}

.faq-details {
  border-bottom: 1px solid var(--border-gold-subtle);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  min-height: 48px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream-primary);
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: var(--gold-bright);
}

.faq-marker {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold-light);
  transition: transform var(--transition-fast);
}

.faq-details[open] .faq-marker {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 0 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-secondary);
  max-width: 44rem;
}

/* --- 13. CTA --- */
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-subtle);
  color: var(--cream-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.cta-contact-link:hover {
  border-color: var(--border-gold-accent);
  color: var(--gold-bright);
}

.cta-contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--gold-primary);
  flex-shrink: 0;
}

.hc-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* --- 14. Тач-зоны >= 44px --- */
.brand-monogram {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

.header-container .btn-header-booking {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.breadcrumbs ol li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}

.footer-operator-info .footer-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
}

.footer-legal-nav .footer-legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0;
}

.social-icon-link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- 15. Мобильная версия --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 5rem;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--obsidian-dock);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-gold-subtle);
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-sticky-btn-primary {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-sticky-btn-lk {
    min-height: 48px;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .mobile-sticky-btn-phone {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid var(--border-gold-subtle);
    color: var(--gold-bright);
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    white-space: normal;
    text-align: center;
    padding: 0.85rem 1.2rem;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .mobile-sticky-bar {
    padding: 0.6rem 0.5rem calc(0.6rem + env(safe-area-inset-bottom));
    gap: 0.4rem;
  }

  .mobile-sticky-btn-primary {
    padding: 0.6rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-sticky-btn-lk {
    min-width: 60px;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  .mobile-sticky-btn-phone {
    min-width: 44px;
    width: 44px;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

/* --- 16. Уменьшенное движение: без смещений --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }

  .slider-handle {
    transform: translate(-50%, -50%) !important;
  }

  .comparison-slider-wrapper::after {
    transform: translateX(-50%) !important;
  }
}

.hc-note {
  font-size: 0.82rem;
  color: var(--cream-muted);
}
