/* ЮНА — палитра прототипа «Гармония» */
:root {
  --background: #fcfaf6;
  --foreground: #1a150b;
  --primary: #2b641d;
  --primary-foreground: #faf8f5;
  --secondary: #d1e5cc;
  --secondary-foreground: #172614;
  --muted: #f1eadc;
  --muted-foreground: #7a715e;
  --accent: #eac6a5;
  --border: #dad0bb;
  --card: #ffffff;

  --forest: var(--primary);
  --forest-dark: #1f4715;
  --moss: #3d7a2e;
  --sage: var(--secondary);
  --sage-light: #e8f0e5;
  --earth: #ac713e;
  --earth-light: var(--accent);
  --sand: var(--muted);
  --cream: var(--background);
  --bark: var(--foreground);
  --text: var(--foreground);
  --text-muted: var(--muted-foreground);
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(26, 21, 11, 0.06), 0 8px 24px rgba(43, 100, 29, 0.06);
  --shadow-lg: 0 12px 40px rgba(43, 100, 29, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Geist', 'Geist Fallback', system-ui, sans-serif;
  --font-display: 'Geist', 'Geist Fallback', system-ui, sans-serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--moss); }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
}

.logo__img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.logo__img--footer {
  width: 1.75rem;
  height: 1.75rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo__text { letter-spacing: -0.02em; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.nav a:hover { color: var(--foreground); }

.nav__cta {
  background: var(--primary);
  color: var(--primary-foreground) !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav__cta:hover {
  background: var(--forest-dark);
  color: var(--primary-foreground) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero — светлый центрированный блок как в прототипе */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: var(--background);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  font-size: 1.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--foreground);
}

.hero__title .hero__accent {
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: color-mix(in srgb, var(--secondary) 55%, transparent);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.hero-pill::before {
  content: '🌿';
  font-size: 0.8rem;
}

.hero-pill:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
}

.hero__actions {
  display: flex;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: var(--primary-foreground);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn--outline:hover {
  background: var(--muted);
  color: var(--foreground);
}

.btn--full { width: 100%; }

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--light { background: var(--card); }
.section--earth { background: var(--muted); }

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}

.section__lead {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.section__cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border));
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about {
  display: grid;
  gap: 2.5rem;
}

.about__text h2 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.about__mission {
  border-left: 4px solid var(--moss);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.about__utp {
  font-weight: 600;
  color: var(--forest);
}

.about__principles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.principle {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sage);
}

.principle h4 {
  margin: 0 0 0.35rem;
  color: var(--forest);
  font-size: 1rem;
}

.principle p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--sage-light);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Specialists */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.specialist-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--sage-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.specialist-card:hover { transform: translateY(-3px); }

.specialist-card__photo {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.specialist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialist-card__initials {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--forest);
  opacity: 0.6;
}

.specialist-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.specialist-card__role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.specialist-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
  color: var(--foreground);
  line-height: 1.3;
}

.specialist-card__title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.specialist-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--sand);
  border-radius: 999px;
  color: var(--earth);
  font-weight: 600;
}

.tag--audience {
  background: var(--muted);
  color: var(--foreground);
  font-weight: 500;
}

.specialist-card__audiences,
.modal__audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.specialist-card__about {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.specialist-card .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Schedule */
.schedule-group {
  margin-bottom: 2.5rem;
}

.schedule-group h3 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sage-light);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--sage-light);
}

.schedule-table th {
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--sand); }

.schedule-table .time {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.schedule-week-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-weight: 600;
}

#scheduleGroups {
  max-width: 720px;
  margin-inline: auto;
}

.schedule-table-wrap--scroll {
  max-height: min(320px, 45vh);
  overflow-y: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.schedule-table--compact th,
.schedule-table--compact td {
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}

.schedule-day {
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 500;
}

.schedule-compact__cta {
  margin: 1rem 0 0;
  text-align: center;
}

.schedule-empty {
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
}

.schedule-collapsible {
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}

.schedule-collapsible summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
  list-style: none;
}

.schedule-collapsible summary::-webkit-details-marker {
  display: none;
}

.schedule-collapsible summary::after {
  content: '+';
  float: right;
  color: var(--moss);
}

.schedule-collapsible[open] summary::after {
  content: '−';
}

.schedule-collapsible .schedule-table-wrap {
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  max-height: 240px;
}

.text-muted { color: var(--text-muted); font-size: 0.9rem; }

