/* =========================================================
   Полина — психолог. Design system & layout
   ========================================================= */

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* Palette — warm, calm, premium */
  --cream: #FBF8F3;
  --cream-alt: #F6F1E9;
  --sand: #F1E6D6;
  --sand-deep: #E6D6BC;
  --sage-50: #EEF1EA;
  --sage-100: #DCE3D4;
  --sage: #7C8B6F;
  --sage-dark: #5C6B50;
  --sage-ink: #3F4A38;
  --dusty-blue: #8098A6;
  --ink: #2E2B26;
  --ink-soft: #4A463F;
  --ink-faint: #5C574E;
  --white: #FFFFFF;
  --line: rgba(46, 43, 38, 0.10);
  --line-soft: rgba(46, 43, 38, 0.06);
  --shadow-sm: 0 2px 10px rgba(63, 58, 46, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(63, 58, 46, 0.14);
  --shadow-lg: 0 24px 60px -16px rgba(63, 58, 46, 0.22);

  /* Type */
  --font-head: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --lh-body: 1.65;
  --lh-head: 1.22;

  /* Layout — one content width for all sections */
  --container: 1120px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --header-h: 84px;
  --sticky-cta-size: 52px;
}

/* ---------- Base ---------- */
html, body { cursor: default; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: var(--lh-body);
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--lh-head);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }

p { color: var(--ink-soft); line-height: var(--lh-body); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--sage);
  display: inline-block;
}

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }

.bg-sand { background: var(--sand); }
.bg-cream-alt { background: var(--cream-alt); }
.bg-ink { background: var(--sage-ink); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--sage-ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--sage-dark); background: var(--sage-50); }

.btn-ghost-on-dark {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(251, 248, 243, 0.38);
}
.btn-ghost-on-dark:hover { background: rgba(251, 248, 243, 0.12); border-color: var(--cream); }

.btn-light {
  background: var(--cream);
  color: var(--sage-ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 243, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -12px rgba(63,58,46,0.12);
  height: 72px;
}

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

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--sage-ink); flex-shrink: 0; }
.logo .logo-mark { width: 34px; height: 34px; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--sage-50); color: var(--sage-ink); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn { padding: 12px 20px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--sage-50);
  color: var(--sage-ink);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--sage-100); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display:none; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  opacity: 0.55;
}
.hero-blob.b1 { width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, var(--sand-deep), transparent 70%); top: -160px; right: -140px; }
.hero-blob.b2 { width: 360px; height: 360px; background: radial-gradient(circle at 60% 40%, var(--sage-100), transparent 70%); bottom: -140px; left: -120px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy .badge-trust {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-50); color: var(--sage-dark);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700; font-family: var(--font-head);
  margin-bottom: 22px;
}
.hero-copy .badge-trust svg { width: 16px; height: 16px; }

.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 em { font-style: normal; color: var(--sage-dark); }

.hero-copy .lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 36px; line-height: 1.7; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.hero-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); font-weight: 500; }
.hero-meta-item svg { width: 20px; height: 20px; color: var(--sage-dark); flex-shrink: 0; }

.hero-copy { min-width: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-photo-frame {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 4.6;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.hero-card-float {
  position: absolute;
  bottom: 22px;
  left: 16px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: min(280px, calc(100% - 32px));
}
.hero-card-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.hero-card-name span {
  display: inline;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--sage-dark);
  margin-left: 6px;
}
.hero-card-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero-card-float .btn {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  font-size: 0.86rem;
  white-space: normal;
}

@media (min-width: 641px) {
  .hero-card-float { display: none; }
}

.hero-dot-grid {
  position: absolute; top: 8%; right: -6%;
  width: 120px; height: 120px;
  background-image: radial-gradient(var(--sage) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.35;
  z-index: 0;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.about-photo-wrap { position: relative; }
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/3.6;
  box-shadow: var(--shadow-md);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo-ring {
  position: absolute;
  inset: -18px;
  border: 1.5px solid var(--sage-100);
  border-radius: calc(var(--radius-lg) + 18px);
  z-index: -1;
}

.about-quote {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--sage-50);
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--sage-ink);
  position: relative;
}
.about-quote svg { width: 26px; height: 26px; color: var(--sage); margin-bottom: 10px; }

.about-text p { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.7; }
.about-text p:last-child { margin-bottom: 0; }

.credentials-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.credential-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}
.credential-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--sage-50); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.credential-icon svg { width: 24px; height: 24px; color: var(--sage-dark); }
.credential-item h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.credential-item p { font-size: 0.92rem; margin: 0; }
.credential-item .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--sage-dark);
}

