/* Supplements and wellness tips — how to choose quality supplements
   палитра: светлая-нейтральная | стиль: брутальный | код: семантический
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #ffffff;
  --color-text: #16181d;
  --color-muted: #5b6270;
  --color-accent: #2f5bd6;
  --color-surface: #f4f6fa;
  --color-on-accent: #ffffff;

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

  --radius: 0;
  --shadow: 6px 6px 0 var(--color-text);
  --container: 66rem;
}

*, *::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.75rem, 7vw, 4.5rem); }
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; }

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

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

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

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

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

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

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

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

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

@media (max-width: 767px) {
  .site-header-burger { display: flex; }
  .site-header-cta { display: none; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open-active { display: block; }
  .main-nav-list { flex-direction: column; padding-block: .6rem; }
  .site-header-inner { flex-wrap: wrap; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer-bottom, .site-footer-row { flex-direction: column; }
  .cookie-notice-actions .button { flex: 1 1 auto; }
}

/* Секционные раскладки */
.eyebrow { margin: 0 0 .65rem; color: var(--color-accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-lead, .lead { color: var(--color-muted); }
.section-lead { margin-bottom: 2rem; }
.button-secondary { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.button-secondary:hover { color: var(--color-on-accent); background: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow); }

.split-layout, .content-split { display: grid; gap: 2rem; align-items: center; }
.split-layout > img, .content-split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--color-text); border-radius: 0; box-shadow: var(--shadow); }
.hero .intro, .hero .wrapper > div { min-width: 0; }
.hero .lead { max-width: 58ch; }
.inner-hero:not(.hero) { min-height: 52vh; display: flex; align-items: center; }
#contact-intro { color: var(--color-on-accent); background: var(--color-accent); }
#contact-intro .eyebrow, #contact-intro .lead { color: var(--color-on-accent); }

.info-card, .offer-card, .bento-card { padding: 1.75rem; border: 2px solid var(--color-text); border-radius: 0; background: var(--color-bg); box-shadow: var(--shadow); }

.topic-slider { padding: .3rem .4rem 3.25rem; overflow: hidden; }
.topic-slider .swiper-wrapper { align-items: stretch; }
.topic-slider .swiper-slide { height: auto; display: flex; flex-direction: column; }
.topic-slider .swiper-button-prev, .topic-slider .swiper-button-next { top: auto; bottom: 0; width: 2.5rem; height: 2.5rem; margin: 0; border: 2px solid var(--color-text); background: var(--color-bg); color: var(--color-accent); }
.topic-slider .swiper-button-prev { left: 0; }
.topic-slider .swiper-button-next { right: 0; }
.topic-slider .swiper-button-prev::after, .topic-slider .swiper-button-next::after { font-size: 1rem; font-weight: 800; }
.topic-slider .swiper-pagination { bottom: .55rem; }
.swiper-pagination-bullet-active { background: var(--color-accent); }

.quote-section { background: var(--color-accent) !important; color: var(--color-on-accent); }
.quote-section .eyebrow { color: var(--color-on-accent); }
.quote-section blockquote { max-width: 22ch; margin: 1.6rem 0; padding-left: 1.25rem; border-left: 8px solid var(--color-on-accent); font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
.quote-section p:last-child { max-width: 76ch; }

.accordion { display: grid; gap: .85rem; }
.accordion-item { border: 2px solid var(--color-text); border-radius: 0 !important; background: var(--color-bg); }
.accordion-button { padding: 1.15rem 1.25rem; font-weight: 700; color: var(--color-text); background: var(--color-bg); box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--color-on-accent); background: var(--color-accent); }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-body { padding: 1.25rem; }

.three-cards { display: grid; gap: 1.4rem; align-items: stretch; }
.three-cards .info-card { display: flex; flex-direction: column; }
.three-cards .info-card:nth-child(2) { background: var(--color-accent); color: var(--color-on-accent); }

.table-responsive { margin-top: 1.75rem; border: 2px solid var(--color-text); box-shadow: var(--shadow); }
.comparison-table { width: 100%; min-width: 42rem; border-collapse: collapse; background: var(--color-bg); }
.comparison-table th, .comparison-table td { padding: 1rem; border: 1px solid var(--color-text); text-align: left; vertical-align: top; }
.comparison-table thead th { color: var(--color-on-accent); background: var(--color-accent); }
.comparison-table tbody th { background: var(--color-surface); }