.schedule-pending {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-modal .modal__dialog { max-width: 480px; }

.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.slot-btn {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
}

.slot-btn:hover,
.slot-btn.selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary);
  font-weight: 600;
}

/* Booking */
.booking {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.booking__info h2 {
  font-family: var(--font-display);
  color: var(--forest);
}

.booking__features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.booking__features li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
}

.booking__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 800;
}

.booking-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.req { color: #c45c3e; }

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--sage-light);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--moss);
}

.form-group--checkbox label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  cursor: pointer;
}

.form-group--checkbox input { width: auto; margin-top: 0.2rem; }

.form-message {
  margin-top: 1rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.form-message.success { color: var(--forest); }
.form-message.error { color: #c45c3e; }

/* Contacts */
.contacts__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.2fr;
}

.contacts__info {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item {
  margin-bottom: 1.25rem;
}

.contact-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moss);
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.messengers {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.messenger-link {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  background: var(--sand);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.map-frame {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage-light);
}

/* Footer */
.footer {
  background: var(--foreground);
  color: color-mix(in srgb, var(--primary-foreground) 75%, transparent);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer .logo__text { color: var(--white); }

.footer__brand p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__nav a { color: var(--sage-light); }
.footer__nav a:hover { color: var(--white); }

.footer__copy {
  width: 100%;
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Hidden cards */
.specialist-card.hidden { display: none; }

/* Responsive */
@media (min-width: 768px) {
  .about { grid-template-columns: 1.1fr 1fr; }
  .booking { grid-template-columns: 1fr 1fr; }
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.narrow { width: min(760px, 92vw); margin-inline: auto; }
.lead-text { font-size: 1.15rem; line-height: 1.75; color: var(--text-muted); text-align: center; }

.intro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.intro__logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.section__head--left { text-align: left; }
.section__head--left .section__lead { margin-inline: 0; }
.section__note { color: var(--moss); font-size: 0.95rem; margin-top: 0.5rem; }

.filters--row { margin-bottom: 0.75rem; }
.empty-state { text-align: center; color: var(--text-muted); grid-column: 1 / -1; padding: 2rem; }

.specialist-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--sage-light);
}

.btn--ghost:hover { background: var(--sand); }
.btn--light { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

.section--cta {
  background: color-mix(in srgb, var(--primary) 92%, var(--foreground));
  color: var(--primary-foreground);
}

.cta-block { text-align: center; }
.cta-block h2 { font-family: var(--font-display); font-size: 1.75rem; margin: 0 0 0.75rem; }
.cta-block p { opacity: 0.92; margin-bottom: 1.5rem; }

/* FAQ */
.faq__item {
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}

.faq__item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--forest);
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; float: right; color: var(--moss); }
.faq__item[open] summary::after { content: '−'; }
.faq__item p { padding: 0 1.25rem 1rem; margin: 0; color: var(--text-muted); }

/* Reviews */
.reviews-yandex {
  max-width: 760px;
  margin-inline: auto;
}

.reviews-yandex__widget {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.reviews-yandex__iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

.reviews-yandex__attribution {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.35rem 1rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
  background: linear-gradient(transparent, var(--card) 40%);
}

.reviews-yandex__attribution:hover {
  color: var(--primary);
}

.reviews-yandex__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  margin: 0;
  text-align: center;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .reviews-yandex__widget,
  .reviews-yandex__iframe {
    min-height: 480px;
    height: 480px;
  }
}

/* Help links */
.help-links { margin-top: 2rem; }
.help-links h3 { color: var(--forest); margin-bottom: 1rem; }
.help-links__grid { display: grid; gap: 0.75rem; }
.help-link {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--moss);
  font-weight: 600;
  color: var(--forest);
}

.help-link:hover { background: var(--sand); color: var(--forest-dark); }

/* Audience pages */
.audience-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.audience-block h3 {
  color: var(--forest);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.audience-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.audience-list li { margin-bottom: 0.35rem; }

.audience-list--full {
  columns: 1;
  max-width: none;
}

.audience-fold {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.audience-fold__summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}

.audience-fold__summary::-webkit-details-marker { display: none; }

.audience-fold__summary::after {
  content: '+';
  float: right;
  color: var(--muted-foreground);
  font-weight: 400;
}

.audience-fold[open] .audience-fold__summary::after {
  content: '−';
}

.audience-fold__text {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.audience-full {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.audience-full__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--foreground);
}

.audience-prose {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: none;
}

.audience-prose--note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.audience-full .audience-fold:first-of-type {
  margin-top: 0.25rem;
}

.audience-note { font-size: 0.92rem; color: var(--text-muted); margin-top: 0.75rem; }
.audience-block--wide { grid-column: 1 / -1; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 61, 42, 0.55); }
.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: var(--sand);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--forest);
}

