:root {
  --charcoal: #1c1c1c;
  --charcoal-2: #2b2926;
  --charcoal-3: #3c3a37;
  --gold: #a9803b;
  --gold-light: #c6a25c;
  --cream: #f5f3ef;
  --offwhite: #ffffff;
  --border: #e3dfd8;
  --warm-gray: #7a756d;
  --text-dark: #1c1c1c;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--offwhite);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1.12; }
h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
h2.light, h1.light { color: var(--offwhite); }
h3 { font-size: 19px; margin-bottom: 10px; }

p { margin: 0 0 16px; }

a { color: inherit; }

/* Topbar */
.topbar {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}
.topbar__name { font-weight: 700; letter-spacing: 0.04em; font-size: 13px; }
.topbar__nav { display: flex; align-items: center; gap: 18px; }
.topbar__tag { color: var(--warm-gray); font-size: 13px; }
.topbar__social {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.topbar__social:hover { text-decoration: underline; }
@media (max-width: 620px) {
  .topbar__tag { display: none; }
  .topbar__nav { gap: 14px; }
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--offwhite) 100%);
  text-align: center;
}
/* Анімована золота «сузірна» сітка на тлі hero */
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
/* Кремова «лінза» — щільна в центрі під текстом, прозора по краях, де золото */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 54% 60% at 50% 46%,
    rgba(255,255,255,0.62) 0%,
    rgba(255,255,255,0.32) 48%,
    rgba(255,255,255,0.05) 76%,
    rgba(255,255,255,0) 100%);
}
.hero__inner { max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 { color: var(--charcoal); }
.hero__sub {
  font-size: 18px;
  color: var(--charcoal-3);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--warm-gray);
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 4px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn--primary {
  background: var(--gold);
  color: var(--offwhite);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}
.btn--big { font-size: 17px; padding: 18px 38px; }

/* Sections */
.section { padding: 88px 0; }
.section--light { background: var(--offwhite); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--charcoal); color: var(--offwhite); }
.section--dark h2, .section--dark h3 { color: var(--offwhite); }
.section--dark p { color: #cfcbc3; }
.section--gold {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  text-align: center;
  color: var(--offwhite);
}
.section--gold h2 { color: var(--offwhite); }
.section--gold .highlight { color: var(--gold-light); }
.section--gold p,
.section--gold .section__lead { color: #f0ece4; font-weight: 500; margin-left: auto; margin-right: auto; }
.section--final { text-align: center; }
.section--final .section__lead,
.section--final .kicker,
.section--gold .kicker { margin-left: auto; margin-right: auto; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker--light { color: var(--gold-light); }

.section__lead {
  font-size: 17px;
  color: var(--charcoal-3);
  max-width: 640px;
}
.section__lead--accent { color: var(--gold-light); font-weight: 600; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 32px 0; }
.checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16.5px;
}
.checklist .num {
  font-family: var(--font-head);
  color: var(--gold);
  font-weight: 600;
  min-width: 28px;
}

.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: 4px;
  font-size: 15.5px;
  color: var(--charcoal-3);
}

blockquote {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.6vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}

/* Stats */
.stat-block { margin: 28px 0; }
.stat-big {
  font-family: var(--font-head);
  font-size: 72px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-big span { font-size: 36px; }
.plainlist { list-style: none; padding: 0; margin: 24px 0; }
.plainlist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--charcoal-3);
}

