/* ============================================================
   Тетяна Литвиненко — Психолог
   Colors: #5B7B5C (sage), #F5F0E8 (cream), #3D2B1F (warm dark),
           #8B6F5C (warm brown), #fff
   Fonts: Cormorant Garamond + Inter
   ============================================================ */

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: #3D2B1F;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ────────────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(91,123,92,.15);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 2px 16px rgba(61,43,31,.1); }

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #3D2B1F;
  flex-shrink: 0;
  letter-spacing: .02em;
}

#nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #6B5448;
  transition: color .2s;
  letter-spacing: .03em;
}
.nav-link:hover { color: #5B7B5C; }

/* Burger */
#burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
#burger span {
  display: block;
  height: 1.5px;
  background: #3D2B1F;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 768px) {
  #burger { display: flex; }
  #nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(91,123,92,.15);
    box-shadow: 0 6px 20px rgba(61,43,31,.1);
    transform: translateY(-120%);
    transition: transform .3s;
    z-index: 99;
    justify-content: flex-start;
  }
  #nav.open { transform: translateY(0); }
  .nav-link { font-size: 17px; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: #5B7B5C;
  color: #fff;
  border-color: #5B7B5C;
}
.btn-primary:hover { background: #4a6a4b; border-color: #4a6a4b; }
.btn-outline {
  background: transparent;
  color: #5B7B5C;
  border-color: #5B7B5C;
}
.btn-outline:hover { background: #5B7B5C; color: #fff; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: #F5F0E8;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
}
.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8B6F5C;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 500;
  color: #3D2B1F;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  color: #6B5448;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 6px 14px;
  border: 1px solid rgba(91,123,92,.4);
  border-radius: 20px;
  color: #5B7B5C;
  background: rgba(91,123,92,.06);
}

/* Photo */
.photo-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 520px;
}
.photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,123,92,.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .photo-wrap { max-height: 340px; aspect-ratio: 4/3; }
  .photo-wrap img { object-position: center 20%; }
  .hero-text h1 { font-size: clamp(42px, 8vw, 64px); }
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-cream { background: #F5F0E8; }
.section-white { background: #fff; }
.section-sage  { background: #EEF2EE; }
.section-dark  { background: #3D2B1F; }

.section-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8B6F5C;
  padding-top: 8px;
}
.section-content-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: #3D2B1F;
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-content-col .lead {
  font-size: 17px;
  color: #3D2B1F;
  line-height: 1.75;
  margin-bottom: 20px;
}
.section-content-col p {
  font-size: 15px;
  color: #6B5448;
  line-height: 1.8;
  margin-bottom: 16px;
}
.section-content-col p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .section-grid { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 60px 0; }
}

/* ── About Values ──────────────────────────────────────────── */
.values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.value-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #3D2B1F;
  margin-bottom: 2px;
}
.value-item p {
  font-size: 14px;
  color: #8B6F5C;
  margin: 0;
  line-height: 1.5;
}

/* ── Topics ─────────────────────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.topic-card {
  background: #F5F0E8;
  border-radius: 4px;
  padding: 24px 20px;
  transition: transform .2s, box-shadow .2s;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61,43,31,.1);
}
.topic-icon { font-size: 24px; margin-bottom: 12px; }
.topic-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: #3D2B1F;
  margin-bottom: 8px;
}
.topic-card p { font-size: 13px; color: #8B6F5C; line-height: 1.6; margin: 0; }

@media (max-width: 900px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topics-grid { grid-template-columns: 1fr; } }

/* ── Methods ─────────────────────────────────────────────────── */
.methods-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.method-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(91,123,92,.2);
}
.method-item:last-child { border-bottom: none; }
.method-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: rgba(91,123,92,.4);
  line-height: 1;
  padding-top: 4px;
}
.method-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #3D2B1F;
  margin-bottom: 6px;
}
.method-item p { font-size: 14px; color: #6B5448; margin: 0; line-height: 1.7; }

/* ── Price ────────────────────────────────────────────────────── */
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.price-card {
  border: 1px solid rgba(61,43,31,.12);
  border-radius: 4px;
  padding: 36px 32px;
}
.price-card--main {
  background: #3D2B1F;
  color: #fff;
  border-color: #3D2B1F;
}
.price-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 16px;
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}
.price-amount span { font-size: 24px; opacity: .8; }
.price-amount-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: #5B7B5C;
  margin-bottom: 24px;
  line-height: 1.2;
}
.price-list { margin-bottom: 32px; }
.price-list li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-list li::before { content: '—'; opacity: .4; }
.price-card:not(.price-card--main) .price-list li {
  border-bottom-color: rgba(61,43,31,.1);
  color: #6B5448;
}

@media (max-width: 640px) { .price-cards { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────────────── */
.contact-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 36px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #fff;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  transition: background .2s, border-color .2s;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}
.contact-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #2A1E15;
  color: rgba(255,255,255,.4);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}
