/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
  --color-primary: #3148b4;
  --color-primary-text: #3148b4;
  --color-accent: #ff471f;
  --color-accent-shadow: #cf4122;
  --color-accent-glow: rgba(190, 44, 13, 0.25);
  --color-surface: #ffffff;
  --color-surface-soft: #eeeeee;
  --color-surface-card: #f2f2f2;
  --color-text: #3e4147;
  --color-text-muted: rgba(62, 65, 71, 0.9);
  --color-white-72: rgba(255, 255, 255, 0.72);
  --color-white-45: rgba(255, 255, 255, 0.45);
  --color-overlay-light: rgba(238, 238, 238, 0.95);
  --color-black: #111;

  --font-body: "Noto Sans", sans-serif;
  --font-mono: "Fira Code", monospace;

  --sx: calc(100vw / 1440);
  --sy: calc(100vh / 900);
  --su: min(var(--sx), var(--sy));

  --content-max: 1182px;
  --content-gap: 48px;

  --radius-pill: 999px;
  --radius-card: 4px;

  --shadow-pill:
    0 1px 11px rgba(41, 47, 59, 0.05),
    0 5px 12px rgba(41, 47, 59, 0.15),
    0 2px 3px rgba(41, 47, 59, 0.12);
  --shadow-cta-accent:
    0 16px 27px var(--color-accent-glow),
    0 3px 0 var(--color-accent-shadow),
    inset 0 -2px 0 rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   3. Story Layout (Scroll-Driven Hero)
   ========================================================================== */

.preview-page {
  position: relative;
}

.story {
  position: relative;
  height: 480vh;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--color-surface);
}

.story-stage-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.story-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-surface);
}

/* ==========================================================================
   4. Hero Background & Ornaments
   ========================================================================== */

.hero-left-pane {
  position: absolute;
  inset: 0 auto 0 -6.6%;
  width: 52.99%;
  background: var(--color-primary);
}

.hero-ornament {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.hero-top-curve {
  left: -3.61%;
  top: 0;
  width: 37.92%;
  height: 90.78%;
}

.hero-bottom-curve {
  right: -1.11%;
  bottom: -11.56%;
  width: 30.14%;
  height: 41.56%;
}

/* ==========================================================================
   5. Hero Header
   ========================================================================== */

.hero-header {
  position: absolute;
  inset: 2.5% 6.11% auto 6.39%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
}

.brand-logo {
  width: calc(108 * var(--su));
  height: calc(18 * var(--su));
}

.brand-logo--blue {
  width: calc(96 * var(--su));
  height: calc(18 * var(--su));
}

.hero-nav {
  display: flex;
  gap: calc(34 * var(--su));
  margin-left: calc(180 * var(--su));
  font-family: var(--font-mono);
  font-size: calc(14 * var(--su));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-primary-text);
  white-space: nowrap;
}

.hero-nav a {
  transition: opacity 0.2s ease;
}

.hero-nav a:hover {
  opacity: 0.72;
}

.profile-button {
  position: relative;
  display: block;
  width: calc(48 * var(--su));
  height: calc(48 * var(--su));
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.profile-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-overlay-light);
}

.profile-icon {
  position: absolute;
  inset: calc(12 * var(--su));
  width: calc(24 * var(--su));
  height: calc(24 * var(--su));
  margin: auto;
}

/* ==========================================================================
   6. Hero Title
   ========================================================================== */

.hero-title {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
  z-index: 4;
}

.hero-title--intro {
  top: 32.33%;
  left: 55.49%;
  font-size: calc(60 * var(--su));
}

