/* Руслан Исхаков — сайт по макету V2.1 «Кино — минимал». Тёмная и светлая тема. */
:root, [data-theme="dark"] {
  --bg: #0E0D0C;
  --tx: #EEE9E2;
  --tx2: rgba(238, 233, 226, .72);
  --mu: #8C857C;
  --ln: #2A2724;
  --card: #161412;
  --inp: #141210;
  --inl: #3A3632;
  --btn-bg: #EEE9E2;
  --btn-tx: #0E0D0C;
  --ph: #1A1816;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F5F2ED;
  --tx: #1B1916;
  --tx2: rgba(27, 25, 22, .74);
  --mu: #7A736B;
  --ln: #DDD6CC;
  --card: #ECE7E0;
  --inp: #FFFFFF;
  --inl: #D3CBC0;
  --btn-bg: #1B1916;
  --btn-tx: #F5F2ED;
  --ph: #E4DED6;
  color-scheme: light;
}
/* поверх фото — всегда светлый текст */
.on-photo {
  --tx: #EEE9E2;
  --tx2: rgba(238, 233, 226, .76);
  --mu: rgba(238, 233, 226, .6);
  --btn-bg: #EEE9E2;
  --btn-tx: #0E0D0C;
  color: var(--tx);
}
:root {
  --pad: 80px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h2 { font: 400 44px/1.12 var(--serif); letter-spacing: -.5px; }
.muted { color: var(--mu); }
.label { font: 500 13px/1.5 var(--sans); letter-spacing: .5px; color: var(--mu); }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--tx) 40%, transparent);
  font: 500 15px/1.5 var(--sans);
  transition: border-color .25s, gap .25s;
}
.link:hover { border-color: var(--tx); gap: 14px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: var(--btn-bg); color: var(--btn-tx);
  border: 0; cursor: pointer;
  font: 500 15px/1.2 var(--sans);
  transition: opacity .2s, gap .25s;
}
.button:hover { opacity: .88; gap: 14px; }

/* ── шапка ── */
.nav {
  position: relative; z-index: 20;
  height: 96px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-bottom: 1px solid var(--ln);
}
.nav--over { position: absolute; top: 0; left: 0; right: 0; border-bottom: 0; }
.nav__logo { font: italic 400 22px/1.5 var(--serif); white-space: nowrap; }
.nav__links { display: flex; gap: 40px; margin-left: auto; }
.nav__links a { font: 500 13px/1.5 var(--sans); letter-spacing: .5px; color: color-mix(in srgb, var(--tx) 80%, transparent); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--tx); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__tg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; margin-left: 16px;
  border: 1px solid color-mix(in srgb, var(--tx) 28%, transparent);
  font: 500 13px/1.2 var(--sans);
  transition: border-color .2s;
}
.nav__tg .ico { width: 14px; height: 14px; }
.nav__tg:hover { border-color: var(--tx); }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
  opacity: .8; transition: opacity .2s;
}
.icon-btn:hover { opacity: 1; }
.icon-btn .ico { width: 18px; height: 18px; grid-area: 1 / 1; }
[data-theme="dark"] .ico-moon, [data-theme="light"] .ico-sun { display: none; }
.menu-toggle { display: none; }
.menu-toggle .ico:last-child { display: none; }

