/* =========================================================
   Лендинг «Корпоративные подарки» — page-corporate.php

   Макет Figma frame 2450:1424 (1920 × 6110):
   контентная колонка 1232px внутри области 1440 (паддинг 104).
   ========================================================= */

@font-face {
  font-family: "Bickham Script One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("../fonts/bickham/BickhamScriptOne.woff2") format("woff2"),
    url("../fonts/bickham/BickhamScriptOne.woff") format("woff"),
    url("../fonts/bickham/BickhamScriptOne.ttf") format("truetype");
}

/* Модалка согласия рендерится после </main>, то есть вне .corp. Без неё
   в этом списке переменные внутри диалога не разрешаются, и шрифты
   откатываются на тему (кнопка закрытия уезжала в Georgia). */
.corp,
.corp-modal {
  --corp-navy:   #0d1d35;
  --corp-gold:   #e6b156;
  --corp-red:    #d2233d;
  --corp-red-h:  #bc2649;
  --corp-gray:   #f3f3f3;
  --corp-text:   #070707;
  --corp-muted:  #60605e;
  --corp-smoke:  #8f8f8f;
  --corp-tarmac: #222222;

  --corp-container: 1440px;
  --corp-content: 1232px;
  --corp-pad: 104px;
  --corp-radius-lg: 24px;
  --corp-radius-xl: 30px;
  --corp-radius-btn: 15px;

  --corp-sans:   "FuturaBook", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  --corp-medium: "FuturaMedium", "FuturaBook", "Helvetica Neue", Arial, sans-serif;
  --corp-serif:  "Times New Roman", Times, serif;
  --corp-script: "Bickham Script One", "Apple Chancery", "Segoe Script", cursive;

  font-family: var(--corp-sans);
  font-size: 18px;
  line-height: 1.4;
  color: var(--corp-text);
  background: #fff;
}

.corp *, .corp *::before, .corp *::after { box-sizing: border-box; }

/* Своя реализация: класс объявлен в style.css темы, но лендинг не должен
   от неё зависеть — при смене темы подписи полей формы иначе станут видимыми. */
.corp .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.corp img { max-width: 100%; display: block; }
.corp ul { margin: 0; padding: 0; list-style: none; }
.corp p, .corp dl, .corp dd, .corp dt { margin: 0; }

.corp h1,
.corp h2 {
  margin: 0;
  padding: 0;
  font-family: var(--corp-sans);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--corp-text);
  border: 0;
}
.corp h1::after,  .corp h2::after,
.corp h1::before, .corp h2::before { content: none; }

.corp .corp-container {
  width: 100%;
  max-width: var(--corp-container);
  margin: 0 auto;
  padding: 0 var(--corp-pad);
  float: none;
}

/* ---------- Кнопки — Figma: Futura PT Medium 450, 20px / 120%, #fff ---------- */

.corp .corp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px;
  border: 1px solid var(--corp-red);
  border-radius: var(--corp-radius-btn);
  font-family: "FuturaMedium", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 450;
  font-style: normal;
  line-height: 1.2; /* 120% */
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.corp .corp-btn--primary,
.corp .corp-btn--primary:link,
.corp .corp-btn--primary:visited,
.corp a.corp-btn--primary,
.corp a.corp-btn--primary:link,
.corp a.corp-btn--primary:visited {
  background: var(--corp-red);
  color: #fff !important; /* override theme `a { color:#baa079 !important }` */
}
.corp .corp-btn--primary:hover,
.corp .corp-btn--primary:focus,
.corp a.corp-btn--primary:hover,
.corp a.corp-btn--primary:focus {
  background: var(--corp-red-h);
  border-color: var(--corp-red-h);
  color: #fff !important;
}
.corp .corp-btn__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  /* Стрелка в макете повёрнута −90° от download-иконки */
  transform: rotate(-90deg);
}

/* ---------- Hero — 1232×619, radius 24, Bickham 138/108 ---------- */

.corp .corp-hero {
  /*
   * Figma: ~75px от низа логотипа до баннера (Header-Peroni 191 → hero 266).
   * #logo absolute (~179px) свисает ниже in-flow шапки на ~60px,
   * поэтому padding-top = свисание + 75 ≈ 140.
   */
  padding: 140px 0 0;
}

