:root {
  --container: 1240px;
  --radius: 28px;
  --radius-lg: 36px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html[data-theme="light"] {
  --bg: #f4f8ff;
  --bg-soft: #edf7f5;
  --surface: rgba(255,255,255,.84);
  --surface-strong: #ffffff;
  --surface-tint: #f8fbff;
  --text: #162033;
  --muted: #58647a;
  --line: rgba(18, 31, 53, .10);
  --line-strong: rgba(18, 31, 53, .16);
  --brand: #0ea5a4;
  --brand-2: #7c3aed;
  --brand-3: #f97316;
  --shadow: 0 18px 50px rgba(19, 31, 56, .10);
  --shadow-strong: 0 30px 70px rgba(19, 31, 56, .16);
  --hero-grad-1: rgba(6, 18, 38, .84);
  --hero-grad-2: rgba(15, 23, 42, .54);
  --hero-grad-3: rgba(15, 23, 42, .28);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #07111f;
  --bg-soft: #0c1827;
  --surface: rgba(14, 24, 39, .78);
  --surface-strong: #0f1b2b;
  --surface-tint: #132235;
  --text: #eff6ff;
  --muted: #a9b8cd;
  --line: rgba(203, 213, 225, .10);
  --line-strong: rgba(203, 213, 225, .17);
  --brand: #4ade80;
  --brand-2: #38bdf8;
  --brand-3: #f59e0b;
  --shadow: 0 22px 56px rgba(0, 0, 0, .34);
  --shadow-strong: 0 32px 86px rgba(0, 0, 0, .42);
  --hero-grad-1: rgba(1, 8, 20, .64);
  --hero-grad-2: rgba(2, 12, 27, .46);
  --hero-grad-3: rgba(2, 12, 27, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, .22), transparent 28%),
    radial-gradient(circle at top right, rgba(192, 132, 252, .18), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 48px - var(--safe-left) - var(--safe-right)));
  margin: 0 auto;
}

.site-main { min-height: calc(100vh - 220px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: max(0px, calc(var(--safe-top) * .45));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.logo img {
  width: auto;
  height: 46px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.nav a:hover { color: var(--text); transform: translateY(-1px); }

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta,
.btn {
  min-height: 48px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px color-mix(in srgb, var(--brand) 22%, transparent);
}

.btn-light {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.btn-ghost {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  border: 1px solid var(--line);
}

.btn-small { min-height: 42px; padding-inline: 18px; }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }

.theme-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  min-width: 170px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.theme-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 82%, #fff 18%), color-mix(in srgb, var(--brand-2) 76%, #fff 24%));
  transition: transform .25s ease;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 24%, transparent);
}

html[data-theme-preference="auto"] .theme-switch-thumb { transform: translateX(0); }
html[data-theme-preference="light"] .theme-switch-thumb { transform: translateX(100%); }
html[data-theme-preference="dark"] .theme-switch-thumb { transform: translateX(200%); }

.theme-switch-btn {
  position: relative;
  z-index: 1;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 800;
}

.theme-switch-btn.is-active { color: #fff; }

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.breadcrumbs .container {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs .sep { opacity: .6; }

.hero-home {
  position: relative;
  overflow: clip;
  min-height: min(88svh, 920px);
  color: #fff;
  background: #081122;
}

.hero-media,
.hero-overlay,
.hero-orbs {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(95deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 46%, var(--hero-grad-3) 100%),
    linear-gradient(180deg, rgba(4, 11, 24, .18) 0%, rgba(4, 11, 24, .58) 100%);
}

.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .75;
}

.orb-1 { width: 320px; height: 320px; left: -80px; top: 100px; background: rgba(34,197,94,.25); }
.orb-2 { width: 380px; height: 380px; right: -120px; top: -30px; background: rgba(59,130,246,.24); }
.orb-3 { width: 280px; height: 280px; right: 18%; bottom: -100px; background: rgba(168,85,247,.24); }

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 28px;
  padding: calc(108px + var(--safe-top)) 0 84px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface-strong));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
}

.hero-copy h1,
.page-section h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .94;
  letter-spacing: -.04em;
}