/* ── первый экран ── */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #0E0D0C;
}
.hero__slides, .hero__scrim { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.hero__scrim { background: linear-gradient(180deg, rgba(14,13,12,.6) 0%, rgba(14,13,12,0) 16%, rgba(14,13,12,.1) 45%, rgba(14,13,12,.97) 100%); }
.hero__bottom {
  position: relative; z-index: 2;
  padding: 0 var(--pad) 72px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
}
.hero__title { font: 400 clamp(44px, 5.85vw, 84px)/1 var(--serif); letter-spacing: -1.5px; }
.hero__title em { font-style: italic; }
.hero__side { width: 300px; flex: none; display: grid; gap: 28px; justify-items: start; }
.hero__side p { font-size: 15px; color: var(--tx2); }
.hero__dots { position: relative; z-index: 2; display: flex; gap: 8px; padding: 0 var(--pad) 40px; }
.hero__dots i { width: 28px; height: 2px; background: rgba(238,233,226,.3); transition: background .6s; }
.hero__dots i.is-active { background: #EEE9E2; }

/* ── секции ── */
.section { padding: 140px var(--pad); }
.section--flush { padding-top: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 64px; }
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--series { gap: 56px 28px; }

.card { display: block; }
.card__cover { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 18px; background: var(--ph); }
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__cover img { transform: scale(1.04); }
.card__names { font: 400 21px/1.3 var(--serif); }
.grid--series .card__names { font-size: 24px; }
.card__tag { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--mu); }
.card__meta { margin-top: 10px; font-size: 12px; letter-spacing: .5px; color: var(--mu); }

.about { padding-top: 0; display: grid; grid-template-columns: 440px 1fr; gap: 120px; align-items: center; }
.about__photo { aspect-ratio: 440 / 580; overflow: hidden; background: var(--ph); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about__text { display: grid; gap: 32px; justify-items: start; }
.about__text h2 { line-height: 1.15; }
.about__body { max-width: 500px; color: var(--tx2); line-height: 1.7; }
.facts { width: min(560px, 100%); display: flex; gap: 56px; padding-top: 28px; border-top: 1px solid var(--ln); }
.facts dt { font: 400 26px/1.1 var(--serif); }
.facts dd { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--mu); }

.steps { background: var(--card); }
.steps h2 { margin-bottom: 56px; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__list li { display: grid; gap: 18px; align-content: start; }
.step__n { font: 500 13px/1 var(--sans); letter-spacing: 1px; color: var(--mu); padding-bottom: 18px; border-bottom: 1px solid var(--ln); }
.steps__list h3 { font: 400 24px/1.2 var(--serif); }
.steps__list p { font-size: 14px; color: var(--tx2); max-width: 280px; }

.package { display: grid; gap: 28px; align-content: start; padding: 36px 36px 40px; border: 1px solid var(--ln); }
.package--top { border-color: var(--tx); }
.package__top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; letter-spacing: .5px; color: var(--tx2); }
.badge { padding: 5px 10px; background: var(--tx); color: var(--bg); font-size: 11px; letter-spacing: .5px; }
.package__price { font: 400 44px/1 var(--serif); }
.package ul { display: grid; gap: 14px; }
.package li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--tx2); }
.package li .ico { width: 15px; height: 15px; color: var(--mu); }
.prices__note { margin-top: 48px; font-size: 15px; }