.hero-title-mark {
  position: absolute;
  inset: calc(-30 * var(--su)) calc(-100 * var(--su)) auto calc(180 * var(--su));
  width: calc(488 * var(--su));
  height: calc(324 * var(--su));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
/* ==========================================================================
   7. Hero Copy - Intro Phase
   ========================================================================== */

.hero-copy {
  position: absolute;
  right: 8.61%;
  width: 33.89%;
  z-index: 4;
}

.hero-copy--intro {
  top: 49.78%;
}

.hero-copy-text {
  margin: 0;
  max-width: 93.03%;
  font-size: calc(20 * var(--su));
  line-height: 1.4;
}

.hero-week-pill {
  position: absolute;
  top: calc(23 * var(--su));
  left: 48.77%;
  min-width: calc(98 * var(--su));
  height: calc(38 * var(--su));
  padding: calc(4 * var(--su)) calc(18 * var(--su));
  border-radius: calc(32 * var(--su));
  background: var(--color-surface);
  box-shadow: var(--shadow-pill);
  font-size: calc(20 * var(--su));
  line-height: calc(30 * var(--su));
  transform: rotate(-4deg);
}

.hero-arrow {
  position: absolute;
  left: calc(-152 * var(--su));
  top: calc(114 * var(--su));
  width: calc(98 * var(--su));
  height: calc(88 * var(--su));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--su));
  margin-top: calc(54 * var(--su));
}

.hero-actions-separator {
  font-size: calc(20 * var(--su));
  color: var(--color-text-muted);
}

/* ==========================================================================
   8. CTA Buttons
   ========================================================================== */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--su));
  min-height: calc(70 * var(--su));
  padding: calc(20 * var(--su)) calc(28 * var(--su));
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: calc(20 * var(--su));
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta--accent {
  min-width: calc(238 * var(--su));
  color: var(--color-surface);
  background: var(--color-accent);
  box-shadow: var(--shadow-cta-accent);
}

.cta--ghost {
  min-width: calc(202 * var(--su));
  color: var(--color-text);
  background: var(--color-surface-soft);
}

.cta--ghost img,
.cta--gift img {
  width: calc(28 * var(--su));
  height: calc(28 * var(--su));
}

.cta--compact {
  min-height: calc(56 * var(--su));
  min-width: calc(248 * var(--su));
  padding-inline: calc(30 * var(--su));
  font-size: calc(16 * var(--su));
}

.cta--gift {
  min-width: calc(314 * var(--su));
  font-size: calc(18 * var(--su));
}

/* ==========================================================================
   9. Hero Copy - Benefits Phase
   ========================================================================== */

.hero-copy--benefits {
  top: 20%;
  right: auto;
  left: 52%;
  width: 32%;
  opacity: 0;
  transform: translateY(calc(28 * var(--su)));
  pointer-events: none;
  /* margin-bottom: 50px; */
}

.benefits-heading-left {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 40%;
  opacity: 0;
  transform: translateY(calc(24 * var(--su)));
  pointer-events: none;
  z-index: 4;
}

.benefits-heading-title {
  max-width: calc(486 * var(--su));
  font-family: var(--font-mono);
  font-size: calc(48 * var(--su));
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--color-surface);
}

.benefits-heading {
  margin-bottom: calc(24 * var(--su));
  display: none;
}

.benefit {
  position: relative;
  margin-bottom: calc(98 * var(--su));
  padding-right: calc(120 * var(--su));
}

