:root {
  --page-bg: #f4f0e9;
  --graphite: #2f3031;
  --graphite-soft: #686763;
  --lime: #b8db5d;

  --glass-bg: rgba(248, 246, 241, 0.42);
  --glass-border: rgba(255, 255, 255, 0.56);
  --glass-highlight: rgba(255, 255, 255, 0.72);

  --container: 1440px;
  --page-padding: clamp(22px, 4vw, 64px);

  --font-typewriter: "Special Elite", "Courier New", monospace;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--graphite);
  font-family: var(--font-typewriter);
}

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

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

button,
select,
input,
textarea {
  font: inherit;
}

.container {
  width: min(
    calc(100% - (var(--page-padding) * 2)),
    var(--container)
  );
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #ddd8d1;
}

.hero__background {
  position: fixed;
  inset: 0;
  z-index: -3;

  background-color: #d9d6d0;
  background-image: url("../assets/images/hero-father-son.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;

  filter: grayscale(1) contrast(0.9) brightness(1.06);
  transform: scale(1.01);
}

/*
  Эта заглушка остаётся видимой,
  если hero-father-son.jpg ещё не загружен.
*/

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(245, 242, 236, 0.96) 0%,
      rgba(245, 242, 236, 0.86) 30%,
      rgba(245, 242, 236, 0.30) 58%,
      rgba(245, 242, 236, 0.08) 100%
    );
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(247, 244, 238, 0.36) 0%,
      rgba(247, 244, 238, 0.08) 55%,
      rgba(247, 244, 238, 0.28) 100%
    );
  pointer-events: none;
}

/* ================================
   NAVIGATION
================================ */

.hero__nav {
  position: relative;
  z-index: 5;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);

  padding-top: clamp(22px, 3vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand__logo {
    width: 96px;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand__name {
  font-size: clamp(1.22rem, 1.7vw, 1.72rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.4vw, 58px);
}

.hero__links a {
  position: relative;
  padding-block: 9px;

  color: rgba(47, 48, 49, 0.86);
  font-size: clamp(0.76rem, 0.95vw, 0.98rem);
  white-space: nowrap;

  transition:
    color 220ms ease,
    transform 220ms var(--ease-premium);
}

.hero__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;

  height: 1px;
  background: var(--lime);

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-premium);
}

.hero__links a:hover {
  color: var(--graphite);
  transform: translateY(-1px);
}

.hero__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language {
  position: relative;
}

.language__select {
  min-width: 124px;
  padding: 13px 42px 13px 18px;

  color: var(--graphite);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.57),
      rgba(238, 235, 229, 0.26)
    );

  border: 1px solid var(--glass-border);
  border-radius: 12px;
  outline: none;

  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 12px 32px rgba(45, 45, 45, 0.06);

  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);

  appearance: none;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--graphite) 50%),
    linear-gradient(135deg, var(--graphite) 50%, transparent 50%),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.57),
      rgba(238, 235, 229, 0.26)
    );

  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%,
    0 0;

  background-size:
    5px 5px,
    5px 5px,
    100% 100%;

  background-repeat: no-repeat;

  transition:
    transform 220ms var(--ease-premium),
    background-color 220ms ease,
    border-color 220ms ease;
}

.language__select:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.84);
}

/* ================================
   HERO CONTENT
================================ */

.hero__content {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  min-height: calc(100svh - 125px);
  padding-top: clamp(72px, 9vh, 130px);
  padding-bottom: clamp(110px, 14vh, 170px);
}

.hero__copy {
  width: min(620px, 48vw);
}

.hero__eyebrow {
  margin: 0 0 26px;

  color: var(--graphite-soft);
  font-size: clamp(0.78rem, 0.9vw, 0.96rem);
  line-height: 1.5;
  letter-spacing: 0.04em;

  opacity: 0;
  transform: translateY(14px);
  animation: heroReveal 900ms 120ms var(--ease-premium) forwards;
}

.hero__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(2.8rem, 5.25vw, 5.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;

  text-wrap: balance;

  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1000ms 220ms var(--ease-premium) forwards;
}

.hero__title span {
  display: block;
}

.hero__title strong {
  position: relative;
  color: var(--lime);
  font-weight: 400;
}

.hero__title strong::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -0.12em;
  left: 1%;

  height: 0.08em;
  min-height: 2px;

  background: var(--lime);
  border-radius: 999px;

  transform: rotate(-2deg) scaleX(0);
  transform-origin: left;
  animation: accentLine 700ms 1.2s var(--ease-premium) forwards;
}

.hero__description {
  max-width: 560px;
  margin: clamp(26px, 3vw, 42px) 0 0;

  color: rgba(47, 48, 49, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.38rem);
  line-height: 1.72;

  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal 1000ms 420ms var(--ease-premium) forwards;
}

/* ================================
   SCROLL PROMPT
================================ */

.hero__scroll {
  position: absolute;
  right: 50%;
  bottom: 28px;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: rgba(47, 48, 49, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.04em;

  transform: translateX(50%);
  transition:
    color 220ms ease,
    transform 220ms var(--ease-premium);
}

.hero__scroll:hover {
  color: var(--graphite);
  transform: translateX(50%) translateY(-2px);
}

.hero__scroll-arrow {
  font-size: 1.2rem;
  animation: scrollHint 1.7s ease-in-out infinite;
}

/* ================================
   ANIMATIONS
================================ */

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accentLine {
  to {
    transform: rotate(-2deg) scaleX(1);
  }
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ================================
   TABLET
================================ */

@media (max-width: 1040px) {
  .hero__nav {
    grid-template-columns: auto 1fr auto;
    gap: 22px;
  }

  .hero__links {
    gap: 22px;
  }

  .hero__copy {
    width: min(570px, 56vw);
  }

  .hero__background {
    background-position: 63% center;
  }
}

/* ================================
   MOBILE
================================ */

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

  .hero__background {
    position: absolute;
    background-position: 68% center;
  }

  .hero__background::after {
    background:
      linear-gradient(
        180deg,
        rgba(245, 242, 236, 0.86) 0%,
        rgba(245, 242, 236, 0.70) 38%,
        rgba(245, 242, 236, 0.44) 66%,
        rgba(245, 242, 236, 0.66) 100%
      ),
      linear-gradient(
        90deg,
        rgba(245, 242, 236, 0.58),
        rgba(245, 242, 236, 0.12)
      );
  }

  .hero__nav {
    grid-template-columns: 1fr auto;
  }

  .hero__links {
    display: none;
  }

  .brand__logo {
    width: 40px;
    height: 48px;
  }

  .language__select {
    min-width: 108px;
    padding-block: 11px;
    padding-left: 14px;
    font-size: 0.78rem;
  }

  .hero__content {
    align-items: flex-end;

    min-height: calc(100svh - 92px);
    padding-top: 170px;
    padding-bottom: 118px;
  }

  .hero__copy {
    width: 100%;
    max-width: 590px;

    padding: clamp(22px, 5vw, 30px);

    background:
      linear-gradient(
        145deg,
        rgba(249, 247, 242, 0.67),
        rgba(242, 239, 233, 0.32)
      );

    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 28px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.74),
      0 24px 70px rgba(38, 38, 38, 0.08);

    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .hero__title {
    font-size: clamp(2.4rem, 11vw, 4.4rem);
    line-height: 1.07;
  }

  .hero__description {
    margin-top: 22px;
    font-size: clamp(0.92rem, 4vw, 1.08rem);
    line-height: 1.62;
  }

  .hero__scroll {
    bottom: 22px;
  }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {
  :root {
    --page-padding: 16px;
  }

  .brand__name {
    font-size: 1.14rem;
  }

  .language__select {
    min-width: 96px;
    max-width: 110px;
  }

  .hero__content {
    padding-top: 150px;
  }

  .hero__copy {
    border-radius: 24px;
  }

  .hero__scroll span:first-child {
    display: none;
  }
}

/* ================================
   ACCESSIBILITY
================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ================================
   STORY FILM
================================ */

.story-film {
  position: relative;
  z-index: 3;

  overflow: hidden;
  background: var(--page-bg);

  padding-top: clamp(110px, 14vw, 190px);
  padding-bottom: clamp(120px, 15vw, 210px);
}

.story-film__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================================
   VIDEO FRAME
================================ */

.story-film__frame {
  position: relative;

  width: min(100%, 1120px);
  aspect-ratio: 16 / 9;

  padding: clamp(6px, 0.65vw, 10px);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62),
      rgba(231, 226, 218, 0.34)
    );

  border: 1px solid rgba(47, 48, 49, 0.08);
  border-radius: clamp(24px, 3vw, 36px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 30px 90px rgba(47, 48, 49, 0.08);

  transition:
    transform 500ms var(--ease-premium),
    box-shadow 500ms var(--ease-premium);
}

.story-film__frame:hover {
  transform: translateY(-4px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 40px 110px rgba(47, 48, 49, 0.12);
}

.story-film__media {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.52),
      rgba(232, 227, 219, 0.26) 48%,
      rgba(221, 216, 208, 0.46) 100%
    ),
    #ebe6de;

  border-radius: clamp(18px, 2.4vw, 28px);
}

/*
  Очень лёгкая текстура,
  чтобы заглушка не выглядела плоской.
*/

.story-film__media::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0.35;
  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.38) 45%,
      transparent 70%
    );

  transform: translateX(-80%);
  transition: transform 1s var(--ease-premium);
}

.story-film__frame:hover .story-film__media::before {
  transform: translateX(80%);
}

/* ================================
   VIDEO PLACEHOLDER
================================ */

