/* Product deals and discount alerts — bundle offers
   палитра: тёмная-винная | стиль: линейный | код: утилитарный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #171114;
  --color-text: #f4eef1;
  --color-muted: #a4939b;
  --color-accent: #d4557f;
  --color-surface: #221a1e;
  --color-on-accent: #171114;

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

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

/* кнопки */
.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(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
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(5rem, 10vw, 8.5rem) 0; border-top: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent); }
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.is-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.is-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.is-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: .75rem; }

main section > .s-container > h2,
main section > .s-container > p:not(.s-section__eyebrow) { max-width: 46rem; }

.s-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 8vw, 7rem);
}
.s-hero .row { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.s-hero h1 { max-width: 12ch; }
.s-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  border-block: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
}

.s-about img, .s-fit img, .s-history img, .s-team img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0;
}
.s-business img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 0; }

.accordion { max-width: 52rem; margin-top: 2.5rem; }
.accordion-item { color: var(--color-text); background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.accordion-button { padding: 1.35rem 0; color: var(--color-text); background: transparent; font: 600 1.1rem var(--font-heading); box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--color-accent); background: transparent; }
.accordion-button::after { filter: invert(1); }
.accordion-body { padding: 0 0 1.5rem; max-width: 68ch; }

.s-stats .row, .s-proof .row { margin-block: 2.5rem; }
.s-stats .row > div, .s-proof .row > div { padding-bottom: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-stats [data-count], .s-proof [data-count] { display: block; color: var(--color-accent); font: 700 clamp(2.8rem, 7vw, 5rem)/1 var(--font-heading); }
.s-stats .row p, .s-proof .row p { margin: .6rem 0 0; color: var(--color-muted); }

.s-slider__frame { position: relative; margin-block: 2.5rem; padding-bottom: 3.75rem; }
.s-slider .swiper-slide, .s-offer .swiper-slide {
  height: auto;
  padding: 0 0 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
}
[data-slider-prev], [data-slider-next] {
  position: absolute; bottom: 0; padding: .45rem .8rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  background: transparent; color: var(--color-text); cursor: pointer;
}
[data-slider-prev] { left: 0; }
[data-slider-next] { right: 0; }
.swiper-pagination-bullet { background: var(--color-muted); }
.swiper-pagination-bullet-active { background: var(--color-accent); }

.s-gallery figure { display: flex; flex-direction: column; margin-bottom: 0; }
.s-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.s-gallery figcaption { flex: 1; padding: 1.4rem 0 1.6rem; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }

.table-responsive { margin-top: 2.5rem; border-block: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--color-text); --bs-table-border-color: color-mix(in srgb, var(--color-muted) 30%, transparent); margin: 0; min-width: 42rem; }
.table th, .table td { padding: 1rem; vertical-align: middle; }
.table thead th { color: var(--color-accent); }

.s-timeline__list { position: relative; max-width: 50rem; margin: 3rem 0 2rem; padding: 0; list-style: none; counter-reset: step; }
.s-timeline__list::before { content: ''; position: absolute; top: 0; bottom: 0; left: 1.45rem; width: 1px; background: var(--color-accent); }
.s-timeline__list li { position: relative; counter-increment: step; padding: 0 0 2.5rem 5rem; }
.s-timeline__list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 3rem; padding-block: .35rem; background: var(--color-bg); color: var(--color-accent); font-weight: 700; text-align: center; border: 1px solid var(--color-accent); }

