/* ===================================================================
   Ильсина Халитова — врач-психотерапевт
   Палитра: тёплый беж, шалфей, мягкая терракота. Спокойно и бережно.
   =================================================================== */

:root {
  --bg: #f7f3ee;
  --bg-2: #efe8df;
  --surface: #fffdfa;
  --ink: #3a342e;
  --ink-soft: #6b635a;
  --line: #e4dccf;

  --sage: #7e9685;
  --sage-deep: #5f7868;
  --terra: #c98a6a;
  --terra-deep: #b5734f;
  --gold: #d9b88a;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(74, 63, 49, 0.45);
  --shadow-sm: 0 8px 24px -16px rgba(74, 63, 49, 0.4);
  --maxw: 1140px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.12;
  text-align: center;
  letter-spacing: 0.01em;
}
.section-title.left { text-align: left; }

.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(181, 115, 79, 0.85);
}
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }
.btn-wa { background: #25623f; color: #fff; }
.btn-wa:hover { background: #1d4d31; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
}
.brand-text { font-size: 1.02rem; letter-spacing: 0.01em; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--terra-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(217,184,138,0.30), transparent 60%),
    radial-gradient(700px 500px at -6% 30%, rgba(126,150,133,0.22), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3rem);
  line-height: 1.1;
  margin: 6px 0 20px;
  letter-spacing: 0.01em;
}
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.hero-badges li { position: relative; padding-left: 22px; }
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
}
.hero-badges strong { color: var(--terra-deep); }

.hero-visual { position: relative; }
.portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--bg-2), #e7ddcf);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  pointer-events: none;
}
.portrait-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 1.4rem;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(126,150,133,0.06) 0 14px, transparent 14px 28px);
}
.portrait-placeholder.small { font-size: 1.1rem; }
.portrait-caption {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 253, 250, 0.92);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.portrait-caption .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 4px rgba(126,150,133,0.25);
}

/* ===== Pain points ===== */
.pains { background: var(--surface); }
.pain-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 24px;
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.4;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-photo {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #e7ddcf, var(--bg-2));
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }
.about-list { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 30px; color: var(--ink); }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 3px var(--bg);
}

/* ===== Help ===== */
.help { background: var(--bg-2); }
.help-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.help-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.help-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(126,150,133,0.14);
  color: var(--sage-deep);
  margin-bottom: 18px;
}
.help-icon svg { width: 28px; height: 28px; }
.help-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
.help-card p { color: var(--ink-soft); }
.help-foot {
  margin-top: 16px !important;
  font-weight: 600;
  color: var(--terra-deep) !important;
  font-size: 0.95rem;
}
.help-note {
  text-align: center;
  max-width: 680px;
  margin: 40px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ===== Format / steps ===== */
.steps {
  margin-top: 48px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== Price ===== */
.price { background: var(--surface); }
.price-wrap { display: flex; justify-content: center; }
.price-card {
  max-width: 560px;
  width: 100%;
  background:
    radial-gradient(420px 280px at 90% -20%, rgba(217,184,138,0.30), transparent 60%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(34px, 5vw, 52px);
  box-shadow: var(--shadow);
  text-align: left;
}
.price-amount {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 600;
  color: var(--terra-deep);
  margin: 8px 0 22px;
}
.price-amount span { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
.price-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.price-list li { position: relative; padding-left: 30px; color: var(--ink); }
.price-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700;
  background: var(--sage); color: #fff;
}
.price-card .btn { width: 100%; }
.price-fine { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); text-align: center; }

/* ===== Outcomes ===== */
.outcomes { background: var(--bg-2); }
.outcomes-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.outcome-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.outcome-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.outcome-ico {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(126,150,133,0.14);
  color: var(--sage-deep);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.outcome-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.outcome-card p { color: var(--ink-soft); font-size: 0.98rem; }
.pull-quote {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  line-height: 1.34;
  color: var(--ink);
  position: relative;
  padding-top: 36px;
}
.pull-quote::before {
  content: "“";
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  font-size: 4rem; color: var(--gold); opacity: 0.6; line-height: 1;
}
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--sage-deep);
}
.outcomes-note {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
}

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin-inline: auto; }
.faq-list { margin-top: 40px; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--sage-deep);
  transition: transform .3s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 24px; color: var(--ink-soft); margin-top: -4px; }

