/* ==========================================================================
   Главная страница
   ========================================================================== */

/* --- 1. Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  padding: clamp(110px, 16vh, 150px) var(--pad-x) clamp(40px, 7vh, 80px);
}

.hero__body {
  position: relative;
  z-index: 3;
  /* Текстовый блок центрируется в пустом пространстве слева от фото */
  justify-self: center;
}

.hero__eyebrow { margin-bottom: 26px; }

.hero__title {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: 11em;
}

.hero__text {
  max-width: 26em;
  margin-bottom: 38px;
  line-height: 1.8;
}

.hero__hand {
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: clamp(26px, 4vh, 44px);
  transform: rotate(-3deg);
}

.hero__media {
  position: relative;
  height: min(70vh, 680px);
  padding: 0 clamp(20px, 4vw, 74px);
}

.hero__photo {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--sh-hero);
}

/* Кадр прижат к верху, чтобы лица пары были видны целиком */
.hero__photo img { object-position: 50% 8%; }

/* Длинная стрелка в кнопке героя, как в макете */
.btn__arrow-long {
  display: inline-flex;
  align-items: center;
  width: 34px;
}

.btn__arrow-long svg { width: 100%; height: 10px; }

/* Записки лежат на самом фото; розовая и кремовая свисают за край, как в макете */
.hero__note--1 { left: 4%;  top: 38%;  width: 170px; transform: rotate(-4deg); }

.hero__note--2 {
  right: clamp(-4px, .6vw, 14px);
  top: 8%;
  width: 124px;
  padding: 30px 16px 32px;
  transform: rotate(3deg);
}

.hero__note--3 {
  right: 0;
  bottom: -7%;
  width: 208px;
  padding: 24px 20px;
  text-align: left;
  box-shadow: var(--sh-note-lg);
}

.hero__note--2 .note__tape { transform: translateX(-50%) rotate(-3deg); width: 78px; }

/* --- 2. Лента ценностей ---------------------------------------------------- */

.values {
  background: var(--pink);
  color: var(--ink);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
}

.values__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 30px);
  text-align: left;
  border-right: 1px solid var(--line-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.values__icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  color: var(--coral-deep);
}

.values__item:last-child { border-right: none; }

/* --- 3. О нас -------------------------------------------------------------- */

.about {
  padding: clamp(60px, 9vh, 110px) var(--pad-x) clamp(64px, 10vh, 120px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.about__intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--gap-col);
  align-items: start;
  margin-bottom: clamp(50px, 9vh, 110px);
}

.about__tag { margin-bottom: 26px; }

.about__title {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 68px);
  line-height: 1.02;
  text-transform: uppercase;
}

.about__title .accent { font-size: 1.26em; }

/* Рукописная приписка — в одном стиле с «Искренность во всём ♡» и другими,
   контурная обводка из макета убрана по просьбе заказчицы */
.about__motto {
  display: inline-block;
  font-family: var(--hand);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.3;
  color: var(--green);
  margin: 12px 0 0 clamp(0px, 4vw, 64px);
  transform: rotate(-2deg);
}

.about__text { padding-top: clamp(0px, 3vw, 58px); }

/* Команда */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 60px);
}

.team__item { position: relative; }
.team__item--drop { margin-top: clamp(20px, 5vh, 60px); }

/* Рамка держит пропорцию присланных портретов (2:3) —
   фиксированная высота резала макушки на невысоких экранах */
.team__frame {
  height: auto;
  aspect-ratio: 2 / 3;
}

.team__item:nth-child(1) .team__frame { transform: rotate(-1.5deg); }
.team__item:nth-child(2) .team__frame { transform: rotate(2deg); }
.team__item:nth-child(3) .team__frame { transform: rotate(-2.5deg); }

.team__caption {
  position: absolute;
  bottom: -18px;
  background: var(--green);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: var(--r-sticker);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 84%;
  box-shadow: var(--sh-note);
}