.story-film__play {
  position: relative;
  z-index: 2;

  display: grid;
  place-items: center;

  width: clamp(72px, 7vw, 96px);
  height: clamp(72px, 7vw, 96px);
  padding: 0;

  color: var(--graphite);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.67),
      rgba(236, 232, 224, 0.25)
    );

  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(47, 48, 49, 0.05),
    0 18px 50px rgba(47, 48, 49, 0.10);

  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);

  cursor: pointer;

  transition:
    transform 300ms var(--ease-premium),
    box-shadow 300ms var(--ease-premium),
    background-color 300ms ease;
}

.story-film__play:hover {
  transform: translateY(-3px) scale(1.04);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 62px rgba(47, 48, 49, 0.14);
}

.story-film__play:active {
  transform: translateY(0) scale(0.97);

  background:
    linear-gradient(
      145deg,
      rgba(223, 219, 212, 0.66),
      rgba(205, 201, 194, 0.32)
    );
}

.story-film__play-icon {
  width: 0;
  height: 0;

  margin-left: 5px;

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--graphite);
}

.story-film__placeholder {
  position: relative;
  z-index: 2;

  margin: 24px 0 0;

  color: rgba(47, 48, 49, 0.62);
  font-size: clamp(0.72rem, 0.9vw, 0.92rem);
  letter-spacing: 0.04em;
}

/* ================================
   STORE BUTTONS
================================ */

.store-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 20px;
  margin-top: clamp(34px, 4vw, 54px);
}

.store-button {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  gap: 15px;

  min-width: 220px;
  min-height: 66px;
  padding: 12px 28px;

  overflow: hidden;
  color: var(--graphite);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.60),
      rgba(235, 231, 223, 0.23)
    );

  border: 1px solid var(--glass-border);
  border-radius: 19px;

  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 14px 38px rgba(47, 48, 49, 0.07);

  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);

  transition:
    transform 300ms var(--ease-premium),
    border-color 300ms ease,
    box-shadow 300ms var(--ease-premium),
    background-color 300ms ease;
}

/*
  Liquid Glass highlight.
*/

.store-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  left: -45%;

  width: 85%;
  height: 240%;

  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255, 255, 255, 0.72),
      transparent
    );

  transform: rotate(18deg);
  transition: left 650ms var(--ease-premium);
}

.store-button:hover {
  transform: translateY(-3px) scale(1.01);

  border-color: rgba(255, 255, 255, 0.88);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 22px 54px rgba(47, 48, 49, 0.11);
}

.store-button:hover::before {
  left: 120%;
}

.store-button:active {
  transform: translateY(0) scale(0.975);

  background:
    linear-gradient(
      145deg,
      rgba(220, 216, 209, 0.72),
      rgba(199, 196, 190, 0.34)
    );

  box-shadow:
    inset 0 2px 8px rgba(47, 48, 49, 0.10),
    0 8px 22px rgba(47, 48, 49, 0.07);
}

.store-button__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  width: 32px;
  height: 38px;
}

.store-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;

  fill: currentColor;
}

.store-button__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  line-height: 1;
}

.store-button__eyebrow {
  margin-bottom: 6px;

  color: var(--graphite-soft);
  font-size: 0.64rem;
  letter-spacing: 0.015em;
}

.store-button__title {
  color: var(--graphite);
  font-size: 1.08rem;
  white-space: nowrap;
}

/* ================================
   STORY FILM — TABLET
================================ */

@media (max-width: 820px) {
  .story-film {
    padding-top: 100px;
    padding-bottom: 130px;
  }

  .story-film__frame {
    border-radius: 26px;
  }

  .story-film__media {
    border-radius: 20px;
  }
}

/* ================================
   STORY FILM — MOBILE
================================ */

@media (max-width: 560px) {
  .story-film {
    padding-top: 82px;
    padding-bottom: 105px;
  }

  .story-film__frame {
    aspect-ratio: 4 / 3;
    padding: 5px;
    border-radius: 22px;
  }

  .story-film__media {
    border-radius: 17px;
  }

  .story-film__play {
    width: 66px;
    height: 66px;
  }

  .story-film__play-icon {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
  }

  .story-film__placeholder {
    margin-top: 18px;
    font-size: 0.68rem;
  }

  .store-buttons {
    width: 100%;
    gap: 14px;
    margin-top: 30px;
  }

  .store-button {
    width: 100%;
    max-width: 310px;
    min-height: 62px;
    padding-inline: 24px;
  }
}
/* ================================
   FAMILY STORIES
================================ */

.family-stories {
  position: relative;
  z-index: 3;

  overflow: hidden;
  background: var(--page-bg);

  padding-top: clamp(105px, 13vw, 180px);
  padding-bottom: clamp(110px, 13vw, 180px);
}

.family-stories__heading {
  margin-bottom: clamp(50px, 6vw, 82px);
  text-align: center;
}

.family-stories__eyebrow {
  margin: 0 0 18px;

  color: var(--graphite-soft);
  font-size: clamp(0.72rem, 0.85vw, 0.88rem);
  letter-spacing: 0.05em;
}

.family-stories__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.family-stories__title span {
  position: relative;
  display: block;
  width: fit-content;
  margin-inline: auto;

  color: var(--lime);
}

.family-stories__title span::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: -0.12em;
  left: 4%;

  height: 3px;
  background: var(--lime);
  border-radius: 999px;

  transform: rotate(-1.5deg);
}

/* ================================
   REVIEW CAROUSEL
================================ */

.reviews-carousel {
  display: flex;
  flex-direction: column;
  gap: 24px;

  width: 100%;
}

.reviews-row {
  position: relative;
  overflow: hidden;
}

/*
  Мягкое исчезновение карточек по краям.
*/

.reviews-row::before,
.reviews-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;

  width: clamp(30px, 7vw, 130px);

  pointer-events: none;
}

.reviews-row::before {
  left: 0;

  background:
    linear-gradient(
      90deg,
      var(--page-bg),
      rgba(244, 240, 233, 0)
    );
}

.reviews-row::after {
  right: 0;

  background:
    linear-gradient(
      270deg,
      var(--page-bg),
      rgba(244, 240, 233, 0)
    );
}

.reviews-track {
  display: flex;
  width: max-content;

  will-change: transform;
}

.reviews-group {
  display: flex;
  flex-shrink: 0;
  gap: 24px;

  padding-right: 24px;
}

.reviews-row--left .reviews-track {
  animation: reviewsMoveLeft 62s linear infinite;
}

.reviews-row--right .reviews-track {
  transform: translateX(-50%);
  animation: reviewsMoveRight 68s linear infinite;
}

.reviews-row:hover .reviews-track {
  animation-play-state: paused;
}

/* ================================
   REVIEW CARD
================================ */

/* ================================
   REVIEW CARD
================================ */

.review-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: clamp(285px, 27vw, 400px);
  min-height: 265px;
  padding: clamp(26px, 2.5vw, 38px);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #4a4846 0%,
      #3d3b39 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 18px 52px rgba(47, 48, 49, 0.16);

  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);

  transition:
    transform 350ms var(--ease-premium),
    box-shadow 350ms var(--ease-premium),
    border-color 350ms ease,
    background 350ms ease;
}

/* Убираем большие зелёные кавычки */

.review-card::before {
  display: none;
  content: none;
}

.review-card:hover {
  transform: translateY(-6px);

  background:
    linear-gradient(
      145deg,
      #53514f 0%,
      #454341 100%
    );

  border-color: rgba(255, 255, 255, 0.15);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 28px 68px rgba(47, 48, 49, 0.22);
}

.review-card__quote {
  position: relative;
  z-index: 2;

  margin: 0 0 36px;

  color: rgba(250, 247, 242, 0.95);
  font-size: clamp(0.96rem, 1.15vw, 1.16rem);
  line-height: 1.65;
}

.review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.review-card__names {
  color: #ffffff;
  font-size: 0.86rem;
}

.review-card__place {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ================================
   CAROUSEL ANIMATIONS
================================ */

@keyframes reviewsMoveLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes reviewsMoveRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* ================================
   STORIES FEATURE CARD
================================ */

.feature-explorer {
  position: relative;
  z-index: 3;
}

.feature-explorer__trigger-wrap {
  padding-top: clamp(60px, 8vw, 110px);
}

.feature-explorer__trigger {
  position: relative;
  width: 100%;
  padding: clamp(26px, 3.5vw, 42px) clamp(24px, 4vw, 54px);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);

  color: var(--graphite);
  text-align: left;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.59),
      rgba(235, 231, 223, 0.27)
    );
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 18px 54px rgba(47, 48, 49, 0.055);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);

  cursor: pointer;
  transition:
    transform 300ms var(--ease-premium),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.feature-explorer__oval {
  position: absolute;
  inset: -12px -14px;

  width: calc(100% + 28px);
  height: calc(100% + 24px);

  overflow: visible;
  pointer-events: none;
}

.feature-explorer__oval path {
  fill: none;
  stroke: #005edb;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
  vector-effect: non-scaling-stroke;
}

.feature-explorer__trigger:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 24px 64px rgba(47, 48, 49, 0.075);
}

.feature-explorer__trigger:focus-visible {
  outline: 3px solid rgba(184, 219, 93, 0.65);
  outline-offset: 4px;
}

.feature-explorer__label,
.feature-explorer__summary,
.feature-explorer__hint {
  display: block;
}

