/* Wearable tech and fitness trackers — health monitoring for seniors
   палитра: монохром-синий | стиль: пилюли | код: сокращённый
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #f7f9fc;
  --color-text: #101a2c;
  --color-muted: #52607a;
  --color-accent: #1b3a8f;
  --color-surface: #e8edf6;
  --color-on-accent: #ffffff;

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

  --radius: 999px;
  --shadow: 0 10px 30px rgb(0 0 0 / .16);
  --container: 70rem;
}

*, *::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.85rem, 3.5vw, 2.6rem); }
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; }

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

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

/* шапка */
.hd {
  position: sticky; top: 0; z-index: 1030;
  background: var(--color-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent);
}
.hd-tra { background: transparent; border-bottom-color: transparent; }
.hd-inn { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.hd-bra { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.nv-lis { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nv-lin { 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; }
.nv-lin:hover { background: var(--color-surface); }
.nv-lin.js-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.nv-spl { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.hd-bur { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.hd-bur span { width: 22px; height: 2px; background: var(--color-text); }

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

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

/* правовые страницы */
.lg { background: var(--color-bg); }
.lg-inn { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.lg h2 { margin-top: 2.2rem; }
.lg h3 { margin-top: 1.4rem; }
.lg-upd { color: var(--color-muted); font-size: .9rem; }
.lg-tab { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.lg-tab th, .lg-tab td { text-align: left; padding: .7rem .9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); vertical-align: top; }
.lg-tab th { width: 34%; font-weight: 600; }
.lg-bac { margin-top: 2.5rem; }

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

/* плашка cookie */
.ck {
  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;
}
.ck.js-visible { transform: translateY(0); }
.ck-inn { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.ck-tex p { margin: 0; font-size: .92rem; max-width: 70ch; }
.ck-act { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.ck-con { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ck-opt { display: grid; gap: .6rem; margin-top: 1rem; }
.ck-opt { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.ck-opt span { grid-column: 2; font-weight: 400; opacity: .75; }
/* анимации: без 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) {
  .ft-inn { grid-template-columns: 1fr 1fr; }
  .ck-inn { flex-direction: column; align-items: stretch; }
  .ck-act { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .hd-bur { display: flex; }
  .hd-cta { display: none; }
  .nv { display: none; width: 100%; }
  .nv.js-open { display: block; }
  .nv-lis { flex-direction: column; padding-block: .6rem; }
  .hd-inn { flex-wrap: wrap; }
  .ft-inn { grid-template-columns: 1fr; gap: 2rem; }
  .ft-bot, .ft-row { flex-direction: column; }
  .ck-act .bt { flex: 1 1 auto; }
}

/* Секционные раскладки */
.sec { position: relative; }
.sec-alt { background: var(--color-surface); }
.eyb {
  margin-bottom: .6rem;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bt-sec { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.bt-sec:hover { background: var(--color-accent); color: var(--color-on-accent); transform: translateY(-2px); }
.crd {
  display: flex;
  flex-direction: column;
  padding: 2rem 2.25rem;
  border-radius: 28px;
  background: var(--color-bg);
  box-shadow: var(--shadow);
}
.crd p:last-child { margin-bottom: 0; }
.sec img, .pg-hero img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.sec .row > [class*="col-"] { min-width: 0; }

/* Первый экран: центрированный оверлей без внешнего ресурса */
.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: var(--color-on-accent);
  background:
    linear-gradient(rgb(16 26 44 / .72), rgb(27 58 143 / .78)),
    url("../assets/images/p01.webp") center / cover no-repeat,
    var(--color-accent);
}
.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgb(255 255 255 / .24);
  border-radius: var(--radius);
}
.hero::before { width: min(62vw, 48rem); height: min(62vw, 48rem); left: -18rem; top: -22rem; }
.hero::after { width: min(40vw, 30rem); height: min(40vw, 30rem); right: -10rem; bottom: -13rem; }
.hero-in { max-width: 58rem; text-align: center; }
.hero-in p { margin-inline: auto; }
.hero .eyb { color: var(--color-on-accent); }
.hero .bt-sec { color: var(--color-on-accent); border-color: var(--color-on-accent); }
.hero .bt-sec:hover { background: var(--color-on-accent); color: var(--color-accent); }

/* Главная: уникальные оси секций */
#about img, #topic-05 img, #topic-08 img { min-height: 22rem; }
.ben { display: grid; gap: 1.25rem; margin-top: 2rem; }
.ben .crd { min-height: 100%; }
.ben-big { background: var(--color-accent); color: var(--color-on-accent); }
#topic-02 img { aspect-ratio: 2 / 1; margin: 2rem 0; }
#topic-03 h2 { max-width: 23ch; }
#topic-03 .row { position: relative; margin-top: 2rem; }
#topic-03 .row::before { content: ""; position: absolute; inset-block: 0; left: 50%; width: 1px; background: var(--color-muted); opacity: .25; }
#topic-04 .crd { position: relative; overflow: hidden; padding-left: 3rem; }
#topic-04 .crd::before { content: ""; position: absolute; left: 1.35rem; top: 2rem; width: .65rem; height: 2.5rem; border-radius: var(--radius); background: var(--color-accent); }
.table-responsive { margin-top: 2rem; border-radius: 28px; box-shadow: var(--shadow); }
.table { margin: 0; color: var(--color-text); --bs-table-bg: var(--color-bg); --bs-table-striped-bg: var(--color-surface); }
.table > :not(caption) > * > * { padding: 1rem 1.15rem; border-color: var(--color-surface); }
.table thead th { color: var(--color-on-accent); background: var(--color-accent); }
#topic-07 .row { margin-block: 2rem; }
#topic-07 .row > div { display: flex; flex-direction: column; justify-content: center; min-height: 11rem; padding: 1.5rem; border-radius: 28px; background: var(--color-bg); box-shadow: var(--shadow); }
.cnt-num { color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; }
.sec-accent { background: var(--color-accent) !important; color: var(--color-on-accent); }
.sec-accent .eyb { color: var(--color-on-accent); }
.sec-accent blockquote, #social-proof blockquote { max-width: 27ch; margin: 2rem 0; font-family: var(--font-heading); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.25; }
.tml { position: relative; max-width: 48rem; margin: 2rem auto 0; padding: 0; list-style: none; counter-reset: steps; }
.tml::before { content: ""; position: absolute; top: 1rem; bottom: 1rem; left: 1.5rem; width: 2px; background: var(--color-accent); }
.tml li { position: relative; min-height: 5rem; padding: 0 0 1.5rem 5rem; counter-increment: steps; }
.tml li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: var(--radius); background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
.accordion { margin-top: 2rem; --bs-accordion-bg: var(--color-bg); --bs-accordion-color: var(--color-text); --bs-accordion-border-color: transparent; --bs-accordion-border-radius: 28px; --bs-accordion-inner-border-radius: 28px; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgb(27 58 143 / .25); --bs-accordion-active-bg: var(--color-accent); --bs-accordion-active-color: var(--color-on-accent); }
.accordion-item { margin-bottom: .8rem; overflow: hidden; border: 0; border-radius: 28px !important; box-shadow: 0 5px 16px rgb(0 0 0 / .09); }
.accordion-button { font-family: var(--font-heading); font-weight: 600; }
.use-swiper, .price-swiper { margin-top: 2rem; padding: .5rem .5rem 4rem; }
.use-swiper .swiper-slide, .price-swiper .swiper-slide { height: auto; }
.use-swiper .swiper-slide { min-height: 18rem; justify-content: center; }
.swiper-button-prev, .swiper-button-next { width: 2.8rem; height: 2.8rem; border: 0; border-radius: var(--radius); background: var(--color-accent); color: var(--color-on-accent); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1rem; font-weight: 700; }
.swiper-pagination-bullet-active { background: var(--color-accent); }
#topic-13 .crd { position: relative; min-height: 17rem; padding-top: 4rem; }
#topic-13 .crd::before { content: ""; position: absolute; top: 2rem; width: 3rem; height: .45rem; border-radius: var(--radius); background: var(--color-accent); }
#topic-14 figure { display: flex; flex-direction: column; margin: 0; }
#topic-14 figure img { aspect-ratio: 4 / 3; }
#topic-14 figcaption { flex: 1; padding: 1.25rem 1.4rem; border-radius: 0 0 28px 28px; background: var(--color-surface); }
#social-proof .cnt { display: grid; justify-items: center; text-align: center; }
#social-proof blockquote { max-width: 30ch; }

/* Тарифы */
.price-swiper .crd, #planes .crd { height: 100%; }
.price-swiper .crd ul, #planes .crd ul { padding-left: 1.2rem; margin-bottom: 1.75rem; }
.price-swiper .crd .bt, #planes .crd .bt { margin-top: auto; }
.crd-rec { outline: 3px solid var(--color-accent); outline-offset: -3px; transform: translateY(-.35rem); }
.tag { align-self: flex-start; margin: 0 0 1rem; padding: .35rem .85rem; border-radius: var(--radius); background: var(--color-accent); color: var(--color-on-accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pri { color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.pri span { display: block; margin-top: .45rem; color: var(--color-muted); font-family: var(--font-body); font-size: .85rem; font-weight: 500; }

/* Внутренние страницы */
.pg-hero { min-height: 84vh; display: flex; align-items: center; background: var(--color-surface); }
.pg-hero .row { width: calc(100% + var(--bs-gutter-x)); }
.pg-hero img { min-height: 24rem; }
#historia img { min-height: 25rem; }
#enfoque .col-md-4, #detalle .col-md-4 { position: relative; padding-top: 4rem; }
#enfoque .col-md-4::before, #detalle .col-md-4::before { content: ""; position: absolute; top: 2rem; width: 3rem; height: .45rem; border-radius: var(--radius); background: var(--color-accent); }
#equipo .crd, #principios .crd { height: 100%; }
#datos iframe { border-radius: 28px; box-shadow: var(--shadow); }
.frm { max-width: 56rem; padding: 2rem 2.25rem; border-radius: 28px; background: var(--color-surface); box-shadow: var(--shadow); }
.frm fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.frm legend { margin-bottom: 1rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }
.frm .form-control { border-radius: var(--radius); border-color: transparent; padding: .8rem 1rem; }
.frm textarea.form-control { border-radius: 28px; }

@media (min-width: 576px) {
  .ben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-act .bt { min-width: 12rem; }
}

@media (min-width: 768px) {
  .ben { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(11rem, auto)); }
  .ben-big { grid-row: span 2; grid-column: span 1; justify-content: center; }
  #topic-14 figure:nth-child(2) { transform: translateY(2rem); }
  #social-proof .cnt > p:last-child { max-width: 52rem; }
}

@media (min-width: 992px) {
  .ben { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ben-big { grid-column: span 2; grid-row: span 2; }
  #topic-08 .row { flex-direction: row-reverse; }
  #planes .row > article:nth-child(2) { transform: translateY(-.7rem); }
}

@media (max-width: 991px) {
  .crd-rec { transform: none; }
  .pg-hero { min-height: auto; }
}

@media (max-width: 767px) {
  .sec .row > [class*="col-"] { width: 100%; }
  #topic-03 .row::before { display: none; }
  #topic-14 figure:nth-child(2) { transform: none; }
  .swiper-button-prev, .swiper-button-next { display: none; }
  .frm { padding: 1.5rem; }
}

@media (max-width: 575px) {
  .hero { min-height: 84vh; }
  .hero .bt { width: 100%; }
  .crd { padding: 1.5rem; }
  #about img, #topic-05 img, #topic-08 img, .pg-hero img { min-height: 16rem; }
  #topic-02 img { aspect-ratio: 3 / 2; }
  #topic-07 .row > div { min-height: 9rem; }
  .tml li { padding-left: 4.25rem; }
  .frm { padding: 1.25rem; }
}