.modal__role { color: var(--moss); font-weight: 600; margin-bottom: 1rem; }
.modal__block { margin-bottom: 1rem; }
.modal__block h4 { margin: 0 0 0.25rem; color: var(--forest); font-size: 0.9rem; }
.modal__block p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Staff page */
.staff-page .header .btn--outline { color: var(--forest); border-color: var(--sage); }
.staff-features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 2rem 0; }
.staff-features ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--text-muted); font-size: 0.92rem; }
.staff-login { margin-top: 2rem; }
.staff-login__note { color: var(--text-muted); font-size: 0.9rem; }
.footer__staff-link { opacity: 0.75; font-size: 0.9rem; }

.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  width: 100%;
  font-size: 0.85rem;
}

.footer__legal-nav a {
  color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
}

.footer__legal-nav a:hover { color: var(--white); }

.footer__legal {
  width: 100%;
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.85;
}

.footer__legal a { color: var(--sage-light); }

.footer__brand-note {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  opacity: 0.75;
  line-height: 1.4;
}

.legal-brand-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0.75rem;
}

.footer__disclaimer {
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0.7;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 15%, transparent);
}

.checkbox a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox a:hover { color: var(--forest); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--foreground);
  color: color-mix(in srgb, var(--primary-foreground) 88%, transparent);
  padding: 1rem 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  max-width: 720px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--sage-light);
  text-decoration: underline;
}

.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.map-frame--fallback {
  background: var(--muted);
  border-radius: var(--radius);
}

/* Legal pages */
.legal-page { background: var(--background); }

.header--legal {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.legal-main {
  padding: 2.5rem 1rem 3rem;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-operator {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-operator p { margin: 0.25rem 0; }

.legal-content h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--forest);
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-content ul { padding-left: 1.25rem; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th { background: var(--muted); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer--legal { padding: 1.5rem 0; }

.staff-legal-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-foreground);
  text-align: center;
}

.staff-legal-footer a { color: var(--primary); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--sage-light);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .contacts__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
}

/* ——— Design refresh: типографика, subnav, зелёный только на CTA ——— */

.text-measure {
  max-width: 66%;
}

.text-measure--left {
  margin-inline: 0;
  text-align: left;
}

.text-measure--center {
  margin-inline: auto;
  text-align: center;
}

.lead-text--left,
.section__lead--left {
  margin-inline: 0;
  text-align: left;
}

.section__cta--left {
  text-align: left;
}

.text-small { font-size: 0.875rem; line-height: 1.55; }

/* Subnav */
.subnav {
  position: sticky;
  top: 57px;
  z-index: 90;
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.subnav--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: var(--border);
}

.subnav__inner {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  padding: 0.55rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar { display: none; }

.subnav__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.subnav__link:hover { color: var(--foreground); }

.subnav__link.active {
  color: var(--foreground);
  border-bottom-color: var(--earth);
}

.subnav__link--cta {
  margin-left: auto;
  color: var(--primary);
  font-weight: 600;
}

.subnav__link--cta:hover { color: var(--forest-dark); }

/* Hero — две колонки */
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero .hero__content {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr minmax(280px, 44%);
  }
}

.hero__content.text-measure {
  max-width: none;
}

@media (min-width: 900px) {
  .hero__content.text-measure { max-width: 66%; }
}

.hero__content.text-measure--left {
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

.hero__subtitle {
  margin-inline: 0;
}

.hero__pills {
  justify-content: flex-start;
}

.hero__quicklinks {
  margin-bottom: 2rem;
}

.hero__quicklinks-label {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.hero-pill {
  color: var(--foreground);
  background: var(--card);
  border-color: var(--border);
  font-size: 0.875rem;
}

.hero-pill::before { content: none; }

.hero-pill:hover {
  background: var(--muted);
  color: var(--foreground);
  border-color: var(--border);
}

.hero__actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
}

.hero__image--logo {
  width: auto;
  max-width: min(380px, 100%);
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.hero__title .hero__accent {
  color: var(--earth);
}

.hero__pattern {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--earth) 10%, transparent) 1px, transparent 1px);
}

.specialist-card {
  border-color: var(--border);
}

.specialist-card__initials {
  color: var(--muted-foreground);
  opacity: 0.45;
}

