/* =============================================
   ЦЕНТР "УСПЕХ" — ЕДИНАЯ ДИЗАЙН-СИСТЕМА
   Коралловый + серый, белый фон
   ============================================= */

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.5rem,   1.5rem  + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand Colors — Coral + Grey */
  --coral:        #E8705A;
  --coral-dark:   #D15B46;
  --coral-light:  #F08A78;
  --coral-pale:   #FFF0ED;
  --coral-bg:     rgba(232,112,90,0.06);

  --grey-900:     #1A1A2E;
  --grey-800:     #2D2D44;
  --grey-700:     #3D3D5C;
  --grey-600:     #555573;
  --grey-500:     #6B6B8A;
  --grey-400:     #8E8EA8;
  --grey-300:     #B0B0C4;
  --grey-200:     #D0D0DE;
  --grey-100:     #EBEBF0;
  --grey-50:      #F5F5F8;

  --white:        #FFFFFF;
  --warm-white:   #FAFAFA;

  /* Accent colors for method cards */
  --teal:         #2A9BAA;
  --teal-light:   #3AB5C5;
  --green:        #4CAF7D;
  --green-light:  #66C496;
  --gold:         #D4A843;
  --gold-light:   #E0BD5C;
  --purple:       #8B6DB5;
  --blue:         #5B8CD4;

  /* Semantic */
  --color-bg:         var(--white);
  --color-surface:    var(--white);
  --color-surface-alt: var(--grey-50);
  --color-text:       var(--grey-900);
  --color-text-muted: var(--grey-500);
  --color-text-faint: var(--grey-400);
  --color-border:     var(--grey-200);
  --color-divider:    var(--grey-100);

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-3xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 16px rgba(26,26,46,0.08);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.12);
  --shadow-xl: 0 20px 60px rgba(26,26,46,0.16);
  --shadow-coral: 0 8px 30px rgba(232,112,90,0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
  --content-full:    1400px;
}

/* =============================================
   BASE RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; font-family: var(--font-display); font-weight: 700; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(232,112,90,0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--coral-dark); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }
.container--wide { max-width: var(--content-wide); }
.container--full { max-width: var(--content-full); }

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
}

/* =============================================
   HEADER — Unified
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(208,208,222,0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-4);
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--grey-900);
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.2;
  color: var(--grey-900);
}

.header__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}

.header__nav {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}
.nav-link:hover { color: var(--coral); }
.nav-link--active { color: var(--coral); font-weight: 600; }

.nav-link--dropdown { padding-right: 1.2em; }
.nav-link--dropdown::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

.header__cta { flex-shrink: 0; }

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--grey-900);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; stroke: var(--coral); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 110;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
  .header__nav { display: none; }
  .burger { display: flex; }
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--space-6);
  padding: var(--space-8);
}
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--coral-light); }
.mobile-nav__link--cta {
  margin-top: var(--space-4);
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  background: var(--coral);
  border-radius: var(--radius-full);
  color: white;
}
.mobile-nav__link--cta:hover {
  background: var(--coral-light);
  color: white;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--coral);
  color: white;
  box-shadow: var(--shadow-coral);
}
.btn--primary:hover {
  background: var(--coral-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(232,112,90,0.35);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(232,112,90,0.2);
}

.btn--secondary {
  background: var(--grey-900);
  color: white;
}
.btn--secondary:hover {
  background: var(--grey-800);
  color: white;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}
.btn--outline:hover {
  background: var(--coral);
  color: white;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: white;
}

.btn--ghost {
  background: transparent;
  color: var(--coral);
}
.btn--ghost:hover {
  background: var(--coral-bg);
  color: var(--coral-dark);
}

.btn--large {
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
}

.btn--medium {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
}

.btn--small {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.section--light { background: var(--grey-50); }
.section--white { background: var(--white); }
.section--coral { background: var(--coral); }
.section--dark { background: var(--grey-900); }
.section--gradient {
  background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-700) 50%, var(--coral-dark) 100%);
}
.section--coral-gradient {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section__overtitle {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--coral);
  margin-bottom: var(--space-3);
}
.section__overtitle--light { color: var(--coral-light); }

.section__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-4);
}
.section__title--light { color: white; }

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.section__desc--light { color: rgba(255,255,255,0.75); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card--padded { padding: var(--space-8); }

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body { padding: var(--space-6); }

.card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-2);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Method Card */
.method-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.method-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.method-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.method-card__icon svg { width: 28px; height: 28px; }

