/* Spartan Moving CITY PAGE template (PROPOSAL 11/08). Loads after site.css; adds only city-page parts.
   Same palette as the homepage proposal: ink / paper / stone, white on photos, no accent colour, no red.
   Green appears only in the Spartan helmet logo. */

/* hero: our truck on a residential street, text on the left over a soft gradient */
.hero-city .bg{overflow:hidden}
.hero-city .bg img{position:absolute;top:0;right:0;width:124%;max-width:none;height:100%;object-fit:cover;object-position:100% 62%}
.hero-city.hero-move::after{background:
  linear-gradient(90deg,rgba(8,10,14,.80) 0%,rgba(8,10,14,.66) 30%,rgba(8,10,14,.30) 48%,rgba(8,10,14,0) 62%),
  linear-gradient(180deg,rgba(8,10,14,.18) 0%,rgba(8,10,14,0) 30%)}
.hero-city.hero-move{min-height:min(calc(100svh - 77px - 90px),780px)}
.hero-city .hero-copy{max-width:640px}
.hero-city .crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 22px;font-size:14px;color:rgba(255,255,255,.78)}
.hero-city .crumbs a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.hero-city .crumbs a:hover{border-bottom-color:#fff}
.hero-city .crumbs i{font-style:normal;opacity:.6}
.hero-city .hero-line{font-size:clamp(17px,1.4vw,20px);margin-bottom:14px;color:rgba(255,255,255,.88)}
.hero-city h1{font-size:clamp(38px,4.4vw,66px);line-height:1.02;max-width:13em}
.hero-city .lede{font-size:clamp(17px,1.25vw,19px)}
.hero-extra{margin:12px 0 0;font-size:14.5px;color:rgba(255,255,255,.8)}
.hero-city .hero-proof span{display:inline}
@media (max-width:900px){.hero-city .bg img{width:100%;object-position:72% 70%}}
@media (max-width:620px){
  .hero-city .bg{height:min(78vw,340px)}
  .hero-city .bg img{width:100%;object-position:70% 85%}
  .hero-city .wrap.hero-grid{padding-bottom:min(70vw,300px)!important}
  .hero-city .crumbs{font-size:13px;margin-bottom:14px}
  .hero-city h1{font-size:clamp(32px,9vw,44px)}
  .hero-city .bg img{object-position:66% 100%}
  .hero-city .hero-proof{display:none}
}

/* quote bar title */
.qtitle{margin:2px 6px 10px;font-size:15px;font-weight:500;color:var(--ink)}

/* facts band: live trust items, stat tiles, rate receipt */
.city-facts .stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.city-facts .strip:first-child{margin-top:0;padding-top:0;border-top:0}
.facts-line{margin:0;font-size:15px;color:var(--muted)}
.facts-line + .facts-line{margin-top:6px}
.rcard{margin-top:24px;max-width:560px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:22px 24px}
.rcard .rc-h{margin:0 0 10px;font-size:15px;font-weight:500}
.rcard dl{margin:0}
.rcard dl div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--line);font-size:15.5px}
.rcard dl div:first-child{border-top:0}
.rcard dt{color:var(--muted)}
.rcard dd{margin:0;font-weight:500}
.rcard dl div.sub dt{padding-left:14px}
.rcard .rc-t{margin:12px 0 0;padding-top:12px;border-top:1px solid var(--ink);font-size:15px;font-weight:500}

/* three steps (form-in-hero layout) */
.city-steps{background:#fff;border-bottom:1px solid var(--line)}
.city-steps ol{list-style:none;margin:0;padding:clamp(22px,3vw,34px) 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px clamp(20px,3vw,40px)}
.city-steps li{display:grid;gap:4px}
.city-steps .k{font-size:13px;color:var(--muted)}
.city-steps b{font-weight:500;font-size:18px}
.city-steps li span:last-child{color:var(--muted);font-size:15.5px}
@media (max-width:760px){.city-steps ol{grid-template-columns:1fr}}

/* on this page */
.city-toc{background:var(--paper);border-bottom:1px solid var(--line)}
.city-toc .wrap{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 14px;padding-top:22px;padding-bottom:22px}
.city-toc .toc-h{width:100%;font-size:15px;font-weight:500;letter-spacing:0;margin:0}
.city-toc .toc-l{font-size:14px;font-weight:500;color:var(--muted)}
.city-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.city-toc a{display:inline-block;padding:6px 13px;border:1px solid var(--line);border-radius:var(--pill);background:#fff;font-size:14px;text-decoration:none;color:var(--ink);transition:border-color .2s}
.city-toc a:hover{border-color:var(--ink)}
@media (max-width:620px){.city-toc ol{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}.city-toc a{white-space:nowrap}}

/* content sections: heading column + reading column */
.city-sec{scroll-margin-top:84px}
.cs-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.45fr);gap:clamp(24px,5vw,80px);align-items:start}
.cs-head{position:sticky;top:104px}
.cs-head h2{font-size:clamp(30px,3.1vw,46px);line-height:1.05;margin-top:12px}
.cs-head h2 small{display:block;font-size:14px;letter-spacing:0;color:var(--muted);margin-bottom:8px;font-weight:500}
.cs-body{max-width:44em;font-size:17.5px}
.cs-body > :first-child{margin-top:0}
.cs-body h3{font-size:clamp(19px,1.5vw,22px);margin:30px 0 10px}
.cs-body p,.cs-body li{color:#3b3f47}
.cs-body ol{padding-left:1.2em;margin:0 0 18px}
.cs-body li{margin:7px 0}
.cs-body strong,.cs-body b{color:var(--ink);font-weight:600}
.cs-body a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.cs-body a:hover{text-decoration-thickness:2px}
.tbl{margin:18px 0 20px;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff;-webkit-overflow-scrolling:touch}
.tbl table{width:100%;border-collapse:collapse;font-size:15.5px;min-width:520px}
.tbl th{text-align:left;padding:13px 16px;font-size:13.5px;font-weight:500;color:var(--muted);background:var(--paper);border-bottom:1px solid var(--line)}
.tbl td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:top;color:var(--text)}
.tbl tr:first-child td{border-top:0}
.tbl td:first-child{font-weight:500}
.sand .tbl th{background:var(--stone)}
.cs-body .sp-costnote{font-size:14.5px;color:var(--muted)}
@media (max-width:900px){
  .cs-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .cs-head{position:static}
}
@media (max-width:620px){.cs-body{font-size:16.5px}.tbl table{font-size:14.5px}}

