/* КнигДекор · книги и книжный реквизит для фотосессий и съёмок */

.stage-page main {
  overflow: hidden;
}

.stage-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.stage-container--wide {
  width: min(1320px, calc(100% - 48px));
}

.stage-hero {
  padding: 22px 0 56px;
  background: var(--surface-page);
}

.stage-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--c-text-muted);
  font-size: var(--type-meta, 0.875rem);
  font-weight: 700;
  line-height: var(--leading-meta, 1.45);
}

.stage-crumbs a {
  color: inherit;
}

.stage-crumbs a:hover {
  color: var(--c-accent);
}

.stage-crumbs > span[aria-hidden="true"] {
  color: #b6b8b2;
}

.stage-hero__card {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  overflow: hidden;
  border-radius: 28px;
  color: #fffcee;
  background: #1d2a3b;
  box-shadow: 0 24px 70px rgba(25, 21, 18, 0.14);
}

.stage-hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5vw, 66px);
}

.stage-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #fffcee;
  font-size: var(--type-title-page, clamp(2.375rem, 2rem + 1.5vw, 3.25rem));
  line-height: var(--leading-page, 1.04);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.stage-hero__lead {
  max-width: 48ch;
  margin: 22px 0 26px;
  color: rgba(255, 252, 238, 0.78);
  font-size: var(--type-lead, clamp(1.0625rem, 0.98rem + 0.42vw, 1.25rem));
  line-height: var(--leading-lead, 1.55);
}

.stage-hero__media {
  position: relative;
  min-width: 0;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  background: #5a3c2a;
}

.stage-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.stage-section {
  padding: clamp(44px, 5vw, 64px) 0;
}

.stage-section__head {
  max-width: 900px;
  margin-bottom: 30px;
}

.stage-section__head h2,
.stage-selection h2,
.stage-contact h2 {
  margin: 0;
  font-size: var(--type-title-section, clamp(2.125rem, 1.8rem + 1.35vw, 2.75rem));
  line-height: var(--leading-section, 1.06);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.stage-formats {
  background: #fff7e5;
}

.stage-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stage-format-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(32, 35, 31, 0.07);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
}

.stage-format-card--library {
  background: #e8eee7;
}

.stage-format-card--object {
  color: #fffcee;
  background: #273c5d;
}

.stage-format-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface-placeholder);
}

.stage-format-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.stage-format-card:hover img {
  transform: scale(1.02);
}

.stage-format-card > div {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3vw, 34px);
}

.stage-format-card h3,
.stage-selection__list h3,
.stage-option-card h3 {
  max-width: 15ch;
  margin: 0;
  font-size: var(--type-title-card, clamp(1.5rem, 1.3rem + 0.9vw, 2rem));
  line-height: var(--leading-card, 1.1);
  text-wrap: balance;
}

.stage-format-card--object h3 {
  color: #fffcee;
}

.stage-format-card p,
.stage-selection p,
.stage-option-card p,
.stage-contact__copy > p {
  margin: 16px 0 0;
  color: var(--c-text-muted);
  font-size: var(--type-body, 1.0625rem);
  line-height: var(--leading-body, 1.62);
}

.stage-format-card--object p {
  color: rgba(255, 252, 238, 0.76);
}

.stage-format-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--c-accent);
  font-size: var(--type-ui, 0.9375rem);
  font-weight: 900;
}

.stage-format-card--object a {
  color: #fff1b8;
}

.stage-selection {
  background: var(--surface-page);
}

