:root {
  --teal: #146866;
  --teal-deep: #0e4f4d;
  --teal-ink: #083836;
  --foam: #f4fbf8;
  --mint: #d7efe4;
  --sky: #d5ebf6;
  --sand: #efe4d2;
  --ink: #1d2b2a;
  --mist: #5d706e;
  --line: rgba(20, 104, 102, 0.12);
  --sans: "Nunito", "Outfit", "Avenir Next", sans-serif;
  --radius: 22px;
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--teal-deep);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #b8ebe4;
}
.kicker.teal { color: var(--teal); }

.muted { color: var(--mist); }
.tiny { font-size: 13px; font-weight: 700; }

h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.05; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 7vw, 64px); }
h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 36px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-sand { background: var(--sand); color: var(--teal-ink); }
.btn-ghost {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid var(--line);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn[hidden] { display: none !important; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 12px;
  padding: 8px 14px 8px 12px;
  min-width: 168px;
  line-height: 1.05;
  font-weight: 800;
}
.store-btn small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}
.store-ios {
  background: #111;
  color: #fff;
}
.store-play {
  background: #111;
  color: #fff;
}
.store-row-hero .store-btn,
.store-row-header .store-btn {
  background: #fff;
  color: var(--teal-ink);
}
.store-row-header {
  margin-top: 0;
  flex-wrap: nowrap;
  flex: none;
}
.store-row-header .store-btn {
  min-width: 0;
  padding: 6px 12px;
  white-space: nowrap;
}
.site-nav .store-row { justify-content: flex-end; }
.store-row-dark .store-btn {
  background: #fff;
  color: var(--teal-ink);
}

.ad-slot {
  margin: 18px 0;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 10px 12px 14px;
  text-align: center;
}
.ad-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.ad-placeholder {
  min-height: 90px;
  display: grid;
  place-items: center;
  background: var(--foam);
  border-radius: 12px;
  color: var(--mist);
  font-weight: 700;
}
.adsbygoogle { min-height: 90px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 104, 102, 0.94);
  backdrop-filter: blur(14px);
  color: #fff;
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.comune-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: none;
}
.comune-locate {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.comune-locate:disabled { opacity: 0.65; }
.comune-locate.busy { animation: locate-pulse 0.9s ease-in-out infinite; }
@keyframes locate-pulse {
  50% { opacity: 0.45; }
}
.comune-chip {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  padding: 7px 12px;
  max-width: min(240px, 38vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.comune-chip .stemma-chip {
  width: 18px;
  height: 22px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  flex: none;
}
body:not(.rt-is-pt) .rt-pt-only { display: none !important; }
body.rt-is-pt .rt-not-pt { display: none !important; }
body:not(.rt-is-pt) .site-nav a[href*="ecodizionario"],
body:not(.rt-is-pt) .site-footer a[href*="ecodizionario"] { display: none !important; }

.city-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 42, 41, 0.46);
  display: grid;
  place-items: end center;
  padding: 12px;
}
.city-gate[hidden] { display: none !important; }
.city-map[hidden],
.city-gate .field[hidden] { display: none !important; }
body.rt-picker-open { overflow: hidden; }
.city-gate-card {
  width: min(520px, 100%);
  max-height: min(88dvh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  padding: 22px 18px 18px;
  box-shadow: 0 18px 50px rgba(10, 42, 41, 0.28);
  color: var(--ink);
}
.city-gate-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.city-map {
  position: relative;
  height: 176px;
  margin: 4px 0 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #8ec9d4;
  box-shadow: inset 0 0 0 1px rgba(20, 104, 102, 0.12);
}
.city-map-stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  height: 100%;
  aspect-ratio: 360 / 520;
}
.city-map-zoom {
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.city-map-zoom svg {
  display: block;
  width: 100%;
  height: 100%;
}
.city-map-sea { fill: #8ec9d4; }
.city-map-land {
  fill: #e7f6ef;
  stroke: #0e4f4d;
  stroke-width: 2;
  stroke-linejoin: round;
}
.city-pin-hit { fill: transparent; cursor: pointer; }
.city-pin-dot {
  fill: var(--teal);
  stroke: #fff;
  stroke-width: 1;
  pointer-events: none;
}
.city-pin.on .city-pin-dot {
  fill: var(--teal-ink);
  stroke-width: 1.6;
}
.city-pin-ring {
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 1.6;
  opacity: 0.45;
}
.city-map-name {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  max-width: calc(100% - 20px);
  pointer-events: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 5px 10px;
}
.city-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  max-height: 28dvh;
  overflow: auto;
}
.city-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--mint);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink);
}
.city-row b { font-size: 16px; }
.city-row span { color: var(--mist); font-size: 12px; font-weight: 700; }
.city-row.on {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
}
.city-row.on span { color: rgba(255, 255, 255, 0.78); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8ebe4;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav .current-menu-item > a { background: rgba(255, 255, 255, 0.14); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.nav-toggle i {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(14, 79, 77, 0.28);
}
.lang-switch a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
}
.lang-switch a.on {
  background: #fff;
  color: #0e4f4d;
}
@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand city stores tools"
      "nav nav nav nav";
    align-items: center;
    column-gap: 16px;
    row-gap: 28px;
    padding: 14px 0 18px;
    min-height: 0;
  }
  .brand { grid-area: brand; }
  .comune-select { grid-area: city; margin-right: 0; }
  .header-tools {
    grid-area: tools;
    margin-left: 0;
  }
  .site-nav { display: contents; }
  .site-nav ul {
    grid-area: nav;
    flex-wrap: nowrap;
  }
  .site-nav .store-row {
    grid-area: stores;
    margin-top: 0;
    justify-content: flex-end;
  }
  .site-nav a { padding: 6px 10px; }
}

