/* ==========================================================================
   MIRA HAIR STUDIO — страница укладок /ukladka-volos-kirov/
   Самая тихая страница из хабов: одно фото в hero, две услуги разворотом,
   поводы и расчёт «Во сколько записаться». База — cascade.css, только токены.
   ========================================================================== */

/* --- Hero: одно большое фото вместо веера --- */
.st-hero-photo {
  width: 100%;
  max-width: 420px;
  margin: 0 0 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  background: var(--obsidian-surface);
}

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

/* --- Две укладки: разворот меню, крупная цена над названием --- */
.st-duo article {
  display: flex;
  flex-direction: column;
}

.st-duo .hc-row-meta {
  order: -1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.st-duo .hc-row-meta strong {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.st-duo h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.st-duo .hc-actions {
  margin-top: auto;
}


/* --- Поводы: строки «событие — что выбрать» --- */
.st-occasions {
  margin: 0;
  border-top: 1px solid var(--border-gold-accent);
}

.st-occasion {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.5rem 2.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.st-occasion dt {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream-primary);
}

.st-occasion dd {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-secondary);
}

/* --- Во сколько записаться --- */
.st-timing {
  margin-top: 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  background: var(--obsidian-surface);
}

.st-timing[hidden] {
  display: none;
}

.st-timing h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream-primary);
}

.st-timing-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}

.st-field,
.st-seg {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.st-field > span,
.st-seg legend {
  padding: 0;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.st-seg legend {
  margin-bottom: 0.45rem;
}

.st-field input {
  min-height: 48px;
  min-width: 9rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-gold-accent);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--cream-primary);
  color-scheme: dark;
  font-family: var(--font-body);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.st-field input:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.st-seg-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.st-seg label {
  position: relative;
  display: flex;
}

.st-seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.st-seg label span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border-gold-accent);
  border-radius: 999px;
  color: var(--cream-secondary);
  font-size: 0.9rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.st-seg label:hover span {
  border-color: var(--gold-primary);
  color: var(--cream-primary);
}

.st-seg input:checked + span {
  border-color: var(--gold-primary);
  background: rgba(201, 169, 110, 0.16);
  color: var(--gold-bright);
}

.st-seg input:focus-visible + span {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.st-timing-answer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold-subtle);
}

.st-timing-start {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--cream-secondary);
}

.st-timing-start strong {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: lining-nums tabular-nums;
}

.st-timing-note {
  max-width: 38rem;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

@media (max-width: 900px) {
  .st-hero-photo {
    max-width: 360px;
    margin: 0.5rem auto 0;
  }
}

@media (max-width: 760px) {
  .st-duo article + article {
    padding-top: 2rem;
    border-top: 1px solid var(--border-gold-subtle);
  }
}

@media (max-width: 640px) {
  .st-occasion {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-seg label span {
    transition: none;
  }
}
