/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:    #8a9e7e;
  --sage-lt: #c8d8c0;
  --sage-dk: #5f7255;
  --cream:   #f7f3ee;
  --warm:    #ede8e1;
  --text:    #2c2c2c;
  --muted:   #7a7a7a;
  --white:   #ffffff;
  --gold:    #b8956a;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.2;
  font-weight: 500;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: #4a4a4a; }

a {
  color: var(--sage-dk);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--gold); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--sage-dk);
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .25s, transform .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--sage); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white) !important;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: .95rem;
  font-weight: 400;
  border: 1.5px solid rgba(255,255,255,.6);
  transition: background .25s, border-color .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: white; }

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-bottom: 14px;
}
.center.section-label, .center > .section-label { display: block; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
#navbar.scrolled .nav-logo .logo-ru { color: var(--text); }
#navbar.scrolled .nav-logo .logo-sub { color: var(--muted); }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .burger { color: var(--text); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; }
.nav-logo .logo-ru {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: color .35s;
  line-height: 1.1;
}
.nav-logo .logo-sub {
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.75);
  transition: color .35s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.9);
  font-weight: 400;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.lang-toggle {
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.4);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.3); }
#navbar.scrolled .lang-toggle {
  background: var(--sage-lt);
  border-color: var(--sage);
  color: var(--sage-dk);
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: color .35s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 24px 20px;
  background: rgba(255,255,255,.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--warm);
  font-size: .95rem;
}
.mobile-menu .lang-toggle {
  margin-top: 12px;
  background: var(--sage-lt);
  border-color: var(--sage);
  color: var(--sage-dk);
  align-self: flex-start;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #4a6741 0%, #5f7255 30%, #7a8f6e 60%, #3a4f38 100%);
  color: white;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: flex-end;
  gap: 40px;
  min-height: calc(100vh - 120px);
}

.hero-content {
  padding-bottom: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
}

.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-child-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.18));
}

.hero-eyebrow {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-lt);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-content h1 {
  color: white;
  margin-bottom: 24px;
  font-weight: 400;
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.5);
  margin: 0 auto;
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== HOW SECTION ===== */
.how-section {
  padding: 100px 0;
  background: var(--cream);
}
.how-section h2 { margin-bottom: 56px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.how-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }

.how-icon { width: 48px; height: 48px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: var(--sage-lt); border-radius: 12px; padding: 10px; }
.how-icon svg { width: 28px; height: 28px; stroke: var(--sage-dk); flex-shrink: 0; }
.how-card h3 { margin-bottom: 10px; color: var(--text); }
.how-card p { font-size: .92rem; }

/* ===== PAIN SECTION ===== */
.pain-section {
  padding: 100px 0;
  background: var(--white);
}
.pain-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pain-text .section-label { margin-bottom: 14px; }
.pain-text h2 { margin-bottom: 28px; }

.pain-list {
  list-style: none;
  margin-bottom: 28px;
}
.pain-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--warm);
  font-size: .96rem;
  position: relative;
  color: #4a4a4a;
}
.pain-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
}

.pain-closing {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--sage-dk);
  margin-bottom: 32px;
}

.pain-image { display: flex; justify-content: center; }

.pain-img-wrap {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  background: var(--sage-lt);
}

.pain-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--sage-lt) 0%, var(--warm) 100%);
}
.pain-img-placeholder .placeholder-svg { width: 80px; height: 80px; stroke: var(--sage-dk); opacity: .35; }
.pain-img-placeholder p { color: var(--muted); font-size: .85rem; }

/* ===== ABOUT ===== */
.about-section {
  padding: 100px 0;
  background: var(--cream);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-lt);
  margin-bottom: 20px;
}
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #d4e5cc 0%, #e8f0e4 100%);
}
.about-photo-placeholder .placeholder-svg { width: 100px; height: 100px; stroke: var(--sage-dk); opacity: .3; }
.about-photo-placeholder p { color: var(--muted); font-size: .85rem; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  background: var(--sage-lt);
  color: var(--sage-dk);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }

.about-quote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--sage-dk);
  border-left: 3px solid var(--sage);
  padding-left: 20px;
  margin: 28px 0 !important;
  line-height: 1.6;
}

.methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.methods-list span {
  background: white;
  border: 1px solid var(--sage-lt);
  color: var(--text);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .82rem;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}
.services-section h2 { margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 32px;
  border: 1px solid var(--warm);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  background: white;
}
.service-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-num {
  font-family: 'Georgia', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--sage-lt);
  line-height: 1;
  margin-bottom: 12px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .92rem; }

/* ===== RESULTS ===== */
.results-section {
  padding: 100px 0;
  background: var(--sage-dk);
  color: white;
}
.results-section .section-label { color: var(--sage-lt); }
.results-section h2 { color: white; margin-bottom: 56px; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.result-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background .25s;
}
.result-card:hover { background: rgba(255,255,255,.13); }

.result-icon { width: 44px; height: 44px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.result-icon svg { width: 32px; height: 32px; stroke: var(--sage-lt); flex-shrink: 0; }
.result-age {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--sage-lt);
  margin-bottom: 14px;
}
.result-card p { color: rgba(255,255,255,.85); font-size: .93rem; }
.result-card strong { color: white; }

.results-note {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}

/* ===== PARENTS / 20 PHRASES ===== */
.parents-section {
  padding: 100px 0;
  background: var(--cream);
}
.parents-section h2 { margin-bottom: 16px; }
.parents-intro {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 56px;
}

.phrases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.phrase-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  border-top: 3px solid var(--sage-lt);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.phrase-card:hover {
  border-top-color: var(--sage-dk);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.phrase-num {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--sage-lt);
  line-height: 1;
  margin-bottom: 8px;
}
.phrase-card h4 {
  color: var(--sage-dk);
  margin-bottom: 8px;
  font-size: 1rem;
}
.phrase-card p { font-size: .88rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}
.testimonials-section h2 { margin-bottom: 56px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.t-text {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.65;
}
.t-name {
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: var(--cream);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-text h2 { margin-bottom: 16px; }
.contact-text p { margin-bottom: 32px; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  color: var(--text);
}
.ci-icon { display: flex; align-items: center; flex-shrink: 0; }
.ci-icon svg { width: 20px; height: 20px; stroke: var(--sage-dk); }

.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--warm);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138,158,126,.15);
  background: white;
}

.form-note {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success span { display: flex; justify-content: center; margin-bottom: 16px; }
.success-svg { width: 56px; height: 56px; stroke: var(--sage-dk); }
.form-success p { font-size: 1.05rem; color: var(--sage-dk); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 52px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer .logo-ru {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  color: white;
  display: block;
}
.footer .logo-sub {
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: white; }

.footer-copy { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.3); max-width: 520px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pain-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pain-image { display: none; }
  .about-photo { order: -1; }
  .about-photo-frame { max-width: 300px; margin: 0 auto 20px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { text-align: center; padding-bottom: 80px; }
  .hero-btns { justify-content: center; }

  .nav-links { display: none; }
  .burger { display: block; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
  .hero { padding: 100px 20px 60px; }
  .how-section, .pain-section, .about-section,
  .services-section, .results-section, .parents-section,
  .testimonials-section, .contact-section { padding: 72px 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .phrases-grid { grid-template-columns: 1fr; }
}
