/* ============================================================
   Brisbane City Council — reimagined homepage
   Design system: subtropical modern — warm sand, river navy,
   leaf green, sunshine. Fraunces display + Public Sans body.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #1E2A32;
  --ink-soft: #46555F;
  --navy: #0F3557;
  --navy-deep: #0A2740;
  --blue: #006BB6;
  --blue-deep: #00508A;
  --blue-soft: #E3F0F9;
  --green: #00854A;
  --green-deep: #006B3B;
  --green-soft: #E2F3E9;
  --sun: #FFC629;
  --sun-deep: #E8A800;
  --sand: #FAF6EE;
  --sand-deep: #F0E9DA;
  --white: #FFFFFF;
  --line: rgba(23, 43, 58, 0.13);
  --line-strong: rgba(23, 43, 58, 0.22);
  --shadow-sm: 0 1px 2px rgba(15, 53, 87, 0.06), 0 2px 8px rgba(15, 53, 87, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 53, 87, 0.08), 0 10px 28px rgba(15, 53, 87, 0.10);
  --shadow-lg: 0 6px 18px rgba(15, 53, 87, 0.14), 0 24px 60px rgba(15, 53, 87, 0.16);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wrap: 1200px;
  --header-h: 84px;
  --focus: 0 0 0 3px var(--sun), 0 0 0 5px var(--navy);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: inline-block; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Focus ---------- */
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.search-input:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  box-shadow: 0 0 0 3px var(--sun), 0 0 0 5px var(--navy);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.ic { width: 1.25em; height: 1.25em; vertical-align: -0.28em; flex: none; }
.ic.flip { transform: scaleX(-1); }

.kicker {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 10px;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-sub { margin-top: 10px; color: var(--ink-soft); max-width: 56ch; font-size: 1.05rem; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 44px);
}

/* River-line accent under section titles */
.h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--green) 60%, var(--sun));
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; border-radius: 8px; }
.brand-logo { width: clamp(140px, 18vw, 190px); height: auto; }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav-cta {
  background: var(--navy);
  color: #fff;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--blue-deep); color: #fff; }
.dd-btn .ic { transition: transform 0.25s; }
.nav-dd { position: relative; }
.nav-dd.open .dd-btn .ic { transform: rotate(180deg); }

.dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  animation: dd-in 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes dd-in { from { opacity: 0; transform: translateX(-50%) translateY(8px); } }
.dd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.dd-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.dd-grid a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.dd-grid .ic { color: var(--green); width: 1.15em; height: 1.15em; }
.dd-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.dd-all:hover .ic { transform: translateX(4px); }
.dd-all .ic { transition: transform 0.2s; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: none;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.menu-btn.is-open { background: var(--navy); color: #fff; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--white);
  overflow-y: auto;
  padding: 12px clamp(16px, 4vw, 40px) 40px;
  animation: menu-in 0.25s ease;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }
.mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.mobile-nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav > a:hover { color: var(--blue-deep); }
.mobile-label {
  margin: 22px 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.mobile-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.mobile-cats a {
  display: block;
  padding: 10px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13); } }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 25, 43, 0.42) 0%, rgba(10, 25, 43, 0.10) 34%, rgba(8, 22, 38, 0.62) 74%, rgba(6, 18, 32, 0.88) 100%),
    linear-gradient(94deg, rgba(8, 24, 42, 0.82) 0%, rgba(8, 24, 42, 0.34) 46%, rgba(8, 24, 42, 0.05) 78%);
  transition: background 1.6s ease;
}
/* Time-of-day warmth */
body.t-morning .hero-scrim { background: linear-gradient(180deg, rgba(52, 32, 10, 0.40) 0%, rgba(52, 32, 10, 0.08) 34%, rgba(30, 20, 12, 0.60) 74%, rgba(16, 12, 10, 0.88) 100%), linear-gradient(94deg, rgba(40, 26, 10, 0.80) 0%, rgba(40, 26, 10, 0.32) 46%, rgba(40, 26, 10, 0.04) 78%), linear-gradient(0deg, rgba(255, 170, 60, 0.10), rgba(255, 170, 60, 0.10)); }
body.t-dusk .hero-scrim { background: linear-gradient(180deg, rgba(30, 12, 34, 0.46) 0%, rgba(30, 12, 34, 0.10) 34%, rgba(20, 8, 30, 0.64) 74%, rgba(12, 5, 20, 0.90) 100%), linear-gradient(94deg, rgba(26, 10, 34, 0.82) 0%, rgba(26, 10, 34, 0.34) 46%, rgba(26, 10, 34, 0.05) 78%), linear-gradient(0deg, rgba(255, 90, 120, 0.10), rgba(255, 90, 120, 0.10)); }
body.t-night .hero-scrim { background: linear-gradient(180deg, rgba(4, 12, 26, 0.60) 0%, rgba(4, 12, 26, 0.30) 34%, rgba(3, 10, 22, 0.72) 74%, rgba(2, 8, 18, 0.92) 100%), linear-gradient(94deg, rgba(4, 12, 26, 0.88) 0%, rgba(4, 12, 26, 0.45) 46%, rgba(4, 12, 26, 0.12) 78%); }

