/* ==========================================================================
   N₂O Москва — главная страница
   Все размеры выведены из referens.png (784px) через коэффициент 1.84
   → расчётная ширина макета 1440px, контейнер 1176px
   ========================================================================== */

:root {
  /* базовые */
  --cream:        #F8F4EF;
  --cream-soft:   #F7F3EE;
  --navy:         #131B2C;
  --navy-2:       #2A3446;
  --muted:        #5D6675;
  --line:         #E8E1D7;
  --white:        #FFFFFF;

  /* акценты */
  --logo-blue:    #0B5CF5;
  --coral:        #FD7A66;
  --coral-dark:   #F2604A;
  --salmon:       #FDA886;

  /* секции */
  --band-blue:    #74AEFD;
  --band-orange:  #FB9E79;
  --band-teal:    #7CC8B7;
  --band-purple:  #AEA2FD;

  --container:    1176px;
  --gutter:       max(24px, calc((100vw - var(--container)) / 2));
  --header-h:     88px;
  --radius-band:  26px;
  --shadow-sm:    0 6px 16px rgba(19, 27, 44, .10);
  --shadow-md:    0 14px 30px rgba(19, 27, 44, .14);
}

/* ------------------------------- база ---------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Onest', 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

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

:focus-visible {
  outline: 3px solid var(--logo-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* якоря не заезжают под липкую шапку */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* переносы строк, которые нужны только на широком экране */
@media (max-width: 1024px) { .br-lg { display: none; } }

/* ------------------------------ логотип --------------------------------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: .92;
  flex-shrink: 0;
}

.logo__mark {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--logo-blue);
}

.logo__mark sub {
  font-size: .58em;
  vertical-align: -.2em;
  margin-inline-start: -1px;
}

.logo__city {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 3px;
  margin-left: 2px;
}

/* ------------------------------ кнопки ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn__icon { width: 23px; height: 23px; flex: none; }
.btn__icon--blue  { color: var(--logo-blue); }
.btn__icon--coral { color: var(--coral); }

.btn--cta {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  padding: 24px 54px;
  box-shadow: 0 12px 28px rgba(242, 96, 74, .32);
}

.btn--cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(242, 96, 74, .42);
}

.btn--ghost,
.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover,
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--primary {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(242, 96, 74, .3);
}

.btn--primary:hover { background: var(--coral-dark); }
.btn--block { width: 100%; }

/* ================================ ШАПКА ================================= */

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-h);
  background: var(--cream);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav__link {
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  opacity: .85;
  transition: opacity .15s ease, color .15s ease;
}

.nav__link:hover { opacity: 1; color: var(--logo-blue); }

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px 9px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(11, 92, 245, .16);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  transition: background-color .18s ease, border-color .18s ease;
}

.phone-pill:hover {
  background: var(--white);
  border-color: rgba(11, 92, 245, .4);
}

.phone-pill__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--logo-blue);
  color: var(--white);
}

.phone-pill__icon svg { width: 17px; height: 17px; }

.header-phone__note {
  font-size: 12px;
  color: var(--muted);
  padding-left: 20px;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================= HERO ================================= */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 38.8fr 61.2fr;
  align-items: stretch;
  background: var(--cream);
}

/* салмоновая подложка под карточками (в референсе начинается на 38.8%) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 38.8%;
  background: var(--salmon);
  border-radius: 96px 0 0 96px;
}

/* вертикальная плашка слева */
.hero__tag {
  position: absolute;
  left: 0;
  top: 126px;
  z-index: 3;
  display: block;
  padding: 48px 12px;
  background: var(--coral);
  color: var(--white);
  border-radius: 0 16px 16px 0;
}

.hero__tag span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}

.hero__left {
  position: relative;
  z-index: 2;
  padding: 113px 40px 92px var(--gutter);
}

.hero__title {
  font-size: clamp(38px, 5.3vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--navy);
}

.hero__lead {
  max-width: 348px;
  margin-top: 24px;
  font-size: clamp(16px, 1.75vw, 25px);
  line-height: 1.45;
  color: var(--navy-2);
}

.hero .btn--cta { margin-top: 22px; }

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  margin-top: 46px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 132px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}