.corp .corp-hero__banner {
  position: relative;
  max-width: var(--corp-content);
  margin: 0 auto;
  border-radius: var(--corp-radius-lg);
  overflow: hidden;
  background: #e4e4e4;
}
.corp .corp-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1232 / 619;
  object-fit: cover;
}
.corp .corp-hero__title {
  position: absolute;
  /* Figma: left 409 on 1920 → ~65px inside 1232 hero; width 579 ≈ 47% */
  left: 5.3%;
  /* Центрируем по вертикали именно блок целиком: при top в процентах без
     сдвига якорем становится верхняя кромка, и трёхстрочный заголовок
     визуально проваливается ниже середины баннера. */
  top: 50%;
  transform: translateY(-50%);
  max-width: 47%;
  font-family: var(--corp-script);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(42px, 11.2vw, 138px);
  line-height: 0.783; /* 108/138 */
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

/* ---------- Intro — Times Italic 24/24 #60605e ---------- */

.corp .corp-intro {
  /* Figma Title & Text: ~102px от низа hero-баннера до текста (top 56 внутри блока + зазор) */
  padding: 100px 0 48px;
}
.corp .corp-intro__text {
  max-width: var(--corp-content);
  margin: 0 auto;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  color: #60605e;
}

/* ---------- Cards — 580×580, radius 24, gap 24, gray band ---------- */

.corp .corp-cards {
  padding: 48px 0 86px;
  background: var(--corp-gray);
}

.corp .corp-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 580px));
  justify-content: center;
  gap: 48px 24px;
  max-width: var(--corp-content);
  margin: 0 auto;
}
.corp .corp-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.corp .corp-card__media {
  display: block;
  width: 100%;
  max-width: 580px;
  border-radius: var(--corp-radius-lg);
  overflow: hidden;
  background: #e4e4e4;
  aspect-ratio: 1 / 1;
}
.corp .corp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corp .corp-card__caption {
  display: block;
  width: 100%;
  max-width: 450px;
  min-height: 96px;
  font-family: var(--corp-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  color: #000;
}

/* ---------- Discounts — image bg, gold #e6b156, radius 30 ---------- */

.corp .corp-discounts {
  padding: 48px 0 0;
}

.corp .corp-discounts__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: var(--corp-content);
  margin: 0 auto;
  min-height: 464px;
  padding: 64px 112px 64px 72px;
  border-radius: var(--corp-radius-xl);
  overflow: hidden;
  color: var(--corp-gold);
  background-color: #0d1d35;
  /* Готовый кадр из Figma (node 2450:1558) — лучи справа сверху */
  background-image: var(--corp-discount-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.corp .corp-discounts__card::before {
  content: none;
}
.corp .corp-discounts__title,
.corp .corp-discounts__list {
  position: relative;
  z-index: 1;
}
.corp .corp-discounts__title {
  font-family: var(--corp-sans);
  font-weight: 400;
  font-size: 64px;
  line-height: 44px;
  letter-spacing: 0;
  text-align: center;
  color: var(--corp-gold);
}
.corp .corp-discounts__list {
  display: grid;
  gap: 66px;
  justify-self: end;
  width: 100%;
  max-width: 370px;
}
.corp .corp-discounts__value {
  font-family: var(--corp-sans);
  font-weight: 400;
  font-size: 96px;
  line-height: 44px;
  letter-spacing: 0;
  color: var(--corp-gold);
}
.corp .corp-discounts__note {
  margin-top: 8px;
  font-family: var(--corp-medium);
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  color: var(--corp-gold);
}

/* ---------- Form — #0d1d35, radius 30, fields radius 15 ---------- */

.corp .corp-lead {
  padding: 48px 0 56px;
}

.corp .corp-lead__card {
  position: relative;
  max-width: var(--corp-content);
  margin: 0 auto;
  padding: 44px 72px 56px;
  border-radius: var(--corp-radius-xl);
  background: var(--corp-navy);
  color: #fff;
}
.corp .corp-lead__badge {
  position: absolute;
  top: 38px;
  right: 34px;
  display: block;
  width: 80px;
  height: 70px;
  background: transparent;
}
.corp .corp-lead__badge-bg,
.corp .corp-lead__badge-icon {
  position: absolute;
  display: block;
  max-width: none;
  background: transparent;
}
/* Figma Iconly/Glass/Chat: красный пузырь снизу-справа, glass+? сверху-слева */
.corp .corp-lead__badge-bg {
  left: 34%;
  top: 28%;
  width: 66%;
  height: 72%;
}
.corp .corp-lead__badge-icon {
  left: 0;
  top: 0;
  right: 16%;
  bottom: 8%;
  width: auto;
  height: auto;
}

.corp .corp-lead__title {
  font-family: var(--corp-sans);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
  color: #fff;
}
.corp .corp-lead__subtitle {
  margin-top: 20px;
  font-family: var(--corp-medium);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  color: #fff;
}

.corp .corp-notice {
  max-width: 800px;
  margin: 24px auto 0;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  color: #fff;
}
.corp .corp-notice--ok  { background: rgba(70,170,110,.20); border: 1px solid rgba(70,170,110,.55); }
.corp .corp-notice--err { background: rgba(210,35,61,.20);  border: 1px solid rgba(210,35,61,.6); }

.corp .corp-form {
  max-width: 800px;
  margin: 42px auto 0;
}

.corp .corp-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.corp .corp-field { margin: 0; }
.corp .corp-field + .corp-field { margin-top: 12px; }

.corp .corp-field__input {
  width: 100%;
  max-width: none;
  height: 60px;
  /* Figma: pl-16 pr-24 py-16 + items-start — текст у верхнего края, не по центру */
  padding: 14px 24px 30px 16px;
  border: 1px solid rgba(67, 62, 89, .1);
  border-radius: var(--corp-radius-btn);
  background: #fff;
  color: #252628;
  font-family: "TT Interfaces", "TTInterfaces", Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.2; /* 120% */
  letter-spacing: 0;
  box-shadow: none;
  /* Vertical trim: Cap height (Chromium) */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.corp .corp-field__input::placeholder,
.corp .corp-field__input::-webkit-input-placeholder {
  font-family: "TT Interfaces", "TTInterfaces", Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  /* Figma: fill #252628 + layer opacity 40% */
  color: rgba(37, 38, 40, 0.4);
  opacity: 1;
}
.corp .corp-field__input::-moz-placeholder {
  font-family: "TT Interfaces", "TTInterfaces", Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  color: rgba(37, 38, 40, 0.4);
  opacity: 1;
}
.corp .corp-field__input:focus {
  outline: 2px solid var(--corp-gold);
  outline-offset: 1px;
}
.corp .corp-field__input--area {
  height: 120px;
  resize: vertical;
  min-height: 120px;
  /* textarea уже top-aligned; оставляем верхний паддинг как у инпутов */
  padding: 14px 24px 16px 16px;
}

.corp .corp-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  cursor: pointer;
}
.corp .corp-consent__box {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.corp .corp-consent__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 5px;
  background: var(--corp-red);
}
.corp .corp-consent__mark img {
  width: 10px;
  height: 7px;
  opacity: 0;
  transition: opacity .12s ease;
}
.corp .corp-consent__box:checked + .corp-consent__mark img,
.corp .corp-consent:has(.corp-consent__box:checked) .corp-consent__mark img {
  opacity: 1;
}
.corp .corp-consent__box:focus-visible + .corp-consent__mark {
  outline: 2px solid var(--corp-gold);
  outline-offset: 2px;
}
.corp .corp-consent__text {
  font-family: var(--corp-medium);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.6);
}
.corp .corp-consent__text a,
.corp .corp-consent__text a:link,
.corp .corp-consent__text a:visited {
  font-family: "FuturaMedium", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 450;
  font-style: normal;
  font-size: 13px;
  line-height: 1.4; /* 140% */
  letter-spacing: 0;
  color: #fff !important; /* override theme `a { color:#baa079 !important }` */
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 0;
  text-decoration-thickness: auto;
}
.corp .corp-consent__text a:hover,
.corp .corp-consent__text a:focus {
  color: var(--corp-gold) !important;
}

/* ---------- Consent modal ---------- */

.corp-modal {
  padding: 0;
  border: 0;
  max-width: min(720px, calc(100vw - 32px));
  max-height: min(80vh, 720px);
  background: transparent;
  color: #222;
}
.corp-modal::backdrop {
  background: rgba(13, 29, 53, .72);
}
.corp-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(80vh, 720px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.corp-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.corp-modal__close:hover,
.corp-modal__close:focus {
  color: var(--corp-red, #d2233d);
}
.corp-modal__body {
  padding: 28px 28px 32px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 1.45;
  color: #222;
}
.corp-modal__title {
  margin: 0 36px 8px 0;
  font-family: "FuturaBook", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  color: #070707;
}
.corp-modal__meta {
  margin: 0 0 20px;
  color: #8f8f8f;
  font-size: 13px;
}
.corp-modal__heading {
  margin: 20px 0 8px;
  font-family: "FuturaBook", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  color: #070707;
}
.corp-modal__body p {
  margin: 0 0 10px;
}
.corp-modal__body a {
  color: #0d1d35 !important;
  text-decoration: underline;
}

.corp .corp-form__submit {
  margin: 32px auto 0;
  display: flex;
  min-width: 266px;
}

/* ---------- Reasons — title 54/44, icons 150 + border 2 ---------- */

.corp .corp-reasons {
  padding: 32px 0 72px;
}

.corp .corp-reasons__title {
  margin-bottom: 32px;
  font-family: var(--corp-sans);
  font-weight: 400;
  font-size: 54px;
  line-height: 44px;
  text-align: center;
  text-transform: none;
  color: var(--corp-text);
}
.corp .corp-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 394px));
  justify-content: center;
  gap: 40px 8px;
  max-width: var(--corp-content);
  margin: 0 auto;
}
.corp .corp-reason {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 20px 0;
}
.corp .corp-reason__media {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--corp-text);
  background: #ddd9d3;
}
.corp .corp-reason__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corp .corp-reason__text {
  max-width: 262px;
  font-family: var(--corp-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--corp-text);
}

