/* ==========================================================================
   Atlas Blog Design System
   Shared styles for the Atlas Parking Lot Solutions blog (post + index pages).
   Visual language matches atlas-intelligence.html: fixed aerial background,
   frosted-glass panels, pill navigation, minimal chrome.
   ========================================================================== */

:root{
  --navy:#0b1f3a;
  --text:#ffffff;
  --line:rgba(255,255,255,.18);
  --surface:rgba(255,255,255,.10);
  --surface-soft:rgba(255,255,255,.08);
  --surface-strong:rgba(255,255,255,.16);
  --accent:#f0d9b8;
  --radius:18px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:url('/images/lot-aerial-bg.webp') no-repeat center center fixed;
  background-size:cover;
  line-height:1.6;
}
a{ color:#fff; }
img{ max-width:100%; }

/* ---------- Header (matches home / services / reviews) ---------- */
.site-header{ position:relative; z-index:12; border-bottom:1px solid var(--line); }
.site-header .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;
}
.site-header .nav-left{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  font-size:13px;
}
.site-header .nav-left > a,
.site-header .nav-left .nav-dd-btn{
  color:#fff;
  text-decoration:none;
  padding:7px 13px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  font-size:12.5px;
  font-weight:700;
  white-space:nowrap;
  font-family:inherit;
}
.site-header .nav-left > a:hover,
.site-header .nav-left .nav-dd-btn:hover{ background:var(--surface-strong); }
.site-header .nav-dd{ position:relative; display:inline-flex; }
.site-header .nav-dd-btn{
  appearance:none; cursor:pointer; display:inline-flex; align-items:center; gap:5px;
}
.site-header .nav-dd-panel{
  display:none !important;
  position:absolute; top:110%; left:0;
  min-width:230px; max-height:360px; overflow:auto;
  background:#fff; border:1px solid rgba(11,31,58,.12); border-radius:14px;
  box-shadow:0 16px 36px rgba(0,0,0,.2); padding:8px; z-index:2000;
}
.site-header .nav-dd-panel a{
  display:block !important; padding:9px 10px !important; border-radius:10px !important; color:var(--navy) !important;
  text-decoration:none; font-weight:650; font-size:13px; background:transparent !important; border:0 !important;
}
.site-header .nav-dd-panel a:hover{ background: rgba(11,31,58,.06) !important; }
.site-header .nav-dd:hover .nav-dd-panel,
.site-header .nav-dd:focus-within .nav-dd-panel,
.site-header .nav-dd.open .nav-dd-panel{ display:block !important; }
.site-header .caret{ font-size:10px; opacity:.8; }
.site-header .brand-center{
  justify-self:center;
  background:none;
  border:0;
  padding:0;
  box-shadow:none;
}
.site-header .hamburger-btn{
  display:none;
  align-items:center;
  justify-content:center;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 12px;
  cursor:pointer;
  color:#fff;
  font-size:22px;
}
.top-nav{
  max-width:1700px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}
