/* Supplements and wellness tips — immunity support
   палитра: индиго-ночь | стиль: крупный-воздушный | код: префикс-двухбуквенный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #0d1030;
  --color-text: #eaecff;
  --color-muted: #9096c4;
  --color-accent: #ffb020;
  --color-surface: #171b45;
  --color-on-accent: #0d1030;

  --font-heading: 'Crimson Pro', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 22px;
  --shadow: none;
  --container: 76rem;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* .swiper-pagination (vendor) всегда z-index:10 и растянута на всю ширину —
   кнопки листания не должны оказаться под ней, с каким бы z-index их ни
   поставила секционная раскладка. */
[data-slider-prev], [data-slider-next] { z-index: 20 !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.8rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); margin: 0 0 1.1em; max-width: 68ch; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.ct-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  overflow-x: hidden;
}

section { padding: clamp(5rem, 10vw, 9rem) 0; }
section:nth-of-type(even) { background: var(--color-surface); }

.ct-section__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .6rem;
}

/* шапка */
.ct-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--color-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent);
}
.ct-header--transparent { background: transparent; border-bottom-color: transparent; }
.ct-header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.ct-header__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.ct-nav__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.ct-nav__link { display: block; padding: .5rem .9rem; border-radius: var(--radius);
  color: var(--color-text); text-decoration: none; font-weight: 500;
  transition: background .2s ease, color .2s ease; }
