:root {
  --ink: #142f3b;
  --ink-soft: #405963;
  --sage: #7b927d;
  --sage-dark: #536c59;
  --sage-pale: #dfe8dc;
  --blue: #183b4a;
  --blue-deep: #102d3a;
  --cream: #f3eadb;
  --sand: #e7d5bc;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(20, 47, 59, 0.15);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville,
    "Times New Roman", serif;
  --sans: var(--font-geist-sans), Inter, Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

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

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

::selection {
  background: var(--sage);
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(20, 47, 59, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.04em;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #36505a;
  font-size: 13px;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--sage-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  width: min(1280px, calc(100% - 64px));
  min-height: 720px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  align-items: center;
  gap: 72px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 84px 0 96px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(58px, 5.45vw, 88px);
  line-height: 0.94;
}

h1 em,
h2 em {
  display: block;
  color: var(--sage-dark);
  font-weight: 400;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 2px;
  padding: 0 25px;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  box-shadow: 0 13px 26px rgba(16, 45, 58, 0.15);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 17px 34px rgba(16, 45, 58, 0.22);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(20, 47, 59, 0.35);
  padding: 10px 0 6px;
  font-size: 12px;
  font-weight: 670;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 55px;
}

.trust-faces {
  display: flex;
  padding-left: 7px;
}

.trust-faces span {
  display: grid;
  width: 33px;
  height: 33px;
  margin-left: -7px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}

.trust-faces span:nth-child(2) {
  background: var(--cream);
}

.trust-faces span:nth-child(3) {
  background: #cddce3;
}

.trust-row p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: #617279;
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.trust-row strong {
  color: var(--ink);
  font-size: 11px;
}

.trust-row i {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: stretch;
}

.portrait-frame {
  position: absolute;
  top: 55px;
  right: 10px;
  bottom: 52px;
  left: 50px;
  overflow: hidden;
  border-radius: 255px 255px 8px 8px;
  background: var(--cream);
  box-shadow: 0 25px 60px rgba(34, 56, 62, 0.16);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 63%,
    rgba(13, 37, 48, 0.72) 100%
  );
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.02);
}

.portrait-label {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--white);
}

.portrait-label small {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-label strong {
  font-family: var(--serif);
  font-size: 18px;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(38, 53, 54, 0.14);
  backdrop-filter: blur(12px);
}

.floating-note p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: #647378;
  font-size: 9px;
  line-height: 1.45;
}

.floating-note strong {
  color: var(--ink);
  font-size: 11px;
}

.note-top {
  top: 118px;
  left: 0;
  padding: 13px 17px;
}

.note-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
}

.note-bottom {
  right: 0;
  bottom: 103px;
  padding: 14px 19px 14px 15px;
}

.result-number {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
}

.dot-pattern {
  position: absolute;
  width: 92px;
  height: 92px;
  opacity: 0.34;
  background-image: radial-gradient(var(--sage-dark) 1px, transparent 1px);
  background-size: 10px 10px;
}

.dot-pattern-one {
  right: -16px;
  bottom: 5px;
}

.leaf {
  position: absolute;
  z-index: 1;
  width: 54px;
  height: 24px;
  border: 1px solid rgba(83, 108, 89, 0.38);
  border-radius: 100% 0 100% 0;
  transform: rotate(-35deg);
}

.leaf-one {
  top: 54px;
  right: 41%;
}

.leaf-two {
  top: 82px;
  right: 39%;
  width: 42px;
  height: 19px;
  transform: rotate(32deg);
}

.metric-strip {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.metric-strip div {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 500;
}

.metric-strip span {
  max-width: 84px;
  color: #6d7b80;
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 128px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-kicker {
  margin-bottom: 18px;
}

.section h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 4.2vw, 66px);
  line-height: 1;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.problem-card {
  min-height: 390px;
  padding: 48px;
  border-radius: 4px;
}

.muted-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(251, 250, 246, 0.87), rgba(251, 250, 246, 0.87)),
    radial-gradient(circle at 100% 0%, var(--sage-pale), transparent 50%);
}

.card-label,
.feature-caption {
  display: inline-block;
  margin-bottom: 33px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.problem-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-card li {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 15px 0 15px 25px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.problem-card li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  content: "";
}

.solution-card {
  display: flex;
  background: var(--sage-dark);
  color: var(--white);
  flex-direction: column;
}

.solution-card .card-label {
  color: #dfe8dc;
}

.solution-quote {
  max-width: 670px;
  margin-bottom: 35px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 37px);
  line-height: 1.25;
}

.signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.signature > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: var(--serif);
}

.signature p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  line-height: 1.5;
}

.signature strong {
  color: var(--white);
  font-size: 11px;
}

.programs-section {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100% - 1160px) / 2));
  padding-left: max(32px, calc((100% - 1160px) / 2));
  background: var(--blue-deep);
  color: var(--white);
}

.heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.heading-row > div {
  max-width: 730px;
}

.section-kicker.light {
  color: #b7c7bb;
}

.programs-section h2 em {
  color: #a9bea9;
}

.heading-note {
  max-width: 310px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.8;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.program-card {
  display: flex;
  min-height: 420px;
  padding: 35px 33px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  flex-direction: column;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border 180ms ease;
}

.program-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-3px);
}

.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-top > span {
  color: #9eb3a0;
  font-family: var(--serif);
  font-size: 22px;
}

.program-top small {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-card h3 {
  margin: 75px 0 20px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
}

.program-card p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.85;
}

.program-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.method-intro > p:not(.section-kicker) {
  max-width: 420px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.dark-link {
  margin-top: 25px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  grid-template-columns: 60px 1fr;
  gap: 5px;
}

.step > span {
  padding-top: 4px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 14px;
}

.step h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
}

.step p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.results-section {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100% - 1160px) / 2));
  padding-left: max(32px, calc((100% - 1160px) / 2));
  background: #edf1ea;
}

.dark-note {
  color: var(--ink-soft);
}

.results-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.results-table {
  border: 1px solid rgba(20, 47, 59, 0.13);
  background: rgba(255, 255, 255, 0.53);
}

.result-row {
  display: grid;
  min-height: 70px;
  align-items: center;
  border-bottom: 1px solid rgba(20, 47, 59, 0.1);
  padding: 0 28px;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  font-size: 12px;
}