/* floating light orbs */
.hero-burst { position: absolute; inset: 0; pointer-events: none; }
.hero-burst span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-burst span:nth-child(1) { width: 420px; height: 420px; left: -120px; top: 8%; background: rgba(0, 155, 87, 0.55); }
.hero-burst span:nth-child(2) { width: 340px; height: 340px; right: -80px; top: -60px; background: rgba(255, 198, 41, 0.5); animation-delay: -6s; }
.hero-burst span:nth-child(3) { width: 380px; height: 380px; right: 12%; bottom: -180px; background: rgba(0, 107, 182, 0.55); animation-delay: -12s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.15); } }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(120px, 16vh, 170px) clamp(16px, 4vw, 40px) clamp(90px, 12vh, 130px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFE9A8;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  letter-spacing: -0.015em;
  text-shadow: 0 3px 30px rgba(4, 14, 26, 0.45);
}
.hero-title em {
  font-style: italic;
  color: var(--sun);
  text-shadow: 0 3px 30px rgba(120, 70, 0, 0.35);
}
.hero-sub {
  margin: 14px 0 30px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
  min-height: 1.6em;
}

/* Search */
.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 720px;
  background: var(--white);
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.25s, transform 0.25s;
}
.hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.55), var(--shadow-lg);
  transform: translateY(-2px);
}
.hero-search .lead { color: var(--green); width: 1.4em; height: 1.4em; }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.06rem;
  color: var(--ink);
  border-radius: 999px;
}
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-input::placeholder { color: #7A8891; }
.search-input:focus { outline: none; }
.search-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.search-submit:hover { background: var(--blue); }
.search-key {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Suggestions */
.suggest {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  color: var(--ink);
  animation: dd-in-fade 0.2s ease;
  z-index: 5;
}
@keyframes dd-in-fade { from { opacity: 0; transform: translateY(6px); } }
.suggest-group { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); padding: 12px 14px 6px; }
.suggest-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.suggest-opt .ic { color: var(--blue); }
.suggest-opt small { color: var(--ink-soft); display: block; font-size: 0.82rem; }
.suggest-opt mark { background: none; color: var(--green-deep); font-weight: 800; }
.suggest-opt:hover, .suggest-opt[aria-selected="true"] { background: var(--blue-soft); }
.suggest-opt .go { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: 0.2s; color: var(--blue-deep); }
.suggest-opt:hover .go, .suggest-opt[aria-selected="true"] .go { opacity: 1; transform: none; }
.suggest-foot {
  display: flex;
  gap: 14px;
  padding: 10px 14px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.suggest-foot kbd {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--sand);
}
.suggest-empty { padding: 18px 16px; color: var(--ink-soft); }

/* Chips */
.hero-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chips-label { font-size: 0.86rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); margin-right: 2px; }
.chip {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(8, 24, 42, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }

.hero-clock {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
}
.hero-clock .dot { opacity: 0.5; }

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  z-index: 2;
}
.hero-scroll .ic { animation: nudge 1.8s ease-in-out infinite; }
.hero-scroll .flip { animation: nudge2 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes nudge2 { 0%, 100% { transform: scaleX(-1) translateX(0); } 50% { transform: scaleX(-1) translateX(-5px); } }

/* ============================================================
   Quick services
   ============================================================ */
.quick { background: var(--sand); }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(-70px, -7vw, -40px);
  position: relative;
  z-index: 3;
}
.qcard a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px 22px 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.qcard a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.qcard a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.qcard a:hover::before { transform: scaleX(1); }
.q-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 8px;
}
.q-ic .ic { width: 1.35em; height: 1.35em; }
.q-t { font-weight: 800; font-size: 1.06rem; color: var(--navy); }
.q-d { font-size: 0.9rem; color: var(--ink-soft); }
.q-arrow { margin-top: auto; padding-top: 12px; color: var(--blue); }
.q-arrow .ic { transition: transform 0.25s; }
.qcard a:hover .q-arrow .ic { transform: translateX(5px); }

