/* Premier concept: city location pages (Brisbane, Sunshine Coast, Sydney, Melbourne, Adelaide, Perth).
   Shared by src/pages/{brisbane,sunshine-coast,sydney,melbourne,adelaide,perth}.html. */

/* ---------- map-led hero ---------- */
.city-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.city-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 78% 55%, rgba(79,163,209,.16), transparent 70%), linear-gradient(180deg, rgba(11,37,50,0) 60%, rgba(4,7,7,.35)); }
.city-hero .wrap { width: min(1440px, 100% - 2 * var(--gutter)); padding-top: 150px; padding-bottom: clamp(130px, 12vw, 170px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.city-hero-copy { position: relative; z-index: 1; }
.city-hero h1 { font-size: clamp(42px, 4.9vw, 72px); margin-top: 18px; max-width: 760px; }
.city-hero h1 em { font-style: normal; color: var(--blue); }
.city-hero--long h1 { font-size: clamp(40px, 4.2vw, 62px); max-width: 820px; }
.city-hero .hero-sub { max-width: 640px; }
.city-hero .hero-actions { margin-top: 30px; }

/* photo variant (Brisbane: the depot is here) */
.city-hero-photo { position: absolute; inset: 0; z-index: -2; }
.city-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.city-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,50,.94) 0%, rgba(11,37,50,.82) 45%, rgba(11,37,50,.55) 100%), linear-gradient(180deg, rgba(11,37,50,.55) 0%, rgba(11,37,50,0) 30%, rgba(11,37,50,.85) 100%); }

/* the map */
.city-map { position: relative; margin: 0; width: 100%; max-width: 640px; justify-self: end; }
.city-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.city-map .base .land { fill: rgba(255,255,255,.035); stroke: rgba(79,163,209,.55); stroke-width: 2.4; stroke-linejoin: round; }
.city-map .grain { opacity: .55; }
.city-map .cdot { fill: rgba(255,255,255,.42); }
.city-map .arc { fill: none; stroke: var(--blue); opacity: .85; stroke-width: 3.5; stroke-dasharray: 1 14; stroke-linecap: round; }
.city-map .cpin .dot { fill: var(--blue); stroke: var(--navy); stroke-width: 4; }
.city-map .cpin .ring { fill: none; stroke: var(--blue); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: city-ring 2.8s var(--ease) infinite; }
.city-map .cpin .ring + .ring { animation-delay: 1.4s; }
.city-map .cpin.is-hq .dot { fill: var(--rust); }
.city-map .cpin.is-hq .ring { stroke: #e0735c; }
.city-map .lbl { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; fill: var(--white); font-size: 46px; paint-order: stroke; stroke: var(--navy); stroke-width: 10px; stroke-linejoin: round; }
.city-map .lbl--hq { font-size: 30px; fill: #f0a594; }
@keyframes city-ring { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(3.4); opacity: 0; } }
.city-map .glow { animation: city-glow 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes city-glow { 0%, 100% { opacity: .75; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }

/* legend under the map: the accessible version of what the map shows */
.city-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.city-legend li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.82); }
.city-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(79,163,209,.22); transform: translateY(1px); }
.city-legend li.is-hq::before { background: var(--rust); box-shadow: 0 0 0 4px rgba(181,67,44,.28); }
.city-legend b { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-right: 6px; }

@media (max-width: 1000px) {
  .city-hero .wrap { grid-template-columns: 1fr; padding-top: 130px; }
  .city-map { justify-self: start; max-width: 520px; }
}
@media (max-width: 560px) {
  .city-map .lbl { font-size: 54px; }
  .city-map .lbl--hq { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .city-map .cpin .ring, .city-map .glow { animation: none; }
  .city-map .cpin .ring { opacity: .45; transform: scale(1.8); }
  .city-map .cpin .ring + .ring { display: none; }
}

/* review card avatar colours per page (tokens only) */
.review-float .avatar.av-blue { background: var(--blue-deep); }
.review-float .avatar.av-navy { background: var(--navy); }

/* ---------- sticky chips ---------- */
.city-switcher { margin-top: clamp(28px, 4vw, 44px); }
.city-switcher .wrap { justify-content: center; }
.city-switcher .switch { min-height: 48px; }
@media (max-width: 620px) { .city-switcher .wrap { justify-content: flex-start; } }

/* ---------- sale / hire rows ---------- */
.city-sec-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 60px); max-width: 900px; }
.city-sec-head h2 { margin-top: 12px; }
.city-row + .city-row { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.city-row { align-items: start; }
.prod-copy h3.city-h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; color: var(--navy); }
.section--navy .prod-copy h3.city-h3 { color: var(--white); }
.prod-copy .city-h3 + p { margin-top: 14px; }
.prod-copy > p + p { margin-top: 14px; }
.city-copy-btn { margin-top: 24px; }
.city-copy-btn .btn { min-height: 46px; padding-inline: 18px; font-size: 16px; }

