:root {
  --navy: #16293C;
  --navy-soft: #6B7B8B;
  --navy-mute: #94A3B0;
  --cyan: #16BCD8;
  --cyan-dark: #0E9BB4;
  --cyan-soft: #E6F8FC;
  --yellow: #FFC529;
  --yellow-dark: #F0B00D;
  --line: #E6ECF1;
  --line-soft: #F1F5F8;
  --white: #FFFFFF;
  --surface: #F4F7F9;
  --placeholder: #D9D9D9;
  --container: 1180px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-sm: 0 2px 10px rgba(22, 41, 60, .05);
  --shadow-md: 0 12px 28px rgba(22, 41, 60, .12);
  --shadow-cyan: 0 10px 24px rgba(22, 188, 216, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  background-image:
    radial-gradient(720px 380px at 12% -6%, rgba(22, 188, 216, .10), transparent 70%),
    radial-gradient(620px 340px at 92% 4%, rgba(255, 197, 41, .12), transparent 72%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--cyan-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(22, 41, 60, .07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.logo__mark {
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform .35s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); }
.logo__text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.logo__text span { color: var(--navy); }

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 260px;
  height: 34px;
  padding: 0 4px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.search:focus-within { border-color: var(--cyan); background: var(--white); }
.search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--navy);
}
.search__input::placeholder { color: var(--navy-mute); }
.search__input:focus { outline: none; }
.search__button {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--cyan);
  color: var(--white);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.search__button:hover { background: var(--cyan-dark); transform: scale(1.06); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__link {
  position: relative;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tools__btn {
  display: grid;
  place-items: center;
  width: 29px; height: 29px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--white);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
a.tools__btn:hover { background: var(--cyan); color: var(--white); transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px; height: 30px;
  padding: 0 5px;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { padding: 20px 0 8px; }

.hero__slider {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero__track {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--placeholder);
  box-shadow: var(--shadow-sm);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s linear;
}
.hero__slide.is-active .hero__image { transform: scale(1.12); }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 42, .78) 0%, rgba(12, 28, 42, .52) 55%, rgba(12, 28, 42, .68) 100%),
    linear-gradient(180deg, rgba(12, 28, 42, .18), rgba(12, 28, 42, .45));
}

.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 24px 60px;
  text-align: center;
  color: var(--white);
}

.hero__kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.hero__figureline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.hero__badge {
  padding: 3px 12px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__lead {
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__divider {
  width: 2px;
  height: 62px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .55);
}
.hero__number {
  font-size: 64px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.03em;
}
.hero__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__note {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .84);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  opacity: .12;
  transform: scale(0);
  transform-origin: center;
  transition: transform .4s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: scale(1); }
.btn:hover { transform: translateY(-2px); }
.btn--yellow {
  margin-top: 6px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 197, 41, .3);
}
.btn--cyan {
  padding: 9px 20px;
  background: var(--cyan);
  color: var(--white);
  box-shadow: var(--shadow-cyan);
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  transition: transform .3s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(3px); }

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-50%);
  box-shadow: var(--shadow-cyan);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero__arrow:hover { background: var(--cyan-dark); }
.hero__arrow--prev { left: -14px; }
.hero__arrow--next { right: -14px; }
.hero__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero__arrow--next:hover { transform: translateY(-50%) translateX(3px); }

.hero__dots {
  position: absolute;
  left: 50%; bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero__dot.is-active { background: var(--cyan); transform: scale(1.25); }

.section { padding: 30px 0; }

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.pill {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pill:hover {
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.grid { display: grid; }
.grid--products { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.grid--cats { grid-template-columns: repeat(9, 1fr); gap: 10px; }
.grid--blog { grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 188, 216, .35);
  box-shadow: var(--shadow-md);
}
.card__title {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  min-height: 30px;
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--placeholder);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }

.card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.card__old {
  font-size: 9px;
  font-weight: 500;
  color: var(--navy-mute);
  text-decoration: line-through;
}
.card__new {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 7px;
  font-size: 8.5px;
  color: var(--navy-mute);
}
.stars {
  display: inline-flex;
  gap: 1.5px;
  color: var(--yellow);
}
.stars svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.card:hover .stars svg { transform: translateY(-1px); }
.card__reviews { white-space: nowrap; }

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 13px 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 197, 41, .55);
  box-shadow: var(--shadow-md);
}
.cat__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: var(--yellow);
  transition: transform .35s var(--ease);
}
.cat__icon svg { width: 32px; height: 32px; }
.cat:hover .cat__icon { transform: scale(1.12) rotate(-4deg); }
.cat__name { font-size: 11px; font-weight: 600; }
.cat__sub { font-size: 8.5px; color: var(--navy-mute); line-height: 1.3; }

