/* Supplements and wellness tips — energy and focus
   палитра: пастельная | стиль: умеренный | код: бэм-полный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #fdfcfa;
  --color-text: #262322;
  --color-muted: #6e6763;
  --color-accent: #b4553c;
  --color-surface: #f6f1ec;
  --color-on-accent: #ffffff;

  --font-heading: 'Epilogue', Georgia, serif;
  --font-body: 'Epilogue', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 2px 8px rgb(0 0 0 / .06);
  --container: 72rem;
}

*, *::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.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.4rem); }
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; }

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

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section:nth-of-type(even) { background: var(--color-surface); }

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

/* шапка */
.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);
}
.header--transparent { background: transparent; border-bottom-color: transparent; }
.header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.header__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.nav__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.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; }
.nav__link:hover { background: var(--color-surface); }
.nav__link.has-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.nav--split { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.header__burger { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.header__burger span { width: 22px; height: 2px; background: var(--color-text); }

/* кнопки */
.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;
}
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--ghost:hover { background: var(--color-accent); color: var(--color-on-accent); }

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

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

/* плашка cookie */
.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;
}
.cookie.has-visible { transform: translateY(0); }
.cookie__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.cookie__text p { margin: 0; font-size: .92rem; max-width: 70ch; }
.cookie__actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.cookie__configure { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cookie__options { display: grid; gap: .6rem; margin-top: 1rem; }
.cookie__option { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.cookie__option span { grid-column: 2; font-weight: 400; opacity: .75; }

/* правовые страницы */
.legal { background: var(--color-bg); }
.legal__inner { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h2 { margin-top: 2.2rem; }
.legal h3 { margin-top: 1.4rem; }
.legal__updated { color: var(--color-muted); font-size: .9rem; }
.legal__table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.legal__table th, .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; }
.legal__table th { width: 34%; font-weight: 600; }
.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) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { margin-left: 0; flex-wrap: wrap; }
}

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

/* тематические секции */
.eyebrow { color: var(--color-accent); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; }
.section__lead { color: var(--color-muted); margin-bottom: 2rem; }
.btn--outline { color: var(--color-accent); background: transparent; border-color: var(--color-accent); }
.btn--outline:hover { color: var(--color-on-accent); background: var(--color-accent); transform: translateY(-2px); }
.card, .tile, .topic__card, .bento__item, .pricing__card, .application__form { padding: 1.9rem; border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--color-bg); }

/* первый экран — асимметрия */
.hero { min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__content { position: relative; z-index: 1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__media { position: relative; padding: 1.1rem 0 0 1.1rem; }
.hero__media::before { content: ""; position: absolute; inset: -1rem 12% 14% -1rem; border-radius: 45% 55% 38% 62%; background: var(--color-accent); opacity: .2; transform: rotate(-7deg); }
.hero__media img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* парные раскладки с изображением */
.about__grid, .topic__grid, .story__grid, .team__grid, .page-hero__grid, .contact-detail__grid, .application__grid { display: grid; gap: 2.5rem; align-items: center; }
.about img, .topic__grid > img, .story img, .team img, .page-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* четыре плитки */
.tiles__grid { display: grid; gap: 1rem; }
.tile { display: flex; flex-direction: column; min-height: 15rem; }
.tile:nth-child(2), .tile:nth-child(3) { background: var(--color-surface); }
.tile__icon { color: var(--color-accent); font-size: 1.8rem; font-weight: 700; margin-bottom: auto; padding-bottom: 1.8rem; }

/* слайдер карточек */
.topic__swiper { padding: .25rem .25rem 3.25rem; }
.topic__card { height: auto; display: flex; flex-direction: column; padding: 0 0 1.5rem; overflow: hidden; }
.topic__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.topic__card h3, .topic__card p { margin-inline: 1.5rem; }
.topic__card h3 { margin-top: 1.4rem; }
.topic__swiper .swiper-button-prev, .topic__swiper .swiper-button-next { color: var(--color-accent); }
.topic__swiper .swiper-pagination-bullet-active { background: var(--color-accent); }

/* аккордеоны */
.accordion { display: grid; gap: .7rem; max-width: 58rem; }
.accordion-item { overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); border-radius: var(--radius) !important; background: var(--color-bg); }
.accordion-button { color: var(--color-text); background: var(--color-bg); font-weight: 650; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--color-accent); background: var(--color-surface); }
.accordion-button:focus { border-color: var(--color-accent); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--color-accent) 22%, transparent) !important; }

/* цитата-заливка */
.topic--quote { color: var(--color-on-accent); background: var(--color-accent) !important; }
.topic--quote .eyebrow { color: var(--color-on-accent); opacity: .8; }
.topic__quote { max-width: 23ch; margin: 1.5rem 0 2rem; font-size: clamp(1.65rem, 4vw, 3rem); font-weight: 650; line-height: 1.25; }

/* бенто */
.bento__grid { display: grid; gap: 1rem; }
.bento__item { display: flex; flex-direction: column; justify-content: flex-end; min-height: 12rem; }
.bento__item--large { justify-content: flex-start; min-height: 26rem; background: var(--color-text); color: var(--color-bg); }
.bento__item--large img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.4rem; }