.ct-nav__link:hover { background: var(--color-surface); }
.ct-nav__link.is-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.ct-nav--split { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.ct-header__burger { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.ct-header__burger span { width: 22px; height: 2px; background: var(--color-text); }

/* кнопки */
.ct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ct-btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.ct-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ct-btn--ghost { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.ct-btn--ghost:hover { background: var(--color-accent); color: var(--color-on-accent); }

/* формы */
.ct-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.ct-form input, .ct-form textarea {
  width: 100%; padding: .8rem 1rem; margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit;
}
.ct-form input:focus, .ct-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.ct-form [aria-invalid="true"] { border-color: #c62828; }
.ct-form__error { color: #c62828; font-size: .85rem; margin: -.7rem 0 .9rem; }
.ct-form__ok { background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-radius: var(--radius); padding: 1rem; font-weight: 600; }
.ct-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.ct-form__consent input { width: auto; margin: .25rem 0 0; }

/* плашка cookie */
.ct-cookie {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1080;
  background: var(--color-surface);
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  box-shadow: 0 -8px 30px rgb(0 0 0 / .12);
  transform: translateY(100%); transition: transform .35s ease;
}
.ct-cookie.is-visible { transform: translateY(0); }
.ct-cookie__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.ct-cookie__text p { margin: 0; font-size: .92rem; max-width: 70ch; }
.ct-cookie__actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.ct-cookie__configure { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ct-cookie__options { display: grid; gap: .6rem; margin-top: 1rem; }
.ct-cookie__option { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.ct-cookie__option span { grid-column: 2; font-weight: 400; opacity: .75; }

/* футер */
.ct-footer { background: var(--color-surface); }
.ct-footer--contrast { background: var(--color-text); color: var(--color-bg); }
.ct-footer--contrast a { color: inherit; }
.ct-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem); }
.ct-footer__row { display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-block: 1.6rem; font-size: .9rem; }
.ct-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 .4rem; }
.ct-footer__tagline { opacity: .75; font-size: .95rem; }
.ct-footer__title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; margin-bottom: .9rem; }
.ct-footer__address { font-style: normal; line-height: 1.7; }
.ct-footer__hours { opacity: .75; font-size: .92rem; margin-top: .7rem; }
.ct-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ct-footer__cookie { background: none; border: 0; padding: 0; color: inherit;
  text-decoration: underline; cursor: pointer; font: inherit; }
.ct-footer__bottom { display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 1.2rem; font-size: .85rem; opacity: .75;
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); }
.ct-footer__bottom p { margin: 0; }

/* правовые страницы */
.ct-legal { background: var(--color-bg); }
.ct-legal__inner { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.ct-legal h2 { margin-top: 2.2rem; }
.ct-legal h3 { margin-top: 1.4rem; }
.ct-legal__updated { color: var(--color-muted); font-size: .9rem; }
.ct-legal__table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.ct-legal__table th, .ct-legal__table td { text-align: left; padding: .7rem .9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); vertical-align: top; }
.ct-legal__table th { width: 34%; font-weight: 600; }
.ct-legal__back { margin-top: 2.5rem; }
/* анимации: без JS всё видно */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 991px) {
  .ct-footer__inner { grid-template-columns: 1fr 1fr; }
  .ct-cookie__inner { flex-direction: column; align-items: stretch; }
  .ct-cookie__actions { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .ct-header__burger { display: flex; }
  .ct-header__cta { display: none; }
  .ct-nav { display: none; width: 100%; }
  .ct-nav.is-open { display: block; }
  .ct-nav__list { flex-direction: column; padding-block: .6rem; }
  .ct-header__inner { flex-wrap: wrap; }
  .ct-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ct-footer__bottom, .ct-footer__row { flex-direction: column; }
  .ct-cookie__actions .ct-btn { flex: 1 1 auto; }
}

/* Секционные раскладки */
.ct-card {
  height: 100%;
  padding: 2.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

section:nth-of-type(even) .ct-card { background: var(--color-bg); }
.ct-hero { min-height: 88vh; display: flex; align-items: center; }
.ct-hero img,
#about img,
#topic-06 img,
#topic-10 img,
#history img,
#team img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}
.ct-hero img { min-height: 28rem; }

/* 01: бенто */
.ct-bento { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.ct-bento__main { background: var(--color-accent); color: var(--color-on-accent); }

/* 02: крупный нумерованный список */
.ct-numbered { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: item; }
.ct-numbered li { counter-increment: item; position: relative; padding: 1.75rem 0 1.75rem 4.75rem; border-top: 1px solid var(--color-muted); }
.ct-numbered li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 1.25rem; font: 700 2.4rem/1 var(--font-heading); color: var(--color-accent); }
.ct-numbered p { margin-bottom: 0; }

/* 03: четыре плитки */
#topic-03 .ct-card h3 { color: var(--color-accent); }

/* 04: текст с полевыми выносками */
.ct-callouts { display: grid; gap: 1.5rem; margin: 2.5rem 0; }
.ct-callouts aside { padding: 1.25rem; color: var(--color-accent); font: 600 1.25rem/1.35 var(--font-heading); }
.ct-callouts aside:first-child { align-self: start; border-top: 3px solid var(--color-accent); }
.ct-callouts aside:last-child { align-self: end; border-bottom: 3px solid var(--color-accent); }

/* 05: галерея с подписями */
#topic-05 figure { margin: 0; display: flex; flex-direction: column; }
#topic-05 figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
#topic-05 figcaption { flex: 1; padding: 1.5rem .35rem 0; }

/* 07: акцентная цитата */
.ct-quote-fill { background: var(--color-accent) !important; color: var(--color-on-accent); }
.ct-quote-fill .ct-section__eyebrow { color: var(--color-on-accent); }
.ct-quote-fill blockquote { max-width: 24ch; margin: 2rem 0; font: 600 clamp(2rem, 5vw, 4rem)/1.08 var(--font-heading); }

/* 08: счётчики */
#topic-08 .text-center > div { display: flex; flex-direction: column; justify-content: center; min-height: 12rem; padding: 1.5rem; background: var(--color-bg); border-radius: var(--radius); }
.ct-count { display: block; color: var(--color-accent); font: 700 clamp(3rem, 7vw, 5.5rem)/1 var(--font-heading); }
#topic-08 .text-center p { margin: .75rem auto 0; }

/* 09: широкое фото */
.ct-wide-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); margin: 2.5rem 0; }

/* 11: три карточки */
#topic-11 .ct-card { position: relative; padding-top: 5rem; }
#topic-11 .ct-card::before { content: ''; position: absolute; top: 2.5rem; width: 2.5rem; height: .3rem; border-radius: var(--radius); background: var(--color-accent); }

/* 12: сравнительная таблица */
.ct-table, .ct-pricing { --bs-table-bg: transparent; --bs-table-color: var(--color-text); margin: 2.5rem 0; min-width: 42rem; }
.ct-table th, .ct-table td, .ct-pricing th, .ct-pricing td { padding: 1.1rem; border-color: var(--color-muted); vertical-align: middle; }
.ct-table thead th, .ct-pricing thead th { color: var(--color-accent); }

/* 13: вертикальный таймлайн */
.ct-timeline { list-style: none; padding: 0 0 0 2rem; margin: 2.5rem 0; counter-reset: step; }
.ct-timeline li { counter-increment: step; position: relative; padding: 0 0 2.5rem 3rem; border-left: 2px solid var(--color-accent); }
.ct-timeline li::before { content: counter(step); position: absolute; left: -1.35rem; top: -.25rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-weight: 800; }
.ct-timeline li:last-child { padding-bottom: 0; }

/* 14: две колонки текста */
.ct-two-copy { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.ct-two-copy > div { padding-top: 1.5rem; border-top: 3px solid var(--color-accent); }

/* 15 и FAQ: аккордеоны */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-color: var(--color-text); --bs-accordion-border-color: var(--color-muted); --bs-accordion-btn-color: var(--color-text); --bs-accordion-btn-bg: transparent; --bs-accordion-active-color: var(--color-on-accent); --bs-accordion-active-bg: var(--color-accent); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--color-accent); margin-top: 2.5rem; }
.accordion-item { overflow: hidden; margin-bottom: .75rem; border-radius: var(--radius) !important; }
.accordion-button { font: 600 1.15rem/1.3 var(--font-heading); }
.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-button:not(.collapsed)::after { filter: brightness(0); }