.feature__icon { width: 32px; height: 32px; flex: none; }

/* --------------------------- карточки товаров --------------------------- */

.hero__right {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 31px 24px 26px 0;
}

.hero__cards {
  display: flex;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.pcard {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 12px 29px;
  border-radius: 34px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.pcard--coral  { background: linear-gradient(180deg, #FD8B7B 0%, #FDA79B 100%); flex-grow: 1; }
.pcard--green  { background: linear-gradient(180deg, #6FC7B4 0%, #7DD4C5 100%); flex-grow: 1.04; }
.pcard--orange { background: linear-gradient(180deg, #FDA57E 0%, #FEBD9F 100%); flex-grow: 1.3; }

.pcard__title {
  font-size: clamp(19px, 2.65vw, 38px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -.015em;
}

.pcard__price {
  margin-top: 24px;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.pcard__note {
  margin-top: 8px;
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 500;
  opacity: .82;
}

.pcard__media {
  position: relative;
  /* flex-basis:0 — картинка не раздувает карточку и не тянет высоту hero */
  flex: 1 1 0;
  min-height: 200px;
  margin: 24px -10px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pcard__media img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(12, 38, 76, .2));
}

.pcard__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--coral);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 27, 44, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.pcard__btn svg { width: 21px; height: 21px; flex: none; }

.pcard__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(19, 27, 44, .2);
}

/* ============================ ЦВЕТНЫЕ СЕКЦИИ ============================ */

.band {
  position: relative;
  padding: 22px 0;
  border-radius: var(--radius-band) var(--radius-band) 0 0;
  margin-top: calc(var(--radius-band) * -1);
}

.band--blue   { background: linear-gradient(158deg, #6FA9FD 0%, #7DB4FE 100%); }
.band--orange { background: linear-gradient(158deg, #FA9772 0%, #FCB191 100%); }
.band--teal   { background: linear-gradient(158deg, #74C4AF 0%, #84CCBC 100%); }
.band--purple { background: linear-gradient(158deg, #ACA0FD 0%, #B5A9FE 100%); }

.band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 480px;
}

.band__content { max-width: 720px; }

.band__title {
  font-size: clamp(28px, 5.3vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--white);
}

.band__text {
  margin-top: 28px;
  max-width: 542px;
  font-size: clamp(15px, 1.6vw, 23px);
  line-height: 1.3;
  color: rgba(255, 255, 255, .92);
}

.band__content .btn { margin-top: 34px; padding: 22px 56px; font-size: 20px; }

.band__media {
  display: flex;
  justify-content: center;
  align-items: center;
  /* в референсе картинки выходят за правый край контейнера до края экрана */
  margin-right: min(0px, calc((var(--container) - 100vw) / 2));
}

.band__media img {
  width: 100%;
  max-width: 545px;
  filter: drop-shadow(0 26px 34px rgba(16, 34, 66, .2));
}

/* секция доставки ниже остальных — в референсе она заметно компактнее */
.band--orange { padding-bottom: 61px; }
.band--orange .band__inner { min-height: 340px; padding-bottom: 0; }

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding-top: 4px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

.dot.is-active {
  width: 36px;
  border-radius: 999px;
  background: var(--white);
}

/* ================================= FAQ ================================== */

.faq {
  position: relative;
  padding: 30px 0 68px;
  background: var(--cream);
  border-radius: var(--radius-band) var(--radius-band) 0 0;
  margin-top: calc(var(--radius-band) * -1);
}

.faq__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 22px;
}

.faq__title {
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--navy);
}

.faq__sub {
  margin-top: 22px;
  max-width: 420px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--navy-2);
}

.faq__head .btn { flex: none; margin-top: 4px; padding: 20px 34px; font-size: 18px; }

/* аккордеон */

.acc {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.acc__item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(19, 27, 44, .05);
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.acc__item:hover { box-shadow: 0 6px 18px rgba(19, 27, 44, .1); }

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 11px 28px;
  text-align: left;
  font-size: clamp(15px, 1.22vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}

.acc__sign {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: translateY(-50%);
  transition: transform .22s ease, opacity .22s ease;
}

.acc__sign::after { transform: translateY(-50%) rotate(90deg); }

.acc__item.is-open .acc__sign::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

.acc__a-inner { overflow: hidden; }

.acc__a-inner p {
  padding: 0 90px 22px 30px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* ================================ ФУТЕР ================================= */

.site-footer {
  padding: 30px 0 34px;
  background: var(--cream-soft);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 48px;
}

.logo--footer .logo__mark { font-size: 48px; }
.logo--footer .logo__city { font-size: 25px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: center;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--navy);
}

.footer-contacts a,
.footer-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .15s ease;
}

.footer-contacts svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.footer-contacts a:hover { color: var(--logo-blue); }

.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.socials { display: flex; gap: 12px; }

.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(19, 27, 44, .06);
  color: var(--navy-2);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.social svg { width: 19px; height: 19px; }

.social:hover {
  background: var(--logo-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.copyright {
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
  color: var(--muted);
}

/* =============================== МОДАЛКА ================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 34, .5);
  backdrop-filter: blur(3px);
  animation: fade .2s ease;
}

.modal__dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px 32px 30px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(14, 20, 34, .3);
  animation: pop .24s cubic-bezier(.2, .9, .3, 1.2);
}

@keyframes fade { from { opacity: 0; } }
@keyframes pop  { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(19, 27, 44, .05);
  transition: background-color .16s ease, color .16s ease;
}

.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { background: rgba(19, 27, 44, .1); color: var(--navy); }

.modal__title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}

.modal__sub {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.modal__form { margin-top: 22px; }

.modal__form fieldset {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field { display: block; }

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-2);
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #FBF9F6;
  color: var(--navy);
  font: inherit;
  font-size: 16px;
  transition: border-color .16s ease, background-color .16s ease;
}

.field__input:focus {
  outline: none;
  border-color: var(--logo-blue);
  background: var(--white);
}

.field.is-invalid .field__input { border-color: var(--coral-dark); }

.field__error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  font-size: 13px;
  color: var(--coral-dark);
}

.modal__note {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 0 10px;
  text-align: center;
  font-weight: 500;
}

.modal__success[hidden] { display: none; }

.modal__success svg { width: 56px; height: 56px; color: var(--band-teal); }
.modal__success p { font-size: 17px; line-height: 1.45; color: var(--navy-2); }

body.is-locked { overflow: hidden; }

/* =============================== АДАПТИВ ================================ */

@media (max-width: 1280px) {
  .nav { gap: 24px; }
  .nav__link { font-size: 15px; }
  .hero__lead { margin-top: 32px; }
  .features { gap: 30px; margin-top: 38px; }
  .pcard { padding: 28px 15px 24px; }
  .band__inner { gap: 28px; min-height: 400px; }
  .band__media img { max-width: 470px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; --radius-band: 26px; }

  .nav,
  .header-phone { display: none; }

  .burger { display: flex; }
  .site-header { position: sticky; top: 0; }

  .nav.is-open {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px 22px;
    background: var(--cream);
    box-shadow: 0 18px 30px rgba(19, 27, 44, .12);
  }

  .nav.is-open .nav__link { font-size: 19px; padding: 9px 0; }

  /* hero в одну колонку */
  .hero { grid-template-columns: 1fr; }
  .hero::before { display: none; }

  .hero__left { padding: 40px 24px 32px; }
  .hero__title { font-size: clamp(36px, 8.6vw, 60px); }
  .hero__lead { max-width: 520px; margin-top: 26px; font-size: clamp(16px, 3.2vw, 22px); }
  .features { margin-top: 32px; gap: 34px; }

  .hero__right {
    margin-top: 22px;
    padding: 36px 24px 40px;
    background: var(--salmon);
    border-radius: 60px 60px 0 0;
  }

  .hero__tag { display: none; }

  /* секции в одну колонку */
  .band__inner { grid-template-columns: 1fr; gap: 26px; min-height: 0; }
  .band__content { max-width: 100%; }
  .band__title { font-size: clamp(28px, 7vw, 52px); }
  .band__text { font-size: clamp(15px, 2.6vw, 21px); max-width: 620px; }
  .band__media { order: 2; }
  .band__media img { max-width: 460px; }

  .faq__head { flex-direction: column; align-items: stretch; gap: 24px; }
  .faq__head .btn { align-self: flex-start; margin-top: 0; }
  .faq__title { font-size: clamp(30px, 6.4vw, 48px); }
  .acc__q { padding: 15px 22px; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-nav { justify-content: center; }
  .footer-contacts { align-items: center; }
  .footer-side { align-items: center; }
  .copyright { text-align: center; }
}

@media (max-width: 760px) {
  .hero__cards {
    flex-direction: column;
    gap: 14px;
  }

  /* в колонке flex-basis:0 схлопывает карточки — возвращаем им собственную высоту */
  .pcard { flex: 0 0 auto; padding: 30px 22px 26px; }
  .pcard__title { font-size: 27px; }
  .pcard__price { font-size: 38px; margin-top: 18px; }
  .pcard__note { font-size: 16px; }
  .pcard__media { min-height: 180px; margin: 18px 0; }
  .pcard__media img { max-height: 210px; }
  .pcard__btn { font-size: 18px; padding: 16px 12px; }

  .acc__a-inner p { padding: 0 40px 20px 22px; }
  .band__media img { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero__left { padding: 32px 18px 28px; }
  .hero__right { padding: 28px 18px 32px; border-radius: 40px 40px 0 0; }
  .features { gap: 22px; }
  .feature { max-width: 100px; }
  .feature__icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (Каталог, Доставка, FAQ, Контакты, Блог)
   ========================================================================== */

/* активный пункт меню */
.nav__link.is-active { color: var(--logo-blue); opacity: 1; }

/* ------------------------- шапка страницы (page-head) ------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 92px) 0 clamp(44px, 5vw, 72px);
  border-radius: 0 0 var(--radius-band) var(--radius-band);
}

.page-head--blue   { background: linear-gradient(158deg, #6FA9FD 0%, #7DB4FE 100%); }
.page-head--orange { background: linear-gradient(158deg, #FA9772 0%, #FCB191 100%); }
.page-head--teal   { background: linear-gradient(158deg, #74C4AF 0%, #84CCBC 100%); }
.page-head--purple { background: linear-gradient(158deg, #ACA0FD 0%, #B5A9FE 100%); }
.page-head--light  { background: var(--cream); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}

.page-head--light .breadcrumbs { color: var(--muted); }

.breadcrumbs a { opacity: .8; transition: opacity .15s ease; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.breadcrumbs .sep { opacity: .5; }

.page-head__title {
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--white);
}

.page-head--light .page-head__title { color: var(--navy); }

.page-head__sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}

.page-head--light .page-head__sub { color: var(--navy-2); }

/* ------------------------- контентные секции ---------------------------- */

.page-section {
  padding: clamp(52px, 5.4vw, 88px) 0;
}

.page-section--cream { background: var(--cream); }
.page-section--white { background: #fff; }
.page-section--tight { padding: clamp(40px, 4.4vw, 72px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--navy);
}

.section-sub {
  max-width: 560px;
  margin-top: 14px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
  color: var(--muted);
}

/* ------------------------- каталог -------------------------------------- */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-grid .pcard { flex: 0 0 auto; }

.accessories {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 44px;
  margin-top: 60px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(158deg, #74C4AF 0%, #84CCBC 100%);
  color: var(--white);
}

.accessories__media img {
  width: 100%;
  filter: drop-shadow(0 24px 30px rgba(16, 34, 66, .22));
}

.accessories__title {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.accessories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.accessories__list li {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 15px;
  font-weight: 600;
}

/* ------------------------- доставка ------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--logo-blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.step__title { font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--navy); }
.step__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--logo-blue); }
.info-card__title { font-size: 19px; font-weight: 800; color: var(--navy); }
.info-card__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ------------------------- контакты -------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(11, 92, 245, .1);
  color: var(--logo-blue);
}

.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card__label { font-size: 13px; color: var(--muted); }
.contact-card__value { margin-top: 3px; font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-card__value a:hover { color: var(--logo-blue); }

/* ------------------------- форма на странице ----------------------------- */

.form-card {
  padding: 30px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-card__title { font-size: 25px; font-weight: 900; letter-spacing: -.02em; color: var(--navy); }
.form-card__sub { margin-top: 8px; font-size: 15px; color: var(--muted); }

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 10px 12px;
  text-align: center;
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy-2);
}

.form-success[hidden] { display: none; }

.form-success svg { width: 56px; height: 56px; color: var(--band-teal); }

/* ------------------------- блог ------------------------------------------ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.blog-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
}

.blog-card__cover--blue   { background: linear-gradient(158deg, #6FA9FD, #7DB4FE); }
.blog-card__cover--coral  { background: linear-gradient(158deg, #FD8B7B, #FDA79B); }
.blog-card__cover--teal   { background: linear-gradient(158deg, #74C4AF, #84CCBC); }
.blog-card__cover--purple { background: linear-gradient(158deg, #ACA0FD, #B5A9FE); }
.blog-card__cover--orange { background: linear-gradient(158deg, #FA9772, #FCB191); }
.blog-card__cover--green  { background: linear-gradient(158deg, #6FC7B4, #7DD4C5); }

.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.blog-card__date { font-size: 13px; color: var(--muted); }
.blog-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.blog-card__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.blog-card__more { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--logo-blue); }
.blog-card__more:hover { text-decoration: underline; }

/* ------------------------- CTA-полоса ------------------------------------ */

.cta-band .band__inner { min-height: 0; }

/* ------------------------- адаптив внутренних страниц ------------------- */

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-cards { grid-template-columns: 1fr; }
  .accessories { grid-template-columns: 1fr; }
  .accessories__media { order: 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   СТАТЬИ БЛОГА
   ========================================================================== */

.article-hero {
  position: relative;
  padding: clamp(44px, 5.4vw, 84px) 0 clamp(36px, 4vw, 60px);
  border-radius: 0 0 var(--radius-band) var(--radius-band);
  color: var(--white);
  text-align: center;
}

.article-hero--blue   { background: linear-gradient(158deg, #6FA9FD 0%, #7DB4FE 100%); }
.article-hero--coral  { background: linear-gradient(158deg, #FD8B7B 0%, #FDA79B 100%); }
.article-hero--teal   { background: linear-gradient(158deg, #74C4AF 0%, #84CCBC 100%); }
.article-hero--purple { background: linear-gradient(158deg, #ACA0FD 0%, #B5A9FE 100%); }
.article-hero--orange { background: linear-gradient(158deg, #FA9772 0%, #FCB191 100%); }
.article-hero--green  { background: linear-gradient(158deg, #6FC7B4 0%, #7DD4C5 100%); }

.article-hero .breadcrumbs { justify-content: center; margin-bottom: 22px; }

.article-hero__tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 14px;
  font-weight: 600;
}

.article-hero__title {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(27px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 14px;
  opacity: .9;
}

.article-body {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(40px, 4.6vw, 64px) 0;
}

.article-body .lead {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy);
}

.article-body h2 {
  margin-top: 46px;
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--navy);
}

.article-body h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.article-body p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-2);
}

.article-body ul,
.article-body ol {
  margin-top: 16px;
  padding-left: 22px;
}

.article-body li {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-2);
}

.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-body strong { color: var(--navy); }

.article-body a {
  color: var(--logo-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover { text-decoration: none; }

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: var(--cream-soft);
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
}

.article-body table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: var(--cream-soft);
  color: var(--navy);
  font-weight: 700;
}

.article-body td { color: var(--navy-2); }

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding: 30px 32px;
  border-radius: 22px;
  background: linear-gradient(158deg, #6FA9FD 0%, #7DB4FE 100%);
  color: var(--white);
}

.article-cta__title { font-size: 22px; font-weight: 800; }
.article-cta__text { margin-top: 6px; font-size: 15px; opacity: .92; }
.article-cta .btn { flex: none; }

.article-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}

.article-faq__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.article-faq .acc__item {
  box-shadow: none;
  border: 1px solid var(--line);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--logo-blue);
}

.article-back:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .article-body p,
  .article-body li { font-size: 16px; }
  .article-body table { font-size: 14px; }
  .article-body th,
  .article-body td { padding: 9px 10px; }
  .article-cta { align-items: flex-start; flex-direction: column; }
}

.block-txt a{
  color: #0B5CF5;
}