:root {
  --navy: #0a1628;
  --navy-mid: #0d1f35;
  --navy-deep: #060d18;
  --gold: #c9a962;
  --gold-line: rgba(201, 169, 98, 0.45);
  --gold-soft: #e4c77d;
  --teal-cta: #1a5c56;
  --teal-cta-hover: #144a45;
  --bg: var(--navy-deep);
  --surface: #111f33;
  --surface-2: #0f1b2e;
  --text: #e8ecf2;
  --muted: #9aa5b8;
  --accent: var(--gold-soft);
  --line: rgba(201, 169, 98, 0.28);
  --heading-font: "Playfair Display", "Times New Roman", serif;
  --body-font: "Montserrat", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1320px, 96vw);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section.prices {
  border-top: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3em;
}

h3 {
  color: #f4f7fb;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 26px;
  color: #f4f7fb;
}

.accent {
  color: var(--gold-soft);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font: 600 12px/1 var(--body-font);
  letter-spacing: 0.12em;
  padding: 16px 28px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--teal-cta);
  color: #f4f7fb;
  border-color: var(--teal-cta);
}

.btn-primary:hover {
  background: var(--teal-cta-hover);
  border-color: var(--teal-cta-hover);
  color: #fff;
}

.btn-outline {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-soft);
  color: #fff;
  background: rgba(201, 169, 98, 0.08);
}