/* ---------- Gallery — gray band, 464 squares, fade ---------- */

.corp .corp-gallery {
  padding: 80px 0;
  background: var(--corp-gray);
  overflow: hidden;
}

.corp .corp-gallery__inner {
  display: grid;
  grid-template-columns: 462px 1fr;
  align-items: center;
  gap: 89px;
  max-width: none;
}
.corp .corp-gallery__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.corp .corp-gallery__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #070707;
  border-radius: 100px;
  background: #fff;
  color: var(--corp-text);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.corp .corp-gallery__arrow img {
  width: 8px;
  height: 16px;
}
.corp .corp-gallery__arrow:hover {
  border-color: var(--corp-gold);
}

/* Figma: Futura PT Book 54/44 #222; subtitle Times Regular 24/28 #8f8f8f */
.corp h2.corp-gallery__title,
.corp .corp-gallery__title {
  margin: 0;
  font-family: "FuturaBook", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 54px;
  line-height: 44px;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  color: #222;
}
.corp .corp-gallery__subtitle {
  margin: 24px 0 0;
  max-width: 462px;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
  text-align: left;
  color: #8f8f8f;
}
.corp .corp-gallery__aside .corp-btn {
  margin-top: 47px;
}

.corp .corp-gallery__viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.corp .corp-gallery__slides {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}
.corp .corp-gallery__slide {
  margin: 0;
  flex: none;
  width: 464px;
  height: 464px;
  border-radius: var(--corp-radius-lg);
  overflow: hidden;
  background: #e4e4e4;
}
.corp .corp-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corp .corp-gallery__slide--peek {
  width: 241px;
  height: 397px;
  border-radius: 16px;
}
.corp .corp-gallery__fade {
  position: absolute;
  top: -40px;
  right: 0;
  width: 200px;
  height: calc(100% + 80px);
  background: linear-gradient(to left, var(--corp-gray) 0%, rgba(243,243,243,0) 100%);
  pointer-events: none;
}

