/* Landing (витрина). Big type, warm colours, one obvious action. */

.wrap--narrow { width: min(820px, 100% - 32px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 10px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--peach) 0%, rgba(255, 220, 198, 0) 65%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__kicker { display: inline-block; background: var(--sage); color: var(--sage-ink); font-weight: 800; border-radius: 999px; padding: .35rem 1rem; margin-bottom: 1rem; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .hand { font-size: 1.2em; white-space: nowrap; }
.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero__art img { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .hero__art { order: -1; max-width: 360px; margin: 0 auto; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
}

/* ---------- maker: photo + button ---------- */
.maker { margin-top: 1.6rem; padding: 22px; max-width: 520px; text-align: center; }
@media (max-width: 900px) { .maker { margin-inline: auto; } }
.drop {
  display: block; cursor: pointer; border: 3px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--cream); padding: 18px; margin-bottom: 1rem; transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.is-over { border-color: var(--coral); background: var(--coral-soft); }
.drop:focus-within, #photo-input:focus-visible + .drop { box-shadow: var(--focus); }
.drop.is-attention { animation: nudge .5s ease 2; border-color: var(--coral); }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.drop__empty, .drop__filled { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.drop__empty img { width: 84px; height: 84px; margin-bottom: 6px; }
.drop__title { font-family: var(--font-title); font-size: 1.2rem; }
.drop__hint { color: var(--ink-soft); font-size: .92rem; }
.drop__preview { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 6px solid var(--white); box-shadow: var(--shadow); margin-bottom: 8px; }
.drop__ok { font-weight: 800; color: var(--sage-ink); }
.drop__ok::before { content: "✓ "; }
.drop__change { color: var(--sky-ink); text-decoration: underline; font-weight: 700; font-size: .95rem; }
.maker__gift { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 1rem 0 0; font-weight: 800; color: #5c4300; }
.maker__gift img { width: 34px; height: 34px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--paper); border-block: 2px solid var(--line); }
.section__lead { max-width: 36em; margin: -.3em auto 2rem; font-size: 1.05rem; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.step { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 28px 24px 24px; text-align: center; }
.step img { width: 110px; height: 110px; margin: 0 auto 12px; }
.step__num {
  position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--coral); color: var(--white); font-family: var(--font-title); font-size: 1.2rem;
}
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- spread ---------- */
.spread { margin: 0 auto; max-width: 940px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 0; }
.spread__page { background: var(--white); box-shadow: var(--shadow); min-height: 340px; }
.spread__page--art { border-radius: 18px 4px 4px 18px; padding: 18px; display: grid; place-items: center; }
.spread__page--art img { width: 100%; height: auto; border-radius: 10px; }
.spread__page--text {
  position: relative; border-radius: 4px 18px 18px 4px; padding: 32px 34px 44px; font-family: var(--font-title); font-size: 1.02rem; line-height: 1.75;
  background: linear-gradient(90deg, rgba(122, 78, 46, .08), transparent 8%), var(--white);
}
.spread__title { font-size: 1.25rem; color: var(--coral); margin-bottom: .9em; }
.spread__num { position: absolute; bottom: 14px; right: 22px; color: var(--ink-soft); font-size: .9rem; }
.spread figcaption { grid-column: 1 / -1; margin-top: 14px; }
@media (max-width: 760px) {
  .spread { grid-template-columns: 1fr; }
  .spread__page { min-height: 0; }
  .spread__page--art { border-radius: 18px 18px 4px 4px; }
  .spread__page--text { border-radius: 4px 4px 18px 18px; background: var(--white); }
}

/* ---------- styles ---------- */
.styles { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1000px) { .styles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .styles { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.style-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 12px 12px 16px; text-align: center; }
.style-card img { width: 100%; height: auto; border-radius: 14px; margin-bottom: 10px; }
.style-card h3 { font-size: 1.02rem; margin-bottom: .3em; }
.style-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.4; }

/* ---------- gift ---------- */
.gift {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--butter); border-radius: 32px; padding: clamp(24px, 5vw, 48px);
}
.gift img { width: 120px; height: 120px; animation: float 5s ease-in-out infinite; }
.gift h2 { margin-bottom: .3em; }
.gift p { font-size: 1.08rem; color: #5c4300; max-width: 36em; }
@media (max-width: 640px) { .gift { grid-template-columns: 1fr; text-align: center; } .gift img { margin: 0 auto; } }

/* ---------- faq ---------- */
.faq { margin-top: 1.6rem; }
.faq details { background: var(--white); border-radius: var(--radius-s); box-shadow: var(--shadow-s); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3.2rem 1.05rem 1.3rem; font-weight: 800; position: relative; min-height: 3.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--coral); font-family: var(--font-title); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.3rem; color: var(--ink-soft); }
.faq details p:last-child { padding-bottom: 1.1rem; margin-bottom: 0; }

/* ---------- final ---------- */
.final { padding-bottom: 24px; }
.final__img { width: 120px; height: 120px; margin: 0 auto 12px; }
