/* =====================================================================
   LEEKE PLACE · Рождественская мастерская — поверх общего стиля (style.css)
   ===================================================================== */
:root { --xmas: #a8432f; --gold: #b8924f; }

.hero .h1 { font-size: 29px; letter-spacing: .02em; }
.hero__subtitle { font-size: 19px; }
.hero__meta span { font-weight: 600; color: var(--teal); }
.hero__photo img { object-position: center 62%; }

.hw-line { font-family: var(--hand); font-size: 28px; line-height: 1.15; color: var(--xmas); margin-bottom: 2px; transform: rotate(-2deg); transform-origin: left; }

/* слоты */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 12px; }
.slots li { background: rgba(255,255,255,.8); border: 2px solid var(--teal); border-radius: 12px; text-align: center; padding: 8px 4px; box-shadow: var(--shadow); }
.slots b { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--teal); line-height: 1; }

/* шаги */
.steps { display: grid; gap: 8px; counter-reset: s; margin-bottom: 4px; }
.steps li { position: relative; counter-increment: s; background: rgba(255,255,255,.7); border-radius: 12px; padding: 10px 14px 10px 54px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--xmas); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 19px; display: grid; place-items: center; }
.steps b { display: block; font-size: 16px; line-height: 1.25; }
.steps span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
#how .note { margin: 10px 0 14px; }

/* домик */
.rows--plain { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto 10px; }
.rows--plain li { padding: 10px 14px; min-height: 0; border-left: 5px solid var(--xmas); }
.rows--plain li:nth-child(2) { border-color: var(--gold); }
.rows--plain li:nth-child(3) { border-color: var(--olive); }
.rows--plain b { display: inline; font-family: var(--serif); font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
#house .slider__track img { aspect-ratio: 3 / 4; }
#house .slider__track li { flex-basis: 70%; }
.caption { text-align: center; font-family: var(--hand); font-size: 24px; color: var(--ink-soft); }

/* память */
.photo--portrait { aspect-ratio: 4 / 3; }
.photo--portrait img { object-position: 50% 40%; }
#memory .card--accent { border-color: var(--xmas); }

/* условия */
.facts { display: grid; gap: 8px; margin: 4px 0 12px; }
.facts li { background: rgba(255,255,255,.7); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--teal); }
.facts li:first-child { border-color: var(--xmas); }
.facts b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }
.facts span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
#info .loc { margin-bottom: 14px; }

/* форма */
.form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid rgba(42,26,14,.3); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; outline: none; }
.form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,141,166,.18); }
.field span i { font-style: normal; text-transform: none; letter-spacing: 0; }
.choices--4 { grid-template-columns: repeat(2, 1fr); }
.choices--4 .choice span { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.choice.is-invalid, .kids.is-invalid .kid input { border-color: var(--coral); }
.kids { display: grid; gap: 8px; margin-bottom: 8px; }
.kid { display: grid; grid-template-columns: 1fr 74px 40px; gap: 8px; }
.kid input { width: 100%; min-height: 50px; padding: 10px 12px; border: 1.5px solid rgba(42,26,14,.3); border-radius: 12px; background: #fff; color: var(--ink); font-size: 17px; outline: none; }
.kid input[type=number] { text-align: center; }
.kid input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,141,166,.18); }
.kid input.is-invalid { border-color: var(--coral); }
.kid__del { border: 0; background: none; color: var(--ink-mute); font-size: 28px; cursor: pointer; }
.kid:only-child .kid__del { visibility: hidden; }
.btn--add { width: 100%; min-height: 44px; font-size: 13px; }
.total { font-size: 16px; color: var(--ink-soft); }
.total b { font-family: var(--serif); font-size: 26px; color: var(--xmas); margin-left: 4px; }
.form__success p { margin-top: 6px; }

/* подвал */
.footer { margin-top: 36px; }
.footer .final__logo { width: 90px; }

@media (min-width: 760px) {
  .hero .h1 { font-size: 52px; }
  .hero__subtitle { font-size: 22px; }
  .hero__photo img { object-position: center 60%; }
  .hw-line { font-size: 34px; }
  .slots b { font-size: 30px; }
  .slots li { padding: 12px 6px; }
  .steps b { font-size: 17px; }
  .steps span { font-size: 15px; }
  .rows--plain { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
  .rows--plain li:last-child { grid-column: auto; }
  .rows--plain b { display: block; margin: 0 0 2px; }
  #house .slider__track li { flex-basis: calc((100% - 48px) / 4); }
  .photo--portrait { aspect-ratio: 3 / 4; max-width: 440px; }
  .facts span { font-size: 15px; }
  .choices--4 { grid-template-columns: repeat(4, 1fr); }
  .footer { margin-top: 48px; }
}

/* ---------- v2: каждый экран — в один экран телефона ---------- */
@media (max-width: 759px) {
  .hero__photo { height: 40svh; }
  .screen .photo { aspect-ratio: 16 / 9; }
  .screen .photo--portrait { aspect-ratio: 16 / 9; }
  #christmas .photo-row { display: none; }
  #christmas .card--text p { font-size: 15px; }
  .split { gap: 14px; }
  .h2 { font-size: 28px; }
  .hw-line { font-size: 25px; }
  .lead { font-size: 16px; margin-bottom: 10px; }
  .steps li { padding: 8px 12px 8px 50px; }
  .steps li::before { width: 28px; height: 28px; font-size: 17px; left: 11px; }
  .steps b { font-size: 15px; }
  .steps span { font-size: 13.5px; }
  .facts li { padding: 8px 12px; }
  .facts b { font-size: 18px; }
  .facts span { font-size: 13.5px; }
  .card--accent { padding: 10px 14px; margin: 10px 0; }
  .card--accent b { font-size: 19px; }
  .card--accent p { font-size: 14px; }
  .logo-br { margin-top: 8px; width: 40px; }
}

/* ---------- v4: цифры одной высоты ---------- */
html { font-variant-numeric: lining-nums; }

/* ---------- v5: красно-оранжевые кнопки записи, фото площадки 2026 ---------- */
.btn--solid { background: #d9472b; color: #fff; box-shadow: 0 8px 22px rgba(217,71,43,.35); }
.btn--solid:hover { background: #c23b21; }
#how .photo img { object-position: 50% 60%; }
#info .photo img { object-position: 50% 55%; }
@media (max-width: 759px) { .hero__photo { height: 54svh; } .hero__wrap { margin-top: -64px; } }

/* ---------- v7: новые фото ---------- */
.hero__photo img { object-position: center 70%; }
#memory .photo--portrait img { object-position: 50% 55%; }
@media (min-width: 760px) { .hero__photo img { object-position: center 62%; } }
#memory .photo--portrait img { object-position: 50% 40%; }

/* v9: на главной снова два домика */
.hero__photo img { object-position: center 62%; }
@media (min-width: 760px) { .hero__photo img { object-position: center 60%; } }