.team__item:nth-child(1) .team__caption { left: -14px;  transform: rotate(-3deg); }
.team__item:nth-child(2) .team__caption { right: -14px; transform: rotate(3deg); }
.team__item:nth-child(3) .team__caption { left: -14px;  transform: rotate(-2deg); }

.team__role {
  font-weight: 400;
  opacity: .85;
}

/* Фразы разведены по высоте, чтобы соседние не наезжали друг на друга
   в зазоре между фотографиями */
.team__item:nth-child(1) .phrase { right: -26px; bottom: 44%; }
.team__item:nth-child(2) .phrase { left: -30px;  bottom: 8%; }
.team__item:nth-child(3) .phrase { right: -26px; bottom: 30%; }

/* --- 4. Услуги ------------------------------------------------------------- */

.services { padding: clamp(56px, 8vh, 104px) var(--pad-x) clamp(64px, 10vh, 120px); }

.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vh, 64px);
}

.services__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 82px);
  line-height: .98;
  text-transform: uppercase;
}

.services__title .accent { font-size: 1.3em; }

.services__note {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 24em;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.services__grid > * { min-width: 0; }

.service--span-7  { grid-column: span 7; }
.service--span-5  { grid-column: span 5; padding: clamp(28px, 3.2vw, 46px); }
.service--span-4  { grid-column: span 4; }
.service--span-12 { grid-column: span 12; }

.service--span-5 .service__title,
.service--span-7 .service__title { font-size: clamp(28px, 3vw, 48px); line-height: 1.05; }

.service--span-5 .service__title { font-size: clamp(26px, 2.7vw, 42px); margin-bottom: 14px; }
.service--span-7 .service__title { margin-bottom: 16px; }

.service--span-7 .service__text,
.service--span-5 .service__text { font-size: 16px; line-height: 1.8; opacity: .8; }
.service--span-7 .service__text { max-width: 32em; }
.service--span-5 .service__text { opacity: .78; }

.service--white .service__text { color: var(--text-2); opacity: 1; }

/* Широкая карточка с кнопкой — без наклона при наведении */
.service--wide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 0;
  padding: clamp(28px, 3.2vw, 48px);
  transition: none;
}

.service--wide .service__title {
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.service--wide .service__text {
  font-size: 16px;
  line-height: 1.8;
  opacity: .78;
  max-width: 40em;
}

.service--wide .badge { margin-bottom: 16px; }

/* --- 5. Как мы работаем ---------------------------------------------------- */

.process {
  background: var(--pink);
  border-top: 2px solid var(--ink);
  padding: clamp(56px, 9vh, 110px) var(--pad-x) 0;
}

.process .eyebrow {
  color: var(--ink);
  display: block;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 54px);
}

.step__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
  color: var(--ink);
}

.step__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 14px 0 10px;
}

.step__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
}

.process__cta {
  display: flex;
  justify-content: center;
  padding: clamp(34px, 6vh, 70px) 0 clamp(40px, 7vh, 80px);
}

/* Фото на всю ширину экрана, кадр целиком (пропорция зафиксирована) */
.process__media {
  position: relative;
  margin: 0 calc(-1 * var(--pad-x));
}

.process__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  height: auto;
}

.process__note {
  right: clamp(20px, 6vw, 90px);
  top: -34px;
  padding: 26px 22px 30px;
  font-size: 26px;
  line-height: 1.3;
  box-shadow: var(--sh-note-lg);
}

/* --- 6. Наши работы -------------------------------------------------------- */

.works {
  background: var(--blue);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: clamp(56px, 9vh, 110px) var(--pad-x) clamp(60px, 10vh, 120px);
}

.works__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.works .eyebrow {
  color: var(--green);
  display: block;
  margin-bottom: 26px;
}

.works__title {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.works__title .accent { font-size: 1.16em; }

.works__text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--on-blue);
  max-width: 24em;
  margin-bottom: 34px;
}