.mosaic {
  display: grid;
  grid-template-columns: 2.05fr 1.02fr 1.06fr;
  grid-template-rows: repeat(2, 148px);
  gap: 12px;
}
.tile {
  position: relative;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  background: var(--placeholder);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 28, 42, .68), rgba(12, 28, 42, .28) 55%, rgba(12, 28, 42, .6));
}
.tile__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 22px;
  color: var(--white);
}
.tile__body--top { margin-top: 0; margin-bottom: auto; }
.tile__body--bottom { margin-top: auto; }
.tile__kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.tile__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.tile__title--md { font-size: 17px; }
.tile__title--sm { font-size: 15px; }
.tile__link {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  color: var(--yellow);
}
.tile__link span { display: inline-block; transition: transform .3s var(--ease); }
.tile__link:hover span { transform: translateX(4px); }

.mosaic .tile:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.mosaic .tile:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.mosaic .tile:nth-child(3) { grid-area: 1 / 3 / 3 / 4; }
.mosaic .tile:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }

.post { display: flex; flex-direction: column; }
.post__media {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--placeholder);
  overflow: hidden;
}
.post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.post:hover .post__media img { transform: scale(1.06); }
.post__title {
  margin-top: 12px;
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--navy);
  transition: color .25s var(--ease);
}
.post:hover .post__title { color: var(--cyan-dark); }

.promo { padding: 30px 0 46px; }
.promo__box {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  min-height: 210px;
  border-radius: var(--radius-xl);
  background: var(--cyan);
  overflow: hidden;
}
.promo__corner {
  position: absolute;
  background: var(--yellow);
  pointer-events: none;
}
.promo__corner--lead {
  left: 0; top: 0;
  width: 15%; height: 62%;
  border-radius: 0 0 100% 0;
}
.promo__corner--trail {
  left: 40%; bottom: 0;
  width: 11%; height: 46%;
  border-radius: 0 100% 0 0;
}
.promo__media {
  position: relative;
  z-index: 1;
  margin-left: 12%;
  background: var(--placeholder);
  overflow: hidden;
}
.promo__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.promo__box:hover .promo__media img { transform: scale(1.05); }
.promo__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 32px 40px;
  text-align: right;
  color: var(--white);
}
.promo__title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.promo__text {
  max-width: 430px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}
.promo__form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 360px;
  padding: 5px 5px 5px 16px;
  border-radius: 8px;
  background: var(--white);
}
.promo__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 11.5px;
}
.promo__input::placeholder { color: var(--navy-mute); }
.promo__input:focus { outline: none; }
.promo__submit {
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.promo__submit:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.promo__contact { font-size: 11px; color: rgba(255, 255, 255, .92); }
.promo__contact a {
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  transition: border-color .25s var(--ease);
}
.promo__contact a:hover { border-color: var(--yellow); }

.footer {
  padding: 34px 0 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.15fr;
  gap: 24px;
}
.footer__desc {
  margin: 12px 0 14px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--navy-soft);
}
.social { display: flex; gap: 8px; }
.social__link {
  display: grid;
  place-items: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.social__link:hover { background: var(--navy); transform: translateY(-3px); }

.footer__heading {
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
}
.footer__list { display: flex; flex-direction: column; gap: 8px; }
.footer__list a {
  position: relative;
  font-size: 10.5px;
  color: var(--navy-soft);
  transition: color .25s var(--ease);
}
.footer__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.footer__list a:hover { color: var(--cyan-dark); }
.footer__list a:hover::after { transform: scaleX(1); }

.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay__chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy-soft);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--navy-mute);
}
.footer__legal a { color: var(--navy-soft); }
.footer__legal a:hover { color: var(--cyan-dark); }