.feature-explorer__label {
  color: var(--graphite);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-explorer__summary {
  color: var(--graphite-soft);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.035em;
}

.feature-explorer__hint {
  color: var(--graphite);
  font-size: clamp(0.76rem, 0.9vw, 0.88rem);
  white-space: nowrap;
}

.feature-explorer__chevron {
  display: inline-block;
  margin-left: 6px;
  color: var(--lime);
  font-size: 1.15em;
  transition: transform 350ms var(--ease-premium);
}

.feature-explorer__trigger[aria-expanded="true"] .feature-explorer__chevron {
  transform: rotate(180deg);
}

.feature-explorer__content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    height 850ms var(--ease-premium),
    opacity 500ms ease,
    visibility 0s linear 850ms;
}

.feature-explorer__content[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transition:
    height 850ms var(--ease-premium),
    opacity 650ms ease 100ms,
    visibility 0s linear 0s;
}

@media (max-width: 700px) {
  .feature-explorer__trigger-wrap {
    padding-top: 60px;
  }

  .feature-explorer__trigger {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 25px 24px;
    border-radius: 24px;
  }

  .feature-explorer__oval {
    inset: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
  }

  .feature-explorer__summary {
    line-height: 1.5;
  }

  .feature-explorer__hint {
    margin-top: 5px;
  }
}

.stories-section {
  position: relative;
  z-index: 3;

  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.stories-card {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);

  min-height: 500px;
  padding: clamp(42px, 6vw, 88px);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.59),
      rgba(235, 231, 223, 0.27)
    );

  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: clamp(30px, 4vw, 48px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 30px 90px rgba(47, 48, 49, 0.065);

  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.stories-card::before {
  content: "";
  position: absolute;
  top: -25%;
  right: 25%;
  z-index: -1;

  width: 420px;
  height: 420px;

  background:
    radial-gradient(
      circle,
      rgba(184, 219, 93, 0.09),
      rgba(184, 219, 93, 0) 70%
    );

  pointer-events: none;
}

/* ── Copy ── */

.stories-card__eyebrow {
  margin: 0 0 18px;

  color: var(--graphite-soft);
  font-size: clamp(0.7rem, 0.85vw, 0.78rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stories-card__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(1.85rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.stories-card__title span {
  position: relative;
  display: block;

  color: var(--lime);
}

.stories-card__title span::after {
  content: "";
  position: absolute;
  bottom: -0.14em;
  left: 0;

  width: 58px;
  height: 3px;

  background: var(--lime);
  border-radius: 999px;

  transform: rotate(-3deg);
}

.stories-card__tagline {
  margin: clamp(22px, 2.5vw, 32px) 0 0;

  color: var(--graphite-soft);
  font-size: clamp(0.88rem, 1.05vw, 1.04rem);
  font-style: italic;
  line-height: 1.55;
}

.stories-card__body {
  max-width: 460px;
  margin: clamp(16px, 2vw, 22px) 0 0;

  color: rgba(47, 48, 49, 0.70);
  font-size: clamp(0.82rem, 0.98vw, 0.96rem);
  line-height: 1.78;
}

/* ── Media ── */

.stories-card__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stories-card__cover-wrap {
  position: relative;

  border-radius: 18px;
  overflow: hidden;

  aspect-ratio: 4 / 3;

  background:
    linear-gradient(
      145deg,
      #ddd8cf,
      #c8c2b6
    );

  box-shadow:
    0 12px 40px rgba(47, 48, 49, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.stories-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 500ms var(--ease-premium);
}

.stories-card:hover .stories-card__cover {
  transform: scale(1.028);
}

.stories-card__cover-badge {
  position: absolute;
  top: 13px;
  right: 13px;

  display: flex;
  align-items: center;
  gap: 5px;

  padding: 6px 14px;

  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);

  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;

  color: var(--graphite);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

/* ── Audio Player ── */

.stories-card__player {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 18px;

  background:
    linear-gradient(
      145deg,
      #4a4846 0%,
      #3d3b39 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 22px rgba(47, 48, 49, 0.14);
}

.stories-player__btn {
  flex-shrink: 0;

  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;

  background: var(--lime);
  border: none;
  border-radius: 50%;

  cursor: pointer;

  box-shadow: 0 4px 14px rgba(184, 219, 93, 0.32);

  transition:
    transform 200ms var(--ease-premium),
    background 200ms ease,
    box-shadow 200ms ease;
}

.stories-player__btn:hover {
  transform: scale(1.08);
  background: #c9ea6a;
  box-shadow: 0 6px 20px rgba(184, 219, 93, 0.45);
}

.stories-player__btn:active {
  transform: scale(0.95);
}

.stories-player__icon {
  width: 15px;
  height: 15px;
  fill: var(--graphite);
  stroke: none;
}

.stories-player__track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stories-player__bar {
  position: relative;

  height: 4px;

  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  cursor: pointer;
  overflow: hidden;
}

.stories-player__fill {
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 0%;

  background: var(--lime);
  border-radius: 999px;
}

.stories-player__times {
  display: flex;
  justify-content: space-between;

  color: rgba(255, 255, 255, 0.50);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

/* ── Stories — Tablet ── */

@media (max-width: 920px) {
  .stories-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stories-card__body {
    max-width: 100%;
  }
}

/* ── Stories — Mobile ── */

@media (max-width: 700px) {
  .stories-section {
    padding-top: 60px;
    padding-bottom: 36px;
  }

  .stories-card {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 38px 26px;
    border-radius: 30px;
  }
}

/* ================================
   FEATURE CARDS SECTION
   (Film / Clone Voice / Daily Magic)
================================ */

.feature-cards-section {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.feature-cards-section .container {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

/* ── Card containers — mirror .stories-card exactly ── */

.film-card,
.voice-card,
.daily-card {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);

  min-height: 500px;
  padding: clamp(42px, 6vw, 88px);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.59),
      rgba(235, 231, 223, 0.27)
    );

  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: clamp(30px, 4vw, 48px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 30px 90px rgba(47, 48, 49, 0.065);

  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.film-card::before,
.voice-card::before,
.daily-card::before {
  content: "";
  position: absolute;
  top: -25%;
  right: 25%;
  z-index: -1;

  width: 420px;
  height: 420px;

  background:
    radial-gradient(
      circle,
      rgba(184, 219, 93, 0.09),
      rgba(184, 219, 93, 0) 70%
    );

  pointer-events: none;
}

/* ── Shared copy styles ── */

.fc-eyebrow {
  margin: 0 0 18px;

  color: var(--graphite-soft);
  font-size: clamp(0.7rem, 0.85vw, 0.78rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fc-title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(1.85rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.fc-title span {
  position: relative;
  display: block;

  color: var(--lime);
}

.fc-title span::after {
  content: "";
  position: absolute;
  bottom: -0.14em;
  left: 0;

  width: 58px;
  height: 3px;

  background: var(--lime);
  border-radius: 999px;

  transform: rotate(-3deg);
}

.fc-tagline {
  margin: clamp(22px, 2.5vw, 32px) 0 0;

  color: var(--graphite-soft);
  font-size: clamp(0.88rem, 1.05vw, 1.04rem);
  font-style: italic;
  line-height: 1.55;
}

.fc-body {
  max-width: 460px;
  margin: clamp(16px, 2vw, 22px) 0 0;

  color: rgba(47, 48, 49, 0.70);
  font-size: clamp(0.82rem, 0.98vw, 0.96rem);
  line-height: 1.78;
}

/* ── Media / Video ── */

.fc-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fc-video-wrap {
  position: relative;

  border-radius: 18px;
  overflow: hidden;

  aspect-ratio: 4 / 3;

  background:
    linear-gradient(
      145deg,
      #ddd8cf,
      #c8c2b6
    );

  box-shadow:
    0 12px 40px rgba(47, 48, 49, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.fc-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  cursor: pointer;
}

.fc-video__overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: grid;
  place-items: center;

  width: 56px;
  height: 56px;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border: none;
  border-radius: 50%;

  cursor: pointer;

  box-shadow:
    0 6px 20px rgba(47, 48, 49, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);

  transition:
    transform 200ms var(--ease-premium),
    background 200ms ease,
    opacity 200ms ease;
}

.fc-video__overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(47, 48, 49, 0.22);
}

.fc-video__overlay-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.fc-video__play-icon,
.fc-video__pause-icon {
  width: 18px;
  height: 18px;
  fill: var(--graphite);
  stroke: none;
}

.fc-video__play-icon {
  margin-left: 3px; /* optical centre for triangle */
}

/* ── Video bottom bar ── */

.fc-video-bar {
  display: flex;
  align-items: center;

  padding: 14px 18px;

  background:
    linear-gradient(
      145deg,
      #4a4846 0%,
      #3d3b39 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 22px rgba(47, 48, 49, 0.14);
}

.fc-video-bar__label {
  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(0.75rem, 0.9vw, 0.84rem);
  letter-spacing: 0.05em;
}

/* ── Feature Cards — Tablet ── */

@media (max-width: 920px) {
  .film-card,
  .voice-card,
  .daily-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fc-body {
    max-width: 100%;
  }
}

/* ── Feature Cards — Mobile ── */

@media (max-width: 700px) {
  .feature-cards-section {
    padding-bottom: 60px;
  }

  .feature-cards-section .container {
    gap: 28px;
  }

  .film-card,
  .voice-card,
  .daily-card {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 38px 26px;
    border-radius: 30px;
  }
}

/* ================================
   MORE THAN AN APP
================================ */

.legacy-section {
  position: relative;
  z-index: 3;

  background: var(--page-bg);

  padding-bottom: clamp(120px, 15vw, 210px);
}

.legacy-card {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns:
    minmax(270px, 1fr)
    minmax(210px, 0.72fr)
    minmax(300px, 1fr);

  align-items: center;
  gap: clamp(34px, 5vw, 80px);

  min-height: 500px;
  padding: clamp(42px, 6vw, 88px);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.59),
      rgba(235, 231, 223, 0.27)
    );

  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: clamp(30px, 4vw, 48px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(47, 48, 49, 0.04),
    0 30px 90px rgba(47, 48, 49, 0.065);

  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.legacy-card::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 35%;
  z-index: -1;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(184, 219, 93, 0.10),
      rgba(184, 219, 93, 0)
    );

  pointer-events: none;
}

/* ================================
   LEGACY COPY
================================ */

.legacy-card__eyebrow {
  margin: 0 0 18px;

  color: var(--graphite);
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
}

.legacy-card__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(2rem, 3.6vw, 3.85rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.legacy-card__title span {
  position: relative;
  display: block;

  color: var(--lime);
}

.legacy-card__title span::after {
  content: "";
  position: absolute;
  bottom: -0.16em;
  left: 0;

  width: 70px;
  height: 3px;

  background: var(--lime);
  border-radius: 999px;

  transform: rotate(-3deg);
}

.legacy-card__description {
  max-width: 470px;
  margin: clamp(30px, 3vw, 44px) 0 0;

  color: rgba(47, 48, 49, 0.75);
  font-size: clamp(0.88rem, 1.05vw, 1.05rem);
  line-height: 1.7;
}

/* ================================
   LEGACY EMBLEM
================================ */

.legacy-card__emblem {
  display: grid;
  place-items: center;
}

.legacy-card__emblem img {
  width: min(100%, 310px);
  height: auto;

  mix-blend-mode: multiply;

  filter:
    contrast(1.05)
    saturate(0);

  opacity: 0.82;

  transition:
    transform 600ms var(--ease-premium),
    opacity 600ms ease;
}

.legacy-card:hover .legacy-card__emblem img {
  transform: translateY(-5px) scale(1.025);
  opacity: 0.94;
}

/* ================================
   LEGACY FEATURES
================================ */

.legacy-card__features {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 30px);

  margin: 0;
  padding: 0;

  list-style: none;
}

.legacy-card__features li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 16px;

  color: rgba(47, 48, 49, 0.86);
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.4;
}

.legacy-card__feature-icon {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  color: #2f7fd8;

  font-family: Georgia, serif;
  font-size: 1.45rem;

  text-shadow:
    0 0 14px rgba(31, 140, 255, 0.22);

  transition:
    transform 260ms var(--ease-premium),
    color 260ms ease,
    text-shadow 260ms ease;
}

.legacy-card__features li:hover .legacy-card__feature-icon {
  transform: translateY(-2px) scale(1.08);

  color: #0f74e8;

  text-shadow:
    0 0 18px rgba(31, 140, 255, 0.34);
}

/* ================================
   THIRD BLOCK — TABLET
================================ */

@media (max-width: 1040px) {
  .legacy-card {
    grid-template-columns: 1fr 0.72fr;
  }

  .legacy-card__features {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    padding-top: 14px;
  }
}

/* ================================
   THIRD BLOCK — MOBILE
================================ */

@media (max-width: 700px) {
  .family-stories {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .family-stories__heading {
    margin-bottom: 48px;
  }

  .reviews-carousel {
    gap: 16px;
  }

  .reviews-group {
    gap: 16px;
    padding-right: 16px;
  }

  .review-card {
    width: min(82vw, 330px);
    min-height: 250px;
    padding: 26px;
    border-radius: 25px;
  }

  .reviews-row--left .reviews-track {
    animation-duration: 48s;
  }

  .reviews-row--right .reviews-track {
    animation-duration: 52s;
  }

  .legacy-section {
    padding-bottom: 110px;
  }

  .legacy-card {
    grid-template-columns: 1fr;
    gap: 44px;

    padding: 38px 26px;
    border-radius: 30px;
  }

  .legacy-card__emblem {
    order: 2;
  }

  .legacy-card__emblem img {
    width: min(72vw, 260px);
  }

  .legacy-card__features {
    order: 3;

    grid-column: auto;
    grid-template-columns: 1fr;

    gap: 21px;
  }

  .legacy-card__copy {
    order: 1;
  }
}

/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation-play-state: paused !important;
  }
}
/* ================================
   FINAL CTA
================================ */

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);

  margin-top: clamp(42px, 6vw, 78px);
  padding: clamp(28px, 4vw, 52px);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62),
      rgba(235, 231, 223, 0.25)
    );

  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(26px, 3vw, 38px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 70px rgba(47, 48, 49, 0.06);

  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.final-cta__intro {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.final-cta__logo {
  flex: 0 0 auto;

  width: clamp(72px, 8vw, 118px);
  height: auto;

  mix-blend-mode: multiply;
  opacity: 0.88;
}

.final-cta__copy {
  max-width: 590px;
}

.final-cta__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
}

.final-cta__text {
  margin: 12px 0 0;

  color: var(--graphite-soft);
  font-size: clamp(0.84rem, 1.05vw, 1rem);
  line-height: 1.6;
}

.final-cta__stores {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;

  gap: 16px;
}

.final-cta__store-button {
  min-width: 205px;
  min-height: 62px;
}

/* ================================
   FOOTER
================================ */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  padding: clamp(34px, 4vw, 56px) 10px 0;
}

.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: clamp(22px, 4vw, 58px);
}

.site-footer__links a {
  position: relative;

  color: rgba(47, 48, 49, 0.72);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);

  transition:
    color 220ms ease,
    transform 220ms var(--ease-premium);
}

.site-footer__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;

  height: 1px;
  background: var(--lime);

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease-premium);
}

