/* =========================================================
   MARIA YAKOVLEVA — PERSONAL EXPERT BRAND
   Warm premium / editorial / mobile first friendly
   ========================================================= */

:root {
  --bg: #f8f4ed;
  --bg-soft: #f2eadf;
  --bg-deep: #e8dccb;
  --paper: #fffdf9;
  --paper-warm: #fbf7f0;
  --text: #3d2d25;
  --text-strong: #2b201b;
  --muted: #75665c;
  --muted-light: #9a8c81;
  --gold: #b99a62;
  --gold-dark: #927343;
  --gold-pale: #e9dcc1;
  --line: rgba(76, 54, 40, 0.13);
  --line-gold: rgba(185, 154, 98, 0.32);
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(60, 42, 31, 0.06);
  --shadow-md: 0 22px 60px rgba(60, 42, 31, 0.10);
  --shadow-lg: 0 34px 90px rgba(60, 42, 31, 0.13);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 44px;
  --container: 1180px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 8%, rgba(205, 181, 138, 0.18), transparent 30%),
    radial-gradient(circle at 95% 28%, rgba(214, 194, 159, 0.16), transparent 28%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 36%, #f7f1e8 100%);
}

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

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

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

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

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--text-strong);
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.15rem, 6.1vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 13px;
  font-size: 1.26rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.018em;
}

p {
  margin-bottom: 18px;
}

::selection {
  color: var(--text-strong);
  background: var(--gold-pale);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 112px 0;
}

.section-pad-sm {
  padding: 54px 0;
}

.section-soft {
  position: relative;
  background: rgba(239, 231, 219, 0.58);
  border-top: 1px solid rgba(93, 68, 50, 0.06);
  border-bottom: 1px solid rgba(93, 68, 50, 0.06);
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 15%, rgba(255, 255, 255, 0.66), transparent 28%);
}

.section-soft > .container {
  position: relative;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 52px;
}

.section-heading.narrow {
  max-width: 690px;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

/* ACCESSIBILITY */
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--text-strong);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* HEADER */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(250, 247, 241, 0.83);
  border-bottom: 1px solid rgba(72, 51, 38, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.65);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-text {
  color: var(--text-strong);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a {
  position: relative;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.22s ease;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible {
  color: var(--text-strong);
}

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

.nav-cta {
  padding: 11px 18px;
  color: var(--white) !important;
  background: var(--text-strong);
  border: 1px solid var(--text-strong);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(49, 34, 26, 0.12);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 5px 0;
  background: var(--text-strong);
  border-radius: 999px;
}

/* BUTTONS */
.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.012em;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: var(--text-strong);
  border-color: var(--text-strong);
  box-shadow: 0 12px 26px rgba(46, 32, 25, 0.14);
}

.btn-primary:hover {
  background: #49352a;
  box-shadow: 0 16px 34px rgba(46, 32, 25, 0.18);
}

.btn-secondary {
  color: var(--text-strong);
  background: rgba(255, 253, 249, 0.78);
  border-color: rgba(82, 59, 43, 0.18);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 78px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  top: -120px;
  right: -150px;
  border: 1px solid rgba(185, 154, 98, 0.16);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: 10%;
  bottom: 3%;
  border: 1px solid rgba(185, 154, 98, 0.12);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.82fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 14px;
  color: var(--text-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-note {
  max-width: 610px;
  margin: 25px 0 0;
  padding-left: 17px;
  color: var(--muted-light);
  border-left: 1px solid var(--gold);
  font-size: 0.82rem;
  line-height: 1.65;
}

.hero-media {
  position: relative;
  min-height: 650px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.68), rgba(229,214,192,0.65));
  border: 1px solid rgba(185, 154, 98, 0.2);
  border-radius: 220px 220px 34px 34px;
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px 22px 32px -18px;
  z-index: -1;
  border: 1px solid rgba(185, 154, 98, 0.22);
  border-radius: 230px 230px 38px 38px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 624px;
  object-fit: cover;
  border-radius: 210px 210px 24px 24px;
}

.floating-card {
  position: absolute;
  right: -24px;
  bottom: 42px;
  width: min(310px, 76%);
  padding: 18px 21px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(185, 154, 98, 0.24);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(50, 35, 26, 0.15);
  backdrop-filter: blur(14px);
}

.floating-card .mini-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* RECOGNITION */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 38px;
}