.progress {
  position: fixed;
  left: 0; top: 0;
  z-index: 60;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
}

.doc { padding: 26px 0 40px; }
.doc__head {
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(22, 188, 216, .12), rgba(255, 197, 41, .16));
  border: 1px solid var(--line);
}
.doc__title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.doc__lead {
  margin-top: 8px;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--navy-soft);
}
.doc__updated {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy-soft);
}

.doc__layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  margin-top: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 84px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.toc__title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.toc__list { display: flex; flex-direction: column; gap: 7px; }
.toc__list a {
  font-size: 11px;
  color: var(--navy-soft);
  transition: color .25s var(--ease), transform .25s var(--ease);
  display: inline-block;
}
.toc__list a:hover { color: var(--cyan-dark); transform: translateX(3px); }

.doc__body { max-width: 780px; }
.doc__section { margin-bottom: 26px; scroll-margin-top: 96px; }
.doc__section h2 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}
.doc__section h3 {
  margin: 14px 0 6px;
  font-size: 12.5px;
  font-weight: 600;
}
.doc__section p {
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--navy-soft);
}
.doc__section ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.doc__section li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--navy-soft);
}
.doc__section li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.doc__section a { color: var(--cyan-dark); border-bottom: 1px solid rgba(22, 188, 216, .4); }
.doc__section a:hover { border-bottom-color: var(--cyan-dark); }
.doc__section strong { color: var(--navy); font-weight: 600; }

.tools__btn--cart { position: relative; }
.tools__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.card__add {
  position: absolute;
  right: 7px; bottom: 7px;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  box-shadow: var(--shadow-cyan);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.card__add:hover { background: var(--cyan-dark); transform: scale(1.1); }
.card__add:active { transform: scale(.94); }

.cart {
  position: fixed;
  inset: 0;
  z-index: 70;
}
.cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 42, .5);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cart.is-open .cart__backdrop { opacity: 1; }

.cart__panel {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: -18px 0 40px rgba(22, 41, 60, .18);
  transform: translateX(100%);
  transition: transform .32s var(--ease);
}
.cart.is-open .cart__panel { transform: none; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.cart__title { font-size: 16px; font-weight: 700; }
.cart__close {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy-soft);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.cart__close:hover { background: var(--surface); color: var(--navy); transform: rotate(90deg); }

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}
.cart__empty {
  font-size: 12px;
  line-height: 1.7;
  color: var(--navy-soft);
}

