:root {
  --cream: #FBF4EB;
  --cream-alt: #F5EAE0;
  --ink: #2E2420;
  --ink-soft: #5B4E47;
  --maroon: #7A2430;
  --maroon-dark: #601B24;
  --rose: #F1E0D8;
  --sage: #8A9A7E;
  --sage-soft: #EBEFE6;
  --gold: #C9A876;
  --border: #E4D5C4;
  --border-soft: #ECE0D2;
  --radius: 16px;
  --radius-sm: 10px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: 260ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0 0 18px; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0 0 16px; color: var(--ink-soft); }
a { color: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); box-shadow: 0 10px 22px rgba(122,36,48,.28); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-link { color: var(--maroon); font-weight: 600; text-decoration: none; align-self: center; background-image: linear-gradient(var(--maroon), var(--maroon)); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1.5px; transition: background-size var(--dur) var(--ease); padding-bottom: 2px; }
.btn-link:hover { background-size: 100% 1.5px; }
.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.2; }
.logo-text small { font-family: var(--sans); font-weight: 500; color: var(--ink-soft); font-size: 11px; }
.main-nav { display: flex; gap: 20px; flex-wrap: wrap; flex: 1; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color var(--dur) var(--ease); }
.main-nav a:hover { color: var(--maroon); }
.btn-header { flex-shrink: 0; }
.burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 80px; }
.hero-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-text h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; }
.hero-lead { font-size: 17px; color: var(--ink); }
.hero-sub { font-weight: 600; color: var(--ink); }
.hero-method-line { font-size: 14.5px; color: var(--ink-soft); }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 16px; }
.chip-row li { background: var(--rose); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--maroon-dark); font-weight: 600; }
.response-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.response-note .placeholder-inline { color: #B4783A; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; border: 6px solid #fff; box-shadow: 0 16px 40px rgba(46,36,32,.12); }
.quote-bubble {
  position: absolute;
  bottom: 8px;
  left: -10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  max-width: 240px;
  color: var(--maroon-dark);
}

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--cream-alt); }
.section-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.section-title.small { font-size: 22px; }
.section-title.center, .center { text-align: center; }
.section-lead { font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Card grids */
.card-grid { display: grid; gap: 20px; margin-block: 36px; }
.card-grid-2 { grid-template-columns: 1fr 1fr; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Tappable checklist */
.check-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.check-card.reveal-armed { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.check-card.reveal-armed.revealed { opacity: 1; transform: none; }
.check-card:hover { border-color: var(--maroon); }
.check-card.checked { background: var(--rose); border-color: var(--maroon); }
.check-card { align-items: flex-start; line-height: 1.6; }
.check-card input {
  -webkit-appearance: none; appearance: none;
  flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0;
  border: 1.5px solid var(--gold); border-radius: 6px; background: #fff;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer;
}
.check-card input:checked {
  background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--maroon);
}
.check-card input:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.check-card span.txt { flex: 1; }

.checklist-counter {
  text-align: center;
  font-weight: 700;
  color: var(--maroon-dark);
  margin: 4px 0 24px;
  font-size: 15px;
  min-height: 22px;
}

.plain-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 32px; }
.safety-note {
  margin-top: 20px;
  background: var(--sage-soft);
  border: 1px solid #D7E0CE;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.safety-note p { color: #4B5A40; font-size: 14px; margin-bottom: 10px; }
.safety-note p:last-child { margin-bottom: 0; }
.safety-note a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Callout */
.callout {
  background: var(--rose);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}
.callout p { color: var(--maroon-dark); font-weight: 600; margin-bottom: 16px; }
.callout p:last-child { margin-bottom: 0; }
.callout .btn { margin-top: 4px; }

/* Steps */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 36px 0; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.step.reveal-armed { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.step.reveal-armed.revealed { opacity: 1; transform: none; }
.step.revealed .step-num { color: var(--maroon); }
.step-num { font-family: var(--serif); font-size: 28px; color: var(--gold); font-weight: 700; margin-bottom: 8px; transition: color var(--dur) var(--ease); }
.step h3 { font-size: 16px; }
.step p { font-size: 13.5px; margin: 0; }
.step-examples { font-style: italic; }

/* Smooth accordions (grid-rows technique) */
.acc-btn { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.acc-btn .chev { margin-left: auto; width: 8px; height: 8px; border: solid var(--maroon); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px,-2px); transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(225deg) translate(-2px,-2px); }
.icon-sm { width: 22px; height: 22px; color: var(--maroon); flex-shrink: 0; }
/* Default (no JS): panels render fully open so content stays reachable. */
.acc-panel.acc-armed {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.acc-panel.acc-armed.open { grid-template-rows: 1fr; }
.acc-panel.acc-armed > .acc-inner { overflow: hidden; }

/* Topic accordion (с чем работаю) */
.topic-accordion { display: flex; flex-direction: column; gap: 12px; margin: 36px 0; }
.topic-item { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.topic-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.topic-body-content { padding: 0 24px 24px; }
.two-col-list { columns: 2; column-gap: 32px; padding-left: 18px; margin: 0 0 16px; }
.two-col-list li { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; break-inside: avoid; }

/* About */
.about-row { align-items: start; }
.about-photo-col { display: flex; flex-direction: column; gap: 18px; transform: translateY(18px); }
.about-photo img { border-radius: 50%; }
.tag-line { font-style: italic; color: var(--maroon-dark); font-weight: 600; }
.acc-panel .acc-inner-pad { padding-top: 20px; }
.detail-list { padding-left: 18px; margin-bottom: 20px; }
.detail-list li { margin-bottom: 6px; font-size: 14.5px; }

/* Testimonials */
.testimonial-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; }
.testimonial-topic {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--maroon);
  background: var(--rose);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.testimonial-card p.quote { font-style: italic; }
.testimonial-name { font-weight: 700; color: var(--maroon-dark); }

/* Next-steps flow */
.next-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.next-step { text-align: center; padding: 18px 12px; }
.next-step .n { font-family: var(--serif); font-size: 22px; color: var(--maroon); font-weight: 700; display: block; margin-bottom: 6px; }
.next-step p { font-size: 13.5px; margin: 0; }
.next-arrow { display: none; }

/* FAQ */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; margin: 36px 0; }
.faq-item { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.faq-head {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 22px; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.faq-body-content { padding: 0 22px 20px; }
.faq-body-content p { margin: 0; font-size: 14.5px; }

/* Gift / final CTA */
.gift-block, .final-cta { text-align: center; }
.final-cta { background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%); }
.final-cta .section-title, .final-cta p, .final-cta .tag-line { color: #fff; }
.final-cta .btn-primary { background: #fff; color: var(--maroon-dark); }
.final-cta .btn-primary:hover { background: var(--cream); }

/* Contacts */
.contact-name { font-family: var(--serif); font-size: 22px; }
.contact-tg a { color: var(--maroon); font-weight: 700; text-decoration: none; }
.contact-price { color: var(--ink-soft); font-size: 14px; }

/* Placeholder text */
.placeholder {
  color: #B4783A;
  background: #FBEDD8;
  border: 1px dashed #D9A85E;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-style: normal;
}
.placeholder-inline { color: #B4783A; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #E8DDD3; padding: 56px 0 28px; text-align: center; }
.footer-brand-phrase { font-family: var(--serif); font-style: italic; font-size: 18px; color: #fff; max-width: 560px; margin: 0 auto 16px; }
.footer-signature { color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.footer-nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-nav a { color: #E8DDD3; text-decoration: none; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #9A8C81; margin: 0; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--maroon);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-weight: 700;
  text-decoration: none;
  z-index: 60;
  box-shadow: 0 -6px 20px rgba(0,0,0,.15);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-header { display: none; }
  .burger { display: block; margin-left: auto; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(46,36,32,.1);
  }
  .main-nav.open a { padding: 8px 0; }

  .hero-row { grid-template-columns: 1fr; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; }
      .about-photo-col { position: static; margin: 0 auto; align-items: center; }
  .about-photo img { height: auto; width: 100%; max-width: 360px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .next-steps { grid-template-columns: 1fr 1fr; }
  .two-col-list { columns: 1; }
  .sticky-cta { display: block; }
  body { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* Brand mark, method illustration, about portrait, certificate */
.brand-mark { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; }
#o-metode .section-title { text-align: center; }
.method-figure { margin: 8px 0 28px; }
.method-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border-soft); }
.method-figure figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.about-photo { width: 100%; }
.about-photo img { width: auto; max-width: 100%; height: min(78vh, 640px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 0; box-shadow: 0 16px 40px rgba(46,36,32,.12); }
.about-photo-col { position: sticky; top: 100px; align-self: start; transform: none; }
.credentials { background: var(--sage-soft); border: 1px solid #D7E0CE; border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.credentials p { color: #3E4C34; font-weight: 600; margin-bottom: 14px; }
.cert-link { display: block; text-decoration: none; }
.cert-link img { width: 100%; max-width: 360px; height: auto; display: block; border-radius: 8px; border: 1px solid #D7E0CE; transition: transform var(--dur) var(--ease); }
.cert-link:hover img { transform: translateY(-2px); }
.cert-link span { display: block; font-size: 13px; color: var(--maroon); font-weight: 600; margin-top: 8px; }

@media (max-width: 900px) {
  .about-photo-col { position: static; margin: 0 auto; align-items: center; }
  .about-photo img { height: auto; width: 100%; max-width: 360px; }
}

.testimonials{columns:3 300px;column-gap:24px;margin-block:36px}
.testimonials .testimonial-card{break-inside:avoid;margin:0 0 24px}
.testimonials .testimonial-card p.quote{margin:0 0 .7em}
.testimonial-name{margin-top:14px}
.credentials p a{color:var(--maroon);text-decoration:underline;text-underline-offset:3px}

.refund-note { color: var(--ink-soft); font-size: 13px; margin: 16px 0 0; }