/* pull quote (magazine layout) */
.city-pull{background:var(--ink);color:#fff}
.city-pull p{margin:0;padding:clamp(44px,6vw,80px) 0;font-size:clamp(24px,2.8vw,38px);font-weight:500;letter-spacing:-.025em;line-height:1.18;max-width:28em}

/* three own photos before the FAQ */
.city-gal{background:#fff;padding:clamp(28px,4vw,56px) 0}
.city-gal .cg{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px}
.city-gal figure{margin:0;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3;background:var(--stone)}
.city-gal img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.city-gal .cg{grid-template-columns:1fr 1fr}.city-gal figure:first-child{grid-column:1/-1;aspect-ratio:16/10}}

/* FAQ: question text may be an H3 (when the live page used H3) */
.city-faq .faq summary h3{display:inline;font:inherit;letter-spacing:inherit;line-height:inherit;margin:0}
.city-faq .faq .fa{padding:0 0 18px;color:var(--muted)}
.city-faq .faq .fa p{margin:0 0 10px}
.city-faq .faq .fa a{color:var(--ink)}

/* related pages */
.city-rel .rel-g + .rel-g{margin-top:36px}
.city-rel h2{font-size:clamp(28px,3vw,42px);margin:8px 0 22px}
.city-rel h3,.city-rel .rel-t{font-size:clamp(22px,2vw,28px);font-weight:500;letter-spacing:-.02em;margin:8px 0 20px}
.rel-chips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px}
.rel-chips a{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:12px 44px 12px 18px;border:1px solid var(--line);border-radius:14px;background:var(--paper);text-decoration:none;color:var(--ink);font-weight:500;position:relative;transition:border-color .2s,background .2s}
.rel-chips a::after{content:"\2192";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--muted);transition:transform .2s var(--ease)}
.rel-chips a:hover{border-color:var(--ink);background:#fff}
.rel-chips a:hover::after{transform:translate(3px,-50%)}
.rel-chips li{position:relative}
.rel-chips li small{position:absolute;left:19px;bottom:7px;font-size:12.5px;color:var(--muted);pointer-events:none}
.rel-chips li:has(small) a{padding-bottom:24px}

/* reviews */
.city-rev .lede a{color:var(--ink)}
.city-rev .readon{margin-top:22px}

/* tighter rhythm for long city pages */
.city-sec.pad{padding-top:clamp(52px,6.5vw,96px);padding-bottom:clamp(52px,6.5vw,96px)}
@media (max-width:620px){
  .rel-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rel-chips a{min-height:50px;padding:10px 30px 10px 13px;font-size:14.5px;line-height:1.25}
  .rel-chips a::after{right:12px}
  .rel-chips li small{left:14px}
  .cs-head h2{font-size:30px}
}

/* FULL COLOR (David 11/08): pull quote = soft-green band instead of black */
.city-pull{background:var(--tint);color:var(--ink);border-top:1px solid var(--tint-line);border-bottom:1px solid var(--tint-line)}


/* area pages (11/08): divider heading, extra call-to-action boxes */
.city-div{background:var(--ink);color:#fff}
.city-div h2{padding:clamp(36px,4.5vw,60px) 0;font-size:clamp(30px,3.4vw,48px)}
.city-cta2 .c2{max-width:46em;border:1px solid var(--line);border-radius:var(--r);background:var(--paper);padding:clamp(24px,3vw,40px)}
.city-cta2 h2,.city-cta2 .c2-h{font-size:clamp(26px,2.6vw,36px);font-weight:500;letter-spacing:-.02em;margin:0 0 12px}
.city-cta2 p{color:#3b3f47}
.city-cta2 p a{color:var(--ink)}
.city-cta2 .hero-ctas{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}
/* LA pages: the quote form must not show Bay Area hourly prices (live LA pages show none) */
.la .qprice .qp-k,.la .qprice .qp-amt,.la .qprice .qp-fine{display:none}
.steps-t{margin:clamp(22px,3vw,34px) 0 -8px;font-weight:500}
.city-steps li span:empty{display:none}
.city-sign p{margin:0;max-width:44em;font-size:15.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}
.city-sign b{color:var(--ink);font-weight:500}

/* city photo heroes (11/08): photo credit for CC BY / BY-SA images, small and out of the way */
.hero-city .bg picture,.hero-city .bg picture img{display:block}
.hero-city .bg picture img{width:100%;object-position:50% 50%}
.hero-credit{position:absolute;right:12px;bottom:10px;z-index:2;margin:0;font-size:12px;line-height:1.3;max-width:60%;text-align:right}
.hero-credit a{color:rgba(255,255,255,.85);text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.7)}
.hero-credit a:hover{text-decoration:underline;color:#fff}
@media (max-width:620px){
  .hero-credit{position:static;max-width:none;text-align:right;padding:4px 18px 0;background:#16191d}
  .hero-credit a{font-size:12px}
}
@media (min-width:621px){.hero-credit{top:10px;bottom:auto}} /* the quote bar overlaps the bottom edge of the hero */
