/* ===== Переменные — меняй цвета тут ===== */
:root {
  --bg: #f9f7f2;
  --bg-alt: #f0eee6;
  --green: #5b7c61;
  --green-dark: #4a6a50;
  --orange: #e18b35;
  --text: #2d2d2d;
  --text-muted: #666;
  --white: #fff;
  --border: #e0ddd6;
  --radius: 16px;
  --header-h: 72px;
  --section-h: 100vh;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

/* ===== Сброс ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Анимации появления ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }

.reveal--visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Типографика ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--green); }
h3 { font-size: 1.4rem; color: var(--text); }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

em { font-style: normal; color: var(--green); }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover { background: var(--bg-alt); }

.btn--small { padding: 10px 20px; font-size: 0.85rem; }

.btn--full { width: 100%; text-align: center; }

/* ===== Шапка (фиксирована сверху) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav a:not(.btn) {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header__nav a:not(.btn):hover { color: var(--text); }

/* Бургер — скрыт на десктопе */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s;
}

/* ===== Одна секция = один экран ===== */
.hero,
.section {
  min-height: var(--section-h);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 16px;
  box-sizing: border-box;
}

.hero {
  height: var(--section-h);
  max-height: var(--section-h);
  overflow: hidden;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 0;
}

.hero__content {
  padding: 0 48px 20px max(32px, calc((100vw - 1200px) / 2 + 32px));
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  gap: 0;
}

.hero__main h1 {
  margin-bottom: 4px;
}

.hero__text {
  color: var(--text-muted);
  margin: 14px 0 20px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__langs {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1.1;
}

.hero__stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero__image {
  position: relative;
  background: var(--orange);
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius) 0 0 var(--radius);
}

.hero__quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius) 0 0 var(--radius);
}

.hero__quote-mark {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--green);
  line-height: 1;
}

.hero__quote p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  margin: 2px 0 4px;
  line-height: 1.3;
}

.hero__quote cite {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== Секции ===== */
.section {
  padding-left: 24px;
  padding-right: 24px;
}

.section--alt { background: var(--bg-alt); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ===== Meet ===== */
.meet {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.meet__photo {
  position: relative;
}

.meet__photo img {
  border-radius: var(--radius);
  width: 100%;
  height: calc(var(--section-h) - var(--header-h) - 32px);
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
}

.meet__pronouns {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.meet__text p {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.checklist {
  list-style: none;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.checklist li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--border);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== Therapy ===== */
.therapy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.therapy__main p {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.therapy__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 14px 0;
}

.therapy__type {
  background: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.therapy__type span {
  display: inline-block;
  background: var(--bg-alt);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 10px;
  color: var(--text-muted);
}

.therapy__card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
}

.therapy__card h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.therapy__card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tags--outline span {
  background: transparent;
  border: 1px solid var(--border);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-grid dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-grid dd {
  font-size: 0.95rem;
}

/* ===== Assessments ===== */
#assessments h2 { margin-bottom: 0; }

.tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.tabs__btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-sans);
}

.tabs__btn--active {
  background: var(--green);
  color: var(--white);
}

.assessments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.assessments__info {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius);
}

.assessments__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.assessments__subtitle {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.assessments__info p {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.assessments__info .tags { margin-top: 12px; }

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.steps__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--border);
  font-weight: 600;
  min-width: 28px;
}

.steps li strong { display: block; margin-bottom: 2px; }
.steps li p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Supervision ===== */
.supervision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.supervision__text p {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.supervision__text .btn { margin-top: 8px; }

.supervision__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.card__icon { font-size: 1.1rem; margin-bottom: 6px; }

.card h3 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.35; }

/* ===== Connect ===== */
.connect {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.connect__info p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.85rem; }

.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-item a { color: var(--green); font-weight: 500; }

.note {
  background: var(--bg-alt);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

.note strong { color: var(--text); }

/* ===== Форма ===== */
.form {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius);
}

.form h3 {
  font-family: var(--font-serif);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.form__status {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.form__status--ok {
  background: #e8f0e9;
  color: var(--green-dark);
}

.form__status--error {
  background: #fdecea;
  color: #a33;
}

.form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}

.form textarea { resize: none; height: 56px; }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .hero {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero { grid-template-columns: 1fr; }
  .hero__image { min-height: 280px; max-height: 35vh; order: -1; }
  .hero__content { padding: 0 24px 16px; }
  .hero__main { max-width: none; }

  .meet,
  .therapy,
  .assessments,
  .supervision,
  .connect { grid-template-columns: 1fr; gap: 24px; }

  .meet__photo img { height: auto; max-height: 280px; }
  .checklist { grid-template-columns: 1fr; }
  .therapy__types { grid-template-columns: 1fr; }
  .supervision__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .header__burger { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s;
  }

  .header__nav--open { transform: translateY(0); }

  .header__nav a:not(.btn) { font-size: 1rem; }

  .hero__stats { gap: 24px; }

  .info-grid { grid-template-columns: 1fr; }

  .supervision__cards { grid-template-columns: 1fr; }
}

/* Низкие экраны (ноутбуки 768px высотой) */
@media (max-height: 800px) {
  :root { --header-h: 60px; }

  body { font-size: 14px; }

  h1 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

  .hero__content { padding: 10px 24px; }
  .hero__stats strong { font-size: 1.3rem; }
  .btn { padding: 8px 18px; font-size: 0.85rem; }
}