.chips span {
  padding: 13px 18px;
  color: #5d4d42;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(102, 79, 61, 0.13);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(68, 47, 34, 0.035);
  font-size: 0.9rem;
  font-weight: 550;
}

.statement {
  position: relative;
  max-width: 990px;
  padding: 38px 44px 38px 46px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.statement::before {
  content: "“";
  position: absolute;
  top: 16px;
  left: 20px;
  color: rgba(185, 154, 98, 0.26);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.48;
}

/* METHOD */
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
  gap: 42px;
  align-items: stretch;
}

.method-steps {
  padding: 10px 0;
}

.method-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
}

.method-step > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 7px 20px rgba(77, 54, 40, 0.045);
}

.method-step p {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.04rem;
  font-weight: 650;
}

.method-line {
  width: 1px;
  height: 35px;
  margin-left: 29px;
  background: linear-gradient(var(--gold-pale), var(--gold));
}

.scheme-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 28px;
  background: linear-gradient(145deg, #f0e5d6, #e4d3bd);
  border: 1px solid rgba(139, 103, 65, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.scheme-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: -130px;
  right: -120px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 50%;
}

.scheme-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #715b4a;
  font-size: 0.78rem;
  font-weight: 700;
}

.scheme-badge {
  padding: 6px 10px;
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.55);
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scheme-visual {
  position: relative;
  width: min(360px, 94%);
  aspect-ratio: 1;
  margin: 22px auto 12px;
  border: 1px solid rgba(120, 91, 61, 0.17);
  border-radius: 50%;
}

.scheme-visual::before,
.scheme-visual::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(120, 91, 61, 0.12);
  border-radius: 50%;
}

.scheme-visual::after {
  inset: 30%;
}

.scheme-node,
.scheme-center {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-align: center;
}

.scheme-node {
  width: 76px;
  height: 76px;
  color: #624c3d;
  background: rgba(255, 253, 249, 0.83);
  border: 1px solid rgba(132, 100, 68, 0.15);
  box-shadow: 0 9px 24px rgba(70, 48, 31, 0.08);
  font-size: 0.77rem;
  font-weight: 700;
}

.n1 { top: -8px; left: calc(50% - 38px); }
.n2 { right: -5px; top: 31%; }
.n3 { right: 12%; bottom: -2px; }
.n4 { left: 12%; bottom: -2px; }
.n5 { left: -5px; top: 31%; }

.scheme-center {
  width: 92px;
  height: 92px;
  inset: calc(50% - 46px);
  color: var(--white);
  background: var(--text-strong);
  border: 5px solid rgba(255,255,255,0.22);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
}