/* Bin finder */
.bin-finder {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-top: 46px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(0, 155, 87, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, #10314E 0%, #0F3557 60%, #14425F 100%);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 46px);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.bin-finder::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 44px solid rgba(255, 198, 41, 0.14);
}
.bin-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bin-sub { margin-top: 10px; color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; max-width: 34ch; }
.bin-field { position: relative; }
.bin-field .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--green); }
.bin-field input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px 22px 16px 48px;
  font: inherit;
  font-size: 1.04rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.bin-field input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.6), var(--shadow-md); }
.bin-list {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
}
.bin-list li {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}
.bin-list li:hover, .bin-list li[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-deep); }
.bin-hint { margin-top: 12px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.bin-results { margin-top: 18px; }
.bin-next { display: flex; flex-wrap: wrap; gap: 12px; }
.bin-day {
  flex: 1;
  min-width: 150px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.bin-day .when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
.bin-day .what { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 4px; }
.bin-day .rel { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }
.lid { width: 14px; height: 14px; border-radius: 4px; display: inline-block; flex: none; }
.lid.general { background: #E03E36; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.lid.recycle { background: #F2C230; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2); }
.lid.green { background: #4CAF50; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.bin-note { margin-top: 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }
.bin-note a { color: #BFE3FF; }

/* ============================================================
   News
   ============================================================ */
.news { background: var(--white); }
.tabs { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 5px; gap: 4px; }
.tab {
  border: 0;
  background: none;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab.is-active { background: var(--navy); color: #fff; }
.tab:not(.is-active):hover { color: var(--navy); }

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
}
.ncard {
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
}
.ncard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ncard-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.is-lead .ncard-media { aspect-ratio: 16 / 9.4; }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ncard:hover .ncard-media img { transform: scale(1.06); }
.tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.ncard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard-date { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.ncard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1.25; }
.is-lead .ncard-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.ncard-title a { color: var(--navy); text-decoration: none; }
.ncard-title a:hover { color: var(--blue-deep); text-decoration: underline; }
.ncard-blurb { color: var(--ink-soft); font-size: 0.94rem; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}
.read-more .ic { transition: transform 0.25s; }
.read-more:hover .ic { transform: translateX(5px); }
.news-more { margin-top: 28px; text-align: center; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid var(--sun);
  padding-bottom: 4px;
}
.link-arrow .ic { transition: transform 0.25s; }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ============================================================
   Emergency
   ============================================================ */
.emergency {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 175, 40, 0.14) 0%, transparent 50%),
    radial-gradient(80% 130% at 0% 100%, rgba(0, 107, 182, 0.10) 0%, transparent 55%),
    var(--sand);
}
.emg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.emg-title-wrap .h2 { display: flex; align-items: center; gap: 14px; }
.emg-title-wrap .h2 .ic { width: 1.1em; height: 1.1em; color: var(--green); }
.emg-sub { color: var(--ink-soft); margin-top: 8px; }
.emg-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid rgba(0, 133, 74, 0.25);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 18px;
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 133, 74, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 133, 74, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(0, 133, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 133, 74, 0); }
}
.emg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ecard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  background: linear-gradient(150deg, #12405C 0%, #0F3557 70%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
}
.ecard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.e-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 6s ease;
}
.ecard:hover .e-bg { opacity: 0.34; transform: scale(1); }
.ecard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 53, 87, 0.1) 30%, rgba(8, 26, 44, 0.85) 100%);
}
.ecard > * { position: relative; z-index: 2; }
.e-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 198, 41, 0.16);
  color: var(--sun);
  margin-bottom: 6px;
}
.e-t { font-weight: 800; font-size: 1.08rem; }
.e-d { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
.ecard .read-more { color: #BFE3FF; padding-top: 14px; margin-top: auto; }
.ecard .read-more:hover { color: #fff; }
.emg-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.emg-note strong { color: var(--ink); }

/* ============================================================
   Browse by category
   ============================================================ */
.services { background: var(--white); }
.svc-filter {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--sand);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 18px 4px 16px;
  min-width: 280px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.svc-filter:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 107, 182, 0.15); }
.svc-filter .ic { color: var(--green); }
.svc-filter input {
  border: 0;
  background: none;
  padding: 10px 8px;
  font: inherit;
  min-width: 0;
  flex: 1;
}
.svc-filter input:focus { outline: none; box-shadow: none; }

.svc-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.22s;
}
.svc-tab .ic { color: var(--green); width: 1.15em; height: 1.15em; }
.svc-tab:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.svc-tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.svc-tab[aria-selected="true"] .ic { color: var(--sun); }
.svc-tab.is-hidden { display: none; }