.benefit-hover-img {
  position: absolute;
  right: -30%;
  bottom: -80%;
  width: calc(220 * var(--su));
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translate(30%, 30%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.benefit:hover .benefit-hover-img {
  opacity: 1;
  transform: translate(0, 0);
}

.benefit-title {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--su));
  margin-bottom: calc(8 * var(--su));
  font-family: var(--font-mono);
  font-size: calc(28 * var(--su));
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.benefit-title img {
  width: calc(30 * var(--su));
  height: calc(30 * var(--su));
  object-fit: contain;
}

.benefit-label {
  position: relative;
  display: inline-block;
}

.benefit-svg {
  position: absolute;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.benefit-svg--comfort {
  left: -12%;
  top: -15%;
  width: 120%;
  height: 130%;
  opacity: 0;
  transform: scale(0.85);
}

.benefit-svg--savings {
  left: 0;
  bottom: -6px;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(6px);
}

.benefit-svg--flexibility {
  left: 0;
  bottom: -6px;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(6px);
}

.benefit:hover .benefit-svg--comfort {
  opacity: 1;
  transform: scale(1);
}

.benefit:hover .benefit-svg--savings {
  opacity: 1;
  transform: translateY(0);
}

.benefit:hover .benefit-svg--flexibility {
  opacity: 1;
  transform: translateY(0);
}

.benefit-svg--percent {
  left: -10%;
  top: -20%;
  width: 120%;
  height: 140%;
  opacity: 1;
  transform: none;
}

.benefit-label--percent {
  position: relative;
  display: inline-block;
}

.benefit p {
  margin: 0;
  font-size: calc(18 * var(--su));
  line-height: 1.32;
}

.accent-text {
  color: var(--color-accent);
}

.phase-title {
  display: none;
}
/* ==========================================================================
   10. Animated Scene - Socks (Direct Child of Stage, z-index: 9)
   ========================================================================== */

.scene-socks-wrap {
  position: absolute;
  left: 5%;
  top: 10.22%;
  width: 70%;
  height: 80.44%;
  z-index: 9;
  /* Декоративный слой: не должен перехватывать клики по кнопке «Да, пожалуйста». */
  pointer-events: none;
  will-change: transform, opacity;
}

.scene-socks-wrap img {
  user-select: none;
  -webkit-user-drag: none;
}

.scene-socks {
  position: absolute;
  left: 17%;
  top: 8.01%;
  width: 25%;
  filter: drop-shadow(-17px 4px 10px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   10b. Bag (Topmost Scene Layer - Direct Child of Stage, z-index: 10)
   ========================================================================== */

.scene-bag {
  position: absolute;
  left: 6%;
  top: 71%;
  width: 34%;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  filter: drop-shadow(-23px 27px 11px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   11. Hero Scroll Cue
   ========================================================================== */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 5.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--su));
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: calc(16 * var(--su));
  color: var(--color-white-72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
}

.scroll-cue-arrow {
  display: grid;
  place-items: center;
  width: calc(54 * var(--su));
  height: calc(54 * var(--su));
  border: 1px solid var(--color-white-45);
  border-radius: 50%;
  font-size: calc(28 * var(--su));
  line-height: 1;
}
/* ==========================================================================
   12. Content - Models Section
   ========================================================================== */

.content {
  position: relative;
  z-index: 2;
  background: var(--color-surface);
}

.models,
.gift,
.contacts {
  width: min(var(--content-max), calc(100% - 48px));
  margin-inline: auto;
}

.models {
  padding: 92px 0 62px;
}

.section-head h2,
.gift h2,
.contacts h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  width: 90%;
  /* text-transform: uppercase; */
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: var(--content-gap);
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.model-card--dark {
  background: var(--color-black);
  color: var(--color-surface);
}

.model-media {
  position: relative;
  height: 410px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
}

.model-media--layered {
  background: linear-gradient(180deg, #f0f0f0 0%, #ececec 100%);
}

.model-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-photo--cover {
  object-position: center;
}

.model-photo--back {
  object-fit: contain;
  padding: 18px;
  opacity: 0.98;
}

.model-photo--front {
  object-fit: contain;
  padding: 8px 20px 10px;
}

.model-photo--tilt {
  transform: rotate(20deg) scale(0.82);
}

.model-card h3 {
  margin: 0;
  max-width: 260px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-primary);
}

.model-dots {
  display: flex;
  gap: 10px;
}

.model-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-black);
}

.model-dots .is-active {
  background: var(--color-surface);
  border: 1px solid var(--color-black);
}

.models-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ==========================================================================
   13. Content - Gift Section
   ========================================================================== */

.gift {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 54px;
  padding: 86px 0 94px;
}

.gift-copy h2 {
  max-width: 510px;
  font-size: clamp(34px, 3.7vw, 50px);
  text-transform: none;
}

.gift-copy p {
  margin: 16px 0 34px;
  font-size: 20px;
  line-height: 1.4;
}

.gift-visual {
  position: relative;
  min-height: 474px;
}

.gift-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ==========================================================================
   14. Content - Contacts Section
   ========================================================================== */

.contacts {
  position: relative;
  padding: 10px 0 84px;
  text-align: center;
}

.contacts h2 {
  display: block;
  width: 100%;
  max-width: none;
}

.contacts-arrow {
  position: absolute;
  left: 78%;
  top: -20px;
  width: 500px;
  height: 148px;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.contacts-link {
  display: block;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 28px;
  /* На всю ширину: бренд слева, ссылки по центру, соцсети справа. */
  width: 100%;
  padding-block: 0 42px;
  padding-inline: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 42px;
  padding-top: 40px;
  font-size: 16px;
}

.footer-socials {
  display: flex;
  gap: 24px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
}
/* ==========================================================================
   16. Responsive - Tablet
   ========================================================================== */

@media (max-width: 1180px) {
  .models-grid {
    grid-template-columns: 1fr;
  }

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

  .gift-copy h2 {
    max-width: none;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    padding-top: 0;
  }

  .footer-socials {
    padding-top: 0;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 32px;
  }
}

/* ==========================================================================
   17. Responsive - Mobile
   ========================================================================== */

@media (max-width: 760px) {
  .models,
  .gift,
  .contacts {
    width: min(100% - 28px, var(--content-max));
  }

  .footer {
    padding-inline: 14px;
  }

  .story {
    height: 340vh;
  }

  .models {
    padding-top: 72px;
  }

  .model-media {
    height: 320px;
  }

  .model-card h3 {
    font-size: 20px;
  }

  .gift {
    gap: 28px;
    padding: 64px 0 76px;
  }

  .gift-visual {
    min-height: 320px;
  }

  .contacts {
    padding-bottom: 56px;
  }

  .contacts-arrow {
    width: 240px;
    height: 100px;
    top: 12px;
  }

  .contacts-link {
    font-size: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   18. Responsive refinements
   ========================================================================== */

@media (max-width: 1180px) {
  :root {
    --su: clamp(0.72px, calc(100vw / 1024), 1px);
  }

  .hero-header {
    inset-inline: 4%;
  }

  .hero-nav {
    gap: 22px;
    margin-left: 0;
    font-size: 13px;
  }

  .hero-title--intro {
    left: 52%;
    font-size: calc(52 * var(--su));
  }

  .hero-copy {
    right: 4%;
    width: 40%;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 14px;
  }

  .benefits-heading-left {
    left: 4%;
  }

  .hero-copy--benefits {
    left: 50%;
    width: 42%;
  }

  .benefit {
    margin-bottom: calc(64 * var(--su));
    padding-right: calc(72 * var(--su));
  }

  .models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-media {
    height: clamp(320px, 42vw, 410px);
  }
}

@media (max-width: 900px) {
  .hero-title--intro {
    left: 50%;
    font-size: calc(46 * var(--su));
  }

  .hero-copy {
    width: 44%;
  }

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

@media (max-width: 760px) {
  :root {
    --su: 1px;
  }

  .story {
    height: auto;
  }

  .story-sticky {
    position: relative;
    height: auto;
    min-height: 1240px;
    overflow: visible;
  }

  .story-stage-shell,
  .story-stage {
    position: relative;
    min-height: 1240px;
    overflow: hidden;
  }

  .story-stage {
    background:
      linear-gradient(
        to bottom,
        var(--color-primary) 0,
        var(--color-primary) 386px,
        var(--color-surface) 386px,
        var(--color-surface) 100%
      );
  }

  .hero-left-pane,
  .hero-ornament,
  .hero-title-mark,
  .hero-week-pill,
  .hero-arrow,
  .scroll-cue,
  .phase-title,
  .scene-bag {
    display: none;
  }

  .hero-header {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 14px;
    padding: 20px 14px 0;
  }

  .hero-header > svg {
    width: 112px;
    height: auto;
  }

  .hero-nav {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    margin: 0;
    color: var(--color-surface);
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  .profile-button {
    justify-self: end;
    width: 44px;
    height: 44px;
  }

  .profile-icon {
    inset: 10px;
    width: 24px;
    height: 24px;
  }

  .hero-title--intro {
    top: 414px;
    left: 14px;
    right: 14px;
    color: var(--color-text);
    font-size: clamp(34px, 9.6vw, 44px);
    line-height: 1.05;
  }

  .scene-socks-wrap {
    display: block;
    left: 0;
    top: 90px;
    width: 100%;
    height: 286px;
    z-index: 4;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .scene-socks {
    left: 50%;
    top: 0;
    width: min(40vw, 156px);
    transform: translateX(-50%) rotate(-7deg);
    filter: drop-shadow(-10px 18px 16px rgba(14, 31, 112, 0.32));
  }

  .hero-copy {
    left: 14px;
    right: 14px;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px);
  }

  .hero-copy--intro {
    top: 552px;
  }

  .hero-copy-text {
    max-width: none;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions-separator {
    display: none;
  }

  .cta {
    width: 100%;
    min-height: 56px;
    padding: 15px 18px;
    gap: 8px;
    font-size: 15px;
  }

  .cta--accent,
  .cta--ghost,
  .cta--compact,
  .cta--gift {
    min-width: 0;
  }

  .cta--ghost img,
  .cta--gift img {
    width: 24px;
    height: 24px;
  }

  .benefits-heading-left {
    top: 768px;
    left: 14px;
    right: auto;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px);
    opacity: 1;
    transform: none;
  }

  .benefits-heading-title {
    max-width: none;
    color: var(--color-primary);
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.1;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .hero-copy--benefits {
    top: 850px;
    left: 14px;
    right: 14px;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .benefit {
    margin-bottom: 24px;
    padding-right: 0;
  }

  .benefit-title {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 20px;
  }

  .benefit-title img {
    width: 24px;
    height: 24px;
  }

  .benefit p {
    font-size: 16px;
    line-height: 1.42;
  }

  .benefit-hover-img,
  .benefit-svg {
    display: none;
  }

  .models,
  .gift,
  .contacts {
    width: min(100% - 28px, var(--content-max));
  }

  .models {
    padding: 54px 0 40px;
  }

  .section-head h2,
  .gift h2,
  .contacts h2 {
    width: 100%;
    font-size: clamp(30px, 9vw, 38px);
  }

  .models-grid {
    gap: 28px;
    margin-top: 30px;
  }

  .model-media {
    height: clamp(260px, 82vw, 360px);
  }

  .model-card {
    gap: 14px;
  }

  .model-card h3 {
    max-width: none;
    font-size: 19px;
  }

  .gift {
    gap: 24px;
    padding: 52px 0 62px;
  }

  .gift-copy p {
    margin: 14px 0 24px;
    font-size: 17px;
  }

  .gift-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .contacts h2 {
    position: relative;
  }

  .contacts h2 > div {
    position: static !important;
    width: min(260px, 100%);
    height: auto;
    margin: 12px auto 0;
  }

  .contacts h2 > div svg {
    width: 100%;
    height: auto;
  }

  .contacts h2 > div > div {
    display: none;
  }

  .contacts-link {
    overflow-wrap: anywhere;
    font-size: clamp(22px, 7vw, 28px);
  }
}

@media (max-width: 420px) {
  .story-sticky,
  .story-stage-shell,
  .story-stage {
    min-height: 1290px;
  }

  .hero-copy--intro {
    top: 568px;
  }

  .benefits-heading-left {
    top: 790px;
  }

  .hero-copy--benefits {
    top: 884px;
  }
}

/* ==========================================================================
   Models Carousel Modal ("ПОСМОТРЕТЬ ВСЕ")
   ========================================================================== */

body.has-modal-open {
  overflow: hidden;
}

.models-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.models-modal[hidden] {
  display: none;
}

.models-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 40, 0.55);
  backdrop-filter: blur(3px);
}

.models-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px clamp(20px, 4vw, 56px) 32px;
  background: var(--color-surface);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(20, 24, 40, 0.35);
}

.models-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-surface-card, #f0f0f0);
  cursor: pointer;
}

.models-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-primary, #3148b4);
}

.models-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.models-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.models-modal__title {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--color-primary, #3148b4);
}

.models-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.models-carousel__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
}

.models-carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.models-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.models-slide__media {
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f3f3 0%, #ececec 100%);
}

.models-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.models-slide__copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary, #3148b4);
}

.models-slide__copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-ink, #3e4147);
}

.models-carousel__nav {
  flex: none;
  width: 48px;
  height: 48px;
  border: 1.6px solid var(--color-primary, #3148b4);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary, #3148b4);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.models-carousel__nav:hover {
  background: var(--color-primary, #3148b4);
  color: #fff;
}

.models-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.models-carousel__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--color-primary, #3148b4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.models-carousel__dot.is-active {
  background: var(--color-primary, #3148b4);
}

@media (max-width: 720px) {
  .models-slide {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .models-slide__media {
    height: 230px;
  }

  .models-carousel__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}