.reviews { border-top: 1px solid var(--ln); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 48px; }
.review { display: grid; gap: 24px; align-content: start; justify-items: start; }
.review blockquote { font: italic 400 22px/1.45 var(--serif); }
.review figcaption { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.review figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.faq { display: flex; justify-content: space-between; gap: 64px; padding-bottom: 160px; }
.faq__list { width: min(780px, 100%); border-top: 1px solid var(--ln); }
.faq__item { border-bottom: 1px solid var(--ln); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 400 20px/1.3 var(--serif);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: var(--tx2); transition: transform .25s; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { padding: 0 60px 24px 0; font-size: 15px; line-height: 1.65; color: var(--tx2); }

/* ── финальный призыв ── */
.cta { position: relative; overflow: hidden; min-height: 640px; display: grid; place-items: center; text-align: center; background: #0E0D0C; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .38; }
.cta__in { position: relative; display: grid; gap: 32px; justify-items: center; padding: 120px 24px; }
.cta h2 { font-size: 64px; line-height: 1.05; letter-spacing: -1px; }
.cta p { max-width: 520px; font-size: 17px; color: var(--tx2); }
.cta__links { display: flex; gap: 28px; font-size: 14px; color: var(--tx2); }
.cta__links a:hover { color: var(--tx); }

/* ── внутренние страницы ── */
.page-head { padding: 72px var(--pad) 64px; display: grid; gap: 28px; justify-items: start; }
.page-head h1, .shoot-head h1 { font: 400 64px/1.05 var(--serif); letter-spacing: -1px; }
.page-head__sub { max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--tx2); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--mu); }
.crumbs i { font-style: normal; color: var(--ln); }
.crumbs span { color: var(--tx2); }
.crumbs a:hover { color: var(--tx); }

.shoot-head { padding: 72px var(--pad) 56px; display: grid; gap: 32px; }
.shoot-head h1 { font-size: 72px; }
.shoot-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.shoot-head__tag { margin-top: 14px; font: italic 400 20px/1.4 var(--serif); color: var(--tx2); }
.shoot-head__meta { font-size: 13px; letter-spacing: .5px; color: var(--mu); }
.shoot-cover { padding: 0 var(--pad); }
.shoot-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; background: var(--ph); }
.story { display: grid; grid-template-columns: 200px 1fr; gap: 120px; padding-top: 96px; padding-bottom: 96px; }
.story__text { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--tx2); }
.placeholder { padding-left: 20px; border-left: 2px dashed var(--ln); color: var(--mu); }
.gallery { columns: 3 320px; column-gap: 24px; }
.gallery__item { display: block; margin-bottom: 24px; break-inside: avoid; overflow: hidden; background: var(--ph); cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img { transform: scale(1.03); }
.pair-review { background: var(--card); display: grid; gap: 28px; justify-items: center; text-align: center; padding: 120px var(--pad); }
.pair-review blockquote { max-width: 900px; font: italic 400 30px/1.4 var(--serif); }
.pair-review__who { font-size: 14px; font-weight: 500; }
.next-shoot { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.next-shoot > div { display: grid; gap: 24px; justify-items: start; }
.next-shoot h2 { font-size: 48px; }
.next-shoot__img { width: 520px; aspect-ratio: 13 / 9; overflow: hidden; background: var(--ph); }
.next-shoot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.next-shoot__img:hover img { transform: scale(1.04); }

.factors h2 { margin-bottom: 48px; }
.factors h3 { font: 400 22px/1.25 var(--serif); margin-bottom: 14px; }
.factors p { font-size: 15px; line-height: 1.65; color: var(--tx2); max-width: 380px; }
.factors { padding-bottom: 120px; }
.custom { padding-bottom: 40px; }
.custom__box { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 56px 64px; border: 1px solid var(--ln); }
.custom__box h2 { font-size: 36px; margin-bottom: 12px; }

.reviews-list { padding-bottom: 140px; }
.review--big { grid-template-columns: 360px 1fr; gap: 0 0; padding: 48px 0; border-bottom: 1px solid var(--ln); }
.review--big:first-child { border-top: 1px solid var(--ln); }
.review--big blockquote { grid-column: 2; grid-row: 1; font-size: 26px; max-width: 820px; }
.review--big figcaption { grid-column: 1; grid-row: 1; align-self: start; font-size: 16px; }
.review--big figcaption img { width: 56px; height: 56px; }
.review--big .link { grid-column: 2; margin-top: 24px; }

.contacts { display: flex; justify-content: space-between; gap: 64px; align-items: flex-start; padding-bottom: 120px; }
.contacts__list { width: min(560px, 100%); border-top: 1px solid var(--ln); }
.contact { display: grid; grid-template-columns: 140px 1fr; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ln); font: 400 22px/1.3 var(--serif); transition: padding .25s; }
.contact:hover { padding-left: 8px; }
.form { width: min(600px, 100%); display: grid; gap: 22px; padding: 40px 40px 44px; background: var(--card); }
.form h2 { font-size: 32px; }
.form label { display: grid; gap: 10px; font-size: 13px; font-weight: 500; color: var(--mu); }
.form input:not([type="checkbox"]) {
  height: 56px; padding: 0 18px; width: 100%;
  background: var(--inp); color: var(--tx);
  border: 1px solid var(--inl); border-radius: 0;
  font: 400 15px var(--sans); outline: none; transition: border-color .2s;
}
.form input:focus { border-color: var(--tx); }
.form input::placeholder { color: var(--mu); }
.form__check { display: flex !important; align-items: center; gap: 12px; font-weight: 400 !important; }
.form__check input { width: 18px; height: 18px; accent-color: var(--tx); }
.form .button { justify-self: start; }
.contacts-photo { padding: 0 var(--pad) 140px; }
.contacts-photo img { width: 100%; aspect-ratio: 32 / 13; object-fit: cover; background: var(--ph); }

/* ── подвал ── */
.footer { padding: 64px var(--pad) 40px; border-top: 1px solid var(--ln); display: grid; gap: 48px; font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__logo { font: italic 400 22px/1.5 var(--serif); margin-bottom: 6px; }
.footer__cols { display: flex; gap: 40px; }
.footer__cols > div { display: grid; gap: 12px; align-content: start; min-width: 180px; }
.footer__cols a { color: var(--tx2); }
.footer__cols a:hover, .footer__bottom a:hover { color: var(--tx); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ln); font-size: 13px; color: var(--mu); }

/* ── просмотр фото ── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 8, .96); display: none; align-items: center; justify-content: center; color: #EEE9E2; }
.lb.is-open { display: flex; }
.lb img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; user-select: none; }
.lb button { position: absolute; background: none; border: 0; color: inherit; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; opacity: .75; }
.lb button:hover { opacity: 1; }
.lb button .ico { width: 24px; height: 24px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__close { right: 16px; top: 16px; }
.lb__count { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 13px; letter-spacing: 1px; opacity: .7; }

/* ── планшет ── */
@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .nav__links { gap: 24px; }
  .story { grid-template-columns: 1fr; gap: 20px; }
  .review--big { grid-template-columns: 220px 1fr; }
  .contacts { flex-direction: column; }
}

