/* ==========================================================================
   CRESTMARK ROOFING & CONTRACTING — SHARED STYLESHEET
   Design tokens: Black / Gold / White — Florida luxury contractor brand
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0b10;
  --black-mid:  #10111a;
  --black-card: #14151e;
  --black-card2:#1a1b25;
  --gold:       #c9a84c;
  --gold-light: #e8cc7a;
  --gold-dim:   rgba(201,168,76,0.15);
  --gold-line:  rgba(201,168,76,0.35);
  --white:      #f0ede4;
  --gray:       #7a7f8e;
  --gray-dim:   #565b68;
  --danger:     #b5473a;
  --radius:     2px;
  --maxw:       1280px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Roofline divider (signature motif) ----------
   A thin gable/peak line echoing the roof pitch in the Crestmark
   crest logo. Used between major sections instead of a plain border. */
.roofline {
  width: 100%;
  height: 14px;
  position: relative;
  overflow: hidden;
}
.roofline svg { display: block; width: 100%; height: 100%; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 5%; }
section { padding: 90px 5%; }
@media (max-width: 768px) { section { padding: 60px 5%; } }

/* ---------- Navigation ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 5%;
  background: rgba(10,11,16,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-dim);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 46px; height: 46px; flex-shrink: 0; }
.nav-brand { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name { font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 3.5px; color: var(--gold); white-space: nowrap; }
.nav-brand-sub { font-size: 0.48rem; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: rgba(201,168,76,0.5); margin-top: 4px; }

.nav-links { display: flex; gap: 1.9rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a.nav-link { color: rgba(240,237,228,0.7); text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; transition: color .2s; display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; }
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { color: var(--gold); }
.nav-links a.nav-link .caret { font-size: 0.6rem; transition: transform .2s; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--black-card); border: 1px solid var(--gold-dim);
  min-width: 220px; padding: 10px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a { color: rgba(240,237,228,0.75); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.5px; padding: 9px 12px; border-radius: 2px; text-transform: none; }
.nav-dropdown a:hover { background: var(--gold-dim); color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-phone { display: flex; flex-direction: column; text-align: right; text-decoration: none; line-height: 1.15; }
.nav-phone small { font-size: 0.6rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray); }
.nav-phone strong { font-size: 0.88rem; color: var(--gold); font-weight: 700; white-space: nowrap; }
.nav-cta { background: var(--gold); color: var(--black); padding: 10px 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; z-index: 210; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 190; background: rgba(10,11,16,0.99); border-bottom: 1px solid var(--gold-dim); padding: 1.5rem 5%; flex-direction: column; gap: 0.3rem; max-height: calc(100vh - 68px); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.5px; padding: 0.7rem 0; border-bottom: 1px solid var(--gold-dim); }
.mobile-menu .mm-sub { padding-left: 1rem; font-weight: 400; font-size: 0.85rem; color: var(--gray); border-bottom: none; }
.mobile-menu .nav-cta { text-align: center; margin-top: 0.6rem; }
.mobile-menu .mm-phones { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.6rem 0; }
.mobile-menu .mm-phones a { border-bottom: none; padding: 0.2rem 0; color: var(--gold); }

@media (max-width: 980px) {
  .nav-links, .nav-phone-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-right .nav-cta { display: none; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 180; background: var(--black-mid); border-top: 1px solid var(--gold-line); }
.sticky-cta-inner { display: flex; }
.sticky-cta a { flex: 1; text-align: center; padding: 14px 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.sticky-cta .sc-call { background: var(--black-card); color: var(--gold); border-right: 1px solid var(--gold-dim); }
.sticky-cta .sc-quote { background: var(--gold); color: var(--black); }
@media (max-width: 980px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 54px; }
}

/* ---------- Page hero (shared pattern, per-page content) ---------- */
.page-hero { min-height: 62vh; display: flex; align-items: center; background: linear-gradient(155deg, #0a0b10 0%, #0f1018 50%, #0a0d14 100%); position: relative; overflow: hidden; padding: 130px 5% 70px; }
.page-hero.home { min-height: 96vh; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%), radial-gradient(ellipse 30% 50% at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 60%); }
.hero-grid-bg { position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero.with-image { background-size: cover; background-position: center; }
.page-hero.with-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(10,11,16,0.94) 0%, rgba(10,11,16,0.75) 55%, rgba(10,11,16,0.92) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.64rem; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.hero-eyebrow::before { content: ''; display: block; width: 26px; height: 1px; background: var(--gold); }
.page-hero h1 { font-family: 'Cinzel', serif; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: 0.5px; color: var(--white); margin-bottom: 1.3rem; }
.page-hero h1 span { color: var(--gold); }
.page-hero p.lead { font-size: 1.05rem; font-weight: 400; line-height: 1.75; color: rgba(240,237,228,0.65); max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-phones { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-phones a { text-decoration: none; display: flex; flex-direction: column; }
.hero-phones a small { font-size: 0.62rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray); margin-bottom: 2px; }
.hero-phones a strong { font-size: 1.35rem; font-weight: 700; color: var(--gold); font-family: 'Cinzel', serif; }
.hero-tags { font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(240,237,228,0.5); font-weight: 600; }
.hero-badges { position: relative; z-index: 2; display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; border-left: 2px solid var(--gold-line); padding-left: 1rem; }
.hero-badge strong { font-size: 1.3rem; font-weight: 700; color: var(--gold); font-family: 'Cinzel', serif; }
.hero-badge span { font-size: 0.68rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray); margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn-primary { background: var(--gold); color: var(--black); padding: 15px 34px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: background .2s, transform .15s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--gold-line); color: var(--gold); padding: 15px 34px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: all .2s; display: inline-block; }
.btn-outline:hover { background: var(--gold-dim); transform: translateY(-1px); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--black-mid); border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); padding: 18px 5%; display: flex; align-items: center; justify-content: center; gap: 2.6rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(240,237,228,0.55); }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Section headers ---------- */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.6rem; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Cinzel', serif; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; line-height: 1.16; }
.section-title span { color: var(--gold); }
.section-sub { font-size: 1rem; color: rgba(240,237,228,0.55); max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }
.section-alt { background: var(--black-mid); }