.method-card__icon--coral { background: var(--coral-pale); color: var(--coral); }
.method-card__icon--teal  { background: rgba(42,155,170,0.1); color: var(--teal); }
.method-card__icon--green { background: rgba(76,175,125,0.1); color: var(--green); }
.method-card__icon--gold  { background: rgba(212,168,67,0.1); color: var(--gold); }
.method-card__icon--purple { background: rgba(139,109,181,0.1); color: var(--purple); }
.method-card__icon--blue  { background: rgba(91,140,212,0.1); color: var(--blue); }

.method-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-2);
}

.method-card__subtitle {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.method-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.method-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--coral-dark);
  background: var(--coral-pale);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.tag--teal { color: var(--teal); background: rgba(42,155,170,0.08); }
.tag--green { color: var(--green); background: rgba(76,175,125,0.08); }
.tag--gold { color: var(--gold); background: rgba(212,168,67,0.08); }

/* =============================================
   SPECIALISTS GRID
   ============================================= */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-6);
}

.specialist-card {
  text-align: center;
  padding: var(--space-6);
}

.specialist-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--coral-pale);
}

.specialist-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-1);
}

.specialist-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* =============================================
   PRICING TABLE
   ============================================= */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.price-table thead {
  background: var(--grey-900);
  color: white;
}

.price-table th {
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.price-table td {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: middle;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: var(--coral-bg);
}

.price-table .price-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
}

.price-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--coral);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
  vertical-align: middle;
}

@media (max-width: 768px) {
  .price-table { font-size: var(--text-xs); }
  .price-table th, .price-table td { padding: var(--space-2) var(--space-3); }
}

/* =============================================
   ADVANTAGES / FEATURES
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--coral);
}
.feature-card__icon svg { width: 48px; height: 48px; }

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-2);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: var(--space-6); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-8) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-bar--light .stat__number { color: white; }
.stats-bar--light .stat__label { color: rgba(255,255,255,0.7); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--coral-pale);
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}

.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--grey-900);
}

.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* =============================================
   FAQ / ACCORDION
   ============================================= */
.faq-list {
  max-width: var(--content-default);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--grey-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-item__question:hover { color: var(--coral); }

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--coral);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}
.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  text-align: center;
}

