@import url(https://fonts.googleapis.com/css?family=Unbounded:300,regular,500,600,700);
@import url(https://fonts.googleapis.com/css?family=Montserrat:regular,500,600,700);

:root {
  --ink: #20242a;
  --muted: #69707a;
  --line: #d8dde3;
  --paper: #ffffff;
  --soft: #f5f1ea;
  --field: #f7f8f9;
  --accent: #bd2f26;
  --accent-dark: #94251f;
  --green: #2f6f54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero__shade {
  position: relative;
  z-index: 1;
  background: #fff;
}

.hero__shade .page-shell {
  position: relative;
  display: block;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0 18px;
}

.brand__logo {
  width: 156px;
}

.topbar__city {
  max-width: 440px;
  margin: 0;
  color: #56606b;
  font-size: 14px;
  line-height: 1.35;
}

.topbar__phone {
  color: #30343a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button--primary {
  border-radius: 8px;
  padding: 16px 28px;
  color: #fff;
  background:
    linear-gradient(200deg, #ccffc6 -14.71%, rgba(255, 235, 198, 0) 65.61%),
    linear-gradient(201deg, #ccffc6 -.25%, rgba(255, 235, 198, 0) 20.09%),
    #2c4e2a;
  box-shadow: 0 0 18px -6px rgba(255, 255, 255, .17) inset, 0 12px 24px rgba(44, 78, 42, .22);
  text-transform: uppercase;
}

.button--primary:hover {
  background:
    linear-gradient(200deg, #ddffd9 -14.71%, rgba(255, 235, 198, 0) 65.61%),
    linear-gradient(201deg, #ddffd9 -.25%, rgba(255, 235, 198, 0) 20.09%),
    #356031;
}

.button--ghost {
  min-height: 42px;
  border-color: var(--line);
  padding: 10px 24px;
  color: #56606b;
  background: #f4f5f6;
  font-weight: 600;
  text-transform: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 64px;
  align-items: start;
  padding: 42px 0 0;
}

.hero__content {
  max-width: 900px;
  padding: 0;
}

.hero h1 {
  margin: 0;
  color: #30343a;
  font-family: 'Unbounded', Montserrat, Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 2.35vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__bullets,
.gifts__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__bullets {
  color: #30343a;
  font-weight: 600;
}

.hero__bullets li,
.gifts__list li {
  position: relative;
  margin-top: 12px;
  padding-left: 28px;
}

.hero__bullets li::before,
.gifts__list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.hero__actions {
  display: flex;
  max-width: 440px;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.hero__note {
  max-width: 460px;
  margin: 18px 0 0;
  color: #56606b;
  font-size: 16px;
  text-align: left;
}

.hero__visual {
  overflow: hidden;
  width: min(100%, 560px);
  justify-self: end;
  aspect-ratio: 1 / 1.13;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef0f2;
  box-shadow: 0 22px 56px rgba(34, 42, 48, .10);
}

.hero__visual picture,
.hero__visual img {
  width: 100%;
  height: 100%;
}

.hero__visual img {
  object-fit: cover;
  object-position: center bottom;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 720px;
  margin: -42px 0 78px;
  color: #30343a;
}

.hero__highlight {
  display: grid;
  gap: 18px;
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(34, 42, 48, .08);
}

.hero__highlight img {
  display: none;
}

.hero__highlight h3 {
  margin: 0 0 20px;
  color: #30343a;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.hero__highlight p {
  margin: 0;
  color: #626b75;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.section {
  padding: 72px 0;
}

.section--gifts {
  background: var(--soft);
}

.section--quiz {
  background: #eef3f0;
}

.section__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.section__header {
  max-width: 820px;
  margin-bottom: 32px;
}

.section__header h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
}

.section__header p {
  margin: 0;
  color: var(--muted);
}

.gifts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 40px;
  align-items: center;
}

.gifts__list {
  max-width: 720px;
  font-size: 20px;
}

.gifts__image {
  justify-self: end;
}

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

.advantage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.advantage img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.advantage p {
  margin: 0;
  padding: 18px;
  font-weight: 700;
}

.quiz-shell {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--paper);
}

#quiz-app:empty::before {
  display: block;
  color: var(--muted);
  content: "Квиз загружается";
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
  gap: 24px;
}

.quiz-main {
  min-width: 0;
}

.quiz-main h3,
.quiz-side h4,
.quiz-success h3 {
  margin: 0;
  line-height: 1.2;
}

.quiz-main h3 {
  font-size: 34px;
}

.quiz-progress {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.quiz-options--compact {
  grid-template-columns: 1fr;
}

.quiz-option {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.quiz-option:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(44, 100, 74, .16);
}

.quiz-option img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.quiz-option__body {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  font-weight: 700;
}

.quiz-option__body input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--green);
}

.quiz-option--text .quiz-option__body {
  min-height: 48px;
}

.quiz-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.quiz-actions .button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.quiz-side {
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  background-color: #43503f;
  background-position: center bottom;
  background-size: cover;
}

.quiz-side ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.quiz-side li {
  margin-bottom: 10px;
}

.quiz-phone {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
}

.quiz-phone input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--field);
}

.privacy {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
}

.form-status--error {
  color: #a43225;
}

.quiz-success {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

main {
  background: #f6f4ef;
}

.section--portfolio {
  background: #f6f4ef;
}

.portfolio__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.portfolio__stats article {
  border: 1px solid rgba(49, 71, 58, .16);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(44, 55, 46, .08);
}

.portfolio__stats strong {
  display: block;
  color: #2f6f54;
  font-family: 'Unbounded', Montserrat, Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
}

.portfolio__stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.portfolio-slider {
  display: grid;
  gap: 22px;
}

.portfolio-slider__viewport {
  overflow: hidden;
  padding: 18px 0 28px;
}

.portfolio__track {
  position: relative;
  height: var(--portfolio-track-height, 520px);
}

.portfolio-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.portfolio-slider__button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 71, 58, .18);
  border-radius: 8px;
  color: #26312c;
  background: #fff;
  box-shadow: 0 12px 28px rgba(44, 55, 46, .10);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.portfolio-slider__button:disabled {
  cursor: default;
  opacity: .4;
}

.portfolio-card {
  position: absolute;
  top: 0;
  left: 50%;
  overflow: hidden;
  width: min(58%, 620px);
  border: 1px solid rgba(49, 71, 58, .16);
  border-radius: 8px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 20px 50px rgba(44, 55, 46, .10);
  pointer-events: none;
  transform: translateX(-50%) scale(.78);
  transition: transform .36s ease, opacity .36s ease;
  will-change: transform, opacity;
}

.portfolio-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.portfolio-card.is-prev {
  z-index: 2;
  opacity: .72;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(-122%) scale(.82);
}

.portfolio-card.is-next {
  z-index: 2;
  opacity: .72;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(22%) scale(.82);
}

.portfolio-card.is-hidden {
  z-index: 1;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.portfolio-card__image-button {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-card:not(.is-active) .portfolio-card__image-button {
  cursor: pointer;
}

.portfolio-card__image-button img {
  transition: transform .25s ease;
}

.portfolio-card__image-button:hover img,
.portfolio-card__image-button:focus-visible img {
  transform: scale(1.03);
}

.portfolio-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.portfolio-card:not(.is-active) .portfolio-card__body {
  display: none;
}

.portfolio-card__location {
  margin: 0;
  color: #2f6f54;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-card h3,
.portfolio-card p {
  margin: 0;
}

.portfolio-card h3 {
  font-size: 20px;
  line-height: 1.2;
}

.portfolio-card__body > p:not(.portfolio-card__location) {
  color: var(--muted);
}

.section--consultation {
  background: #fff;
}

.consultation-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 64px;
  align-items: start;
}

.consultation-form__copy h2 {
  max-width: 640px;
  margin: 0;
  color: #30343a;
  font-family: 'Unbounded', Montserrat, Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.12;
}

.consultation-form__subtitle,
.consultation-form__lead,
.consultation-form__copy ol,
.consultation-form__card p {
  color: #4f5964;
}

.consultation-form__subtitle {
  margin: 10px 0 28px;
  font-size: 20px;
}

.consultation-form__lead {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
}

.consultation-form__copy ol {
  max-width: 560px;
  margin: 0;
  padding-left: 22px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.consultation-form__card {
  display: grid;
  gap: 18px;
  padding-top: 48px;
}

.consultation-form__card h3 {
  margin: 0;
  color: #30343a;
  font-size: 20px;
  line-height: 1.25;
}

.consultation-form__card p {
  margin: 0;
}

.consultation-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
}

.consultation-form .button {
  width: 100%;
}

.section--catalog-cta {
  padding-top: 0;
  background: #f6f4ef;
}

.catalog-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background: #26312c;
  box-shadow: 0 24px 60px rgba(25, 33, 29, .20);
}

.catalog-cta h2 {
  max-width: 780px;
  margin: 0;
  font-family: 'Unbounded', Montserrat, Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.15;
}

.catalog-cta p {
  max-width: 620px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, .78);
}

.catalog-cta__media {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.catalog-cta__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.footer {
  color: #fff;
  background: #26312c;
}

.footer__inner {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__logo {
  width: 154px;
}

.footer a {
  text-decoration-color: rgba(255,255,255,.45);
}

.modal {
  width: min(720px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
}

.modal--consultation {
  width: min(980px, calc(100% - 32px));
}

.modal::backdrop {
  background: rgba(12, 18, 24, .62);
}

.modal__panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 32px;
}

.modal__panel--consultation {
  padding: 42px;
}

.modal__consultation {
  display: grid;
}

.modal__panel--consultation .consultation-form__card {
  padding-top: 26px;
}

.modal__panel--consultation .consultation-form input {
  min-height: 44px;
  border-radius: 6px;
  background: #fff;
}

.modal__visual {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: -32px -32px 4px;
  border-radius: 8px 8px 0 0;
  background: #26312c;
}

.modal__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__eyebrow {
  color: #2f6f54;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal__panel h2,
.policy h1 {
  margin: 0;
  line-height: 1.15;
}

.modal__panel p {
  margin: 0;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.modal input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--field);
  color: var(--ink);
}

.modal__success {
  min-height: 220px;
  display: grid;
  align-content: center;
  text-align: center;
}

.image-lightbox {
  width: min(1040px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(12, 18, 24, .28);
}

.image-lightbox::backdrop {
  background: rgba(12, 18, 24, .74);
}

.image-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 18, 24, .62);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.image-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 140px);
  border-radius: 8px;
  object-fit: contain;
  background: #111;
}

.image-lightbox__caption {
  min-height: 22px;
  margin: 12px 48px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.policy-page {
  background: var(--soft);
}

.policy {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.policy__back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 700;
}

.policy p {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.thanks-page {
  min-height: 100vh;
  color: #fff;
  background: #26312c;
}

.thanks-page__main {
  display: flex;
  width: min(100% - 40px, 760px);
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}

.thanks-page__brand img {
  width: 180px;
}

.thanks-page__content {
  max-width: 620px;
}

.thanks-page__content h1 {
  margin: 0;
  font-family: 'Unbounded', Montserrat, Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
}

.thanks-page__content p {
  margin: 24px 0 36px;
  color: #e4e4e4;
  font-size: 20px;
}

.thanks-page__content .button {
  width: min(100%, 360px);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero__shade .page-shell {
    min-height: auto;
  }

  .hero__shade {
    background: #fff;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 12px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand__logo {
    width: 122px;
  }

  .topbar__phone {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 14px;
    text-align: right;
  }

  .topbar__city {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    font-size: 12px;
    line-height: 1.3;
  }

  .topbar .button {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 0;
  }

  .hero__content {
    display: contents;
  }

  .hero h1 {
    order: 1;
    font-size: 22px;
    line-height: 1.12;
  }

  .hero__bullets {
    order: 4;
    margin-top: 4px;
    font-size: 13px;
  }

  .hero__actions,
  .gifts,
  .advantages {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    order: 5;
    max-width: none;
    gap: 10px;
    margin-top: 4px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .button--primary {
    min-height: 56px;
    padding: 18px 28px;
  }

  .button--ghost {
    min-height: 46px;
    padding: 12px 20px;
  }

  .hero__note {
    order: 2;
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero__visual {
    order: 3;
    width: 100%;
    justify-self: stretch;
    aspect-ratio: 1.45 / 1;
    max-height: 248px;
  }

  .hero__highlights {
    grid-template-columns: 1fr;
    align-self: stretch;
    gap: 10px;
    max-width: none;
    margin: 0 0 28px;
    padding: 14px;
  }

  .hero__highlight {
    gap: 12px;
    min-height: auto;
    padding: 18px;
  }

  .hero__highlight img {
    display: none;
  }

  .hero__highlight h3 {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .hero__highlight p {
    font-size: 13px;
  }

  .gifts__image {
    justify-self: center;
    max-width: 220px;
  }

  .section {
    padding: 48px 0;
  }

  .section__header h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  .quiz-shell {
    padding: 18px;
  }

  .quiz-layout,
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-main h3 {
    font-size: 23px;
    line-height: 1.2;
  }

  .quiz-option:has(img) {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: stretch;
  }

  .quiz-option img {
    width: 96px;
    height: 86px;
  }

  .quiz-option:has(img) .quiz-option__body {
    min-width: 0;
    padding: 10px 12px;
  }

  .quiz-side {
    min-height: 260px;
  }

  .quiz-actions {
    flex-wrap: wrap;
  }

  .quiz-actions .button {
    flex: 1 1 140px;
  }

  .portfolio__stats,
  .consultation-form,
  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    width: 86%;
  }

  .portfolio-card.is-prev {
    transform: translateX(-104%) scale(.82);
  }

  .portfolio-card.is-next {
    transform: translateX(4%) scale(.82);
  }

  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .consultation-form__copy h2 {
    font-size: 26px;
  }

  .consultation-form__subtitle,
  .consultation-form__lead,
  .consultation-form__copy ol {
    font-size: 16px;
  }

  .consultation-form__card {
    padding-top: 0;
  }

  .portfolio__stats strong {
    font-size: 26px;
  }

  .catalog-cta {
    gap: 22px;
    padding: 22px;
  }

  .catalog-cta__media {
    order: -1;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }

  .thanks-page__main {
    gap: 42px;
  }

  .thanks-page__content p {
    font-size: 17px;
  }

  .modal__panel {
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 26px 18px;
  }

  .modal__consultation {
    grid-template-columns: 1fr;
  }

  .modal__visual {
    margin: -26px -18px 2px;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox__image {
    max-height: calc(100dvh - 112px);
  }

  .image-lightbox__caption {
    margin-right: 44px;
    font-size: 14px;
  }
}