.s-asides aside { border-top: 2px solid var(--color-accent); padding-top: 1.25rem; }
.s-asides aside strong { display: block; color: var(--color-accent); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.s-asides aside p { font-size: .92rem; color: var(--color-muted); }

.s-wide-image img { width: 100%; margin: 2.5rem 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.s-quote { background: var(--color-accent) !important; color: var(--color-on-accent); }
.s-quote blockquote { max-width: 52rem; margin: 0 0 3rem; }
.s-quote blockquote::before { content: 'Criterio'; display: block; margin-bottom: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.s-quote blockquote p { font: 700 clamp(2rem, 5vw, 3.8rem)/1.15 var(--font-heading); max-width: none; }
.s-quote blockquote footer { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.s-quote > .s-container > p { margin-left: auto; }

.s-two-columns .row { margin-top: 2.5rem; }
.s-two-columns .row > div:first-child { border-top: 2px solid var(--color-accent); padding-top: 1.5rem; }
.s-two-columns .row > div:last-child { padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }

.s-cards .row, .s-principles .row, .s-process .row { margin-top: 2.5rem; align-items: stretch; }
.s-cards article, .s-principles article, .s-process article { display: flex; flex-direction: column; padding-bottom: 2rem; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-cards article h3, .s-principles article h3, .s-process article h3 { color: var(--color-accent); }

.s-bento__grid { display: grid; gap: 1px; margin-top: 2.5rem; background: color-mix(in srgb, var(--color-muted) 30%, transparent); border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-bento__grid article { min-height: 11rem; padding: 1.5rem; background: var(--color-bg); }
.s-bento__main { min-height: 22rem !important; }
.s-bento__main h3 { color: var(--color-accent); font-size: clamp(1.5rem, 3vw, 2.2rem); }

.s-numbered ol { max-width: 52rem; margin: 3rem 0; padding: 0; list-style: none; counter-reset: control; }
.s-numbered li { counter-increment: control; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.5rem; padding: 1.75rem 0; border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-numbered li::before { content: counter(control, decimal-leading-zero); grid-row: 1 / 3; color: var(--color-accent); font: 700 1.5rem var(--font-heading); }
.s-numbered li p { margin: 0; }

.s-tiles .row { margin-block: 2.5rem; align-items: stretch; }
.s-tiles article { display: grid; grid-template-columns: 3.5rem 1fr; align-content: start; padding-block: 1.75rem; border-block: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-tiles article span { grid-row: 1 / 3; color: var(--color-accent); font-weight: 700; }
.s-tiles article p { margin: 0; }

.s-plan { position: relative; display: flex !important; flex-direction: column; padding: 2rem !important; border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent) !important; background: var(--color-bg); }
.s-plan ul { padding-left: 1.2rem; margin-bottom: 2rem; }
.s-plan .s-btn { margin-top: auto; align-self: stretch; }
.s-plan__price { color: var(--color-accent); font: 700 clamp(2rem, 5vw, 3.25rem)/1 var(--font-heading); }
.s-plan__price small { display: block; margin-top: .5rem; color: var(--color-muted); font: 400 .85rem var(--font-body); }
.s-plan--featured { border: 2px solid var(--color-accent) !important; }
.s-plan__badge { align-self: flex-start; margin: -2rem 0 1.5rem -2rem; padding: .35rem .75rem; background: var(--color-accent); color: var(--color-on-accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.s-plans .row > .s-plan { width: calc(100% - var(--bs-gutter-x)); margin-inline: calc(var(--bs-gutter-x) * .5); }

.s-contacts .row, .s-contact-page .row { margin-top: 2.5rem; }
.s-contacts form, .s-contact-page form { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); background: var(--color-surface); }
.s-contact-page address { padding: 1.5rem 0; border-block: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }
.s-location iframe { display: block; margin-top: 2rem; border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent) !important; }

@media (min-width: 576px) {
  .s-container { padding-inline: 1.5rem; }
  .s-bento__grid { grid-template-columns: repeat(2, 1fr); }
  .s-bento__main { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .s-gallery .row > *, .s-cards .row > *, .s-principles .row > *, .s-process .row > * { display: flex; flex-direction: column; }
  .s-bento__grid { grid-template-columns: repeat(4, 1fr); }
  .s-bento__main { grid-column: span 2; grid-row: span 2; }
  .s-fit .row > :first-child { padding-right: clamp(2rem, 5vw, 5rem); }
  .s-history .row > :last-child { transform: translateY(2rem); }
  .s-team .row > :first-child { transform: translateY(-2rem); }
}

@media (min-width: 992px) {
  .s-hero .row > :last-child { padding-top: 1rem; }
  .s-about .row > :first-child, .s-business .row > :last-child { padding-inline: clamp(2rem, 5vw, 5rem); }
  .s-plans .row > .s-plan { width: calc(33.333333% - var(--bs-gutter-x)); }
  .s-plan--featured { transform: translateY(-1rem); }
  .s-contact-page h1 { max-width: 13ch; }
}

@media (max-width: 575.98px) {
  section { padding-block: 5rem; }
  .s-hero { min-height: 92vh; }
  .u-flex .s-btn { width: 100%; }
  .s-stats .row > div, .s-proof .row > div { flex: 0 0 100%; max-width: 100%; }
  .s-timeline__list li { padding-left: 4.25rem; }
  .s-numbered li { grid-template-columns: 2.75rem 1fr; gap: 0 .75rem; }
  .s-tiles article { grid-template-columns: 3rem 1fr; }
  .s-cookie__actions { flex-direction: column; align-items: stretch; }
  .s-cookie__actions .s-btn { width: 100%; }
}