.scheme-note {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 15px auto 0;
  color: #746253;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 34px;
  padding: 22px 25px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.65);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.disclaimer > span {
  padding: 5px 9px;
  color: var(--gold-dark);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disclaimer p {
  margin: 0;
  font-size: 0.86rem;
}

/* RESULT CARDS */
.cards {
  display: grid;
  gap: 18px;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 29px 27px;
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid rgba(104, 80, 61, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(56, 39, 29, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(185, 154, 98, 0.14);
  border-radius: 50%;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-sm);
}

.card-number {
  display: block;
  margin-bottom: 45px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.06fr);
  gap: clamp(52px, 8vw, 105px);
  align-items: center;
}

.about-media {
  position: relative;
  padding: 11px;
  background: linear-gradient(145deg, #e5d4bd, #f5ede3);
  border: 1px solid rgba(185,154,98,0.18);
  border-radius: 40px 170px 40px 40px;
  box-shadow: var(--shadow-md);
}

.about-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px -25px -24px 35px;
  border: 1px solid rgba(185,154,98,0.24);
  border-radius: 38px 170px 38px 38px;
}

.about-media img {
  width: 100%;
  min-height: 590px;
  object-fit: cover;
  border-radius: 31px 160px 31px 31px;
}

.about-copy {
  max-width: 690px;
}

.about-copy > p:not(.eyebrow):not(.lead-serif) {
  color: var(--muted);
}

.lead-serif {
  margin-bottom: 28px;
  color: var(--text-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.48;
}

.signature {
  margin-top: 28px;
  color: var(--gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

/* PROCESS */
.timeline {
  max-width: 920px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 25px 0;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 83px;
  bottom: -4px;
  left: 31px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(185,154,98,0.12));
}

.timeline li > span {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(60,42,31,0.05);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.timeline li > div {
  max-width: 720px;
  padding-top: 4px;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-top: 10px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 31px 30px;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 10px 38px rgba(57, 40, 29, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  transform: translateY(-15px);
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(196,164,105,0.16), transparent 36%),
    linear-gradient(155deg, #443127, #2f231d 72%);
  border-color: rgba(210, 181, 127, 0.34);
  box-shadow: 0 28px 70px rgba(52, 35, 25, 0.20);
}

.price-card.featured:hover {
  transform: translateY(-20px);
}

.price-card.featured h3,
.price-card.featured .price,
.price-card.featured li {
  color: var(--white);
}

.price-card.featured li::marker {
  color: #d8bc86;
}

.price-card.featured .price-kicker,
.price-card.featured .not-included {
  color: rgba(255,255,255,0.65);
}

.price-card.featured .btn-primary {
  color: var(--text-strong);
  background: #f1e4ca;
  border-color: #f1e4ca;
  box-shadow: none;
}

.price-card.featured .btn-primary:hover {
  background: #fff3db;
}

.popular {
  position: absolute;
  top: 19px;
  right: 19px;
  padding: 7px 10px;
  color: #f6e7c9;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(233, 207, 159, 0.24);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-kicker {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card h3 {
  max-width: 290px;
  margin-bottom: 9px;
}

.price {
  margin: 21px 0 23px;
  color: var(--text-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.55rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.price-card ul {
  flex: 1;
  margin: 0 0 26px;
  padding-left: 19px;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 10px;
  padding-left: 3px;
  font-size: 0.87rem;
  line-height: 1.56;
}

.price-card li::marker {
  color: var(--gold);
}

.not-included {
  margin: -7px 0 25px;
  padding-top: 16px;
  color: var(--muted-light);
  border-top: 1px solid var(--line);
  font-size: 0.77rem;
  line-height: 1.55;
}

/* HELP CHOOSE */
.choose-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: 44px 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 95% 30%, rgba(210, 176, 113, 0.16), transparent 29%),
    linear-gradient(135deg, #463228, #2e221d);
  border: 1px solid rgba(205, 172, 111, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.choose-box::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -130px;
  border: 1px solid rgba(221, 195, 147, 0.18);
  border-radius: 50%;
}

.choose-box > * {
  position: relative;
  z-index: 1;
}

.choose-box .eyebrow {
  color: #dbc499;
}

.choose-box .eyebrow::before {
  background: #dbc499;
}

.choose-box h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.choose-box p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.68);
}

.choose-box .btn-primary {
  color: var(--text-strong);
  background: #efe1c5;
  border-color: #efe1c5;
  white-space: nowrap;
}

/* REVIEWS */
.reviews-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 17px;
  overflow-x: auto;
  padding: 10px 4px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: rgba(255,253,249,0.78);
  border: 1px solid rgba(98,75,57,0.12);
  border-radius: 28px;
  box-shadow: 0 10px 34px rgba(54, 37, 27, 0.045);
  scroll-snap-align: start;
}

.review-card .quote {
  margin-bottom: 30px;
  color: var(--text-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.58;
}

.review-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-card strong {
  font-size: 0.86rem;
}

.review-card span {
  color: var(--muted-light);
  font-size: 0.74rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-strong);
  background: rgba(255,253,249,0.82);
  box-shadow: 0 8px 20px rgba(54,37,27,0.04);
  cursor: pointer;
  transition: 0.2s ease;
}

.slider-btn:hover {
  color: var(--white);
  background: var(--text-strong);
  border-color: var(--text-strong);
}

.slider-dots {
  min-height: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
}

.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d1c1ac;
}

.slider-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold-dark);
}

/* FREE */
.free-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.free-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.free-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(185,154,98,0.16);
  border-radius: 50%;
}