.svc-panel {
  background:
    radial-gradient(90% 140% at 100% 0%, var(--blue-soft) 0%, transparent 46%),
    radial-gradient(70% 120% at 0% 100%, rgba(0, 133, 74, 0.10) 0%, transparent 50%),
    var(--sand);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  animation: panel-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.svc-panel-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.svc-p-ic {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--white);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.svc-p-ic .ic { width: 1.7em; height: 1.7em; }
.svc-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 600;
  color: var(--navy);
}
.svc-panel .svc-blurb { margin-top: 8px; color: var(--ink-soft); max-width: 62ch; }
.svc-tasks { margin-top: 26px; }
.svc-tasks h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.svc-task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.svc-task {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.svc-task .ic { color: var(--blue); width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.svc-task:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.svc-task:hover .ic { transform: translateX(3px); }
.svc-more { margin-top: 24px; }
.svc-noscript { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

/* ============================================================
   Your Brisbane
   ============================================================ */
.yb {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(0, 155, 87, 0.08) 0%, transparent 50%),
    var(--sand);
}
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.rail-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.rail-btn:disabled { opacity: 0.35; cursor: default; }

.yb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ycard {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
}
.ycard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.y-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.y-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ycard:hover .y-media img { transform: scale(1.07); }
.y-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.y-title { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.y-title a { color: var(--navy); text-decoration: none; }
.y-title a:hover { color: var(--blue-deep); text-decoration: underline; }
.y-blurb { color: var(--ink-soft); font-size: 0.9rem; }

.yb-rail-wrap { margin-top: 20px; }
.yb-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.yb-rail::-webkit-scrollbar { height: 8px; }
.yb-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.is-rail { scroll-snap-align: start; }
.is-rail .y-media { aspect-ratio: 3 / 1.9; }
.is-cta { background: linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%); border: 0; }
.y-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  height: 100%;
  color: #fff;
  text-decoration: none;
}
.y-cta-plus { font-size: 2.6rem; font-weight: 300; line-height: 1; }
.y-cta-t { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.y-cta-d { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.y-cta .read-more { color: #fff; }

/* ============================================================
   What's near me
   ============================================================ */
.near { background: var(--white); }
.near-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
}
.near-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-md);
}
.near-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.near-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(15, 53, 87, 0) 40%, rgba(10, 30, 50, 0.5) 100%);
}
.near-body { display: flex; flex-direction: column; justify-content: center; }
.near-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn-locate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-locate:hover { background: var(--blue); transform: translateY(-2px); }
.btn-locate[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.near-or { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.near-select { position: relative; }
.near-select select {
  appearance: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  padding: 12px 44px 12px 20px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-width: 230px;
}
.near-select .sel { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--green); }

.near-results { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.near-empty {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  background: var(--sand);
}
.near-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 18px;
  animation: near-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
@keyframes near-in { from { opacity: 0; transform: translateY(8px); } }
.n-ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
}
.n-body { flex: 1; min-width: 0; }
.n-name { font-weight: 700; font-size: 0.97rem; }
.n-meta { font-size: 0.82rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-dist {
  flex: none;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--blue-deep);
}
.near-error { color: #A33B00; background: #FDF1E4; border: 1px solid rgba(163, 59, 0, 0.25); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.92rem; }

/* ============================================================
   Brisbane 2032
   ============================================================ */
.g2032 {
  background:
    radial-gradient(100% 120% at 100% 100%, rgba(0, 155, 87, 0.35) 0%, transparent 55%),
    radial-gradient(90% 110% at 0% 0%, rgba(0, 107, 182, 0.4) 0%, transparent 50%),
    linear-gradient(140deg, #0A2740 0%, #0F3557 55%, #0B2B47 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.g2032::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 70px solid rgba(255, 198, 41, 0.08);
  top: -200px;
  right: -140px;
  pointer-events: none;
}
.g-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  position: relative;
}
.g-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 14px;
}
.g2032 .h2 { color: #fff; }
.g2032 .h2::after { background: var(--sun); }
.g-sub { margin-top: 16px; color: rgba(255, 255, 255, 0.85); max-width: 52ch; font-size: 1.03rem; }

.count {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  margin-top: 30px;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(64px, 9vw, 96px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: clamp(12px, 2vw, 18px) 8px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1;
  color: var(--sun);
  font-variant-numeric: tabular-nums;
}
.cd-lab { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.cd-sep { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); color: rgba(255, 255, 255, 0.4); transform: translateY(-8px); }

.g-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn-sun {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sun);
  color: var(--navy-deep);
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 198, 41, 0.35); background: #FFD24D; color: var(--navy-deep); }
.btn-sun .ic { transition: transform 0.2s; }
.btn-sun:hover .ic { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }

.g-media { position: relative; }
.g-media img {
  border-radius: var(--r-xl);
  box-shadow: 0 30px 70px rgba(2, 12, 24, 0.55);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}
.g-media:hover img { transform: rotate(0deg) scale(1.015); }
.g-cap { margin-top: 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.66); font-style: italic; }

/* ============================================================
   Newsletter
   ============================================================ */
.nl { background: var(--sand); }
.nl-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 56px);
}
.nl-ic { width: 2.4em; height: 2.4em; color: var(--green); margin-bottom: 14px; }
.nl-copy p { margin-top: 10px; color: var(--ink-soft); }
.nl-form { display: flex; flex-direction: column; gap: 18px; }
.nl-field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.req { color: #C21F1F; }
.nl-field input {
  width: 100%;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 107, 182, 0.15); }