.cart__list { display: flex; flex-direction: column; gap: 14px; }
.line {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.line__info { display: flex; flex-direction: column; gap: 2px; }
.line__name { font-size: 12.5px; font-weight: 600; }
.line__unit { font-size: 10px; color: var(--navy-mute); }
.line__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty__btn {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-dark);
  transition: background .2s var(--ease);
}
.qty__btn:hover { background: var(--cyan-soft); }
.qty__value {
  min-width: 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.line__total {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
}
.line__remove {
  font-size: 10px;
  color: var(--navy-mute);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s var(--ease);
}
.line__remove:hover { color: var(--navy); }

.checkout { display: flex; flex-direction: column; gap: 14px; }
.checkout__intro {
  font-size: 11px;
  line-height: 1.65;
  color: var(--navy-soft);
}
.checkout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.field__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field__input:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
}
.field__input--area { resize: vertical; min-height: 52px; }
.checkout__error {
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 197, 41, .18);
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
}
.checkout__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout__back {
  font-size: 11px;
  color: var(--navy-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout__back:hover { color: var(--cyan-dark); }
.checkout__submit {
  margin-left: auto;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-cyan);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.checkout__submit:hover { background: var(--cyan-dark); transform: translateY(-2px); }

.cart__done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.cart__tick {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}
.cart__done-title { font-size: 16px; font-weight: 700; }
.cart__done-text { font-size: 12px; line-height: 1.7; color: var(--navy-soft); }
.cart__done-note { font-size: 11px; line-height: 1.7; color: var(--navy-mute); }
.cart__done-note a { color: var(--cyan-dark); }
.cart__done .checkout__submit { margin-left: 0; margin-top: 4px; }

.cart__foot {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.cart__totals { display: flex; flex-direction: column; gap: 6px; }
.cart__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--navy-soft);
}
.cart__row dd { margin: 0; font-weight: 600; color: var(--navy); }
.cart__row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.cart__row--total dd { font-size: 15px; color: var(--cyan); }
.cart__hint {
  margin-top: 8px;
  font-size: 10px;
  color: var(--navy-mute);
}
.cart__cta {
  width: 100%;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-cyan);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cart__cta:hover { background: var(--cyan-dark); transform: translateY(-2px); }

.cart[hidden],
.cart__list[hidden],
.checkout[hidden],
.cart__done[hidden],
.cart__foot[hidden],
.cart__cta[hidden],
.cart__empty[hidden],
.checkout__error[hidden],
.tools__count[hidden] { display: none; }

.has-js .reveal { opacity: 0; transform: translateY(20px); }
.has-js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

@media (max-width: 1080px) {
  .grid--products { grid-template-columns: repeat(4, 1fr); }
  .grid--cats { grid-template-columns: repeat(5, 1fr); }
  .search { flex-basis: 200px; }
  .nav__list { gap: 18px; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin-left: 0;
    padding: 0 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(22, 41, 60, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav.is-open { max-height: 320px; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
  }
  .nav__link {
    display: block;
    padding: 11px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13.5px;
  }
  .nav__link::after { display: none; }
  .topbar__inner { position: relative; }
  .tools__btn:nth-child(1), .tools__btn:nth-child(2) { display: none; }
  .hero__track { height: 300px; }
  .hero__number { font-size: 52px; }
  .hero__lead { font-size: 20px; }
  .hero__kicker { font-size: 13px; letter-spacing: .26em; }
  .grid--blog { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 148px 148px; }
  .mosaic .tile:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
  .mosaic .tile:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
  .mosaic .tile:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
  .mosaic .tile:nth-child(4) { grid-area: 3 / 1 / 4 / 2; }
  .promo__box { grid-template-columns: 1fr; }
  .promo__media { margin-left: 0; min-height: 190px; }
  .promo__corner--trail { left: auto; right: 0; bottom: 0; width: 22%; height: 20%; border-radius: 100% 0 0 0; }
  .promo__body { align-items: flex-start; text-align: left; }
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
  .doc__layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 620px) {
  .search { display: none; }
  .grid--products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid--cats { grid-template-columns: repeat(3, 1fr); }
  .grid--blog { grid-template-columns: 1fr; gap: 18px; }
  .hero__track { height: 268px; }
  .hero__body { padding: 20px 34px; }
  .hero__number { font-size: 44px; }
  .hero__lead { font-size: 17px; }
  .hero__unit { font-size: 13px; }
  .hero__divider { height: 48px; }
  .hero__note { font-size: 9px; letter-spacing: .14em; }
  .hero__arrow--prev { left: 6px; }
  .hero__arrow--next { right: 6px; }
  .section { padding: 24px 0; }
  .section__title { font-size: 18px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 168px); }
  .mosaic .tile:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .mosaic .tile:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
  .mosaic .tile:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
  .mosaic .tile:nth-child(4) { grid-area: 4 / 1 / 5 / 2; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .promo__body { padding: 26px 22px; }
  .cart__panel { width: 100%; }
  .checkout__grid { grid-template-columns: 1fr; }
  .doc__head { padding: 24px 20px; }
  .doc__title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms;
    animation-iteration-count: 1;
    transition-duration: .001ms;
  }
  .has-js .reveal { opacity: 1; transform: none; }
  .cart__panel { transition: none; }
  .cart__backdrop { transition: none; }
  .hero__image, .hero__slide.is-active .hero__image { transform: scale(1.04); }
}
