:root {
  --bg: #061210;
  --bg-offers: #0c2823;
  --card: #0f2420;
  --card-2: #11282a;
  --border: #1b3d36;
  --border-2: #1f4a41;
  --line: #16352f;
  --accent: #2dd4bf;
  --accent-2: #34c8a8;
  --label: #56c29d;
  --text: #f1f5f4;
  --text-2: #c7d1ce;
  --text-3: #9fb0ab;
  --container: 1248px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-wide: 'Lexend Mega', 'Geist', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- WP helpers ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--accent); color: #041210; border-radius: 6px; }

/* ---------- Top bar ---------- */
.topbar {
  padding: 8px 0 7px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
  line-height: 21px;
}
.topbar a { text-decoration: underline; text-underline-offset: 2px; }
.topbar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 69px;
  padding-bottom: 1px;
}

.logo, .footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px 0 12px;
  border: 1px solid #1f6e5f;
  border-radius: 12px;
  background: radial-gradient(120% 140% at 10% 50%, #0b2621 0%, #071613 60%);
  box-shadow: inset 0 0 12px rgba(45, 212, 191, .06);
  white-space: nowrap;
}
.logo--image, .footer__logo.logo--image {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.logo--image img { display: block; height: 46px; width: auto; max-width: 280px; object-fit: contain; }
.footer__logo.logo--image img { height: 62px; max-width: 340px; }
.logo__icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 4px rgba(45, 212, 191, .45));
  flex: none;
}
.logo__main {
  font-family: var(--font-wide);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #ffffff 0%, #b7f5e4 45%, #3fd3b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}
.logo__sub {
  font-family: var(--font-wide);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  margin-left: -2px;
  padding-top: 3px;
  background: linear-gradient(90deg, #a6ecd9, #34c3a4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav li { margin: 0; }
.nav a {
  font-size: 15px;
  color: var(--text);
  transition: color .2s;
}
.nav a:hover, .nav .current-menu-item > a { color: var(--accent); }
.nav .sub-menu { display: none; }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 37px 0 9px;
  border-bottom: 1px solid var(--line);
}
.hero__title {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.012em;
  color: #eef6f3;
}
.hero__text {
  margin-top: 3px;
  max-width: 1160px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
}
.hero__text p + p { margin-top: 8px; }
.hero__text a { color: var(--accent); text-decoration: underline; }
.hero__updated {
  margin-top: 17px;
  font-size: 17px;
  line-height: 24px;
  color: var(--text-2);
}

/* chips marquee */
.chips {
  margin-top: 16px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.chips__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.chips:hover .chips__track { animation-play-state: paused; }
.chips__group { display: flex; gap: 12px; padding-right: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--border-2);
  border-radius: 21px;
  font-size: 16px;
  color: var(--text-2);
  white-space: nowrap;
}
.chip svg, .chip img { width: 16px; height: 16px; flex: none; object-fit: contain; }
.chips--static { height: auto; padding: 8px; -webkit-mask-image: none; mask-image: none; }
.chips--static .chips__track { width: 100%; animation: none; }
.chips--static .chips__group { flex-wrap: wrap; padding: 0; gap: 8px; }
@keyframes marquee {
  from { transform: translateX(-12px); }
  to { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .chips__track { animation: none; }
  .btn-bonus, .btn-bonus::after, .footer__logo .logo__main, .footer__logo .logo__sub { animation: none; }
}

/* ---------- Offers ---------- */
.offers {
  position: relative;
  padding: 73px 0 72px;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(20, 70, 62, .55) 0%, rgba(20, 70, 62, 0) 100%),
    radial-gradient(40% 60% at 0% 50%, rgba(8, 30, 26, .6) 0%, rgba(8, 30, 26, 0) 100%),
    radial-gradient(40% 60% at 100% 50%, rgba(8, 30, 26, .6) 0%, rgba(8, 30, 26, 0) 100%),
    linear-gradient(180deg, #0d2f2a 0%, #0c2a25 100%);
}
.offers__list {
  width: 100%;
  max-width: calc(var(--container) + 16px + 48px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 234px 100px 270px;
  grid-template-areas:
    "brand info rating score cta"
    "terms terms terms terms terms";
  align-items: center;
  padding: 15px 12px 0 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: border-color .25s, transform .25s;
}
.offer:hover { border-color: #26604f; }

.offer__brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  justify-content: center;
}
.offer__badge {
  display: inline-block;
  padding: 4px 7px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #eafffa;
  background: #1a7766;
  border: 1px solid #36b79b;
  border-radius: 4px;
  white-space: nowrap;
}
.offer__logo { display: block; width: 140px; }
.offer__logo img, .offer__logo svg { display: block; width: 100%; height: auto; max-height: 48px; object-fit: contain; }

.offer__info { grid-area: info; padding-left: 10px; padding-top: 9px; }
.offer__label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--label);
  letter-spacing: .01em;
}
.offer__name {
  margin-top: 4px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.offer__bonus {
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}

.offer__rating { grid-area: rating; }
.offer__votes { display: block; font-size: 13px; line-height: 18px; color: #fff; }
.stars { display: flex; gap: 2px; margin-top: 3px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.stars .is-empty { opacity: .25; }
.offer__note {
  margin-top: 1px;
  font-size: 11px;
  line-height: 14.5px;
  color: #c3d0cc;
}

.offer__score {
  grid-area: score;
  text-align: center;
  font-family: var(--font-wide);
  font-size: 19px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -.08em;
}

.offer__cta {
  grid-area: cta;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  margin-left: 42px;
}
.btn-bonus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid #2bbfa8;
  background: linear-gradient(90deg, #051411 0%, #0a2723 26%, #1a8676 64%, #30d3ba 100%);
  color: #0b3a33;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 0 18px rgba(45, 212, 191, .28);
  overflow: hidden;
  transition: box-shadow .25s, filter .25s;
  animation: btnGlow 3.2s ease-in-out infinite;
}
.btn-bonus::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.2s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
.btn-bonus:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 26px rgba(45, 212, 191, .5);
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(45, 212, 191, .22); }
  50% { box-shadow: 0 0 24px rgba(45, 212, 191, .45); }
}
.offer__dep {
  margin-top: 9px;
  font-size: 11px;
  line-height: 14px;
  color: var(--text-3);
}
.offer__visit {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.offer__visit:hover { color: #7ff0dc; }

.offer__terms {
  grid-area: terms;
  margin-top: 13px;
  padding: 7px 0 13px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 14px;
  color: #86b7a8;
}

.offers__title { margin-bottom: 28px; }

/* ---------- Content sections ---------- */
.section { padding: 98px 0 0; }
.section:last-child { padding-bottom: 48px; }
.hero + .offers + .section,
.offers + .section { padding-top: 48px; }
.section.pt-0 { padding-top: 0; }
.section.pt-sm { padding-top: 24px; }
.section.pt-md { padding-top: 48px; }
.section.pt-lg { padding-top: 98px; }
.section.pb-sm { padding-bottom: 24px; }
.section.pb-md { padding-bottom: 48px; }
.section.pb-lg { padding-bottom: 98px; }
.notice-section { padding-top: 44px; }

.section__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: #eef4f2;
}
.section__title--sm { font-size: 26px; line-height: 34px; }
.section__lead p + p, .guide__text p + p, .card__text p + p, .notice p + p { margin-top: 10px; }
.section__lead a, .guide__text a, .card__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.guide__text ul, .guide__text ol { margin: 10px 0 0; padding-left: 22px; }
.section__lead {
  margin-top: 30px;
  max-width: 780px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
}

.how__grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.how__grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.card {
  padding: 24px 24px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.card h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #f1f5f4;
}
.card__text { margin-top: 12px; }
.card p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
}

.guide__title {
  margin-top: 45px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #f1f5f4;
}
.guide .section__lead + .guide__title { margin-top: 46px; }
.guide__text {
  margin-top: 13px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
}

.guide .notice { margin-top: 44px; }
.notice {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 15px 16px;
  background: var(--card);
  border: 1px solid #22594c;
  border-radius: 8px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: #eaf1ef;
}
.notice__icon { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.notice__body { min-width: 0; }
.notice b, .notice strong { font-weight: 500; }
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.notice a:hover { color: #7ff0dc; }

/* FAQ */
.faq__list { margin-top: 34px; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item:hover, .faq__item.is-open { border-color: #2a6b5b; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #f1f5f4;
}
.faq__q svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
  transition: transform .3s;
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__a > div {
  overflow: hidden;
  padding: 0 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.faq__a p + p { margin-top: 8px; }
.faq__a a { color: var(--accent); text-decoration: underline; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { padding-bottom: 14px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid #1d5448;
  padding: 32px 0 38px;
  text-align: center;
}
.footer__top {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a3b37;
}
.footer__age {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 496px;
  flex: none;
  font-size: 14px;
  color: var(--text-2);
  text-align: left;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 28px;
  border-radius: 3px;
  background: #113f37;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.footer__partners {
  display: flex;
  align-items: center;
  gap: 0;
}
.footer__partners a { display: block; transition: opacity .2s; }
.footer__partners a:hover { opacity: .8; }
.footer__partners { flex: 1; gap: 0 80px; }
.footer__partners img { display: block; width: auto; height: var(--h, 42px); max-width: 200px; object-fit: contain; }

.footer__warn {
  margin-top: 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
}
.footer__logo {
  margin-top: 31px;
  height: 62px;
  padding: 0 28px;
  gap: 12px;
  border-color: #2a8f7b;
  background: linear-gradient(90deg, #0c2f29 0%, #0f5147 55%, #13705f 100%);
  position: relative;
  overflow: hidden;
}
.footer__logo .logo__icon { width: 26px; height: 26px; }
.footer__logo .logo__main {
  font-size: 19px;
  background: linear-gradient(90deg, #2dd4bf 0%, #2dd4bf 35%, #0f5147 45%, #2dd4bf 55%, #2dd4bf 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}
.footer__logo .logo__sub {
  font-size: 14px;
  background: linear-gradient(90deg, #2dd4bf 0%, #2dd4bf 35%, #0f5147 45%, #2dd4bf 55%, #2dd4bf 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 23px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}
.footer__sub {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 22px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
}
.footer__nav ul, .footer__sub ul { display: contents; list-style: none; margin: 0; padding: 0; }
.footer__nav li, .footer__sub li { margin: 0; }
.footer__nav .sub-menu, .footer__sub .sub-menu { display: none; }
.footer__nav a:hover, .footer__sub a:hover { color: var(--accent); }
.footer__copy {
  margin-top: 24px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
}

/* ---------- 404 ---------- */
.error-404 {
  padding: 96px 0 110px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(20, 70, 62, .55) 0%, rgba(20, 70, 62, 0) 100%),
    linear-gradient(180deg, #0d2f2a 0%, #061210 100%);
}
.error-404__image { display: block; margin: 0 auto 28px; max-width: 360px; width: 100%; height: auto; }
.error-404__code {
  font-family: var(--font-wide);
  font-weight: 800;
  font-size: 140px;
  line-height: 1;
  letter-spacing: -.06em;
  background: linear-gradient(180deg, #ffffff 0%, #b7f5e4 40%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(45, 212, 191, .25));
}
.error-404__title { margin-top: 18px; font-size: 32px; line-height: 40px; font-weight: 500; }
.error-404__text { max-width: 560px; margin: 14px auto 0; font-size: 16px; line-height: 26px; color: var(--text-2); }
.error-404__text p + p { margin-top: 10px; }
.error-404__text a { color: var(--accent); text-decoration: underline; }
.error-404 .btn-bonus { display: inline-flex; margin: 32px auto 0; width: auto; min-width: 220px; padding: 0 28px; color: #04201b; background: linear-gradient(90deg, #1a8676 0%, #30d3ba 100%); }

/* ---------- Generic pages ---------- */
.page-content { padding: 56px 0 72px; }
.page-content__title { font-size: 44px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.entry-content { margin-top: 28px; max-width: 860px; font-size: 16px; line-height: 26px; color: var(--text-2); }
.entry-content > * + * { margin-top: 16px; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text); font-weight: 600; line-height: 1.3; margin-top: 32px; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 20px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.entry-content blockquote { margin-left: 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.posts-list { display: grid; gap: 16px; margin-top: 28px; }
.posts-list .card h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.posts-list .card h2 a:hover { color: var(--accent); }
.pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--border-2); border-radius: 6px; font-size: 14px; }
.pagination .current { background: var(--card); color: var(--accent); }

@media (max-width: 640px) {
  .error-404 { padding: 56px 0 64px; }
  .error-404__code { font-size: 88px; }
  .error-404__title { font-size: 22px; line-height: 28px; margin-top: 12px; }
  .error-404__text { font-size: 14px; line-height: 22px; }
  .error-404 .btn-bonus { margin-top: 24px; width: 100%; }
  .page-content { padding: 32px 0 44px; }
  .page-content__title { font-size: 28px; }
  .entry-content { margin-top: 18px; font-size: 14px; line-height: 22px; }
}

/* =================================================
   Tablet (≤ 1199px)
   ================================================= */
@media (max-width: 1199px) {
  .hero__title { font-size: 46px; }
  .nav { gap: 22px; }

  .offer {
    grid-template-columns: 140px minmax(0, 1fr) 200px 80px 200px;
  }
  .offer__cta { margin-left: 20px; }

  .footer__age { width: auto; flex: 1; }
  .footer__partners { gap: 0 48px; }
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--border-2);
    border-radius: 10px;
  }
  .burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
  }
  .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 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; }

  .hero { padding-top: 32px; }
  .hero__title { font-size: 40px; }
  .hero__text { font-size: 17px; line-height: 26px; margin-top: 8px; }

  .offers { padding: 48px 0; }
  .offer {
    grid-template-columns: 140px minmax(0, 1fr) 90px 200px;
    grid-template-areas:
      "brand info  info  info"
      "brand rating score cta"
      "terms terms terms terms";
    row-gap: 12px;
    padding-top: 16px;
  }
  .offer__info { padding-top: 0; padding-left: 16px; }
  .offer__rating { padding-left: 16px; }
  .offer__cta { margin-left: 10px; }

  .how__grid, .how__grid.cols-2, .how__grid.cols-4 { grid-template-columns: 1fr; gap: 16px; }
  .section, .section.pt-lg { padding-top: 72px; }
  .section.pb-lg { padding-bottom: 72px; }

  .footer__top { flex-direction: column; gap: 20px; }
  .footer__age { justify-content: center; }
  .footer__partners { justify-content: center; flex-wrap: wrap; gap: 20px 40px; }

}

/* =================================================
   Mobile (≤ 640px) — compact
   ================================================= */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .topbar { font-size: 10px; line-height: 14px; padding: 6px 0; letter-spacing: 0; }
  .topbar .container { padding: 0 8px; }

  .header__inner { height: 58px; }
  .logo { height: 40px; padding: 0 12px 0 10px; gap: 8px; border-radius: 10px; }
  .logo .logo__icon { width: 20px; height: 20px; }
  .logo .logo__main { font-size: 15px; }
  .logo .logo__sub { font-size: 10px; }
  .burger { width: 40px; height: 40px; }
  .nav { padding: 4px 16px 12px; }

  .hero { padding: 22px 0 14px; }
  .hero__title { font-size: 28px; line-height: 1.18; }
  .hero__text { font-size: 14px; line-height: 21px; margin-top: 8px; }
  .chips { margin-top: 14px; height: 48px; border-radius: 10px; }
  .chip { height: 34px; font-size: 13px; padding: 0 12px 0 10px; gap: 6px; }
  .chip svg, .chip img { width: 14px; height: 14px; }
  .chips__group { gap: 8px; padding-right: 8px; }
  .hero__updated { margin-top: 12px; font-size: 13px; line-height: 18px; }

  .offers { padding: 24px 0 28px; }
  .offers__list { padding: 0 12px; gap: 10px; }
  .offer {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    grid-template-areas:
      "brand info   info"
      "rating rating score"
      "cta    cta    cta"
      "terms  terms  terms";
    row-gap: 10px;
    padding: 12px 12px 0;
    border-radius: 14px;
  }
  .offer__brand { gap: 6px; }
  .offer__logo { width: 104px; }
  .offer__badge { font-size: 10px; line-height: 12px; padding: 3px 6px; }
  .offer__info { padding-left: 12px; }
  .offer__label { font-size: 10px; line-height: 14px; }
  .offer__name { font-size: 14px; line-height: 18px; margin-top: 2px; }
  .offer__bonus { font-size: 13px; line-height: 18px; }

  .offer__rating {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 8px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .offer__votes { font-size: 12px; order: 2; color: var(--text-2); }
  .stars { margin-top: 0; order: 1; }
  .stars svg { width: 14px; height: 14px; }
  .offer__note { display: none; }
  .offer__score {
    padding-top: 8px;
    border-top: 1px solid var(--line);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 17px;
  }

  .offer__cta {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "btn btn" "dep visit";
    row-gap: 6px;
  }
  .btn-bonus { grid-area: btn; width: 100%; height: 42px; font-size: 14px; }
  .offer__dep { grid-area: dep; margin: 0; justify-self: start; font-size: 11px; }
  .offer__visit { grid-area: visit; margin: 0; justify-self: end; font-size: 11px; }
  .offer__terms { margin-top: 2px; padding: 6px 0 9px; font-size: 10px; line-height: 13px; }

  .section, .section.pt-lg { padding-top: 44px; }
  .hero + .offers + .section, .offers + .section, .section.pt-md { padding-top: 32px; }
  .section.pt-sm, .notice-section { padding-top: 20px; }
  .section:last-child, .section.pb-md { padding-bottom: 32px; }
  .section.pb-lg { padding-bottom: 44px; }
  .section__title { font-size: 22px; line-height: 28px; }
  .section__title--sm { font-size: 22px; line-height: 28px; }
  .section__lead { margin-top: 12px; font-size: 14px; line-height: 22px; }
  .how__grid { margin-top: 18px; gap: 10px; }
  .card { padding: 16px; }
  .card h3 { font-size: 16px; line-height: 22px; }
  .card__text { margin-top: 6px; }
  .card p { font-size: 14px; line-height: 21px; }
  .guide__title,
  .guide .section__lead + .guide__title { margin-top: 22px; font-size: 16px; line-height: 22px; }
  .guide__text { margin-top: 6px; font-size: 14px; line-height: 22px; }
  .guide .notice { margin-top: 24px; }
  .notice { padding: 12px; font-size: 13px; line-height: 20px; }
  .notice__icon { margin-top: 2px; }

  .faq__list { margin-top: 16px; gap: 6px; }
  .faq__q { padding: 10px 12px; font-size: 13px; line-height: 18px; min-height: 42px; }
  .faq__a > div { padding: 0 12px; font-size: 13px; line-height: 20px; }
  .faq__item.is-open .faq__a > div { padding-bottom: 12px; }

  .footer { padding: 24px 0 28px; }
  .footer__top { gap: 16px; padding-bottom: 18px; }
  .footer__age { font-size: 13px; gap: 10px; }
  .footer__badge { width: 40px; height: 24px; font-size: 12px; }
  .footer__partners { gap: 16px 24px; }
  .footer__partners img { height: calc(var(--h, 42px) * .75); }
  .footer__warn { font-size: 11px; }
  .footer__logo { margin-top: 20px; height: 50px; padding: 0 20px; }
  .footer__logo .logo__main { font-size: 16px; }
  .footer__logo .logo__sub { font-size: 12px; }
  .footer__nav { margin-top: 18px; gap: 8px 16px; font-size: 13px; }
  .footer__sub { margin-top: 14px; }
  .footer__copy { margin-top: 16px; font-size: 11px; }
}

@media (max-width: 374px) {
  .hero__title { font-size: 24px; }
  .logo .logo__main { font-size: 13px; }
  .logo .logo__sub { font-size: 9px; letter-spacing: .12em; }
  .offer { grid-template-columns: 92px minmax(0, 1fr) auto; }
  .offer__logo { width: 92px; }
}