.works__hand {
  font-size: 26px;
  color: var(--green);
  margin-top: clamp(34px, 6vh, 70px);
  transform: rotate(-4deg);
}

.collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
  align-items: start;
}

.collage > figure { grid-column: span 3; }

.collage__media { position: relative; }

.collage__item--1 { margin-top: clamp(18px, 4vh, 50px); transform: rotate(-1.6deg); }
.collage__item--2 { transform: rotate(1.4deg); }
.collage__item--3 { transform: rotate(2deg); }
.collage__item--4 { margin-top: clamp(10px, 3vh, 40px); transform: rotate(-2.4deg); }

.collage__item--1 .collage__media { height: min(38vh, 340px); }
.collage__item--2 .collage__media { height: min(46vh, 420px); }
.collage__item--3 .collage__media { height: min(34vh, 300px); }
.collage__item--4 .collage__media { height: min(34vh, 300px); }

.polaroid__caption--top    { margin-bottom: 8px; }
.polaroid__caption--bottom { margin-top: 8px; }

/* --- 6.5 Почему мы: 7 преимуществ в 2 колонки, без рам ----------------------- */

.why {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 9vh, 110px) var(--pad-x);
}

.why__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.why__head { margin-bottom: clamp(34px, 6vh, 60px); }

.why__eyebrow {
  display: block;
  color: var(--pink);
  margin-bottom: 16px;
}

.why__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.why__title .accent { color: var(--pink); font-size: 1.2em; }

.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 100px);
}

.why__item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(20px, 3vh, 30px) 0;
  border-top: 1px solid rgba(239, 226, 209, .16);
}

.why__num {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  color: var(--pink);
  padding-top: 3px;
}

.why__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--cream);
}

.why__item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(239, 226, 209, .72);
  margin: 0;
}

/* Восьмая ячейка — рукописная подпись, закрывает сетку */
.why__item--hand {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Селектор сильнее, чем .why__item p — иначе подпись сжимается до 16px */
.why__list .why__hand {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.35;
  color: var(--pink);
  transform: rotate(-3deg);
}
@media (max-width: 860px) {
  .why__list { grid-template-columns: 1fr; }
}

/* --- 7. Отзывы ------------------------------------------------------------- */

.reviews {
  background: var(--white);
  padding: clamp(60px, 9vh, 110px) var(--pad-x);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.reviews__inner {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}

.reviews__head {
  text-align: center;
  margin-bottom: clamp(34px, 6vh, 64px);
}

.reviews__head .eyebrow {
  display: block;
  color: var(--coral-deep);
  margin-bottom: 14px;
}

.reviews__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.02;
  text-transform: uppercase;
}

.reviews__title .accent { font-size: 1.16em; }

/* Слайдер: страницы листаются по горизонтали */
.reviews__viewport { overflow: hidden; }

.reviews__track {
  display: flex;
  transition: transform .7s var(--ease-out);
}

.reviews__page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  gap: clamp(40px, 7vh, 80px);
  padding: 4px;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(30px, 5vh, 50px);
}

.reviews__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--line-2);
  font-size: 19px;
  color: var(--ink);
  transition: background .35s ease, transform .35s ease;
}

.reviews__arrow:hover {
  background: var(--pink);
  transform: scale(1.06);
}

.reviews__dots { display: flex; gap: 9px; }

.reviews__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}

.reviews__dot.is-active {
  background: var(--coral-deep);
  transform: scale(1.25);
}

.review {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.review--flip { grid-template-columns: 1fr 180px; }

.review__avatar {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--pink);
  box-shadow: 0 0 0 5px var(--cream);
}

.review--flip .review__avatar { border-color: var(--sage); }

.review__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.9vw, 46px);
  line-height: 1.28;
  margin-bottom: 20px;
}

.review__author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

/* --- 8. География ---------------------------------------------------------- */

