/* ============================================================
   Atlas Parking Lot Solutions — shared "location page" design system
   Extracted and consolidated from reviews.html so every page that
   uses this stylesheet renders identically instead of re-declaring
   ~35KB of inline CSS per page.

   Round 2 ("Glass" rollout): every color now resolves through the
   Glass tokens defined in glass.css (--glass-panel, --content,
   --accent, --inverse-*, --stroke, ...), so these pages follow the
   site theme — dark glass in dark mode, white glass in light mode.
   The full-page city photo stays, under a theme scrim: a dark wash
   in dark mode, a white wash in light mode (--wash-a / --wash-b).
   ============================================================ */

:root{
  --radius:16px;
  --headerH: 160px;
  --page-photo: url('/images/NCPIC.webp');
  --wash-a: rgba(10,10,11,.52);
  --wash-b: rgba(10,10,11,.80);
}
[data-theme="light"]{
  --wash-a: rgba(243,244,246,.48);
  --wash-b: rgba(243,244,246,.86);
  --star: #111113;
}

*{ box-sizing:border-box; }

html, body{ height:100%; overflow-x:hidden; }

body{
  margin:0;
  font-family: var(--font, "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  color: var(--content);
  line-height:1.6;
  background-color: var(--glass-page);
  background-image: var(--scrim-photo), url("/images/site-sky.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

a{ color: var(--accent); }
/* Glass chrome guard: brand lockup keeps the content color, not the link accent. */
.g-brand{ color: var(--content); }

.wrap{ max-width:1120px; margin:0 auto; padding:0 18px; }

/* ===== HEADER (legacy chrome — superseded by the Glass header
   markup from index.html; kept, tokenized, for any stragglers) ===== */
.site-header{
  position:relative;
  z-index:9999;
  background: var(--glass-window);
  
  
  border-bottom: 1px solid var(--stroke);
  padding: 4px 0;
}
.site-header .wrap{ max-width:1400px; }

.header-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:10px 28px;
}
.header-left{ justify-self:start; width:100%; display:flex; justify-content:flex-start; align-items:center; gap:10px; }
.header-center{ justify-self:center; }
.header-right{ justify-self:end; width:100%; display:flex; justify-content:flex-end; }

.nav-left{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  font-size:12.5px;
  row-gap:6px;
}
.nav-left a,
.nav-left .nav-dd-btn{
  color: var(--content);
  text-decoration:none;
  font-weight:700;
  padding:7px 13px;
  border-radius:999px;
  background: var(--selection);
  border:1px solid var(--stroke-strong);
  transition: all .2s ease;
  white-space:nowrap;
  font-size:inherit;
  font-family:inherit;
  line-height:inherit;
}
.nav-left a:hover,
.nav-left .nav-dd-btn:hover{
  background: var(--selection-subtle);
  border-color: var(--stroke-strong);
}
.nav-left a.active{ background: var(--inverse-surface); color: var(--inverse-content); }

.hamburger-btn{
  display:none;
  align-items:center;
  justify-content:center;
  background: var(--selection);
  border:1px solid var(--stroke-strong);
  border-radius:8px;
  padding:8px 12px;
  cursor:pointer;
  color: var(--content);
  font-size:22px;
  margin:0 auto;
}

.brand-center{
  text-align:center;
  text-decoration:none;
  color:inherit;
  display:grid;
  place-items:center;
  gap:6px;
}
.brand-logo{ width:64px; height:auto; max-width:90%; object-fit:contain; display:block; }
.brand-title{
  font-size:16px;
  font-weight:900;
  letter-spacing:.6px;
  color: var(--content);
  line-height:1.05;
  white-space:nowrap;
}

.bizcard, .header-bizcard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:340px;
  max-width:100%;
  padding:8px 14px;
  border-radius:12px;
  background: var(--glass-panel);
  border:1px solid var(--stroke-strong);
  color: var(--content);
  box-shadow: var(--shadow);
  
  
  text-decoration:none;
  line-height:1.25;
}
.bizcard-title{ font-size:14px; font-weight:800; color: var(--content); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bizcard-tag{ font-size:11px; color: var(--content-muted); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bizcard-lines{ color: var(--content-muted); font-size:12px; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bizcard-contact a{ margin-top:2px; font-weight:800; color: var(--content); font-size:13px; text-decoration:none; }
.bizcard-contact a:hover{ text-decoration:underline; }
.bizcard-cta{ display:inline-block; background: var(--inverse-surface); color: var(--inverse-content); padding:6px 12px; border-radius:999px; font-weight:800; font-size:12px; text-decoration:none; white-space:nowrap; }
.bizcard-cta:hover{ opacity:.9; }

/* ===== LOCATIONS DROPDOWN (legacy) ===== */
.nav-dd{ position:relative; display:inline-flex; }
.nav-left .nav-dd-btn{
  appearance:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.caret{ font-size:10px; opacity:.8; }
.nav-dd-panel{
  display:none;
  position:absolute; top:110%; left:0;
  min-width:230px; max-height:360px; overflow:auto;
  background: var(--glass-overlay); border:1px solid var(--stroke-strong); border-radius:14px;
   
  box-shadow: var(--shadow); padding:8px; z-index:2000;
}
.nav-dd-panel a{ display:block; padding:9px 10px; border-radius:10px; color: var(--content); text-decoration:none; font-weight:650; font-size:13px; }
.nav-dd-panel a:hover{ background: var(--selection); }
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel, .nav-dd.open .nav-dd-panel{ display:block; }

/* ===== HERO ===== */
.hero{ padding: 56px 0 44px; position:relative; }
.hero-inner{ position:relative; z-index:1; }
.badge{
  display:inline-block; background: var(--accent-subtle); border:1px solid var(--accent-stroke); color: var(--accent);
  padding:6px 12px; border-radius:999px; font-weight:700; font-size:13px;
}
h1{ font-size:44px; line-height:1.08; margin:14px 0 10px; color: var(--content); }
.sub{ font-size:16px; color: var(--content-muted); margin:0 0 18px; max-width:66ch; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.btn{ display:inline-block; padding:12px 18px; border-radius:999px; border:1px solid var(--stroke-strong); font-weight:800; text-decoration:none; color: var(--content); background: var(--selection);   }
.btn.primary{ background: var(--inverse-surface); color: var(--inverse-content); border-color: transparent; }
.btn.primary:hover{ opacity:.9; }
.btn.ghost{ background:transparent; color: var(--content); }
.btn.ghost:hover{ background: var(--selection); }

.hero-grid{ display:grid; grid-template-columns:1.25fr .85fr; gap:20px; align-items:start; }
.service-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.service-item{ background: var(--glass-panel); border:1px solid var(--stroke); border-radius:14px; padding:12px;   }
.service-name{ font-weight:700; color: var(--content); }
.service-sub{ color: var(--content-muted); font-size:.9rem; }
.hero-right-foot{ margin-top:12px; color: var(--content-muted); font-size:.9rem; }

.kpis{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.kpi{ background: var(--glass-panel); border:1px solid var(--stroke); border-radius:14px; padding:10px;   }
.kpi b{ display:block; font-size:14px; color: var(--content); }
.kpi span{ display:block; font-size:12.5px; color: var(--content-muted); }

.sidecard{ background: var(--glass-panel); border:1px solid var(--stroke); border-radius: var(--radius); padding:16px;   }
.sidecard h2{ margin:0 0 10px; font-size:18px; color: var(--content); }

/* ===== SECTIONS / GLASS CARDS ===== */
main{ padding:26px 0 10px; }
section{ padding:34px 0; }
.section-head{ margin-bottom:16px; text-align:center; }
.section-head h2{ margin:0 0 8px; font-size:28px; color: var(--content); }
.section-head p{ margin:0 auto; color: var(--content-muted); max-width:75ch; }

.page-section .wrap{ max-width:1120px; margin:0 auto; padding:0 20px; }
.page-title{ font-size:2.2rem; font-weight:900; color: var(--content); text-align:center; margin-bottom:12px; }
.page-subtitle{ font-size:1.1rem; color: var(--content-muted); text-align:center; margin-bottom:40px; max-width:70ch; margin-left:auto; margin-right:auto; }

.content-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:22px; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:950px){ .grid3{ grid-template-columns:1fr; } }

.content-card, .glass-card, .card{
  background: var(--glass-panel);
  border: 1px solid var(--stroke);
  
  
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--content);
  transition: border-color .2s ease, transform .2s ease;
}
.content-card:hover, .glass-card:hover, .card:hover{ border-color: var(--stroke-strong); transform: translateY(-2px); }
.content-card h3, .card h3{ font-size:1.2rem; font-weight:800; margin:0 0 10px; color: var(--content); }
.content-card p, .card p{ color: var(--content-muted); line-height:1.6; font-size:.95rem; margin:0; }
.content-card .btn{ margin-top:14px; }

.content-image img{ width:100%; height:auto; border-radius:16px; display:block; }

body.city-high-point{ --page-photo:url('/images/cities/high-point-downtown.webp'); }
body.city-winston-salem{ --page-photo:url('/images/cities/winston-salem-skyline.webp'); }
body.city-kernersville{ --page-photo:url('/images/cities/kernersville-korners-folly.webp'); }
body.city-thomasville{ --page-photo:url('/images/cities/thomasville-big-chair.webp'); background-position:center 25%; }
body.city-burlington{ --page-photo:url('/images/cities/burlington-marketplace.webp'); }
body.city-asheboro{ --page-photo:url('/images/cities/asheboro-municipal.webp'); }
body.city-summerfield{ --page-photo:url('/images/cities/summerfield-historic.webp'); }

.divider{ height:1px; background: var(--stroke-strong); margin:10px 0; }

.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 14px; border-radius:999px;
  background: var(--selection-subtle);
   
  border:1px solid var(--stroke-strong);
  color: var(--content); font-size:13px; text-decoration:none; margin:6px 8px 0 0;
}
.pill:hover{ background: var(--selection); }
.pill a{ color:inherit; text-decoration:none; }

.city-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:10px; margin-top:14px; }
.city-grid a{
  border:1px solid var(--stroke); border-radius:12px; padding:10px 12px;
  text-decoration:none; font-weight:650; color: var(--content); background: var(--selection-subtle);
}
.city-grid a:hover{ background: var(--selection); }

/* ===== REVIEWS ===== */
.reviews-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:22px; margin-bottom:1.5rem; }
.review-card{
  background: var(--glass-panel); border:1px solid var(--stroke);
   
  border-radius:18px; padding:22px; box-shadow: var(--shadow); color: var(--content);
  transition: border-color .2s ease, transform .2s ease;
}
.review-card:hover{ border-color: var(--stroke-strong); transform: translateY(-2px); }
.review-stars{ display:flex; gap:4px; margin-bottom:8px; }
.review-stars .star, .google-stars .star{
  width:16px; height:16px; background: var(--star, #f5c518);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.google-stars{ display:flex; gap:6px; justify-content:center; margin-bottom:1rem; }
.google-stars .star{ width:26px; height:26px; }
.review-text{ color: var(--content); line-height:1.6; margin:0 0 12px; }
.review-author{ font-weight:700; color: var(--content-muted); font-size:.92rem; }
.review-source{ font-size:.78rem; color: var(--content-faint); margin-top:4px; }

/* ===== FAQ ===== */
details{ background: var(--glass-panel); border:1px solid var(--stroke); border-radius:14px; padding:14px 16px; margin:10px 0; color: var(--content);   }
summary{ cursor:pointer; font-weight:800; color: var(--content); }
details p{ margin:10px 0 0; color: var(--content-muted); line-height:1.6; }

/* ===== MAP ===== */
.map-container{ border-radius:18px; overflow:hidden; margin-bottom:30px; border:1px solid var(--stroke-strong); }
.map-container iframe{ width:100%; height:380px; border:0; display:block; }

/* ===== FOOTER (legacy chrome — superseded by the Glass footer
   markup from index.html; kept, tokenized, for any stragglers) ===== */
.site-footer, .site-footer-minimal{
  background: var(--glass-window);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  
  
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin: 30px auto 24px;
  max-width: 1400px;
}
.site-footer .wrap, .site-footer-minimal .wrap{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; max-width:100%; padding:0; }
.site-footer *, .site-footer-minimal *{ color: var(--content); }
.site-footer a, .site-footer-minimal a{ text-decoration:none; }
.site-footer a:hover, .site-footer-minimal a:hover{ text-decoration:underline; }
.footer-nav{ display:flex; gap:14px; flex-wrap:wrap; font-size:13.5px; font-weight:600; }
.footer-left, .footer-right{ font-size:13.5px; }

/* ===== ASCII / error-page shared look ===== */
.ascii-shell{ min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 18px; }
.ascii-art{
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  white-space:pre;
  font-size: clamp(8px, 1.6vw, 15px);
  line-height:1.15;
  color: var(--content);
  background: var(--selection);
  border:1px solid var(--stroke-strong);
  border-radius:18px;
  padding: 22px 18px;
  display:inline-block;
  margin-bottom: 22px;
  overflow-x:auto;
  max-width: 92vw;
  
  
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  .header-grid{ grid-template-columns:1fr; justify-items:center; row-gap:10px; padding:8px 12px; }
  .header-left, .header-right{ justify-content:center; }
  .nav-left{ display:none; justify-content:center; flex-wrap:wrap; }
  .nav-left.open{ display:flex; flex-direction:column; width:100%; gap:6px; }
  .hamburger-btn{ display:flex; }
  .bizcard, .header-bizcard{ width:92vw; max-width:420px; justify-self:center; }
}
@media (max-width: 768px){
  h1{ font-size:28px; }
  .page-title{ font-size:1.7rem; }
  .page-subtitle{ font-size:.95rem; }
  .hero-grid, .content-grid, .grid3, .service-grid, .kpis{ grid-template-columns:1fr; }
  .site-footer .wrap, .site-footer-minimal .wrap{ flex-direction:column; text-align:center; }
}

/* ============================================================
   CITY SCREENS (round 3) — the 7 city pages are recomposed from
   the home Glass components in index.html (g-hero, g-metrics,
   g-svc, g-timeline, g-faq-panel, g-cta-band). Every rule here
   is scoped to .city-* classes so the shared rules above —
   which reviews.html also loads — are completely untouched.
   Colors resolve only through glass.css tokens.
   ============================================================ */
.city-main{ padding:0 0 10px; }

/* hero: the city photo is the page background (body --page-photo
   under the theme wash), so the Glass hero goes transparent */
.city-hero{ background:transparent; padding-bottom:6px; }
.city-hero-copy{ max-width:760px; }
.city-metrics{ margin-top:40px; }

/* services: links inside home-style service cards */
.g-svc p a{ color: var(--accent); font-weight:600; text-decoration:none; }
.g-svc p a:hover{ text-decoration:underline; }

/* why cards: home .g-mini-card pattern at reading size */
.city-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.city-cards .g-mini-card{ padding:20px; }
.city-cards .g-mini-card h3{ font-size:16px; font-weight:700; margin:0 0 8px; color: var(--content); }
.city-cards .g-mini-card p{ font-size:13.5px; line-height:1.6; color: var(--content-muted); margin:0; }
@media (max-width:950px){ .city-cards{ grid-template-columns:1fr; } }

/* how it works: home timeline at 3 columns (mobile rail in
   glass.css below 641px must win, so this is min-width only) */
@media (min-width:641px){ .city-timeline{ grid-template-columns:repeat(3,1fr); } }

/* rating band */
.city-rating{
  background: var(--glass-panel); border:1px solid var(--stroke); border-radius: var(--r-xl, 24px);
   
  box-shadow: var(--shadow); padding:34px 28px; text-align:center;
}
.city-rating .g-stars{ font-size:22px; }
.city-rating h2{ font-size:26px; font-weight:700; letter-spacing:-.01em; margin:12px 0 8px; color: var(--content); }
.city-rating p{ color: var(--content-muted); max-width:640px; margin:0 auto 18px; font-size:14px; line-height:1.6; }

/* city FAQ: native <details> restyled to the home .g-faq-panel look */
.city-faq details{
  background:transparent; border:0; border-top:1px solid var(--stroke); border-radius:0;
  margin:0; padding:0;  
}
.city-faq details:first-child{ border-top:0; }
.city-faq details[open]{ background: var(--selection-subtle); }
.city-faq summary{
  list-style:none; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:17px 18px; font-size:14px; font-weight:600; color: var(--content); cursor:pointer;
}
.city-faq summary::-webkit-details-marker{ display:none; }
.city-faq summary::after{
  content:"+"; width:28px; height:28px; border-radius:50%; flex-shrink:0;
  border:1px solid var(--stroke-strong); color: var(--content);
  display:inline-flex; align-items:center; justify-content:center; font-size:15px; font-weight:400;
}
.city-faq details[open] summary::after{ content:"−"; }
.city-faq-a p{ margin:0; padding:0 18px 18px; font-size:13px; line-height:1.65; color: var(--content-muted); max-width:64ch; }
.city-faq-a a{ color: var(--accent); font-weight:600; }
.city-faq-more{ margin:14px 2px 0; }
.city-faq-more a{ color: var(--accent); font-weight:600; text-decoration:none; }
.city-faq-more a:hover{ text-decoration:underline; }

/* map: glass panel frame around the existing embed */
.map-container.city-map{
  background: var(--glass-panel); border:1px solid var(--stroke); padding:10px; margin-bottom:0;
   
}
.city-map iframe{ border-radius:10px; }

/* the shared `section` padding above must not inflate the CTA band */
.city-main section.g-cta-band{ padding:0; }
