/* Wearable tech and fitness trackers — budget fitness bands
   палитра: тёмная-глубокая | стиль: острый-строгий | код: префикс-двухбуквенный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #101319;
  --color-text: #eef1f6;
  --color-muted: #9aa3b2;
  --color-accent: #4c8dff;
  --color-surface: #1a1f29;
  --color-on-accent: #08111f;

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

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

*, *::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; }

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

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

/* Секционные раскладки: mobile-first, по порядку страниц */
.ct-hero {
  min-height: 78vh;
  padding: 0;
  display: flex;
  align-items: stretch;
  background: var(--color-bg);
}
.ct-hero__slider,
.ct-hero__slider > .swiper-wrapper,
.ct-hero__slide { min-height: 78vh; }
.ct-hero__slide { display: flex; align-items: center; padding: 3.5rem 0 4.5rem; }
.ct-hero__grid { display: grid; gap: 2rem; align-items: center; }
.ct-hero__grid > div { position: relative; z-index: 1; }
.ct-hero__grid img,
.ct-page-hero img,
.ct-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--color-muted);
}
.ct-hero .swiper-pagination-bullet { background: var(--color-text); opacity: .45; }
.ct-hero .swiper-pagination-bullet-active { background: var(--color-accent); opacity: 1; }

.ct-split { display: grid; gap: 2rem; align-items: center; }
#about .ct-split img { border-left: .4rem solid var(--color-accent); }
#topic-01 .ct-split img { border-bottom: .4rem solid var(--color-accent); }

.ct-accordion { margin-top: 2rem; border-top: 1px solid var(--color-muted); }
.ct-accordion .accordion-item { color: var(--color-text); background: transparent; border: 0; border-bottom: 1px solid var(--color-muted); border-radius: 0; }
.ct-accordion .accordion-button { padding: 1.25rem 0; color: var(--color-text); background: transparent; box-shadow: none; font: 600 1.1rem/1.3 var(--font-heading); }
.ct-accordion .accordion-button:not(.collapsed) { color: var(--color-accent); }
.ct-accordion .accordion-button::after { filter: invert(1); }
.ct-accordion .accordion-body { padding: 0 0 1.4rem; color: var(--color-muted); }

.ct-gallery { display: grid; gap: 1rem; margin-top: 2rem; }
.ct-gallery figure { margin: 0; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--color-muted); background: var(--color-bg); }
.ct-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.ct-gallery figcaption { flex: 1; padding: 1.25rem; color: var(--color-muted); }
.ct-gallery figcaption strong { display: block; color: var(--color-text); margin-bottom: .25rem; }

.ct-wide-media { width: 100%; max-height: 34rem; margin: 2rem 0; aspect-ratio: 2 / 1; object-fit: cover; border: 1px solid var(--color-muted); border-radius: 0; }

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

.ct-stats { display: grid; gap: 1px; margin: 2rem 0; background: var(--color-muted); border: 1px solid var(--color-muted); }
.ct-stats article { min-height: 10rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--color-bg); }
.ct-stats strong { color: var(--color-accent); font: 700 clamp(2.8rem, 8vw, 4.8rem)/1 var(--font-heading); }
.ct-stats span { max-width: 18ch; }

.ct-card-slider { position: relative; margin-top: 2rem; padding-bottom: 3.5rem; }
.ct-card-slider .swiper { padding-bottom: 2.5rem; }
.ct-card-slider .swiper-wrapper { align-items: stretch; }
.ct-card-slider .swiper-slide { height: auto; }
.ct-card,
.ct-price {
  padding: 1.75rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  background: var(--color-bg);
}
.ct-card { display: flex; flex-direction: column; height: 100%; }
.ct-card img { width: calc(100% + 3.5rem); max-width: none; margin: -1.75rem -1.75rem 1.4rem; aspect-ratio: 4 / 3; object-fit: cover; }
.ct-slider__prev, .ct-slider__next { position: absolute; bottom: 0; width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-accent); background: var(--color-bg); color: var(--color-accent); cursor: pointer; }
.ct-slider__prev { right: 3.25rem; }
.ct-slider__next { right: 0; }
.ct-card-slider .swiper-pagination { text-align: left; bottom: .8rem; }
.ct-card-slider .swiper-pagination-bullet { background: var(--color-muted); }
.ct-card-slider .swiper-pagination-bullet-active { background: var(--color-accent); }