.top-nav .nav-links{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.top-nav .nav-links > a,
.top-nav > a,
.top-nav .nav-dd-btn{
  color:#fff;
  text-decoration:none;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  font-family:inherit;
  line-height:inherit;
}
.top-nav .nav-links > a:hover,
.top-nav > a:hover,
.top-nav .nav-dd-btn:hover{ background:var(--surface-strong); }
.top-nav a.nav-cta{ background:#fff; color:var(--navy); border-color:#fff; }
.top-nav a.nav-cta:hover{ background:var(--accent); }
.top-nav .nav-tel{ font-weight:800; }
.top-nav .header-bizcard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:340px;
  max-width:100%;
  padding:6px 12px;
  border-radius:10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06));
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
  box-shadow:0 8px 24px rgba(11,31,58,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height:1;
}
.top-nav .header-bizcard .bizcard-title{ font-size:14px; font-weight:800; color:#fff; }
.top-nav .header-bizcard .bizcard-tag{ font-size:11px; color:rgba(255,255,255,.85); }
.top-nav .header-bizcard .bizcard-lines{ font-size:12px; color:rgba(255,255,255,.9); margin-top:2px; }
.top-nav .header-bizcard .bizcard-contact a{ color:#fff; font-weight:800; font-size:13px; text-decoration:none; }
.top-nav .header-bizcard .bizcard-cta{
  display:inline-block; background:rgba(255,255,255,.12); color:#fff;
  padding:6px 10px; border-radius:6px; font-weight:800; font-size:12px; text-decoration:none;
}
.top-nav .nav-dd{ position:relative; display:inline-flex; }
.top-nav .nav-dd-btn{
  appearance:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.top-nav .nav-dd-panel{
  display:none !important;
  position:absolute;
  top:110%;
  left:0;
  min-width:230px;
  max-height:360px;
  overflow:auto;
  background:#fff;
  border:1px solid rgba(11,31,58,.12);
  border-radius:14px;
  box-shadow:0 16px 36px rgba(0,0,0,.2);
  padding:8px;
  z-index:2000;
}
.top-nav .nav-dd-panel a{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  color:var(--navy);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  background:transparent;
  border:0;
}
.top-nav .nav-dd-panel a:hover{ background: rgba(11,31,58,.06); }
.top-nav .nav-dd:hover .nav-dd-panel,
.top-nav .nav-dd:focus-within .nav-dd-panel,
.top-nav .nav-dd.open .nav-dd-panel{ display:block !important; }
.top-nav .caret{ font-size:10px; opacity:.8; }

/* ---------- Page shell ---------- */
.blog-shell{ max-width:900px; margin:0 auto; padding:28px 18px 60px; }
.blog-shell.wide{ max-width:1240px; }

.glass-panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:30px;
}
@media (max-width:640px){ .glass-panel{ padding:20px; } }

/* ---------- Breadcrumb / back link ---------- */
.crumb{ margin:18px 0 14px; font-size:14px; }
.crumb a{ color:var(--accent); font-weight:700; text-decoration:none; }
.crumb a:hover{ text-decoration:underline; }

/* ---------- Article header ---------- */
.article-tag{
  display:inline-block;
  background:var(--surface-strong);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 14px;
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:16px;
}
.article-title{
  font-size:clamp(1.9rem, 4.5vw, 3rem);
  line-height:1.12;
  font-weight:800;
  margin:0 0 14px;
}
.article-dek{
  font-size:1.1rem;
  color:rgba(255,255,255,.86);
  max-width:70ch;
  margin:0 0 18px;
}
.article-meta{
  display:flex;
  gap:10px 18px;
  flex-wrap:wrap;
  align-items:center;
  font-size:13.5px;
  color:rgba(255,255,255,.78);
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:6px;
}
.article-meta span{ display:inline-flex; align-items:center; gap:6px; }

.article-hero-img{
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
  margin:22px 0 6px;
  display:block;
}

/* ---------- Article body typography ---------- */
.article-body{ margin-top:8px; }
.article-body p, .article-body li{
  font-size:1.04rem;
  line-height:1.8;
  color:rgba(255,255,255,.92);
}
.article-body p{ margin:0 0 18px; }
.article-body h2{
  font-size:1.55rem;
  font-weight:800;
  margin:38px 0 14px;
  padding-top:6px;
  border-top:1px solid var(--line);
}
.article-body > .article-hero-img + h2:first-of-type,
.article-body h2:first-child{ border-top:0; padding-top:0; }
.article-body h3{
  font-size:1.18rem;
  font-weight:800;
  margin:24px 0 10px;
  color:var(--accent);
}
.article-body ul, .article-body ol{ margin:0 0 18px; padding-left:22px; }
.article-body li{ margin-bottom:8px; }
.article-body li::marker{ color:var(--accent); }
.article-body strong{ color:#fff; }
.article-body blockquote{
  margin:20px 0;
  padding:4px 0 4px 18px;
  border-left:3px solid var(--accent);
  color:rgba(255,255,255,.86);
  font-style:italic;
}

/* ---------- Callouts ---------- */
.callout{
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:12px;
  padding:16px 18px;
  margin:22px 0;
}
.callout p:last-child{ margin-bottom:0; }
.callout-title{
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--accent);
  margin-bottom:6px;
  display:block;
}

/* ---------- Numbered / sign cards ---------- */
.sign-list{ display:grid; gap:14px; margin:22px 0; }
.sign-card{
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.sign-num{
  flex:0 0 auto;
  width:34px; height:34px;
  border-radius:999px;
  background:var(--surface-strong);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  font-size:15px;
}
.sign-card h3{ margin:0 0 6px; font-size:1.05rem; color:#fff; }
.sign-card p{ margin:0; font-size:.98rem; }

/* ---------- Comparison cards (replaces plain tables where useful) ---------- */
.compare-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:14px;
  margin:22px 0;
}
.compare-card{
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
}
.compare-card h3{ margin:0 0 8px; font-size:1.02rem; color:var(--accent); }
.compare-card .row{ display:flex; justify-content:space-between; gap:10px; font-size:.9rem; padding:6px 0; border-bottom:1px solid var(--line); }
.compare-card .row:last-child{ border-bottom:0; }
.compare-card .row b{ color:#fff; font-weight:700; }

/* ---------- Tables ---------- */
.table-scroll{ overflow-x:auto; margin:22px 0; border-radius:14px; border:1px solid var(--line); }
table{ width:100%; border-collapse:collapse; font-size:.95rem; background:var(--surface-soft); }
table th, table td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--line); }
table th{ background:var(--surface-strong); font-weight:800; white-space:nowrap; }
table tr:last-child td{ border-bottom:0; }

/* ---------- FAQ accordion ---------- */
.faq-item{
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:14px;
  padding:6px 18px;
  margin:12px 0;
}
.faq-item summary{
  cursor:pointer;
  font-weight:800;
  font-size:1rem;
  padding:12px 0;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; float:right; font-size:1.3rem; color:var(--accent); }
.faq-item[open] summary::after{ content:'\2212'; }
.faq-item p{ margin:0 0 14px; color:rgba(255,255,255,.88); }

/* ---------- Checklist ---------- */
.check-list{ list-style:none; padding-left:0; margin:18px 0; display:grid; gap:10px; }
.check-list li{
  padding-left:30px;
  position:relative;
  font-size:.98rem;
}
.check-list li::before{
  content:'\2713';
  position:absolute; left:0; top:0;
  width:20px; height:20px;
  border-radius:6px;
  background:var(--surface-strong);
  border:1px solid var(--line);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:12px 20px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  color:#fff;
  font-weight:800;
  font-size:14.5px;
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{ background:var(--surface-strong); }
.btn.primary{ background:#fff; color:var(--navy); border-color:#fff; }
.btn.primary:hover{ background:var(--accent); }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }

/* ---------- End-of-article CTA panel ---------- */
.cta-panel{
  margin-top:36px;
  padding:28px;
  border-radius:16px;
  background:linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border:1px solid var(--line);
  text-align:center;
}
.cta-panel h3{ margin:0 0 8px; font-size:1.3rem; }
.cta-panel p{ margin:0 auto 18px; max-width:56ch; color:rgba(255,255,255,.85); }
.cta-panel .cta-row{ justify-content:center; margin-top:0; }

/* ---------- Author / meta strip at bottom ---------- */
.article-footer-note{
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-size:.92rem;
  color:rgba(255,255,255,.72);
}

/* ---------- Related reading ---------- */
.related-heading{ margin:44px 0 16px; font-size:1.3rem; font-weight:800; }
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px,1fr));
  gap:14px;
}
.related-card{
  display:block;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  text-decoration:none;
  color:#fff;
  transition:transform .2s ease, background .2s ease;
}
.related-card:hover{ background:var(--surface-strong); transform:translateY(-2px); }
.related-card .tag{ font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--accent); }
.related-card h4{ margin:6px 0 0; font-size:1rem; font-weight:700; }