.cta-section__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--secondary {
  background: white;
  color: var(--coral);
}
.cta-section .btn--secondary:hover {
  background: var(--warm-white);
  color: var(--coral-dark);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--grey-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer__logo-img {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__logo picture {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.footer__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer__license {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer__column h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: var(--space-5);
}

.footer__column ul { list-style: none; }

.footer__column li {
  margin-bottom: var(--space-3);
}

.footer__column a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer__column a:hover { color: var(--coral-light); }

.footer__addresses {
  list-style: none;
}

.footer__address-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.footer__address-icon {
  width: 16px;
  height: 16px;
  color: var(--coral-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__socials {
  display: flex;
  gap: var(--space-4);
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.footer__social:hover {
  background: var(--coral);
  color: white;
}
.footer__social svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   ANIMATIONS — Scroll Reveal
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float { animation: float 4s ease-in-out infinite; }

@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.pulse-soft { animation: pulse-soft 3s ease-in-out infinite; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.breadcrumbs a {
  color: var(--color-text-faint);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--coral); }

.breadcrumbs__separator {
  margin: 0 var(--space-2);
}

/* =============================================
   CONTENT TYPOGRAPHY (for method pages)
   ============================================= */
.content h2 {
  font-size: var(--text-xl);
  color: var(--grey-900);
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
}

.content h3 {
  font-size: var(--text-lg);
  color: var(--grey-900);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.content ul, .content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.content li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.content li::marker {
  color: var(--coral);
}

.content blockquote {
  border-left: 3px solid var(--coral);
  padding-left: var(--space-6);
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--grey-600);
}

.content strong { color: var(--grey-900); }

/* Info box */
.info-box {
  background: var(--coral-pale);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin: var(--space-6) 0;
  border-left: 4px solid var(--coral);
}

.info-box__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--coral-dark);
  margin-bottom: var(--space-2);
}

.info-box__text {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE UTILITY
   ============================================= */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
}

/* Two-column layout for method pages */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: 50%;
  margin: 0 auto var(--space-4);
}

.process-step__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--space-2);
}

.process-step__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* WhatsApp / Telegram floating button */
.float-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.float-btn__item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}
.float-btn__item:hover {
  transform: scale(1.1);
  color: white;
}
.float-btn__item--telegram { background: #2AABEE; }
.float-btn__item--whatsapp { background: #25D366; }
.float-btn__item--phone { background: var(--coral); }
.float-btn__item svg { width: 28px; height: 28px; }

/* =============================================
   CARD GLOW EFFECT (index13.1-new style)
   ============================================= */
.content-card::before, .method-card::before, .intro-card::before,
.advantage-card::before, .application-card::before, .approach-card::before,
.tech-card::before, .feature-card::before, .protocol-card::before,
.training-card::before, .adhd-card::before, .area-card::before,
.phase-card::before, .aspect-card::before, .about-card::before,
.course-card::before, .process-card::before, .zone-card::before,
.skill-card::before, .effect-card::before, .diagnosis-card::before,
.detail-card::before, .service-card::before, .price-card::before,
.team-card::before, .result-card::before, .goal-card::before,
.program-card::before, .session-card::before, .condition-card::before,
.indication-card::before, .benefit-card::before, .article-card::before,
.sign-card::before, .assessment-card::before, .component-card::before,
.definition-card::before, .comparison-card::before, .stat-card::before,
.science-card::before, .audience-card::before, .explanation-card::before,
.step-card::before, .client-card::before, .specialist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(236,72,53,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.content-card:hover::before, .method-card:hover::before, .intro-card:hover::before,
.advantage-card:hover::before, .application-card:hover::before, .approach-card:hover::before,
.tech-card:hover::before, .feature-card:hover::before, .protocol-card:hover::before,
.training-card:hover::before, .adhd-card:hover::before, .area-card:hover::before,
.phase-card:hover::before, .aspect-card:hover::before, .about-card:hover::before,
.course-card:hover::before, .process-card:hover::before, .zone-card:hover::before,
.skill-card:hover::before, .effect-card:hover::before, .diagnosis-card:hover::before,
.detail-card:hover::before, .service-card:hover::before, .price-card:hover::before,
.team-card:hover::before, .result-card:hover::before, .goal-card:hover::before,
.program-card:hover::before, .session-card:hover::before, .condition-card:hover::before,
.indication-card:hover::before, .benefit-card:hover::before, .article-card:hover::before,
.sign-card:hover::before, .assessment-card:hover::before, .component-card:hover::before,
.definition-card:hover::before, .comparison-card:hover::before, .stat-card:hover::before,
.science-card:hover::before, .audience-card:hover::before, .explanation-card:hover::before,
.step-card:hover::before, .client-card:hover::before, .specialist-card:hover::before {
  opacity: 1;
}

/* Cards need position:relative for glow */
.content-card, .method-card, .intro-card, .advantage-card,
.application-card, .approach-card, .tech-card, .feature-card,
.protocol-card, .training-card, .adhd-card, .area-card,
.phase-card, .aspect-card, .about-card, .course-card,
.process-card, .zone-card, .skill-card, .effect-card,
.diagnosis-card, .detail-card, .service-card, .price-card,
.team-card, .result-card, .goal-card, .program-card,
.session-card, .condition-card, .indication-card, .benefit-card,
.article-card, .sign-card, .assessment-card, .component-card,
.definition-card, .comparison-card, .stat-card, .science-card,
.audience-card, .explanation-card, .step-card, .client-card,
.specialist-card {
  position: relative;
  overflow: hidden;
}

/* =============================================
   DARK PAGE HERO (shared across all method pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--grey-900) 60%, var(--grey-800) 100%);
  padding: calc(72px + var(--space-12)) var(--space-6) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.06); animation: particleFloat linear infinite; }
@keyframes particleFloat { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-400px) scale(0.5); opacity: 0; } }

.hero-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none; }
.hero-shape--1 { width: 300px; height: 300px; top: -100px; right: -50px; animation: shapeFloat 8s ease-in-out infinite; }
.hero-shape--2 { width: 200px; height: 200px; bottom: -80px; left: -40px; animation: shapeFloat 6s ease-in-out infinite reverse; }
@keyframes shapeFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-20px); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 0.8rem + 3.5vw, 3.2rem);
  font-weight: 700; color: #fff; line-height: 1.05;
  margin-bottom: var(--space-3); text-transform: uppercase;
  letter-spacing: -0.02em;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.page-hero__subtitle {
  font-size: var(--text-base); color: rgba(255,255,255,0.6);
  max-width: 600px; margin: 0 auto; line-height: 1.5;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

/* =============================================
   DARK METHOD HERO (override light heroes)
   ============================================= */
.method-hero {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--grey-900) 60%, var(--grey-800) 100%) !important;
  position: relative;
  overflow: hidden;
}

.method-hero__badge {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: var(--coral-light) !important;
}

.method-hero__title,
.method-hero__title span {
  color: #fff !important;
}

.method-hero__desc {
  color: rgba(255,255,255,0.7) !important;
}

.method-hero__overtitle,
.method-hero .breadcrumbs,
.method-hero .breadcrumbs a,
.method-hero .breadcrumbs span {
  color: rgba(255,255,255,0.5) !important;
}

.method-hero__image img {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
}

/* Dark hero shapes */
.method-hero::before {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%) !important;
}
.method-hero::after {
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%) !important;
}