.geo {
  background: var(--green);
  color: var(--cream);
  border-top: 2px solid var(--ink);
  padding: clamp(56px, 9vh, 110px) var(--pad-x);
}

.geo__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-col);
  align-items: center;
}

.geo .eyebrow {
  color: var(--pink);
  display: block;
  margin-bottom: 24px;
}

.geo__title {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 74px);
  line-height: 1;
  text-transform: uppercase;
}

.geo__title .accent { font-size: 1.2em; color: var(--pink); }

.geo__text {
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--on-green);
  max-width: 30em;
}

.geo__chips { margin-bottom: 30px; }

.geo__media { position: relative; }

.geo__frame {
  height: min(56vh, 520px);
  transform: rotate(1.6deg);
  box-shadow: 0 0 0 7px var(--white), 0 36px 62px -48px rgba(0, 0, 0, .8);
}

.geo__note {
  left: -38px;
  bottom: -24px;
  padding: 16px 20px;
  font-size: 26px;
  line-height: 1.15;
  text-align: left;
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .7);
}

/* --- 8.5 FAQ ----------------------------------------------------------------- */

.faq {
  background: var(--white);
  border-top: 2px solid var(--ink);
  padding: clamp(60px, 9vh, 110px) var(--pad-x);
}

.faq__inner {
  max-width: 880px;
  margin: 0 auto;
}

.faq__eyebrow {
  display: block;
  text-align: center;
  color: var(--coral-deep);
  margin-bottom: 14px;
}

.faq__title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: clamp(28px, 5vh, 50px);
}

.faq__title .accent { font-size: 1.2em; }

.faq__list { border-top: 1px solid var(--line-2); }

.faq__item { border-bottom: 1px solid var(--line-2); }

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: clamp(18px, 2.6vh, 26px) 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.3;
  transition: color .3s ease;
}

.faq__item summary:hover { color: var(--coral-deep); }
.faq__item summary::-webkit-details-marker { display: none; }

/* Кружок с плюсом; в открытом вопросе плюс превращается в минус */
.faq__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  position: relative;
  transition: background .35s ease, border-color .35s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq__icon::before { width: 12px; height: 1.6px; }
.faq__icon::after  { width: 1.6px; height: 12px; transition: opacity .3s ease; }

.faq__item[open] .faq__icon { background: var(--pink); border-color: var(--pink); }
.faq__item[open] .faq__icon::after { opacity: 0; }

.faq__item p {
  margin: 0;
  padding: 0 48px clamp(18px, 2.6vh, 26px) 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 46em;
}

.faq__hand {
  text-align: center;
  font-size: 24px;
  color: var(--green);
  margin-top: clamp(26px, 4vh, 40px);
  transform: rotate(-2deg);
}

.faq__hand a { color: var(--coral-deep); }

/* Блок «Контакты» (розовый конверт) общий с портфолио — стили в components.css */

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1140px) {
  .hero__media { height: auto; padding-right: 0; }
  .hero__photo { height: min(56vh, 480px); }

  /* Записки остаются стикерами на фото — компактные, по свободным зонам кадра */
  .hero__note--1,
  .hero__note--2,
  .hero__note--3 {
    position: absolute;
    width: auto;
    margin: 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    animation: none;
  }

  .hero__note--1 { left: 8px;  top: auto; bottom: 26%; max-width: 150px; transform: rotate(-4deg); }
  .hero__note--2 { right: 8px; top: 3%;   max-width: 135px; transform: rotate(4deg); }
  .hero__note--3 { right: 8px; bottom: 4%; left: auto; max-width: 175px; transform: rotate(5deg); }

  /* «Best moments» остаётся стикером на фото и на мобиле */
  .process__note {
    position: absolute;
    right: 12px;
    top: 12px;
    margin: 0;
    padding: 12px 16px;
    font-size: 22px;
    transform: rotate(3deg);
    animation: none;
  }

  .team__caption {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 18px;
    display: inline-block;
  }
}