.nl-field input[aria-invalid="true"] { border-color: #C21F1F; box-shadow: 0 0 0 4px rgba(194, 31, 31, 0.12); }
.nl-msg { margin: 8px 0 0; font-size: 0.88rem; font-weight: 600; min-height: 1.3em; }
.nl-msg.ok { color: var(--green-deep); }
.nl-msg.err { color: #B01B1B; }
.nl-opts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nl-opts legend { font-weight: 700; font-size: 0.92rem; width: 100%; margin-bottom: 8px; }
.opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.opt:hover { border-color: var(--green); }
.opt input { accent-color: var(--green); width: 16px; height: 16px; }
.opt:has(input:checked) { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.nl-privacy { font-size: 0.8rem; color: var(--ink-soft); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(0, 107, 182, 0.25) 0%, transparent 55%),
    var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding-top: clamp(48px, 7vw, 80px);
}
.f-contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.f-h {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 18px;
}
.f-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.f-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); font-weight: 600; }
.f-phone {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.f-phone:hover { color: var(--sun); }
.f-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.f-link { color: #BFE3FF; font-weight: 600; }
.f-link:hover { color: #fff; }

.social-row { display: flex; gap: 12px; margin-bottom: 20px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.2s;
}
.social-row a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-3px); }
.f-news { margin-top: 4px; }

.f-cats {
  display: block;
  padding: 34px 0 10px;
}
.f-cats ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 18px;
}
.f-cats a {
  display: inline-block;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}