.site-footer__links a:hover {
  color: var(--graphite);
  transform: translateY(-1px);
}

.site-footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer__copyright {
  flex: 0 0 auto;

  margin: 0;

  color: rgba(47, 48, 49, 0.56);
  font-size: clamp(0.7rem, 0.85vw, 0.84rem);
  white-space: nowrap;
}

/* ================================
   FINAL CTA — TABLET
================================ */

@media (max-width: 1040px) {
  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta__stores {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ================================
   FINAL CTA — MOBILE
================================ */

@media (max-width: 700px) {
  .final-cta {
    margin-top: 32px;
    padding: 30px 24px;
    border-radius: 28px;
  }

  .final-cta__intro {
    align-items: flex-start;
  }

  .final-cta__logo {
    width: 72px;
  }

  .final-cta__stores {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta__store-button {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;

    padding-top: 38px;
  }

  .site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    gap: 18px 24px;
  }
}

/* ================================
   FINAL CTA — SMALL MOBILE
================================ */

@media (max-width: 440px) {
  .final-cta__intro {
    flex-direction: column;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }
}
/* ================================
   FOOTER BUTTON LINKS
================================ */

.site-footer__link {
  position: relative;

  padding: 0;

  color: rgba(47, 48, 49, 0.72);
  background: transparent;
  border: 0;

  font-size: clamp(0.72rem, 0.9vw, 0.88rem);

  cursor: pointer;

  transition:
    color 220ms ease,
    transform 220ms var(--ease-premium);
}

.site-footer__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;

  height: 1px;
  background: var(--lime);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 250ms var(--ease-premium);
}

.site-footer__link:hover {
  color: var(--graphite);
  transform: translateY(-1px);
}

.site-footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ================================
   LEGAL DRAWER
================================ */

.legal-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;

  visibility: hidden;
  pointer-events: none;

  transition: visibility 0s linear 500ms;
}

.legal-drawer.is-open {
  visibility: visible;
  pointer-events: auto;

  transition-delay: 0s;
}

.legal-drawer__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(31, 32, 32, 0.24);

  opacity: 0;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: opacity 400ms ease;
}

.legal-drawer.is-open .legal-drawer__backdrop {
  opacity: 1;
}

.legal-drawer__panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;

  display: flex;
  flex-direction: column;

  width: min(760px, calc(100% - 24px));

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.96),
      rgba(239, 235, 228, 0.90)
    );

  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    -24px 0 90px rgba(47, 48, 49, 0.14);

  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);

  transform: translateX(calc(100% + 40px));

  transition:
    transform 500ms var(--ease-premium);
}

.legal-drawer.is-open .legal-drawer__panel {
  transform: translateX(0);
}

/* ================================
   DRAWER HEADER
================================ */

.legal-drawer__header {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding:
    clamp(26px, 4vw, 48px)
    clamp(26px, 5vw, 58px)
    25px;

  border-bottom: 1px solid rgba(47, 48, 49, 0.07);
}

.legal-drawer__eyebrow {
  margin: 0 0 8px;

  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.legal-drawer__title {
  margin: 0;

  color: var(--graphite);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.legal-drawer__close {
  position: relative;

  flex: 0 0 auto;

  width: 48px;
  height: 48px;
  padding: 0;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.66),
      rgba(228, 224, 216, 0.28)
    );

  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(47, 48, 49, 0.08);

  cursor: pointer;

  transition:
    transform 260ms var(--ease-premium),
    background-color 260ms ease;
}

.legal-drawer__close:hover {
  transform: rotate(6deg) scale(1.04);
}

.legal-drawer__close:active {
  transform: scale(0.94);
}

.legal-drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 18px;
  height: 1.5px;

  background: var(--graphite);
  border-radius: 999px;
}

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

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

/* ================================
   DRAWER CONTENT
================================ */

.legal-drawer__content {
  flex: 1;
  overflow-y: auto;

  padding:
    30px
    clamp(26px, 5vw, 58px)
    clamp(50px, 7vw, 80px);

  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(47, 48, 49, 0.22)
    transparent;
}

.legal-drawer__content::-webkit-scrollbar {
  width: 7px;
}

.legal-drawer__content::-webkit-scrollbar-track {
  background: transparent;
}