/* spec-hero (specialist pages like index14.1, defektolog) */
.spec-hero {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--grey-900) 60%, var(--grey-800) 100%) !important;
}
.spec-hero__overtitle { color: var(--coral-light) !important; }
.spec-hero__title { color: #fff !important; }
.spec-hero__desc { color: rgba(255,255,255,0.7) !important; }
.spec-hero__image img { box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important; }
.spec-hero::before {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%) !important;
}

/* service-hero (index5 prices, etc) */
.service-hero, .hero-section, .prices-hero {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--grey-900) 60%, var(--grey-800) 100%) !important;
}
.service-hero h1, .service-hero__title, .hero-section h1,
.prices-hero h1, .prices-hero__title {
  color: #fff !important;
}
.service-hero p, .service-hero__desc, .hero-section p,
.prices-hero p, .prices-hero__desc {
  color: rgba(255,255,255,0.7) !important;
}
.service-hero::before, .hero-section::before, .prices-hero::before {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%) !important;
}

/* =============================================
   SECTION TITLE ANIMATION (index13.1-new style)
   ============================================= */
.section-title {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-title.visible {
  opacity: 1;
  transform: translateX(0);
}
.section-title__line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.3s;
}
.section-title.visible .section-title__line {
  transform: scaleX(1);
}

/* =============================================
   CONTENT CARD ANIMATIONS (index13.1-new style)
   ============================================= */
.content-card, .intro-card, .sign-card, .step-card,
.method-card, .advantage-card, .application-card,
.audience-card, .feature-card, .approach-card, .effect-card,
.protocol-card, .training-card, .adhd-card, .area-card,
.phase-card, .aspect-card, .about-card, .course-card,
.process-card, .zone-card, .skill-card, .diagnosis-card,
.detail-card, .result-card, .goal-card, .program-card,
.session-card, .condition-card, .indication-card, .benefit-card,
.article-card, .assessment-card, .component-card, .definition-card,
.comparison-card, .difference-card, .factor-card, .function-card,
.level-card, .symptom-card, .contact-card, .research-card,
.creator-card, .author-card, .client-card, .location-card,
.activity-card, .contraindication-card, .tech-card, .age-card,
.stat-card, .info-card, .specialist-card, .science-card,
.exam-item, .qual-item {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}

.content-card.visible, .intro-card.visible, .sign-card.visible,
.step-card.visible, .method-card.visible, .advantage-card.visible,
.application-card.visible, .audience-card.visible, .feature-card.visible,
.approach-card.visible, .effect-card.visible, .protocol-card.visible,
.training-card.visible, .adhd-card.visible, .area-card.visible,
.phase-card.visible, .aspect-card.visible, .about-card.visible,
.course-card.visible, .process-card.visible, .zone-card.visible,
.skill-card.visible, .diagnosis-card.visible, .detail-card.visible,
.result-card.visible, .goal-card.visible, .program-card.visible,
.session-card.visible, .condition-card.visible, .indication-card.visible,
.benefit-card.visible, .article-card.visible, .assessment-card.visible,
.component-card.visible, .definition-card.visible, .comparison-card.visible,
.difference-card.visible, .factor-card.visible, .function-card.visible,
.level-card.visible, .symptom-card.visible, .contact-card.visible,
.research-card.visible, .creator-card.visible, .author-card.visible,
.client-card.visible, .location-card.visible, .activity-card.visible,
.contraindication-card.visible, .tech-card.visible, .age-card.visible,
.stat-card.visible, .info-card.visible, .specialist-card.visible,
.science-card.visible, .exam-item.visible, .qual-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced card hover (uniform across all pages) */
.content-card:hover, .intro-card:hover, .method-card:hover,
.advantage-card:hover, .application-card:hover, .sign-card:hover,
.feature-card:hover, .approach-card:hover, .tech-card:hover,
.protocol-card:hover, .training-card:hover, .team-card:hover,
.price-card:hover, .article-card:hover, .course-card:hover,
.science-card:hover, .indication-card:hover, .audience-card:hover,
.benefit-card:hover, .result-card:hover, .specialist-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px) !important;
}

