/* ==========================================================================
   iSell Brasil — Componentes
   ========================================================================== */

/* ════════ BOTOES ════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: 48px;
  padding-inline: var(--space-xl);
  font-family: var(--font-button);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default),
              transform var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  position: relative;
  overflow: clip;
  background-color: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
}
.btn--primary:hover { background-color: var(--color-btn-primary-bg-hover); }

.btn--brand {
  position: relative;
  overflow: clip;
  background-color: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(237, 50, 55, 0.28);
}
.btn--brand:hover { background-color: var(--brand-red-hover); }

.btn--secondary {
  background-color: var(--color-btn-secondary-bg);
  color: var(--color-btn-secondary-text);
  border: 1px solid var(--color-btn-secondary-border);
}
.btn--secondary:hover { background-color: var(--color-btn-secondary-bg-hover); }

.btn--ghost-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.btn--ghost-light:hover { background-color: rgba(255, 255, 255, 0.08); }

.btn--sm { height: 40px; padding-inline: var(--space-md); font-size: var(--text-body-sm); }
.btn--block { width: 100%; }

/* Shine sweep (CTA destaque) */
.btn__shine {
  position: absolute;
  top: 50%;
  left: -70px;
  width: 32px;
  height: 160px;
  background: #fff;
  opacity: 0.14;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  animation: shine-sweep 3.6s ease-in-out infinite;
}

@keyframes shine-sweep {
  0%   { left: -70px; opacity: 0.14; }
  55%  { left: calc(100% + 70px); opacity: 0.14; }
  100% { left: calc(100% + 70px); opacity: 0; }
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════ HEADER ════════ */
.header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  padding-inline: var(--space-md);
  pointer-events: none;
}

.header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  width: 100%;
  max-width: var(--container);
  height: 60px;
  padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--duration-medium) var(--ease-default),
              background var(--duration-medium) var(--ease-default);
}

.header.is-scrolled .header__inner {
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.92);
}

.header__logo img { height: 30px; width: auto; }

.header__nav { display: flex; align-items: center; gap: var(--space-xl); }

.nav-link {
  font-weight: var(--weight-medium);
  font-size: var(--text-body-sm);
  color: var(--color-text-primary);
  transition: opacity var(--duration-normal) var(--ease-default);
}
.nav-link:hover { opacity: 0.6; }

