/* Елена Кулиева — тема «Терракота» */

:root {
  --bg: #F5EFE6;
  --surface: #FFFFFF;
  --surface-2: #FBF7F1;
  --text: #36291F;
  --text-2: #4E4238;
  --muted: #6E6157;
  --accent: #A0553B;
  --accent-hover: #7E4029;
  --accent-soft: #F3E2D8;
  --line: #EADFD3;
  --dark: #36291F;
  --dark-2: #5A4536;
  --on-dark: #F5EFE6;
  --on-dark-muted: #E0D1C4;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Golos Text', system-ui, sans-serif;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --container: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--text); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 24px; line-height: 1.25; }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; line-height: 1.7; color: var(--text-2); }
.muted { color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .stack { max-width: 640px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: #D9C8B8; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: var(--accent-soft); color: var(--text); }
.btn--light:hover { background: #fff; color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 239, 230, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); margin-top: -2px; }
.nav { display: flex; gap: 4px; padding: 5px; background: var(--surface); border-radius: 999px; }
.nav a { display: flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-hover); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

/* Главная: первый экран */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-photo { position: relative; }
.photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: #E6D3C4; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; text-align: center; padding: 16px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -32px; bottom: 32px; background: var(--surface); border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: 0 18px 40px rgba(54, 41, 31, 0.14); display: flex; flex-direction: column; gap: 2px;
}
.hero-badge strong { font-family: var(--font-display); font-size: 20px; }
.hero-badge span { font-size: 14px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border-radius: var(--r-md); }
.fact { padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; }

/* Карточки */
.card { background: var(--surface); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card--soft { background: var(--surface-2); border: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.num { font-family: var(--font-display); font-size: 18px; color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 500; }
.chip--soft { background: var(--accent-soft); color: var(--accent-hover); }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }

/* Блок «Что такое психотерапия» */
.quote-block { background: var(--surface); border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.quote-block .big { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.35; }

/* Тёмный блок записи */
.cta { display: grid; grid-template-columns: 1.2fr 0.8fr; background: var(--dark); border-radius: var(--r-lg); overflow: hidden; color: var(--on-dark); }
.cta-body { padding: 56px; display: flex; flex-direction: column; gap: 18px; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); }
.cta-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-meta span { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 14px; color: var(--on-dark); }
.cta-photo { background: var(--dark-2); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--on-dark-muted); font-size: 14px; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Блог */
.page-hero { padding: 56px 0 40px; }
.page-hero .stack { max-width: 680px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface); color: var(--text); font: 500 15px/1 var(--font-body); cursor: pointer; }
.filter:hover { background: var(--accent-soft); }
.filter[aria-pressed="true"] { background: var(--dark); color: #fff; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-size: 13px; font-weight: 600; }

.post-featured { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.post-featured .cover { min-height: 380px; }
.post-featured .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cover { background: #E6D3C4; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.cover--2 { background: #EAD9CB; }
.cover--3 { background: #F0E1D2; }

.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-md); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(54, 41, 31, 0.10); }
.post-card .cover { aspect-ratio: 16 / 9; }
.post-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-card h3 a, .post-featured h2 a { color: var(--text); }
.post-card h3 a::after, .post-featured h2 a::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p, .post-featured p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--gutter); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r-md); }
[hidden] { display: none !important; }

/* Статья */
.article { max-width: 680px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; margin-bottom: 28px; }
.article-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.article-head h1 { font-size: clamp(34px, 4.4vw, 50px); }
.article-cover { aspect-ratio: 16 / 9; border-radius: var(--r-lg); margin: 0 auto 48px; max-width: 880px; }
.prose { font-size: 18px; line-height: 1.8; color: var(--text-2); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin: 1.6em 0 0.6em; }
.author-box { display: flex; gap: 24px; align-items: center; margin-top: 56px; padding: 28px; background: var(--surface); border-radius: var(--r-md); }
.avatar { width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; background: #E6D3C4; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box .stack { gap: 6px; flex-grow: 1; }
.author-box h3 { font-size: 22px; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--gutter); align-items: start; }
.info-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.info-list div { background: var(--surface-2); border-radius: var(--r-sm); padding: 14px 16px; }
.info-list dt { font-size: 13px; color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; font-size: 18px; }
.phone { font-family: var(--font-display); font-size: 30px; color: var(--text); }
.channels { display: flex; flex-direction: column; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid var(--line); font-weight: 500; color: var(--text); }
.channel span:last-child { font-weight: 400; font-size: 15px; color: var(--muted); }
a.channel:hover span:last-child { color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea {
  font: 400 16px/1.5 var(--font-body); color: var(--text); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; min-height: 52px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; color: var(--accent-hover); }
.map { min-height: 320px; border-radius: var(--r-lg); background: #E6D3C4; display: flex; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 24px; }

/* Подвал */
.site-footer { margin-top: 40px; padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner p { max-width: 380px; font-size: 15px; color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.footer-links a { color: var(--text-2); }
.copyright { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* Адаптив */
@media (max-width: 960px) {
  .hero-grid, .split, .quote-block, .cta, .contact-grid, .post-featured { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .grid-3, .post-grid--3 { grid-template-columns: 1fr 1fr; }
  .quote-block, .cta-body { padding: 40px; }
  .post-featured .cover { min-height: 260px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .header-inner { height: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; border-radius: var(--r-md); padding: 8px; box-shadow: 0 18px 40px rgba(54, 41, 31, 0.14); }
  .nav.is-open { display: flex; }
  .nav a { border-radius: 12px; min-height: 48px; }
  .header-cta { display: none; }
  .facts, .grid-2, .grid-3, .post-grid, .post-grid--3, .info-list { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .card, .quote-block, .cta-body, .post-featured .body { padding: 28px 24px; }
  .author-box { flex-direction: column; align-items: flex-start; }
  .prose { font-size: 17px; }
}

/* Дополнения для версии с админкой */
.card-title { font-size: 24px; line-height: 1.25; }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn--on-dark:hover { color: #fff; border-color: #fff; }
a.filter { display: inline-flex; align-items: center; }
a.filter[aria-current="true"] { background: var(--dark); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cover img, .avatar img { width: 100%; height: 100%; object-fit: cover; }
.cover { overflow: hidden; }
.article-cover { display: block; }
.preview-bar { background: var(--dark); color: #fff; text-align: center; padding: 10px; font-size: 14px; }
.form-status.is-error { color: #B42318; }

/* Главная: фото ниже на 30% и три плашки под ним */
.hero-photo { display: flex; flex-direction: column; gap: 16px; }
.photo-wrap { position: relative; }
.hero-photo .photo { aspect-ratio: 8 / 7; }
.hero-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-features li { background: var(--surface); border-radius: var(--r-md); padding: 16px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.hero-features svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 720px) {
  .hero-features { grid-template-columns: 1fr; }
  .hero-features li { flex-direction: row; align-items: center; }
}
@media (min-width: 961px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-features { display: flex; }
.hero-features li { flex: 1 1 auto; padding: 16px 12px; font-size: 14px; }
@media (max-width: 720px) { .hero-features { flex-direction: column; } }

/* Портрет: держим лицо в кадре */
.photo img, .cta-photo img { object-position: center 25%; }
.cta-photo { overflow: hidden; }

/* Иконки-ссылки */
.socials-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-hover); transition: background .2s, color .2s; }
a.social:hover { background: var(--accent); color: #fff; }
.social.is-empty { opacity: .45; cursor: default; }
.social-text { font-weight: 600; font-size: 14px; letter-spacing: -0.02em; }

/* Место приема */
.place { display: grid; grid-template-columns: 0.8fr 1.2fr; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.place-info { padding: 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.place-info h2 { font-size: clamp(26px, 3vw, 34px); }
.place .map { border-radius: 0; min-height: 380px; padding: 0; }
.place .map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 960px) {
  .place { grid-template-columns: 1fr; }
  .place-info { padding: 32px 24px; }
  .place .map, .place .map iframe { min-height: 320px; }
}
.photo { padding: 0; }

/* Плашка на фото ниже */
.hero-photo .hero-badge { bottom: 14px; }

/* С чем работаю */
@media (min-width: 961px) { .temy-head { position: sticky; top: 104px; } }
.requests-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.requests-list li { padding-left: 20px; position: relative; }
.requests-list li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .7; }
.requests-list strong { color: var(--text); font-weight: 600; }
.requests-note { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); }
.card--wide { padding: 36px 40px; }
.card--wide p { max-width: 820px; }

/* Сменяющиеся заголовки */
.rotator { display: grid; }
.rot-item { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.rot-item.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rot-item { transition: none; transform: none; } }


/* Первый экран: без плашки на фото, правая колонка по высоте равна левой */
@media (min-width: 961px) {
  .hero-grid { align-items: stretch; }
  .hero-photo { height: 100%; }
  .hero-photo .photo-wrap { flex: 1 1 auto; min-height: 0; display: flex; }
  .hero-photo .photo { aspect-ratio: auto; flex: 1 1 auto; height: auto; min-height: 320px; }
  .hero-photo .photo { position: relative; }
  .hero-photo .photo img { position: absolute; inset: 0; }
}
/* Сменяющиеся заголовки: старый сначала уходит, новый появляется после — без наложения */
.rot-item { transition: opacity .45s ease, transform .45s ease; }
.rot-item.is-active { transition-delay: .45s; }


/* Индикатор сменяющихся заголовков: полоски, активная заполняется до смены */
.rotator-box { display: flex; flex-direction: column; gap: 18px; }
.rot-dots { display: flex; gap: 8px; margin-top: -4px; }
.rot-dot { width: 48px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.rot-dot span { display: block; height: 4px; border-radius: 4px; background: #E3D5C8; position: relative; overflow: hidden; }
.rot-dot span::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.rot-dot.is-active span::after { animation: rot-fill var(--rot-ms, 6s) linear forwards; }
.rot-dot:hover span { background: #D8C4B3; }
.rot-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@keyframes rot-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .rot-dot.is-active span::after { animation: none; transform: scaleX(1); } }


/* «Что такое психотерапия»: цитата слева под заголовком, текст и кнопки справа */
.therapy-left { gap: 20px; }
.quote-block .therapy-quote {
  margin-top: 12px; padding-left: 22px; border-left: 3px solid var(--accent);
  font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--text-2);
}
@media (min-width: 961px) { .therapy-right { padding-top: 38px; } }


/* ---------- Правки по разбору цветов и шрифтов ---------- */
/* Цифры в Playfair — обычные («01», а не «о1») */
h1, h2, h3, .num, .phone, .big, .brand, .card-title { font-variant-numeric: lining-nums; }

/* Карточки заметнее на песочном фоне: чуть темнее рамка и мягкая тень */
:root { --line-strong: #E2D3C4; --shadow-soft: 0 1px 2px rgba(54, 41, 31, 0.04), 0 8px 24px rgba(54, 41, 31, 0.05); }
.card, .quote-block, .hero-features li, .post-card { border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); }
.card--soft { border-color: var(--line-strong); }

/* Ритм секций: «О себе» — на светлой полосе во всю ширину */
.section-band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-band .card { background: var(--surface); }


/* ---------- Контакты: компактная компоновка ---------- */
.contact-grid--compact { align-items: stretch; }
.info-list--compact { grid-template-columns: 1fr 1fr !important; gap: 10px; }
.info-list--compact .info-wide { grid-column: 1 / -1; }
.info-list--compact > div { padding: 14px 18px; }
.info-list--compact dd { font-size: 17px; line-height: 1.4; }
.place-card { gap: 16px; }
.place-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.place-card__head h3 { font-size: 22px; }
.place-card .btn { flex-shrink: 0; }
.place-card__map { min-height: 240px; padding: 0; border-radius: var(--r-sm); overflow: hidden; flex: 1 1 auto; }
.place-card__map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.form-card .form { gap: 14px; }
.form-card .field textarea { min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .place-card__head { flex-direction: column; }
}

/* Контакты v2: карточка | форма, ниже — полоса с картой во всю ширину */
.contact-left { display: flex; }
.contact-left .contact-card { flex: 1 1 auto; }
.contact-card .form-note { margin-top: auto; }
.place-strip { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 0; padding: 0; overflow: hidden; }
.place-strip__info { padding: 32px 36px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center; }
.place-strip__info h3 { font-size: 24px; }
.place-strip__info .btn { margin-top: 6px; }
.place-strip__map { min-height: 280px; padding: 0; border-radius: 0; }
.place-strip__map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }
@media (max-width: 960px) {
  .place-strip { grid-template-columns: 1fr; }
  .place-strip__info { padding: 28px 24px; }
  .place-strip__map, .place-strip__map iframe { min-height: 260px; }
}

/* =========================================================
   Мобильная адаптация (телефоны и планшеты)
   ========================================================= */
@media (max-width: 960px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { gap: 40px; }
  .hero-photo { max-width: none; }
  .hero-photo .photo { aspect-ratio: 4 / 3; }
  .section { padding: 64px 0; }
}

@media (max-width: 720px) {
  /* Шапка: имя, кнопка «Записаться» и меню в одну строку */
  .header-inner { height: 64px; gap: 12px; }
  .brand { font-size: 19px; }
  .brand small { font-size: 11px; letter-spacing: 0.02em; }
  .header-inner .btn-row { flex-wrap: nowrap; gap: 8px; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .menu-toggle { width: 40px; height: 40px; }
  .nav { top: 64px; }

  /* Общие отступы и типографика */
  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }
  .section-head { margin-bottom: 24px; }
  h2 { font-size: 27px; }
  h3 { font-size: 21px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.08em; }
  .lead { font-size: 17px; line-height: 1.6; }
  .card, .quote-block, .cta-body, .post-featured .body { padding: 22px 20px; }
  .card { gap: 10px; }
  .grid-2 { gap: 12px; }

  /* Первый экран */
  .hero { padding: 20px 0 40px; }
  .hero-grid { gap: 28px; }
  .hero-text { gap: 16px; }
  .hero-text .muted { font-size: 15px; line-height: 1.6; }
  .hero-text .btn-row { flex-direction: column; gap: 10px; }
  .hero-text .btn-row .btn { width: 100%; }
  .rot-dot { padding: 14px 0; width: 44px; }
  .rot-dots { margin-top: -10px; }
  .hero-photo { gap: 10px; }
  .hero-photo .photo { aspect-ratio: 1 / 1; }
  .hero-features { gap: 8px; }
  .hero-features li { padding: 12px 14px; font-size: 14px; gap: 12px; }

  /* «С чем работаю» */
  .chips { gap: 8px; }
  .chip { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .requests-list { font-size: 15px; gap: 10px; }

  /* «О себе»: номер и заголовок компактнее */
  #o-sebe .num { font-size: 15px; }
  #o-sebe .card h3 { font-size: 20px; }
  #o-sebe .card p { font-size: 15px; line-height: 1.6; }

  /* «Что такое психотерапия» */
  .therapy-left { gap: 12px; }
  .quote-block .therapy-quote { font-size: 19px; padding-left: 16px; margin-top: 4px; }
  .quote-block .btn-row { flex-direction: column; gap: 10px; }
  .quote-block .btn-row .btn { width: 100%; }

  /* Тёмный блок записи: без повторного большого портрета */
  .cta-photo { display: none; }
  .cta .btn-row { flex-direction: column; gap: 10px; }
  .cta .btn-row .btn { width: 100%; }

  /* Контакты */
  .phone { font-size: 26px; }
  .place-strip__info h3 { font-size: 21px; }
  .form-card h2 { font-size: 26px !important; }
  .form-card .btn { width: 100%; }
  .socials { gap: 8px; }

  /* Подвал */
  .site-footer { margin-top: 24px; padding: 32px 0 28px; }
  .footer-links { gap: 16px; }
  .footer-links a { display: inline-flex; min-height: 40px; align-items: center; }
  .copyright { margin-top: 16px; }
}

/* Совсем узкие экраны (iPhone SE, старые Android) */
@media (max-width: 380px) {
  .brand small { display: none; }
  .header-cta { padding: 0 12px; }
  h1 { font-size: 32px; }
}
@media (max-width: 720px) { .hero-text > .eyebrow { display: none; } }
@media (max-width: 440px) { .brand small { display: none; } }
