/* ============================================================
   InfoThemeBazaar — Homepage Styles
   Original code © InfoThemeBazaar. All rights reserved.
   ============================================================ */

:root {
  --red: #e02d39;
  --red-dark: #c01f2b;
  --red-soft: #fdecee;
  --ink: #16182d;
  --ink-2: #23263f;
  --text: #3d3f56;
  --muted: #5f6278; /* AA contrast (≥4.5:1) on white and --soft backgrounds */
  --line: #e8e9f1;
  --soft: #f6f7fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(22, 24, 45, 0.08);
  --shadow-lg: 0 20px 60px rgba(22, 24, 45, 0.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: inline-block; vertical-align: middle; }
a { text-decoration: none; color: inherit; }

.container { width: min(1440px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

.text-red { color: var(--red); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 0 0 12px 12px;
  transition: top .25s ease;
}
.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; font-family: var(--font);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 10px 24px rgba(224, 45, 57, 0.32);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(224, 45, 57, 0.4); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25); }

/* ---------- Chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); color: var(--red-dark);
  font-size: 13px; font-weight: 700; letter-spacing: .3px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.8s infinite; }
.chip--light { background: rgba(255, 255, 255, 0.1); color: #ffd7da; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink); color: rgba(255, 255, 255, 0.9);
  overflow: hidden; padding: 9px 0; font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 42px; animation: marquee 28s linear infinite; will-change: transform; }
.marquee__track span { display: inline-flex; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(22, 24, 45, 0.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.brand__name em { font-style: normal; color: var(--red); }
.brand__tag { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link { font-size: 15px; font-weight: 600; color: var(--text); position: relative; padding: 4px 0; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2.5px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2.6px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 480px; height: 480px; background: rgba(224, 45, 57, 0.10); top: -140px; right: -120px; }
.hero__glow--2 { width: 380px; height: 380px; background: rgba(22, 24, 45, 0.07); bottom: -160px; left: -120px; }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }

.hero__title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; color: var(--ink); line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 22px; }
.hero__underline { position: relative; white-space: nowrap; }
.hero__underline::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 10px;
  background: var(--red-soft); z-index: -1; border-radius: 4px;
}
.hero__desc { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats { display: flex; gap: 44px; }
.stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -1px; }
.stat strong::after { content: "+"; color: var(--red); }
.stat--pct strong::after { content: "%"; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* Hero visual — real theme covers, auto-rotating showcase */
.hero__visual { position: relative; min-height: 460px; }
.shot {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.shot--main { position: absolute; inset: 14px 0 auto auto; width: min(450px, 94%); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot__bar i:first-child { background: var(--red); }
.shot__url {
  margin-left: 10px; flex: 1; text-align: center;
  background: var(--soft); color: var(--muted);
  font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 999px;
}
.shot__frame { position: relative; aspect-ratio: 8 / 5; background: var(--soft); }
.shot__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity .9s ease, transform 1.4s ease;
}
.shot__frame img.is-active { opacity: 1; transform: scale(1); }

.shot--mini {
  position: absolute; left: 0; bottom: 84px; width: min(240px, 54%);
  rotate: -4deg; border: 4px solid var(--white);
}

.shot__badge {
  position: absolute; z-index: 2; top: -8px; left: 5%;
  background: #eafaf1; color: #178a50; border: 1px solid rgba(23, 138, 80, 0.2);
  font-size: 12.5px; font-weight: 800; padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow);
}
.shot__badge--ai {
  top: auto; left: -2%; bottom: 36%;
  background: #f4efff; color: #6b3fd6; border-color: rgba(107, 63, 214, 0.22);
}

.hero__rating {
  position: absolute; right: 8px; bottom: 8px;
  background: var(--ink); color: var(--white);
  border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__stars { color: #ffb400; letter-spacing: 3px; font-size: 15px; }
.hero__rating span { font-size: 12.5px; font-weight: 600; opacity: .85; }

.float-slow { animation: float 7s ease-in-out infinite; }
.float-mid { animation: float 6s ease-in-out 1s infinite; }
.float-fast { animation: float 5s ease-in-out .5s infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ============ TRUST STRIP ============ */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 30px 0; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.trust__item strong { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; }
.trust__item span { font-size: 13.5px; color: var(--muted); }

/* ============ SECTIONS (generic) ============ */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--ink); letter-spacing: -1px; line-height: 1.15; }
.section__desc { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.section__foot { text-align: center; margin-top: 52px; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.themes-hint {
  display: none; text-align: center;
  color: var(--muted); font-size: 13px; font-weight: 600;
  margin: -36px 0 26px;
}

/* ============ THEME CARDS ============ */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.card__thumb {
  position: relative; display: block;
  aspect-ratio: 8 / 5; overflow: hidden; background: var(--soft);
}
.card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.card:hover .card__thumb img { transform: scale(1.07); }

.card__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(22, 24, 45, 0.5);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover .card__overlay, .card__thumb:focus-visible .card__overlay { opacity: 1; }
.card__overlay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(10px); transition: transform .35s ease;
}
.card:hover .card__overlay-btn { transform: translateY(0); }
.card__overlay-btn:hover { color: var(--red); }

.card__body { padding: 24px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
  background: var(--red-soft); color: var(--red-dark);
  padding: 4px 11px; border-radius: 999px;
}
.tag--outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.card__title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.2px; }
.card__desc { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--red);
}
.card__link svg { transition: transform .25s ease; }
.card__link:hover svg { transform: translate(3px, -3px); }

/* ============ FEATURES (dark) ============ */
.section--dark { background: var(--ink); }
.section--dark .section__title { color: var(--white); }
.section--dark .section__desc { color: rgba(255, 255, 255, 0.6); }

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius); padding: 30px;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.07); border-color: rgba(224, 45, 57, 0.5); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(224, 45, 57, 0.16); color: #ff8a92;
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature h3 { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: rgba(255, 255, 255, 0.62); font-size: 14.5px; }