.header__actions { display: flex; align-items: center; gap: var(--space-sm); }

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--color-text-primary);
}
.header__toggle .icon { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: 90px var(--space-xl) var(--space-xl);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--duration-medium) var(--ease-default),
              transform var(--duration-medium) var(--ease-default),
              visibility var(--duration-medium);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-menu__close {
  position: absolute;
  top: 26px;
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__close .icon { width: 26px; height: 26px; }

.mobile-menu a.nav-link {
  padding-block: var(--space-md);
  font-size: 22px;
  font-weight: var(--weight-semibold);
  border-bottom: 1px solid var(--color-border-subtle);
}
.mobile-menu .btn { margin-top: var(--space-xl); }

/* ════════ HERO ════════ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(40px, 7vw, 80px);
  text-align: center;
  overflow: clip;
}

.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(1100px, 120vw);
  height: 560px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(237, 50, 55, 0.16), transparent 70%),
    radial-gradient(closest-side, rgba(0, 168, 89, 0.14), transparent 70%);
  background-position: 30% 40%, 72% 30%;
  background-repeat: no-repeat;
  background-size: 60% 100%, 60% 100%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px 6px 10px;
  margin-bottom: var(--space-xl);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.18);
}

.hero__title { max-width: 14ch; margin-inline: auto; }

.hero__sub {
  max-width: 60ch;
  margin: var(--space-xl) auto 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.hero__visual {
  position: relative;
  max-width: var(--container-narrow);
  margin: clamp(40px, 6vw, 64px) auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border-subtle);
}

/* ════════ PLACEHOLDER DE MIDIA ════════ */
.media-ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #2a2a2e 0%, #141414 60%);
}
.media-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side, rgba(237, 50, 55, 0.35), transparent 70%),
    radial-gradient(closest-side, rgba(0, 168, 89, 0.30), transparent 70%);
  background-position: 22% 30%, 80% 70%;
  background-repeat: no-repeat;
  background-size: 50% 80%, 50% 80%;
  opacity: 0.9;
}
.media-ph__label {
  position: relative;
  z-index: 1;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.media-ph__word {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: var(--ls-tighter);
  color: #fff;
  text-shadow: 0 0 24px rgba(237, 50, 55, 0.55), 0 0 48px rgba(0, 168, 89, 0.35);
}

/* Quando uma imagem real é aplicada via admin, esconde o placeholder */
.media-ph.has-img {
  background-size: cover;
  background-position: center;
}
.media-ph.has-img::after,
.media-ph.has-img .media-ph__label,
.media-ph.has-img .media-ph__word {
  display: none;
}

/* ════════ TICKER ════════ */
.ticker {
  position: relative;
  overflow: clip;
  padding-block: var(--space-xl);
  border-block: 1px solid var(--color-border-subtle);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track {
  display: flex;
  gap: var(--space-xxl);
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: var(--weight-heading);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-primary);
  opacity: 0.85;
}
.ticker__item .star {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}
.ticker__item:nth-child(even) .star { background: var(--brand-green); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════ GRID DE FEATURES / CATEGORIAS ════════ */
.grid {
  display: grid;
  gap: var(--space-xl);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--duration-medium) var(--ease-default),
              box-shadow var(--duration-medium) var(--ease-default),
              border-color var(--duration-medium) var(--ease-default);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-default);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  color: var(--brand-red);
  background: rgba(237, 50, 55, 0.08);
}
.card__icon .icon { width: 24px; height: 24px; }
.card__icon--green { color: var(--brand-green); background: rgba(0, 168, 89, 0.1); }

.card__title { font-size: var(--text-h3); }
.card__text { color: var(--color-text-secondary); font-size: var(--text-body-sm); line-height: 1.55; }

/* ════════ GALERIA / PORTFOLIO ════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--duration-medium) var(--ease-default),
              box-shadow var(--duration-medium) var(--ease-default);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 4 / 6; }
.gallery__cap {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 2;
  padding: 6px 12px;
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
}

/* ════════ SPLIT (sobre / diferenciais) ════════ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: var(--shadow-hover);
}
.split__list { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
.split__item { display: flex; gap: var(--space-md); align-items: flex-start; }
.split__check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-green);
}
.split__check .icon { width: 16px; height: 16px; }
.split__item h4 { font-size: var(--text-body); font-weight: var(--weight-semibold); }
.split__item p { font-size: var(--text-body-sm); color: var(--color-text-secondary); margin-top: 2px; }

/* ════════ STEPS / COMO FUNCIONA ════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.step { position: relative; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-h3);
  color: var(--brand-red);
  border: 1.5px solid var(--color-border-default);
  border-radius: var(--radius-pill);
}
.step h4 { font-size: var(--text-h3); margin-bottom: var(--space-xs); }
.step p { font-size: var(--text-body-sm); color: var(--color-text-secondary); }

/* ════════ STATS ════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: clamp(28px, 4vw, 48px);
  background: var(--color-bg-surface-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stat__num {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: var(--ls-tighter);
  line-height: 1;
}
.stat__label { margin-top: var(--space-sm); font-size: var(--text-body-sm); color: var(--color-text-secondary); }

/* ════════ TESTIMONIALS ════════ */
.testi {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}
.testi__stars { display: flex; gap: 2px; color: var(--brand-red); }
.testi__stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testi__quote { font-size: var(--text-body); line-height: 1.55; }
.testi__author { display: flex; align-items: center; gap: var(--space-md); margin-top: auto; }
.testi__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: var(--weight-semibold);
  color: #fff;
  background: var(--brand-dark);
}
.testi__name { font-weight: var(--weight-semibold); font-size: var(--text-body-sm); }
.testi__role { font-size: var(--text-caption); color: var(--color-text-muted); }

