/* ==========================================================================
   Dobierz kierunek studiów — system projektowy
   Jeden plik, zmienne CSS (custom properties), mobile-first.
   ========================================================================== */

:root {
  /* Kolory marki */
  --c-bg: #f7f8fb;
  --c-surface: #ffffff;
  --c-surface-2: #f0f2f7;
  --c-ink: #16203a;          /* tekst główny */
  --c-ink-soft: #4d586f;     /* tekst drugorzędny */
  --c-muted: #7c8599;        /* tekst pomocniczy */
  --c-line: #e3e7ef;         /* obramowania */
  --c-primary: #2f5bea;      /* akcja główna */
  --c-primary-ink: #ffffff;
  --c-primary-soft: #e7eefe;
  --c-primary-dark: #1f43b8;
  --c-accent: #f4a23b;       /* akcent ciepły */
  --c-accent-soft: #fdf0db;
  --c-good: #1f9d6b;
  --c-good-soft: #e2f5ec;
  --c-warn: #d98324;
  --c-bad: #d6453d;
  --c-bad-soft: #fbe7e6;

  /* Skala dopasowania */
  --c-match-hi: #1f9d6b;
  --c-match-mid: #f4a23b;
  --c-match-lo: #9aa3b5;

  /* Typografia */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.875rem;
  --fs-2xl: 2.5rem;
  --lh: 1.6;

  /* Odstępy */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  /* Kształt i cień */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 58, .06), 0 1px 3px rgba(22, 32, 58, .04);
  --shadow: 0 4px 16px rgba(22, 32, 58, .08);
  --shadow-lg: 0 12px 32px rgba(22, 32, 58, .12);

  --maxw: 1140px;
  --maxw-narrow: 760px;
}