.legal-drawer__content::-webkit-scrollbar-thumb {
  background: rgba(47, 48, 49, 0.18);
  border-radius: 999px;
}

/* ================================
   LEGAL DOCUMENT
================================ */

.legal-document {
  display: none;
}

.legal-document.is-active {
  display: block;

  animation: legalContentReveal 450ms var(--ease-premium);
}

.legal-document__updated {
  margin: 0 0 30px;

  color: var(--graphite-soft);
  font-size: 0.72rem;
}

.legal-document__intro {
  margin: 0 0 48px;

  color: var(--graphite);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.72;
}

.legal-document__section {
  padding: 32px 0;

  border-top: 1px solid rgba(47, 48, 49, 0.08);
}

.legal-document__section h3 {
  margin: 0 0 18px;

  color: var(--graphite);
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 400;
  line-height: 1.4;
}

.legal-document__section p,
.legal-document__section li {
  color: rgba(47, 48, 49, 0.76);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.8;
}

.legal-document__section p {
  margin: 0 0 16px;
}

.legal-document__section p:last-child {
  margin-bottom: 0;
}

.legal-document__section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 20px 0;
  padding-left: 22px;
}

.legal-document__section strong {
  color: var(--graphite);
  font-weight: 400;
}

.legal-document__section a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-document__details {
  margin: 22px 0;
  padding: 22px 24px;

  background: rgba(255, 255, 255, 0.36);

  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.legal-document__details p {
  margin-bottom: 8px;
}

.legal-document__empty {
  margin: 40px 0;

  color: var(--graphite-soft);
  font-size: 1rem;
  line-height: 1.7;
}

@keyframes legalContentReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   DRAWER MOBILE
================================ */

@media (max-width: 700px) {
  .legal-drawer__panel {
    top: 8px;
    right: 8px;
    bottom: 8px;

    width: calc(100% - 16px);

    border-radius: 28px;
  }

  .legal-drawer__header {
    padding: 25px 22px 20px;
  }

  .legal-drawer__content {
    padding: 25px 22px 55px;
  }

  .legal-drawer__close {
    width: 44px;
    height: 44px;
  }

  .legal-document__intro {
    margin-bottom: 35px;
  }

  .legal-document__section {
    padding-block: 27px;
  }
}
/* ================================
   LEGAL DOCUMENT CONTENTS
================================ */

.legal-document__contents {
  margin: 32px 0 46px;
  padding: 26px 28px;

  border: 1px solid rgba(52, 49, 45, 0.12);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.28)
    );

  box-shadow:
    0 18px 45px rgba(45, 42, 38, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.legal-document__contents-title {
  margin: 0 0 18px;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: rgba(45, 42, 38, 0.55);
}

.legal-document__contents-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 11px 30px;

  margin: 0;
  padding-left: 20px;
}

.legal-document__contents-list li {
  padding-left: 4px;
  color: rgba(45, 42, 38, 0.42);
}

.legal-document__contents-list a {
  position: relative;

  display: inline-block;

  padding: 3px 0;

  font-size: 0.92rem;
  line-height: 1.45;

  color: rgba(45, 42, 38, 0.78);
  text-decoration: none;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

.legal-document__contents-list a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 220ms ease;
}

.legal-document__contents-list a:hover {
  color: #252321;
  transform: translateX(3px);
}

.legal-document__contents-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.legal-document__section {
  scroll-margin-top: 30px;
}

.legal-document__section h4 {
  margin: 28px 0 10px;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;

  color: #302d29;
}

.legal-drawer__content {
  scroll-behavior: smooth;
}

@media (max-width: 680px) {

  .legal-document__contents {
    margin: 26px 0 38px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .legal-document__contents-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

}
/* ===================================
FAQ
=================================== */

.faq{

display:flex;

flex-direction:column;

gap:14px;

margin-top:36px;

}

.faq-item{

border:1px solid rgba(0,0,0,.08);

border-radius:18px;

padding:0 20px;

background:rgba(255,255,255,.55);

backdrop-filter:blur(16px);

overflow:hidden;

}

.faq-item summary{

cursor:pointer;

padding:20px 0;

font-weight:600;

font-size:16px;

list-style:none;

}

.faq-item summary::-webkit-details-marker{

display:none;

}

.faq-item summary::after{

content:"+";

float:right;

font-size:22px;

transition:.3s;

}

.faq-item[open] summary::after{

transform:rotate(45deg);

}

.faq-item div{

padding-bottom:20px;

color:#5c5c5c;

line-height:1.7;

}
/* ================================
   SUPPORT CENTER
================================ */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  margin: 34px 0 52px;
}

.support-card {
  position: relative;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;

  min-height: 145px;
  padding: 22px;

  color: inherit;
  text-decoration: none;

  border: 1px solid rgba(45, 42, 38, 0.1);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.67),
      rgba(255, 255, 255, 0.28)
    );

  box-shadow:
    0 16px 40px rgba(45, 42, 38, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.support-card:hover {
  transform: translateY(-4px);

  border-color: rgba(45, 42, 38, 0.18);

  box-shadow:
    0 22px 52px rgba(45, 42, 38, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.support-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #b8f34a;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;

  color: #292822;
}

.support-card__content h3 {
  margin: 3px 0 8px;

  font-size: 1rem;
  line-height: 1.3;

  color: #2f2c28;
}

.support-card__content p {
  margin: 0;

  font-size: 0.88rem;
  line-height: 1.6;

  color: rgba(45, 42, 38, 0.65);
}

.support-card__arrow {
  margin-top: 7px;

  font-size: 1.2rem;

  color: rgba(45, 42, 38, 0.4);

  transition:
    transform 220ms ease,
    color 220ms ease;
}

.support-card:hover .support-card__arrow {
  transform: translateX(4px);
  color: #2f2c28;
}

.support-section {
  padding-top: 10px;
  scroll-margin-top: 30px;
}

.support-section + .support-section {
  margin-top: 58px;
}

.support-section__eyebrow,
.support-contact__eyebrow {
  margin: 0 0 8px;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: rgba(45, 42, 38, 0.48);
}

.support-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin-top: 24px;
}

.support-contact {
  margin-top: 62px;
  padding: 30px;

  border: 1px solid rgba(45, 42, 38, 0.11);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at top right,
      rgba(184, 243, 74, 0.18),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.3)
    );

  box-shadow:
    0 22px 54px rgba(45, 42, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-contact__content h3 {
  margin: 0 0 12px;

  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;

  color: #2e2b27;
}

.support-contact__content p {
  max-width: 620px;
  margin: 0 0 9px;

  line-height: 1.7;

  color: rgba(45, 42, 38, 0.68);
}

.support-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 24px;
}

.support-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 20px;

  border: 1px solid rgba(45, 42, 38, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);

  font-size: 0.88rem;
  font-weight: 700;

  color: #2f2c28;
  text-decoration: none;

  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.support-contact__button:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.88);

  box-shadow: 0 12px 24px rgba(45, 42, 38, 0.08);
}

.support-contact__button--primary {
  border-color: #b8f34a;
  background: #b8f34a;
}

.support-contact__button--primary:hover {
  background: #c4fa5c;
}

.support-contact__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;

  margin-top: 28px;
  padding-top: 22px;

  border-top: 1px solid rgba(45, 42, 38, 0.1);
}

.support-contact__details p {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin: 0;

  font-size: 0.84rem;
}

.support-contact__details strong {
  color: rgba(45, 42, 38, 0.52);
}

.support-contact__details a,
.faq-item a {
  color: #2d2a26;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {

  .support-grid {
    grid-template-columns: 1fr;

    margin: 28px 0 44px;
  }

  .support-card {
    min-height: auto;
    padding: 20px;
    border-radius: 19px;
  }

  .support-section + .support-section {
    margin-top: 46px;
  }

  .support-contact {
    margin-top: 50px;
    padding: 24px 20px;
    border-radius: 21px;
  }

  .support-contact__actions {
    flex-direction: column;
  }

  .support-contact__button {
    width: 100%;
  }

  .support-contact__details {
    grid-template-columns: 1fr;
  }

}
/* ==================================================
   NESTORY — FIXED HERO BACKGROUND
   CONTENT FLOATS ABOVE THE PHOTO
================================================== */

/*
  Hero занимает первый экран и остаётся
  неподвижным фоном на десктопе.
*/

.hero {
  position: relative;
  z-index: 1;

  min-height: 100svh;
  background: transparent;
  overflow: visible;
}

/*
  Само фото фиксируем относительно окна браузера.
  Оно остаётся на месте во время всего скролла.
*/

.hero__background {
  position: fixed;
  inset: 0;
  z-index: -10;

  width: 100%;
  height: 100svh;

  background-color: #d9d6d0;
  background-image: url("../assets/images/hero-father-son.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;

  filter: grayscale(1) contrast(0.9) brightness(1.06);
  transform: scale(1.01);

  pointer-events: none;
}

/*
  Светлая маска остаётся частью фотографии,
  поэтому заголовок первого экрана читается как раньше.
*/

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(245, 242, 236, 0.96) 0%,
      rgba(245, 242, 236, 0.86) 30%,
      rgba(245, 242, 236, 0.30) 58%,
      rgba(245, 242, 236, 0.08) 100%
    );

  pointer-events: none;
}

/*
  Hero остаётся первым полноценным экраном.
*/

.hero__nav,
.hero__content,
.hero__scroll {
  position: relative;
  z-index: 3;
}

/* ==================================================
   TRANSPARENT CONTENT SECTIONS
================================================== */

/*
  Убираем большие молочные фоны секций.
  Размеры и внутренние отступы возвращаются
  к исходным значениям твоего дизайна.
*/