.hero-copy p,
.lead,
.search-lead {
  font-size: clamp(18px, 2.1vw, 21px);
  color: color-mix(in srgb, currentColor 84%, transparent);
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats,
.hero-stats-premium {
  display: grid;
  gap: 16px;
}

.hero-stat-card,
.metric-card,
.section-chip,
.fact-card,
.content-block,
.search-panel,
.bird-info-ribbon,
.card,
.cta-panel,
.lightbox-dialog {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-stat-card {
  border-radius: var(--radius);
  padding: 26px;
}

.hero-stat-card strong,
.metric-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .95;
}

.hero-stat-card span,
.metric-card span { color: var(--muted); }

.page-section {
  position: relative;
  padding: 72px 0;
}

.page-section-soft { background: color-mix(in srgb, var(--surface-tint) 78%, transparent); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2,
.content-block h2,
.search-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-sections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-birds {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: clip;
  border-radius: var(--radius);
}

.card-section {
  min-height: 230px;
  padding: 24px;
  color: #0f172a;
}

.card-section-patterned::before,
.card-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-section-patterned::before {
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.48), transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.30), transparent 16%),
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 42%);
}

.card-pattern {
  opacity: .26;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.34) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.24) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.24) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.18) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.grid-sections-colorful > :nth-child(6n + 1) { background: linear-gradient(135deg, #93c5fd, #c4b5fd); }
.grid-sections-colorful > :nth-child(6n + 2) { background: linear-gradient(135deg, #86efac, #67e8f9); }
.grid-sections-colorful > :nth-child(6n + 3) { background: linear-gradient(135deg, #fde68a, #fca5a5); }
.grid-sections-colorful > :nth-child(6n + 4) { background: linear-gradient(135deg, #f9a8d4, #c4b5fd); }
.grid-sections-colorful > :nth-child(6n + 5) { background: linear-gradient(135deg, #67e8f9, #93c5fd); }
.grid-sections-colorful > :nth-child(6n + 6) { background: linear-gradient(135deg, #a7f3d0, #f9a8d4); }

.card-section > * { position: relative; z-index: 1; }
.card-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-section h3,
.card-bird h3 {
  margin: 16px 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.card-section p,
.card-bird p,
.content-block p,
.footer-copy p {
  margin: 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 800;
}

.card-link::after {
  content: "→";
  transition: transform .2s ease;
}

.card:hover .card-link::after { transform: translateX(2px); }
.card:hover { transform: translateY(-3px); }

.card-bird {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.card-bird-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-tint) 80%, transparent);
}

.card-bird-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.card-bird:hover .card-bird-image img { transform: scale(1.04); }

.card-bird-body { padding: 18px 18px 22px; }
.card-bird-emoji {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  font-size: 24px;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface-tint));
}

.card-bird-topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-bird-alt {
  font-size: 13px;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-lg);
  padding: 34px;
}

.cta-panel-glow::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 32%, transparent), transparent 70%);
}

.search-hero,
.search-panel,
.content-block,
.section-hero,
.bird-hero,
.bird-info-ribbon {
  border-radius: var(--radius-lg);
}

.search-hero,
.section-hero,
.bird-hero {
  padding: 34px;
}

.search-panel,
.content-block {
  padding: 24px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface-tint) 86%, transparent);
  color: var(--text);
  outline: none;
}

.search-input:focus { border-color: color-mix(in srgb, var(--brand) 46%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 12%, transparent); }

.live-search {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: var(--shadow-strong);
}

.live-search-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
}
.live-search-item:hover { background: color-mix(in srgb, var(--brand) 8%, var(--surface-tint)); }
.live-search-thumb {
  width: 60px; height: 60px; border-radius: 18px; overflow: hidden; background: var(--surface-tint); display: grid; place-items: center; font-size: 24px;
}
.live-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-search-content strong { display: block; }
.live-search-content span,
.live-search-empty { color: var(--muted); }
.live-search-empty { padding: 14px; }

.section-hero,
.bird-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 28px;
  align-items: center;
}

.section-hero-premium,
.bird-hero-premium {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 36%),
    radial-gradient(circle at bottom left, color-mix(in srgb, var(--brand) 16%, transparent), transparent 32%),
    color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.metric-card,
.section-chip {
  border-radius: 24px;
  padding: 24px;
}

.metric-card-large { margin-bottom: 16px; }
.section-chip {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.bird-hero-image,
.bird-hero-image-premium {
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  background: color-mix(in srgb, var(--surface-tint) 86%, transparent);
}

.bird-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.species-meta,
.bird-info-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.species-badge,
.species-latin,
.bird-info-chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-tint) 90%, transparent);
}