/* 16: слайдер */
.ct-slider-wrap { position: relative; margin-top: 2.5rem; padding-bottom: 4rem; }
.ct-slider-wrap .swiper { overflow: hidden; }
.ct-slider-wrap .swiper-wrapper { align-items: stretch; }
.ct-slider-wrap .swiper-slide { height: auto; min-height: 15rem; }
.ct-slider__prev, .ct-slider__next { position: absolute; bottom: 0; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-size: 1.4rem; cursor: pointer; }
.ct-slider__prev { right: 3.75rem; }
.ct-slider__next { right: 0; }
.swiper-pagination-bullet { background: var(--color-muted); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--color-accent); }

/* социальное доказательство */
.ct-big-quote { max-width: 25ch; margin: 2.5rem 0; color: var(--color-accent); font: 600 clamp(2rem, 4.5vw, 3.8rem)/1.12 var(--font-heading); }

/* тарифы */
.ct-price strong { display: block; color: var(--color-accent); font: 700 3rem/1 var(--font-heading); }
.ct-card--featured { position: relative; outline: 3px solid var(--color-accent); transform: none; }
.ct-badge { align-self: flex-start; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: var(--radius); background: var(--color-accent); color: var(--color-on-accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ct-card ul { padding-left: 1.2rem; margin-bottom: 2rem; }
.ct-card .ct-btn.mt-auto { margin-top: auto !important; }
.ct-pricing { text-align: center; }
.ct-pricing th:first-child { text-align: left; }
.ct-pricing__featured { background: var(--color-accent) !important; color: var(--color-on-accent) !important; }
.ct-pricing thead small, .ct-pricing thead strong, .ct-pricing thead span { display: block; }

/* контакты и внутренние страницы */
.ct-map, iframe { border-radius: var(--radius); overflow: hidden; }
.modal-content { color: var(--color-text); background: var(--color-surface); border-radius: var(--radius); }
.btn-close { filter: invert(1); }
#about-cta { background: var(--color-accent); color: var(--color-on-accent); }
#about-cta .ct-section__eyebrow { color: var(--color-on-accent); }

@media (min-width: 576px) {
  .ct-numbered li { padding-left: 6rem; }
  .ct-numbered li::before { font-size: 3rem; }
}

@media (min-width: 768px) {
  .ct-bento { grid-template-columns: repeat(2, 1fr); }
  .ct-bento__main { grid-row: span 2; }
  .ct-two-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-callouts { grid-template-columns: minmax(8rem, .65fr) minmax(0, 2fr) minmax(8rem, .65fr); align-items: stretch; }
}

@media (min-width: 992px) {
  .ct-bento { grid-template-columns: 1.25fr repeat(2, 1fr); grid-template-rows: repeat(2, minmax(11rem, auto)); }
  .ct-bento__main { grid-column: 1 / 2; grid-row: 1 / 3; justify-content: flex-end; }
  .ct-bento > :nth-child(2) { grid-column: 2 / 4; }
  .ct-hero img { min-height: 34rem; }
  .ct-card--featured { transform: translateY(-1rem); }
  #services-hero + #plans .row { padding-top: 1rem; }
}

@media (max-width: 575px) {
  .ct-card { padding: 1.5rem; }
  .ct-hero { min-height: auto; }
  .ct-hero img { min-height: 0; aspect-ratio: 4 / 3; }
  #topic-08 .text-center > div { min-height: 9rem; }
  .ct-pricing .ct-btn { padding-inline: .75rem; }
}