.story-film,
.family-stories,
.legacy-section {
  position: relative;
  z-index: 5;

  background: transparent;

  border: 0;
  border-radius: 0;

  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  margin: 0;
}

/*
  Первый контентный блок начинает подниматься
  поверх нижней части Hero без огромной панели.
*/

.story-film {
  padding-top: clamp(90px, 11vw, 145px);
  padding-bottom: clamp(105px, 13vw, 175px);
}

/*
  Заголовки и отдельные компоненты остаются
  самостоятельными объектами поверх фотографии.
*/

.story-film__container,
.family-stories > *,
.legacy-section > * {
  position: relative;
  z-index: 2;
}

/* ==================================================
   READABILITY — LOCAL GLASS ONLY
================================================== */

/*
  Не делаем стеклянной всю секцию.
  Стекло остаётся только у самого видео.
*/

.story-film__frame {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.76),
      rgba(230, 226, 218, 0.48)
    );

  border-color: rgba(255, 255, 255, 0.70);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 30px 90px rgba(30, 30, 30, 0.14);

  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}

/*
  Внутренняя область видео остаётся светлой,
  чтобы фотография не мешала просмотру.
*/

.story-film__media {
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.80),
      rgba(236, 232, 225, 0.67) 48%,
      rgba(221, 216, 208, 0.74) 100%
    );
}

/*
  Кнопки магазинов также остаются отдельными
  стеклянными элементами.
*/

.store-button {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.78),
      rgba(230, 226, 218, 0.46)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 42px rgba(30, 30, 30, 0.11);

  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

/* ==================================================
   FAMILY STORIES
================================================== */

.family-stories {
  padding-top: clamp(90px, 10vw, 140px);
  padding-bottom: clamp(100px, 12vw, 165px);
}

/*
  Заголовку отзывов добавляем очень мягкую
  локальную дымку только вокруг текста.
  Это не блок и не большое полотно.
*/

.family-stories__heading {
  position: relative;
  z-index: 3;

  width: fit-content;
  max-width: calc(100% - 40px);

  margin-right: auto;
  margin-left: auto;
  padding: 24px 38px;

  background: rgba(244, 240, 233, 0.38);

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 50px rgba(30, 30, 30, 0.06);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/*
  Графитовые отзывы уже достаточно контрастные,
  поэтому их фон не меняем.
*/

.review-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 20px 58px rgba(0, 0, 0, 0.22);
}

/*
  По краям карусели убираем кремовые маски,
  поскольку секция теперь прозрачная.
  Карточки просто мягко обрезаются окном.
*/

.reviews-row::before,
.reviews-row::after {
  display: none;
}

/* ==================================================
   LEGACY
================================================== */

.legacy-section {
  padding-top: clamp(85px, 10vw, 135px);
  padding-bottom: clamp(110px, 14vw, 190px);
}

/*
  Legacy остаётся отдельной большой карточкой,
  а не частью огромного фонового блока.
*/

.legacy-card {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.82),
      rgba(230, 226, 218, 0.58)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -1px 0 rgba(47, 48, 49, 0.05),
    0 34px 100px rgba(30, 30, 30, 0.16);

  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

/*
  CTA также остаётся отдельной карточкой.
*/

.final-cta {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.82),
      rgba(230, 226, 218, 0.56)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 26px 76px rgba(30, 30, 30, 0.14);

  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

/*
  Footer должен читаться, но не превращаться
  в отдельную большую панель.
*/

.site-footer {
  position: relative;
  z-index: 4;

  margin-top: 20px;
  padding-bottom: 42px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 12px -20px 16px;
  z-index: -1;

  background: rgba(244, 240, 233, 0.48);
  border-radius: 24px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==================================================
   SUBTLE FLOATING EFFECT
================================================== */

/*
  Элементы не увеличиваются.
  Они лишь слегка поднимаются при наведении.
*/

.story-film__frame,
.review-card,
.legacy-card,
.final-cta {
  transition:
    transform 420ms var(--ease-premium),
    box-shadow 420ms var(--ease-premium);
}

.story-film__frame:hover,
.legacy-card:hover,
.final-cta:hover {
  transform: translateY(-4px);
}

/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 820px) {

  /*
    На мобильных position: fixed часто вызывает
    рывки при изменении высоты адресной строки.
    Поэтому возвращаем обычное поведение.
  */

  body {
    background: var(--page-bg);
  }

  .hero {
    overflow: hidden;
  }

  .hero__background {
    position: absolute;
    height: 100%;
  }

  .story-film,
  .family-stories,
  .legacy-section {
    background: var(--page-bg);
  }

  .story-film {
    padding-top: 82px;
    padding-bottom: 105px;
  }

  .family-stories {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .legacy-section {
    padding-top: 70px;
    padding-bottom: 110px;
  }

  .family-stories__heading {
    max-width: 100%;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-footer::before {
    display: none;
  }
}

/* ==================================================
   FALLBACK
================================================== */

@supports not ((backdrop-filter: blur(10px))) {

  .story-film__frame,
  .store-button,
  .family-stories__heading,
  .legacy-card,
  .final-cta,
  .site-footer::before {
    background: rgba(244, 240, 233, 0.94);
  }
}
/* ==================================================
   NESTORY — FIXED HERO BACKGROUND
   CONTENT FLOATS ABOVE THE PHOTO
================================================== */

/*
  Hero занимает первый экран и остаётся
  неподвижным фоном на десктопе.
*/

.hero {
  position: relative;
  z-index: 1;

  min-height: 100svh;
  background: transparent;
  overflow: visible;
}

/*
  Само фото фиксируем относительно окна браузера.
  Оно остаётся на месте во время всего скролла.
*/

.hero__background {
  position: fixed;
  inset: 0;
  z-index: -10;

  width: 100%;
  height: 100svh;

  background-color: #d9d6d0;
  background-image: url("../assets/images/hero-father-son.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;

  filter: grayscale(1) contrast(0.9) brightness(1.06);
  transform: scale(1.01);

  pointer-events: none;
}

/*
  Светлая маска остаётся частью фотографии,
  поэтому заголовок первого экрана читается как раньше.
*/

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(245, 242, 236, 0.96) 0%,
      rgba(245, 242, 236, 0.86) 30%,
      rgba(245, 242, 236, 0.30) 58%,
      rgba(245, 242, 236, 0.08) 100%
    );

  pointer-events: none;
}

/*
  Hero остаётся первым полноценным экраном.
*/

.hero__nav,
.hero__content,
.hero__scroll {
  position: relative;
  z-index: 3;
}

/* ==================================================
   TRANSPARENT CONTENT SECTIONS
================================================== */

/*
  Убираем большие молочные фоны секций.
  Размеры и внутренние отступы возвращаются
  к исходным значениям твоего дизайна.
*/

.story-film,
.family-stories,
.legacy-section {
  position: relative;
  z-index: 5;

  background: transparent;

  border: 0;
  border-radius: 0;

  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  margin: 0;
}

/*
  Первый контентный блок начинает подниматься
  поверх нижней части Hero без огромной панели.
*/

.story-film {
  padding-top: clamp(90px, 11vw, 145px);
  padding-bottom: clamp(105px, 13vw, 175px);
}

/*
  Заголовки и отдельные компоненты остаются
  самостоятельными объектами поверх фотографии.
*/

.story-film__container,
.family-stories > *,
.legacy-section > * {
  position: relative;
  z-index: 2;
}

/* ==================================================
   READABILITY — LOCAL GLASS ONLY
================================================== */

/*
  Не делаем стеклянной всю секцию.
  Стекло остаётся только у самого видео.
*/

.story-film__frame {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.76),
      rgba(230, 226, 218, 0.48)
    );

  border-color: rgba(255, 255, 255, 0.70);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 30px 90px rgba(30, 30, 30, 0.14);

  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}

/*
  Внутренняя область видео остаётся светлой,
  чтобы фотография не мешала просмотру.
*/

.story-film__media {
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.80),
      rgba(236, 232, 225, 0.67) 48%,
      rgba(221, 216, 208, 0.74) 100%
    );
}

/*
  Кнопки магазинов также остаются отдельными
  стеклянными элементами.
*/

.store-button {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.78),
      rgba(230, 226, 218, 0.46)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 42px rgba(30, 30, 30, 0.11);

  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

/* ==================================================
   FAMILY STORIES
================================================== */

.family-stories {
  padding-top: clamp(90px, 10vw, 140px);
  padding-bottom: clamp(100px, 12vw, 165px);
}

/*
  Заголовку отзывов добавляем очень мягкую
  локальную дымку только вокруг текста.
  Это не блок и не большое полотно.
*/

.family-stories__heading {
  position: relative;
  z-index: 3;

  width: fit-content;
  max-width: calc(100% - 40px);

  margin-right: auto;
  margin-left: auto;
  padding: 24px 38px;

  background: rgba(244, 240, 233, 0.38);

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 50px rgba(30, 30, 30, 0.06);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/*
  Графитовые отзывы уже достаточно контрастные,
  поэтому их фон не меняем.
*/

.review-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 20px 58px rgba(0, 0, 0, 0.22);
}

/*
  По краям карусели убираем кремовые маски,
  поскольку секция теперь прозрачная.
  Карточки просто мягко обрезаются окном.
*/

.reviews-row::before,
.reviews-row::after {
  display: none;
}

/* ==================================================
   LEGACY
================================================== */

.legacy-section {
  padding-top: clamp(85px, 10vw, 135px);
  padding-bottom: clamp(110px, 14vw, 190px);
}