/* ════════ CTA FINAL ════════ */
.cta-band {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  color: #fff;
  background: var(--brand-dark);
  border-radius: var(--radius-lg);
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side, rgba(237, 50, 55, 0.4), transparent 70%),
    radial-gradient(closest-side, rgba(0, 168, 89, 0.32), transparent 70%);
  background-position: 18% 120%, 85% -20%;
  background-repeat: no-repeat;
  background-size: 55% 140%, 55% 140%;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 52ch; margin: var(--space-md) auto 0; color: rgba(255, 255, 255, 0.72); }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; margin-top: var(--space-2xl); }

/* ════════ FOOTER ════════ */
.footer {
  color: #fff;
  background: var(--color-bg-footer);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xxl);
}
.footer__logo img { height: 34px; width: auto; margin-bottom: var(--space-md); }
.footer__tagline { color: var(--color-text-muted); font-size: var(--text-body-sm); max-width: 32ch; }
.footer__col h5 {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.footer__col ul { display: grid; gap: var(--space-sm); }
.footer__col a, .footer__col span { color: #d4d4d4; font-size: var(--text-body-sm); transition: color var(--duration-normal) var(--ease-default); }
.footer__col a:hover { color: #fff; }
.footer__socials { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background var(--duration-normal) var(--ease-default), border-color var(--duration-normal);
}
.footer__social:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-size: var(--text-caption);
}

/* ════════ MÍDIA (imagem/vídeo/embed dentro de um card) ════════ */
.mslot {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  overflow: hidden;
  background: #0c0c0c;
}
.mslot__view { position: absolute; inset: 0; }
.mslot__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mslot__img--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #2a2a2e 0%, #141414 60%);
}
.mslot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mslot__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.mslot__play svg { width: 100%; height: 100%; }
.mslot:hover .mslot__play { transform: scale(1.06); transition: transform var(--duration-fast) var(--ease-default); }
.mslot__count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: #fff;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
}
.mslot__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 6px; justify-content: center; }
.mslot__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.mslot__dot.is-active { background: #fff; }

/* ════════ LIGHTBOX ════════ */
.lbx {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 48px);
}
.lbx[hidden] { display: none !important; }
.lbx__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.93); backdrop-filter: blur(6px); }
.lbx__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
}
.lbx__media { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lbx__link { color: #fff; padding: 16px 24px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-pill); }
.lbx__embed {
  position: relative;
  width: min(1000px, 92vw);
  max-width: 92vw;
  aspect-ratio: 16 / 9;
}
.lbx__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-md); background: #000; }
/* Instagram/Facebook costumam ser verticais */
.lbx__embed:has(iframe[src*="instagram"]),
.lbx__embed:has(iframe[src*="facebook"]) { width: min(420px, 92vw); aspect-ratio: 9 / 14; }
.lbx__close, .lbx__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background var(--duration-fast) var(--ease-default);
}
.lbx__close:hover, .lbx__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lbx__close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lbx__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; line-height: 1; }
.lbx__prev { left: 14px; }
.lbx__next { right: 14px; }
.lbx__counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: var(--text-body-sm); z-index: 2; }
@media (max-width: 600px) {
  .lbx__nav { width: 42px; height: 42px; font-size: 26px; }
  .lbx__prev { left: 6px; } .lbx__next { right: 6px; }
}

/* ════════ SCROLL REVEAL ════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ════════ RESPONSIVO ════════ */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

@media (max-width: 760px) {
  .header__nav, .header__actions .btn--desktop { display: none; }
  .header__toggle { display: inline-flex; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .grid--4, .steps, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer__col--brand { grid-column: 1 / -1; }
  .hero__ctas .btn { width: 100%; }
}