.result-row:last-child {
  border-bottom: 0;
}

.result-row span:nth-child(n + 2),
.result-row strong {
  text-align: center;
}

.result-row strong {
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.result-head {
  min-height: 55px;
  color: #6f7d81;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-feature {
  display: flex;
  padding: 40px;
  background: var(--blue);
  color: var(--white);
  flex-direction: column;
}

.result-feature .feature-caption {
  color: #c5d2c6;
}

.score-change {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: auto 0 24px;
  font-family: var(--serif);
}

.score-change span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 36px;
}

.score-change i {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--sans);
  font-style: normal;
}

.score-change strong {
  font-size: 70px;
  font-weight: 500;
}

.result-feature h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.result-feature p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.8;
}

.format-section {
  width: min(1280px, calc(100% - 64px));
}

.format-card {
  display: grid;
  overflow: hidden;
  background: var(--sage-dark);
  color: var(--white);
  grid-template-columns: 1.1fr 0.9fr;
}

.format-copy {
  padding: 72px;
}

.format-copy h2 {
  margin-bottom: 40px;
}

.format-copy h2 em {
  color: #c5d2c6;
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 23px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: #e8d8bd;
  content: "✓";
  font-weight: 700;
}

.price-panel {
  display: flex;
  padding: 55px;
  background: var(--cream);
  color: var(--ink);
  flex-direction: column;
  justify-content: center;
}

.price-label {
  margin-bottom: 28px;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(20, 47, 59, 0.14);
  padding: 22px 0;
  gap: 18px;
}

.price-row span {
  display: flex;
  flex-direction: column;
  color: #6c797d;
  font-size: 9px;
  line-height: 1.55;
}

.price-row strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 550;
}

.price-row b {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 550;
}

.price-footnote {
  margin: 4px 0 25px;
  color: #7b878b;
  font-size: 9px;
}