/* =============================================
   ACCORDION (index13.1-new style)
   ============================================= */
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}
.acc-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--space-4) var(--space-5); background: none; border: none;
  font-size: var(--text-base); font-weight: 600; color: var(--grey-900);
  cursor: pointer; text-align: left; transition: background 0.2s;
}
.acc-toggle:hover { background: var(--grey-50); }
.acc-icon { transition: transform 0.3s; color: var(--coral); }
.accordion-item.active .acc-icon { transform: rotate(180deg); }
.accordion-content {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--grey-600); font-size: var(--text-sm); line-height: 1.7;
}

/* =============================================
   FOOTER SOCIAL BUTTONS (index13.1-new style)
   ============================================= */
.footer__social-icons { display: flex !important; gap: 12px !important; margin-top: 16px !important; }
.soc-btn {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 48px !important; height: 48px !important; border-radius: 14px !important;
  background: rgba(255,255,255,0.15) !important; color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important; transition: all 0.25s ease !important;
  border: none !important; padding: 0 !important; margin: 0 !important;
}
.soc-btn::before, .soc-btn::after { display: none !important; content: none !important; }
.soc-btn svg { width: 24px !important; height: 24px !important; display: block !important; max-width: none !important; }
.soc-btn:hover { background: rgba(255,255,255,0.25) !important; transform: translateY(-2px) !important; }

.footer__nav a { position: relative; }
.footer__nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--coral);
  transition: width 0.3s ease;
}
.footer__nav a:hover::after { width: 100%; }

/* Additional hero overrides (dark style) */
.school-hero, .contacts-hero, .app-hero, .logoapp-hero,
.np-hero, .pub-hero, .dun-hero {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--grey-900) 60%, var(--grey-800) 100%) !important;
  position: relative;
  overflow: hidden;
}

.school-hero h1, .school-hero__title,
.contacts-hero h1, .contacts-hero__title,
.app-hero h1, .app-hero__title,
.logoapp-hero h1, .logoapp-hero__title,
.np-hero h1, .np-hero__title,
.pub-hero h1, .pub-hero__title,
.dun-hero h1, .dun-hero__title {
  color: #fff !important;
}

.school-hero p, .school-hero__desc, .school-hero__subtitle,
.contacts-hero p, .contacts-hero__desc, .contacts-hero__subtitle,
.app-hero p, .app-hero__desc, .app-hero__subtitle,
.logoapp-hero p, .logoapp-hero__desc, .logoapp-hero__subtitle,
.np-hero p, .np-hero__desc, .np-hero__subtitle,
.pub-hero p, .pub-hero__desc, .pub-hero__subtitle,
.dun-hero p, .dun-hero__desc, .dun-hero__subtitle {
  color: rgba(255,255,255,0.7) !important;
}

.school-hero .breadcrumbs, .school-hero .breadcrumbs a,
.contacts-hero .breadcrumbs, .contacts-hero .breadcrumbs a,
.app-hero .breadcrumbs, .app-hero .breadcrumbs a,
.logoapp-hero .breadcrumbs, .logoapp-hero .breadcrumbs a,
.np-hero .breadcrumbs, .np-hero .breadcrumbs a,
.pub-hero .breadcrumbs, .pub-hero .breadcrumbs a,
.dun-hero .breadcrumbs, .dun-hero .breadcrumbs a {
  color: rgba(255,255,255,0.5) !important;
}

.school-hero::before, .contacts-hero::before, .app-hero::before,
.logoapp-hero::before, .np-hero::before, .pub-hero::before,
.dun-hero::before {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%) !important;
}