.callout-layout { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.margin-note { align-self: start; padding: 1rem; border: 2px solid var(--color-accent); color: var(--color-accent); background: var(--color-bg); font-weight: 700; }

.timeline { position: relative; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.timeline::before { content: ''; position: absolute; top: .5rem; bottom: .5rem; left: 1.35rem; width: 2px; background: var(--color-text); }
.timeline li { position: relative; min-height: 5.2rem; padding: 0 0 1.6rem 4.3rem; counter-increment: steps; }
.timeline li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; width: 2.8rem; aspect-ratio: 1; place-items: center; border: 2px solid var(--color-text); background: var(--color-accent); color: var(--color-on-accent); font-weight: 800; }
.timeline p { margin-bottom: 0; }

.numbered-list { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: checks; }
.numbered-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 2px solid var(--color-text); counter-increment: checks; }
.numbered-list li::before { content: counter(checks, decimal-leading-zero); color: var(--color-accent); font-size: 1.6rem; font-weight: 800; }
.numbered-list li:last-child { border-bottom: 2px solid var(--color-text); }

.gallery-grid { display: grid; gap: 1.4rem; }
.gallery-grid figure { margin: 0; display: flex; flex-direction: column; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--color-text); box-shadow: var(--shadow); }
.gallery-grid figcaption { flex: 1; padding: 1rem .2rem 0; font-weight: 700; }

.counter-grid { display: grid; gap: 1rem; margin: 2rem 0; }
.counter-grid > div { padding: 1.4rem; border: 2px solid var(--color-text); background: var(--color-bg); }
.counter { display: block; color: var(--color-accent); font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1; }
.counter-grid span { display: block; margin-top: .65rem; font-weight: 700; }
#social-proof .counter-grid > div { background: var(--color-text); color: var(--color-on-accent); box-shadow: 5px 5px 0 var(--color-accent); }

.bento-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.bento-card { box-shadow: none; }
.bento-large { color: var(--color-on-accent); background: var(--color-accent); }
.bento-card:not(.bento-large):nth-child(even) { box-shadow: var(--shadow); }

.two-columns { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.two-columns > div { padding-top: 1.25rem; border-top: 6px solid var(--color-accent); }

.pricing-grid { display: grid; gap: 1.5rem; align-items: stretch; margin-top: 2rem; }
.offer-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.offer-card ul { margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.offer-card .button { width: 100%; margin-top: auto; }
.offer-card.featured { border-color: var(--color-accent); border-width: 4px; }
.offer-badge { align-self: flex-start; margin: -1rem 0 1rem; padding: .35rem .7rem; color: var(--color-on-accent); background: var(--color-accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price { margin: .5rem 0 0; color: var(--color-accent); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.pricing-note { max-width: none; margin: 2rem 0 1rem; padding: 1rem 1.25rem; border-left: 6px solid var(--color-accent); background: var(--color-bg); }

.contact-grid { display: grid; gap: 2rem; align-items: stretch; }
.contact-grid iframe { width: 100%; min-height: 24rem; border: 2px solid var(--color-text) !important; box-shadow: var(--shadow); }
.lead-form { padding: 1.5rem; border: 2px solid var(--color-text); background: var(--color-bg); box-shadow: var(--shadow); }
.lead-form label { display: block; margin: 0 0 .35rem; font-weight: 700; }
.lead-form input:not([type="checkbox"]), .lead-form textarea { width: 100%; margin: 0 0 1rem; padding: .8rem 1rem; border: 2px solid var(--color-text); border-radius: 0; background: var(--color-bg); color: var(--color-text); font: inherit; }
.lead-form textarea { resize: vertical; }
.lead-form .form-check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding-left: 0; margin: 0 0 1.2rem; }
.lead-form .form-check input { float: none; margin: .35rem 0 0; }
.lead-form .form-check label { font-weight: 400; }
#contacts > .wrapper > p:nth-of-type(2) a { display: inline-block; margin: .2rem .5rem .2rem 0; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 800; }
#mapa iframe { border: 2px solid var(--color-text) !important; box-shadow: var(--shadow); }

@media (max-width: 575px) {
  .wrapper { padding-inline: 1rem; }
  .hero .wrapper { padding-block: 1rem; }
  .button { width: 100%; }
  .numbered-list li { grid-template-columns: 2.5rem 1fr; gap: .65rem; }
  .cookie-notice-actions { flex-direction: column; align-items: stretch; }
}

@media (min-width: 576px) {
  .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form { padding: 1.75rem; }
}

@media (min-width: 768px) {
  .split-layout, .content-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
  #topic-05 .content-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .three-cards, .gallery-grid, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callout-layout { grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr) minmax(8rem, 1fr); align-items: start; }
  .callout-layout .margin-note:last-child { margin-top: 7rem; }
  .two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .bento-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(9rem, auto); }
  .bento-large { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
  .offer-card.featured { transform: translateY(-.75rem); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .content-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .counter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline { max-width: 48rem; margin-left: auto; margin-right: auto; }
  .numbered-list { max-width: 54rem; }
  .pricing-grid { gap: 1.75rem; }
}