.button-cream {
  align-self: flex-start;
  background: var(--blue);
  color: var(--white);
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered-heading .section-kicker {
  justify-content: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.audience-grid article {
  min-height: 280px;
  border: 1px solid var(--line);
  padding: 32px;
  background: rgba(255, 255, 255, 0.36);
}

.audience-grid article > span {
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 15px;
}

.audience-grid h3 {
  margin: 92px 0 12px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 550;
}

.audience-grid p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.faq-section {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-heading {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 42px 23px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 550;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--sage-dark);
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 570px;
  padding: 0 42px 24px 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  padding: 92px 32px;
  background: var(--cream);
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  top: -145px;
  left: calc(50% - 245px);
  width: 490px;
  height: 490px;
  border: 1px solid rgba(83, 108, 89, 0.18);
  border-radius: 50%;
  content: "";
}

.final-cta h2 {
  position: relative;
  max-width: 750px;
}

.final-cta h2 em {
  color: var(--sage-dark);
}

.final-cta > p:not(.section-kicker) {
  position: relative;
  max-width: 590px;
  margin: 27px auto 32px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.final-actions {
  position: relative;
}

.phone-link {
  border-bottom: 1px solid rgba(20, 47, 59, 0.32);
  padding: 8px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
}

.final-cta > small {
  position: relative;
  margin-top: 30px;
  color: #728084;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dot-pattern-two {
  right: 7%;
  bottom: 9%;
}

.leaf-three {
  bottom: 12%;
  left: 8%;
  width: 83px;
  height: 37px;
}

footer {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  min-height: 150px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

.footer-brand {
  justify-self: start;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--ink-soft);
  font-size: 10px;
}

footer > p {
  margin: 0;
  justify-self: end;
  color: #7c898d;
  font-size: 9px;
}

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 690px;
    grid-template-columns: 1fr 0.82fr;
    gap: 25px;
  }

  .portrait-frame {
    left: 25px;
  }

  .heading-row,
  .method-section,
  .faq-section {
    gap: 50px;
  }

  .format-copy {
    padding: 55px 45px;
  }

  .price-panel {
    padding: 45px 35px;
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .metric-strip,
  .section,
  .format-section,
  footer {
    width: min(100% - 40px, 680px);
  }

  .site-header {
    min-height: 78px;
  }

  .header-cta {
    padding: 10px 14px;
  }

  .hero {
    display: flex;
    min-height: 0;
    overflow: visible;
    flex-direction: column;
  }

  .hero-copy {
    padding: 70px 0 30px;
  }

  .hero-visual {
    width: 100%;
    min-height: 620px;
  }

  .portrait-frame {
    inset: 30px 30px 20px;
  }

  .note-top {
    top: 80px;
    left: 4px;
  }

  .note-bottom {
    right: 4px;
    bottom: 72px;
  }

  .metric-strip {
    margin-top: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-strip div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 95px 0;
  }

  .problem-grid,
  .method-section,
  .results-layout,
  .format-card,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .heading-row {
    display: block;
  }

  .heading-note {
    max-width: 550px;
    margin-top: 28px;
  }

  .programs-section,
  .results-section {
    width: 100%;
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .program-card {
    min-height: 330px;
  }

  .program-card h3 {
    margin-top: 48px;
  }

  .method-section,
  .faq-section {
    gap: 60px;
  }

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

  .audience-grid article {
    min-height: 210px;
  }

  .audience-grid h3 {
    margin-top: 52px;
  }

  footer {
    min-height: 210px;
    padding: 35px 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 25px;
  }

  .footer-brand,
  footer > p {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .metric-strip,
  .section,
  .format-section,
  footer {
    width: calc(100% - 32px);
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 8px;
  }

  .header-cta {
    gap: 6px;
    font-size: 10px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .trust-row {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .trust-row i {
    display: none;
  }

  .hero-visual {
    min-height: 505px;
  }

  .portrait-frame {
    inset: 25px 8px 18px;
    border-radius: 170px 170px 5px 5px;
  }

  .portrait-frame img {
    object-position: 79% center;
  }

  .note-top {
    top: 67px;
    left: -4px;
  }

  .note-bottom {
    right: -5px;
    bottom: 55px;
  }

  .metric-strip div {
    min-height: 95px;
    gap: 7px;
  }

  .metric-strip strong {
    font-size: 27px;
  }

  .section {
    padding: 78px 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 41px;
  }

  .problem-card,
  .result-feature,
  .format-copy,
  .price-panel {
    padding: 32px 25px;
  }

  .programs-section,
  .results-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .result-row {
    padding: 0 16px;
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
  }

  .result-head {
    font-size: 7px;
  }

  .score-change strong {
    font-size: 58px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .phone-link {
    align-self: center;
  }

  .final-cta {
    min-height: 570px;
    padding: 80px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Readability and persistent navigation refinements */

body {
  font-size: 16px;
  line-height: 1.6;
}

#top,
#about,
#programs,
#results,
#format {
  scroll-margin-top: 118px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 86px;
  padding: 0 20px;
  border: 1px solid rgba(20, 47, 59, 0.11);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(251, 250, 246, 0.93);
  box-shadow: 0 12px 30px rgba(20, 47, 59, 0.08);
  backdrop-filter: blur(18px);
}

.brand small {
  font-size: 10.5px;
}

.desktop-nav {
  font-size: 14px;
}

.header-cta {
  border-color: #a7b9a8;
  background: var(--sage-pale);
  color: var(--ink);
  font-size: 13px;
}

.header-cta:hover {
  border-color: var(--sage-dark);
  background: #cbd9cb;
  color: var(--ink);
}

.hero {
  min-height: 760px;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
}

.hero-lead {
  font-size: 19px;
}

.button {
  min-height: 58px;
  padding-right: 28px;
  padding-left: 28px;
  font-size: 14px;
}

.button-primary {
  border: 1px solid #9fb2a0;
  background: var(--sage-pale);
  box-shadow: 0 13px 26px rgba(83, 108, 89, 0.13);
  color: var(--ink);
}

.button-primary:hover {
  border-color: var(--sage-dark);
  background: #cbdacb;
  box-shadow: 0 17px 34px rgba(83, 108, 89, 0.19);
}

.text-link {
  font-size: 14px;
}

.trust-row p {
  font-size: 11px;
}

.trust-row strong {
  font-size: 13px;
}

.portrait-label small {
  font-size: 10px;
}

.portrait-label strong {
  font-size: 20px;
}

.floating-note p {
  font-size: 11px;
}

.floating-note strong {
  font-size: 13px;
}

.metric-strip span {
  max-width: 110px;
  font-size: 11px;
}

.card-label,
.feature-caption {
  font-size: 11px;
}

.problem-card li {
  font-size: 16px;
}

.signature p {
  font-size: 11px;
}

.signature strong {
  font-size: 13px;
}

.heading-note {
  max-width: 360px;
  font-size: 15px;
}

.program-top small {
  font-size: 10.5px;
}

.program-card p {
  font-size: 15px;
}

.program-card a {
  font-size: 12px;
}

.method-intro > p:not(.section-kicker) {
  font-size: 16px;
}

.step p {
  font-size: 14px;
}

.result-row {
  font-size: 14px;
}

.result-head {
  font-size: 10.5px;
}

.result-feature p {
  font-size: 14px;
}

.check-list li {
  font-size: 14px;
}

.price-label {
  font-size: 11px;
}

.price-row span {
  font-size: 11.5px;
}

.price-footnote {
  font-size: 11px;
}

.audience-grid p {
  font-size: 14px;
}

.faq-list details p {
  font-size: 14px;
}

.final-cta > p:not(.section-kicker) {
  font-size: 16px;
}

.final-cta > small {
  font-size: 10.5px;
}

.footer-links {
  font-size: 12px;
}

footer > p {
  font-size: 11px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: flex;
  }
}

@media (max-width: 820px) {
  #top,
  #about,
  #programs,
  #results,
  #format {
    scroll-margin-top: 142px;
  }

  .site-header {
    display: grid;
    width: 100%;
    min-height: 0;
    padding: 10px 16px 9px;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 14px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 6px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .desktop-nav {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 5px 0 1px;
    grid-column: 1 / -1;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .desktop-nav a {
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(83, 108, 89, 0.16);
    border-radius: 999px;
    background: rgba(223, 232, 220, 0.58);
    font-size: 11.5px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .desktop-nav a::after {
    display: none;
  }

  .hero {
    width: min(100% - 40px, 680px);
  }

  .hero-copy {
    padding-top: 62px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .portrait-frame img {
    object-position: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 15px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .header-cta {
    gap: 5px;
    padding: 8px 11px;
    font-size: 11.5px;
  }

  .desktop-nav {
    justify-content: flex-start;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: 51px;
  }

  .button {
    font-size: 13.5px;
  }

  .trust-row p {
    font-size: 10.5px;
  }

  .trust-row strong {
    font-size: 12.5px;
  }

  .hero-visual {
    min-height: 565px;
  }

  .portrait-frame {
    inset: 25px 4px 18px;
  }

  .portrait-frame img {
    object-position: center;
    transform: none;
  }

  .floating-note p {
    font-size: 10.5px;
  }

  .floating-note strong {
    font-size: 12px;
  }

  .metric-strip span {
    font-size: 10.5px;
  }

  .problem-card li,
  .method-intro > p:not(.section-kicker),
  .final-cta > p:not(.section-kicker) {
    font-size: 15px;
  }

  .heading-note,
  .program-card p {
    font-size: 14.5px;
  }

  .step p,
  .result-feature p,
  .check-list li,
  .audience-grid p,
  .faq-list details p {
    font-size: 13.5px;
  }

  .result-head {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}

/* Vivid sage editorial theme inspired by the supplied reference */

:root {
  --ink: #0b351c;
  --ink-soft: #31553a;
  --sage: #49a916;
  --sage-dark: #1d701b;
  --sage-pale: #e8f4dc;
  --blue: #247b1a;
  --blue-deep: #0c3d1b;
  --cream: #f3f5e8;
  --sand: #dce9c7;
  --paper: #fffdf8;
  --line: rgba(29, 112, 27, 0.18);
}

body {
  background:
    radial-gradient(circle at 7% 7%, rgba(139, 190, 82, 0.09), transparent 20rem),
    radial-gradient(circle at 94% 36%, rgba(73, 169, 22, 0.08), transparent 26rem),
    var(--paper);
}

::selection {
  background: #bde49c;
  color: var(--blue-deep);
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -0.055em;
}

h1 em,
h2 em {
  font-weight: 850;
}

h1 em {
  background: linear-gradient(110deg, #176019 0%, #55b610 82%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header {
  width: min(1420px, calc(100% - 32px));
  min-height: 88px;
  padding: 10px 16px;
  border-color: rgba(29, 112, 27, 0.18);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 38px rgba(25, 83, 25, 0.11);
}

.brand-mark {
  border-color: rgba(29, 112, 27, 0.28);
  background: linear-gradient(145deg, #eef7e7, #dcefc9);
  color: var(--blue-deep);
  font-family: var(--sans);
  font-weight: 850;
}

.brand strong {
  color: var(--blue-deep);
  font-family: var(--sans);
  font-weight: 850;
}

.brand small {
  color: #47714d;
  font-weight: 700;
}

.desktop-nav {
  flex: 1;
  justify-content: center;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 780;
}

.desktop-nav a {
  min-height: 43px;
  min-width: 112px;
  padding: 11px 15px;
  border: 1px solid rgba(29, 112, 27, 0.18);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(239, 247, 231, 0.96), rgba(229, 241, 215, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  line-height: 1.25;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.desktop-nav a::after {
  display: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  border-color: #3f9e18;
  background: linear-gradient(135deg, #227d18, #52ae11);
  box-shadow: 0 8px 18px rgba(43, 128, 22, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.header-cta {
  min-height: 43px;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
}

.header-telegram {
  border-color: rgba(29, 112, 27, 0.27);
  background: #ecf6e4;
  color: var(--blue-deep);
}

.header-phone {
  border-color: #2c861a;
  background: linear-gradient(135deg, #2b8419, #55af12);
  box-shadow: 0 8px 18px rgba(43, 128, 22, 0.18);
  color: #fff;
}

.header-telegram:hover {
  border-color: #3c9818;
  background: #dcedca;
  color: var(--blue-deep);
}

.header-phone:hover {
  border-color: #1f7017;
  background: linear-gradient(135deg, #216f18, #429d0d);
  color: #fff;
}

.header-action-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1;
}

.hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 770px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 4%;
  right: 32%;
  width: 210px;
  height: 210px;
  background: rgba(168, 201, 112, 0.12);
}

.hero::after {
  right: -8%;
  bottom: 2%;
  width: 390px;
  height: 390px;
  background: rgba(73, 169, 22, 0.07);
}

.eyebrow,
.section-kicker {
  color: var(--sage-dark);
  font-weight: 850;
}

.eyebrow span {
  width: 31px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #267c1c, #58b812);
}

.hero-lead {
  color: #31553a;
}

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

.button {
  min-height: 56px;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.button-primary {
  border-color: #a6ce83;
  background: linear-gradient(135deg, #e7f4d9, #bfe49f);
  box-shadow: 0 12px 25px rgba(58, 133, 33, 0.16);
  color: var(--blue-deep);
}

.button-primary:hover {
  border-color: #78b64f;
  background: linear-gradient(135deg, #d9edc7, #aeda88);
  box-shadow: 0 16px 30px rgba(58, 133, 33, 0.22);
  color: var(--blue-deep);
}

.button-secondary {
  border-color: rgba(29, 112, 27, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
}

.button-secondary:hover {
  border-color: #4a9e25;
  background: #f0f7e9;
}

.button-youtube {
  border-color: rgba(29, 112, 27, 0.24);
  background: #fff;
  color: var(--blue-deep);
}

.button-youtube:hover {
  border-color: #53a22c;
  background: #f3f8ed;
  box-shadow: 0 12px 24px rgba(32, 100, 27, 0.13);
}

.youtube-icon {
  display: grid;
  width: 26px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #ec3327;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.trust-faces span {
  border-color: var(--paper);
  background: linear-gradient(145deg, #e9f5df, #bddd9e);
  color: var(--blue-deep);
  font-family: var(--sans);
  font-weight: 850;
}

.portrait-frame {
  border: 1px solid rgba(29, 112, 27, 0.22);
  background:
    radial-gradient(circle at 50% 22%, rgba(122, 184, 61, 0.24), transparent 31%),
    linear-gradient(150deg, #edf3e1, #d7e9c5);
  box-shadow: 0 30px 70px rgba(21, 76, 24, 0.14);
}

.portrait-label {
  border-color: rgba(29, 112, 27, 0.18);
  background: rgba(255, 253, 248, 0.93);
}

.floating-note {
  border: 1px solid rgba(29, 112, 27, 0.18);
  box-shadow: 0 18px 38px rgba(18, 74, 24, 0.13);
}

.metric-strip strong,
.program-top span,
.audience-grid article > span {
  color: #3c9b15;
}

.metric-strip {
  border-color: rgba(29, 112, 27, 0.2);
  background: linear-gradient(180deg, #fff, #f7faef);
  box-shadow: 0 18px 40px rgba(26, 83, 25, 0.07);
}

.problem-card,
.audience-grid article,
.faq-list details,
.results-table {
  border-color: rgba(29, 112, 27, 0.18);
}

.muted-card,
.audience-grid article {
  background: linear-gradient(150deg, #f8faef, #eef5e3);
}

.solution-card,
.programs-section,
.format-card,
.final-cta {
  background:
    radial-gradient(circle at 92% 12%, rgba(111, 190, 42, 0.22), transparent 19rem),
    linear-gradient(135deg, #0b3c1b 0%, #175f1b 58%, #2c8115 120%);
}

.program-card {
  border-color: rgba(200, 230, 170, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.program-card:hover {
  border-color: rgba(208, 239, 178, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.program-top small {
  border-color: rgba(218, 242, 192, 0.36);
  color: #e0efcf;
}

.result-feature {
  background:
    radial-gradient(circle at 90% 10%, rgba(123, 203, 46, 0.25), transparent 12rem),
    linear-gradient(140deg, #0c421b, #268115);
}

.format-card,
.final-cta,
.programs-section {
  box-shadow: 0 22px 55px rgba(12, 61, 27, 0.13);
}

.price-panel {
  background: rgba(255, 253, 248, 0.96);
}

.leaf {
  background: linear-gradient(145deg, rgba(95, 166, 44, 0.75), rgba(30, 104, 29, 0.3));
}

.dot-pattern {
  background-image: radial-gradient(circle, #5d972f 0 2px, transparent 2.7px);
  opacity: 0.42;
}

.footer-links a:hover,
.phone-link:hover {
  color: #3a9913;
}

@media (max-width: 1180px) {
  #top,
  #about,
  #programs,
  #results,
  #format {
    scroll-margin-top: 150px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 8px;
  }

  .desktop-nav {
    width: 100%;
    padding: 1px 0;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: 100%;
    padding: 10px 14px 9px;
  }

  .desktop-nav {
    justify-content: flex-start;
  }

  .desktop-nav a {
    min-width: auto;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .hero {
    width: min(100% - 40px, 680px);
  }

  .hero-actions .button {
    flex: 1 1 210px;
  }
}

@media (max-width: 560px) {
  #top,
  #about,
  #programs,
  #results,
  #format {
    scroll-margin-top: 136px;
  }

  .site-header {
    column-gap: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta {
    width: 40px;
    min-height: 40px;
    justify-content: center;
    padding: 0;
    border-radius: 11px;
  }

  .header-action-text {
    display: none;
  }

  .header-action-icon {
    background: transparent;
    font-size: 14px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(43px, 13.5vw, 54px);
    line-height: 0.96;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }
}

/* Contrast fixes, MAX contacts and configurable-contact controls */

.portrait-label {
  color: var(--blue-deep);
}

.portrait-label small {
  color: #4a6b4e;
  font-weight: 800;
}

.portrait-label strong {
  color: var(--blue-deep);
}

.note-bottom .result-number {
  background: #145617;
  color: #fff;
  font-weight: 850;
}

.solution-card,
.solution-card .solution-quote,
.solution-card .card-label,
.solution-card .signature,
.solution-card .signature p,
.solution-card .signature strong {
  color: #fff;
}

.solution-card .signature p {
  color: rgba(255, 255, 255, 0.86);
}

.programs-section,
.programs-section h2,
.programs-section h2 em,
.programs-section .section-kicker,
.programs-section .heading-note,
.program-card h3,
.program-card a {
  color: #fff;
}

.programs-section .heading-note,
.program-card p {
  color: rgba(255, 255, 255, 0.86);
}

.program-top > span,
.program-top small {
  color: #fff;
}

.result-feature,
.result-feature .feature-caption,
.result-feature h3,
.result-feature p,
.result-feature .score-change span,
.result-feature .score-change i,
.result-feature .score-change strong {
  color: #fff;
}

.result-feature p,
.result-feature .feature-caption {
  color: rgba(255, 255, 255, 0.88);
}

.format-copy,
.format-copy h2,
.format-copy h2 em,
.format-copy .section-kicker,
.format-copy .check-list li {
  color: #fff;
}

.format-copy .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.format-copy .check-list li::before {
  color: #fff;
}

.final-cta h2,
.final-cta h2 em,
.final-cta .section-kicker,
.final-cta > p,
.final-cta > small {
  color: #fff;
}

.final-cta > p,
.final-cta > small {
  color: rgba(255, 255, 255, 0.9);
}

.header-youtube {
  border-color: rgba(193, 42, 35, 0.22);
  background: #fff;
  color: var(--blue-deep);
}

.header-youtube:hover {
  border-color: #dc3a31;
  background: #fff1ef;
  color: var(--blue-deep);
}

.youtube-header-icon {
  background: #e5342a;
  color: #fff;
  font-size: 9px;
}

.header-max {
  border-color: rgba(40, 105, 153, 0.24);
  background: #eef7fb;
  color: var(--blue-deep);
}

.header-max:hover {
  border-color: #5897bc;
  background: #dceff7;
  color: var(--blue-deep);
}

.max-header-icon {
  background: #4a96c4;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.button-max,
.button-max-light,
.button-max-dark {
  border-color: rgba(54, 125, 166, 0.3);
  background: #e7f4fa;
  color: #123c53;
}

.button-max:hover,
.button-max-light:hover,
.button-max-dark:hover {
  border-color: #4b93b9;
  background: #d6edf7;
  box-shadow: 0 12px 24px rgba(35, 99, 133, 0.15);
  color: #123c53;
}

.program-actions {
  display: grid;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  grid-template-columns: 1fr 1fr;
}

.program-actions a {
  min-width: 0;
  justify-content: space-between;
  margin-top: 0;
  border-top: 0;
  padding: 20px 10px 0;
}

.program-actions a:first-child {
  padding-left: 0;
}

.program-actions a:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.method-contact-actions,
.price-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.method-contact-actions {
  margin-top: 26px;
}

.method-contact-actions .text-link {
  margin: 0;
}

.price-actions .button {
  flex: 1 1 145px;
  padding-right: 16px;
  padding-left: 16px;
}

.final-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.final-actions .phone-link {
  min-height: 56px;
  padding: 14px 4px;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .header-cta {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .header-action-text {
    display: none;
  }

  .header-action-icon {
    background: transparent;
  }

  .header-youtube .header-action-icon {
    background: #e5342a;
  }

  .header-max .header-action-icon {
    background: #4a96c4;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-right: 9px;
    padding-left: 9px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 4px;
  }

  .header-cta {
    width: 34px;
    min-height: 34px;
    border-radius: 9px;
  }

  .header-action-icon {
    width: 20px;
    height: 20px;
  }
}

/* V13: enlarged review viewer */

.review-lightbox[hidden] {
  display: none;
}

body.review-lightbox-open {
  overflow: hidden;
}

.review-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 0;
  background: rgba(225, 237, 216, 0.62);
  backdrop-filter: blur(18px) saturate(0.78);
  -webkit-backdrop-filter: blur(18px) saturate(0.78);
  place-items: center;
}

.review-lightbox-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 68px 92px 62px;
  overflow: hidden;
  cursor: zoom-out;
  place-items: center;
  touch-action: none;
}

.review-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(29, 112, 27, 0.2);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  cursor: zoom-in;
  object-fit: contain;
  transform:
    translate3d(
      var(--review-pan-x, 0),
      var(--review-pan-y, 0),
      0
    )
    scale(var(--review-zoom-scale, 1));
  transform-origin: center;
  user-select: none;
  will-change: transform;
  -webkit-user-drag: none;
}

.review-lightbox-image.is-zoomed {
  cursor: grab;
}

.review-lightbox-image.is-dragging {
  cursor: grabbing;
}

.review-lightbox-image.is-entering.from-next {
  animation: review-lightbox-from-next 280ms ease both;
}

.review-lightbox-image.is-entering.from-previous {
  animation: review-lightbox-from-previous 280ms ease both;
}

.review-lightbox-close,
.review-lightbox-arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(29, 112, 27, 0.25);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(20, 67, 26, 0.13);
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.review-lightbox-close:hover,
.review-lightbox-arrow:hover {
  border-color: #58ad28;
  background: #e9f5df;
}

.review-lightbox-close {
  top: 17px;
  right: 19px;
  font-size: 27px;
}

.review-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.review-lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.review-lightbox-previous {
  left: 19px;
}

.review-lightbox-next {
  right: 19px;
}

.review-lightbox-counter {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  margin: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.review-lightbox-help {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 20px;
  margin: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
}

@keyframes review-lightbox-from-next {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes review-lightbox-from-previous {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 720px) {
  body.review-lightbox-open .mobile-contact-rail {
    opacity: 0;
    pointer-events: none;
  }

  .review-lightbox {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    border-radius: 0;
    background: rgba(5, 17, 10, 0.97);
  }

  .review-lightbox-stage {
    padding:
      max(
        90px,
        calc(env(safe-area-inset-top, 0px) + 60px)
      )
      13px
      max(64px, env(safe-area-inset-bottom));
    overflow: hidden;
    touch-action: none;
  }

  .review-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    cursor: grab;
    touch-action: none;
  }

  .review-lightbox-image.is-zoomed {
    cursor: grabbing;
  }

  .review-lightbox-close,
  .review-lightbox-arrow {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.94);
  }

  .review-lightbox-close {
    z-index: 1002;
    top: max(
      44px,
      calc(env(safe-area-inset-top, 0px) + 14px)
    );
    right: max(
      12px,
      calc(env(safe-area-inset-right, 0px) + 10px)
    );
    pointer-events: auto;
    touch-action: manipulation;
  }

  .review-lightbox-arrow {
    display: none;
  }

  .review-lightbox-previous {
    left: max(8px, env(safe-area-inset-left));
  }

  .review-lightbox-next {
    right: max(8px, env(safe-area-inset-right));
  }

  .review-lightbox-counter {
    bottom: max(14px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
  }

  .review-lightbox-help {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-lightbox-image.is-entering {
    animation: none;
  }
}

/* V5: layout repair, official contact icons and contact chooser */

.eyebrow > span:first-child {
  width: 31px;
  height: 3px;
  flex: 0 0 31px;
  border-radius: 999px;
  background: linear-gradient(90deg, #267c1c, #58b812);
}

.eyebrow > span[data-config-text] {
  width: auto;
  height: auto;
  flex: 0 1 auto;
  border-radius: 0;
  background: none;
}

.button {
  cursor: pointer;
  font-family: var(--sans);
}

a[data-config-href="telegramUrl"]::before,
a[data-config-href="maxUrl"]::before {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

a[data-config-href="telegramUrl"]::before {
  background-image: url("assets/telegram-logo.svg");
}

a[data-config-href="maxUrl"]::before {
  background-image: url("assets/max-logo.svg");
}

.header-cta[data-config-href="telegramUrl"]::before,
.header-cta[data-config-href="maxUrl"]::before {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

.program-actions a::before,
.footer-links a[data-config-href="telegramUrl"]::before,
.footer-links a[data-config-href="maxUrl"]::before {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a[data-config-phone-href] {
  min-height: 34px;
  border: 1px solid rgba(29, 112, 27, 0.2);
  border-radius: 10px;
  padding: 6px 11px;
  background: #eef6e8;
  color: var(--blue-deep);
  font-weight: 800;
}

.header-max {
  border-color: rgba(110, 26, 255, 0.2);
  background: #f5f0ff;
}

.header-max:hover {
  border-color: #6e1aff;
  background: #ede5ff;
}

body .final-cta > p:not(.section-kicker),
body .final-cta > small {
  color: rgba(255, 255, 255, 0.94);
}

.final-actions .phone-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 0 22px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(6, 45, 20, 0.16);
  color: var(--blue-deep);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 850;
}

.final-actions .phone-link:hover {
  border-color: #bde49c;
  background: #edf8e4;
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.contact-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue-deep);
}

.contact-dialog::backdrop {
  background: rgba(5, 34, 16, 0.62);
  backdrop-filter: blur(8px);
}

.contact-dialog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 112, 27, 0.18);
  border-radius: 24px;
  padding: 42px;
  background:
    radial-gradient(circle at 100% 0, rgba(121, 190, 65, 0.17), transparent 15rem),
    #fffdf8;
  box-shadow: 0 30px 90px rgba(5, 44, 18, 0.32);
}

.contact-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(29, 112, 27, 0.18);
  border-radius: 50%;
  background: #f1f7ea;
  color: var(--blue-deep);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 25px;
  line-height: 1;
}

.contact-dialog-kicker {
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-dialog h2 {
  max-width: 420px;
  margin-bottom: 13px;
  color: var(--blue-deep);
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1;
}

.contact-dialog-lead {
  max-width: 410px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.contact-dialog-options {
  display: grid;
  gap: 10px;
}

.contact-option {
  display: grid;
  min-height: 72px;
  align-items: center;
  border: 1px solid rgba(29, 112, 27, 0.16);
  border-radius: 15px;
  padding: 12px 17px;
  background: #fff;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact-option:hover {
  border-color: #67a940;
  background: #f3f8ed;
  transform: translateY(-1px);
}

.contact-option::before,
.contact-option > i {
  width: 38px !important;
  height: 38px !important;
  flex-basis: 38px !important;
}

.contact-option > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.contact-option strong {
  color: var(--blue-deep);
  font-size: 15px;
}

.contact-option small {
  color: #607568;
  font-size: 12px;
}

.contact-option b {
  color: var(--sage-dark);
  font-size: 16px;
}

.contact-option-vk-icon,
.contact-option-phone-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.contact-option-vk-icon {
  background: #2787f5;
  color: #fff;
  font-size: 11px;
}

.contact-option-phone-icon {
  background: #e7f4d9;
  color: var(--blue-deep);
  font-size: 17px;
}

@media (min-width: 821px) {
  .site-header {
    width: min(1560px, calc(100% - 32px));
  }

  .hero {
    width: min(1480px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    gap: 58px;
  }

  .hero-copy h1 {
    max-width: 760px;
  }

  .metric-strip,
  .format-section,
  footer {
    width: min(1440px, calc(100% - 40px));
  }

  .section {
    width: min(1320px, calc(100% - 40px));
  }

  .programs-section,
  .results-section {
    padding-right: max(20px, calc((100% - 1320px) / 2));
    padding-left: max(20px, calc((100% - 1320px) / 2));
  }
}

@media (min-width: 1181px) {
  .hero-actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 820px) {
  .header-cta[data-config-href="telegramUrl"]::before,
  .header-cta[data-config-href="maxUrl"]::before {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .contact-dialog-card {
    padding: 38px 22px 24px;
    border-radius: 19px;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
  }

  .contact-dialog {
    width: calc(100% - 20px);
  }

  .contact-option {
    min-height: 66px;
    padding: 10px 13px;
  }
}

/* V6: restored proportions, branded contacts and reviews */

#reviews,
#faq {
  scroll-margin-top: 118px;
}

.header-youtube::before,
.footer-links a[data-config-href="youtubeUrl"]::before,
.footer-links a[data-config-href="vkUrl"]::before,
.contact-option[data-config-href="vkUrl"]::before,
a[data-config-phone-href]::before {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.header-youtube::before,
.footer-links a[data-config-href="youtubeUrl"]::before {
  background-image: url("assets/youtube-logo.svg");
}

.footer-links a[data-config-href="vkUrl"]::before,
.contact-option[data-config-href="vkUrl"]::before {
  background-image: url("assets/vk-logo.svg");
}

a[data-config-phone-href]::before {
  background-image: url("assets/phone-logo.svg");
}

.header-youtube::before,
.header-phone::before {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

.footer-links a[data-config-href="youtubeUrl"]::before,
.footer-links a[data-config-href="vkUrl"]::before,
.footer-links a[data-config-phone-href]::before {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.header-youtube {
  border-color: rgba(255, 0, 51, 0.22);
  background: #fff1f3;
}

.header-youtube:hover {
  border-color: #ff0033;
  background: #ffe3e8;
}

.header-telegram {
  border-color: rgba(39, 167, 231, 0.28);
  background: #edf8fd;
}

.header-telegram:hover {
  border-color: #27a7e7;
  background: #ddf2fc;
  color: var(--blue-deep);
}

.header-max {
  border-color: rgba(110, 26, 255, 0.22);
  background: #f5f0ff;
}

.header-max:hover {
  border-color: #6e1aff;
  background: #ebe2ff;
  color: var(--blue-deep);
}

.header-phone {
  border-color: rgba(88, 173, 40, 0.3);
  background: #eff8e8;
  box-shadow: none;
  color: var(--blue-deep);
}

.header-phone:hover {
  border-color: #58ad28;
  background: #e1f2d4;
  color: var(--blue-deep);
}

.contact-option[data-config-href="vkUrl"]::before,
.contact-option[data-config-phone-href]::before {
  width: 38px !important;
  height: 38px !important;
  flex-basis: 38px !important;
}

.final-actions .phone-link::before {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.reviews-section {
  position: relative;
  padding-top: 112px;
  padding-bottom: 112px;
}

.reviews-section::before {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -7vw;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(111, 179, 56, 0.07);
  content: "";
  pointer-events: none;
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 42px;
}

.reviews-heading .section-heading {
  max-width: 850px;
  margin-bottom: 0;
}

.reviews-intro {
  max-width: 365px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.reviews-carousel {
  overflow: hidden;
  border: 1px solid rgba(29, 112, 27, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 4%, rgba(130, 188, 78, 0.15), transparent 18rem),
    linear-gradient(145deg, #f7faef, #eef5e5);
  box-shadow: 0 24px 60px rgba(21, 76, 24, 0.1);
}

.reviews-viewport {
  position: relative;
  overflow: hidden;
  outline: none;
}

.reviews-viewport:focus-visible {
  outline: 3px solid rgba(73, 169, 22, 0.42);
  outline-offset: -5px;
}

.reviews-track {
  display: block;
}

.reviews-slide {
  width: 100%;
  padding: 38px 42px 24px;
}

.reviews-mosaic {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}

.review-card {
  position: absolute;
  z-index: var(--slot-z, 1);
  top: var(--slot-y, 50%);
  left: var(--slot-x, 50%);
  width: min(var(--card-width, 620px), 76%);
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(29, 112, 27, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 67, 26, 0.13);
  opacity: var(--slot-opacity, 1);
  filter: saturate(0.86) contrast(0.96);
  transform:
    translate(-50%, -50%)
    scale(var(--slot-scale, 1))
    rotate(var(--slot-rotate, 0deg));
  transform-origin: center;
  transition:
    top 640ms cubic-bezier(0.22, 0.72, 0.2, 1),
    left 640ms cubic-bezier(0.22, 0.72, 0.2, 1),
    transform 640ms cubic-bezier(0.22, 0.72, 0.2, 1),
    opacity 420ms ease,
    filter 420ms ease,
    box-shadow 420ms ease;
  will-change: top, left, transform;
  cursor: zoom-in;
}

.review-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.review-card img {
  display: block;
  width: 100%;
  height: auto;
}

.review-card.is-active {
  border-color: rgba(29, 112, 27, 0.25);
  box-shadow:
    0 24px 54px rgba(20, 67, 26, 0.2),
    0 7px 18px rgba(20, 67, 26, 0.1);
  filter: none;
}

.review-card:focus-visible {
  outline: 3px solid rgba(73, 169, 22, 0.62);
  outline-offset: 4px;
}

.reviews-controls {
  display: grid;
  min-height: 92px;
  align-items: center;
  border-top: 1px solid rgba(29, 112, 27, 0.14);
  padding: 17px 26px;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
}

.reviews-arrows {
  display: flex;
  gap: 9px;
}

.reviews-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(29, 112, 27, 0.23);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 19px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.reviews-arrow:hover:not(:disabled) {
  border-color: #58ad28;
  background: #e9f5df;
  transform: translateY(-1px);
}

.reviews-arrow:disabled {
  cursor: default;
  opacity: 0.38;
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  flex-wrap: nowrap;
  gap: 8px;
}

.reviews-dots button[hidden] {
  display: none;
}

.reviews-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(29, 112, 27, 0.24);
  cursor: pointer;
  transition:
    width 180ms ease,
    border-radius 180ms ease,
    background 180ms ease;
}

.reviews-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: #3b9818;
}

.reviews-more {
  min-height: 50px;
  justify-self: end;
  border-color: rgba(29, 112, 27, 0.24);
  background: #fff;
  color: var(--blue-deep);
}

.reviews-more:hover {
  border-color: #58ad28;
  background: #e9f5df;
}

.reviews-empty,
.reviews-noscript {
  width: 100%;
  margin: 0;
  padding: 65px 30px;
  color: var(--ink-soft);
  text-align: center;
}

@media (min-width: 821px) {
  .section.programs-section,
  .section.results-section {
    width: 100%;
    max-width: none;
  }

  .programs-section,
  .results-section {
    padding-right: max(32px, calc((100% - 1320px) / 2));
    padding-left: max(32px, calc((100% - 1320px) / 2));
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    min-height: 770px;
    justify-self: end;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 560px);
  }
}

@media (min-width: 1181px) {
  .hero {
    width: min(1480px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 58px;
  }
}

@media (max-width: 1180px) {
  .reviews-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .reviews-intro {
    max-width: 650px;
  }

  .reviews-mosaic {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  #reviews,
  #faq {
    scroll-margin-top: 142px;
  }

  .reviews-slide {
    padding: 28px 24px 18px;
  }

  .reviews-mosaic {
    min-height: 450px;
  }

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

  .reviews-more {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .reviews-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .reviews-heading {
    margin-bottom: 28px;
  }

  .reviews-carousel {
    border-radius: 19px;
  }

  .reviews-slide {
    padding: 18px 12px 14px;
  }

  .reviews-mosaic {
    width: 100%;
    min-height: 390px;
  }

  .review-card {
    width: min(var(--card-width, 620px), 74%);
    border-radius: 13px;
  }

  .review-card.is-active {
    width: min(var(--card-width, 620px), 94%);
  }

  .reviews-controls {
    min-height: 0;
    padding: 15px;
    gap: 14px;
  }

  .reviews-arrow {
    width: 42px;
    height: 42px;
  }

  .reviews-more {
    min-height: 52px;
  }
}

@media (max-width: 560px) {
  #reviews,
  #faq {
    scroll-margin-top: 136px;
  }

  .reviews-section {
    width: calc(100% - 32px);
  }

  .reviews-mosaic {
    min-height: 370px;
  }

  .reviews-intro {
    font-size: 14px;
  }

  .header-youtube::before,
  .header-phone::before {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card {
    transition:
      opacity 160ms ease,
      filter 160ms ease,
      box-shadow 160ms ease;
  }
}

/* V10: compact mobile navigation and viewport-fixed contact rail */

.mobile-contact-rail {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 9px;
    padding-left: 9px;
    row-gap: 7px;
  }

  .desktop-nav {
    display: grid;
    width: 100%;
    padding: 3px 0 1px;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(2px, 1vw, 6px);
    overflow: visible;
  }

  .desktop-nav a {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    place-items: center;
    border-radius: 10px;
    padding: 6px 1px;
    font-size: clamp(7.4px, 2.45vw, 10.5px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .header-actions {
    display: none;
  }

  .hero-visual .note-top,
  .hero-visual .portrait-label {
    display: none;
  }

  .mobile-contact-rail {
    position: fixed;
    z-index: 160;
    top: auto;
    right: max(7px, env(safe-area-inset-right));
    bottom: 5%;
    bottom: 5dvh;
    display: flex;
    padding: 6px;
    border: 1px solid rgba(29, 112, 27, 0.18);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 12px 30px rgba(20, 67, 26, 0.16);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 8px;
    transform: none;
  }

  .mobile-contact-link {
    display: grid;
    position: relative;
    width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(29, 112, 27, 0.2);
    border-radius: 13px;
    padding: 0;
    background: #fff;
    transition:
      border-color 180ms ease,
      background 180ms ease,
      transform 180ms ease;
  }

  .mobile-contact-link:hover,
  .mobile-contact-link:focus-visible {
    transform: translateX(-2px);
  }

  .mobile-contact-rail .mobile-contact-link::before {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
  }

  .mobile-contact-youtube {
    border-color: rgba(255, 0, 51, 0.24);
    background: #fff1f3;
  }

  .mobile-contact-youtube::before {
    background-image: url("assets/youtube-logo.svg");
  }

  .mobile-contact-telegram {
    border-color: rgba(39, 167, 231, 0.3);
    background: #edf8fd;
  }

  .mobile-contact-telegram::before {
    background-image: url("assets/telegram-logo.svg");
  }

  .mobile-contact-max {
    border-color: rgba(110, 26, 255, 0.24);
    background: #f5f0ff;
  }

  .mobile-contact-max::before {
    background-image: url("assets/max-logo.svg");
  }

  .mobile-contact-phone {
    border-color: rgba(88, 173, 40, 0.32);
    background: #eff8e8;
  }

  .mobile-contact-phone::before {
    background-image: url("assets/phone-logo.svg");
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-right: 7px;
    padding-left: 7px;
  }

  .desktop-nav {
    gap: 2px;
  }

  .desktop-nav a {
    min-height: 38px;
    padding-right: 1px;
    padding-left: 1px;
  }

  .mobile-contact-rail {
    right: max(5px, env(safe-area-inset-right));
    padding: 5px;
    border-radius: 16px;
    gap: 6px;
  }

  .mobile-contact-link {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 12px;
  }
}