/* текст с выносками */
.notes__row { display: grid; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.notes__aside { color: var(--color-accent); font-weight: 700; font-size: 1.05rem; }
.notes__row p { margin: 0; }

/* таймлайн */
.timeline__list { position: relative; list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 48rem; }
.timeline__list::before { content: ""; position: absolute; left: 1.35rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--color-accent); }
.timeline__item { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.2rem; padding-bottom: 1.8rem; }
.timeline__item > span { z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; color: var(--color-on-accent); background: var(--color-accent); font-weight: 700; }

/* три карточки */
.cards__grid { display: grid; gap: 1rem; align-items: stretch; }
.cards__grid .card { display: flex; flex-direction: column; padding: 0 0 1.5rem; overflow: hidden; }
.cards__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards__grid h3, .cards__grid p { margin-inline: 1.5rem; }
.cards__grid h3 { margin-top: 1.4rem; }

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

/* нумерованный список */
.numbered__list { list-style: none; margin: 2rem 0 0; padding: 0; }
.numbered__list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.numbered__list span { color: var(--color-accent); font-size: 1.6rem; font-weight: 700; }

/* галерея */
.gallery__grid { display: grid; gap: 1.2rem; }
.gallery__grid figure { margin: 0; }
.gallery__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery__grid figcaption { padding: 1rem .15rem 0; color: var(--color-muted); }

/* крупная цитата */
.social-proof blockquote { max-width: 28ch; margin: 1.4rem 0 2rem; font-size: clamp(1.65rem, 4vw, 3rem); line-height: 1.3; font-weight: 650; }
.social-proof .container { position: relative; }
.social-proof .container::after { content: "”"; position: absolute; right: 1.25rem; top: -2rem; color: var(--color-accent); opacity: .22; font-size: 11rem; line-height: 1; }

/* тарифы */
.pricing__grid { display: grid; gap: 1.2rem; align-items: stretch; margin-top: 2rem; }
.pricing__card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing__card ul { padding-left: 1.2rem; margin-bottom: 1.8rem; }
.pricing__card li + li { margin-top: .45rem; }
.pricing__card .btn { margin-top: auto; }
.pricing__card--featured { border: 2px solid var(--color-accent); }
.pricing__badge { align-self: flex-start; color: var(--color-on-accent); background: var(--color-accent); border-radius: 99px; padding: .35rem .7rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pricing__price { margin: .2rem 0 0; color: var(--color-accent); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1; }
.pricing__note { margin-top: 1.5rem; }
.services__link { display: inline-block; font-weight: 650; }

/* контакты */
.contacts { text-align: center; }
.contacts p { margin-inline: auto; }
.contacts__links { display: flex; flex-direction: column; gap: .7rem; margin: 1.8rem 0; }
.contacts__links a { font-size: clamp(1.25rem, 4vw, 2.2rem); font-weight: 700; text-decoration-thickness: 1px; }

/* внутренние страницы */
.page-hero { min-height: 65vh; display: flex; align-items: center; }
.page-hero__grid > div { max-width: 40rem; }
.approach__grid, .process__grid { display: grid; gap: 1rem; align-items: stretch; margin: 2rem 0; }
.approach__grid .card, .process__grid .card { height: 100%; }
.principles__list { list-style: none; counter-reset: principle; padding: 0; margin: 2rem 0; }
.principles__list li { counter-increment: principle; position: relative; padding: 1.5rem 0 1.5rem 4rem; border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.principles__list li::before { content: counter(principle, decimal-leading-zero); position: absolute; left: 0; color: var(--color-accent); font-size: 1.4rem; font-weight: 700; }
.comparison__table { min-width: 42rem; border-color: color-mix(in srgb, var(--color-muted) 30%, transparent); }
.comparison__table thead th { color: var(--color-on-accent); background: var(--color-accent); }
.comparison__table th, .comparison__table td { padding: .9rem; vertical-align: middle; }
.contact-detail__map { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-detail__map iframe { display: block; }
.application__form { display: grid; gap: 1rem; }
.form__field { display: grid; gap: .35rem; }
.form__field input, .form__field textarea { width: 100%; border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent); border-radius: var(--radius); padding: .8rem 1rem; background: var(--color-bg); color: var(--color-text); font: inherit; }
.form__check { display: grid; grid-template-columns: auto 1fr; gap: .5rem; }
.form__check .form__error { grid-column: 2; }

/* адаптив: 576 / 768 / 992 */
@media (max-width: 575px) {
  .hero__actions .btn, .cookie__actions .btn { width: 100%; }
  .card, .tile, .bento__item, .pricing__card, .application__form { padding: 1.35rem; }
  .topic__card, .cards__grid .card { padding: 0 0 1.35rem; }
  .swiper-button-prev, .swiper-button-next { display: none; }
}
@media (min-width: 576px) {
  .tiles__grid, .bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about__grid, .topic__grid, .story__grid, .team__grid, .page-hero__grid, .contact-detail__grid, .application__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic--reverse .topic__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .notes__row { grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr); gap: 2rem; }
  .columns__text { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .cards__grid, .pricing__grid, .approach__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts__links { flex-direction: row; justify-content: center; gap: 2.5rem; }
}
@media (min-width: 992px) {
  .hero__media { transform: translate(1.5rem, 1.5rem); }
  .bento__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(11rem, auto); }
  .bento__item--large { grid-column: span 2; grid-row: span 2; }
  .pricing__card--featured { transform: translateY(-.65rem); }
  .process__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .team__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