.school-hero__badge, .np-hero__badge, .app-hero__badge,
.logoapp-hero__badge, .pub-hero__badge, .dun-hero__badge {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: var(--coral-light) !important;
}

.school-hero__image img, .np-hero__image img, .app-hero__image img,
.logoapp-hero__image img, .pub-hero__image img, .dun-hero__image img {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
}

/* Hero overtitles */
.school-hero__overtitle, .contacts-hero__overtitle,
.app-hero__overtitle, .logoapp-hero__overtitle,
.np-hero__overtitle, .pub-hero__overtitle, .dun-hero__overtitle {
  color: var(--coral-light) !important;
}

/* Hero stat items (some heroes have stats) */
.method-hero__stat, .spec-hero__stat, .school-hero__stat,
.app-hero__stat, .np-hero__stat, .dun-hero__stat,
[class*="-hero__stat"] {
  color: rgba(255,255,255,0.9) !important;
}
[class*="-hero__stat"] span, [class*="-hero__stat-label"] {
  color: rgba(255,255,255,0.5) !important;
}

/* Hero tags */
.method-hero__tags .tag, .spec-hero__tags .tag,
[class*="-hero"] .tag {
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.8) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

/* Hero action buttons on dark bg */
[class*="-hero"] .btn--outline {
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}
[class*="-hero"] .btn--outline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
[class*="-hero"] .btn--ghost {
  color: rgba(255,255,255,0.7) !important;
}
[class*="-hero"] .btn--ghost:hover {
  color: #fff !important;
}

/* Mobile: CTA button as phone icon only */
@media (max-width: 1024px) {
  .header__cta .btn__label { display: none; }
  .header__cta .btn--small {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
  }
  .header__inner {
    gap: 12px;
  }
}

/* Burger cross visible on dark overlay */
.burger.active span {
  background: #fff !important;
}

/* Header above mobile-nav so burger/cross is clickable */
.header {
  z-index: 200 !important;
}

/* Burger cross on white header background — dark color */
.burger.active span {
  background: #333 !important;
}


/* ===== FAQ (details-based) — универсальные стили ===== */
.faq-section{padding:var(--space-16) 0 var(--space-8)}
.faq-list{max-width:820px;margin:var(--space-8) auto 0;padding:0 var(--space-4)}
.faq-item{border:1px solid var(--color-border);border-radius:var(--radius-lg);
  background:var(--color-surface);margin-bottom:var(--space-3);overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease}
.faq-item[open]{border-color:var(--coral);box-shadow:0 6px 22px rgba(232,112,90,.10)}
.faq-item__q{list-style:none;cursor:pointer;display:flex;align-items:center;gap:var(--space-3);
  padding:var(--space-4) var(--space-5);font-weight:600;font-size:1.02rem;color:var(--color-text);
  line-height:1.4;user-select:none}
.faq-item__q::-webkit-details-marker{display:none}
.faq-item__q:hover{color:var(--coral-dark)}
.faq-item__ic{flex:0 0 22px;width:22px;height:22px;position:relative;transition:transform .3s ease}
.faq-item__ic::before,.faq-item__ic::after{content:"";position:absolute;background:var(--coral);
  border-radius:2px;left:50%;top:50%}
.faq-item__ic::before{width:14px;height:2px;transform:translate(-50%,-50%)}
.faq-item__ic::after{width:2px;height:14px;transform:translate(-50%,-50%);transition:transform .3s ease}
.faq-item[open] .faq-item__ic::after{transform:translate(-50%,-50%) scaleY(0)}
.faq-item__a{padding:0 var(--space-5) var(--space-5) calc(var(--space-5) + 22px + var(--space-3));
  color:var(--color-text-muted);line-height:1.7;font-size:.98rem;max-width:70ch}
@media (max-width:600px){
  .faq-item__q{font-size:.97rem;padding:var(--space-4)}
  .faq-item__a{padding:0 var(--space-4) var(--space-4);font-size:.95rem}
}
@media (prefers-reduced-motion:reduce){.faq-item,.faq-item__ic,.faq-item__ic::after{transition:none}}

/* Footer layout (moved from index.css, 2026-10-10) */
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--space-10);
  align-items: start;
}
.footer__nav,
.footer__contacts { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__social-icons { display: flex; gap: 12px; margin-top: 16px; }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