/* ============ SECTION CARDS ============ */
.scard {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(224, 45, 57, 0.35); }
.scard__thumb {
  width: 180px; flex-shrink: 0; aspect-ratio: 8 / 5;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--soft);
}
.scard__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.scard:hover .scard__thumb img { transform: scale(1.08); }
.scard__body h3 { color: var(--ink); font-size: 18.5px; font-weight: 700; margin-bottom: 7px; }
.scard__body p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }

/* ============ STEPS ============ */
.steps { display: flex; align-items: stretch; gap: 18px; }
.step {
  flex: 1; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-weight: 800; font-size: 17px; margin-bottom: 18px;
  position: relative;
}
.step__num::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed rgba(224, 45, 57, 0.45);
}
.step h3 { color: var(--ink); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step__arrow { display: grid; place-items: center; color: var(--red); flex-shrink: 0; }

/* ============ TESTIMONIAL SLIDER ============ */
.slider { max-width: 780px; margin-inline: auto; overflow: hidden; }
.slider__track { display: flex; transition: transform .55s cubic-bezier(.65, 0, .35, 1); }
.quote {
  flex: 0 0 100%; text-align: center; padding: 10px 24px;
}
.quote__stars { color: #ffb400; font-size: 20px; letter-spacing: 4px; margin-bottom: 20px; }
.quote blockquote {
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; color: var(--ink);
  line-height: 1.55; letter-spacing: -.2px; margin-bottom: 26px;
}
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.quote__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 19px;
}
.quote figcaption strong { display: block; color: var(--ink); font-size: 15.5px; }
.quote figcaption div span { font-size: 13px; color: var(--muted); }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.slider__btn:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: scale(1.06); }
.slider__dots { display: flex; gap: 9px; }
.slider__dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease;
}
.slider__dot.is-active { width: 26px; background: var(--red); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 0 26px; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item[open] { border-color: rgba(224, 45, 57, 0.4); box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--red); border-radius: 2px; transition: transform .3s ease;
}
.faq__plus::before { width: 14px; height: 2.4px; }
.faq__plus::after { width: 2.4px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); }
.faq__item p { padding: 0 0 22px; color: var(--muted); font-size: 15px; max-width: 92%; }

/* ============ CTA BAND ============ */
.cta {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #f0525d);
  padding: 68px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.8px; }
.cta h2 em { font-style: normal; text-decoration: underline 3px; text-underline-offset: 6px; }
.cta p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; font-size: 16px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px;
  padding: 68px 0 48px;
}
.brand--footer .brand__name { color: var(--white); }
.footer__brand p { margin-top: 18px; font-size: 14.5px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; }
.footer__head { margin-bottom: 18px; }
.footer__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; background: none; border: 0; padding: 0; cursor: default;
  font-family: var(--font); text-align: left;
  color: var(--white); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.footer__chev { display: none; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14.5px; transition: color .2s ease, transform .2s ease; width: fit-content; }
.footer__col a:hover { color: var(--white); transform: translateX(4px); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0; font-size: 13.5px;
}

/* ============ BACK TO TOP ============ */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--red); color: var(--white); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(224, 45, 57, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--ink); }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 1400px) {
  .shot__badge:not(.shot__badge--ai) {
    left: 15%;
  }
}
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--white); padding: 96px 6% 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%); transition: transform .4s cubic-bezier(.65, 0, .35, 1);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { font-size: 17px; padding: 10px 0; width: 100%; }
  .nav__cta { margin: 12px 0 0; }
  .hamburger { display: flex; }

  .section { padding: 72px 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); padding: 4px 0; }
  .cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }

  /* Themes grid becomes a swipeable snap slider on mobile */
  #themes .grid--3 {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -4.35%; /* bleed to screen edges past the 92% container */
    padding: 4px 4.35% 8px;
  }
  #themes .grid--3::-webkit-scrollbar { display: none; }
  #themes .grid--3 .card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .themes-hint { display: block; }
  .trust__inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero__stats { gap: 26px; flex-wrap: wrap; }
  .hero__visual { min-height: 0; padding-bottom: 60px; }
  .shot--main { position: relative; inset: auto; width: 100%; }
  .shot--mini { bottom: 0; width: 46%; }
  .hero__rating { right: 0; bottom: 10px; }
  .brand__tag { display: none; }
  /* Collapsible footer link groups */
  .footer__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 28px; }
  .footer__brand { margin-bottom: 28px; }
  .footer__col { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 0; }
  .footer__head { margin-bottom: 0; }
  .footer__toggle { cursor: pointer; padding: 4px 0; }
  .footer__chev {
    display: inline-block; width: 9px; height: 9px; flex-shrink: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg); margin-top: -4px;
    transition: transform .3s ease;
  }
  .footer__col.is-open .footer__chev { transform: rotate(225deg); margin-top: 4px; }
  .footer__links {
    overflow: hidden; max-height: 0;
    transition: max-height .4s ease;
  }
  .footer__col.is-open .footer__links { max-height: 420px; }
  .footer__links a:first-child { margin-top: 16px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .scard { flex-direction: column; }
  .scard__thumb { width: 100%; }
}
