:root {
  --bg: #f3f0e9;
  --panel: rgba(255, 252, 246, 0.94);
  --card: #ffffff;
  --stroke: #d8d1c3;
  --stroke-strong: #b9ac96;
  --text: #2d2924;
  --muted: #746c62;
  --accent: #1e1c19;
  --accent-soft: #f6efe2;
  --shadow: 0 12px 36px rgba(76, 61, 38, 0.09);
  --shadow-soft: 0 10px 24px rgba(53, 42, 25, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 32%),
    linear-gradient(180deg, #faf8f2 0%, #eee8dc 100%);
}

a,
button {
  font: inherit;
}

.page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.hero {
  margin-bottom: 28px;
}

.chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--stroke-strong);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--stroke-strong);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.hero__lead {
  width: min(860px, 100%);
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.catalog {
  display: grid;
  gap: 26px;
  margin-top: 26px;
}

.offers-section,
.faq-section,
.offer-group {
  padding: 24px 20px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 248, 240, 0.96) 100%);
  box-shadow: var(--shadow-soft);
}

.section-head {
  margin-bottom: 18px;
}

.section-head__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b8a68;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

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

.offer-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px 18px 18px;
  border: 1px solid #e3dcd0;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf5 100%);
  box-shadow: 0 12px 26px rgba(78, 63, 41, 0.07);
  overflow: hidden;
}

.offer-card__ribbon {
  position: absolute;
  top: 15px;
  left: -34px;
  padding: 6px 36px;
  background: linear-gradient(90deg, #ffe56d 0%, #f5c535 100%);
  color: #4b401f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-38deg);
}

.offer-card__top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}

.offer-card__logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid #e5ddd2;
  background: linear-gradient(180deg, #fff 0%, #f2ece1 100%);
  overflow: hidden;
}

.offer-card__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.offer-card__fallback {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #2d2924;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.offer-card__fallback--visible {
  display: grid;
}

.offer-card__bank {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4e9d72;
}

.offer-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.offer-card__facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.offer-card__facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed #ddd4c8;
}

.offer-card__facts dt,
.offer-card__facts dd {
  margin: 0;
  font-size: 13px;
}

.offer-card__facts dt {
  color: var(--muted);
}

.offer-card__facts dd {
  max-width: 56%;
  text-align: right;
  word-break: break-word;
}

.offer-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--stroke-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f0eadf 100%);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.offer-card__link:hover {
  transform: translateY(-1px);
  border-color: #a99c89;
  background: #f3ecdf;
}

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

.faq-card {
  padding: 18px;
  border: 1px solid #e1d9cd;
  border-radius: 20px;
  background: #fffdfa;
  box-shadow: 0 8px 18px rgba(78, 63, 41, 0.05);
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .offers-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 20px, 1240px);
    padding-top: 20px;
  }

  .chipbar,
  .offers-section,
  .faq-section,
  .offer-group {
    padding: 16px;
    border-radius: 22px;
  }

  .offers-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .chip {
    width: 100%;
  }
}