/* ---------- Services grid (home) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gold-dim); border: 1px solid var(--gold-dim); }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--black-card); padding: 2.2rem 1.9rem; transition: background .2s; position: relative; overflow: hidden; text-decoration: none; display: block; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--black-card2); }
.service-icon { width: 34px; height: 34px; margin-bottom: 1rem; color: var(--gold); }
.service-card h3 { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px; color: var(--gold); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.9rem; }
.service-card .card-link { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .card-link { color: var(--gold); }

/* ---------- Why grid ---------- */
.why-list { display: flex; flex-direction: column; gap: 1.75rem; }
.why-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-num { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold-dim); line-height: 1; flex-shrink: 0; width: 2rem; border: 1px solid var(--gold-dim); text-align: center; padding: 4px 0; }
.why-item h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); margin-bottom: 0.35rem; }
.why-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ---------- Two column layouts ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col.center { align-items: center; }

/* ---------- Process steps (roofline connector) ---------- */
.process-list { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 50px 1fr; gap: 1.4rem; padding-bottom: 2rem; position: relative; }
.process-step::before { content: ''; position: absolute; left: 24px; top: 50px; bottom: 0; width: 1px; background: var(--gold-dim); }
.process-step:last-child::before { display: none; }
.process-num { width: 50px; height: 50px; border: 1px solid var(--gold-line); background: var(--black-card); color: var(--gold); font-family: 'Cinzel', serif; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; z-index: 1; }
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; letter-spacing: 0.3px; }
.process-step p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; max-width: 560px; }

/* ---------- Benefits list ---------- */
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.benefits-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.92rem; color: rgba(240,237,228,0.8); line-height: 1.55; }
.benefits-list li strong { color: var(--white); }
.benefits-list li::before { content: '▸'; color: var(--gold); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }

/* ---------- Portfolio / gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.gallery-item { position: relative; overflow: hidden; border: 1px solid var(--gold-dim); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-tag { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(10,11,16,0.9), transparent); padding: 10px 12px 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-light); }
/* signature shield-corner frame on featured gallery items */
.gallery-item.featured { border-color: var(--gold-line); }
.gallery-item.featured::after {
  content: ''; position: absolute; top: 8px; right: 8px; width: 22px; height: 26px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 22%, 100% 62%, 50% 100%, 0% 62%, 0% 22%);
  opacity: 0.85;
}

/* ---------- Before/after ---------- */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--gold-dim); }
.ba-pair figure { position: relative; margin: 0; }
.ba-pair figcaption { position: absolute; top: 10px; left: 10px; background: rgba(10,11,16,0.85); border: 1px solid var(--gold-line); color: var(--gold); font-size: 0.62rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; padding: 5px 12px; }
@media (max-width: 700px) { .ba-pair { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gold-dim); padding: 1.6rem 0; }
.faq-item h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.faq-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--black-card); border: 1px solid var(--gold-dim); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.review-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.review-card p { font-size: 0.88rem; color: rgba(240,237,228,0.75); line-height: 1.65; flex-grow: 1; }
.review-name { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; color: var(--gold); }

/* ---------- Lic pill / stat badge ---------- */
.lic-pill { background: var(--gold-dim); border: 1px solid var(--gold-line); color: var(--gold); font-size: 0.66rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; padding: 7px 16px; border-radius: var(--radius); display: inline-block; }

