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

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

  --radius: 8px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .07);
  --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.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
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(4rem, 8vw, 7rem) 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.has-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.has-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.has-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-section--surface { background: var(--color-surface); }
.ct-kicker {
  margin: 0 0 .65rem;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ct-lead { color: var(--color-muted); margin-bottom: 2rem; }
.ct-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.ct-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}
.ct-section--surface .ct-card { background: var(--color-bg); }
.ct-card p:last-child { margin-bottom: 0; }
.ct-card > .ct-btn:last-child { margin-top: auto; }

/* 01: центр-оверлей */
.ct-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 82vh;
  align-items: center;
  overflow: hidden;
  text-align: center;
}
.ct-hero__bg, .ct-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-hero__bg { z-index: -2; object-fit: cover; }
.ct-hero__shade { z-index: -1; background: rgb(13 16 48 / .76); }
.ct-hero__content { display: grid; justify-items: center; padding-block: 5rem; }
.ct-hero__content p:not(.ct-kicker) { max-width: 48rem; }
.ct-hero .ct-actions { justify-content: center; }

/* 02 и внутренние страницы: текст / фото */
.ct-split, .ct-media { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ct-split > *, .ct-media > * { min-width: 0; }
.ct-split img, .ct-media img, .ct-page-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ct-page-hero { min-height: 62vh; display: flex; align-items: center; background: var(--color-bg); }
.ct-page-hero .ct-container { width: 100%; }

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

/* 04 и FAQ: аккордеон */
.ct-accordion { max-width: 54rem; margin-top: 2rem; }
.ct-accordion .accordion-item { border: 0; border-radius: var(--radius); background: transparent; overflow: hidden; }
.ct-accordion .accordion-item + .accordion-item { margin-top: .75rem; }
.ct-accordion .accordion-button, .ct-accordion .accordion-body {
  color: var(--color-text);
  background: var(--color-surface);
}
.ct-section--surface .ct-accordion .accordion-button,
.ct-section--surface .ct-accordion .accordion-body { background: var(--color-bg); }
.ct-accordion .accordion-button { padding: 1.25rem 1.5rem; font-family: var(--font-heading); box-shadow: none; }
.ct-accordion .accordion-button:not(.collapsed) { color: var(--color-accent); }
.ct-accordion .accordion-button::after { filter: invert(84%) sepia(70%) saturate(1937%) hue-rotate(329deg) brightness(104%); }
.ct-accordion .accordion-body { padding: 0 1.5rem 1.5rem; color: var(--color-muted); }

/* 05: счётчики */
.ct-stats { display: grid; gap: 1rem; margin-top: 2rem; }
.ct-stat { padding: 1.75rem 0; border-top: 1px solid var(--color-muted); }
.ct-stat strong { display: block; color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1; }
.ct-stat span { display: block; margin: .6rem 0; font-weight: 700; }
.ct-stat p { color: var(--color-muted); font-size: 1rem; }

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

/* 07: цитата-заливка */
.ct-quote { background: var(--color-accent) !important; color: var(--color-on-accent); }
.ct-quote .ct-kicker { color: var(--color-on-accent); opacity: .72; }
.ct-quote blockquote { max-width: 55rem; margin: 1.5rem 0 2rem; font-family: var(--font-heading); font-size: clamp(1.65rem, 4vw, 3rem); line-height: 1.25; }

/* 08: бенто */
.ct-bento { display: grid; gap: 1rem; margin-top: 2rem; }
.ct-bento .ct-card { min-height: 11rem; }
.ct-bento__main { background: var(--color-accent); color: var(--color-on-accent); }

/* 09: три карточки */
.ct-grid { display: grid; gap: 1.25rem; align-items: stretch; margin: 2rem 0; }
.ct-grid .ct-card { height: 100%; padding: 0 0 2rem; overflow: hidden; }
.ct-grid .ct-card > :not(img) { margin-inline: 2rem; }
.ct-grid .ct-card img { width: 100%; margin-bottom: 1.5rem; aspect-ratio: 3 / 2; object-fit: cover; }

/* 10: галерея */
.ct-gallery { display: grid; gap: 1.25rem; margin: 2rem 0; }
.ct-gallery figure { margin: 0; display: flex; flex-direction: column; height: 100%; background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ct-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ct-gallery figcaption { padding: 1.25rem; color: var(--color-muted); }
.ct-gallery figcaption strong { color: var(--color-text); }

/* 11: текст с выносками */
.ct-asides { display: grid; gap: 1.5rem; margin-top: 2rem; }
.ct-asides aside { padding: 1.25rem; border-left: 4px solid var(--color-accent); background: var(--color-bg); }
.ct-asides aside strong, .ct-asides aside span { display: block; }
.ct-asides aside span { color: var(--color-muted); font-size: .9rem; }

/* 12: таймлайн */
.ct-timeline { position: relative; max-width: 48rem; margin: 2.5rem 0 2rem; padding: 0; list-style: none; }
.ct-timeline::before { content: ''; position: absolute; top: 1rem; bottom: 1rem; left: 1.45rem; width: 2px; background: var(--color-accent); }
.ct-timeline li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.ct-timeline li > span { z-index: 1; display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-weight: 800; }
.ct-timeline h3 { margin-top: .65rem; }

/* 13: крупный нумерованный список */
.ct-numbered { margin: 2rem 0; padding: 0; list-style: none; counter-reset: filters; }
.ct-numbered li { position: relative; min-height: 5rem; padding: 1.5rem 0 1.5rem 4.5rem; border-top: 1px solid var(--color-muted); counter-increment: filters; }
.ct-numbered li::before { content: counter(filters, decimal-leading-zero); position: absolute; left: 0; color: var(--color-accent); font-family: var(--font-heading); font-size: 2rem; }
.ct-numbered li p { margin-bottom: 0; color: var(--color-muted); }

/* 15: четыре плитки */
.ct-tiles { display: grid; gap: 1rem; margin: 2rem 0; }
.ct-tiles .ct-card > span { margin-bottom: 1.5rem; color: var(--color-accent); font-family: var(--font-heading); font-size: 2rem; }

/* 16: таблица */
.table-responsive { margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.ct-table { min-width: 43rem; margin: 0; color: var(--color-text); background: var(--color-surface); }
.ct-table > :not(caption) > * > * { padding: 1rem; color: inherit; background: transparent; border-color: color-mix(in srgb, var(--color-muted) 28%, transparent); }
.ct-table thead th { color: var(--color-accent); }

/* 18: слайдер */
.ct-slider { margin-top: 2rem; padding: 0 0 3.5rem; }
.ct-slider .swiper-wrapper { align-items: stretch; }
.ct-slider .swiper-slide { height: auto; padding: 0 0 2rem; overflow: hidden; }
.ct-slider .swiper-slide > :not(img) { margin-inline: 2rem; }
.ct-slider img { width: 100%; margin-bottom: 1.5rem; aspect-ratio: 3 / 2; object-fit: cover; }
.ct-slider .swiper-button-prev, .ct-slider .swiper-button-next { top: auto; bottom: 0; width: 2.5rem; height: 2.5rem; color: var(--color-on-accent); background: var(--color-accent); border-radius: 50%; }
.ct-slider .swiper-button-prev { left: 0; }
.ct-slider .swiper-button-next { right: 0; }
.ct-slider .swiper-button-prev::after, .ct-slider .swiper-button-next::after { font-size: .9rem; font-weight: 800; }
.ct-slider .swiper-pagination { bottom: .5rem; }
.ct-slider .swiper-pagination-bullet { background: var(--color-muted); opacity: 1; }
.ct-slider .swiper-pagination-bullet-active { background: var(--color-accent); }

/* 19: кейсы до / после */
.ct-cases { display: grid; gap: 1rem; margin-top: 2rem; }
.ct-cases .ct-card { display: grid; gap: 1.5rem; }
.ct-cases .ct-card > div:last-child { padding-top: 1.5rem; border-top: 1px solid var(--color-muted); }
.ct-cases h3 { color: var(--color-accent); }

/* 20: тарифы */
.ct-pricing { display: grid; gap: 1.25rem; align-items: stretch; margin-top: 2rem; }
.ct-price { position: relative; height: 100%; }
.ct-price ul { margin: 1rem 0 2rem; padding-left: 1.2rem; }
.ct-price li + li { margin-top: .45rem; }
.ct-price__value { margin-bottom: 0; color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1; }
.ct-price--featured { outline: 3px solid var(--color-accent); }
.ct-badge { align-self: flex-start; margin: -3.15rem 0 1.4rem; padding: .4rem .8rem; border-radius: var(--radius); background: var(--color-accent); color: var(--color-on-accent); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ct-pricing__note { margin-top: 1.5rem; color: var(--color-muted); }

/* 22: контакты, формы и карта */
.ct-contact-grid { display: grid; gap: 1.5rem; align-items: stretch; margin-top: 2rem; }
.ct-contact__details { font-size: 1.05rem; }
.ct-contact__details address { font-style: normal; }
.ct-contact__details a { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; }
.ct-form { display: grid; gap: 0 1rem; padding: 2rem; border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); }
.ct-section--surface .ct-form { background: var(--color-bg); }
.ct-check { display: flex; gap: .65rem; align-items: flex-start; }
.ct-check input { width: auto; margin-top: .35rem; }
.ct-map { margin-top: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ct-map iframe { display: block; }

@media (min-width: 576px) {
  .ct-stats, .ct-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-form__wide { grid-column: 1 / -1; }
  .ct-cases .ct-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-cases .ct-card > div:last-child { padding-top: 0; padding-left: 1.5rem; border-top: 0; border-left: 1px solid var(--color-muted); }
}

@media (min-width: 768px) {
  .ct-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-media--five-seven { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ct-columns, .ct-gallery, .ct-grid--three, .ct-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .ct-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(10rem, auto); }
  .ct-bento__main { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
  .ct-asides { grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr) minmax(9rem, 1fr); align-items: start; }
  .ct-asides aside:last-child { margin-top: 8rem; }
  .ct-contact-grid { grid-template-columns: minmax(16rem, 4fr) minmax(0, 7fr); }
}

@media (min-width: 992px) {
  .ct-page-hero { min-height: 70vh; }
  .ct-wide-image { aspect-ratio: 2 / 1; }
  .ct-pricing { gap: 1.5rem; padding-top: 1rem; }
  .ct-price--featured { transform: translateY(-1rem); }
  .ct-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-cases .ct-card { grid-template-columns: 1fr; }
  .ct-cases .ct-card > div:last-child { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--color-muted); }
}

@media (max-width: 575px) {
  .ct-container { padding-inline: 1rem; }
  .ct-actions, .ct-actions .ct-btn, .ct-pricing .ct-btn { width: 100%; }
  .ct-card, .ct-form { padding: 1.35rem; }
  .ct-cookie__actions { flex-direction: column; align-items: stretch; }
  .ct-cookie__actions .ct-btn { width: 100%; }
}
