/* ============================================================
   Atlas Parking Lot Solutions — "Glass" content layer for the
   plain-markup pages (Family D): faq-asheboro, faq-summerfield,
   the service/city landing pages, and thank-you.
   Loaded AFTER glass.css; every color comes from the glass.css
   theme tokens, so dark and light both work by token swap.
   All rules are scoped to body.gp so they never leak into the
   home page or the g-* chrome (header / footer / dock / palette
   are styled by glass.css itself).
   ============================================================ */

/* Legacy variable aliases — the page bodies carry inline styles
   like style="color: var(--gold)". Re-point those names at glass
   tokens so the inline styles theme correctly in both modes. */
body.gp{
  --gold:var(--accent);
  --text:var(--content);
  --muted:var(--content-muted);
  --card:var(--glass-panel);
  --border:var(--stroke);
  line-height:1.65;
}

/* ---------- generic content typography ---------- */
body.gp h1, body.gp h2, body.gp h3, body.gp h4{
  color:var(--content);
  letter-spacing:-.01em;
  line-height:1.2;
}
body.gp .container p, body.gp .container li,
body.gp .hero p, body.gp main p, body.gp main li{
  color:var(--content-muted);
}
body.gp :where(.container, .hero, main) a{ color:var(--accent); }
body.gp :where(.container, .hero, main) a:hover{ text-decoration:underline; }
body.gp strong{ color:var(--content); }
body.gp .highlight{ color:var(--accent); font-weight:700; }

/* ---------- hero band ---------- */
body.gp .hero{
  padding:64px 24px 56px;
  text-align:center;
  border-bottom:1px solid var(--stroke);
  background:var(--accent-subtle);
}
body.gp .hero h1{
  font-size:clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight:800;
  margin:0 0 .6rem;
}
body.gp .hero p{
  font-size:1.05rem;
  max-width:760px;
  margin:0 auto;
}

/* ---------- layout + sections ---------- */
body.gp .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px 64px;
}
body.gp .section{
  padding:56px 0;
  border-bottom:1px solid var(--stroke);
}
body.gp .section:last-child{ border-bottom:0; }
body.gp .section h2{
  font-size:1.9rem;
  font-weight:700;
  margin:0 0 1.5rem;
}
body.gp .container p{ margin:0 0 1rem; }
body.gp .container p:last-child{ margin-bottom:0; }

/* ---------- grids ---------- */
body.gp .content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.5rem;
  align-items:center;
  margin-bottom:2rem;
}
body.gp .content-grid:last-child{ margin-bottom:0; }
body.gp .pricing-grid, body.gp .plan-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:2rem;
  margin-top:2rem;
}

/* ---------- glass panels / cards ---------- */
body.gp .card, body.gp .case-study, body.gp .pricing-card,
body.gp .plan-card, body.gp .faq-item, body.gp .faq-card{
  background:var(--glass-panel);
  border:1px solid var(--stroke);
  border-radius:var(--r-lg);
  
  
}
body.gp .card{ padding:1.75rem; }
body.gp .card p, body.gp .card li{ color:var(--content-muted); }
body.gp .card p:last-child, body.gp .card li:last-child{ margin-bottom:0; }
body.gp .case-study{ padding:2rem; margin-top:2rem; }
body.gp .case-study h3{ margin:0 0 1rem; font-size:1.25rem; }
body.gp .case-study p{ color:var(--content-muted); margin:0 0 1rem; }
body.gp .case-study p:last-child{ margin-bottom:0; }
body.gp .pricing-card{ padding:2rem; text-align:center; }
body.gp .pricing-card h3{ margin:0 0 1rem; font-size:1.2rem; }
body.gp .pricing-card p{ color:var(--content-muted); margin:0 0 .5rem; }
body.gp .plan-card{ padding:2rem; }
body.gp .plan-card h3{ margin:0 0 1rem; font-size:1.25rem; text-align:center; }
body.gp .plan-card .price{
  font-size:1.2rem; font-weight:700; color:var(--accent);
  text-align:center; margin-bottom:1rem;
}
body.gp .plan-card ul{ list-style:none; margin:0 0 1rem; padding:0; }
body.gp .plan-card li{
  padding:.5rem 0; display:flex; align-items:baseline;
  color:var(--content-muted);
}
body.gp .plan-card li::before{
  content:"✓"; color:var(--ok); margin-right:.75rem; font-weight:700;
}

/* ---------- images ---------- */
body.gp .content-image, body.gp .image-wrap{
  border-radius:var(--r-lg);
  overflow:hidden;
  border:1px solid var(--stroke);
  background:var(--glass-panel);
}
body.gp .content-image{ height:350px; }
body.gp .content-image img, body.gp .image-wrap img{
  display:block; width:100%; height:100%; object-fit:cover;
}
body.gp .image-wrap img{ height:350px; }

