/* Product deals and discount alerts — price drop tracking
   палитра: мятная-свежая | стиль: острый-строгий | код: утилитарный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #f6fbf8;
  --color-text: #12241c;
  --color-muted: #4d6b5d;
  --color-accent: #0f7a5a;
  --color-surface: #e7f4ee;
  --color-on-accent: #ffffff;

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --radius: 0;
  --shadow: none;
  --container: 68rem;
}

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

*, *::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.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
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; }

.s-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); }

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

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

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

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

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

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

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

/* Секционные раскладки */
.u-flex { display: flex; flex-wrap: wrap; align-items: center; }
.u-gap-2 { gap: 1rem; }
.s-kicker { margin: 0 0 .65rem; color: var(--color-accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.s-btn--outline { color: var(--color-accent); background: transparent; border-color: var(--color-accent); }
.s-btn--outline:hover { color: var(--color-on-accent); background: var(--color-accent); transform: translateY(-2px); }
.s-link { display: inline-block; margin-top: 1.25rem; font-weight: 700; }
.s-grid, .s-split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.s-grid > *, .s-split > * { min-width: 0; }
.s-grid img, .s-split img, .s-page-hero img, .s-hero img, .s-card img { width: 100%; border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }

.s-hero { min-height: 78vh; display: flex; align-items: stretch; padding: 0; background: var(--color-bg); }
.s-hero__slider, .s-hero__slide { width: 100%; min-height: 78vh; }
.s-hero__slide { display: flex; align-items: center; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.s-hero__slide:nth-child(even) { background: var(--color-surface); }
.s-hero__grid { display: grid; gap: 2rem; align-items: center; }
.s-hero__grid > * { min-width: 0; }
.s-hero__grid p:not(.s-kicker) { color: var(--color-muted); }
.s-hero .swiper-pagination { bottom: 1.25rem; }
.s-hero .swiper-pagination-bullet-active, .s-card-slider .swiper-pagination-bullet-active { background: var(--color-accent); }
.s-page-hero { min-height: 52vh; display: flex; align-items: center; }
.s-page-hero > .s-container:not(.s-grid) { position: relative; padding-block: 2rem; }
.s-page-hero > .s-container:not(.s-grid)::after { content: ""; display: block; width: min(18rem, 60vw); height: 4px; margin-top: 2rem; background: var(--color-accent); }

.s-about .s-split { border-block: 1px solid var(--color-muted); padding-block: 2rem; }
.s-topic--split .s-grid { align-items: stretch; }
.s-topic--split .s-grid > div { padding-block: 1rem; }
.s-topic--reverse img { aspect-ratio: 5 / 6; min-height: 100%; }

.s-numbered { max-width: 54rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.s-numbered li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--color-muted); counter-increment: steps; }
.s-numbered li::before { content: counter(steps, decimal-leading-zero); color: var(--color-accent); font: 700 1.5rem var(--font-heading); }
.s-numbered strong { display: block; font-family: var(--font-heading); }

.s-tiles, .s-cards { display: grid; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.s-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent); background: var(--color-bg); }
.s-card > span:first-child { color: var(--color-accent); font-weight: 700; letter-spacing: .12em; margin-bottom: 1rem; }
.s-cards .s-card:nth-child(2) { background: var(--color-text); color: var(--color-bg); }
.s-cards .s-card:nth-child(2) p { color: inherit; }

.s-asides { display: grid; gap: 1rem; align-items: start; margin: 2rem 0; }
.s-asides aside { padding: 1.25rem; border-left: 4px solid var(--color-accent); background: var(--color-bg); }
.s-text-columns { display: grid; gap: 1.5rem; margin-top: 2rem; }
.s-text-columns > div { padding-top: 1.25rem; border-top: 1px solid var(--color-muted); }

.s-wide-image { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin: 2rem 0; border-radius: 0; }
.s-card-slider { margin-top: 2rem; padding-bottom: 3.5rem; overflow: hidden; }
.s-card-slider .swiper-wrapper { align-items: stretch; }
.s-card-slider .swiper-slide { height: auto; }
.s-card-slider .s-card { padding: 0 0 1.75rem; }
.s-card-slider .s-card h3, .s-card-slider .s-card p { margin-inline: 1.25rem; }
.s-card-slider .s-card h3 { margin-top: 1.25rem; }
.s-card-slider .swiper-button-prev, .s-card-slider .swiper-button-next { top: auto; bottom: 0; width: 2.5rem; height: 2.5rem; border: 1px solid var(--color-accent); color: var(--color-accent); background: var(--color-bg); }
.s-card-slider .swiper-button-prev { left: 0; }
.s-card-slider .swiper-button-next { right: 0; }
.s-card-slider .swiper-button-prev::after, .s-card-slider .swiper-button-next::after { font-size: .9rem; font-weight: 700; }

.s-timeline { position: relative; max-width: 48rem; margin: 2rem 0 0; padding: 0 0 0 3.5rem; list-style: none; counter-reset: timeline; }
.s-timeline::before { content: ""; position: absolute; inset: 0 auto 0 1.1rem; width: 1px; background: var(--color-muted); }
.s-timeline li { position: relative; padding: 0 0 1.5rem 1.25rem; counter-increment: timeline; }
.s-timeline li::before { content: counter(timeline); position: absolute; left: -3.65rem; top: 0; display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }

.s-metrics { display: grid; gap: 1px; margin: 2rem 0; background: var(--color-muted); border: 1px solid var(--color-muted); }
.s-metrics > div { display: flex; flex-direction: column; padding: 1.5rem; background: var(--color-bg); }
.s-metrics strong { color: var(--color-accent); font: 700 clamp(2.5rem, 7vw, 4.5rem) var(--font-heading); line-height: 1; }
.s-metrics span { margin-top: .75rem; color: var(--color-muted); }

.accordion { margin-top: 2rem; --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.accordion-item { border-color: var(--color-muted); background: var(--color-bg); }
.accordion-button { color: var(--color-text); background: var(--color-bg); font: 700 1rem var(--font-heading); box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--color-on-accent); background: var(--color-accent); }
.accordion-button:focus { border-color: var(--color-accent); }
.table-responsive { margin: 2rem 0; border: 1px solid var(--color-muted); }
.table { min-width: 42rem; margin: 0; --bs-table-bg: var(--color-bg); --bs-table-color: var(--color-text); --bs-table-border-color: var(--color-muted); }
.table thead th { color: var(--color-on-accent); background: var(--color-accent); }
.table th, .table td { padding: .9rem 1rem; vertical-align: middle; }

.s-topic--quote { color: var(--color-on-accent); background: var(--color-accent) !important; }
.s-topic--quote .s-kicker, .s-topic--quote a { color: var(--color-on-accent); }
.s-topic--quote blockquote { max-width: 56rem; margin: 1.5rem 0; font: 700 clamp(1.75rem, 4vw, 3rem)/1.25 var(--font-heading); }
.s-topic--quote p { color: inherit; }
.s-proof .s-metrics { grid-template-columns: repeat(2, 1fr); }

.s-pricing { display: grid; gap: 1.25rem; margin-top: 2.5rem; align-items: stretch; }
.s-price-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border: 1px solid var(--color-muted); background: var(--color-bg); }
.s-price-card--featured { border: 3px solid var(--color-accent); }
.s-badge { align-self: flex-start; margin: -1.75rem 0 1.25rem; padding: .35rem .75rem; color: var(--color-on-accent); background: var(--color-accent); font-weight: 700; }
.s-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-muted); }
.s-price strong { color: var(--color-accent); font: 700 2.5rem var(--font-heading); }
.s-price-card ul { padding-left: 1.25rem; margin-bottom: 1.75rem; }
.s-price-card li + li { margin-top: .45rem; }
.s-price-card .s-btn { width: 100%; margin-top: auto; }
.s-offer__note { max-width: none; margin-top: 1rem; padding: 1rem; border-left: 4px solid var(--color-accent); }