/* ---------- Blog index (blog.html) ---------- */
.blog-hero-title{ font-size:clamp(1.9rem,4.5vw,2.9rem); font-weight:800; margin:0 0 10px; }
.blog-hero-sub{ font-size:1.08rem; color:rgba(255,255,255,.85); max-width:70ch; margin:0; }
.answer-first{ font-size:1.08rem; line-height:1.7; max-width:70ch; }
.faq-short{ font-weight:650; color:#fff; }
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:18px;
  margin-top:26px;
}
.blog-card{
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  transition:transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,.25); }
.blog-card-img{ height:190px; overflow:hidden; }
.blog-card-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.blog-card-body{ padding:20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card-body .tag{ font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color:var(--accent); }
.blog-card-body h3{ margin:0; font-size:1.12rem; font-weight:800; line-height:1.3; }
.blog-card-body p{ margin:0; font-size:.92rem; color:rgba(255,255,255,.82); line-height:1.55; flex:1; }
.blog-card-body .read-more{ margin-top:6px; font-weight:800; font-size:.88rem; color:var(--accent); }

/* ---------- Footer ---------- */
.site-footer{ padding:0 18px 30px; }
.footer-panel{
  max-width:1240px;
  margin:24px auto 0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:20px 26px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-top{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; }
.footer-nap{ font-weight:700; font-size:14.5px; }
.footer-nap a{ text-decoration:none; }
.footer-nap a:hover{ text-decoration:underline; }
.footer-nav{ display:flex; gap:14px; flex-wrap:wrap; font-size:13.5px; }
.footer-nav a{ text-decoration:none; color:rgba(255,255,255,.85); font-weight:600; }
.footer-nav a:hover{ color:#fff; text-decoration:underline; }
.footer-bottom{ border-top:1px solid var(--line); padding-top:12px; font-size:12.5px; color:rgba(255,255,255,.65); display:flex; gap:14px; flex-wrap:wrap; justify-content:space-between; }
.footer-bottom a{ color:rgba(255,255,255,.75); text-decoration:none; }
.footer-bottom a:hover{ text-decoration:underline; }

@media (max-width:900px){
  .site-header .header-grid{ grid-template-columns:1fr; justify-items:center; row-gap:10px; }
  .site-header .nav-left{ display:none; }
  .site-header .nav-left.open{ display:flex; flex-direction:column; width:100%; }
  .site-header .hamburger-btn{ display:flex; }
}
@media (max-width:700px){
  .footer-top, .footer-bottom{ flex-direction:column; align-items:flex-start; gap:8px; }
}