.hero {
  background: linear-gradient(180deg, var(--teal) 0%, #1a7a76 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(220px, 340px);
  gap: 28px;
  align-items: end;
  padding: 28px 0 8px;
}
.hero h1 {
  font-size: clamp(52px, 12vw, 86px);
  text-transform: uppercase;
  line-height: 0.82;
  margin: 0 0 16px;
}
.hero-lead {
  max-width: 38ch;
  color: #d7efe4;
  font-size: 18px;
  line-height: 1.45;
}
.hero-types {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hero-types li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.hero-actions, .duo, .actions, .store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.store-row.store-row-header {
  flex-wrap: nowrap;
  margin-top: 0;
}
.hero-phone img {
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(8, 40, 38, 0.35);
}
.wave svg { display: block; width: 100%; height: 42px; }

.sheet {
  background: var(--foam);
  padding: 28px 0 64px;
}
.sheet h2 { color: var(--teal-ink); }
.lead { font-size: 18px; max-width: 46ch; }
.home-tips {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--foam, #f4fbf8);
}
.home-tips[hidden] { display: none; }
.home-tips h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.home-tips .home-putout {
  margin: 0 0 8px;
  font-weight: 700;
}
.home-tips ul {
  margin: 0;
  padding-left: 18px;
}
.home-tips li {
  margin: 4px 0;
  color: var(--mist, #5d706e);
}
.card .home-tips {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.cat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.cat-tile {
  background: var(--mint);
  border: 0;
  border-radius: 18px;
  padding: 12px 6px 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal-ink);
  display: grid;
  justify-items: center;
  gap: 6px;
}
.cat-tile span {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.cat-tile svg { display: block; }

.eco-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  padding: 16px 18px;
}
.eco-banner span { color: #b8ebe4; }

.list { display: grid; gap: 10px; margin-top: 18px; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.row b { display: block; }
.row span { color: var(--mist); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.features { padding: 8px 0 56px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.feature-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(14, 79, 77, 0.05);
}
.feature-grid p { margin: 8px 0 0; color: var(--mist); }
.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.phones img {
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(14, 79, 77, 0.12);
}

.cta-band {
  background: var(--teal-deep);
  color: #fff;
  padding: 36px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.page-head {
  background: var(--teal);
  color: #fff;
  padding: 28px 0 32px;
}
.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.page-head p { max-width: 46ch; color: #d7efe4; }
.stemma { object-fit: contain; filter: brightness(1.1); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(14, 79, 77, 0.05);
}
.cards-stack { display: grid; gap: 14px; }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}
.tech-grid h3 {
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--teal-ink);
}
.tech-steps {
  list-style: none;
  counter-reset: step;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tech-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.tech-steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-aside { margin-top: 16px; }
.tech-phrases {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tech-phrases li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--teal-ink);
  font-weight: 800;
}
#android,
#alexa { scroll-margin-top: 88px; }
.cal-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 14px;
}
.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.month-head h2 { margin: 0; font-size: 24px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 24px;
}
.weekdays, .cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--mist);
  text-transform: uppercase;
}
.cell {
  min-height: 58px;
  border: 0;
  background: var(--foam);
  border-radius: 14px;
  padding: 6px;
  text-align: left;
}
.cell.empty { background: transparent; }
.cell.on { background: var(--teal); color: #fff; }
.cell.holiday { outline: 1px dashed var(--line); }
.cell.unpublished {
  background: transparent;
  outline: 1px dashed var(--line);
  opacity: 0.78;
}
.cell.on.unpublished {
  background: var(--teal);
  opacity: 1;
  outline: none;
}
.cell-wait {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
  font-weight: 800;
  line-height: 1;
}
.cell.on .cell-wait { color: rgba(255, 255, 255, 0.72); }
.cell .num { font-weight: 800; }
.dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}

.waste-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.waste-tile {
  border-radius: 24px;
  padding: 18px;
}
.waste-tile .illu {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.waste-tile .illu svg { display: block; }
  margin: 0 0 10px;
}
.waste-tile h2 { font-size: 26px; }
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.cols ul { margin: 6px 0 0; padding-left: 1.1em; }

.field { display: grid; gap: 6px; }
.field span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.field input {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}
.eco-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.eco-list button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
}
.eco-list small { display: block; color: var(--mist); }
.eco-result h3 { margin: 0 0 4px; }
.lead-name { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.dev-highlight { background: var(--mint); border-color: transparent; }

.disclaimer {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.55;
}
.disclaimer p { margin: 0 0 10px; }
.disclaimer ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  list-style: disc;
}
.disclaimer li { margin: 4px 0; }
.disclaimer a { text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.disclaimer-card {
  background: var(--sand);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
  border: 1px solid var(--line);
}
.disclaimer-card a { color: var(--teal-deep); }
.site-footer .disclaimer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe8e4;
}
.site-footer .disclaimer ul { list-style: disc; }

.prose { max-width: 760px; }
.prose p, .prose li { line-height: 1.55; }
.legal h2 { margin: 28px 0 8px; font-size: 22px; color: var(--teal-deep); }
.legal code {
  font-size: 0.92em;
  background: var(--mint);
  padding: 1px 6px;
  border-radius: 6px;
}

.site-footer {
  background: var(--teal-ink);
  color: #d7efe4;
  padding: 36px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8ebe4;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { color: #fff; margin-bottom: 10px; }
.dev-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-grid,
  .cal-layout,
  .feature-grid,
  .tech-grid,
  .footer-grid,
  .phones { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { display: grid; }
  .nav-toggle { display: block; }
  .site-header .wrap { width: min(1120px, calc(100% - 40px)); }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "chip chip";
    align-items: center;
    column-gap: 16px;
    row-gap: 10px;
    padding: 12px 0 14px;
    min-height: 0;
  }
  .brand { grid-area: brand; min-width: 0; }
  .comune-select {
    grid-area: chip;
    max-width: 100%;
  }
  .comune-chip {
    max-width: 100%;
    width: max-content;
    font-size: 13px;
    padding: 8px 14px;
  }
  .header-tools {
    grid-area: tools;
    margin-left: 0;
    gap: 12px;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
  }
  .site-nav .store-row { justify-content: flex-start; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--teal-deep);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .header-cta { width: fit-content; }
  .waste-grid { grid-template-columns: 1fr; }
  .phones img { width: min(280px, 100%); margin: 0 auto; }
}

.seo-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
}
.page-head .seo-crumbs,
.page-head .seo-crumbs a { color: #d7efe4; }
.seo-stack { display: grid; gap: 14px; }
.seo-zone { display: grid; gap: 14px; }
.seo-today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.seo-day-card h2 { margin: 4px 0 8px; }
.seo-day-types { margin: 0; font-size: 18px; font-weight: 800; }
.seo-zone-title { margin: 10px 0 0; }
.seo-day-grid,
.seo-week-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.seo-day-grid { grid-template-columns: repeat(4, 1fr); }
.seo-week-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.seo-day-tile {
  background: var(--foam);
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 72px;
}
.seo-day-tile b { display: block; font-size: 14px; }
.seo-day-tile span {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--teal-ink);
}
.seo-day-tile.is-empty span { color: var(--mist); font-weight: 700; }
.seo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.seo-split:has(> :only-child) { grid-template-columns: 1fr; }
.seo-source {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
}
.seo-source h2 { font-size: 18px; }
.seo-zone-nav ul,
.seo-notes,
.seo-comune-list { margin: 8px 0 0; padding-left: 18px; }
.seo-zone-nav li,
.seo-comune-list li { margin: 6px 0; }
.seo-neighbors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.seo-neighbor {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-ink);
  font-weight: 800;
  text-decoration: none;
}
.seo-neighbor:hover { background: var(--teal); color: #fff; }
.seo-comune-list { list-style: none; padding: 0; }
.seo-comune-list a { font-weight: 800; }
.seo-missing { color: var(--mist); font-size: 14px; font-weight: 700; }
.seo-letter { margin: 28px 0 8px; color: var(--teal-ink); }
.seo-bins {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.seo-bin {
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 4px;
}
.seo-links p { margin: 8px 0; }
.seo-week { display: grid; gap: 8px; }

@media (max-width: 900px) {
  .seo-day-grid { grid-template-columns: repeat(3, 1fr); }
  .seo-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .seo-today-grid,
  .seo-day-grid,
  .seo-week-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .eco-banner { flex-direction: column; align-items: flex-start; }
  .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 58px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 40px; height: 40px; }
}
