/* InTerapia - esempio di redesign (Preserve)
   Dial: DESIGN_VARIANCE 4 / MOTION_INTENSITY 3 / VISUAL_DENSITY 4
   Radius system: interattivi (bottoni, tab) = pill, card e immagini = 16px, input = 10px. */

@import url("fonts.css");
@import url("icons/phosphor.css");

:root {
  --brand: #22519f;          /* blu logo: barra "Psicologia in pratica" */
  --brand-2: #5694cf;        /* azzurro logo: "TERAPIA", arco chiaro */
  --brand-ink: #fbfcfe;      /* testo su bottone brand */
  --link: #22519f;

  --bg: #f5f7fb;
  --surface: #fbfcfe;
  --surface-2: #eaf0f8;      /* tinta azzurra leggera */
  --line: #d8e0ec;
  --text: #15203a;
  --muted: #4b5873;
  --error: #b42318;
  --ok: #1f6f43;

  --shadow: 0 1px 2px rgb(34 81 159 / .06), 0 8px 24px rgb(34 81 159 / .08);
  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  --font-display: "Quicksand", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #5694cf;
    --brand-2: #8db6e3;
    --brand-ink: #0c1322;
    --link: #8db6e3;
    --bg: #0c1322;
    --surface: #131d33;
    --surface-2: #182640;
    --line: #26354f;
    --text: #e6ecf5;
    --muted: #a6b3c9;
    --error: #f2877d;
    --ok: #7fd1a3;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #5694cf;
  --brand-2: #8db6e3;
  --brand-ink: #0c1322;
  --link: #8db6e3;
  --bg: #0c1322;
  --surface: #131d33;
  --surface-2: #182640;
  --line: #26354f;
  --text: #e6ecf5;
  --muted: #a6b3c9;
  --error: #f2877d;
  --ok: #7fd1a3;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.lead { color: var(--muted); max-width: 62ch; margin-top: 16px; font-size: 1.125rem; }
.label { font-family: var(--font-display); font-weight: 600; color: var(--brand); font-size: 1rem; margin-bottom: 12px; display: block; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 16px; border-radius: var(--r-pill); }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 700 1rem/1 var(--font-display); text-decoration: none;
  padding: 15px 24px; border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgb(34 81 159 / .22); }