.s-contact, .s-cta { color: var(--color-bg); background: var(--color-text) !important; }
.s-contact .s-kicker, .s-contact a, .s-cta .s-kicker, .s-cta a:not(.s-btn) { color: var(--color-bg); }
.s-contact > .s-container, .s-cta > .s-container { max-width: var(--container); }
.s-contact .s-form { display: grid; gap: 0 1rem; max-width: 50rem; margin: 2rem auto; padding: 1.75rem; color: var(--color-text); background: var(--color-surface); }
.s-contact .s-form input, .s-contact .s-form textarea { background: var(--color-bg); }
.s-form__field--full, .s-contact .s-form > button, .s-contact .s-form__status { grid-column: 1 / -1; }
.s-check { display: flex !important; gap: .65rem; align-items: flex-start; }
.s-check input { flex: 0 0 auto; width: auto; margin-top: .3rem; }
.s-contact iframe, .s-contact-page iframe { display: block; width: 100%; border: 1px solid var(--color-muted) !important; }
.s-contact iframe { max-width: 50rem; margin: 2rem auto 0; }
.s-contact__details { max-width: 50rem; margin: 1.5rem auto; padding-left: 1rem; border-left: 4px solid var(--color-accent); }
.s-contact-card { align-self: stretch; padding: 1.75rem; border: 1px solid var(--color-muted); background: var(--color-bg); }
.s-contact-card h3:not(:first-child) { margin-top: 1.5rem; }
.s-cta { text-align: left; }
.s-mobile-cta { display: none; }

@media (min-width: 576px) {
  .s-tiles, .s-cards, .s-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-contact .s-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .s-hero__grid, .s-grid--6-6, .s-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .s-text-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .s-asides { grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr) minmax(8rem, 1fr); }
  .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-proof .s-metrics, .s-topic--metrics .s-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .s-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-price-card--featured { transform: translateY(-.75rem); }
  .s-story .s-grid, .s-team .s-grid, .s-topic--reverse .s-grid { gap: 4.5rem; }
}
@media (max-width: 575px) {
  .s-container { padding-inline: 1rem; }
  .s-hero__grid { gap: 1.25rem; }
  .s-hero__grid img { max-height: 32vh; }
  .s-numbered li { grid-template-columns: 2.5rem 1fr; }
  .s-wide-image { aspect-ratio: 4 / 3; }
  .s-proof .s-metrics { grid-template-columns: 1fr; }
  .s-cookie__actions { flex-direction: column; }
  .s-cookie__actions .s-btn, .s-cookie__configure { width: 100%; }
  .s-mobile-cta { display: block; position: fixed; right: 1rem; bottom: 1rem; z-index: 1020; }
}
