:root {
  --blue: #1766a5;
  --blue-dark: #10578f;
  --cyan: #08a7bd;
  --orange: #ff8247;
  --cream: #f5f3e9;
  --white: #fff;
  --ink: #252525;
  --muted: #5c6870;
  --line: rgba(23,102,165,.2);
  --font: "Montserrat", Arial, sans-serif;
  --container: min(100% - 2rem, 1200px);
  --sticky-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font: 400 17px/1.48 var(--font); padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
img, video, picture { display: block; max-width: 100%; height: auto; }
picture img { width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 999; padding: .7rem 1rem; background: #fff; color: var(--blue); }
.skip-link:focus { top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .9rem 1.7rem; border: 0; border-radius: 999px; color: #fff; background: var(--orange); box-shadow: 0 7px 14px rgba(107,48,18,.2); font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(.96); }
.btn--secondary { background: var(--blue); }
.btn--lg { padding-inline: 2rem; }
.btn--full { width: 100%; }

.section { position: relative; padding: 3.5rem 0; }
.section__title { max-width: 900px; margin: 0 0 1rem; color: var(--orange); font-size: clamp(2.1rem, 5.2vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.section__lead { max-width: 740px; margin: 0 0 2rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }
.section--alt { background: var(--cream); }

/* Hero: presentation page 1 — blue field, orange action, clean wide visual. */
.hero { position: relative; display: flex; align-items: center; padding: 0 0 4rem; overflow: hidden; color: #fff; background: var(--blue); }
.hero::after, .section--trust::after, #reviews::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 18px; background: radial-gradient(circle at 18px -3px, transparent 20px, var(--orange) 21px) 0 0/36px 22px repeat-x; }
.hero .container { width: 100%; }
.hero__inner { display: grid; gap: 0; align-items: center; }
.hero__copy { padding: 2rem 1.25rem 0; }
.hero__eyebrow { margin: 0 0 1rem; color: #77dbe6; font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.hero__title { max-width: 700px; margin: 0 0 1.2rem; color: #fff; font-size: clamp(2.65rem, 12vw, 5.6rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; transform: rotate(-1deg); }
.hero__title span, .hero__title em { display: block; }
.hero__title em { margin-left: .35em; color: #fff17a; font-style: normal; }
.hero__subtitle { max-width: 650px; margin: 0 0 1rem; font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; line-height: 1.25; }
.hero__subtitle mark { color: #fff; background: linear-gradient(transparent 58%, var(--orange) 58%); }
.hero__promise { max-width: 620px; margin: 0 0 1.35rem; color: #dff8fb; font-size: .92rem; }
.hero__deadline { width: fit-content; margin: 0 0 1.2rem; padding: .62rem .9rem; color: var(--blue-dark); background: #fff17a; border-radius: 999px; font-size: .83rem; font-weight: 800; line-height: 1.15; }
.hero__price { margin: 0 0 1.4rem; color: #65d3e2; font-size: 1.2rem; font-weight: 700; }
.hero__film-link { display: block; width: max-content; margin-top: 1.15rem; color: #fff; font-size: .9rem; font-weight: 700; text-underline-offset: .25rem; }
.hero__media { position: relative; order: -1; overflow: hidden; background: #f7f2e9; }
.hero__image { width: 100%; height: auto; object-fit: cover; }

.film-section { padding: 3.5rem 0; color: #fff; background: var(--orange); }
.film-section__inner { display: grid; gap: 1.5rem; align-items: center; }
.film-section__eyebrow { margin: 0 0 .7rem; color: #fff1a8; font-size: .8rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.film-section h2 { max-width: 650px; margin: 0 0 .8rem; font-size: clamp(2rem, 8vw, 3.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.film-section p { max-width: 580px; margin-bottom: 0; }
.film-section__video { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 8px solid #fff; background: var(--blue); box-shadow: 0 18px 36px rgba(80,35,12,.2); }

/* Finished imagery is the process: large, editorial and consistent. */
.section--process { padding-bottom: 0; background: var(--cream); }
.section--process > .container::before { content: "Как всё происходит"; display: block; margin-bottom: 1rem; color: var(--cyan); font-weight: 700; text-transform: uppercase; }
.process-snap { display: grid; gap: 2.5rem; margin-top: 2rem; padding-inline: 1rem; }
.process-snap__step { position: relative; display: block; overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(23,102,165,.12); }
.process-snap__visual { margin: 0; background: #fff; }
.process-snap__visual::after { display: none; }
.process-snap__visual img { width: 100%; height: auto; aspect-ratio: 2114/927; object-fit: contain; }
.process-snap__text { padding: 1.15rem 1rem 1.35rem; color: var(--ink); }
.process-snap__text h3 { max-width: 620px; margin: 0 0 .35rem; color: var(--blue); font-size: clamp(1.55rem, 7vw, 3rem); font-weight: 500; line-height: 1.03; }
.process-snap__text p { max-width: 560px; margin: 0; }

/* Products: one presentation system, no shop-card frames. */
#products { background: var(--cream); }
.product-kicker { margin: 0 0 .8rem; color: var(--cyan); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.products-grid { display: grid; gap: 4rem; margin-top: 2rem; }
.product-card { position: relative; display: grid; gap: 2rem; align-items: center; }
.product-card__visual { display: flex; min-height: 0; align-items: center; justify-content: center; padding: 1rem; background: var(--cyan); }
.product-card--book .product-card__visual { background: var(--blue); }
.product-card--book .product-card__visual { min-height: 0; padding: 0; }
.product-card--book .product-card__visual picture, .product-card--book .product-card__visual img { width: 100%; max-height: none; }
.product-card__visual img { width: 100%; height: auto; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.16)); }
.product-card__visual--vignette { display: grid; gap: 1rem; }
.product-card__visual--vignette picture { width: 100%; }
.product-card__body { padding: 0 .2rem; }
.product-card__badge { position: absolute; z-index: 2; top: 1rem; right: 1rem; padding: .45rem .8rem; color: #fff; background: var(--orange); border-radius: 99px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.product-card__name { margin: 0; color: var(--blue); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; }
.product-card__price { margin: .7rem 0; color: var(--cyan); font-size: 2.2rem; font-weight: 700; }
.product-card__lead { color: var(--muted); }
.product-card__list { display: grid; gap: .55rem; margin: 1.2rem 0 1.5rem; padding: 0; list-style: none; }
.product-card__list li { position: relative; padding-left: 1.6rem; }
.product-card__list li::before { content: ""; position: absolute; top: .48em; left: .15rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--orange); }
.book-preview-collage { display: grid !important; grid-template-columns: 1fr 1fr; gap: .65rem; padding: .65rem !important; overflow: hidden; background: var(--blue) !important; border-radius: 32px; }
.book-preview-collage img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 2114/927; object-fit: cover !important; background: transparent !important; border-radius: 22px; filter: none !important; }
.book-preview-collage img:first-child { grid-column: 1 / -1; }
.vignette-strip { display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem; color: #fff; background: var(--blue); }
.vignette-strip__images { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.vignette-strip__images img { width: 100%; height: auto; aspect-ratio: 16/7; object-fit: cover; background: var(--blue); border-radius: 18px; }
.vignette-strip { border-radius: 32px; }
.vignette-strip h3 { margin: 0 0 .5rem; color: #fff17a; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1; }
.vignette-strip strong { color: #fff17a; font-size: 1.7rem; }

#choice { color: #fff; background: var(--cyan); }
#choice[hidden] { display: none; }
#choice .section__title, #choice .choice-block__accent { color: #fff; }
.choice-block { display: grid; gap: 3rem; align-items: center; }
.choice-block__copy > p { max-width: 650px; }
.choice-block__accent { font-size: 1.2rem; font-weight: 700; }
.choice-block__visual { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.choice-block__visual figure { width: 48%; margin: 0; text-align: center; }
.choice-block__visual img { max-height: 330px; object-fit: contain; border: 6px solid #fff; }
.choice-block__visual figcaption { margin-top: .7rem; color: #fff; font-weight: 700; }

#photobook { color: #fff; background: var(--orange); }
.photobook__eyebrow { margin: 0 0 1rem; color: #fff3a6; font-size: .8rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
#photobook .section__title { max-width: 1000px; color: #fff; font-size: clamp(2.7rem, 11vw, 5.4rem); }
#photobook .section__lead { color: #fff; }
.book-specs { display: grid; gap: .75rem; margin: 2rem 0; padding: 0; list-style: none; }
.book-specs li { display: grid; gap: .15rem; padding: 1.15rem; color: var(--blue); background: #fff; border-radius: 22px; }
.book-specs strong { font-size: 1.08rem; }
.book-specs span { color: var(--muted); font-size: .88rem; }
.book-carousel { width: 100vw; margin: 2.5rem 0 0 calc(50% - 50vw); overflow: visible; }
.book-carousel__track { display: grid; gap: 1.2rem; padding-bottom: 1rem; }
.book-carousel__slide { position: relative; width: 100%; margin: 0; background: var(--blue); }
.book-carousel__slide img { width: 100%; height: auto; aspect-ratio: 2114/927; object-fit: contain; background: #fff; }
.book-carousel__num { position: absolute; z-index: 1; top: .7rem; left: .7rem; display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: .75rem; color: #fff; background: var(--orange); border-radius: 99px; font-size: .82rem; font-weight: 700; }
.book-carousel__slide figcaption { margin: 0; padding: .8rem 1rem 1rem; color: #fff; font-weight: 700; text-align: center; }
.book-flip { max-width: 350px; margin: 3rem auto 1.5rem; overflow: hidden; border: 7px solid #fff; box-shadow: 0 14px 30px rgba(23,102,165,.18); }
.book-flip__video { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.book-price { margin: 2rem 0 1rem; color: var(--cyan); font-size: 1.4rem; font-weight: 700; text-align: center; }
#photobook > .container > .btn { display: flex; width: max-content; margin-inline: auto; }

#backstage { overflow: hidden; background: #fff; }
.backstage__eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .8rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.backstage-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
.backstage-card { margin: 0; overflow: hidden; color: #fff; background: var(--blue); border-radius: 28px; box-shadow: 0 14px 32px rgba(23,102,165,.16); }
.backstage-card:nth-child(2) { background: var(--cyan); }
.backstage-card:nth-child(3) { background: var(--orange); }
.backstage-card > img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.backstage-card__copy { padding: 1.15rem 1rem 1.35rem; }
.backstage-card__copy span { display: block; margin-bottom: .5rem; color: #fff4a8; font-size: .8rem; font-weight: 800; }
.backstage-card__copy h3 { margin: 0 0 .45rem; font-size: 1.45rem; line-height: 1.05; }
.backstage-card__copy p { margin: 0; font-size: .94rem; }
.backstage-card__copy blockquote { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.4); font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.backstage-quote { margin: 1.5rem 0 0; padding: 1.5rem; color: var(--blue); background: #fff3a6; }
.backstage-quote p { margin: 0; }
.backstage-quote p + p { margin-top: .65rem; }
.backstage-quote strong { font-size: clamp(1.45rem, 6vw, 2.4rem); line-height: 1.08; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: 2rem; }
.contact-actions a { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem .5rem; color: #fff; background: var(--orange); border-radius: 999px; font-size: clamp(.76rem, 2.8vw, .96rem); font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(89,39,13,.14); }
.contact-actions a:nth-child(2) { background: #19a55a; }
.contact-actions a:nth-child(3) { background: #239bd7; }
.contact-actions--light a:first-child { color: var(--blue); background: #fff; }
#reviews { color: #fff; background: var(--blue); }
#reviews, #peace, #how { display: none; }
#reviews .section__title { color: #fff; }
.reviews-track { display: grid; gap: 1rem; margin-top: 2rem; }
.review-card { margin: 0; padding: 1.5rem; color: var(--blue); background: #fff; }
.review-card:nth-child(2) { color: #fff; background: var(--cyan); }
.review-card:nth-child(3) { color: #fff; background: var(--orange); }
.review-card p { margin: 0; }
.review-card p + p { margin-top: .7rem; }
.review-card strong { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.12; }

#peace { background: var(--cream); }
.peace-list { margin: 2rem 0 0; }
.peace-item { display: grid; gap: .5rem; padding: 1.3rem 0; border-top: 2px solid var(--line); }
.peace-item dt { color: var(--blue); font-size: 1.1rem; font-weight: 700; }
.peace-item dd { margin: 0; color: var(--muted); }
.peace-item--todo, .todo-note { display: none; }

#how { color: var(--ink); background: var(--cream); }
#how .section__title { color: var(--orange); }
.how-steps { display: grid; gap: .8rem; margin: 2rem 0; padding: 0; list-style: none; counter-reset: steps; }
.how-steps li { position: relative; counter-increment: steps; min-height: 0; padding: 1.2rem 1rem 1.2rem 4.2rem; overflow: hidden; background: #fff; border-left: 6px solid var(--cyan); box-shadow: 0 8px 20px rgba(23,102,165,.1); }
.how-steps li::before { content: "0" counter(steps); position: absolute; top: 1.25rem; left: 1rem; color: var(--orange); font-size: 1.55rem; font-weight: 700; line-height: 1; }
.how-steps li::after { content: ""; position: absolute; top: -32px; right: -32px; width: 100px; height: 100px; border-radius: 50%; background: rgba(8,167,189,.12); }
.how-steps strong { display: block; margin-bottom: .25rem; color: var(--blue); font-size: 1.2rem; font-weight: 500; line-height: 1.08; }
.how-steps span { display: block; color: var(--muted); line-height: 1.4; }

.section--trust { color: #fff; background: var(--blue); }
.section--trust .section__title { color: #fff; }
.trust-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.trust-list li { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.35); }
.trust-list strong { color: #67d6e4; font-size: 1.15rem; }
.trust-footnote { font-size: .8rem; opacity: .7; }

#faq { background: var(--cream); }
.faq-layout { display: grid; gap: 2rem; align-items: center; }
.faq-layout__visual { overflow: hidden; background: var(--blue); }
.faq-layout__visual img { width: 100%; height: auto; }
.faq-list { margin-top: 2rem; }
.faq-item { border-top: 2px solid var(--blue); }
.faq-item:last-child { display: none; }
.faq-item summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; color: var(--blue); font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 720px; margin: 0 0 1.2rem; color: var(--muted); }

.section--form { color: #fff; background: var(--cyan); }
.section--form .section__title { color: #fff; }
.section--form .section__lead { color: #fff; }
.form-layout { display: grid; gap: 2rem; align-items: center; }
.form-layout__visual { margin: 0; padding: 1rem; background: var(--blue); box-shadow: 0 18px 36px rgba(2,73,91,.2); }
.form-layout__visual img { width: 100%; height: auto; }
.form-layout__visual figcaption { padding: .85rem .2rem 0; color: #fff; font-weight: 800; text-align: center; }
.form-layout__visual--circle { padding: 0; background: transparent; box-shadow: none; }
.form-layout__visual--circle > img { width: 100%; border-radius: 50%; }
.contact-actions--compact { margin-top: 1rem; }
.form-card { padding: 1.45rem; background: var(--blue); border-radius: 32px; box-shadow: 0 18px 38px rgba(2,73,91,.2); }
.form-card .section__title { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.6rem); }
.form-card .form-prices { margin: 0 0 .75rem; color: #fff17a; }
.form-card .section__lead { margin-bottom: 0; }
.form-card .lead-form { max-width: none; margin-top: 1.25rem; border-radius: 22px; }
.form-card .form-group input { border-color: var(--cyan); border-radius: 12px; }
.form-prices { color: #fff; font-size: 1.3rem; font-weight: 700; }
.lead-form { max-width: 560px; margin-top: 2rem; padding: 1.5rem; color: var(--ink); background: var(--cream); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; color: var(--blue); font-size: .9rem; font-weight: 700; }
.form-group input, .form-group select { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 2px solid var(--blue); border-radius: 0; background: #fff; font: inherit; }
.checkbox-label { display: flex !important; gap: .7rem; align-items: flex-start; color: var(--muted) !important; font-weight: 400 !important; }
.checkbox-label input { width: auto; min-height: 0; margin-top: .25rem; }
.form-status { min-height: 1.4em; font-weight: 700; }
.footer { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); color: #fff; background: var(--orange); text-align: center; }
.footer p { margin: 0; }
.sticky-cta { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; min-height: var(--sticky-h); padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(245,243,233,.95); backdrop-filter: blur(10px); }
.sticky-cta[hidden] { display: none; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none !important; }
  .hero { padding: 2.5rem 0 5rem; }
  .hero .container { width: var(--container); }
  .hero__inner { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .hero__copy { padding: 0; }
  .hero__media { order: 0; border: 8px solid #fff; }
  .hero__image { height: 100%; min-height: 540px; object-fit: cover; object-position: center; }
  .hero__title { font-size: clamp(3.2rem, 5vw, 4.8rem); }
  .film-section__inner { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .section { padding: 5rem 0; }
  .hero { min-height: 100svh; }
  .process-snap { grid-template-columns: 1fr 1fr; gap: 0; padding-inline: 0; }
  .process-snap__step { display: grid; min-height: 54vh; box-shadow: none; }
  .process-snap__visual { grid-area: 1/1; height: 54vh; }
  .process-snap__visual::after { content: ""; position: absolute; inset: 35% 0 0; display: block; background: linear-gradient(transparent, rgba(8,52,82,.85)); }
  .process-snap__visual img { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .process-snap__text { z-index: 1; grid-area: 1/1; align-self: end; padding-bottom: 1.8rem; color: #fff; }
  .process-snap__text h3 { color: #fff; }
  .product-card { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .product-card__visual { min-height: 350px; padding: 2rem; }
  .product-card__visual img { width: auto; max-height: 390px; }
  .product-card__visual--vignette { display: flex; gap: .7rem; }
  .product-card__visual--vignette picture { width: 48%; }
  .product-card--book { grid-template-columns: .95fr 1.05fr; }
  .product-card--book .product-card__visual { order: 2; }
  .vignette-strip { grid-template-columns: .85fr 1.15fr; padding: 2rem; }
  .choice-block { grid-template-columns: 1fr 1fr; }
  .book-carousel__track { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.5rem 2rem; }
  .book-specs { grid-template-columns: repeat(3, 1fr); }
  .book-carousel__slide:first-child { grid-column: 1 / -1; }
  .reviews-track { grid-template-columns: repeat(3, 1fr); }
  .backstage-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .backstage-quote { max-width: 900px; margin: 2rem auto 0; padding: 2rem; text-align: center; }
  .peace-item { grid-template-columns: .8fr 1.2fr; gap: 2rem; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .faq-layout { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .form-layout { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .form-card { padding: 2.25rem; }
  .how-steps { grid-template-columns: repeat(6, 1fr); }
  .how-steps li { grid-column: span 2; min-height: 230px; padding: 5.2rem 1.5rem 1.5rem; border-top: 8px solid var(--cyan); border-left: 0; }
  .how-steps li::before { top: 1.2rem; left: 1.5rem; font-size: 2.2rem; }
  .how-steps strong { margin-bottom: .7rem; font-size: 1.45rem; }
  .how-steps li:nth-child(4), .how-steps li:nth-child(5) { grid-column: span 3; }
}

@media (min-width: 1100px) {
  .section { padding: 7rem 0; }
  .process-snap__text { padding-inline: 2rem; }
  .book-carousel__track { max-width: 1400px; margin-inline: auto; padding-inline: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
