/* ============================================
   Hogrefe Demo — Shared styles
   Brand colors: #B0B612 (olive/yellow), #D6DC00 (search bar), #000
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar / Header ---------- */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-logo { height: 44px; width: auto; }
.brand-logo img { height: 100%; }

.utility-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #333;
}
.utility-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: #333;
  transition: color .2s;
}
.utility-nav a:hover { color: #B0B612; }
.utility-nav .ico {
  width: 20px; height: 20px;
  stroke: #222;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.utility-nav a:hover .ico { stroke: #B0B612; }
.utility-nav .flag { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #f0f0f0; }

/* ---------- Main nav ---------- */
.mainnav {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.mainnav-inner {
  display: flex;
  justify-content: flex-end;
  gap: 46px;
  padding: 14px 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.mainnav-inner a {
  position: relative;
  padding: 6px 2px;
  color: #111;
  transition: color .2s;
}
.mainnav-inner a:hover,
.mainnav-inner a.active { color: #B0B612; }
.mainnav-inner a.has-caret::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 8px; height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}
.mainnav-inner a.nav-highlight {
  background: #B0B612;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
}
.mainnav-inner a.nav-highlight:hover { background: #959a0f; color: #fff; }

/* ---------- Yellow search bar ---------- */
.searchbar {
  background: #D6DC00;
  padding: 22px 0;
}
.searchbar-inner {
  display: flex;
  gap: 0;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
}
.searchbar input {
  flex: 1;
  border: none;
  padding: 16px 22px;
  font-size: 15px;
  background: #fff;
  color: #111;
  font-family: inherit;
}
.searchbar input::placeholder { color: #9a9a9a; font-style: italic; }
.searchbar button {
  background: #D6DC00;
  border: none;
  color: #111;
  font-weight: 700;
  padding: 0 38px;
  font-size: 16px;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
}

/* ---------- Hero editorial (novo) ---------- */
.hero-editorial .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(176,182,18,0.1);
  border: 1px solid rgba(176,182,18,0.3);
  border-radius: 30px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a3e;
  margin-bottom: 24px;
}
.hero-editorial .hero-tag-dot {
  width: 8px; height: 8px;
  background: #B0B612;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(176,182,18,0.2);
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(176,182,18,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(176,182,18,0.08); }
}

.hero-banner {
  position: relative;
  max-width: 960px;
  margin: 24px auto 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.25),
    0 15px 30px -10px rgba(176,182,18,0.2);
  aspect-ratio: 1200 / 628;
  background: #fbfbf7;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.hero-banner .launch-badge-float {
  position: absolute;
  top: 20px; right: 20px;
  background: #D6DC00;
  color: #111;
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  border: 3px solid #fff;
}

.hero-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 4px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-ghost-dark:hover { background: #111; color: #D6DC00; }

/* ---------- Hero (homepage) ---------- */
.hero {
  background: #fafafa;
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 10px;
}
.hero::before { left: 0; background: linear-gradient(#D6DC00, #D6DC00 33%, #e63946 33%, #e63946 66%, #2b6cb0 66%); }
.hero::after { right: 0; background: linear-gradient(#D6DC00, #D6DC00 33%, #e63946 33%, #e63946 66%, #2b6cb0 66%); }

.hero-inner {
  text-align: center;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: "IBM Plex Serif", serif;
  font-size: 78px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 16px 0 18px;
  color: #111;
}
.hero-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0 auto 44px;
  max-width: 720px;
  color: #222;
}
.hero-title strong { font-weight: 800; }
.hero-books {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin: 0 auto;
}
.hero-book {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  aspect-ratio: 3 / 4;
}
.hero-book img { width: 100%; height: 100%; object-fit: cover; }
.hero-book .launch-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #D6DC00;
  color: #111;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  border: 2px solid #fff;
  z-index: 2;
}
.hero-footer {
  margin-top: 40px;
  font-size: 15px;
  color: #555;
  font-family: "IBM Plex Sans", sans-serif;
}

/* ---------- Category strip ---------- */
.categories {
  padding: 64px 0 32px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 8px;
}
.section-sub {
  text-align: center;
  color: #666;
  font-family: "IBM Plex Sans", sans-serif;
  margin-bottom: 36px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: #f6f6f2;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: 1px solid #ececec;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.cat-card .ic {
  width: 54px; height: 54px;
  background: #B0B612;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cat-card .ic svg {
  width: 26px; height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-card h3 { margin: 0 0 6px; font-size: 18px; }
.cat-card p { margin: 0; color: #666; font-size: 14px; font-family: "IBM Plex Sans", sans-serif; }

/* ---------- Featured books grid ---------- */
.featured { padding: 64px 0; background: #fbfbf7; }
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.book-grid.book-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
.book-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.book-card .cover {
  aspect-ratio: 3 / 4;
  background: #f0f0f0;
  overflow: hidden;
}
.book-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card .body { padding: 18px; }
.book-card h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; }
.book-card .author { color: #777; font-size: 13px; font-family: "IBM Plex Sans", sans-serif; margin-bottom: 10px; }
.book-card .price {
  display: flex; align-items: baseline; gap: 10px;
  font-family: "IBM Plex Sans", sans-serif;
}
.book-card .old { text-decoration: line-through; color: #aaa; font-size: 13px; }
.book-card .now { color: #B0B612; font-weight: 700; font-size: 18px; }
.book-card .btn-buy {
  display: block;
  margin-top: 14px;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}
.book-card .btn-buy:hover { background: #B0B612; color: #fff; }

/* ---------- Newsletter strip ---------- */
.newsletter-strip {
  background: #111;
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.newsletter-strip h2 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.newsletter-strip p { color: #bbb; margin: 0 0 24px; font-family: "IBM Plex Sans", sans-serif; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  font-size: 15px;
  color: #111;
  font-family: inherit;
}
.newsletter-form button {
  background: #B0B612;
  color: #fff;
  border: none;
  padding: 0 28px;
  font-weight: 700;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #f6f6f2;
  padding: 56px 0 24px;
  font-family: "IBM Plex Sans", sans-serif;
  color: #444;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h5 {
  font-family: "IBM Plex Serif", serif;
  font-size: 16px;
  margin: 0 0 14px;
  color: #111;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a:hover { color: #B0B612; }
.footer-grid .social { display: flex; gap: 12px; margin-top: 12px; }
.footer-grid .social a {
  width: 36px; height: 36px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-grid .social a svg {
  width: 16px; height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-grid .social a:hover { background: #B0B612; }
.footer-bottom {
  border-top: 1px solid #e6e6e0;
  padding-top: 18px;
  text-align: center;
  color: #888;
  font-size: 12px;
}

/* DDGROUP credit */
.ddg-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 10px;
  border-top: 1px solid #e6e6e0;
  margin-top: 8px;
}
.ddg-credit .ddg-label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}
.ddg-credit img {
  height: 22px;
  width: auto;
  opacity: 0.85;
  transition: opacity .2s;
}
.ddg-credit a:hover img { opacity: 1; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  z-index: 100;
  color: #fff;
  cursor: pointer;
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ============================================
   Roulette — floating trigger + modal
   ============================================ */
.roulette-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 120;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #111;
  color: #D6DC00;
  border: 1.5px solid #B0B612;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
  transition: transform .25s ease;
}
.roulette-trigger .rlt-label {
  position: absolute;
  left: 78px;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #D6DC00;
  padding: 10px 16px;
  border-radius: 24px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  border: 1px solid rgba(176,182,18,0.4);
}
.roulette-trigger .rlt-label::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #111;
  border-left: 1px solid rgba(176,182,18,0.4);
  border-bottom: 1px solid rgba(176,182,18,0.4);
}
.roulette-trigger svg {
  width: 28px; height: 28px;
  stroke: #D6DC00;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: roulette-rotate 10s linear infinite;
}
.roulette-trigger::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(176,182,18,0.55);
  animation: roulette-pulse 1.9s ease-out infinite;
  pointer-events: none;
}
.roulette-trigger::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(176,182,18,0.35);
  animation: roulette-pulse 1.9s ease-out infinite;
  animation-delay: 0.6s;
  pointer-events: none;
}
.roulette-trigger:hover { transform: scale(1.07); }
.roulette-trigger .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #D6DC00;
  color: #111;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
  animation: roulette-bounce 2.2s ease-in-out infinite;
}

@keyframes roulette-rotate {
  to { transform: rotate(360deg); }
}
@keyframes roulette-pulse {
  0%   { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes roulette-bounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* Modal overlay */
.rlt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.78);
  z-index: 400;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}
.rlt-overlay.show { display: flex; }

.rlt-modal {
  background: #fbfbf7;
  border: 1px solid #B0B612;
  border-radius: 18px;
  padding: 44px 40px 40px;
  max-width: 620px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: rlt-rise .5s cubic-bezier(.22,1,.36,1) both;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
@keyframes rlt-rise {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.rlt-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.rlt-close:hover { background: #111; color: #fff; border-color: #111; }
.rlt-close svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.rlt-eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #B0B612;
  margin-bottom: 10px;
  font-weight: 700;
}
.rlt-modal h2 {
  font-family: "IBM Plex Serif", serif;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}
.rlt-modal .lead {
  font-family: "IBM Plex Sans", sans-serif;
  color: #666;
  font-size: 14.5px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.rlt-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px auto 22px;
}
.rlt-scene canvas {
  display: block;
  width: min(360px, 72vw);
  height: min(360px, 72vw);
}
.rlt-pointer::before {
  content: "";
  display: block;
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 26px solid #B0B612;
  filter: drop-shadow(0 0 10px rgba(176,182,18,0.55));
}

.rlt-spin {
  display: inline-block;
  padding: 14px 46px;
  background: #B0B612;
  color: #fff;
  border: none;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background .25s;
}
.rlt-spin:hover:not(:disabled) { background: #959a0f; }
.rlt-spin:disabled { opacity: .45; cursor: not-allowed; }

.rlt-disclaimer {
  margin-top: 18px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  color: #888;
}

/* Result screen inside modal */
.rlt-result { display: none; }
.rlt-result.show { display: block; }

.rlt-prize-icon {
  width: 88px; height: 88px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #D6DC00, #B0B612);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(176,182,18,0.35);
}
.rlt-prize-icon svg {
  width: 42px; height: 42px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rlt-prize-icon.muted { background: #eee; box-shadow: none; }
.rlt-prize-icon.muted svg { stroke: #999; }

.rlt-prize-name {
  font-family: "IBM Plex Serif", serif;
  font-size: 34px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.15;
}
.rlt-prize-detail {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B0B612;
  font-weight: 700;
  margin: 0 0 18px;
}
.rlt-divider {
  width: 42px;
  height: 2px;
  background: #B0B612;
  margin: 0 auto 22px;
  border-radius: 2px;
}
.rlt-prize-sub {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14.5px;
  color: #555;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.rlt-result-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 620px) {
  .rlt-modal { padding: 32px 22px 26px; }
  .rlt-modal h2 { font-size: 24px; }
  .rlt-prize-name { font-size: 28px; }
}

/* Search button icon */
.searchbar button svg {
  width: 16px; height: 16px;
  stroke: #111;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  margin-right: 6px;
}

/* Trust lock icon inside form */
.signup-form .trust svg {
  width: 14px; height: 14px;
  stroke: #888;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 4px;
}

/* Price tag icon */
.now-icon {
  display: inline-block;
  width: 12px; height: 12px;
  vertical-align: -1px;
  margin-right: 2px;
}

/* ============================================
   LOYALTY PAGE
   ============================================ */
.loy-hero {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #2a2a1f 100%);
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.loy-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(214,220,0,0.25), transparent 70%);
  border-radius: 50%;
}
.loy-hero::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -150px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(176,182,18,0.2), transparent 70%);
  border-radius: 50%;
}
.loy-hero-inner {
  position: relative;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.loy-eyebrow {
  display: inline-block;
  background: rgba(214,220,0,0.15);
  color: #D6DC00;
  padding: 8px 18px;
  border-radius: 30px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(214,220,0,0.3);
}
.loy-hero h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 24px;
}
.loy-hero h1 em {
  font-style: italic;
  color: #D6DC00;
  font-weight: 700;
}
.loy-hero .lead {
  font-size: 20px;
  color: #d8d8d8;
  max-width: 720px;
  margin: 0 auto 36px;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
}
.loy-hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: #B0B612;
  color: #fff;
  padding: 16px 38px;
  border-radius: 4px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #959a0f; color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

.loy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 64px auto 0;
  padding: 32px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.loy-stat { text-align: center; min-width: 0; }
.loy-stat .num {
  font-family: "IBM Plex Serif", serif;
  font-size: 34px;
  font-weight: 700;
  color: #D6DC00;
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.loy-stat .lbl {
  color: #bbb;
  font-size: 13px;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.4;
}

/* Benefits section */
.loy-benefits { padding: 90px 0; }
.loy-benefits .section-title { font-size: 42px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.benefit-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: #D6DC00;
}
.benefit-card .icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #D6DC00, #B0B612);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #111;
  margin-bottom: 22px;
}
.benefit-card .icon svg {
  width: 30px; height: 30px;
  stroke: #111;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.benefit-card p {
  margin: 0;
  color: #555;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
}

/* How it works */
.loy-how {
  background: #fbfbf7;
  padding: 90px 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.how-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.how-step .step-num {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: #111;
  color: #D6DC00;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 2;
  border: 2px solid #B0B612;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.how-step .step-num span {
  display: block;
  line-height: 1;
  padding: 0;
  transform: translateY(-1px);
}
.how-step h4 { margin: 0 0 10px; font-size: 18px; }
.how-step p {
  color: #555;
  font-size: 14px;
  font-family: "IBM Plex Sans", sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* Tiers */
.loy-tiers { padding: 90px 0; }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.tier-card {
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 40px 32px;
  background: #fff;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
.tier-card.featured {
  border: 2px solid #B0B612;
  background: linear-gradient(180deg, #fffef5 0%, #fff 100%);
  box-shadow: 0 10px 30px rgba(176,182,18,0.12);
}
.tier-card .tier-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.tier-medal {
  width: 60px; height: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
.tier-card h3 { margin: 0; font-size: 24px; }
.tier-card .tier-req {
  color: #888;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  margin: 0 0 22px;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14.5px;
}
.tier-card ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #333;
  border-bottom: 1px dashed #eee;
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0B612' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5L20 7'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Testimonials */
.loy-testimonials { background: #111; color: #fff; padding: 90px 0; }
.loy-testimonials .section-title { color: #fff; }
.loy-testimonials .section-sub { color: #bbb; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.testi-card::before {
  content: "“";
  position: absolute;
  top: 10px; left: 18px;
  font-family: "IBM Plex Serif", serif;
  font-size: 80px;
  color: #D6DC00;
  opacity: 0.25;
  line-height: 1;
}
.testi-card p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #e8e8e8;
  margin: 0 0 20px;
  position: relative;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B0B612, #D6DC00);
  color: #111;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: "IBM Plex Sans", sans-serif;
}
.testi-author .name { font-weight: 700; font-family: "IBM Plex Sans", sans-serif; font-size: 14px; }
.testi-author .role { color: #999; font-family: "IBM Plex Sans", sans-serif; font-size: 12.5px; }

/* Signup form */
.loy-signup {
  padding: 90px 0;
  background: linear-gradient(180deg, #fbfbf7 0%, #fff 100%);
}
.signup-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}
.signup-copy h2 { font-size: 42px; margin: 0 0 18px; line-height: 1.1; }
.signup-copy p {
  font-family: "IBM Plex Sans", sans-serif;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.signup-copy ul {
  list-style: none; padding: 0; margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
}
.signup-copy ul li {
  padding: 10px 0 10px 38px;
  position: relative;
  color: #222;
  font-size: 15px;
}
.signup-copy ul li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 24px; height: 24px;
  background-color: #B0B612;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5L20 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  border-radius: 50%;
}
.signup-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.06);
}
.signup-form h3 {
  margin: 0 0 6px;
  font-size: 26px;
}
.signup-form .sub {
  font-family: "IBM Plex Sans", sans-serif;
  color: #777;
  margin: 0 0 26px;
  font-size: 14.5px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: "IBM Plex Sans", sans-serif;
  background: #fafafa;
  transition: border-color .2s, background .2s;
  color: #111;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #B0B612;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,182,18,0.12);
}
.form-group .hint {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  color: #555;
  margin: 18px 0;
}
.form-check input { margin-top: 3px; }
.form-check a { color: #B0B612; text-decoration: underline; }
.signup-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}
.signup-form .trust {
  text-align: center;
  color: #888;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  margin-top: 14px;
}

/* FAQ */
.loy-faq { padding: 80px 0 100px; }
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-size: 17px;
  color: #111;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  color: #B0B612;
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-family: "IBM Plex Sans", sans-serif;
  color: #555;
  line-height: 1.7;
  font-size: 14.5px;
}

/* Success page */
.success-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fbfbf7 0%, #fff 100%);
}
.success-card {
  max-width: 620px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.success-card .check {
  width: 90px; height: 90px;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, #D6DC00, #B0B612);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(176,182,18,0.35);
}
.success-card h1 { font-size: 38px; margin: 0 0 14px; }
.success-card p {
  font-family: "IBM Plex Sans", sans-serif;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 12px;
}
.success-card .code {
  display: inline-block;
  margin: 18px 0 10px;
  padding: 14px 22px;
  background: #fbfbf7;
  border: 1px dashed #B0B612;
  border-radius: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  color: #555;
}
.success-card .code strong { color: #B0B612; font-size: 20px; letter-spacing: 0.08em; }

/* ============================================
   App promo section (used on programa-beneficios)
   ============================================ */
.app-promo-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fbfbf7 0%, #f0ede3 100%);
  position: relative;
  overflow: hidden;
}
.app-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .app-promo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .app-promo-section { padding: 60px 0; }
}

/* ============================================
   Mini iPhone (programa-beneficios app promo)
   ============================================ */
.mini-iphone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mini-iphone-link {
  text-decoration: none;
  display: block;
  transition: transform .3s;
}
.mini-iphone-link:hover { transform: translateY(-6px); }

.mini-iphone {
  width: 260px;
  height: 540px;
  border-radius: 40px;
  background: linear-gradient(145deg, #2a2a2c 0%, #1a1a1c 40%, #0a0a0c 100%);
  padding: 8px;
  box-shadow:
    0 40px 70px -20px rgba(0,0,0,0.35),
    0 20px 40px -10px rgba(176,182,18,0.15);
  position: relative;
}
.mini-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #0f0f0f 0%, #2a2a1f 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 80px;
}
.mini-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #000;
  border-radius: 16px;
}
.mini-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(214,220,0,0.55);
  background: linear-gradient(135deg, #B0B612, #D6DC00);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  margin-top: 4px;
  position: relative;
}
.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-avatar.no-img::after {
  content: "RC";
  color: #111;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.mini-name {
  font-family: "IBM Plex Serif", serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
  text-align: center;
  line-height: 1.15;
}
.mini-age {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}
.mini-divider {
  width: 60px;
  height: 1px;
  background: rgba(214,220,0,0.3);
  margin: 14px 0 10px;
}
.mini-medal-svg {
  width: 64px;
  height: 72px;
  filter: drop-shadow(0 6px 14px rgba(255,255,255,0.12));
}
.mini-eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D6DC00;
  font-weight: 700;
  margin-top: 6px;
}
.mini-tier {
  font-family: "IBM Plex Serif", serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0 10px;
}
.mini-points {
  font-family: "IBM Plex Serif", serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}
.mini-points span {
  font-size: 13px;
  color: #bbb;
  font-weight: 400;
  margin-left: 4px;
}
.mini-cta {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(214,220,0,0.3);
  border-radius: 12px;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  color: #D6DC00;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ============================================
   App promo list
   ============================================ */
.app-promo-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}
.app-promo-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 22px; height: 22px;
  background-color: #B0B612;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5L20 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  border-radius: 50%;
}

/* ============================================
   Mobile menu (hamburger)
   ============================================ */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 310;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  z-index: 300;
  display: none;
  flex-direction: column;
  padding: 90px 24px 30px;
  overflow-y: auto;
  animation: mmFade .25s ease;
}
.mobile-menu.open { display: flex; }
@keyframes mmFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: "IBM Plex Serif", serif;
  font-size: 20px;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #eee;
}
.mobile-menu a::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid #bbb;
  border-top: 2px solid #bbb;
  transform: rotate(45deg);
}
.mobile-menu a.highlight { color: #B0B612; }
.mobile-menu a.highlight::after { border-color: #B0B612; }
.mobile-menu .mm-utility {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}
.mobile-menu .mm-utility .mm-label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  font-weight: 700;
}
.mobile-menu .mm-utility ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu .mm-utility li {
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f4;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu .mm-utility li svg {
  width: 18px; height: 18px;
  stroke: #666;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-books, .cat-grid, .book-grid, .benefits-grid,
  .how-steps, .tiers-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .signup-wrapper { grid-template-columns: 1fr; }
  .loy-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-eyebrow { font-size: 56px; }
  .hero-title { font-size: 22px; }
  .loy-hero h1 { font-size: 42px; }

  /* Hide desktop nav, show hamburger */
  .utility-nav { display: none; }
  .mainnav { display: none; }
  .menu-toggle { display: flex; }
  .topbar-inner { padding: 14px 0; }
}
@media (max-width: 620px) {
  .hero-books, .cat-grid, .book-grid, .benefits-grid,
  .how-steps, .tiers-grid, .testi-grid, .form-row,
  .footer-grid, .loy-stats { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 42px; }
  .hero-title { font-size: 18px; }
  .loy-hero h1 { font-size: 32px; }
  .loy-hero .lead { font-size: 15px; }
  .signup-form, .success-card { padding: 28px 22px; }
  .topbar-inner { gap: 12px; }
  .brand-logo { height: 34px; }
  .searchbar { padding: 14px 0; }
  .searchbar-inner { padding: 0 16px; }
  .searchbar input { padding: 14px 16px; font-size: 14px; }
  .searchbar button { padding: 0 20px; font-size: 14px; }
  .hero { padding: 32px 0 40px; }
  .hero-books { gap: 12px; }
  .categories, .featured { padding: 48px 0 24px; }
  .section-title { font-size: 26px; }
  .loy-benefits, .loy-how, .loy-tiers, .loy-testimonials, .loy-signup, .loy-faq { padding: 60px 0; }
  .loy-benefits .section-title { font-size: 30px; }
  .loy-hero { padding: 60px 0 80px; }
  .loy-stats { padding: 24px 16px; gap: 16px; margin-top: 40px; }
  .loy-stat .num { font-size: 26px; }
  .loy-stat .lbl { font-size: 12px; }
  .benefit-card { padding: 28px 22px; }
  .signup-copy h2 { font-size: 30px; }
  .tier-card { padding: 32px 24px; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .roulette-trigger { bottom: 16px; left: 16px; width: 56px; height: 56px; }
  .roulette-trigger .rlt-label { display: none; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .rlt-modal { padding: 24px 18px 22px; border-radius: 14px; }
  .rlt-modal h2 { font-size: 22px; }
  .rlt-scene canvas { width: 260px; height: 260px; }
  .btn-primary, .btn-ghost { padding: 14px 24px; font-size: 14px; }
  .newsletter-strip h2 { font-size: 24px; }
  .newsletter-form { flex-direction: column; background: transparent; gap: 10px; }
  .newsletter-form input, .newsletter-form button { border-radius: 4px; width: 100%; padding: 14px 18px; }

  /* Hero editorial (novo) */
  .hero-editorial .hero-tag {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  .hero-banner {
    border-radius: 14px;
    margin: 16px auto 24px;
  }
  .hero-banner .launch-badge-float {
    width: 58px; height: 58px;
    font-size: 11px;
    top: 12px; right: 12px;
    border-width: 2px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost-dark {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    text-align: center;
    justify-content: center;
  }
  .btn-ghost-dark { padding: 12px 20px; font-size: 13.5px; }
  .hero-footer { font-size: 13px; margin-top: 24px; }

  /* 3-book grid — full width single column */
  .book-grid.book-grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .book-card .cover { aspect-ratio: 4 / 3; }
  .book-card .body { padding: 16px; }
  .book-card h4 { font-size: 15px; }

  /* App promo mini-iPhone — center and scale down */
  .mini-iphone { width: 220px; height: 460px; }
  .mini-screen { padding: 32px 18px 70px; }
  .mini-name { font-size: 15px; }
  .mini-tier { font-size: 20px; }
  .mini-points { font-size: 28px; }
  .mini-cta { font-size: 10px; padding: 10px 12px; bottom: 16px; left: 16px; right: 16px; }
  .app-promo-section { padding: 50px 0; }
  .app-promo-grid h2 { font-size: 30px; }

  /* DDGROUP credit */
  .ddg-credit { flex-direction: column; gap: 8px; padding: 18px 0 6px; }
  .ddg-credit .ddg-label { font-size: 10px; letter-spacing: 0.14em; }
  .ddg-credit img { height: 20px; }

  /* Loyalty page tweaks */
  .tier-card .tier-head { gap: 12px; }
  .tier-medal { width: 52px; height: 52px; }
  .loy-hero-cta { flex-direction: column; align-items: stretch; }
  .loy-hero-cta .btn-primary,
  .loy-hero-cta .btn-ghost { width: 100%; text-align: center; justify-content: center; }

  /* Container padding reduced on narrow viewports */
  .container { padding: 0 16px; }
}

/* Extra-small adjustments (iPhone SE, older phones) */
@media (max-width: 380px) {
  .hero-eyebrow { font-size: 36px; }
  .hero-title { font-size: 16px; }
  .loy-hero h1 { font-size: 28px; }
  .loy-hero .lead { font-size: 14px; }
  .section-title { font-size: 22px; }
  .loy-stats { grid-template-columns: 1fr 1fr; padding: 18px 12px; gap: 12px; }
  .loy-stat .num { font-size: 22px; }
  .mini-iphone { width: 200px; height: 420px; }
  .tier-card { padding: 26px 20px; }
  .benefit-card { padding: 24px 18px; }
  .benefit-card h3 { font-size: 19px; }
  .brand-logo { height: 30px; }
  .menu-toggle { width: 40px; height: 40px; }
}