.specialist-card:hover {
  border-color: var(--border);
}

.btn--outline {
  color: var(--foreground);
  border-color: var(--border);
}

.btn--outline:hover {
  background: var(--muted);
  color: var(--foreground);
}

.btn--ghost {
  color: var(--foreground);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--muted);
  color: var(--foreground);
}

/* Зелёный — только кнопки и ссылки, не заголовки */
.about__text h2,
.booking__info h2,
.schedule-group h3,
.help-links h3,
.audience-block h3,
.why-us__subtitle {
  color: var(--foreground);
}

.about__utp { color: var(--foreground); }

.about__mission {
  border-left-color: var(--earth);
}

.principle {
  border-left-color: var(--border);
}

.principle h4,
.faq__item summary,
.contact-item h4 {
  color: var(--foreground);
}

.faq__item summary::after,
.schedule-collapsible summary::after {
  color: var(--muted-foreground);
}

.section__note { color: var(--text-muted); }

.schedule-table th {
  background: var(--foreground);
}

.schedule-table .time { color: var(--earth); }

.booking__features li::before { color: var(--earth); }

.filter-btn {
  border-color: var(--border);
  color: var(--foreground);
  background: var(--card);
}

.filter-btn:hover {
  background: var(--muted);
  border-color: var(--border);
  color: var(--foreground);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Фильтры команды */
.filter-panel {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-panel__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.filter-panel__group .filters {
  justify-content: flex-start;
  margin-bottom: 0;
}

/* Почему мы */
.why-us__directions {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.why-us__subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

/* Аудитории — вкладки */
.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.audience-tab {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--transition);
}

.audience-tab:hover {
  background: var(--muted);
}

.audience-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.audience-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.audience-page__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: none;
}

.help-link {
  border-left-color: var(--earth);
  color: var(--foreground);
}

.help-link:hover {
  background: var(--muted);
  color: var(--foreground);
}

/* Отзывы — карусель */
.reviews-carousel {
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.reviews-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.reviews-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}

.reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.reviews-carousel__btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--foreground);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.reviews-carousel__btn:hover:not(:disabled) {
  background: var(--muted);
}

.reviews-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.reviews-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.reviews-carousel__dot.active {
  background: var(--primary);
  transform: scale(1.15);
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.review-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}

.review-card__author {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.faq--centered {
  text-align: left;
}

.faq--centered .faq__item {
  text-align: left;
}

.reviews-yandex-optional {
  max-width: 720px;
  margin: 0.5rem auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}

.reviews-yandex-optional summary {
  padding: 0.85rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}

.reviews-yandex-optional summary::-webkit-details-marker { display: none; }

.reviews-yandex-optional .reviews-yandex {
  padding: 0 1rem 1rem;
  max-width: none;
}

/* Контакты — карта той же высоты */
.contacts__grid {
  align-items: stretch;
}

.contacts__info,
.contacts__map {
  display: flex;
  flex-direction: column;
}

.contacts__map .map-frame {
  flex: 1;
  min-height: 320px;
  height: 100%;
}

/* Запись — группы слотов и подсказки */
.booking__tips {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.booking__tips h3 {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.booking__tips ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.booking__tips li + li { margin-top: 0.35rem; }

.booking-form .booking-slots {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.slot-group__label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  margin-bottom: 0.4rem;
}

.slot-group__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Финальный CTA */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem 2.25rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

.cta-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-banner__btn { flex-shrink: 0; }

/* Footer */
.footer--clean {
  padding: 1.75rem 0;
  background: var(--foreground);
}

.footer__inner--clean {
  align-items: center;
  gap: 1rem 2rem;
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer__brand-link:hover { color: var(--white); opacity: 0.9; }

.footer__inner--clean .footer__legal {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.8125rem;
}

.footer__inner--clean .footer__legal a {
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

.footer__inner--clean .footer__legal a:hover { color: var(--white); }

.footer__inner--clean .footer__copy {
  width: auto;
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 0.8125rem;
}

@media (max-width: 768px) {
  .text-measure:not(.text-measure--center),
  .audience-page__lead {
    max-width: 100%;
  }

  .text-measure--center {
    max-width: 100%;
  }

  .hero__layout { gap: 1.5rem; }

  .hero__image--logo { max-width: min(240px, 70vw); margin-inline: auto; }

  .subnav { top: 52px; }

  .subnav__link--cta { margin-left: 0; }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .footer__inner--clean {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner--clean .footer__copy {
    margin: 0;
    text-align: left;
  }
}