.btn-primary:hover { box-shadow: 0 8px 22px rgb(34 81 159 / .32); text-decoration: none; }
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--brand-2); text-decoration: none; }
.btn .ph { font-size: 1.15em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more .ph { transition: transform .2s var(--ease); }
.more:hover .ph { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; /* z-scale: header 50, menu mobile 60 */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.logo-chip { display: contents; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-chip { display: inline-flex; background: #f4f7fc; padding: 6px 12px; border-radius: 12px; } }
:root[data-theme="dark"] .logo-chip { display: inline-flex; background: #f4f7fc; padding: 6px 12px; border-radius: 12px; }

.menu { display: none; }
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu a, .menu button.top {
  font: 600 .95rem/1 var(--font-display); color: var(--text); text-decoration: none;
  padding: 10px 11px; border-radius: var(--r-pill); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.menu a:hover, .menu button.top:hover, .menu li:focus-within > .top { background: var(--surface-2); }
.menu .ph-caret-down { font-size: .8em; transition: transform .2s var(--ease); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.sub.cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; }
.sub a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; font-family: var(--font-body); font-size: .95rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .ph-caret-down, .has-sub.open .ph-caret-down { transform: rotate(180deg); }
.menu .nav-cta { background: var(--brand); color: var(--brand-ink); padding: 12px 18px; margin-left: 6px; }
.menu .nav-cta:hover { background: var(--brand); box-shadow: 0 6px 18px rgb(34 81 159 / .25); }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.4rem; cursor: pointer; }
@media (min-width: 1180px) { .menu { display: block; } .burger { display: none; } }

.mobile-menu { position: fixed; inset: 72px 0 0 0; z-index: 60; background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary, .mobile-menu > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font: 600 1.1rem/1.2 var(--font-display); color: var(--text); text-decoration: none; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
.mobile-menu details summary { border-bottom: 0; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .ph { transform: rotate(180deg); }
.mobile-menu details ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 8px; columns: 2; column-gap: 16px; }
.mobile-menu details li a { display: block; padding: 8px 4px; color: var(--muted); text-decoration: none; break-inside: avoid; }
.mobile-menu .btn { margin-top: 24px; width: 100%; justify-content: center; }
@media (max-width: 420px) { .mobile-menu details ul { columns: 1; } }

/* ---------- hero (asymmetric split) ---------- */
.hero { padding-block: 40px 56px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: 1.2rem; max-width: 40ch; margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.hero-media::before { /* arco del logo come motivo di brand, non decorazione libera */
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 58%; aspect-ratio: 1;
  border: 10px solid var(--brand-2); border-left-color: transparent; border-bottom-color: transparent;
  border-radius: 50%; transform: rotate(10deg); opacity: .55; z-index: -1;
}
@media (min-width: 900px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
}

/* ---------- disturbi: bento 5 celle ---------- */
.bento { display: grid; gap: 16px; margin-top: 40px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  min-height: 200px; text-decoration: none; color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-2); }
.tile p { color: var(--muted); }
.tile .more { margin-top: 6px; color: var(--link); }
.tile .ph-lg { font-size: 2rem; color: var(--brand); margin-bottom: auto; }
.tile-photo { color: #f4f7fc; border: 0; overflow: hidden; min-height: 340px; isolation: isolate; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 25 52 / 0) 25%, rgb(12 25 52 / .86) 100%); }
.tile-photo p, .tile-photo .more { color: #e3eaf6; }
.tile-tint { background: var(--surface-2); border-color: transparent; }
.tile-brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.tile-brand p, .tile-brand .more, .tile-brand .ph-lg { color: var(--brand-ink); }
.tile-brand p { opacity: .9; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-photo { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
  .tile-photo { grid-row: 1 / span 2; }
  .tile-wide { grid-column: 2 / span 2; }
}
.section-head { display: flex; flex-direction: column; gap: 0; }
.section-head .more { margin-top: 20px; }

/* ---------- approccio: manifesto ---------- */
.manifesto { background: var(--surface); border-block: 1px solid var(--line); }
.manifesto-quote {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.25;
  max-width: 26ch; margin: 20px 0 0; letter-spacing: -.01em;
}
.manifesto-quote strong { color: var(--brand); font-weight: 700; }
.manifesto .lead { margin-top: 24px; }
.facts { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 24px 32px; grid-template-columns: 1fr; }
.facts a { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--text); }
.facts .ph { font-size: 1.75rem; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: .95rem; }
.facts a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sedi: tabs ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin-top: 32px; scrollbar-width: thin; }
.tab {
  scroll-snap-align: start; flex-shrink: 0;
  font: 600 1rem/1 var(--font-display); padding: 12px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.tab:hover { border-color: var(--brand-2); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.tab .ph { margin-right: 4px; }
.panel { margin-top: 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 24px; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 1.6rem; }
.panel dl { margin: 0; display: grid; gap: 14px; }
.panel dt { font-size: .875rem; color: var(--muted); }
.panel dd { margin: 2px 0 0; font-weight: 600; }
.panel dd a { font-weight: 700; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; align-self: end; }
@media (min-width: 900px) { .panel { grid-template-columns: 1fr 1.2fr auto; align-items: center; padding: 36px 40px; } .panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; } .panel-actions { flex-direction: column; } }
@media (prefers-reduced-motion: no-preference) { .panel:not([hidden]) { animation: fade .3s var(--ease); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- prenota: form ---------- */
.book { background: var(--surface-2); }
.book-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .book-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); font-weight: 600; }
.contact-list .ph { font-size: 1.4rem; color: var(--brand); width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--surface); }
.contact-list small { display: block; color: var(--muted); font-weight: 400; font-size: .875rem; }
.form { background: var(--surface); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
@media (min-width: 640px) { .form { padding: 36px; grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg); width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r-input); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 30%, transparent); }
.field .help { font-size: .875rem; color: var(--muted); }
.field .err { font-size: .875rem; color: var(--error); font-weight: 600; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.check label { font-weight: 400; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .75; cursor: progress; }
.form .ph-spinner-gap { animation: spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .form .ph-spinner-gap { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { border-radius: var(--r-input); padding: 14px 16px; display: none; gap: 10px; align-items: flex-start; font-weight: 600; }
.form-status.ok { display: flex; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); }
.form-status .ph { font-size: 1.3rem; }

/* ---------- risorse: scroll-snap ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; margin-top: 40px; scrollbar-width: thin; }
@media (min-width: 768px) { .rail { grid-auto-columns: minmax(280px, 1fr); } }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: 1.4fr 1fr 1fr 1fr; overflow: visible; } }
.res { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.res:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.res-media { background: #eef3fa; aspect-ratio: 16 / 11; display: grid; place-items: center; }
.res-media img { width: 100%; height: 100%; object-fit: contain; }
.res-media .ph { font-size: 3.5rem; color: var(--brand); }
.res-body { padding: 20px; display: grid; gap: 6px; }
.res-body span { color: var(--muted); font-size: .95rem; }
.res-featured .res-media { background: var(--brand); }
.res-featured .res-media img { mix-blend-mode: multiply; }

/* ---------- articoli: featured + lista ---------- */
.posts { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 960px) { .posts { grid-template-columns: 1.35fr 1fr; gap: 48px; } }
.post { text-decoration: none; color: var(--text); display: grid; gap: 14px; }
.post img { border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.post:hover h3 { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.post-big h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.meta { font-size: .9rem; color: var(--muted); }
.post-list { display: grid; gap: 28px; align-content: start; }
.post-row { grid-template-columns: 140px 1fr; align-items: center; gap: 20px; }
.post-row img { aspect-ratio: 1; }
@media (max-width: 479px) { .post-row { grid-template-columns: 96px 1fr; } }

/* ---------- eventi: righe ---------- */
.events { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.events a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color .2s var(--ease), padding .2s var(--ease); }
.events a:hover { background: var(--surface); }
.events h3 { font-size: 1.2rem; font-weight: 600; }
.events .meta { grid-column: 1; }
.events .ph { grid-column: 2; grid-row: 1 / span 2; font-size: 1.5rem; color: var(--brand); }
@media (min-width: 768px) { .events a { grid-template-columns: 200px 1fr auto; padding: 28px 12px; } .events .meta { grid-column: 1; grid-row: 1; } .events h3 { grid-column: 2; } .events .ph { grid-column: 3; grid-row: 1; } }

/* ---------- responsabili: people ---------- */
.people { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .people { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.person img { border-radius: var(--r-card); aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--surface-2); }
.person h3 { font-size: 1.1rem; margin-top: 14px; }
.person p { color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* ---------- professionisti ---------- */
.pro { padding-block: 0 72px; }
.pro-box { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 32px; display: grid; gap: 24px; }
.pro-box h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.pro-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-links a { padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.pro-links a:hover { border-color: var(--brand-2); }
@media (min-width: 960px) { .pro-box { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 40px 48px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .95rem; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.foot-brand p { color: var(--muted); margin-top: 16px; max-width: 36ch; }
.foot-brand .logo img { height: 44px; }
.cities { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text); font-size: 1.25rem; }
.social a:hover { border-color: var(--brand-2); text-decoration: none; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: grid; gap: 10px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.theme-toggle { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font: 600 .875rem/1 var(--font-body); padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; margin-top: 8px; }
