:root {
  /* Colors sampled from the original "Window Tinting, Treatments & More" banner */
  --steel: #98a3a5;        /* banner background */
  --slate: #3c4548;        /* darker steel - nav bar & footer */
  --slate-dark: #2b3234;
  --gold: #b8a06f;         /* Beverly Hills shield */
  --gold-light: #d4c094;
  --brown: #271f14;        /* shield dark */
  --bg: #f1f1f1;           /* page background from the old site */
  --text: #2b3234;
  --muted: #5e676a;
  --brand: #3c4548;
  --brand-dark: #2b3234;
  --accent: var(--gold);
  --soft: #ffffff;
  --line: #d9dcdd;
  --radius: 4px;
  --font-body: "Avenir Next", Avenir, "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: Raleway, "Avenir Next", system-ui, sans-serif;
  font-family: var(--font-body);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; font-size: 17px; font-weight: 400; }
img { max-width: 100%; height: auto; }
a { color: #4d5c61; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.25; color: var(--brand-dark); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header: the original banner on the steel-gray band, like the old site */
.site-header { background: var(--steel); }
.banner { display: block; max-width: 1163px; margin: 0 auto; }
.banner img { display: block; width: 100%; height: auto; }

.nav-bar { background: var(--slate); border-top: 3px solid var(--gold); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: center; gap: 34px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.nav-bar a { color: #e9ecec; text-decoration: none; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.nav-bar a[aria-current="page"], .nav-bar a:hover { color: var(--gold-light); }
.nav-bar .nav-phone { background: var(--gold); color: var(--brown); padding: 6px 16px; border-radius: 999px; letter-spacing: .03em; }
.nav-bar .nav-phone:hover { background: var(--gold-light); color: var(--brown); }

.hero { background: var(--slate-dark); color: #fff; padding: 52px 0 48px; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 10px; }
.hero .lead { font-size: 1.15rem; font-weight: 300; color: #d5dadb; max-width: 720px; margin: 0 auto 24px; }
.btn { display: inline-block; background: var(--gold); color: var(--brown); padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--gold-light); }

section.wrap { padding-top: 40px; padding-bottom: 20px; }
.intro { font-size: 1.1rem; max-width: 820px; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 20px 0 30px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.service:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-2px); }
.service img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-bottom: 3px solid var(--gold); }
.service-name { padding: 16px 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--brand-dark); }
.service-more { padding: 0 20px 18px; font-weight: 600; font-size: .92rem; color: #7a663b; }
a.service:hover .service-more { text-decoration: underline; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.card-img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body time { color: var(--muted); font-size: .85rem; }
.card-body h3 { margin: 6px 0 10px; font-size: 1.3rem; font-weight: 400; }
.card-body h3 a { text-decoration: none; color: var(--brand-dark); }
.card-body p { color: var(--muted); margin: 0 0 14px; flex: 1; }
.more { font-weight: 600; text-decoration: none; }

.page-head { padding-top: 48px !important; }
.pager { display: flex; justify-content: center; gap: 24px; align-items: center; margin-bottom: 40px; }

.post { padding-top: 48px; padding-bottom: 48px; }
.post header h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 6px; }
.post header time { color: var(--muted); }
.post-hero { width: 100%; border-radius: var(--radius); margin: 24px 0; }
.post-content img { border-radius: 6px; }
.post-content blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: .2em 1.2em; color: var(--muted); }
.post-content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.post-content .ql-align-center { text-align: center; }
.post-content .ql-align-right { text-align: right; }
.post-content .ql-align-justify { text-align: justify; }
.preview-note { background: #fff4e0; border: 1px solid var(--accent); padding: 10px 14px; border-radius: 6px; }
.back { margin-top: 40px; }

.site-footer { background: var(--slate); border-top: 3px solid var(--gold); color: #d5dadb; margin-top: 60px; padding: 48px 0 20px; }
.site-footer h2, .site-footer h3 { color: #fff; margin-top: 0; }
.site-footer a { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: .9rem; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { gap: 18px; }
  .nav-bar a { font-size: .8rem; }
  .hero { padding: 40px 0; }
}