/*
  Legacy остаётся отдельной большой карточкой,
  а не частью огромного фонового блока.
*/

.legacy-card {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.82),
      rgba(230, 226, 218, 0.58)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -1px 0 rgba(47, 48, 49, 0.05),
    0 34px 100px rgba(30, 30, 30, 0.16);

  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

/*
  CTA также остаётся отдельной карточкой.
*/

.final-cta {
  background:
    linear-gradient(
      145deg,
      rgba(250, 248, 244, 0.82),
      rgba(230, 226, 218, 0.56)
    );

  border-color: rgba(255, 255, 255, 0.72);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 26px 76px rgba(30, 30, 30, 0.14);

  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

/*
  Footer должен читаться, но не превращаться
  в отдельную большую панель.
*/

.site-footer {
  position: relative;
  z-index: 4;

  margin-top: 20px;
  padding-bottom: 42px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 12px -20px 16px;
  z-index: -1;

  background: rgba(244, 240, 233, 0.48);
  border-radius: 24px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==================================================
   SUBTLE FLOATING EFFECT
================================================== */

/*
  Элементы не увеличиваются.
  Они лишь слегка поднимаются при наведении.
*/

.story-film__frame,
.review-card,
.legacy-card,
.final-cta {
  transition:
    transform 420ms var(--ease-premium),
    box-shadow 420ms var(--ease-premium);
}

.story-film__frame:hover,
.legacy-card:hover,
.final-cta:hover {
  transform: translateY(-4px);
}

/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 820px) {

  /*
    На мобильных position: fixed часто вызывает
    рывки при изменении высоты адресной строки.
    Поэтому возвращаем обычное поведение.
  */

  body {
    background: var(--page-bg);
  }

  .hero {
    overflow: hidden;
  }

  .hero__background {
    position: absolute;
    height: 100%;
  }

  .story-film,
  .family-stories,
  .legacy-section {
    background: var(--page-bg);
  }

  .story-film {
    padding-top: 82px;
    padding-bottom: 105px;
  }

  .family-stories {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .legacy-section {
    padding-top: 70px;
    padding-bottom: 110px;
  }

  .family-stories__heading {
    max-width: 100%;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-footer::before {
    display: none;
  }
}

/* ==================================================
   FALLBACK
================================================== */

@supports not ((backdrop-filter: blur(10px))) {

  .story-film__frame,
  .store-button,
  .family-stories__heading,
  .legacy-card,
  .final-cta,
  .site-footer::before {
    background: rgba(244, 240, 233, 0.94);
  }
}
/* =========================================
   CLEAN FIXED HERO
   Убираем туман и движущиеся затемнения
========================================= */

.hero__veil {
  display: none !important;
}

.hero::after {
  display: none !important;
  content: none !important;
}
/* ==================================================
   FINAL SCREEN POSITION — CORRECTED
   CTA и footer находятся ниже на финальном экране
================================================== */

.legacy-section {
  padding-top: clamp(85px, 10vw, 135px);

  /*
    Убираем огромный нижний отступ секции.
    Иначе он складывается с end-spacer.
  */
  padding-bottom: 0;
}

/*
  Расстояние между Legacy-карточкой
  и финальным CTA.
*/

.final-cta {
  margin-top: clamp(80px, 10vh, 130px);
  margin-bottom: clamp(28px, 4vh, 46px);
}

/*
  Footer располагается недалеко под CTA.
*/

.site-footer {
  position: relative;
  z-index: 4;

  margin-top: 0;

  padding-top: clamp(28px, 3.5vh, 40px);
  padding-bottom: clamp(28px, 3.5vh, 40px);
}

/*
  Стеклянная подложка footer
  остаётся ровно по его размеру.
*/

.site-footer::before {
  inset: 0 -20px;
}

/*
  После footer оставляем лишь немного фотографии,
  а не четверть экрана.
*/

.end-spacer {
  position: relative;
  z-index: 3;

  width: 100%;
  height: clamp(35px, 6vh, 70px);

  pointer-events: none;
}

/* ==================================================
   LARGE DESKTOP
================================================== */

@media (min-width: 1200px) {
  .final-cta {
    margin-top: clamp(90px, 11vh, 145px);
  }

  .end-spacer {
    height: clamp(40px, 6vh, 75px);
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 820px) {
  .legacy-section {
    padding-bottom: 0;
  }

  .final-cta {
    margin-top: 50px;
    margin-bottom: 28px;
  }

  .site-footer {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .end-spacer {
    height: 30px;
  }
}
/* ==================================================
   NESTORY — PREMIUM MOBILE EXPERIENCE
   Только для мобильных телефонов
================================================== */

@media (max-width: 560px) {

  :root {
    --page-padding: 16px;
    --mobile-hero-scale: 1.045;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    background: transparent;
  }

  /* ================================================
     FIXED MOBILE HERO
  ================================================= */

  .hero {
    position: relative;
    z-index: 1;

    min-height: 100svh;
    overflow: visible;

    background: transparent;
  }

  /*
    Возвращаем фиксированное фото и на телефоне.
    Оно остаётся за всеми последующими блоками.
  */

  .hero__background {
    position: fixed;
    inset: 0;
    z-index: -10;

    width: 100%;
    height: 100dvh;

    background-size: cover;
    background-position: 69% center;

    transform: scale(var(--mobile-hero-scale));
    transform-origin: center center;

    filter:
      grayscale(1)
      contrast(0.91)
      brightness(1.04);

    will-change: transform;
    pointer-events: none;
  }

  /*
    Светлый градиент остаётся прикреплённым к фото.
    Он не должен двигаться отдельно.
  */

  .hero__background::after {
    content: "";
    position: absolute;
    inset: 0;

    display: block;

    background:
      linear-gradient(
        180deg,
        rgba(245, 242, 236, 0.70) 0%,
        rgba(245, 242, 236, 0.36) 35%,
        rgba(245, 242, 236, 0.08) 65%,
        rgba(245, 242, 236, 0.15) 100%
      ),
      linear-gradient(
        90deg,
        rgba(245, 242, 236, 0.42) 0%,
        rgba(245, 242, 236, 0.09) 65%,
        rgba(245, 242, 236, 0) 100%
      );

    pointer-events: none;
  }

  /*
    Полностью убираем прежние подвижные слои тумана.
  */

  .hero__veil,
  .hero::after {
    display: none !important;
    content: none !important;
  }

  /* ================================================
     MOBILE NAVIGATION
  ================================================= */

  .hero__nav {
    position: relative;
    z-index: 5;

    grid-template-columns: 1fr auto;
    gap: 14px;

    padding-top: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand__logo {
    width: 36px;
    height: 43px;
  }

  .brand__name {
    font-size: 1.05rem;
  }

  .hero__links {
    display: none;
  }

  .language__select {
    min-width: 92px;
    max-width: 104px;

    padding:
      10px
      30px
      10px
      12px;

    font-size: 0.7rem;
    border-radius: 11px;
  }

  /* ================================================
     MOBILE HERO CONTENT
  ================================================= */

  .hero__content {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: flex-end;

    min-height: calc(100svh - 78px);

    padding-top: 115px;
    padding-bottom: 88px;
  }

  /*
    Более компактная карточка текста.
    Она не перекрывает лица и не выглядит тяжёлой.
  */

  .hero__copy {
    width: 100%;
    max-width: 430px;

    padding: 23px 21px;

    background:
      linear-gradient(
        145deg,
        rgba(249, 247, 242, 0.58),
        rgba(239, 235, 228, 0.25)
      );

    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 24px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 20px 60px rgba(30, 30, 30, 0.09);

    backdrop-filter: blur(13px) saturate(115%);
    -webkit-backdrop-filter: blur(13px) saturate(115%);
  }

  .hero__eyebrow {
    margin-bottom: 14px;

    font-size: 0.67rem;
    line-height: 1.45;
  }

  .hero__title {
    font-size: clamp(2.3rem, 11.5vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .hero__description {
    margin-top: 19px;

    font-size: 0.88rem;
    line-height: 1.58;
  }

  .hero__scroll {
    bottom: 19px;
  }

  /* ================================================
     TRANSPARENT MOBILE SECTIONS
  ================================================= */

  .story-film,
  .family-stories,
  .legacy-section {
    position: relative;
    z-index: 5;

    background: transparent !important;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* ================================================
     VIDEO — WALLET STYLE CARD
  ================================================= */

  .story-film {
    padding-top: 62px;
    padding-bottom: 92px;
  }

  .story-film__container {
    width: min(
      calc(100% - 28px),
      440px
    );
  }

  .story-film__frame {
    width: 100%;
    aspect-ratio: 4 / 4.5;

    padding: 5px;

    background:
      linear-gradient(
        145deg,
        rgba(250, 248, 244, 0.76),
        rgba(225, 221, 214, 0.45)
      );

    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 28px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 24px 70px rgba(20, 20, 20, 0.17);

    backdrop-filter: blur(17px) saturate(115%);
    -webkit-backdrop-filter: blur(17px) saturate(115%);
  }

  .story-film__media {
    border-radius: 23px;

    background:
      radial-gradient(
        circle at 50% 42%,
        rgba(255, 255, 255, 0.83),
        rgba(235, 231, 224, 0.64) 52%,
        rgba(215, 211, 204, 0.70) 100%
      );
  }

  .story-film__play {
    width: 64px;
    height: 64px;
  }

  .story-film__placeholder {
    margin-top: 17px;
    font-size: 0.65rem;
  }

  /* ================================================
     STORE BUTTONS
  ================================================= */

  .store-buttons {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 310px;

    gap: 12px;
    margin-top: 22px;
  }

  .store-button {
    width: 100%;
    min-width: 0;
    min-height: 60px;

    padding: 11px 22px;

    background:
      linear-gradient(
        145deg,
        rgba(250, 248, 244, 0.78),
        rgba(225, 221, 214, 0.46)
      );

    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 18px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 15px 42px rgba(20, 20, 20, 0.13);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  /* ================================================
     REVIEWS — ONE CARD PER ROW
  ================================================= */

  .family-stories {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .family-stories__heading {
    width: min(calc(100% - 32px), 420px);
    max-width: none;

    margin-bottom: 42px;
    padding: 20px 18px;

    background: rgba(244, 240, 233, 0.40);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 23px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.52),
      0 18px 50px rgba(20, 20, 20, 0.08);

    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
  }

  .family-stories__eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
  }

  .family-stories__title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  /*
    Отключаем автоматическую карусель.
  */

  .reviews-row--left .reviews-track,
  .reviews-row--right .reviews-track {
    animation: none !important;
    transform: none !important;
  }

  /*
    На мобильном достаточно одного ряда.
  */

  .reviews-row--right {
    display: none;
  }

  .reviews-row {
    overflow: visible;
  }

  .reviews-row::before,
  .reviews-row::after {
    display: none;
  }

  .reviews-track {
    display: block;
    width: 100%;
  }

  .reviews-group {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 15px;

    padding: 0 16px;
  }

  /*
    В бегущей строке отзывы обычно продублированы.
    Вторую копию скрываем.
  */

  .reviews-group:nth-child(n + 2) {
    display: none;
  }

  .review-card {
    width: 100%;
    min-height: 220px;

    padding: 25px 23px;
    border-radius: 25px;

    background:
      linear-gradient(
        145deg,
        #4a4846 0%,
        #3d3b39 100%
      );

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18),
      0 20px 54px rgba(0, 0, 0, 0.22);
  }

  .review-card:hover {
    transform: none;
  }

  .review-card__quote {
    margin-bottom: 28px;

    font-size: 0.95rem;
    line-height: 1.62;
  }

  /* ================================================
     LEGACY — MOBILE EDITORIAL CARD
  ================================================= */

  .legacy-section {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .legacy-card {
    display: flex;
    flex-direction: column;

    gap: 34px;

    min-height: 0;
    padding: 31px 23px;

    background:
      linear-gradient(
        145deg,
        rgba(250, 248, 244, 0.81),
        rgba(225, 221, 214, 0.53)
      );

    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 28px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 26px 76px rgba(20, 20, 20, 0.16);

    backdrop-filter: blur(17px) saturate(115%);
    -webkit-backdrop-filter: blur(17px) saturate(115%);
  }

  .legacy-card__copy {
    order: 1;
  }

  .legacy-card__emblem {
    order: 2;
  }

  .legacy-card__features {
    order: 3;

    display: flex;
    flex-direction: column;

    gap: 18px;
    padding-top: 0;
  }

  .legacy-card__emblem img {
    width: min(66vw, 230px);
  }

  .legacy-card__eyebrow {
    margin-bottom: 13px;
    font-size: 0.92rem;
  }

  .legacy-card__title {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .legacy-card__description {
    margin-top: 27px;

    font-size: 0.84rem;
    line-height: 1.65;
  }

  /* ================================================
     FINAL CTA
  ================================================= */

  .final-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 27px;

    margin-top: 58px;
    margin-bottom: 22px;

    padding: 27px 21px;

    background:
      linear-gradient(
        145deg,
        rgba(250, 248, 244, 0.82),
        rgba(225, 221, 214, 0.53)
      );

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 27px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 24px 68px rgba(20, 20, 20, 0.15);

    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
  }

  .final-cta__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 19px;
  }

  .final-cta__logo {
    width: 68px;
  }

  .final-cta__title {
    font-size: clamp(1.45rem, 7.6vw, 2.05rem);
    line-height: 1.18;
  }

  .final-cta__text {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .final-cta__stores {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    gap: 11px;
  }

  .final-cta__store-button {
    width: 100%;
    min-width: 0;
  }

  /* ================================================
     FOOTER — MOBILE CARD
  ================================================= */

  .site-footer {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 27px;

    margin-top: 0;
    padding: 27px 22px;

    background:
      linear-gradient(
        145deg,
        rgba(250, 248, 244, 0.78),
        rgba(225, 221, 214, 0.47)
      );

    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 25px;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.84),
      0 22px 64px rgba(20, 20, 20, 0.14);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /*
    На мобильном footer уже сам является карточкой,
    поэтому прежний псевдофон не нужен.
  */

  .site-footer::before {
    display: none;
    content: none;
  }

  .site-footer__links {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    gap: 0;
  }

  .site-footer__link,
  .site-footer__links a {
    width: 100%;

    padding: 15px 0;

    text-align: left;
    font-size: 0.79rem;

    border-bottom: 1px solid rgba(47, 48, 49, 0.09);
  }

  .site-footer__links > :last-child {
    border-bottom: 0;
  }

  .site-footer__link::after,
  .site-footer__links a::after {
    display: none;
  }

  .site-footer__copyright {
    padding-top: 3px;

    font-size: 0.7rem;
    white-space: normal;
  }

  /*
    Небольшое пространство фотографии после footer.
  */

  .end-spacer {
    height: 44px;
  }
}

/* ==================================================
   VERY SMALL PHONES
================================================== */

@media (max-width: 380px) {

  .hero__copy {
    padding: 20px 18px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .story-film__container {
    width: calc(100% - 22px);
  }

  .reviews-group {
    padding-inline: 11px;
  }

  .review-card {
    padding: 22px 20px;
  }

  .legacy-card,
  .final-cta,
  .site-footer {
    border-radius: 23px;
  }
}
/* ==================================================
   LEGACY ICONS — FORCE BLUE COLOR
   Обязательно оставить в самом конце style.css
================================================== */

.legacy-card .legacy-card__feature-icon {
  color: #1677ff !important;

  text-shadow:
    0 0 12px rgba(22, 119, 255, 0.28) !important;
}

/*
  На случай, если иконки сделаны через SVG.
*/

.legacy-card .legacy-card__feature-icon svg {
  color: #1677ff !important;
  fill: none !important;
  stroke: #1677ff !important;
}

/*
  Если внутри SVG используются path, circle,
  rect, line или polygon.
*/

.legacy-card .legacy-card__feature-icon svg path,
.legacy-card .legacy-card__feature-icon svg circle,
.legacy-card .legacy-card__feature-icon svg rect,
.legacy-card .legacy-card__feature-icon svg line,
.legacy-card .legacy-card__feature-icon svg polyline,
.legacy-card .legacy-card__feature-icon svg polygon {
  stroke: #1677ff !important;
}

/* Hover */

.legacy-card__features li:hover .legacy-card__feature-icon {
  color: #005edb !important;

  transform: translateY(-2px) scale(1.08);

  text-shadow:
    0 0 18px rgba(22, 119, 255, 0.42) !important;
}

.legacy-card__features li:hover .legacy-card__feature-icon svg,
.legacy-card__features li:hover .legacy-card__feature-icon svg path,
.legacy-card__features li:hover .legacy-card__feature-icon svg circle,
.legacy-card__features li:hover .legacy-card__feature-icon svg rect,
.legacy-card__features li:hover .legacy-card__feature-icon svg line,
.legacy-card__features li:hover .legacy-card__feature-icon svg polyline,
.legacy-card__features li:hover .legacy-card__feature-icon svg polygon {
  stroke: #005edb !important;
}
/* ==================================================
   LEGACY FEATURES — BLUE ICONS ONLY
================================================== */

.legacy-card__features li {
  color: rgba(47, 48, 49, 0.86) !important;
}

/* Красим только иконку */

.legacy-card__features li > .legacy-card__feature-icon {
  color: #1677ff !important;

  text-shadow:
    0 0 14px rgba(22, 119, 255, 0.28);

  transition:
    transform 260ms var(--ease-premium),
    color 260ms ease,
    text-shadow 260ms ease;
}

/* Текст оставляем графитовым */

.legacy-card__features li > span:not(.legacy-card__feature-icon) {
  color: rgba(47, 48, 49, 0.86) !important;
  text-shadow: none !important;
}

/* Hover только для иконки */

.legacy-card__features li:hover > .legacy-card__feature-icon {
  color: #005edb !important;

  transform: translateY(-2px) scale(1.08);

  text-shadow:
    0 0 18px rgba(22, 119, 255, 0.42);
}
/* ==================================================
   NESTORY — SCROLL REVEAL
================================================== */

.reveal-on-scroll {
  opacity: 0;

  transform:
    translate3d(0, 42px, 0)
    scale(0.985);

  filter: blur(5px);

  transition:
    opacity 850ms var(--ease-premium),
    transform 950ms var(--ease-premium),
    filter 850ms ease;

  will-change:
    opacity,
    transform,
    filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;

  transform:
    translate3d(0, 0, 0)
    scale(1);

  filter: blur(0);
}

/*
  Небольшие задержки для элементов,
  которые находятся рядом.
*/

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

/*
  Более мягкое появление на телефоне.
*/

@media (max-width: 560px) {
  .reveal-on-scroll {
    transform:
      translate3d(0, 28px, 0)
      scale(0.99);

    filter: blur(3px);

    transition-duration:
      700ms,
      800ms,
      700ms;
  }
}

/*
  Доступность.
*/

@media (prefers-reduced-motion: reduce) {
  .feature-explorer__trigger,
  .feature-explorer__chevron,
  .feature-explorer__content {
    transition: none;
  }

  .feature-explorer__trigger:hover {
    transform: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}