/* ===== Contact ===== */
.contact { background: var(--surface); }
.contact-card {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(126,150,133,0.22), transparent 55%),
    radial-gradient(600px 380px at 0% 100%, rgba(217,184,138,0.28), transparent 55%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-sub { max-width: 560px; margin: 16px auto 32px; color: var(--ink-soft); font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 36px; }
.contact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.contact-list a { font-weight: 600; font-size: 1.05rem; transition: color .2s; }
.contact-list a:hover { color: var(--terra-deep); }

/* ===== Footer ===== */
.site-footer { background: #322d27; color: #d9d1c5; padding: 56px 0 28px; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { background: var(--sage); }
.footer-tag { margin-top: 12px; color: #a59c8f; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.footer-nav a { color: #cfc6b9; font-size: 0.95rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 24px; font-size: 0.85rem; color: #9b9285;
}

/* ===== Floating CTA ===== */
.float-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(95,120,104,0.8);
  transition: transform .25s ease, background .25s ease;
}
.float-cta:hover { background: var(--sage-deep); transform: scale(1.08); }
.float-cta svg { width: 26px; height: 26px; }

/* ===== Approach ===== */
.approach-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.approach-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.approach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.approach-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.approach-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.approach-card p { color: var(--ink-soft); }
.approach-values {
  list-style: none;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.approach-values li {
  background: rgba(126,150,133,0.14);
  color: var(--sage-deep);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ===== Blog ===== */
.blog { background: var(--surface); }
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-head-cta { flex: none; }
.blog-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-cover {
  display: block;
  aspect-ratio: 16 / 10;
  position: relative;
  background: linear-gradient(150deg, #cfe0d3, #aebfa6);
}
.blog-cover.cover-2 { background: linear-gradient(150deg, #f0d9c3, #e0b58f); }
.blog-cover.cover-3 { background: linear-gradient(150deg, #e6dcc6, #cdbf9c); }
.blog-cover.cover-4 { background: linear-gradient(150deg, #d6dfe0, #aac0c2); }
.blog-cover.cover-5 { background: linear-gradient(150deg, #dfe0cf, #c2c39c); }
.blog-cover.cover-6 { background: linear-gradient(150deg, #e7d6d0, #d0aaa0); }
.blog-cover.cover-7 { background: linear-gradient(150deg, #d7dee6, #a9b8c9); }
.blog-tag {
  position: absolute;
  left: 16px; top: 16px;
  background: rgba(255,253,250,0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.blog-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; }
.blog-body h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.blog-body > p { color: var(--ink-soft); font-size: 0.98rem; }
.blog-more { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--terra-deep); transition: gap .2s; }
.blog-more:hover { color: var(--terra); }

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  text-align: left;
}
.contact-intro .contact-sub { margin-left: 0; }
.contact-intro .contact-actions { justify-content: flex-start; }
.contact-intro .contact-list { justify-content: flex-start; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 20px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field > span i { font-weight: 400; font-style: normal; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #a89f93; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(126,150,133,0.15);
}
.field input:invalid:not(:placeholder-shown) { border-color: #cf8a8a; }
.form-hint { font-size: 0.88rem; color: var(--ink-soft); margin: 6px 0 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1; min-width: 160px; }
.btn-block { width: 100%; }
.form-note { margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--sage-deep); min-height: 1.2em; }
.form-privacy { margin-top: 14px; font-size: 0.8rem; color: var(--ink-soft); opacity: 0.85; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--sage); cursor: pointer; }
.consent a { color: var(--terra-deep); }

/* ===== Article page ===== */
.article-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  background:
    radial-gradient(700px 380px at 80% -20%, rgba(217,184,138,0.28), transparent 60%),
    radial-gradient(560px 360px at 0% 10%, rgba(126,150,133,0.18), transparent 55%);
}
.article-hero .container { max-width: 760px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem; color: var(--sage-deep);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--ink); }
.article-tag {
  display: inline-block;
  background: rgba(126,150,133,0.16);
  color: var(--sage-deep);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.article-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.article-meta { margin-top: 16px; color: var(--ink-soft); font-size: 0.92rem; display: flex; gap: 16px; flex-wrap: wrap; }
.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) 24px clamp(48px, 7vw, 80px);
  font-size: 1.1rem;
  color: #4a443d;
}
.article-body > p { margin-bottom: 22px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 40px 0 14px;
  color: var(--ink);
}
.article-body h3 { font-size: 1.2rem; line-height: 1.3; margin: 26px 0 10px; color: var(--ink); }
/* «Статьи о теме» на хабе: заголовок листинга и галерея шире узкой колонки текста
   и выровнены по одному левому краю, чтобы карточки не жались (fallback без :has — узкая колонка) */
.article-body h2:has(+ .blog-grid),
.article-body .blog-grid {
  width: min(960px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
}
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.article-body li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
}
.article-body ol { counter-reset: li; }
.article-body ol li::before {
  counter-increment: li; content: counter(li);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--terra); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  display: grid; place-items: center;
}
.article-body strong { color: var(--ink); }
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0;
  font-size: 1.02rem;
}
.callout strong { color: var(--sage-deep); }
.article-disclaimer {
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 40px 0 0;
}
.article-author img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.article-author .author-name { font-weight: 700; color: var(--ink); }
.article-author .author-role { color: var(--ink-soft); font-size: 0.92rem; margin: 2px 0 8px; }
.article-author .author-bio { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.article-author .author-bio a { color: var(--terra-deep); font-weight: 600; }
.breadcrumbs {
  margin-bottom: 14px; font-size: 0.85rem; color: var(--ink-soft);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--terra); }
.breadcrumbs span[aria-current] { color: var(--ink); }
.article-cta {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-top: 40px;
}
.article-cta h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin-bottom: 10px; }
.article-cta p { color: var(--ink-soft); margin-bottom: 20px; }
.article-nav {
  max-width: 720px; margin: 0 auto; padding: 0 24px 60px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.article-nav a { font-weight: 600; color: var(--terra-deep); }
.article-nav a:hover { color: var(--terra); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 360px; }
  .pain-grid, .help-grid, .outcomes-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    box-shadow: var(--shadow-sm);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; width: 100%; }
  .nav-cta { display: inline-block; margin-top: 6px; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .pain-grid, .help-grid, .outcomes-grid, .steps, .blog-grid, .approach-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .form-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-cta { animation: none; }
  html { scroll-behavior: auto; }
}