.guide-card {
  background: linear-gradient(145deg, #efe4d3, #f8f2e9);
}

.free-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 33px;
  color: var(--gold-dark);
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.free-kicker {
  margin-bottom: 9px;
  color: var(--gold-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.free-card h3 {
  max-width: 490px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.18rem);
  font-weight: 500;
  line-height: 1.22;
}

.free-card > p:not(.free-kicker) {
  max-width: 510px;
  color: var(--muted);
  font-size: 0.9rem;
}

.free-card .btn {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.18fr);
  gap: clamp(45px, 8vw, 105px);
  align-items: start;
}

.faq-grid .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  margin-bottom: 0;
}

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

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

.faq-item > button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border: 0;
  color: var(--text-strong);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item > button > span:first-child {
  font-size: 1rem;
  font-weight: 650;
}

.plus {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  justify-self: end;
  color: var(--gold-dark);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item:has(button[aria-expanded="true"]) .plus,
.faq-item.is-open .plus {
  transform: rotate(45deg);
  background: rgba(232, 217, 190, 0.35);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.24s ease;
}

.faq-answer > p {
  overflow: hidden;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer,
.faq-item:has(button[aria-expanded="true"]) .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.is-open .faq-answer > p,
.faq-item:has(button[aria-expanded="true"]) .faq-answer > p {
  padding-bottom: 25px;
}

/* CONTACT */
.contact-grid {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 58px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-grid::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -170px;
  bottom: -180px;
  border: 1px solid rgba(185,154,98,0.16);
  border-radius: 50%;
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 700px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-media {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 8px;
  background: linear-gradient(145deg, #ebdecd, #f5eee4);
  border-radius: 180px 180px 28px 28px;
}

.contact-media img {
  width: 100%;
  height: 100%;
  min-height: 414px;
  object-fit: cover;
  border-radius: 172px 172px 22px 22px;
}

/* FOOTER */
.site-footer {
  padding: 0 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-top p {
  max-width: 420px;
  margin: 0;
  color: var(--muted-light);
  font-size: 0.79rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 22px;
}

.footer-links a,
.footer-bottom a {
  color: var(--muted);
  font-size: 0.77rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--text-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  color: var(--muted-light);
  font-size: 0.72rem;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* REVEAL: content stays visible even without JS */
.reveal {
  opacity: 1;
  transform: none;
}

/* FOCUS */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 4px;
}

/* TABLET */
@media (max-width: 1080px) {
  :root {
    --header-height: 74px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav > a {
    font-size: 0.8rem;
  }

  .hero-grid,
  .method-grid,
  .about-grid,
  .contact-grid {
    gap: 42px;
  }

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

  .hero-media {
    min-height: 570px;
  }

  .hero-media img {
    min-height: 544px;
  }

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

  .pricing-grid {
    gap: 14px;
  }

  .price-card {
    padding: 31px 25px 27px;
  }
}

/* MOBILE NAV + TABLET STACK */
@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    background: rgba(255,253,249,0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 12px 13px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav > a:hover {
    background: var(--bg-soft);
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-grid,
  .method-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    width: min(600px, 100%);
    min-height: 620px;
    margin-inline: auto;
  }

  .hero-media img {
    min-height: 594px;
  }

  .floating-card {
    right: 18px;
  }

  .method-grid {
    gap: 52px;
  }

  .scheme-card {
    width: min(620px, 100%);
  }

  .about-media {
    width: min(570px, 100%);
  }

  .about-copy {
    max-width: 760px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price-card,
  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover,
  .price-card:hover {
    transform: translateY(-4px);
  }

  .choose-box {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .choose-box .btn {
    justify-self: start;
  }

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

  .slider-btn {
    display: none;
  }

  .reviews-track {
    margin-inline: -2px;
  }

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

  .faq-grid .section-heading {
    position: static;
    margin-bottom: 26px;
  }

  .contact-grid {
    padding: 45px;
  }

  .contact-media {
    width: min(540px, 100%);
  }
}

/* PHONE */
@media (max-width: 600px) {
  :root {
    --header-height: 68px;
    --radius-lg: 26px;
    --radius-xl: 30px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .section-pad {
    padding: 68px 0;
  }

  .section-pad-sm {
    padding: 35px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 13.5vw, 4.1rem);
    line-height: 0.99;
  }

  h2 {
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.03;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    gap: 37px;
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-note {
    font-size: 0.76rem;
  }

  .hero-media {
    min-height: 465px;
    padding: 8px;
    border-radius: 150px 150px 26px 26px;
  }

  .hero-media::before {
    inset: -9px 14px 20px -8px;
    border-radius: 155px 155px 28px 28px;
  }

  .hero-media img {
    min-height: 447px;
    border-radius: 145px 145px 19px 19px;
  }

  .floating-card {
    right: 13px;
    bottom: 18px;
    width: calc(100% - 26px);
    padding: 15px 17px;
  }

  .chips {
    gap: 8px;
    margin-bottom: 27px;
  }

  .chips span {
    padding: 10px 13px;
    font-size: 0.78rem;
  }

  .statement {
    padding: 31px 23px 29px;
    border-radius: 24px;
  }

  .statement::before {
    top: 9px;
    left: 11px;
    font-size: 4rem;
  }

  .statement p {
    font-size: 1.25rem;
  }

  .method-step {
    grid-template-columns: 50px 1fr;
    gap: 15px;
  }

  .method-step > span {
    width: 50px;
    height: 50px;
  }

  .method-line {
    height: 26px;
    margin-left: 25px;
  }

  .method-step p {
    font-size: 0.92rem;
  }

  .scheme-card {
    min-height: auto;
    padding: 20px 16px 22px;
    border-radius: 28px;
  }

  .scheme-card-top {
    font-size: 0.69rem;
  }

  .scheme-visual {
    width: 290px;
    max-width: 92%;
    margin-top: 27px;
  }

  .scheme-node {
    width: 62px;
    height: 62px;
    font-size: 0.67rem;
  }

  .n1 { left: calc(50% - 31px); }

  .scheme-center {
    width: 78px;
    height: 78px;
    inset: calc(50% - 39px);
    font-size: 0.86rem;
  }

  .disclaimer {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 18px;
  }

  .disclaimer > span {
    justify-self: start;
  }

  .four-cols {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
    padding: 23px;
  }

  .card-number {
    margin-bottom: 31px;
  }

  .about-media {
    padding: 8px;
    border-radius: 28px 105px 28px 28px;
  }

  .about-media::before {
    inset: 18px -8px -13px 18px;
    border-radius: 26px 105px 26px 26px;
  }

  .about-media img {
    min-height: 430px;
    border-radius: 21px 98px 21px 21px;
  }

  .timeline li {
    grid-template-columns: 50px 1fr;
    gap: 15px;
    padding: 19px 0;
  }

  .timeline li > span {
    width: 50px;
    height: 50px;
  }

  .timeline li:not(:last-child)::after {
    top: 66px;
    left: 24px;
  }

  .timeline h3 {
    font-size: 0.96rem;
  }

  .timeline p {
    font-size: 0.82rem;
  }

  .price-card {
    padding: 27px 22px 23px;
    border-radius: 25px;
  }

  .popular {
    position: static;
    align-self: flex-start;
    margin-bottom: 17px;
  }

  .price {
    font-size: 2.65rem;
  }

  .choose-box {
    padding: 31px 24px;
    border-radius: 27px;
  }

  .choose-box h2 {
    font-size: 2rem;
  }

  .choose-box .btn {
    width: 100%;
  }

  .reviews-track {
    grid-template-columns: repeat(4, calc(100vw - 54px));
  }

  .review-card {
    min-height: 310px;
    padding: 25px;
    border-radius: 24px;
  }

  .free-card {
    min-height: 360px;
    padding: 29px 24px;
    border-radius: 27px;
  }

  .free-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
  }

  .faq-item > button {
    grid-template-columns: 1fr 34px;
    gap: 15px;
    padding: 21px 0;
  }

  .faq-item > button > span:first-child {
    font-size: 0.92rem;
  }

  .plus {
    width: 32px;
    height: 32px;
  }

  .contact-grid {
    padding: 31px 22px 22px;
    border-radius: 28px;
  }

  .contact-media {
    min-height: 360px;
    padding: 6px;
    border-radius: 140px 140px 22px 22px;
  }

  .contact-media img {
    min-height: 348px;
    border-radius: 134px 134px 17px 17px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-top {
    display: grid;
    gap: 27px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .brand-text {
    display: none;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media img {
    min-height: 402px;
  }

  .scheme-visual {
    width: 255px;
  }

  .scheme-node {
    width: 55px;
    height: 55px;
  }

  .n1 { left: calc(50% - 27.5px); }

  .scheme-center {
    width: 70px;
    height: 70px;
    inset: calc(50% - 35px);
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   INTERACTION STATES
   ========================================================= */

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.is-disabled {
  opacity: 0.48;
  cursor: default;
}

#testButton:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* =========================================================
   DESKTOP-ONLY REVEAL ANIMATION
   Enabled only when JS adds .desktop-reveal-ready.
   Mobile and tablet remain fully static.
   ========================================================= */
@media (min-width: 1081px) {
  .desktop-reveal-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    filter: blur(4px);
    transition:
      opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.82s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
  }

  .desktop-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    will-change: auto;
  }

  /* Hero and large image blocks move a little more naturally */
  .desktop-reveal-ready .hero-media.reveal,
  .desktop-reveal-ready .about-media.reveal,
  .desktop-reveal-ready .contact-media.reveal {
    transform: translate3d(24px, 10px, 0) scale(0.985);
  }

  .desktop-reveal-ready .hero-media.reveal.is-visible,
  .desktop-reveal-ready .about-media.reveal.is-visible,
  .desktop-reveal-ready .contact-media.reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  /* Soft stagger for cards and step lists */
  .desktop-reveal-ready .four-cols > .reveal:nth-child(2),
  .desktop-reveal-ready .pricing-grid > .reveal:nth-child(2),
  .desktop-reveal-ready .free-grid > .reveal:nth-child(2),
  .desktop-reveal-ready .steps-list > .reveal:nth-child(2) {
    transition-delay: 0.07s;
  }

  .desktop-reveal-ready .four-cols > .reveal:nth-child(3),
  .desktop-reveal-ready .pricing-grid > .reveal:nth-child(3),
  .desktop-reveal-ready .steps-list > .reveal:nth-child(3) {
    transition-delay: 0.14s;
  }

  .desktop-reveal-ready .four-cols > .reveal:nth-child(4),
  .desktop-reveal-ready .steps-list > .reveal:nth-child(4) {
    transition-delay: 0.21s;
  }

  .desktop-reveal-ready .steps-list > .reveal:nth-child(5) {
    transition-delay: 0.28s;
  }
}

@media (max-width: 1080px) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

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

  .desktop-reveal-ready .reveal,
  .desktop-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* =========================================================
   LAYOUT SAFETY / SAFE GUTTERS
   Prevent content from touching viewport edges or overflowing.
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
}

main,
header,
footer,
section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Stable page gutters. At the maximum width the actual content area
   stays close to 1180px, while smaller screens always retain padding. */
.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 34px;
}

/* Grid/flex children may otherwise refuse to shrink because of long text. */
.header-inner > *,
.hero-grid > *,
.method-grid > *,
.four-cols > *,
.about-grid > *,
.timeline > *,
.pricing-grid > *,
.choose-box > *,
.reviews-wrap > *,
.reviews-track > *,
.free-grid > *,
.faq-grid > *,
.contact-grid > *,
.footer-top > *,
.footer-bottom > * {
  min-width: 0;
  max-width: 100%;
}

/* Text should wrap inside its own block instead of widening the page. */
h1,
h2,
h3,
p,
li,
a,
button,
span,
strong {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Long external links and unusually long strings may break anywhere. */
.footer-links a,
.footer-bottom a,
.js-contact-link {
  overflow-wrap: anywhere;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

/* Buttons never exceed their card/container. */
.btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.choose-box .btn-primary {
  white-space: normal;
}

/* Keep actual floating content inside the media frame. */
.floating-card {
  right: 12px;
  max-width: calc(100% - 24px);
}

/* Decorative nodes stay visually inside their diagram. */
.n2 {
  right: 0;
}

.n5 {
  left: 0;
}

/* Horizontal slider scrolls only inside itself, never the whole page. */
.reviews-wrap,
.reviews-track {
  min-width: 0;
  max-width: 100%;
}

.reviews-track {
  overscroll-behavior-inline: contain;
}

.review-card,
.price-card,
.info-card,
.free-card,
.scheme-card,
.statement,
.choose-box,
.contact-grid {
  min-width: 0;
  max-width: 100%;
}

/* Tablet */
@media (max-width: 860px) {
  .container {
    width: 100%;
    max-width: none;
    padding-inline: 24px;
  }

  .site-nav {
    right: 24px;
    left: 24px;
    max-width: calc(100% - 48px);
  }

  .hero-media,
  .scheme-card,
  .about-media,
  .contact-media {
    max-width: 100%;
  }

  .contact-grid {
    padding-inline: clamp(28px, 6vw, 45px);
  }
}

/* Phone */
@media (max-width: 600px) {
  .container {
    width: 100%;
    max-width: none;
    padding-inline: 20px;
  }

  .site-nav {
    right: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .hero-copy,
  .about-copy,
  .contact-copy,
  .section-heading {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .statement,
  .price-card,
  .free-card,
  .choose-box,
  .contact-grid {
    width: 100%;
  }

  /* Use the slider container width, not viewport width. */
  .reviews-track {
    grid-template-columns: repeat(4, minmax(0, calc(100% - 14px)));
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .review-card {
    width: 100%;
  }

  .floating-card {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  .price,
  .popular,
  .price-kicker {
    max-width: 100%;
  }

  .faq-item > button > span:first-child {
    min-width: 0;
  }
}

/* Very narrow phones still keep a readable safe area. */
@media (max-width: 390px) {
  .container {
    padding-inline: 18px;
  }

  .site-nav {
    right: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  h1,
  h2 {
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   PREMIUM STICKY HEADER + MESSENGER CONTACTS
   ========================================================= */
:root {
  --header-height: 92px;
}

/* Sticky header as a floating glass capsule. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  padding: 12px 0 10px;
  background: linear-gradient(180deg, rgba(250, 247, 241, 0.94) 0%, rgba(250, 247, 241, 0.72) 72%, rgba(250, 247, 241, 0) 100%);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.header-inner {
  min-height: 66px;
  height: auto;
  padding: 9px 10px 9px 18px;
  border: 1px solid rgba(185, 154, 98, 0.22);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 10px 36px rgba(68, 48, 34, 0.06);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
  pointer-events: auto;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(185, 154, 98, 0.34);
  box-shadow: 0 16px 44px rgba(63, 44, 31, 0.12);
  transform: translateY(-2px);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.38);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -55%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.68) 49%, transparent 62%);
  transform: translateX(-58%) rotate(8deg);
  transition: transform 0.6s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.035);
  border-color: rgba(176, 139, 75, 0.58);
  background: rgba(247, 239, 226, 0.86);
}

.brand:hover .brand-mark::after {
  transform: translateX(58%) rotate(8deg);
}

.site-nav {
  gap: clamp(14px, 1.8vw, 25px);
}

.site-nav > a:not(.nav-cta) {
  padding: 10px 0;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, #4a3427 0%, #34241c 100%);
  border-color: rgba(52, 36, 28, 0.98);
  box-shadow: 0 10px 24px rgba(49, 34, 26, 0.13);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(49, 34, 26, 0.18);
  background: linear-gradient(135deg, #5a4030 0%, #39281f 100%);
}

/* Animated burger. */
.menu-toggle {
  position: relative;
  flex: 0 0 46px;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.menu-toggle:hover {
  background: rgba(247, 239, 226, 0.92);
  border-color: var(--line-gold);
}

.menu-toggle span {
  transition: transform 0.24s ease, opacity 0.18s ease;
  transform-origin: center;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Contact messenger chooser. */
.contact-choice {
  margin-top: 26px !important;
  margin-bottom: 0;
  color: var(--text-strong) !important;
  font-weight: 650;
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}

.messenger-card {
  --messenger-rgb: 185, 154, 98;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 15px 14px;
  color: var(--text-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,253,249,0.64));
  border: 1px solid rgba(75, 54, 40, 0.10);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(61, 43, 31, 0.05);
  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.messenger-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 16% 50%, rgba(var(--messenger-rgb), 0.12), transparent 42%);
  transition: opacity 0.28s ease;
}

.messenger-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--messenger-rgb), 0.72), transparent);
  transform: scaleX(0.25);
  transition: opacity 0.28s ease, transform 0.34s ease;
}

.messenger-telegram { --messenger-rgb: 34, 158, 217; }
.messenger-whatsapp { --messenger-rgb: 37, 211, 102; }
.messenger-max { --messenger-rgb: 93, 92, 255; }

.messenger-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(var(--messenger-rgb), 0.18);
  transition: transform 0.34s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s ease;
}

.messenger-icon svg {
  width: 46px;
  height: 46px;
  display: block;
  transition: transform 0.34s cubic-bezier(.2,.9,.2,1);
}

.messenger-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.messenger-copy strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messenger-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.messenger-arrow {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  justify-self: end;
  color: rgba(67, 48, 36, 0.48);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.28s ease, color 0.28s ease;
}

.messenger-card:hover,
.messenger-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(var(--messenger-rgb), 0.30);
  box-shadow: 0 18px 34px rgba(61, 43, 31, 0.10), 0 8px 24px rgba(var(--messenger-rgb), 0.08);
}

.messenger-card:hover::before,
.messenger-card:focus-visible::before,
.messenger-card:hover::after,
.messenger-card:focus-visible::after {
  opacity: 1;
}

.messenger-card:hover::after,
.messenger-card:focus-visible::after {
  transform: scaleX(1);
}

.messenger-card:hover .messenger-icon,
.messenger-card:focus-visible .messenger-icon {
  transform: translateY(-2px) scale(1.075) rotate(-3deg);
  box-shadow: 0 10px 24px rgba(var(--messenger-rgb), 0.24);
}

.messenger-card:hover .messenger-icon svg,
.messenger-card:focus-visible .messenger-icon svg {
  transform: rotate(3deg);
}

.messenger-card:hover .messenger-arrow,
.messenger-card:focus-visible .messenger-arrow {
  color: rgb(var(--messenger-rgb));
  transform: translate(3px, -3px);
}

.messenger-card.is-unconfigured {
  cursor: default;
}

/* Keep header/menu and messenger cards safe on smaller screens. */
@media (max-width: 1080px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    padding-top: 10px;
  }

  .header-inner {
    min-height: 62px;
    padding: 8px 9px 8px 15px;
    border-radius: 20px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 82px;
  }

  .site-nav {
    top: 82px;
    z-index: 1001;
    max-height: calc(100vh - 102px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(255, 253, 249, 0.97);
    border-color: rgba(185, 154, 98, 0.26);
    box-shadow: 0 20px 50px rgba(53, 37, 27, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-nav > a {
    padding: 13px 14px;
  }

  .contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brand-text {
    font-size: 0.9rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .messenger-card {
    min-height: 78px;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    padding: 13px 14px;
  }

  .messenger-icon,
  .messenger-icon svg {
    width: 44px;
    height: 44px;
  }

  .messenger-copy strong {
    font-size: 0.95rem;
  }

  .messenger-copy small {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 0 7px;
  }

  .header-inner {
    min-height: 58px;
    padding: 7px 8px 7px 12px;
    border-radius: 18px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 0.86rem;
  }

  .brand-text {
    max-width: 135px;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    padding: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-inner,
  .brand-mark,
  .brand-mark::after,
  .nav-cta,
  .menu-toggle,
  .menu-toggle span,
  .messenger-card,
  .messenger-card::before,
  .messenger-card::after,
  .messenger-icon,
  .messenger-icon svg,
  .messenger-arrow {
    transition: none !important;
  }
}