/* Reset / podstawy ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 var(--sp-3); color: var(--c-ink); }
h1 { font-size: var(--fs-2xl); letter-spacing: -.02em; }
h2 { font-size: var(--fs-xl); letter-spacing: -.01em; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
small { font-size: var(--fs-sm); color: var(--c-muted); }
ul { margin: 0 0 var(--sp-4); padding-left: 1.2em; }

/* Układ ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-4); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--sp-7) 0; }
.stack > * + * { margin-top: var(--sp-4); }
.grid { display: grid; gap: var(--sp-4); }
.muted { color: var(--c-muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Nagłówek / nawigacja --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--sp-4);
}
.brand { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; color: var(--c-ink); font-size: var(--fs-md); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary), #6a8bff);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav a { color: var(--c-ink-soft); font-size: var(--fs-sm); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-primary); text-decoration: none; }
/* Przycisk CTA w nawigacji — wymuś biały tekst (nadpisanie .nav a) */
.nav a.btn--primary, .nav a.btn--primary:hover { color: var(--c-primary-ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* Przyciski -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font: inherit; font-weight: 600; font-size: var(--fs-sm);
  padding: .7em 1.3em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .06s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: var(--c-primary-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--lg { font-size: var(--fs-base); padding: .85em 1.7em; }
.btn--ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--subtle { background: var(--c-surface-2); color: var(--c-ink-soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Karty ------------------------------------------------------------------ */
.card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.card--pad-lg { padding: var(--sp-6); }
.card-hover { transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease; }
.card-hover:hover { box-shadow: var(--shadow); border-color: #cdd6ea; transform: translateY(-2px); }

/* Chipy / tagi ----------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1;
  padding: .45em .7em; border-radius: 999px;
  background: var(--c-surface-2); color: var(--c-ink-soft); border: 1px solid transparent;
}
.chip--primary { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.chip--accent { background: var(--c-accent-soft); color: #b56a13; }
.chip--good { background: var(--c-good-soft); color: var(--c-good); }
.chip--outline { background: transparent; border-color: var(--c-line); color: var(--c-muted); }

/* Formularze ------------------------------------------------------------- */
label { font-weight: 600; font-size: var(--fs-sm); display: block; margin-bottom: var(--sp-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select {
  width: 100%; font: inherit; padding: .6em .8em;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-ink);
}
input:focus, select:focus, button:focus-visible, a:focus-visible, .opt:focus-within {
  outline: 3px solid var(--c-primary-soft); outline-offset: 1px; border-color: var(--c-primary);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237c8599' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; padding-right: 2.2em; }

/* Pasek postępu ---------------------------------------------------------- */
.progress { height: 8px; background: var(--c-surface-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-primary), #6a8bff); width: 0; transition: width .35s ease; }

/* Skala dopasowania (kółko %) ------------------------------------------- */
.match-ring { --val: 0; --col: var(--c-match-mid);
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--col) calc(var(--val) * 1%), var(--c-surface-2) 0);
  display: grid; place-items: center; position: relative;
}
.match-ring::before { content: ""; position: absolute; inset: 6px; background: var(--c-surface); border-radius: 50%; }
.match-ring > b { position: relative; font-size: var(--fs-sm); font-weight: 800; }

/* Pasek wymiaru (rozbicie punktów) -------------------------------------- */
.bar { height: 6px; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--c-primary); }

/* Stany ------------------------------------------------------------------ */
.skeleton { background: linear-gradient(90deg, #eef1f6 25%, #e2e7f0 37%, #eef1f6 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--radius-sm); }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.empty-state { text-align: center; padding: var(--sp-7) var(--sp-4); color: var(--c-muted); }
.empty-state .ico { font-size: 2.5rem; margin-bottom: var(--sp-3); }

/* Hero ------------------------------------------------------------------- */
.hero { background: radial-gradient(1200px 400px at 70% -10%, #e9f0ff, transparent), var(--c-bg); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center; padding: var(--sp-8) 0; }
.hero h1 { margin-bottom: var(--sp-4); }
.hero .lead { font-size: var(--fs-md); color: var(--c-ink-soft); max-width: 38ch; }
.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); }
.hero-art { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: linear-gradient(135deg,#2f5bea,#7aa0ff); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-art .blob { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .5; }

/* Kroki ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); counter-reset: step; }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 800; display: grid; place-items: center; margin-bottom: var(--sp-3); }

/* Katalog: filtry + lista ----------------------------------------------- */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-6); align-items: start; }
.filters { position: sticky; top: 80px; }
.filter-group + .filter-group { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-4); }

/* Karta kierunku --------------------------------------------------------- */
.kard h3 { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.kard .uczelnia { color: var(--c-ink-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.kard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-3); }
.kard .foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; }

/* Ankieta ---------------------------------------------------------------- */
.survey-shell { max-width: var(--maxw-narrow); margin: 0 auto; }
.survey-head { position: sticky; top: 64px; background: var(--c-bg); padding: var(--sp-4) 0; z-index: 10; }
.q + .q { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.q .qtext { font-weight: 600; font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); }
.scale .opt, .opts .opt {
  display: flex; align-items: center; gap: var(--sp-2); justify-content: center;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: .7em .5em;
  cursor: pointer; background: var(--c-surface); text-align: center; font-size: var(--fs-sm);
  transition: border-color .12s, background .12s;
}
.opts { display: grid; gap: var(--sp-2); }
.scale .opt:hover, .opts .opt:hover { border-color: var(--c-primary); }
.opt input { position: absolute; opacity: 0; }
.opt.is-checked { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }
.scale-labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--c-muted); margin-top: var(--sp-2); }
.survey-nav { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-6); }
.section-intro { background: var(--c-primary-soft); border-radius: var(--radius); padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-5); }
.section-intro h2 { font-size: var(--fs-lg); color: var(--c-primary-dark); margin-bottom: var(--sp-1); }

/* Wyniki ----------------------------------------------------------------- */
.result-row { display: flex; gap: var(--sp-4); align-items: flex-start; }
.result-row .rank { font-size: var(--fs-xl); font-weight: 800; color: var(--c-muted); min-width: 1.6ch; }
.breakdown { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.breakdown .row { display: grid; grid-template-columns: 130px 1fr 40px; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); }
.profile-summary { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* Porównywarka ----------------------------------------------------------- */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--c-ink); color: #fff; padding: var(--sp-3) 0; z-index: 60; transform: translateY(110%); transition: transform .2s ease; }
.compare-bar.is-open { transform: none; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border: 1px solid var(--c-line); padding: var(--sp-3); text-align: left; vertical-align: top; font-size: var(--fs-sm); }
.compare-table th { background: var(--c-surface-2); }

/* Stopka ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-surface); margin-top: var(--sp-8); }
.site-footer .container { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-6); }
.site-footer h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.site-footer a { color: var(--c-ink-soft); font-size: var(--fs-sm); display: block; margin-bottom: var(--sp-2); }

/* Pomocnicze ------------------------------------------------------------- */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.flex { display: flex; gap: var(--sp-3); align-items: center; }
.wrap { flex-wrap: wrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.divider { height: 1px; background: var(--c-line); border: 0; margin: var(--sp-5) 0; }

/* Responsywność ---------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --fs-2xl: 2rem; --fs-xl: 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: var(--sp-5); }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: var(--sp-4); gap: var(--sp-4); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .scale { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .scale .opt { padding: .6em .2em; }
  .breakdown .row { grid-template-columns: 90px 1fr 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* --- Druk / PDF (strona wyników) --------------------------------------- */
@media print {
  .site-header, .site-footer, .nav, .nav-toggle, .compare-bar, #dk-flash,
  .btn, details summary { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; }
  details[open] .breakdown { display: grid !important; }
  details > summary { display: none; }
  a { color: #000; text-decoration: none; }
  .match-ring { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- Drobne poprawki --------------------------------------------------- */
#dk-flash { transition: opacity .25s ease; }
.compare-bar a, .compare-bar button { white-space: nowrap; }
.kard h3 { word-break: break-word; }
@media (max-width: 560px) {
  .result-row { flex-wrap: wrap; }
  .compare-bar .container { flex-direction: column; gap: .5rem; }
}

/* --- Skip link (dostępność) -------------------------------------------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--c-primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }


/* --- Brama e-mail (lead) ------------------------------------------------ */
.gate-card { max-width: 480px; margin: 1.5rem auto; text-align: center; position: relative; overflow: hidden; padding: 2.25rem 1.75rem 1.75rem; }
.gate-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--c-primary), #6a8bff, var(--c-accent)); }
.gate-badge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.9rem; background: var(--c-primary-soft); }
.gate-card h2 { font-size: var(--fs-xl); }
.gate-benefits { list-style: none; padding: 0; margin: 1.1rem auto 1.4rem; text-align: left; display: inline-block; }
.gate-benefits li { padding: .32rem 0 .32rem 1.8rem; position: relative; font-size: .92rem; color: var(--c-ink-soft); }
.gate-benefits li::before { content: "✓"; position: absolute; left: 0; top: .32rem; color: var(--c-good); font-weight: 800; }
.gate-form { text-align: left; }
.gate-form > label { margin-bottom: .35rem; }
.gate-form input[type="email"] { font-size: var(--fs-base); padding: .8em .9em; }
.gate-consent { font-weight: 400; font-size: .85rem; color: var(--c-ink-soft); display: flex; gap: .55rem; align-items: flex-start; margin: .85rem 0 .25rem; cursor: pointer; line-height: 1.45; }
.gate-consent input { width: auto; margin-top: .15rem; flex: 0 0 auto; }
.gate-err { color: var(--c-bad); min-height: 1.1em; font-size: .85rem; margin: .35rem 0 .6rem; }
.gate-fine { font-size: .78rem; text-align: center; margin: .8rem 0 0; }

.gate-hint { font-size: .82rem; color: var(--c-warn); margin: .35rem 0 0; min-height: 1em; }
.gate-fix { background: none; border: 0; color: var(--c-primary); font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }

/* --- Podgląd wyniku w hero (konwersja) --------------------------------- */
.hero-preview { position: relative; display: flex; justify-content: center; }
.preview-card { width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.preview-row { display: flex; gap: .8rem; align-items: center; }
.preview-title { font-weight: 800; font-size: 1.15rem; }
.preview-badge { position: absolute; top: -10px; right: 18px; background: var(--c-accent); color: #5a3a0c; font-weight: 700; font-size: .72rem; padding: .35em .75em; border-radius: 999px; transform: rotate(3deg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero-preview { max-width: 420px; margin: 1.75rem auto 0; } .preview-card { transform: none; } }

/* --- Dopracowanie mobile ----------------------------------------------- */
html, body { overflow-x: hidden; }
@media (max-width: 560px) {
  :root { --fs-2xl: 1.85rem; }
  .section { padding: 2.25rem 0; }
  .scale { gap: 5px; }
  .scale .opt { min-height: 48px; font-size: .95rem; }
  .q .qtext { font-size: 1.05rem; }
  .survey-nav { gap: .5rem; }
  .survey-nav .btn { flex: 1; padding-left: .6em; padding-right: .6em; }
  .filters { position: static; }
  .filter-group .tag-list .chip { padding: .55em .85em; }
  .result-row { gap: .75rem; }
  .result-row .rank { font-size: 1.25rem; min-width: 1.2ch; }
  .match-ring { width: 50px; height: 50px; }
  .gate-card { padding: 1.75rem 1.15rem 1.4rem; }
  h1, h2, .preview-title { overflow-wrap: anywhere; }
  .hero-cta .btn { flex: 1; text-align: center; }
}
@media (max-width: 380px) {
  .scale .opt { font-size: .85rem; padding: .5em .1em; }
  .breakdown .row { grid-template-columns: 80px 1fr 32px; }
}

/* --- Przełącznik widoku (segmented) ------------------------------------ */
.tabs { display: inline-flex; background: var(--c-surface-2); border-radius: 999px; padding: 4px; gap: 4px; }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .9rem; padding: .5em 1.2em; border-radius: 999px; cursor: pointer; color: var(--c-ink-soft); }
.tabs button.is-active { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.tabs button { transition: background .15s ease, color .15s ease; }

/* --- Stopka (układ profesjonalny) -------------------------------------- */
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--sp-6); }
.footer-col h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin-bottom: .7rem; }
.footer-brand .brand { font-size: var(--fs-md); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.footer-bottom .muted { font-size: .85rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: var(--fs-sm); color: var(--c-ink-soft); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