.twostat {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.twostat__item {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 600;
}
.twostat__item span {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  margin-top: 4px;
}
.twostat__item--up { color: #5a7a54; }
.twostat__item--down { color: #a94a3b; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.compare__col { padding: 28px; border-radius: 6px; }
.compare__col--bad { background: #f3e9e4; }
.compare__col--good { background: #eef2e8; }
.compare__label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.compare__col--bad .compare__label { color: #a94a3b; }
.compare__col--good .compare__label { color: #5a7a54; }
.compare__col p { font-size: 15px; color: var(--charcoal-3); margin: 0; }

/* Grids */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0; }

.card-dark {
  background: var(--charcoal-2);
  border: 1px solid #45423d;
  border-radius: 6px;
  padding: 24px;
}
.card-dark h3 { font-size: 16.5px; color: var(--gold-light); }
.card-dark p { font-size: 14.5px; color: #b8b3aa; margin: 0; }

.card-light {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.card-light h3 { font-size: 16.5px; }
.card-light p { font-size: 14.5px; color: var(--warm-gray); margin: 0; }

/* About with photo */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  margin: 24px 0 40px;
}
.about-photo img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 12px 32px rgba(28,28,28,0.16);
}
.about-intro h2 { margin-bottom: 6px; }
.about-role {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.about-intro p { font-size: 16px; color: var(--charcoal-3); }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 280px; }
}

.feature h3 { color: var(--gold); font-size: 17px; }
.feature p { font-size: 15px; color: var(--charcoal-3); margin: 0; }
.h2sub { font-family: var(--font-body); font-weight: 400; font-size: 0.55em; color: var(--warm-gray); }
.quote-line { font-size: 17px; margin-top: 8px; color: var(--charcoal-3); }

.step-card {
  background: var(--offwhite);
  border-radius: 6px;
  padding: 30px 26px;
  border: 1px solid var(--border);
}
.step-card__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--offwhite);
  background: var(--gold);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 14px;
}
.step-card p { font-size: 15px; color: var(--charcoal-3); margin: 0; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.case {
  background: var(--cream);
  border-radius: 6px;
  padding: 26px;
}
.case__stat {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.case__stat span {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--warm-gray);
  margin-top: 4px;
}
.case__meta { font-size: 13px; color: var(--warm-gray); margin: 10px 0 14px; font-weight: 600; }
.case__before, .case__after { font-size: 14px; color: var(--charcoal-3); margin-bottom: 10px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.testi {
  margin: 0;
  padding: 24px;
  background: var(--charcoal-2);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-style: normal;
}
.testi p { font-size: 14.5px; color: #d8d4cb; margin-bottom: 14px; }
.testi cite {
  font-style: normal;
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 600;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; align-items: stretch; }
.price-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.price-card--highlight {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(169,128,59,0.14);
}
.price-card__step {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.price-card__price {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.price-card p:not(.price-card__price):not(.price-card__step) {
  font-size: 14.5px;
  color: var(--warm-gray);
  flex-grow: 1;
}
.price-card .btn { margin-top: 8px; text-align: center; }

/* FAQ */
.faq { margin-top: 28px; }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 20px;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin-top: 12px; font-size: 15px; color: var(--charcoal-3); }

/* Contacts */
.contacts {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.contacts a { text-decoration: none; color: var(--gold-light); }
.contacts a:hover { text-decoration: underline; }

/* Footer */
.footer {
  padding: 28px 0;
  font-size: 12.5px;
  color: var(--warm-gray);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__social { display: flex; gap: 18px; }
.footer__social a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.footer__social a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .footer__inner { justify-content: center; text-align: center; }
}

/* Responsive */
@media (max-width: 860px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .grid4 { grid-template-columns: 1fr; }
}

/* ===== Offer techniques: value table, guarantee, price note, not-for ===== */
.vtable { margin-top: 30px; }
.vtable__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.vtable__get { font-weight: 600; font-size: 15.5px; color: var(--charcoal); }
.vtable__solve { font-size: 14.5px; color: var(--warm-gray); font-style: italic; }
.section--dark .vtable__row { border-color: #45423d; }
.section--dark .vtable__get { color: #f0ece4; }
.section--dark .vtable__solve { color: #b8b3aa; }

.promise {
  background: var(--cream);
  border-radius: 10px;
  padding: 30px 32px;
  margin-top: 28px;
}
.section--dark .promise { background: var(--charcoal-2); }
.promise__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.promise p { font-size: 15.5px; color: var(--charcoal-3); margin: 0; line-height: 1.5; }
.section--dark .promise p { color: #d8d4cb; }

.price-note {
  font-size: 15px;
  color: var(--charcoal-3);
  max-width: 760px;
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.notfor { max-width: 760px; }
.notfor p { font-size: 15.5px; color: var(--charcoal-3); }

@media (max-width: 720px) {
  .vtable__row { grid-template-columns: 1fr; gap: 5px; }
}

/* ============================================================
   MOTION & POLISH — premium micro-interactions (self-contained)
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000; transition: width .12s linear;
}

/* Sticky glass header */
.topbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: box-shadow .35s ease, background .35s ease;
}
.topbar.scrolled { box-shadow: 0 4px 24px rgba(28, 28, 28, 0.07); }

/* Buttons: lift + gold sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left .65s cubic-bezier(.2,.7,.2,1);
}
.btn--primary:hover::after { left: 140%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(169, 128, 59, 0.30); }
.btn--outline:hover { background: var(--charcoal); color: var(--offwhite); box-shadow: 0 12px 28px rgba(28,28,28,0.18); }

/* Card hover lift */
.card-light, .card-dark, .case, .step-card, .price-card, .testi, .compare__col {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.card-light:hover, .case:hover, .step-card:hover, .price-card:hover, .compare__col:hover {
  transform: translateY(-5px); box-shadow: 0 16px 38px rgba(28, 28, 28, 0.11);
}
.card-dark:hover, .testi:hover {
  transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}
.vtable__row { transition: background .25s ease; }
.vtable__row:hover { background: rgba(169,128,59,0.05); }

/* Gold link underline grow */
.topbar__social, .contacts a, .footer__social a { position: relative; }
.topbar__social::after, .contacts a::after, .footer__social a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.topbar__social:hover::after, .contacts a:hover::after, .footer__social a:hover::after { transform: scaleX(1); }
.topbar__social:hover, .contacts a:hover, .footer__social a:hover { text-decoration: none; }

/* Hero: soft drifting gold glow + entrance */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,162,92,0.18), rgba(198,162,92,0) 62%);
  top: -320px; right: -220px; pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 2; }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: heroDrift 18s ease-in-out infinite; }
  @keyframes heroDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-46px, 34px) scale(1.06); }
  }
  .hero .eyebrow { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .08s both; }
  .hero__sub { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .18s both; }
  .hero .btn { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .28s both; }
  .hero__note { animation: fadeUp .8s ease .38s both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Scroll reveal (classes added by JS) */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
  .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .stagger.in > * { opacity: 1; transform: none; }
  .stagger.in > *:nth-child(2) { transition-delay: .07s; }
  .stagger.in > *:nth-child(3) { transition-delay: .14s; }
  .stagger.in > *:nth-child(4) { transition-delay: .21s; }
  .stagger.in > *:nth-child(5) { transition-delay: .28s; }
  .stagger.in > *:nth-child(6) { transition-delay: .35s; }
}
