/* ==========================================================================
   NEXA TLC — foglio di stile
   ========================================================================== */

:root {
  --navy: #0a1a3a;
  --navy-2: #12254d;
  --ink: #0d1b3d;
  --text: #4a5878;
  --muted: #6b7a96;
  --blue: #1e6fdc;
  --blue-dark: #0f4fb5;
  --blue-deep: #0b3f9c;
  --cyan: #3cc6f0;
  --tint: #eef4fc;
  --tint-2: #f6f9fe;
  --icon-bg: #e6effb;
  --line: #e2e9f3;
  --white: #fff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(13, 27, 61, .04);
  --shadow: 0 18px 40px rgba(16, 40, 90, .10);
  --shadow-blue: 0 10px 24px rgba(30, 111, 220, .30);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.h-xl { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 28px; }
.h-sm { font-size: 1.3rem; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(60, 198, 240, .7); outline-offset: 2px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: #1863c8; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7d6ec; box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #5ad0f3; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
  background: #e3eefb; color: #1450b8; font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.badge--dark { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 28px; min-width: 0; }
.topbar-left a, .topbar-left span { white-space: nowrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar a:hover { opacity: 1; color: var(--cyan); }
.topbar .icon { width: 15px; height: 15px; color: var(--cyan); }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.topbar .lang-switch { gap: 2px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
.topbar .lang-switch .icon { margin-right: 6px; }
.lang-switch a { padding: 3px 7px; border-radius: 6px; font-weight: 700; font-size: 12.5px; letter-spacing: .03em; opacity: .75; }
.topbar .lang-switch a:hover { opacity: 1; color: #fff; background: rgba(255, 255, 255, .1); }
.topbar .lang-switch a.is-current { opacity: 1; background: var(--cyan); color: var(--navy); }
.lang-switch--mobile { width: 100%; justify-content: center; gap: 6px; padding: 6px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint-2); color: var(--ink); }
.lang-switch--mobile .icon { width: 18px; height: 18px; color: var(--blue); margin-right: 4px; }
.lang-switch--mobile a { flex: 1; text-align: center; padding: 8px; font-size: 14px; opacity: 1; }
.lang-switch--mobile a.is-current { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { height: 44px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; border-radius: 10px; white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s; opacity: .7; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--tint-2); color: var(--blue); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-link.is-active { color: var(--blue); }
.header-actions { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 0; }
.mega-panel {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.05fr; gap: 28px;
  background: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 32px 28px 28px 48px;
  box-shadow: 0 30px 60px rgba(13, 27, 61, .16); border: 1px solid var(--line); border-top: 0;
  animation: megaIn .22s ease;
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-title { font-family: var(--font-head); font-weight: 600; color: var(--blue-dark); font-size: 15px; margin-bottom: 14px; }
.mega-link { display: flex; gap: 14px; padding: 10px; margin: 0 -10px 6px; border-radius: 12px; transition: background .2s; }
.mega-link:hover { background: var(--tint-2); }
.mega-link strong { display: block; color: var(--ink); font-size: 15px; }
.mega-link small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.mega-col.is-current .mega-title { color: var(--blue); }
.mega-col.is-current .mega-title::after { content: ""; display: block; width: 28px; height: 3px; background: var(--cyan); border-radius: 3px; margin-top: 6px; }
.mega-promo {
  display: flex; flex-direction: column; border-radius: 20px; padding: 26px; color: #dbe8fb;
  background: linear-gradient(160deg, #0f4fb5 0%, #1e6fdc 55%, #3cc6f0 100%);
}
.promo-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.promo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.mega-promo p:not(.promo-title) { font-size: 14px; }
.mega-promo .btn { margin-top: auto; }
.mega-promo .promo-title + p { margin-bottom: 28px; }

.icon-box { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--icon-bg); color: var(--blue-dark); display: grid; place-items: center; }
.icon-box .icon { width: 19px; height: 19px; }

.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 84px); overflow-y: auto; padding: 20px 0 28px; }
.mobile-nav .mega-title { margin: 18px 0 8px; }
.mobile-nav .mega-title:first-child { margin-top: 0; }
.mobile-plain { display: block; padding: 10px 0; font-weight: 700; color: var(--ink); }
.mobile-actions { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f1f6fd 0%, #f7faff 60%, #fff 100%); }
.hero--home { padding: 64px 0 56px; }
.hero--page { padding: 28px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero--page .hero-grid { margin-top: 36px; }
.hero-copy .lead { margin-top: 20px; max-width: 560px; font-size: 1.1rem; color: var(--text); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { width: 16px; height: 16px; color: var(--blue); stroke-width: 2.4; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
.breadcrumb .sep { opacity: .5; }

.hero-visual { position: relative; min-height: 420px; }
.rings { position: absolute; top: 50%; left: 58%; width: 0; height: 0; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(30, 111, 220, .12); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(60, 198, 240, .06), transparent 70%); }
.rings span:nth-child(1) { width: 160px; height: 160px; }
.rings span:nth-child(2) { width: 290px; height: 290px; }
.rings span:nth-child(3) { width: 420px; height: 420px; }
.rings span:nth-child(4) { width: 560px; height: 560px; border-color: rgba(30, 111, 220, .07); }
.hero-wave { position: absolute; left: -12%; right: -30%; bottom: 8%; width: 142%; height: 42%; }

.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 22px 44px rgba(16, 40, 90, .13), 0 2px 6px rgba(16, 40, 90, .05);
  border: 1px solid rgba(226, 233, 243, .8); font-size: 13px; min-width: 180px; max-width: 270px;
  animation: floaty 7s ease-in-out infinite;
}
.pos-a { top: 4%; left: 6%; }
.pos-b { top: 30%; right: 0; animation-delay: -2s; }
.pos-c { bottom: 12%; left: 14%; animation-delay: -4s; }
.pos-d { bottom: 0; right: 8%; animation-delay: -5.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.float-card--number { display: flex; align-items: center; gap: 12px; }
.fc-label { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.fc-number { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.fc-number strong { font-size: 18px; font-weight: 700; margin-right: 2px; }
.fc-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.fc-icon--round { border-radius: 50%; background: var(--icon-bg); color: var(--blue-dark); }
.fc-icon--solid { border-radius: 10px; background: var(--blue); color: #fff; }
.fc-icon .icon { width: 18px; height: 18px; }
.fc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fc-head .icon { width: 15px; height: 15px; color: var(--blue); }
.fc-head .live-dot { margin-left: auto; }
.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-value { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
.fc-sub { display: block; font-size: 12px; color: var(--muted); }
.fc-text { display: block; margin-top: 10px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.fc-bubble { display: block; background: var(--tint); border-radius: 10px 10px 10px 2px; padding: 10px 12px; color: var(--ink); line-height: 1.45; }
.fc-bubble strong { font-family: var(--font-head); font-size: 15px; letter-spacing: .12em; }
.fc-status { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; color: var(--blue-dark); font-weight: 700; }
.fc-status .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.fc-note { display: block; font-style: italic; color: var(--ink); line-height: 1.45; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(60, 198, 240, .22); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(60, 198, 240, .06); } }

.waveform { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 12px; }
.waveform i { flex: 1; min-width: 3px; height: var(--h); background: var(--blue); border-radius: 2px; transform-origin: bottom; animation: wave 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wave { 50% { transform: scaleY(.45); } }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 10px; }
.mini-chart i { flex: 1; min-width: 12px; height: var(--h); background: #cfe0f7; border-radius: 4px 4px 2px 2px; }
.mini-chart i.is-hi { background: linear-gradient(180deg, #3cc6f0, #1e6fdc); }
.mini-chart i:nth-child(5) { background: var(--blue); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); padding: 0 28px; position: relative; white-space: nowrap; }
.ticker li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); transform: translateY(-50%); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--flush { padding: 0 0 56px; }
.section--tint { background: var(--tint-2); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.section-head--split p { color: var(--text); }
.section-head--split .tabs { justify-self: end; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin: 18px 0 8px; }
.card p { font-size: 14.5px; color: var(--text); }
.card--link:hover, .card:has(.card-links):hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cddcf1; }
.card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--icon-bg); color: var(--blue-dark); display: grid; place-items: center; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.more { font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: "→"; transition: transform .2s; }
.card--link:hover .more::after { transform: translateX(3px); }
.card-links { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-links a { font-size: 14px; font-weight: 700; color: var(--blue-dark); }
.card-links a:hover { color: var(--blue); text-decoration: underline; }
.card--row { display: flex; gap: 16px; align-items: flex-start; }
.card--row h3 { margin: 0 0 4px; }
.card--lg { padding: 32px; }
.card--lg h2 { margin: 20px 0 10px; }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.tab { border: 0; background: none; padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { background: var(--tint); }
.tab.is-active { background: var(--navy); color: #fff; }
.tab-panel { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Numbers block (home) */
.numbers-block { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.numbers-visual {
  position: relative; overflow: hidden; min-height: 400px; border-radius: 28px; padding: 32px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(60, 198, 240, .35), transparent 45%), linear-gradient(150deg, #0b3f9c 0%, #1456c4 60%, #1e6fdc 100%);
  box-shadow: 0 30px 60px rgba(11, 63, 156, .28);
}
.numbers-visual-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.15; max-width: 300px; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; box-shadow: 0 16px 32px rgba(5, 25, 70, .25);
  animation: floaty 7s ease-in-out infinite;
}
.chip small { display: block; font-size: 11.5px; color: var(--muted); }
.chip strong { font-family: var(--font-head); font-size: 18px; }
.chip-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--icon-bg); color: var(--blue-dark); display: grid; place-items: center; }
.chip-icon .icon { width: 16px; height: 16px; }
.chip--1 { top: 46%; left: 8%; }
.chip--2 { top: 63%; right: 8%; animation-delay: -2.5s; }
.chip--3 { bottom: 5%; left: 14%; animation-delay: -5s; }
.numbers-wave { position: absolute; left: 0; right: 0; bottom: 10%; width: 100%; height: 30%; opacity: .8; }
.numbers-copy p { margin-top: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.stat { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.stat:hover { border-color: #c7d6ec; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--blue); letter-spacing: -.02em; }
.stat span { display: block; font-weight: 700; color: var(--ink); font-size: 14px; margin-top: 4px; }
.stat small { display: block; color: var(--muted); font-size: 12.5px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { margin: 18px 0 26px; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { border-radius: 18px; padding: 22px; background: var(--tint); border: 1px solid var(--line); }
.tile h3 { margin: 16px 0 6px; }
.tile p { font-size: 14px; }
.tile-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.tile--offset { transform: translateY(24px); }
.tile--dark { background: var(--navy); border-color: var(--navy); }
.tile--blue { background: var(--blue); border-color: var(--blue); }
.tile--dark h3, .tile--blue h3 { color: #fff; }
.tile--dark p, .tile--blue p { color: rgba(255, 255, 255, .78); }
.tile--dark .tile-icon, .tile--blue .tile-icon { background: rgba(255, 255, 255, .14); color: var(--cyan); }
.tile--blue .tile-icon { color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step h3 { margin: 18px 0 8px; }
.step p { font-size: 14.5px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-blue); }

/* Commitments (home) */
.commitment { border-top: 4px solid var(--blue); }
.commitment-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.commitment h3 { margin: 14px 0 6px; }

/* Testimonials */
.testimonial { margin: 0; display: flex; flex-direction: column; }
.quote-mark { font-family: Georgia, serif; font-size: 64px; line-height: .8; color: #c9dcf6; height: 34px; }
.testimonial blockquote { margin: 12px 0 22px; color: var(--ink); font-size: 15px; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { display: block; color: var(--ink); font-size: 13.5px; }
.testimonial figcaption small { display: block; color: var(--muted); font-size: 12.5px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--icon-bg); color: var(--blue-dark); display: grid; place-items: center; }

/* Benefits (pagine interne) */
.benefits { display: grid; gap: 18px; }
.benefits--4 { grid-template-columns: repeat(4, 1fr); }
.benefits--3 { grid-template-columns: repeat(3, 1fr); }
.benefit { background: var(--tint); border-radius: var(--radius); padding: 24px; border: 1px solid #e3ecf8; }
.benefit .icon-box { background: #fff; color: var(--blue); }
.benefit h3 { margin: 18px 0 6px; }
.benefit p { font-size: 14px; }

/* Split layout: titolo a sinistra, contenuto a destra */
.split { display: grid; grid-template-columns: 1fr 1.9fr; gap: 56px; align-items: start; }
.split-head p { margin-top: 14px; max-width: 340px; }
.split-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.check-grid li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-grid strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.check-grid small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.check-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--icon-bg); color: var(--blue); display: grid; place-items: center; }
.check-dot .icon { width: 13px; height: 13px; stroke-width: 3; }

.specs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm); }
.specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 36%; color: var(--ink); font-weight: 700; }
.specs td { color: var(--text); }

.notice-box { display: flex; gap: 18px; background: var(--tint); border: 1px solid #dbe7f7; border-radius: var(--radius); padding: 26px 28px; }
.notice-box h2 { font-size: 1.1rem; margin-bottom: 6px; }
.notice-box p { font-size: 14.5px; max-width: 900px; }
.notice-icon { color: var(--blue); flex: none; }
.notice-icon .icon { width: 26px; height: 26px; }

/* Dev block */
.dev-block { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.dev-block p { margin-top: 14px; max-width: 380px; }
.code-card { background: var(--navy); border-radius: 18px; padding: 18px 24px 24px; box-shadow: 0 30px 60px rgba(10, 26, 58, .25); overflow-x: auto; }
.code-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-card pre { margin: 0; color: #d6e2f5; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13.5px; line-height: 1.8; }
.c-cmd { color: var(--cyan); }
.c-str { color: #9fc4ff; }

/* AI chat */
.ai-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ai-block p { margin-top: 14px; }
.plain-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.plain-checks li { display: flex; gap: 8px; align-items: center; }
.plain-checks .icon { width: 16px; height: 16px; color: var(--blue); stroke-width: 2.6; }
.chat { display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--shadow-sm); }
.bubble--in { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }

/* Districts */
.district-search { position: relative; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.district-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 220, .12); }
.district-search > .icon { color: var(--muted); }
.district-search input { flex: 1; border: 0; outline: 0; background: none; min-height: 56px; font-size: 15px; }
.district-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.districts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.districts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.districts li:hover { border-color: #c7d6ec; box-shadow: var(--shadow-sm); }
.districts strong { display: block; font-family: var(--font-head); color: var(--blue-dark); font-size: 16px; }
.districts small { display: block; font-size: 12.5px; color: var(--muted); }
.districts a { font-size: 12.5px; font-weight: 700; color: var(--blue); padding: 6px 8px; border-radius: 8px; }
.districts a:hover { background: var(--tint); }
.districts em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.districts small { overflow-wrap: anywhere; }

/* Selettore paese e prefissi */
.prefix-finder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.pf-controls { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.pf-field { display: grid; gap: 6px; }
.pf-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.pf-select, .pf-input { position: relative; display: flex; align-items: center; }
.pf-select > .icon:first-child, .pf-input > .icon { position: absolute; left: 16px; color: var(--blue); pointer-events: none; }
.pf-select .pf-chev { position: absolute; right: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.pf-select select, .pf-input input {
  width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 14px; background: var(--tint-2);
  padding: 0 44px 0 46px; font-size: 15.5px; font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.pf-select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.pf-input input { font-weight: 500; background: #fff; }
.pf-input input:disabled { background: var(--tint-2); cursor: wait; }
.pf-select select:focus, .pf-input input:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 111, 220, .12); }
.pf-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.pf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.pf-chip span { font-size: 12px; color: var(--muted); background: var(--tint); border-radius: 999px; padding: 1px 8px; }
.pf-chip:hover { border-color: #c7d6ec; }
.pf-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pf-chip.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
.pf-summary { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.pf-summary strong { color: var(--ink); }
.pf-more { display: flex; justify-content: center; margin-top: 20px; }
.pf-more:empty { display: none; }
.pf-more small { font-weight: 600; color: var(--muted); }

.districts-empty {background: #fff; border: 1px dashed #c7d6ec; border-radius: 12px; padding: 18px; font-size: 14.5px; }
.districts-empty a { color: var(--blue); font-weight: 700; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  border-radius: 28px; padding: 56px; color: rgba(255, 255, 255, .88);
  background: linear-gradient(120deg, #0b4db3 0%, #1c6fdc 55%, #3cc6f0 110%);
  box-shadow: 0 30px 60px rgba(15, 79, 181, .25);
}
.cta h2 { color: #fff; }
.cta-copy p { margin-top: 16px; max-width: 520px; }
.cta-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; font-weight: 700; color: #fff; }
.cta-points li { display: flex; align-items: center; gap: 6px; }
.cta-points .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.cta-rings { position: absolute; top: -140px; right: 10%; width: 0; height: 0; pointer-events: none; }
.cta-rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); transform: translate(-50%, -50%); }
.cta-rings span:nth-child(1) { width: 260px; height: 260px; }
.cta-rings span:nth-child(2) { width: 420px; height: 420px; }
.cta-rings span:nth-child(3) { width: 580px; height: 580px; }
.cta-copy, .cta-form { position: relative; z-index: 1; }
.cta-form { display: grid; gap: 14px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.cta-form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fff; }
.cta-form input, .cta-form select { min-height: 46px; border-radius: 10px; border: 1px solid transparent; background: #fff; padding: 0 14px; color: var(--ink); font-size: 14.5px; }
.cta-form input:focus, .cta-form select:focus { outline: 3px solid rgba(255, 255, 255, .5); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c7d6ec; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: transform .25s; }
.faq-icon .icon { width: 16px; height: 16px; }
.faq details[open] .faq-icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; font-size: 14.5px; }

/* ---------- Listino / form ---------- */
.hero--form { padding: 28px 0 96px; }
.form-layout { display: grid; grid-template-columns: .9fr 1.15fr; gap: 56px; align-items: start; margin-top: 32px; }
.form-intro .lead { margin-top: 18px; font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list a, .contact-list strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 16px; }
.contact-list a:hover { color: var(--blue); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 30px 60px rgba(16, 40, 90, .12); border: 1px solid var(--line); }
.form-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.2rem; margin: 0 0 16px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); align-items: end; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  background: #fff; font-weight: 500; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 220, .12); }
.field ::placeholder { color: #9aa7bd; }
.has-error input, .has-error select, .has-error textarea { border-color: #d93a3a; }
.field-error { display: block; color: #c62828; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.services { border: 0; padding: 0; margin: 4px 0 20px; }
.check-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.check-option:hover { border-color: #c7d6ec; }
.check-option:has(input:checked) { border-color: var(--blue); background: var(--tint-2); }
.check-option input, .consent input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; margin: 0; }
.privacy-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; line-height: 1.55; }
.privacy-note a { color: var(--blue); text-decoration: underline; }
.form-card .btn-block { margin-top: 18px; }
.hp { position: absolute; left: -9999px; }
.alert { background: #fdecec; color: #a61d1d; border: 1px solid #f6c7c7; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success h2 { font-size: 1.6rem; margin: 18px 0 10px; }
.form-success p { margin-bottom: 24px; }
.success-icon { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2.6; }

/* ---------- Legal documents ---------- */
.hero--legal { padding: 28px 0 40px; }
.hero--legal h1 { margin-top: 24px; font-size: clamp(2rem, 4vw, 3rem); }
.legal-meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.section--legal { padding: 48px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 110px; background: var(--tint-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.legal-nav-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 14px; margin: 0 0 10px 8px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.legal-nav a:hover { background: #fff; color: var(--blue); }
.legal-nav a[aria-current] { background: var(--navy); color: #fff; }
.legal-body { max-width: 780px; color: var(--text); font-size: 15.5px; line-height: 1.75; }
.legal-body > p:first-child { font-size: 1.05rem; }
.legal-body h2 { font-size: 1.35rem; margin: 40px 0 12px; scroll-margin-top: 110px; }
.legal-body h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.legal-body p, .legal-body ul, .legal-body ol, .legal-body table { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body strong { color: var(--ink); }
.legal-body .table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-body thead th { background: var(--tint-2); color: var(--ink); font-weight: 700; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body .callout { background: var(--tint); border: 1px solid #dbe7f7; border-radius: 12px; padding: 16px 18px; }
.legal-body mark.todo { background: #fff3c4; color: #7a5a00; padding: 0 3px; border-radius: 4px; }
.legal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.legal-cards .card { text-decoration: none; }
.h-card { font-size: 1.05rem; margin: 16px 0 0; }
.legal-lang-note, .legal-prevails { font-size: 13px; color: var(--muted); }
.legal-lang-note { background: #fff3c4; color: #7a5a00; border-radius: 10px; padding: 10px 14px; }
.legal-prevails { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { margin-top: 18px; line-height: 1.7; }
.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--cyan); }
.footer-contact a:hover { color: var(--cyan); }
.footer-legal { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.footer-legal p + p { margin-top: 6px; }
.footer-legal strong { color: rgba(255, 255, 255, .85); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a:hover { color: var(--cyan); }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .26); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 3px; }
.wa-float-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 700;
  padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; }
@media (hover: none) { .wa-float-label { display: none; } }
@media (max-width: 640px) { .wa-float { width: 54px; height: 54px; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
@media print { .wa-float { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav, .header-actions { display: none; }
  .burger { display: inline-flex; }
  .header-inner { min-height: 72px; }
  .logo img { height: 40px; }
  .mega { display: none !important; }
  .districts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1141px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-grid, .numbers-block, .about, .split, .dev-block, .ai-block, .form-layout, .cta, .footer-main { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-visual { min-height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .section-head--split .tabs { justify-self: start; }
  .grid-4, .benefits--4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .benefits--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 28px; }
  .split-head p { max-width: none; }
  .districts { grid-template-columns: repeat(3, 1fr); }
  .pf-controls { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 32px; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); justify-content: stretch; }
  .topbar .hide-md { display: none; }
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; }
  .legal-nav ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .hero--home { padding: 36px 0 40px; }
  .hero--page { padding: 20px 0 48px; }
  .grid-2, .grid-3, .grid-4, .benefits--3, .benefits--4, .steps, .stat-row, .check-grid, .form-grid, .check-options { grid-template-columns: 1fr; }
  .districts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .districts li { flex-direction: column; align-items: flex-start; }
  .districts a { padding: 4px 0; }
  .prefix-finder { padding: 16px; border-radius: 18px; }
  .pf-controls { grid-template-columns: 1fr; }
  .pf-types { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; }
  .pf-chip { flex: none; }
  .btn-row .btn { flex: 1; }
  .hero-visual { min-height: 340px; }
  .float-card { min-width: 0; max-width: 220px; padding: 12px 14px; }
  .pos-a { left: 0; }
  .pos-c { left: 0; }
  .pos-d { right: 0; }
  .rings { left: 50%; }
  .about-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile--offset { transform: none; }
  .tile { padding: 18px; }
  .numbers-visual { min-height: 380px; padding: 26px; }
  .chip--1 { left: 6%; }
  .chip--2 { right: 4%; }
  .cta { padding: 32px 20px; border-radius: 22px; }
  .form-card { padding: 22px 18px; }
  .topbar .hide-sm { display: none; }
  .topbar-left, .topbar-right { gap: 16px; }
  .ticker li { font-size: 1rem; padding: 0 20px; }
  .bubble { max-width: 90%; }
  .legal-cards, .legal-nav ul { grid-template-columns: 1fr; }
  .section--legal { padding: 32px 0 64px; }
}