.principles-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.principle-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--cream-alt);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.principle-chip svg { width: 18px; height: 18px; color: var(--sage-dark); flex-shrink: 0; }

/* ---------- Cards grid (concerns) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.concern-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.concern-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--sage-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.concern-card .icon-wrap svg { width: 26px; height: 26px; color: var(--sage-dark); }
.concern-card h3 { margin-bottom: 10px; }
.concern-card p { font-size: 0.95rem; margin: 0; }

.concerns-note {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  background: var(--sage-50);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--sage-ink);
}
.concerns-note svg { width: 24px; height: 24px; color: var(--sage-dark); flex-shrink: 0; }

/* ---------- Methods ---------- */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.method-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.method-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: var(--sage);
}
.method-card .method-num { font-family: var(--font-head); font-size: 0.8rem; font-weight: 800; color: var(--sage); letter-spacing: 0.1em; margin-bottom: 14px; display: block; }
.method-card h3 { margin-bottom: 12px; }
.method-card p { font-size: 0.96rem; }
.method-card .status-pill {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--sage-dark);
}

/* ---------- Timeline (process) ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--sage-100) 0 8px, transparent 8px 16px);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--sage-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--sage-dark);
  z-index: 1;
}
.timeline-content { padding-top: 8px; }
.timeline-content h3 { margin-bottom: 8px; }
.timeline-content p { margin: 0; font-size: 0.97rem; max-width: 620px; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefit-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line-soft);
}
.benefit-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.benefit-card .icon-wrap svg { width: 24px; height: 24px; color: var(--sage-dark); }
.benefit-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
.price-card.featured { border-color: var(--sage); position: relative; }
.price-card.featured::after {
  content: "Онлайн — доступно из любого города";
  position: absolute; top: -14px; left: 40px;
  background: var(--sage-dark); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.price-card .format-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--sage-50); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.price-card .format-icon svg { width: 26px; height: 26px; color: var(--sage-dark); }
.price-card h3 { margin-bottom: 6px; }
.price-card .price-location { font-size: 0.9rem; color: var(--ink-faint); margin-bottom: 24px; }
.price-card .price-amount {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card .price-amount span { font-size: 1rem; font-weight: 600; color: var(--ink-faint); }
.price-card .price-note { font-size: 0.88rem; margin-bottom: 26px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex-grow: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.price-card li svg { width: 18px; height: 18px; color: var(--sage-dark); flex-shrink: 0; margin-top: 2px; }

.pricing-disclaimer { margin-top: 28px; font-size: 0.88rem; color: var(--ink-faint); text-align: center; }

/* ---------- Testimonials slider ---------- */
.reviews-slider { --reviews-gap: 22px; }
.reviews-viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.reviews-track {
  display: flex;
  width: 100%;
  gap: var(--reviews-gap);
  transition: transform 0.45s cubic-bezier(.16,.84,.44,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - var(--reviews-gap) * 2) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-sm);
}
.review-quote {
  width: 28px;
  height: 28px;
  color: var(--sage);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.review-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 22px;
  flex-grow: 1;
}
.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.review-card footer strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink);
}
.review-card footer span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--sage-ink);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.reviews-arrow svg { width: 20px; height: 20px; }
.reviews-arrow:hover:not(:disabled) { background: var(--sage-50); border-color: var(--sage-dark); }
.reviews-arrow:disabled { opacity: 0.4; cursor: default; }
.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-100);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.reviews-dot.is-active {
  background: var(--sage-dark);
  transform: scale(1.25);
}

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

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.faq-question .plus {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sage-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-question .plus svg { width: 16px; height: 16px; color: var(--sage-dark); }
.faq-item[data-open="true"] .faq-question .plus { transform: rotate(135deg); background: var(--sage); }
.faq-item[data-open="true"] .faq-question .plus svg { color: var(--white); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 26px 24px; font-size: 0.95rem; max-width: 620px; }

/* ---------- CTA ---------- */
.cta-section {
  padding-block: clamp(72px, 10vw, 130px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { max-width: 720px; margin-inline: auto; margin-bottom: 20px; color: var(--cream); }
.cta-section .eyebrow { color: var(--sage-100); }
.cta-section .eyebrow::before { background: var(--sage-100); }
.cta-section p.lead { color: var(--sage-100); max-width: 560px; margin: 0 auto 40px; font-size: 1.1rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-leaf { position: absolute; opacity: 0.08; }
.cta-leaf.l1 { top: -60px; left: -60px; width: 280px; height: 280px; }
.cta-leaf.l2 { bottom: -80px; right: -60px; width: 320px; height: 320px; }

/* ---------- Contacts ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sage-50); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .icon-wrap svg { width: 24px; height: 24px; color: var(--sage-dark); }
.contact-row div span { display: block; font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 2px; }
.contact-row div strong { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; }
.contact-row.link-row { transition: background 0.2s ease; border-radius: var(--radius-sm); margin: 0 -14px; padding: 18px 14px; }
.contact-row.link-row:hover { background: var(--cream-alt); }

.contact-map-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.contact-map-card svg.map-icon { width: 40px; height: 40px; color: var(--sage-dark); }
.contact-map-card h3 { margin-bottom: 0; }
.contact-map-card p {
  margin: 0;
  font-size: 0.95rem;
}
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-btn svg { width: 22px; height: 22px; color: var(--sage-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-ink); color: var(--sage-100); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand p { color: var(--sage-100); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--sage-100); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  font-size: 0.82rem;
  color: rgba(246, 241, 233, 0.88);
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.footer-col a.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a.footer-contact svg,
.footer-col .footer-muted svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-col .footer-muted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

/* ---------- Sticky CTA dock ---------- */
.sticky-dock {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.sticky-item { position: relative; }
.sticky-btn {
  width: var(--sticky-cta-size);
  height: var(--sticky-cta-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.sticky-btn svg { width: 22px; height: 22px; }
.sticky-btn:hover { background: var(--sage-ink); box-shadow: var(--shadow-lg); }
.sticky-btn[aria-expanded="true"] { background: var(--sage-ink); }
.sticky-btn-top {
  background: var(--white);
  color: var(--sage-ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.sticky-btn-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-btn-top:hover { background: var(--sage-50); }
.sticky-hint {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sticky-btn:hover + .sticky-hint,
.sticky-btn:focus-visible + .sticky-hint { opacity: 1; }
.sticky-btn[aria-expanded="true"] + .sticky-hint { opacity: 0; }
.sticky-panel {
  position: absolute;
  right: calc(var(--sticky-cta-size) + 12px);
  bottom: 0;
  width: 260px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 16px;
  display: none;
}
.sticky-panel.is-open { display: block; }
.sticky-panel h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.sticky-panel p {
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.sticky-panel-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sticky-panel-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--cream-alt);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sage-ink);
  cursor: pointer;
}
.sticky-panel-links a:hover { background: var(--sage-50); }
.sticky-panel-links a svg { width: 18px; height: 18px; color: var(--sage-dark); flex-shrink: 0; }
body.nav-open { overflow: hidden; }
body.nav-open .sticky-dock { visibility: hidden; pointer-events: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--sage-dark); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 2px; border-radius: 4px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 360px; margin-inline: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .methods-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: calc((100% - var(--reviews-gap)) / 2); }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1320px) {
  .main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --sticky-cta-size: 48px; }
  .section-pad { padding-block: 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: 100%; }
  .hero-visual {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-width: none;
    width: 100%;
  }
  .hero-photo-frame {
    width: min(420px, 100%);
    margin-inline: auto;
  }
  .hero-card-float {
    position: static;
    width: 100%;
    max-width: none;
    padding: 20px 18px 18px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .price-card.featured::after { font-size: 0.65rem; left: 24px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .sticky-hint { display: none; }
  .sticky-panel {
    right: 0;
    bottom: calc(var(--sticky-cta-size) + 10px);
    width: min(260px, calc(100vw - 32px));
  }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.16,.84,.44,1);
  overflow: hidden;
  padding-top: var(--header-h);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-inner {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 28px calc(32px + env(safe-area-inset-bottom, 0px));
}
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.mobile-nav .btn { margin-top: 24px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