.btn-signup {
  background: linear-gradient(180deg, #d4b76a 0%, #b8944a 100%);
  color: var(--navy-deep);
  border-color: transparent;
  font-weight: 700;
}

.btn-signup:hover {
  filter: brightness(1.06);
  color: var(--navy-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f4f7fb;
  background: var(--navy);
}

.hero .container {
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

.hero-bg-navy {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(26, 92, 86, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(201, 169, 98, 0.06) 0%, transparent 50%);
}

.hero-bg-navy::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-panel {
  pointer-events: none;
}

.hero-panel--desktop {
  display: none;
}

.topbar {
  position: relative;
  z-index: 5;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-brand {
  font: 500 11px/1 var(--body-font);
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

.btn-top {
  padding: 11px 22px;
  font-size: 11px;
}

.hero-divider {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 0.22fr;
  align-items: end;
  min-height: calc(100vh - 87px);
  gap: 8px 16px;
}

.hero-content {
  padding: 46px 0 52px 0;
  position: relative;
  z-index: 3;
}

.hero-kicker {
  position: relative;
  margin-bottom: 22px;
  padding-left: 62px;
  text-transform: uppercase;
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.hero-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  border-top: 1px solid var(--gold);
}

.hero-title {
  max-width: 620px;
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 5.2vw, 5.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title-w {
  color: #fff;
}

.hero-title-g {
  color: var(--gold-soft);
}

.accent-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.hero-text {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
  color: rgba(232, 236, 242, 0.88);
  font-weight: 400;
}

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

.hero-actions .btn {
  min-width: min(100%, 240px);
  padding: 15px 20px;
  font-size: 11px;
  justify-content: center;
}

.hero-photo {
  align-self: end;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 4;
  padding: 22px 0 0;
  margin-bottom: -4px;
}

.hero-photo img {
  width: min(440px, 100%);
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero-photo::after {
  content: none;
}

.personal-brand-split {
  width: min(1320px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 24px;
}

.personal-brand-media {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.personal-brand-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  /* Верх фото совпадает с верхом блока с обводкой на любой высоте колонки */
  object-position: center top;
  display: block;
  transform: scale(1.03);
  transform-origin: top center;
}

.personal-brand-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  transform: none;
  z-index: 2;
  background: transparent;
}

.personal-brand-right .container {
  /* Внутри grid-колонки контейнер должен быть ровно по ширине колонки,
     иначе он может раздуваться до 1320px и "вылезать" за границы. */
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.personal-brand-right .brand-grid {
  width: 100%;
}

.personal-brand-right .brand-prices > div {
  min-width: 0;
}

/* Hero entrance + subtle scroll motion */
.hero-content,
.hero-photo,
.hero-stats {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-content {
  transform: translate3d(0, 28px, 0);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.hero-photo {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.hero-stats {
  transform: translate3d(0, 24px, 0);
  transition: transform 0.75s ease 0.18s, opacity 0.75s ease 0.18s;
}

.hero.is-visible .hero-content,
.hero.is-visible .hero-photo,
.hero.is-visible .hero-stats {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-stats {
  position: relative;
  z-index: 2;
  height: 100%;
  border-left: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8px 8px 20px;
  box-sizing: border-box;
}

.hero-panel--stats-mobile {
  display: none;
}

.stat {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--gold-line);
  padding: 20px 0 16px 8px;
}

.stat b {
  display: block;
  color: var(--gold-soft);
  font: 600 clamp(2.5rem, 3.6vw, 3.25rem) / 0.95 var(--heading-font);
}

.stat span {
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(244, 247, 251, 0.82);
  font: 600 10px/1.3 var(--body-font);
}

@media (min-width: 1181px) {
  .hero-bg-navy {
    background-color: var(--navy);
    background-image: url("Back desktop.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero-bg-navy::after {
    display: none;
  }

  /* Полный кадр уже в Back desktop.jpg (navy + bronze), отдельная панель не нужна */
  .hero-panel--desktop {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr) minmax(160px, 0.26fr);
  }

  .hero-photo {
    justify-content: flex-end;
    margin-right: clamp(-48px, -3vw, -12px);
  }

  .hero-photo img {
    width: min(480px, 100%);
    max-height: min(82vh, 760px);
  }

  /* Статистика у нижнего края hero (ровно с низом фона) */
  .hero-stats {
    padding: 0 8px 0 20px;
    align-self: end;
  }
}

@media (max-width: 1180px) {
  .hero-panel--desktop {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    overflow: visible;
  }

  .hero-content {
    padding: 36px 0 20px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9.5vw, 3.5rem);
    margin-bottom: 18px;
  }

  .hero-text {
    font-size: 14px;
    margin-bottom: 22px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-photo {
    order: 2;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    align-self: start;
    line-height: 0;
  }

  .hero-photo img {
    width: min(59vw, 260px);
    max-width: 100%;
    max-height: none;
    height: auto;
    margin: 0;
    padding: 0;
    transform: none;
    object-position: center bottom;
    display: block;
  }

  .hero-stats {
    order: 3;
    grid-column: 1 / -1;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 0;
    border-top: 1px solid var(--gold-line);
    padding: 28px clamp(16px, 5vw, 28px) 36px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 220px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-panel--stats-mobile {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("bdeskright2.jpg") center center / cover no-repeat;
  }

  .hero-panel--stats-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 13, 24, 0.2) 0%, rgba(6, 13, 24, 0.75) 100%);
  }

  .stat {
    border-top-color: rgba(201, 169, 98, 0.4);
    padding-left: 4px;
    padding-right: 4px;
  }

  .stat b {
    color: var(--gold-soft);
    font-size: clamp(2.2rem, 8vw, 2.75rem);
  }

  .stat span {
    color: rgba(255, 255, 255, 0.9);
  }
}

.quotes,
.price-card,
.brand-grid,
.cta-box {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(17, 31, 51, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  align-items: start;
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* Две колонки по вертикали (1–2 слева, 3–4 справа) без grid-auto-flow: column — он даёт сбой раскладки в ряде браузеров */
.faq-item:nth-child(1) {
  order: 1;
}

.faq-item:nth-child(3) {
  order: 2;
}

.faq-item:nth-child(2) {
  order: 3;
}

.faq-item:nth-child(4) {
  order: 4;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(17, 31, 51, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #e8ecf2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  text-transform: uppercase;
  font: 700 16px/1.25 var(--body-font);
  padding: 20px 26px;
  cursor: pointer;
}

.faq-question .symbol {
  color: var(--gold-soft);
  font-size: 27px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 26px;
}

.faq-answer p {
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 130px;
  padding-bottom: 16px;
}

.faq-item.open .symbol {
  transform: rotate(45deg);
}

.about {
  overflow: hidden;
}

.about-wrap {
  position: relative;
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 32px;
  background: linear-gradient(165deg, rgba(18, 31, 52, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.about-wrap::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-wrap::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(26, 92, 86, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-top {
  position: relative;
  z-index: 1;
  padding: 56px 52px 0;
}

.about-kicker {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.16em;
}

.about-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  border-top: 1px solid var(--gold);
  box-shadow: 0 0 8px rgba(201, 169, 98, 0.6);
}

.about-head-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(18px, 2vw, 24px);
  margin-bottom: 28px;
  width: 100%;
}

.about-top h2 {
  /* Одна строка на десктопе: масштаб под полную ширину блока */
  font-size: clamp(1.35rem, 2.15vw, 2.05rem);
  line-height: 1.15em;
  letter-spacing: 0.03em;
  max-width: none;
  width: 100%;
  margin: 0;
  white-space: nowrap;
}

.about-plate {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid var(--gold-line);
  /* тот же оттенок, что у .hero-title-g (var(--gold-soft)) */
  background: var(--gold-soft);
  box-shadow: 0 10px 32px rgba(6, 13, 24, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.about-plate p {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
}

.about-plate p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 22, 40, 0.14);
  color: #1a2838;
  font-size: 16px;
  line-height: 1.68;
}

.about-plate strong {
  color: var(--navy-deep);
  font-weight: 700;
}

.about-intro {
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 20px;
  margin-right: 250px;
  max-width: 1050px;
}

.about-intro strong {
  color: #f0f3f8;
}

.about-list,
.about-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list {
  margin-top: 8px;
}

.about-list li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 8px 20px 28px;
  color: rgba(232, 236, 242, 0.9);
  font-size: 17px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.about-list li:hover {
  color: #fff;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--navy-deep);
  background: var(--gold-soft);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 8px rgba(201, 169, 98, 0.4);
}

.about-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 390px;
  position: relative;
  z-index: 1;
}

.about-bottom-text {
  /* Отступ от верхней обводки, чтобы контент не "прилипал" к границе */
  padding: 15px 42px 40px;
}

.about-bottom h3 {
  font-size: clamp(2.8rem, 4.2vw, 4.1rem);
  line-height: 1.3em;
  margin-bottom: 22px;
  max-width: 620px;
}

/* Ровно три визуальные строки: каждая — отдельный блок без внутренних переносов */
.about-bottom h3.about-trust-h3 {
  max-width: none;
  line-height: 1.18em;
  font-size: clamp(2rem, 3.5vw, 4.1rem);
}

.about-trust-line {
  display: block;
  white-space: nowrap;
}

.about-facts li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.about-facts li:hover {
  color: rgba(232, 236, 242, 0.9);
}

.about-facts strong {
  color: #f0f3f8;
  font-weight: 600;
}

.about-photo {
  position: absolute;
  right: 52px;
  /* Фото должно начинаться сразу от низа контейнера */
  bottom: 0;
  width: 360px;
}

.about-photo img {
  width: 100%;
  height: auto;
}

.about-badge {
  position: absolute;
  right: 24px;
  top: 30%;
  transform: translateY(-50%);
  min-width: 104px;
  background: linear-gradient(135deg, var(--teal-cta) 0%, var(--teal-cta-hover) 100%);
  color: #ffffff;
  padding: 16px;
  text-align: center;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 32px rgba(26, 92, 86, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: 2;
}

.about-badge-value {
  display: block;
  font: 500 56px/0.9 var(--heading-font);
  color: #ffffff;
}

.about-badge-text {
  display: block;
  margin-top: 0;
  font: 700 10px/1 var(--body-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.trust-brands-wrap {
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 44px);
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(201, 169, 98, 0.08) 0%, transparent 55%),
    linear-gradient(155deg, rgba(18, 32, 52, 0.98) 0%, rgba(8, 18, 34, 0.99) 100%);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.trust-content {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
  padding: 4px 0 4px clamp(8px, 2vw, 16px);
  border-left: 1px solid rgba(201, 169, 98, 0.18);
}

.trust-kicker {
  position: relative;
  width: fit-content;
  padding-left: 34px;
  margin-bottom: 0;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font: 600 11px/1.2 var(--body-font);
}

.trust-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.trust-brands-wrap h2 {
  margin-bottom: 0;
  max-width: 22ch;
  font-size: clamp(1.5rem, 2.5vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-wrap: balance;
  color: #f6f8fc;
}

.trust-lead {
  margin-bottom: 0;
  max-width: 36ch;
  color: rgba(200, 210, 224, 0.92);
  text-transform: none;
  letter-spacing: 0.01em;
  font: 500 15px/1.55 var(--body-font);
}

.trust-logos {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 15px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.trust-logo-showcase {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.trust-logo-showcase img {
  width: 100%;
  height: auto;
  max-height: min(420px, 55vh);
  object-fit: contain;
  object-position: center;
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 40px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(22, 36, 58, 0.95) 0%, rgba(12, 24, 42, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  color: #e8ecf2;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.34);
  border-color: rgba(201, 169, 98, 0.38);
  background: linear-gradient(165deg, #172943 0%, #102238 100%);
  color: #f4f7fb;
}

.price-card.featured {
  background: linear-gradient(165deg, rgba(40, 32, 22, 0.95) 0%, rgba(18, 28, 42, 0.98) 100%);
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 22px 50px rgba(201, 169, 98, 0.12);
  transform: none;
}

.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 14px;
  pointer-events: none;
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  transform: none;
  background: linear-gradient(90deg, #d4b76a 0%, #a8843a 100%);
  color: var(--navy-deep);
  font: 700 11px/1 var(--body-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}

.price-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(201, 169, 98, 0.1);
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font: 700 10px/1 var(--body-font);
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.price-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(26, 92, 86, 0.25);
  border: 1px solid rgba(26, 92, 86, 0.45);
  color: #6ec4b8;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.price-card .btn {
  width: 100%;
  margin-top: auto; /* кнопка внизу карточки */
  padding: 12px 20px;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.price-card .btn-outline {
  border-color: rgba(201, 169, 98, 0.8);
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.12) 0%, rgba(201, 169, 98, 0.04) 100%);
  color: #f2d89a;
}

.price-card .btn-primary {
  box-shadow: 0 12px 26px rgba(186, 147, 74, 0.32);
}

.price-card .btn:hover {
  transform: translateY(-1px);
}

.price-card .btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.price-card h3 {
  font-size: 22px;
  line-height: 1.3em;
  margin-bottom: 12px;
  transition: color 0.28s ease;
  color: #f4f7fb;
}

.price-subtitle {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
  transition: color 0.28s ease;
}

.price-card p {
  margin-bottom: 14px;
  color: rgba(232, 236, 242, 0.82);
  font-size: 16px;
  transition: color 0.28s ease;
}

.price-investment {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.4;
}

.price-investment strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.price-level {
  margin-bottom: 12px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.45;
}

.price-hook {
  margin-bottom: 12px !important;
  font-size: 15px !important;
  line-height: 1.45;
  color: rgba(232, 236, 242, 0.9) !important;
}

.price-pack-detail {
  margin: -4px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.45);
  color: rgba(232, 236, 242, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.price-list-tight {
  margin-top: -6px;
}

.price-card:hover .price-pack-detail {
  border-color: rgba(238, 247, 245, 0.28);
  background: rgba(238, 247, 245, 0.08);
  color: #eff7f5;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  color: rgba(232, 236, 242, 0.88);
  font-size: 15px;
  line-height: 1.35;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.5);
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  font-size: 11px;
  background: var(--gold-soft);
}

.price-card:hover h3,
.price-card:hover .price-subtitle,
.price-card:hover .price-investment,
.price-card:hover .price-investment strong,
.price-card:hover .price-hook {
  color: #eff7f5;
}

.price-card:hover .price-level {
  color: rgba(238, 247, 245, 0.82) !important;
}

.price-card:hover .price-tag {
  border-color: rgba(238, 247, 245, 0.45);
  background: rgba(238, 247, 245, 0.12);
  color: #eff7f5;
}

.price-card:hover .price-icon {
  border-color: rgba(238, 247, 245, 0.45);
  background: rgba(238, 247, 245, 0.12);
  color: #eff7f5;
}

.price-card:hover .price-list li {
  border-color: rgba(238, 247, 245, 0.28);
  background: rgba(238, 247, 245, 0.08);
  color: #eff7f5;
}

.price-card:hover .btn-outline {
  border-color: #f2d89a;
  background: linear-gradient(180deg, rgba(242, 216, 154, 0.2) 0%, rgba(242, 216, 154, 0.08) 100%);
  color: #fff6df;
  box-shadow: 0 12px 28px rgba(201, 169, 98, 0.22);
}

.price-card:hover .btn-primary {
  background: #f1f7f6;
  border-color: #f1f7f6;
  color: #0c2f37;
}

.price-card.featured:hover {
  border-color: #f1d49d;
  background: linear-gradient(180deg, #3c2a16 0%, #1e1710 100%);
  box-shadow: 0 26px 54px rgba(98, 65, 26, 0.42);
}

.price-card.featured:hover::before {
  border-color: rgba(241, 212, 157, 0.52);
}

.price-card.featured:hover .price-badge {
  background: linear-gradient(90deg, #f3cf8d 0%, #d6a553 100%);
  color: #2a1e11;
}

.price-card.featured:hover .price-investment strong {
  color: #f3cf8d;
}

.price-card.featured:hover .price-list li::before {
  background: #f3cf8d;
  color: #2a1e11;
}

.brand-grid {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(22, 36, 58, 0.95) 0%, rgba(12, 24, 42, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  grid-column: 1 / -1;
}

.brand-copy h2 {
  max-width: none;
  white-space: nowrap; /* всегда две строки: перенос только по <br> */
}

.brand-kicker {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.14em;
}

.brand-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  border-top: 1px solid var(--gold);
}

.brand-copy p {
  width: 100%;
  max-width: none;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.brand-prices > div {
  min-width: 290px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-prices span {
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}

.brand-prices strong {
  color: var(--gold-soft);
  font: 400 50px/0.9 var(--heading-font);
}

.brand-prices .btn {
  width: 100%;
  margin-top: 14px;
}

.brand-note {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(201, 169, 98, 0.08);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  padding: 12px 16px;
}

.quotes {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

blockquote {
  margin: 0;
  color: rgba(232, 236, 242, 0.92);
  font-size: 19px;
  line-height: 1.5;
  text-transform: none;
}

.testi-kicker {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.14em;
}

.testi-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  border-top: 1px solid var(--gold);
}

.testimonials h2 {
  margin-bottom: 24px;
}

.testi-item {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(17, 31, 51, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.testi-item + .testi-item {
  border-top: 0;
}

.testi-author {
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.cta-box {
  text-align: center;
  padding: 112px 24px 92px;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-kicker {
  position: relative;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 0 20px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.14em;
}

.cta-kicker::before,
.cta-kicker::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 14px;
  border-top: 1px solid var(--gold);
}

.cta-kicker::before {
  left: 0;
}

.cta-kicker::after {
  right: 0;
}

.cta-title {
  font-size: clamp(3rem, 5.4vw, 4.9rem);
  line-height: 1.18;
  margin-bottom: 22px;
}

.cta-box p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.cta-action {
  width: min(410px, 100%);
  margin: 0 auto;
  min-height: 52px;
  font-size: 13px;
}

.cta-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.85);
  color: #e8ecf2;
  padding: 13px 14px;
  font: 400 16px/1 var(--body-font);
}

input::placeholder {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer a {
  color: var(--gold-soft);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-photo,
  .hero-stats {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1), transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .reveal.reveal-left {
    transform: translate3d(-16px, 14px, 0);
  }

  .reveal.reveal-right {
    transform: translate3d(16px, 14px, 0);
  }

  .reveal.reveal-soft {
    transform: translate3d(0, 12px, 0);
    transition-duration: 0.38s;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .reveal[data-delay="1"] {
    transition-delay: 0.08s;
  }

  .reveal[data-delay="2"] {
    transition-delay: 0.14s;
  }

  .reveal[data-delay="3"] {
    transition-delay: 0.2s;
  }

  .reveal[data-delay="4"] {
    transition-delay: 0.26s;
  }

  .section {
    padding: 46px 0;
  }

  /* Отступы по 15px для хедера на мобильном */
  .container.topbar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-content {
    padding: 24px 0 18px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11.5vw, 3.6rem);
    line-height: 1.3em;
    margin-bottom: 14px;
  }

  .hero-kicker {
    padding-left: 50px;
  }

  .hero-kicker {
    margin-bottom: 12px;
  }

  .hero-kicker::before {
    width: 40px;
  }

  .hero-text {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 11px;
  }

  .btn,
  .price-card,
  .faq-question,
  .testi-item {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease, background-color 0.32s ease, color 0.32s ease, opacity 0.32s ease;
  }

  .btn:active,
  .faq-question:active {
    transform: translate3d(0, 1px, 0) scale(0.992);
  }

  .price-card:active,
  .testi-item:active {
    transform: translate3d(0, 2px, 0) scale(0.995);
  }

  .cards,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  /* Пакеты (prices) */
  .price-card {
    padding: 26px 18px 22px;
    gap: 2px;
  }

  .price-card.featured {
    transform: translateY(0);
  }

  .price-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .price-investment {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .price-level,
  .price-hook {
    font-size: 14px !important;
  }

  .price-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .price-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .price-card p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .price-tag {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .price-list li {
    font-size: 14px;
    padding: 10px 12px 10px 36px;
  }

  .price-list {
    gap: 10px;
  }

  .price-list li::before {
    left: 12px;
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .price-badge {
    right: 16px;
    padding: 6px 14px;
    font-size: 11px;
  }

  .cta-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .cta-box {
    padding: 56px 16px 44px;
    min-height: 0;
  }

  /* Личный бренд (brand) */
  .brand-grid {
    padding: 22px 16px;
  }

  .brand-copy h2 {
    white-space: normal;
  }

  .brand-copy p {
    font-size: 15px;
  }

  .brand-prices strong {
    font-size: 44px;
  }

  .brand-prices span {
    font-size: 12px;
  }

  /* Отзывы (testimonials) */
  .testi-item {
    padding: 14px 16px;
  }

  .quotes blockquote {
    font-size: 16px;
  }

  .trust-brands-wrap {
    padding: 22px 18px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .trust-content {
    grid-column: auto;
    border-left: none;
    padding: 0;
    gap: 10px;
    order: 1;
  }

  .trust-brands-wrap h2 {
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
    line-height: 1.18;
    margin-bottom: 0;
    max-width: none;
  }

  .trust-lead {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: none;
  }

  .trust-logos {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    min-height: 0;
    padding: 15px;
    border-radius: 16px;
  }

  .trust-logo-showcase img {
    max-height: min(320px, 50vh);
  }

  .testi-author {
    font-size: 11px;
  }

  .hero-photo {
    margin: 0;
    padding: 0;
    min-height: 0;
  }

  .hero-photo img {
    width: min(64vw, 240px);
    margin: 0;
    padding: 0;
  }

  /* FAQ (Но что мешает?) */
  .faq-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-item:nth-child(1),
  .faq-item:nth-child(2),
  .faq-item:nth-child(3),
  .faq-item:nth-child(4) {
    order: 0;
  }

  .faq-item {
    border-radius: 16px;
  }

  .faq-question {
    font-size: 15px;
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-question .symbol {
    font-size: 22px;
  }

  .faq-answer {
    padding: 0 14px;
  }

  .faq-item.open .faq-answer {
    padding-bottom: 12px;
  }

  .about-wrap {
    border-left: 0;
    border-right: 0;
  }

  .about-top {
    padding: 26px 0 0;
  }

  .about-head-row {
    gap: 16px;
    margin-bottom: 0;
  }

  .about-top h2 {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.2em;
    max-width: none;
    white-space: normal;
    text-wrap: balance;
  }

  .about-plate {
    margin-bottom: 22px;
    padding: 20px 18px;
    border-radius: 14px;
    border-color: var(--gold-line);
    box-shadow: 0 8px 24px rgba(6, 13, 24, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  .about-plate p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-plate p + p {
    margin-top: 14px;
    padding-top: 14px;
    font-size: 14px;
  }

  .about-intro {
    font-size: 14px;
    margin-bottom: 14px;
    /* На мобильной/узкой версии убираем фиксированный отступ справа */
    margin-right: 0;
    line-height: 1.65;
  }

  .about-list li {
    font-size: 14px;
    padding: 13px 6px 13px 18px;
  }

  .about-list li::before {
    top: 13px;
  }

  .about-bottom {
    margin-top: 28px;
    grid-template-columns: 1fr;
  }

  .about-bottom-text {
    /* Отступ сверху до контента от верхней обводки */
    padding: 20px 20px 18px;
  }

  .about-bottom h3 {
    font-size: 33.6px;
    margin-bottom: 18px;
  }

  .about-bottom h3.about-trust-h3 {
    font-size: clamp(1.2rem, 5.8vw, 2rem);
    line-height: 1.2em;
  }

  .about-facts li {
    font-size: 14px;
    padding: 13px 0;
  }

  .about-photo {
    position: relative;
    right: auto;
    width: min(215px, 60vw); /* Уменьшено примерно в 1.5 раза (было 320px / 85vw) */
    margin: 0 auto;
  }

  .about-badge {
    right: -20px;
    min-width: 64px;
    font-size: 32px;
    padding: 10px;
    gap: 7px;
  }

  .about-badge-value {
    font-size: 32px;
  }

  .about-badge-text {
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .brand-prices > div {
    min-width: 0;
  }

  .personal-brand-split {
    grid-template-columns: 1fr;
  }

  .personal-brand-media {
    order: 0;
    height: 100%;
  }

  .personal-brand-media img {
    /* Как на десктопе: привязка к верху рамки */
    object-position: center top;
    transform-origin: top center;
  }

  .personal-brand-right {
    order: 1;
    transform: none;
    z-index: auto;
  }

  .stat {
    padding: 14px 8px 12px;
    border-left: 0;
    min-height: 0;
  }

  .stat b {
    font-size: 34px;
    line-height: 0.95;
  }

  .stat span {
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: 0.7px;
    white-space: normal;
  }

  /* Отступы по 15px по краям для блока "Но что мешает?" */
  .section.problems .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Отступы по 15px по краям для блока "Мое решение" */
  .section.about .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .section.about {
    padding-bottom: 0;
  }

  /* Отступы по 15px по краям для блока "Результаты клиентов" */
  .section.testimonials .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Отступы по 15px по краям для блока "Программы и цены" */
  .section.prices .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .quotes {
    padding: 16px 14px 18px;
    gap: 12px;
  }

  /* Внутренние отступы футера на мобильном */
  .footer .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-wrap {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-left,
  .reveal.reveal-right,
  .reveal.reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .btn,
  .price-card,
  .faq-question,
  .testi-item {
    transition: none;
  }
}
