/* kupi kvest — публичный сайт. Яркая праздничная тема. */

   @font-face {
     font-family: "Nunito";
     src: url("../fonts/Nunito.woff2") format("woff2"),
          url("../fonts/Nunito.ttf") format("truetype");
     font-weight: 200 1000;
     font-display: swap;
   }

:root {
  --red: #d0342a;
  --red-dark: #b62a20;
  --sky: #4fc3f7;
  --sky-deep: #1b6ca8;
  --lime: #b6d957;
  --gold: #f2b705;
  --ink: #16202e;
  --muted: #5f6b80;
  --line: #e3e9f3;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --cream: #fff8ea;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(22, 32, 46, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* picture не должно ломать размеры: оно лишь обёртка для webp */
picture { display: contents; }
/* высота по пропорции, иначе атрибуты width/height растягивают фото */
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }

.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 26px; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand em { color: var(--red); font-style: normal; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: 16px; }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); }
.nav a.on { border-color: var(--red); color: var(--red); }
.top__actions { display: flex; align-items: center; gap: 14px; }
.phone { font-weight: 800; font-size: 17px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
}
.cart-btn b {
  background: var(--red); border-radius: 999px; padding: 1px 8px; font-size: 13px;
}
.cart-btn:hover { background: #223146; }
.cart-btn__ico { display: block; flex: 0 0 auto; }
.burger {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: var(--soft); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__call { display: none; align-items: center; gap: 10px; color: var(--red); }

/* ---------- первый экран ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #fff6e6 0%, #eaf6ff 55%, #f3ffe6 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 60%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(226, 59, 46, .10), transparent 70%);
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 62px 0 70px;
}
.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid #ffd9a8; color: #a2620c;
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; margin: 20px 0 18px; }
.lead { font-size: 19px; color: #42506a; max-width: 620px; }
.lead--narrow { max-width: 720px; margin-bottom: 26px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 34px; }
.hero__facts { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__facts b { display: block; font-size: 30px; font-weight: 900; }
.hero__facts span { color: var(--muted); font-size: 14px; }
.hero__art { position: relative; }
.hero__art img {
  width: 100%; border-radius: 28px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-10px) rotate(.4deg); }
}
.hero__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(22, 32, 46, .78); color: #fff;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 26px rgba(226, 59, 46, .28); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--wide { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.link { font-weight: 800; color: var(--red); }
.link:hover { text-decoration: underline; }

/* ---------- секции ---------- */
.section { padding: 62px 0; }
.section--soft { background: var(--soft); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; }
.h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; margin-bottom: 14px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }

/* ---------- категории ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat {
  background: #fff; border: 2px solid var(--line); border-radius: 18px;
  padding: 20px 18px; transition: .18s ease;
}
.cat b { display: block; font-size: 18px; font-weight: 900; }
.cat span { color: var(--muted); font-size: 14px; }
.cat:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- карточки квестов ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.qcard {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 32, 46, .07);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.qcard__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.qcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.qcard:hover .qcard__img img { transform: scale(1.05); }
.qcard__age {
  position: absolute; left: 12px; top: 12px;
  background: var(--gold); color: #3a2a00; font-weight: 900; font-size: 13px;
  padding: 6px 12px; border-radius: 999px;
}
.qcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.qcard__body h3 { font-size: 20px; font-weight: 900; margin: 0; }
.qcard__body p { margin: 0; color: #4a5770; font-size: 15px; }
.qcard__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.qcard__meta span { background: var(--soft); padding: 5px 10px; border-radius: 999px; }
.qcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.qcard__foot b { font-size: 20px; font-weight: 900; }
.qcard__more { color: var(--red); font-weight: 800; font-size: 15px; }

/* ---------- реквизит ---------- */
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(22,32,46,.07); display: flex; flex-direction: column; }
.pcard__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__body h3 { font-size: 18px; font-weight: 900; margin: 0; }
.pcard__body p { margin: 0; color: #4a5770; font-size: 14px; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__foot b { font-size: 18px; font-weight: 900; }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.step i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: #fff; font-style: normal; font-weight: 900; margin-bottom: 12px;
}
.step h3 { font-size: 17px; font-weight: 900; margin: 0 0 6px; }
.step p { margin: 0; color: #4a5770; font-size: 14px; }
.steps--inline { grid-template-columns: repeat(2, 1fr); }

/* ---------- полоса «под заказ» ---------- */
.band {
  background: linear-gradient(120deg, #16a3c7 0%, #1b6ca8 45%, #22314f 100%);
  color: #fff; padding: 56px 0;
}
.band--tight { padding: 40px 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; }
.band p { color: rgba(255, 255, 255, .86); max-width: 620px; margin: 0; }
.band__list { display: grid; gap: 8px; font-weight: 700; color: rgba(255, 255, 255, .92); }

/* ---------- два способа ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.two--wide { grid-template-columns: 1.35fr .65fr; }
.ways { display: grid; gap: 16px; }
.way { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.way b { font-size: 17px; }
.way p { margin: 6px 0 0; color: #4a5770; }
.two__col--accent { background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid #ffe2b3; }
.big-phone { font-size: 30px; font-weight: 900; letter-spacing: .02em; }

/* ---------- страница квеста ---------- */
.quest { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.quest__media { position: relative; }
.quest__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.quest__age {
  position: absolute; left: 16px; top: 16px; background: var(--gold); color: #3a2a00;
  font-weight: 900; padding: 8px 14px; border-radius: 999px;
}
.quest__short { font-size: 19px; color: #42506a; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.specs div { background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.specs span { display: block; color: var(--muted); font-size: 13px; }
.specs b { font-size: 16px; }
.quest__price { background: var(--cream); border: 1px solid #ffe2b3; border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.quest__price-label { color: #a2620c; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.quest__price b { display: block; font-size: 30px; font-weight: 900; }
.quest__price small { color: var(--muted); }
.buy { display: grid; gap: 12px; }
.buy__row { display: grid; gap: 10px; }
.buy__row label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.buy__row input[type=number] { width: 74px; padding: 10px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.check { font-weight: 600 !important; color: #42506a; font-size: 14px; }
.prose p { color: #3d4a63; margin: 0 0 14px; }
.prose h2 { margin-top: 26px; }
.aside { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.aside h3 { font-size: 18px; font-weight: 900; }
.aside__note { margin-top: 18px; background: #fff; border-radius: 14px; padding: 16px; }
.aside__note p { margin: 6px 0 0; color: #4a5770; font-size: 14px; }
.aside--form { position: sticky; top: 100px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #3d4a63; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); color: #20300a; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.ticks--big li { padding-left: 34px; margin-bottom: 6px; font-size: 16px; }

/* ---------- фильтры ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: #fff;
  border: 2px solid var(--line); font-weight: 800; font-size: 15px;
}
.chip:hover { border-color: var(--sky-deep); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- корзина ---------- */
.cart { display: grid; grid-template-columns: 1.6fr .8fr; gap: 30px; align-items: start; }
.cart__list { display: grid; gap: 14px; }
.cart__row {
  display: grid; grid-template-columns: 92px 1fr auto auto auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
}
.cart__row img { width: 92px; height: 72px; object-fit: cover; border-radius: 12px; }
.cart__info { display: grid; gap: 2px; }
.cart__info a { font-weight: 900; font-size: 17px; }
.cart__qty { display: flex; gap: 8px; align-items: center; }
.cart__qty input { width: 62px; padding: 8px; border: 2px solid var(--line); border-radius: 10px; font: inherit; }
.cart__sum { font-weight: 900; white-space: nowrap; }
.cart__del { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.cart__del:hover { color: var(--red); }
.cart__side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; position: sticky; top: 100px;
}
.cart__total { font-size: 32px; font-weight: 900; }
.mini { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }

/* ---------- оформление ---------- */
.checkout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: start; }
.form { display: grid; gap: 16px; }
.form h3 { font-size: 18px; font-weight: 900; margin: 10px 0 0; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line);
  border-radius: 12px; font: inherit; font-size: 16px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sky-deep); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.delivery { display: grid; gap: 10px; }
.radio { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--red); background: #fff6f5; }
.radio small { display: block; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); font-size: 14px; }
.alert { background: #fdecea; color: #a0271c; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; display: grid; gap: 6px; }
.empty { background: var(--soft); border-radius: var(--radius); padding: 40px; text-align: center; color: #4a5770; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 40px; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 6px; }
.contact span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.contact .big { font-size: 22px; font-weight: 900; }
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--cream); border: 1px solid #ffe2b3; border-radius: var(--radius); padding: 30px;
}

/* ---------- спасибо ---------- */
.thanks { text-align: center; padding: 40px 0; }
.thanks__ico {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--lime); color: #20300a; font-size: 40px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.thanks__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- подвал ---------- */
.foot { background: var(--ink); color: #cfd8e6; padding: 50px 0 26px; margin-top: 20px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot__brand { color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 8px; }
.foot p { margin: 0; max-width: 380px; }
.foot__col { display: grid; gap: 8px; align-content: start; }
.foot__col b { color: #fff; }
.foot a:hover { color: #fff; }
.foot__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #93a1b8; }

/* ---------- бегущая строка ---------- */
.marquee {
  overflow: hidden; background: var(--red); color: #fff;
  padding: 12px 0; white-space: nowrap; font-weight: 900; letter-spacing: .04em;
}
.marquee__track { display: inline-flex; gap: 40px; animation: marquee 28s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; }
.marquee i { font-style: normal; opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__art img { animation: none; }
}

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); display: grid; gap: 12px; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.review p { margin: 0; color: #3d4a63; font-size: 15px; }
.review__who { font-weight: 900; font-size: 14px; }
.review__who small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- появление при скролле ---------- */
html.no-js .reveal { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 50px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quest, .two, .two--wide, .cart, .checkout { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .cart__side { position: static; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 82px 0 auto 0; z-index: 60; margin: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 26px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 32, 46, .16);
    transform: translateY(-130%); transition: transform .28s ease;
    font-size: 19px; max-height: calc(100vh - 82px); overflow: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a.on { border-bottom: 1px solid var(--line); }
  .nav__call { display: flex; padding-top: 18px; border: 0; font-weight: 800; }
  body.nav-open { overflow: hidden; }
  }
@media (max-width: 640px) {
  .top__in { height: 68px; gap: 12px; }
  .phone { display: none; }
  .cats, .grid, .grid--3, .steps, .steps--inline, .reviews, .contacts, .row2, .specs { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .cart__row { grid-template-columns: 72px 1fr; grid-template-areas: "img info" "qty sum" "del del"; }
  .cart__row img { width: 72px; height: 60px; }
  .hero__facts { gap: 22px; }
  .hero__btns .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr; }
  .band__in { flex-direction: column; align-items: flex-start; }
}

/* ---------- «что внутри»: две колонки галочек ---------- */
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.inside__col { border-radius: var(--radius); padding: 24px 26px; background: #fff; border: 1px solid var(--line); }
.inside__col--yes { background: #f3fbf2; border-color: #c9e9c2; }
.inside__col--add { background: #fff7ee; border-color: #ffdcb8; }
.inside__col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; margin: 0 0 16px; }
.inside__dot { width: 12px; height: 12px; border-radius: 50%; }
.inside__col--yes .inside__dot { background: #58b947; box-shadow: 0 0 0 4px rgba(88, 185, 71, .18); }
.inside__col--add .inside__dot { background: #f08a24; box-shadow: 0 0 0 4px rgba(240, 138, 36, .18); }
.inside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inside__list li { display: flex; align-items: flex-start; gap: 12px; color: #2f3b50; font-size: 16px; }
.inside__list i {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 14px; font-weight: 900; color: #fff;
}
.inside__col--yes .inside__list i { background: #58b947; }
.inside__list--add li i { background: #f08a24; }
.inside__empty { color: var(--muted); font-size: 15px; }
.inside__note { margin: 16px 0 0; color: #8a5b1f; font-size: 14px; }
@media (max-width: 760px) { .inside { grid-template-columns: 1fr; } }

/* ---------- FAQ в конце страницы квеста ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq__item summary {
  cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--red); flex: 0 0 auto;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 18px; color: #3d4a63; }

/* ---------- переключатель форматов: коробка / электронный ---------- */
.fmt-switch { display: flex; gap: 12px; margin: 20px 0 10px; }
.fmt-switch__btn {
  flex: 1 1 0; display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.fmt-switch__btn b { display: block; font-size: 16px; margin-bottom: 3px; }
.fmt-switch__btn span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.fmt-switch__btn.on { border-color: var(--red); background: #fff6f4; box-shadow: 0 0 0 3px rgba(226, 59, 46, .10); }

.qcard__fmt {
  position: absolute; right: 12px; top: 12px;
  background: rgba(15, 20, 30, .62); color: #fff; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.qcard--off { opacity: .7; }
.qcard__na { color: #8a6d3b; font-size: 13px; }

.quest__fmt { display: flex; gap: 10px; margin: 16px 0 12px; }
.quest__fmt-btn {
  flex: 1 1 0; text-decoration: none; color: inherit; font-size: 14px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #fff;
}
.quest__fmt-btn b { display: block; }
.quest__fmt-btn span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.quest__fmt-btn.on { border-color: var(--red); background: #fff6f4; }

@media (max-width: 700px) {
  .fmt-switch { flex-direction: column; }
  .quest__fmt { flex-direction: column; }
}

/* формат продажи вместо цены на главной */
.qcard__formats { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1px; }

/* подсказка о форматах в оформлении заказа */
.formats-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 12px;
  background: #fff6f4; border: 1px solid #ffd9d2; color: #7a3b34; font-size: 13.5px;
}


/* ---------- прицепы: иконка звонка, соцсети, cookie ---------- */
.foot__social { display: flex; gap: 14px; margin-top: 10px; font-weight: 700; }
.foot__social a { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.foot__legal { display: block; margin-top: 8px; opacity: .75; font-size: 13px; }

.cookie-note {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  max-width: 620px; margin: 0 auto; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); font-size: 14px; color: var(--muted);
}
.cookie-note__ok {
  border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-weight: 700;
}

/* видимый фокус для клавиатуры */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid #1b6ca8; outline-offset: 2px; border-radius: 6px;
}

@media (max-width: 640px) {
  .marquee { display: none; }
}

/* антиспам-поле и согласие */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #3d4a63; margin: 4px 0 6px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.check a { color: var(--red); text-decoration: underline; }

/* две цены в карточке квеста */
.qprice { display: flex; flex-direction: column; gap: 3px; }
.qprice__row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.qprice__row i { font-style: normal; min-width: 86px; }
.qprice__row b { font-size: 15px; color: #3d4a63; }
.qprice__row.on { color: var(--ink); }
.qprice__row.on i { font-weight: 800; }
.qprice__row.on b { font-size: 19px; font-weight: 900; color: var(--ink); }
.qprice__row.off b { color: var(--muted); }

/* подпись, к какому квесту относится реквизит */
.pcard__quest { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin: 0 0 8px; }
.pcard__quest a { color: var(--red); border-bottom: 1px solid rgba(208, 52, 42, .35); }