.ct-cards { display: grid; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.ct-cards .ct-card { border-top: .3rem solid var(--color-accent); }

.ct-tiles { display: grid; gap: 1px; margin-top: 2rem; border: 1px solid var(--color-muted); background: var(--color-muted); }
.ct-tiles article { min-height: 15rem; padding: 1.75rem; background: var(--color-bg); }
.ct-tiles span { display: block; margin-bottom: 2.5rem; color: var(--color-accent); font: 700 1rem/1 var(--font-heading); letter-spacing: .14em; }

.ct-flow { display: grid; gap: 2rem; }
.ct-timeline { list-style: none; margin: 0; padding: 0 0 0 2.75rem; counter-reset: timeline; }
.ct-timeline li { position: relative; padding: 0 0 2.25rem 1.5rem; border-left: 1px solid var(--color-accent); counter-increment: timeline; }
.ct-timeline li::before { content: counter(timeline, decimal-leading-zero); position: absolute; left: -2.75rem; top: 0; width: 2.5rem; padding: .25rem 0; color: var(--color-on-accent); background: var(--color-accent); text-align: center; font-weight: 700; }
.ct-timeline li:last-child { padding-bottom: 0; }

.ct-number-list { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: number-list; }
.ct-number-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--color-muted); counter-increment: number-list; }
.ct-number-list li::before { content: counter(number-list, decimal-leading-zero); color: var(--color-accent); font: 700 1.5rem/1 var(--font-heading); }
.ct-number-list p { color: var(--color-muted); }

.ct-pricing { display: grid; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.ct-price { position: relative; display: flex; flex-direction: column; height: 100%; }
.ct-price ul { padding-left: 1.2rem; margin-bottom: 1.75rem; }
.ct-price li + li { margin-top: .45rem; }
.ct-price .ct-btn { margin-top: auto; width: 100%; }
.ct-price--featured { border: 2px solid var(--color-accent); }
.ct-price__badge { align-self: flex-start; margin: -1.75rem 0 1.25rem -1.75rem; padding: .45rem .8rem; color: var(--color-on-accent); background: var(--color-accent); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ct-price__value { color: var(--color-accent); font: 700 clamp(2.4rem, 7vw, 3.7rem)/1 var(--font-heading); }
.ct-price__value small { display: block; margin-top: .5rem; color: var(--color-muted); font: 500 .85rem/1.3 var(--font-body); }
.ct-pricing__note { margin-top: 1.5rem; color: var(--color-muted); }

#faq .ct-accordion, #service-faq .ct-accordion { max-width: 54rem; }
.ct-contact-grid { display: grid; gap: 2rem; align-items: start; }
.ct-contact-grid address { font-style: normal; font-size: 1.1rem; }
.ct-contact-grid iframe { display: block; width: 100%; border: 1px solid var(--color-muted) !important; }
.ct-contact-grid .ct-form { padding: 1.75rem; border: 1px solid var(--color-muted); background: var(--color-surface); }

.ct-page-hero { padding-block: clamp(4rem, 9vw, 7rem); }
.ct-page-hero .ct-split { align-items: center; }
#about-cta, #contact-next { border-block: 1px solid var(--color-muted); text-align: center; }
#about-cta p, #contact-next p { margin-inline: auto; }

@media (min-width: 576px) {
  .ct-stats { grid-template-columns: repeat(2, 1fr); }
  .ct-tiles { grid-template-columns: repeat(2, 1fr); }
  .ct-contact-grid .ct-form { padding: 2rem; }
}

@media (min-width: 768px) {
  .ct-hero__grid, .ct-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #topic-12 .ct-split { grid-template-columns: 5fr 7fr; }
  .ct-split--reverse img { order: 0; }
  .ct-gallery, .ct-cards, .ct-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .ct-price--featured { transform: translateY(-.75rem); }
}

@media (min-width: 992px) {
  .ct-hero__grid { grid-template-columns: 6fr 5fr; gap: 4rem; }
  .ct-flow { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .ct-flow > :first-child { position: sticky; top: 7rem; }
  .ct-stats { grid-template-columns: repeat(4, 1fr); }
  .ct-cards, .ct-gallery, .ct-pricing { gap: 1.25rem; }
  .ct-price { padding: 2rem; }
  .ct-price__badge { margin-top: -2rem; margin-left: -2rem; }
}

@media (max-width: 575px) {
  .ct-hero__slide { padding-top: 2.5rem; }
  .ct-hero__grid img { max-height: 38vh; }
  .ct-btn { width: 100%; }
  .ct-number-list li { grid-template-columns: 2.6rem 1fr; }
  .ct-price--featured { margin-top: .5rem; }
}
