:root {
  --bg: #f5efeb;
  --card: #fffdfc;
  --text: #2f2529;
  --muted: #70646a;
  --accent: #921f48;
  --accent-dark: #6f1736;
  --accent-soft: #f1dce3;
  --line: rgba(76, 46, 57, .12);
  --shadow: 0 28px 80px rgba(83, 51, 62, .13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(191, 116, 142, .11), transparent 31%),
    radial-gradient(circle at 88% 86%, rgba(146, 31, 72, .08), transparent 28%),
    var(--bg);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.intro-card {
  width: min(100%, 1180px);
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.video-panel {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #dad2cb;
}

.intro-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.video-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(33, 20, 26, .16), transparent);
}

.video-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(47, 37, 41, .54);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 15px;
}

.video-toggle__play {
  display: none;
  margin-left: 2px;
  font-size: 12px;
}

.video-toggle.is-paused .video-toggle__pause {
  display: none;
}

.video-toggle.is-paused .video-toggle__play {
  display: inline;
}

.content-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 76px);
  overflow: hidden;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 23px;
  padding: 8px 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 3.7vw, 58px);
  line-height: 1.04;
  letter-spacing: -.035em;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.description {
  max-width: 610px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.description--strong {
  margin-top: 13px;
  color: var(--text);
  font-weight: 600;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.facts span {
  padding: 9px 12px;
  color: var(--accent-dark);
  background: #fbf2f5;
  border: 1px solid rgba(146, 31, 72, .11);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.button {
  min-height: 58px;
  width: min(100%, 400px);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 15px 19px 15px 23px;
  color: #fff;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(146, 31, 72, .2);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 20px 38px rgba(111, 23, 54, .24);
}

.button:focus-visible,
.video-toggle:focus-visible {
  outline: 3px solid rgba(146, 31, 72, .24);
  outline-offset: 3px;
}

.note {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

@media (max-width: 850px) {
  .page-shell {
    padding: 18px;
  }

  .intro-card {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  }

  .content-panel {
    padding: 44px 34px;
  }

  h1 {
    font-size: clamp(34px, 4.7vw, 48px);
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 0;
    place-items: stretch;
  }

  .intro-card {
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(310px, 42vh) auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .video-panel {
    min-height: 0;
  }

  .intro-video {
    object-position: center 42%;
  }

  .video-toggle {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }

  .content-panel {
    justify-content: flex-start;
    padding: 30px 20px 34px;
  }

  .eyebrow {
    margin-bottom: 17px;
    padding: 7px 10px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(33px, 9.4vw, 40px);
    line-height: 1.04;
  }

  .description {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.65;
  }

  .description--strong {
    margin-top: 11px;
  }

  .facts {
    margin-top: 21px;
  }

  .facts span {
    padding: 8px 10px;
    font-size: 9px;
  }

  .button {
    width: 100%;
    margin-top: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}


/* v3 — защита длинного заголовка от выхода за экран */
.intro-card,
.content-panel,
.content-panel > * {
  min-width: 0;
}

@media (min-width: 681px) and (max-width: 1100px) {
  .content-panel {
    padding-left: 32px;
    padding-right: 32px;
  }

  h1 {
    font-size: clamp(36px, 4.3vw, 48px);
  }
}