.species-badge,
.species-latin { padding: 10px 14px; }
.bird-section-link { margin-top: 18px; color: var(--muted); }
.bird-section-link a { color: var(--brand); font-weight: 800; }

.bird-info-ribbon { padding: 16px; margin-top: 18px; }
.bird-info-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  min-width: 180px;
}
.bird-info-label,
.fact-card-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }

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

.fact-card {
  border-radius: 24px;
  padding: 22px;
}

.fact-card-enhanced {
  display: grid;
  gap: 10px;
}

.fact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 10%, var(--surface-tint));
}

.fact-card-icon svg { width: 22px; height: 22px; }
.fact-card strong { font-size: 28px; line-height: 1.05; }

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-section,
.related-section { margin-top: 32px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-card:hover img { transform: scale(1.04); }

.site-footer {
  padding: 34px 0 calc(98px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.footer-logo { height: 44px; width: auto; }

.mobile-bar {
  position: fixed;
  left: calc(12px + var(--safe-left));
  right: calc(12px + var(--safe-right));
  bottom: calc(12px + var(--safe-bottom));
  z-index: 100;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.mobile-bar a {
  min-height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.mobile-bar a:last-child {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, .72);
  backdrop-filter: blur(10px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px - var(--safe-left) - var(--safe-right)));
  margin: max(24px, calc(24px + var(--safe-top))) auto max(24px, calc(24px + var(--safe-bottom)));
  max-height: calc(100dvh - 48px - var(--safe-top) - var(--safe-bottom));
  padding: 12px;
  border-radius: 28px;
}
.lightbox-image {
  width: 100%;
  max-height: calc(100dvh - 72px - var(--safe-top) - var(--safe-bottom));
  object-fit: contain;
  border-radius: 20px;
}
.lightbox-close {
  position: absolute;
  top: calc(16px + var(--safe-top));
  right: calc(16px + var(--safe-right));
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  font-size: 28px;
}

@media (max-width: 1200px) {
  .grid-birds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto auto; }
  .nav { display: none; }
  .hero-content,
  .section-hero,
  .bird-hero,
  .content-columns { grid-template-columns: 1fr; }
  .grid-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-birds,
  .gallery-grid,
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .container { width: min(var(--container), calc(100% - 20px - var(--safe-left) - var(--safe-right))); }
  .site-header { padding-top: max(6px, calc(var(--safe-top) * .55)); }
  .header-inner {
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .logo img { height: 38px; }
  .theme-switch { min-width: 148px; }
  .theme-switch-btn { min-height: 36px; font-size: 13px; }
  .hero-home { min-height: auto; }
  .hero-content { padding: calc(78px + var(--safe-top)) 0 68px; }
  .hero-copy h1 { font-size: clamp(34px, 12vw, 56px); }
  .hero-actions, .cta-actions, .section-head { align-items: stretch; }
  .btn, .nav-cta, .search-form .btn-primary { width: 100%; }
  .search-form { grid-template-columns: 1fr; }
  .page-section { padding: 48px 0; }
  .grid-sections,
  .grid-birds,
  .gallery-grid,
  .facts-grid,
  .content-columns { grid-template-columns: 1fr; }
  .search-hero, .search-panel, .content-block, .section-hero, .bird-hero, .cta-panel { padding: 22px; }
  .card-section { min-height: 208px; }
  .bird-info-chip { min-width: unset; width: 100%; }
  .footer-inner { flex-direction: column; align-items: stretch; }
  .footer-actions { display: grid; gap: 10px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: calc(92px + var(--safe-bottom)); }
}