@media (max-width: 1000px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero,
  .about__intro,
  .works__inner,
  .geo__inner {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 124px; }
  .hero__body { justify-self: stretch; }
  .hero__media { padding: 0; }
  .hero__photo { height: min(52vh, 420px); }

  .team { grid-template-columns: 1fr; }
  .team__item--drop { margin-top: 0; }
  /* GSAP пишет transform инлайном, поэтому сброс поворота нужен с !important —
     иначе на узких экранах карточки остаются наклонёнными */
  .team__item .team__frame { transform: none !important; }

  .services__grid > [class*='service--span'] { grid-column: 1 / -1; }
  .service--wide { grid-template-columns: 1fr; }

  .steps  { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__item:nth-child(2n) { border-right: none; }

  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage > figure { grid-column: span 1; transform: none !important; margin: 0; }

  .review,
  .review--flip { grid-template-columns: 1fr; }
  /* Фото поднимается наверх и в зеркальном отзыве тоже */
  .review--flip .review__avatar { order: -1; }

  .geo__frame { transform: none !important; }
}

/* Ниже 600px макет правил не задаёт: в две колонки блоки становятся тесными,
   поэтому раскладываем их в одну — так же, как было в первой версии дизайна. */
@media (max-width: 600px) {
  /* Телефон: секции дышат, но не зияют */
  .about   { padding-top: 48px; padding-bottom: 44px; }
  .services { padding-top: 40px; padding-bottom: 52px; }
  .process { padding-top: 44px; }
  .works   { padding-top: 48px; padding-bottom: 52px; }
  .why     { padding-top: 48px; padding-bottom: 52px; }
  .reviews { padding-top: 48px; padding-bottom: 48px; }
  .geo     { padding-top: 48px; padding-bottom: 52px; }
  .faq     { padding-top: 48px; padding-bottom: 48px; }
  .contact { padding-top: 48px; padding-bottom: 56px; }

  .about__intro { margin-bottom: 40px; }
  .team { gap: 34px; }
  .why__head { margin-bottom: 30px; }
  .pf-works__head { margin-bottom: 34px; }
  .reviews__head { margin-bottom: 30px; }
  .process__cta { padding: 26px 0 34px; }

  .values,
  .steps,
  .collage { grid-template-columns: 1fr; }

  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .values__item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 10px;
    font-size: 13px;
    line-height: 1.4;
    border-right: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
  }

  .values__item:nth-child(2n) { border-right: none; }
  .values__item:nth-child(n+3) { border-bottom: none; }
  .values__icon { width: 20px; height: 20px; }

  .service { min-height: 0; }

}

/* ==========================================================================
   Невысокие экраны (ноутбуки 768–820px по высоте, включая планшеты в альбоме).
   Ширина тут ни при чём — ужимаем только вертикаль, чтобы первый экран
   вмещал заголовок, кнопку и фото. На больших мониторах не срабатывает.
   ========================================================================== */

@media (max-height: 820px) and (min-width: 901px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .hero__eyebrow { margin-bottom: 16px; }

  .hero__title {
    font-size: clamp(32px, 4vw, 56px);
    margin-bottom: 20px;
  }

  .hero__text { margin-bottom: 24px; }

  .hero__hand {
    font-size: 24px;
    margin-top: 16px;
  }

  /* Фото подстраивается под остаток экрана: 100svh минус шапка и отступы */
  .hero__media {
    height: min(calc(100vh - 230px), 560px);
    height: min(calc(100svh - 230px), 560px);
  }

  .about,
  .services,
  .works,
  .why,
  .reviews,
  .geo {
    padding-top: clamp(44px, 7vh, 64px);
    padding-bottom: clamp(48px, 8vh, 72px);
  }

  .about__intro { margin-bottom: clamp(36px, 6vh, 56px); }
  .geo__frame { height: min(50vh, 420px); }
  .collage__item--2 .collage__media { height: min(42vh, 340px); }
}