/* ── телефон ── */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  h2 { font-size: 32px; }
  .nav { height: 64px; gap: 12px; }
  .nav__logo { font-size: 19px; }
  .nav__tg span { display: none; }
  .nav__tg { padding: 9px 11px; margin-left: 0; }
  .menu-toggle { display: inline-grid; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--pad) 20px; background: var(--bg); color: var(--tx);
    border-bottom: 1px solid var(--ln);
  }
  .nav--over .nav__links { background: #0E0D0C; }
  .nav__links a { padding: 14px 0; font: 400 22px/1.3 var(--serif); letter-spacing: 0; border-bottom: 1px solid var(--ln); color: var(--tx); }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open .menu-toggle .ico:first-child { display: none; }
  .nav.is-open .menu-toggle .ico:last-child { display: block; }
  .hero { min-height: 560px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 32px; }
  .hero__title { font-size: 46px; letter-spacing: -1px; }
  .hero__side { width: auto; gap: 22px; }
  .hero__dots { padding-bottom: 28px; }
  .section { padding: 88px var(--pad); }
  .section--flush { padding-top: 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .grid--3:has(.package), .factors .grid--3 { grid-template-columns: 1fr; gap: 16px; }
  .factors .grid--3 { gap: 32px; }
  .card__names, .grid--series .card__names { font-size: 16px; }
  .card__tag { font-size: 12px; }
  .about { grid-template-columns: 1fr; gap: 32px; padding-top: 0; }
  .about__text { gap: 22px; }
  .facts { gap: 20px; }
  .facts dt { font-size: 22px; }
  .steps__list { grid-template-columns: 1fr; gap: 28px; }
  .steps h2 { margin-bottom: 32px; }
  .package { padding: 28px 24px 32px; gap: 22px; }
  .package__price { font-size: 38px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 44px; }
  .review blockquote { font-size: 19px; }
  .faq { flex-direction: column; gap: 28px; padding-bottom: 96px; }
  .faq__item summary { font-size: 18px; padding: 20px 0; }
  .faq__item p { padding-right: 0; }
  .cta { min-height: 560px; }
  .cta h2 { font-size: 38px; }
  .cta p { font-size: 15px; }
  .page-head { padding: 40px var(--pad) 40px; gap: 20px; }
  .page-head h1, .shoot-head h1 { font-size: 40px; }
  .shoot-head { padding: 40px var(--pad) 32px; gap: 20px; }
  .shoot-head__row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .shoot-cover img { aspect-ratio: 4 / 3; }
  .story { padding-top: 56px; padding-bottom: 56px; }
  .story__text { font-size: 16px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .pair-review { padding: 72px var(--pad); }
  .pair-review blockquote { font-size: 22px; }
  .next-shoot { flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .next-shoot h2 { font-size: 32px; }
  .next-shoot__img { width: 100%; }
  .custom__box { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .custom__box h2 { font-size: 26px; }
  .review--big { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .review--big blockquote, .review--big figcaption, .review--big .link { grid-column: 1; grid-row: auto; }
  .review--big blockquote { font-size: 20px; }
  .contact { grid-template-columns: 110px 1fr; font-size: 18px; }
  .form { padding: 28px 20px 32px; }
  .contacts-photo { padding-bottom: 88px; }
  .contacts-photo img { aspect-ratio: 4 / 3; }
  .footer__top { flex-direction: column; }
  .footer__cols > div { min-width: 0; }
  .footer__bottom { flex-direction: column; }
  .lb img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb__prev, .lb__next { top: auto; bottom: 8px; transform: none; }
  .lb__prev { transform: rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: opacity .6s ease; transform: none; }
  .slide.is-active { transform: none; }
}