/* ---------- Service area list ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.area-item { background: var(--black-card); border: 1px solid var(--gold-dim); padding: 1rem 1.25rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; color: rgba(240,237,228,0.7); display: flex; align-items: center; gap: 8px; }
.area-item::before { content: '▸'; color: var(--gold); font-size: 0.7rem; }
.area-block { margin-bottom: 3rem; }
.area-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; border-bottom: 1px solid var(--gold-dim); padding-bottom: 1rem; }
.area-block-head h3 { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.3rem; letter-spacing: 0.5px; }
.area-block-head a { color: var(--gold-light); font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Mid-page CTA banner ---------- */
.cta-banner { background: var(--black-card); border: 1px solid var(--gold-line); padding: 3rem 5%; text-align: center; margin: 0 auto; }
.cta-banner h2 { font-family: 'Cinzel', serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--white); margin-bottom: 0.8rem; }
.cta-banner h2 span { color: var(--gold); }
.cta-banner p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.6rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-phones { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.cta-banner .cta-phones a { text-decoration: none; color: var(--gold); font-weight: 700; font-size: 1rem; }
.cta-banner .cta-phones a small { display: block; color: var(--gray); font-size: 0.62rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }

/* ---------- Forms (AccuLynx embeds live inside this shell) ---------- */
.form-shell { display: flex; justify-content: center; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--gold-dim); padding-bottom: 1.2rem; }
.contact-icon { width: 42px; height: 42px; background: var(--gold-dim); border: 1px solid var(--gold-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: var(--radius); color: var(--gold); }
.contact-line h5 { font-size: 0.64rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gray); margin-bottom: 3px; }
.contact-line a, .contact-line span { font-size: 0.98rem; font-weight: 500; color: var(--white); text-decoration: none; }
.contact-line a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
footer { background: var(--black-mid); border-top: 1px solid var(--gold-dim); padding: 55px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand-top { display: flex; align-items: center; gap: 10px; }
.footer-brand-top img { width: 38px; height: 38px; }
.footer-brand-top span { font-family: 'Cinzel', serif; color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.footer-brand p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 2.2px; color: var(--gold); margin-bottom: 1rem; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: rgba(240,237,228,0.65); text-decoration: none; font-size: 0.84rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--gold-dim); padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.75rem; color: var(--gray-dim); }
.footer-bottom .legal-links { display: flex; gap: 1.2rem; }
.footer-bottom .legal-links a { font-size: 0.75rem; color: var(--gray); text-decoration: none; }
.footer-bottom .legal-links a:hover { color: var(--gold); }
.lic-badge { font-size: 0.7rem; color: var(--gold); letter-spacing: 1px; }

/* ---------- Modals (privacy / sms terms) ---------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999; overflow: auto; }
.modal-box { max-width: 800px; margin: 60px auto; background: var(--black-card); border: 1px solid var(--gold-line); padding: 2.5rem; color: var(--white); }
.modal-box h2 { font-family: 'Cinzel', serif; color: var(--gold); margin-bottom: 1.2rem; font-size: 1.4rem; }
.modal-box p, .modal-box li { font-size: 0.88rem; color: rgba(240,237,228,0.8); line-height: 1.7; margin-bottom: 0.9rem; }
.modal-box ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.modal-close { background: var(--gold); color: var(--black); padding: 10px 26px; border: none; cursor: pointer; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.75rem; margin-top: 0.5rem; }

/* ---------- Inspection popup modal ---------- */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(10,11,16,0.82); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  position: relative; width: 100%; max-width: 400px;
  background: var(--black-card); border: 1px solid var(--gold-line);
  padding: 2rem 1.6rem 1.6rem; box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  max-height: 92vh; overflow-y: auto;
}
.popup-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--gray); cursor: pointer;
  font-size: 1.4rem; line-height: 1; border-radius: 50%; transition: color .2s, background .2s;
}
.popup-close:hover { color: var(--gold); background: var(--gold-dim); }
.popup-icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 0.8rem; }
.popup-box h3 {
  font-family: 'Cinzel', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--white); line-height: 1.25; margin-bottom: 0.6rem; padding-right: 1.5rem;
}
.popup-box h3 span { color: var(--gold); }
.popup-box p.popup-sub { font-size: 0.88rem; color: rgba(240,237,228,0.65); line-height: 1.55; margin-bottom: 1.3rem; }
.popup-field { margin-bottom: 0.9rem; }
.popup-field label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.popup-field input { width: 100%; border: none; border-radius: 4px; height: 42px; padding: 0 12px; font-size: 1rem; font-family: 'Barlow', sans-serif; }
.popup-consent { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 1.1rem; }
.popup-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.popup-consent label { font-size: 0.68rem; font-weight: 400; text-transform: none; line-height: 1.5; color: var(--gray); cursor: pointer; }
.popup-consent label a { color: var(--gold-light); }
.popup-submit {
  width: 100%; background: var(--gold); color: var(--black); border: none;
  padding: 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; cursor: pointer; border-radius: 4px; transition: background .2s;
}
.popup-submit:hover { background: var(--gold-light); }
.popup-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.popup-microcopy { text-align: center; font-size: 0.72rem; color: var(--gray); margin-top: 0.8rem; }
.popup-call { text-align: center; font-size: 0.8rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gold-dim); }
.popup-call a { color: var(--gold); font-weight: 700; text-decoration: none; }
@media (max-width: 420px) {
  .popup-box { padding: 1.6rem 1.2rem 1.3rem; }
  .popup-box h3 { font-size: 1.2rem; }
}
.center-text { text-align: center; }
.mt-3 { margin-top: 3rem; }
.note-box { border-left: 2px solid var(--gold-line); padding: 1rem 1.4rem; background: var(--black-card); font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