/* ---------- Clients ---------- */

.corp .corp-clients {
  padding: 72px 0 80px;
  background: #fff;
}

.corp .corp-clients__title {
  margin-bottom: 20px;
  font-family: "FuturaBook", "Futura PT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 54px;
  line-height: 44px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  color: #070707;
}
.corp .corp-clients__track-wrap {
  position: relative;
  max-width: var(--corp-content);
  margin: 0 auto;
  overflow: hidden;
}
.corp .corp-clients__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 8px 0;
}
.corp .corp-clients__item {
  margin: 0;
  flex: none;
  display: grid;
  place-items: center;
  width: 189px;
  height: 89px;
  border-radius: 20px;
  background: #fff;
  opacity: .6;
}
.corp .corp-clients__item img {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.corp .corp-clients__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
}
.corp .corp-clients__fade--left {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.corp .corp-clients__fade--right {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* ---------- Контент из админки ---------- */

.corp .corp-content { padding: 0 0 64px; }

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 1440px) {
  .corp {
    --corp-pad: clamp(20px, 5.4vw, 104px);
  }
}

@media (max-width: 1200px) {
  /* intro: keep Figma Times Italic 24/24 #60605E — do not scale down */
  .corp .corp-card__caption { font-size: 27px; line-height: 32px; min-height: 0; }
  .corp .corp-discounts__card { padding: 48px 44px; min-height: 360px; }
  .corp .corp-discounts__title { font-size: 48px; line-height: 1.1; }
  .corp .corp-discounts__value { font-size: 74px; line-height: 1; }
  .corp .corp-discounts__note { font-size: 20px; line-height: 1.3; }
  .corp .corp-lead__card { padding: 40px 36px 44px; }
  .corp .corp-lead__title { font-size: 32px; }
  .corp .corp-lead__subtitle { font-size: 18px; line-height: 1.3; }
  .corp .corp-reasons__title,
  .corp .corp-clients__title { font-size: 40px; line-height: 1.15; }
  /* gallery title/subtitle: keep Figma 54/44 + 24/28 — do not scale */
  .corp .corp-gallery__inner { grid-template-columns: 360px 1fr; gap: 40px; }
  .corp .corp-gallery__slide { width: 360px; height: 360px; }
}

@media (max-width: 900px) {
  .corp .corp-hero { padding-top: 32px; }
  .corp .corp-hero__title { max-width: 70%; }
  .corp .corp-cards__grid { grid-template-columns: 1fr; gap: 32px; }
  .corp .corp-discounts__card {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    justify-items: center;
  }
  .corp .corp-discounts__list { justify-self: center; }
  .corp .corp-reasons__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .corp .corp-gallery__inner { grid-template-columns: 1fr; gap: 36px; }
  .corp .corp-gallery__fade,
  .corp .corp-gallery__slide--peek { display: none; }
  .corp .corp-gallery__slides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .corp .corp-gallery__slide {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .corp .corp-clients__list { flex-wrap: wrap; gap: 16px 24px; }
  .corp .corp-clients__fade { display: none; }
}

@media (max-width: 600px) {
  .corp { font-size: 16px; }
  .corp .corp-hero__img { aspect-ratio: 4 / 3; }
  .corp .corp-hero__title {
    left: 6%;
    right: 6%;
    max-width: none;
    font-size: 42px;
  }

  .corp .corp-intro { padding: 28px 0 34px; }
  /* intro typography stays Times Italic 24/24 #60605E from Figma */

  .corp .corp-cards { padding: 36px 0 44px; }
  .corp .corp-card__caption { font-size: 22px; line-height: 28px; }

  .corp .corp-discounts__card { padding: 34px 24px; min-height: 0; }
  .corp .corp-discounts__title { font-size: 34px; }
  .corp .corp-discounts__value { font-size: 52px; }
  .corp .corp-discounts__note { font-size: 16px; }
  .corp .corp-discounts__list { gap: 28px; }

  /* Заголовок здесь во всю ширину карточки и заезжал под бейдж, который
     позиционирован абсолютно. Отодвигаем содержимое ниже бейджа: он
     занимает полосу 14…62px, поэтому padding-top = 76px. */
  .corp .corp-lead__card { padding: 76px 20px 38px; }
  .corp .corp-lead__title { font-size: 24px; }
  .corp .corp-lead__subtitle { font-size: 15px; line-height: 1.35; }
  .corp .corp-lead__badge { right: 16px; top: 14px; width: 56px; height: 48px; }
  /* На мелком размере красный пузырь из-за иконки только мусорит — оставляем
     один матовый значок с вопросом. На десктопе пара сохраняется. */
  .corp .corp-lead__badge-bg { display: none; }
  .corp .corp-lead__badge-icon { right: 0; bottom: 0; }
  .corp .corp-field__input { font-size: 16px; } /* iOS zoom */

  .corp .corp-reasons { padding: 28px 0 48px; }
  .corp .corp-reasons__title,
  .corp .corp-clients__title { font-size: 28px; margin-bottom: 24px; }
  /* gallery title stays Figma sizes; only tighten spacing on small screens */
  .corp h2.corp-gallery__title,
  .corp .corp-gallery__title { margin-bottom: 0; }
  .corp .corp-reasons__grid { grid-template-columns: 1fr; gap: 28px; }
  .corp .corp-reason__text { font-size: 16px; line-height: 22px; }

  .corp .corp-gallery { padding: 44px 0; }
  .corp .corp-gallery__slides { grid-template-columns: 1fr; }
  .corp .corp-gallery__aside .corp-btn { margin-top: 24px; }

  .corp .corp-clients { padding: 44px 0 48px; }
  .corp .corp-clients__item { width: 140px; height: 70px; }
  .corp .corp-clients__item img { max-height: 52px; }
}