/* photo pair: main shot + inset interior + grade badge (echoes the Figma) */
.city-media { position: relative; margin: 0; padding-bottom: 22%; }
.city-media img { height: auto; }
.city-media > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--navy); }
.city-media .inset { position: absolute; left: -22px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 6px solid var(--white); box-shadow: var(--shadow); background: var(--navy); }
.section--navy .city-media .inset { border-color: var(--navy); }
.city-media .media-badge { left: auto; right: 16px; top: 16px; }
.city-media--single { padding-bottom: 0; }
.city-media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.section--navy .city-media figcaption { color: rgba(255,255,255,.7); }
.city-media--single figcaption { margin-top: 12px; }
@media (max-width: 900px) { .city-media .inset { left: 12px; } }

/* price tables */
.city-table { margin-top: 26px; }
.city-table table.data { min-width: 0; }
.city-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.city-table tbody th { white-space: normal; font-weight: 500; color: var(--text); }
.city-table td.price { text-align: right; line-height: 1.1; vertical-align: middle; }
.city-table tbody th { vertical-align: middle; }
.city-table td.price small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.city-table .rate { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--navy); display: block; line-height: 1.1; }
.city-table .rate + small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.city-table td.pw { text-align: right; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--blue-deep); vertical-align: middle; }
.city-disclaimer { margin-top: clamp(32px, 4vw, 44px); max-width: 860px; }

/* hire band */
.city-rates { margin-top: clamp(44px, 5vw, 64px); }
.city-rates > h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; }
.city-rates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: 18px; }
.city-rates-grid > * { min-width: 0; }
.city-rates-grid .city-table { margin-top: 0; }
.section--navy .city-table { border-color: rgba(255,255,255,.12); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
.section--navy .city-table thead th { background: var(--navy-2); }
@media (max-width: 760px) { .city-rates-grid { grid-template-columns: 1fr; } }
.city-terms { margin-top: clamp(32px, 4vw, 44px); max-width: 860px; }
.city-terms-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.city-terms .checks { margin-top: 12px; }
.section--navy .city-terms .table-note { color: rgba(255,255,255,.7); }
.city-terms + .prod-actions, .city-disclaimer + .prod-actions { margin-top: 24px; }

/* modify / storage lists */
.city-list-title { font-size: 20px; font-weight: 600; color: var(--navy); letter-spacing: .04em; margin-top: 28px; }
.checks.city-cols { display: block; columns: 2; column-gap: 20px; }
.checks.city-cols li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 520px) { .checks.city-cols { columns: 1; } }
.city-price-call { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 20px 22px; border-radius: 12px; background: var(--navy); color: var(--white); }
.city-price-call .big { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: .9; color: var(--blue); grid-row: span 2; }
.city-price-call .big small { font-size: 20px; color: var(--white); font-weight: 600; margin-left: 4px; }
.city-price-call p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.city-price-call .lbl { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.city-footnote { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 420px) { .city-price-call { grid-template-columns: 1fr; } .city-price-call .big { grid-row: auto; } }
.city-map.is-paused .ring, .city-map.is-paused .glow { animation-play-state: paused; }
.city-store-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.city-store-lists .city-list-title { margin-top: 22px; }
@media (max-width: 420px) { .city-store-lists { grid-template-columns: 1fr; } }
.city-table { position: relative; }
.city-table table.data tbody th, .city-table table.data thead th { white-space: normal; }
@media (max-width: 560px) {
  .city-table table.data th, .city-table table.data td { padding: 12px 14px; }
  .city-table td.price, .city-table td.pw { font-size: 17px; }
}
@media (min-width: 901px) { #modify .prod-media, #self-storage .prod-media { position: sticky; top: 170px; } }