/* ---------- FAQ blocks ---------- */
body.gp .faq{ margin-top:2rem; }
body.gp .faq-item{ padding:1.5rem; margin-bottom:1rem; }
body.gp .faq-item h4{ margin:0 0 .5rem; font-size:1.02rem; }
body.gp .faq-item p{ margin:0; color:var(--content-muted); }
body.gp .faq-card{ padding:1.5rem; margin-bottom:1rem; }
body.gp .faq-card h3{ margin:0 0 .5rem; font-size:1.1rem; }
body.gp .faq-card p{ margin:0; color:var(--content-muted); }

/* ---------- buttons (primary = inverse tokens) ---------- */
body.gp a.btn, body.gp .btn{
  display:inline-block;
  background:var(--inverse-surface);
  color:var(--inverse-content);
  padding:1rem 2.5rem;
  border:1px solid transparent;
  border-radius:var(--r-full);
  font-weight:700;
  font-size:.95rem;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
body.gp a.btn:hover, body.gp .btn:hover{
  text-decoration:none;
  transform:translateY(-1px);
  box-shadow:var(--shadow);
}
body.gp .btn.ghost{
  background:transparent;
  color:var(--accent);
  border-color:var(--accent-stroke);
}

/* ---------- tables ---------- */
body.gp table{ width:100%; border-collapse:collapse; }
body.gp th{
  text-align:left; padding:1rem;
  color:var(--content); font-weight:700;
  border-bottom:1px solid var(--stroke-strong);
}
body.gp td{
  padding:1rem; color:var(--content-muted);
  border-bottom:1px solid var(--stroke);
  vertical-align:top;
}
body.gp tr:last-child td{ border-bottom:0; }

/* ---------- forms + details (generic glass fields) ---------- */
body.gp input[type="text"], body.gp input[type="email"],
body.gp input[type="tel"], body.gp input[type="number"],
body.gp select, body.gp textarea{
  width:100%;
  background:var(--glass-panel-solid);
  color:var(--content);
  border:1px solid var(--stroke-strong);
  border-radius:var(--r-md);
  padding:.8rem 1rem;
  font:inherit;
}
body.gp input::placeholder, body.gp textarea::placeholder{ color:var(--content-faint); }
body.gp input:focus, body.gp select:focus, body.gp textarea:focus{
  outline:2px solid var(--accent-stroke);
  outline-offset:1px;
}
body.gp label{ color:var(--content); font-weight:600; }
body.gp details{
  background:var(--glass-panel);
  border:1px solid var(--stroke);
  border-radius:var(--r-lg);
  padding:1.25rem 1.5rem;
  margin-bottom:1rem;
  
  
}
body.gp summary{ color:var(--content); font-weight:600; cursor:pointer; }
body.gp details p{ color:var(--content-muted); }

/* ---------- thank-you page ---------- */
body.gp-thanks{ display:flex; flex-direction:column; min-height:100vh; }
body.gp-thanks main{
  flex:1; display:grid; place-items:center;
  padding:64px 20px; width:100%;
}
body.gp-thanks .card{
  max-width:620px; width:100%;
  text-align:center;
  padding:3rem 2.5rem;
  border-radius:var(--r-xl);
  box-shadow:var(--shadow);
}
body.gp-thanks .tick{
  width:72px; height:72px; border-radius:50%;
  background:var(--accent-subtle);
  border:2px solid var(--accent);
  color:var(--accent);
  display:grid; place-items:center;
  margin:0 auto 1.5rem;
  font-size:2rem; font-weight:700;
}
body.gp-thanks h1{ font-size:2rem; font-weight:800; margin:0 0 .75rem; }
body.gp-thanks .card p{ color:var(--content-muted); margin:0 0 1rem; }
body.gp-thanks .next{
  text-align:left; margin:1.75rem auto; max-width:440px;
}
body.gp-thanks .next li{ color:var(--content-muted); margin-bottom:.6rem; }
body.gp-thanks .btn{ margin:.4rem; padding:.9rem 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 768px){
  body.gp .content-grid{ grid-template-columns:1fr; }
  body.gp .hero{ padding:44px 18px 40px; }
  body.gp .container{ padding:0 18px 48px; }
  body.gp .section{ padding:40px 0; }
  body.gp .section h2{ font-size:1.55rem; }
  body.gp .content-image, body.gp .image-wrap img{ height:260px; }
  body.gp-thanks .card{ padding:2rem 1.25rem; }
  body.gp-thanks h1{ font-size:1.5rem; }
}