.stage-selection__panel {
  display: grid;
  grid-template-columns: minmax(400px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border-radius: 28px;
  color: #fffcee;
  background: #273c5d;
}

.stage-selection__media {
  position: relative;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
  background: #151d28;
}

.stage-selection__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.stage-selection__copy {
  min-width: 0;
  padding: clamp(34px, 5vw, 58px);
}

.stage-selection h2,
.stage-selection__list h3 {
  color: #fffcee;
}

.stage-selection__intro {
  max-width: 49ch;
  color: rgba(255, 252, 238, 0.8) !important;
}

.stage-selection__list {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.stage-selection__list article {
  padding: 19px 0 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.stage-selection__list h3 {
  font-size: var(--type-title-product, 1.5rem);
}

.stage-selection__list p {
  margin-top: 7px;
  color: rgba(255, 252, 238, 0.72);
}

.stage-options {
  background: #fff;
}

.stage-options__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stage-option-card {
  min-width: 0;
  min-height: 260px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(32, 35, 31, 0.07);
  border-radius: 28px;
  background: #e8eee7;
}

.stage-option-card--rent {
  background: #f3e8e8;
}

.stage-option-card p {
  max-width: 51ch;
}

.stage-faq {
  background: #fff7e5;
}

.stage-faq__layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 78px);
}

.stage-faq__intro h2 {
  margin: 0;
  font-size: var(--type-title-section, clamp(2.125rem, 1.8rem + 1.35vw, 2.75rem));
  line-height: var(--leading-section, 1.06);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.stage-faq__intro p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--c-text-muted);
  font-size: var(--type-body, 1.0625rem);
  line-height: var(--leading-body, 1.62);
}

.stage-faq__list {
  border-top: 1px solid var(--c-divider);
}

.stage-faq .faq__item {
  padding: 18px 0;
  border-radius: 0;
}

.stage-faq .faq__q {
  font-family: var(--f-sans);
  font-size: var(--type-body, 1.0625rem);
  font-weight: 900;
}

.stage-faq .faq__a {
  padding-top: 10px;
  font-size: var(--type-body, 1.0625rem);
  line-height: var(--leading-body, 1.62);
}

.stage-faq .faq__a a {
  color: var(--c-accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.stage-contact {
  padding: clamp(40px, 5vw, 56px) 0;
  background: var(--surface-page);
}

.stage-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  background: #e6eee6;
}

.stage-contact__copy > p {
  max-width: 43ch;
  margin-top: 20px;
}

.stage-form {
  min-width: 0;
  gap: 17px;
  padding: clamp(24px, 4vw, 36px);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(30, 33, 30, 0.08);
}

.stage-form .form__input {
  min-height: 54px;
  background: var(--surface-page);
}

.stage-form .form__radio input:focus-visible + span {
  outline: 3px solid #afc3e3;
  outline-offset: 3px;
}

.stage-form .form__state[role="alert"] {
  color: #8a3416;
}

@media (max-width: 980px) {
  .stage-hero__card,
  .stage-selection__panel,
  .stage-contact__panel {
    grid-template-columns: 1fr;
  }

  .stage-hero__card {
    min-height: 0;
  }

  .stage-hero__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .stage-selection__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .stage-faq__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .stage-formats__grid {
    grid-template-columns: 1fr;
  }

  .stage-format-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .stage-format-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .stage-format-card > div {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .stage-container,
  .stage-container--wide {
    width: min(100% - 28px, 1160px);
  }

  .stage-hero {
    padding: 17px 0 44px;
  }

  .stage-crumbs {
    margin-bottom: 16px;
    font-size: var(--type-meta, 0.8125rem);
  }

  .stage-hero__card,
  .stage-selection__panel,
  .stage-contact__panel,
  .stage-format-card,
  .stage-option-card {
    border-radius: 24px;
  }

  .stage-hero__copy {
    padding: 32px 26px 34px;
  }

  .stage-hero h1 {
    font-size: var(--type-title-page, 2.375rem);
  }

  .stage-hero__lead {
    margin: 16px 0 20px;
  }

  .stage-hero__copy .btn {
    width: 100%;
  }

  .stage-hero__media {
    aspect-ratio: 5 / 4;
  }

  .stage-section,
  .stage-contact {
    padding: 38px 0;
  }

  .stage-section__head {
    margin-bottom: 26px;
  }

  .stage-format-card {
    display: flex;
  }

  .stage-format-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .stage-format-card > div {
    min-height: 260px;
  }

  .stage-selection__media {
    aspect-ratio: 4 / 3;
  }

  .stage-selection__copy {
    padding: 30px 24px;
  }

  .stage-options__grid {
    grid-template-columns: 1fr;
  }

  .stage-option-card {
    min-height: 0;
    padding: 30px 26px;
  }

  .stage-contact__panel {
    gap: 28px;
    padding: 26px 18px 18px;
  }

  .stage-form {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .stage-form .form__radio-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-form .form__radio span {
    justify-content: center;
    padding: 0.7rem 0.35rem;
  }

  .stage-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-page *,
  .stage-page *::before,
  .stage-page *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}
