/* ============================================================
   Лейла Алиева — психолог. Стили лендинга.
   Палитра и типографика повторяют оригинал (TildaSans + Georgia).
   ============================================================ */

:root{
  --ink:        #1a1a1a;
  --ink-soft:   #4a4a4a;
  --line:       #e4e4e4;
  --bg:         #ffffff;
  --bg-alt:     #f6f6f6;
  --bg-soft:    #ebebeb;
  --accent:     #1c1c1c;
  --accent-hov: #3a3a3a;
  --maxw:       1100px;
  --pad:        24px;
  --sans: "TildaSans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--pad);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  border:none;
  cursor:pointer;
  font-family:var(--sans);
  font-size:16px;
  letter-spacing:.02em;
  padding:16px 38px;
  border-radius:40px;
  transition:background .2s ease, transform .2s ease;
}
.btn:hover{ background:var(--accent-hov); transform:translateY(-1px); }
.btn--small{ padding:11px 26px; font-size:15px; }
.btn--light{ background:#fff; color:var(--ink); }
.btn--light:hover{ background:#f0f0f0; }

/* ---------- Header ---------- */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; gap:24px;
  height:68px;
}
.header__logo{
  font-family:var(--serif);
  font-size:21px;
  font-weight:400;
  letter-spacing:.01em;
  white-space:nowrap;
}
.nav{
  display:flex; gap:28px;
  margin-left:auto;
}
.nav__link{
  font-size:15px;
  color:var(--ink-soft);
  transition:color .2s ease;
}
.nav__link:hover{ color:var(--ink); }
.header__cta{ flex:0 0 auto; }

.burger{
  display:none;
  margin-left:auto;
  background:none; border:none; cursor:pointer;
  width:30px; height:24px; padding:0;
  flex-direction:column; justify-content:space-between;
}
.burger span{ display:block; height:2px; background:var(--ink); border-radius:2px; transition:.25s; }
.burger.is-open span:nth-child(1){ transform:translateY(11px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-11px) rotate(-45deg); }

/* ---------- Hero (две колонки: фото слева, текст справа) ---------- */
.hero{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  min-height:88vh;
  background:#1a1513;
  color:#fff;
}
.hero__photo{ position:relative; overflow:hidden; }
.hero__photo img{
  width:100%; height:100%;
  object-fit:cover; object-position:center 18%;
  display:block;
}
.hero__panel{
  display:flex; align-items:center;
  padding:60px clamp(28px, 5vw, 84px);
}
.hero__content{ max-width:560px; }
.hero__kicker{
  font-size:15px; letter-spacing:.28em; margin:0 0 22px;
  text-transform:uppercase; color:rgba(255,255,255,.7);
}
.hero__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(24px, 3vw, 40px);
  line-height:1.22;
  margin:0 0 36px;
}