.f-cats a:hover { color: var(--sun); text-decoration: underline; }

.ack {
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 26px 30px;
}
.ack p { max-width: 85ch; font-size: 0.96rem; line-height: 1.75; color: rgba(255, 255, 255, 0.85); }
.ack strong { color: #fff; }

.f-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 30px 0 36px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.f-logo { width: 120px; height: auto; }
.f-copyright { font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); margin-right: auto; }
.f-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.f-legal a { color: rgba(255, 255, 255, 0.75); font-size: 0.84rem; text-decoration: none; }
.f-legal a:hover { color: var(--sun); text-decoration: underline; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  animation: fade-up 0.3s ease;
  transition: background 0.2s, transform 0.2s;
}
.to-top:hover { background: var(--blue); transform: translateY(-3px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.toast .ic { color: var(--sun); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .ncard.is-lead { grid-column: 1 / -1; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .near-wrap, .g-wrap, .nl-wrap { grid-template-columns: 1fr; }
  .near-media { min-height: 300px; }
  .g-media { order: -1; }
  .bin-finder { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .hero { min-height: 88svh; }
  .hero-inner { padding-top: 96px; padding-bottom: 96px; }
  .hero-search { flex-wrap: wrap; border-radius: var(--r-lg); padding: 10px; }
  .hero-search .lead { display: none; }
  .search-input { width: 100%; flex-basis: 100%; padding: 10px 12px; }
  .search-submit { flex: 1; justify-content: center; margin-top: 6px; }
  .search-key { display: none; }
  .suggest { border-radius: var(--r-lg); }
  .hero-chips { gap: 8px; }
  .chip { font-size: 0.8rem; padding: 7px 13px; }
  .hero-clock { font-size: 0.8rem; margin-top: 26px; }
  .hero-scroll { display: none; }
  .quick-grid { grid-template-columns: 1fr; margin-top: -30px; }
  .news-grid { grid-template-columns: 1fr; }
  .emg-grid { grid-template-columns: 1fr; }
  .yb-grid { grid-template-columns: 1fr; }
  .dd-panel { display: none; }
  .near-controls { align-items: stretch; flex-direction: column; }
  .near-or { text-align: center; }
  .near-select select { width: 100%; }
  .count { justify-content: space-between; }
  .cd-sep { display: none; }
  .cd-cell { flex: 1; }
  .nl-wrap { padding: 24px; }
  .f-contact { grid-template-columns: 1fr; }
  .mobile-cats { grid-template-columns: 1fr; }
  .svc-tabs { gap: 6px; }
  .section-head { align-items: flex-start; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero-media img { animation: none; transform: none; }
  .hero-burst span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .g-media img { transform: none; }
  .g-media:hover img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .to-top, .hero-search .suggest, .mobile-menu, .rail-nav, .hero-burst, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
}