/* ---------- Generic section ---------- */
.section{ padding:84px 0; }
.section--alt{ background:var(--bg-alt); }
.section__label{
  font-family:var(--serif);
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.15; color:var(--ink); margin:0 0 14px;
}
/* «Привет, меня зовут…» — мельче, чем заголовок «Обо мне» */
.about__text .section__title{
  font-size:clamp(18px, 2.1vw, 23px);
  color:var(--ink-soft);
  line-height:1.35;
  margin:0 0 24px;
}
.section__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(26px, 3.4vw, 40px);
  line-height:1.22;
  margin:0 0 28px;
}
.section__title--center{ text-align:center; margin-bottom:48px; }
.section__title--light{ color:#fff; }

/* ---------- About ---------- */
.about{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:56px; align-items:center;
}
.about__media img{
  width:100%; border-radius:8px;
  aspect-ratio:3/4; object-fit:cover;
}
.about__text p{ margin:0 0 18px; color:var(--ink-soft); }

/* ---------- Stats ---------- */
.stats{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; margin-top:64px;
}
.stat{
  text-align:center;
  border:1px solid var(--line); border-radius:14px;
  padding:30px 22px; background:#fff;
}
/* Мягкие нейтральные цвета рамок в тон сайту */
.stat:nth-child(1){ border-color:#bcd6c4; background:#f3f8f4; }
.stat:nth-child(2){ border-color:#e3cdbf; background:#faf4ef; }
.stat:nth-child(3){ border-color:#ccd2e2; background:#f4f5fb; }
.stat__num{
  font-family:var(--serif);
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  margin-bottom:12px;
}
.stat__label{ font-size:15px; color:var(--ink-soft); max-width:230px; margin:0 auto; }

/* ---------- Services ---------- */
.services{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:1fr 1fr;
  gap:14px 48px; max-width:920px; margin:0 auto;
}
.services li{
  position:relative; padding-left:50px;
  font-size:19px; color:var(--ink-soft);
  padding-top:6px; padding-bottom:6px;
}
.services li::before{
  content:""; position:absolute; left:0; top:2px;
  width:34px; height:34px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 32 32' fill='none' stroke='%232e9e5b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 17 l7 8 L28 6'/></svg>") no-repeat center;
}

/* ---------- Approaches (круглое фото + текст + цитата) ---------- */
.approaches{ max-width:820px; margin:0 auto; }
.approaches__photo{
  width:200px; height:200px; margin:0 auto 36px;
  border-radius:50%; overflow:hidden;
  box-shadow:0 16px 40px rgba(0,0,0,.16);
}
.approaches__photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.approaches__text p{ margin:0 0 18px; color:var(--ink-soft); }
.quote{
  margin:48px 0 0; padding:32px 0;
  border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  font-family:var(--serif);
  font-size:clamp(22px, 2.8vw, 30px);
  line-height:1.4; color:var(--ink); text-align:center;
}

/* ---------- Education ---------- */
#education{ position:relative; overflow:hidden; }
#education::before{
  content:""; position:absolute; inset:-40px; z-index:0;
  background:url("../images/img5.png") center/cover no-repeat;
  filter:blur(16px) brightness(.8);
  transform:scale(1.12);
}
#education .container{ position:relative; z-index:1; }
.edu-card{
  background:rgba(255,255,255,.94);
  border-radius:20px;
  padding:48px clamp(24px, 4vw, 56px);
  max-width:1000px; margin:0 auto;
  box-shadow:0 26px 64px rgba(0,0,0,.22);
}
.edu{
  display:grid; grid-template-columns:1fr 1fr; gap:48px;
  margin:0 auto;
}
.edu__heading{
  font-family:var(--serif); font-weight:400; font-size:23px;
  margin:0 0 20px; padding-bottom:12px; border-bottom:1px solid var(--line);
}
.edu__list{ list-style:none; padding:0; margin:0; }
.edu__list li{
  position:relative; padding-left:22px; margin-bottom:16px;
  font-size:16px; color:var(--ink-soft);
}
.edu__list li::before{
  content:""; position:absolute; left:0; top:11px;
  width:7px; height:7px; border-radius:50%; background:var(--accent);
}

/* ---------- Pricing ---------- */
.pricing__note{ text-align:center; color:var(--ink-soft); margin:-30px 0 44px; font-size:15px; }
.pricing{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.price-card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:18px;
  padding:26px 22px; text-align:center;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  aspect-ratio:1 / 1;
  box-shadow:0 6px 22px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.price-card:hover{ transform:translateY(-4px); box-shadow:0 16px 38px rgba(0,0,0,.1); }
/* Формат работы и цена — дружелюбный sans, одного размера */
.price-card__type{
  font-family:var(--sans); font-weight:600;
  font-size:clamp(21px, 2.3vw, 29px); line-height:1.12;
  letter-spacing:normal; color:var(--ink);
}
.price-card__dur{ font-size:16px; color:var(--ink-soft); }
.price-card__amount{
  font-family:var(--sans); font-weight:700;
  font-size:clamp(23px, 2.5vw, 32px);
  margin:6px 0 16px; color:var(--ink);
}
.price-card__btn{ background:#00c853; }
.price-card__btn:hover{ background:#00b34a; }

/* ---------- Booking form ---------- */
.booking{ max-width:560px; margin:0 auto; }
.contacts__lead{ color:var(--ink-soft); margin:0 0 30px; }
.form{ display:flex; flex-direction:column; gap:18px; }
.form__row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form__field{ display:flex; flex-direction:column; gap:7px; }
.form__label{ font-size:14px; color:var(--ink-soft); }
.form__req{ color:#b23a3a; }
.form input{
  font-family:var(--sans); font-size:16px;
  padding:14px 16px; border:1px solid var(--line); border-radius:8px;
  background:#fff; transition:border-color .2s ease, box-shadow .2s ease;
}
.form input::placeholder{ color:#b3b3b3; }
.form input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(28,28,28,.08); }
.form input.is-invalid{ border-color:#d35a5a; box-shadow:0 0 0 3px rgba(211,90,90,.12); }
.form__hint{ font-size:13px; color:var(--ink-soft); margin:-4px 0 0; }

/* Выпадающий список формата консультации */
.select-wrap{ position:relative; }
.select-wrap::after{
  content:""; position:absolute; right:18px; top:50%;
  width:9px; height:9px; pointer-events:none;
  border-right:2px solid var(--ink-soft); border-bottom:2px solid var(--ink-soft);
  transform:translateY(-70%) rotate(45deg);
}
.form__select{
  width:100%; font-family:var(--sans); font-size:16px; color:var(--ink);
  padding:14px 44px 14px 16px; border:1px solid var(--line); border-radius:8px;
  background:#fff; cursor:pointer;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.form__select:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(28,28,28,.08); }
.form__submit{ align-self:flex-start; margin-top:6px; transition:opacity .3s ease, transform .3s ease; }
.form__submit:disabled{ opacity:.6; cursor:default; }
.form__submit.is-hidden{ opacity:0; transform:scale(.96); pointer-events:none; position:absolute; }
.form__status{ font-size:15px; margin:4px 0 0; }
.form__status.is-ok{ color:#1f7a44; }
.form__status.is-err{ color:#b23a3a; }

/* Блок успеха с анимацией */
.form__success{
  display:flex; align-items:center; gap:14px;
  margin-top:6px;
  opacity:0; transform:translateY(10px);
}
.form__success.show{
  animation:successIn .55s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes successIn{
  to{ opacity:1; transform:translateY(0); }
}
.form__success-text{
  font-size:17px; color:#1f7a44; font-weight:500;
}
.check{ width:42px; height:42px; flex:0 0 auto; }
.check__circle{
  stroke:#2e9e5b; stroke-width:3;
  stroke-dasharray:151; stroke-dashoffset:151;
  animation:drawCircle .5s ease forwards;
}
.check__mark{
  stroke:#2e9e5b; stroke-width:4; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:36; stroke-dashoffset:36;
  animation:drawMark .35s .45s ease forwards;
}
@keyframes drawCircle{ to{ stroke-dashoffset:0; } }
@keyframes drawMark{ to{ stroke-dashoffset:0; } }

/* ---------- Reach (контакты + карта) ---------- */
.reach{
  display:grid; grid-template-columns:0.85fr 1.15fr;
  gap:56px; align-items:center;
}
.reach__line{ font-size:17px; color:var(--ink-soft); margin:0 0 12px; }
.reach__line a:hover{ color:var(--ink); text-decoration:underline; }
.socials{ display:flex; gap:14px; margin-top:28px; }
.social{
  width:48px; height:48px; border-radius:50%;
  background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:transform .2s ease, background .2s ease;
}
.social:hover{ transform:translateY(-3px); background:#000; }
.social svg{ width:21px; height:21px; }
.reach__map{
  border-radius:16px; overflow:hidden; line-height:0;
  box-shadow:0 16px 44px rgba(0,0,0,.14);
}
.reach__map iframe{ display:block; width:100%; height:420px; border:0; }

/* ---------- Footer ---------- */
.footer{ background:var(--accent); color:#cfcfcf; padding:26px 0; }
.footer__inner{ display:flex; justify-content:space-between; align-items:center; font-size:14px; }
.footer__top:hover{ color:#fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:900px){
  body{ font-size:17px; }
  .nav{
    position:fixed; top:68px; left:0; right:0;
    background:#fff; flex-direction:column; gap:0;
    border-bottom:1px solid var(--line);
    transform:translateY(-130%); transition:transform .3s ease;
    box-shadow:0 12px 24px rgba(0,0,0,.08);
  }
  .nav.is-open{ transform:translateY(0); }
  .nav__link{ padding:16px 24px; border-top:1px solid var(--line); font-size:16px; }
  .header__cta{ display:none; }
  .burger{ display:flex; }

  .hero{ grid-template-columns:1fr; min-height:auto; }
  .hero__photo{ height:58vh; }
  .hero__photo img{ object-position:center 15%; }
  .hero__panel{ padding:40px 24px 56px; }

  .about{ grid-template-columns:1fr; gap:32px; }
  .about__media{ max-width:360px; }
  .stats{ grid-template-columns:1fr; gap:36px; }
  .services{ grid-template-columns:1fr; }
  .edu{ grid-template-columns:1fr; gap:36px; }
  .pricing{ grid-template-columns:1fr 1fr; }
  .reach{ grid-template-columns:1fr; gap:32px; }
  .reach__map iframe{ height:340px; }
  .section{ padding:60px 0; }
}

@media (max-width:520px){
  .pricing{ grid-template-columns:1fr; }
  .form__row{ grid-template-columns:1fr; }
}
