/* ============================================================
   GoSolar shared styles — site.css
   Loaded by every page via <link rel="stylesheet" href="site.css">
   Page-specific styles live inline in each .html file.

   Sections in this file:
     1. Reset + base
     2. Design tokens (CSS custom properties)
     3. Typography
     4. Container & section helpers
     5. Section heading block
     6. Nav
     7. Buttons
     8. Trust strip (4 cert logo badges)
     9. Brands we install (collapsible disclosure)
    10. Sunrun / lease disclosure
    11. Contact CTA (dark)
    12. Footer
    13. Verify links
   ============================================================ */


/* ----- 1. Reset + base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #0A0A0A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


/* ----- 2. Design tokens ----- */
:root {
  --ink: #0A0A0A;
  --ink-2: #2A2A2A;
  --muted: #6B6B6B;
  --line: #E8E6E1;
  --bg: #FFFFFF;
  --bg-warm: #FAF7F0;
  --bg-soft: #F7F6F2;
  --accent: #00AAE6;
  --gold: #C8A053;
  --container: 1200px;
  --pad-section: clamp(112px, 13vw, 160px);
}


/* ----- 3. Typography ----- */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(44px, 6.5vw, 76px); letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 4.2vw, 50px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; }
p  { color: var(--ink-2); }
.lead { font-size: clamp(20px, 2vw, 24px); color: var(--ink-2); line-height: 1.5; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }


/* ----- 4. Container & section helpers ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--pad-section) 0; }


/* ----- 5. Section heading block ----- */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head h2 { margin-bottom: 16px; }
.section-head p  { font-size: 19px; color: var(--ink-2); }


/* ----- 6. Nav ----- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 500; color: var(--ink); font-size: 15px; }
.nav-phone:hover { color: var(--accent); }
@media (max-width: 900px) { .nav-links, .nav-phone { display: none; } }


/* ----- 7. Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #FFFFFF; }
.btn-lg { padding: 16px 28px; font-size: 16px; }


/* ----- 8. Trust strip (4 cert logo badges) ----- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-logo  { display: inline-flex; align-items: center; opacity: 0.85; transition: opacity 0.18s ease, transform 0.18s ease; }
.trust-logo:hover { opacity: 1; transform: translateY(-1px); }
.trust-logo img { height: 60px; width: auto; display: block; max-width: 100%; }
@media (max-width: 700px) {
  .trust-inner { gap: 32px; }
  .trust-logo img { height: 48px; }
}


/* ----- 9. Brands we install (collapsible disclosure) ----- */
.brands-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.brands-disclose { text-align: center; }
.brands-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; border-radius: 4px; transition: color 0.15s ease; }
.brands-trigger:hover { color: var(--ink); }
.brands-trigger:focus-visible { color: var(--ink); outline: 2px solid var(--accent); outline-offset: 2px; }
.brands-caret { width: 10px; height: 10px; transition: transform 0.2s ease; flex-shrink: 0; }
.brands-disclose.is-open .brands-caret { transform: rotate(180deg); }
.brands-panel { max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; transition: max-height 0.3s ease, opacity 0.2s ease 0.05s; }
.brands-disclose.is-open .brands-panel { max-height: 420px; opacity: 1; pointer-events: auto; }
@media (hover: hover) {
  .brands-disclose:hover .brands-trigger { color: var(--ink); }
  .brands-disclose:hover .brands-caret { transform: rotate(180deg); }
  .brands-disclose:hover .brands-panel,
  .brands-disclose:focus-within .brands-panel { max-height: 420px; opacity: 1; pointer-events: auto; }
}
.brands-grid { list-style: none; margin: 24px auto 8px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 32px; max-width: 980px; align-items: center; justify-items: center; }
@media (max-width: 900px) { .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 24px; } }
@media (max-width: 600px) { .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 20px; } }
@media (max-width: 400px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
.brands-grid li  { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; }
.brands-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(0.55); transition: filter 0.25s ease; }
.brands-grid li:hover img { filter: none; }


/* ----- 10. Sunrun / lease disclosure ----- */
.sunrun-disclosure { border: 1px solid var(--gold); border-radius: 4px; background: var(--bg-warm); overflow: hidden; transition: border-color 0.2s ease; }
.sunrun-disclosure:hover { border-color: #B58C40; }
.sunrun-summary { padding: 24px 28px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; list-style: none; width: 100%; text-align: left; }
.sunrun-summary::-webkit-details-marker { display: none; }
.sunrun-summary-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.sunrun-summary-title   { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
.sunrun-toggle { width: 36px; height: 36px; border-radius: 50%; background: rgba(200,160,83,0.15); display: flex; align-items: center; justify-content: center; transition: transform 0.25s ease, background 0.2s ease; color: var(--gold); flex-shrink: 0; }
.sunrun-toggle svg { width: 14px; height: 14px; }
.sunrun-disclosure[open] .sunrun-toggle { transform: rotate(45deg); background: var(--gold); color: #FFF; }
.sunrun-disclosure-body  { padding: 0 28px 32px 28px; border-top: 1px solid rgba(200,160,83,0.3); margin-top: 0; }
.sunrun-disclosure-body p { padding-top: 24px; margin-bottom: 24px; max-width: 720px; font-size: 16px; }
.sunrun-steps { list-style: none; counter-reset: ss; }
.sunrun-steps li { counter-increment: ss; padding: 16px 0 16px 48px; position: relative; border-bottom: 1px solid rgba(200, 160, 83, 0.25); font-size: 15px; color: var(--ink-2); }
.sunrun-steps li:last-child { border-bottom: none; }
.sunrun-steps li::before { content: counter(ss); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.sunrun-steps strong { color: var(--ink); font-weight: 600; }


/* ----- 11. Contact CTA (dark) ----- */
.contact-cta { background: var(--ink); color: #FFF; }
.contact-cta h2 { color: #FFF; }
.contact-cta .eyebrow { color: rgba(255,255,255,0.5); }
.contact-cta .lead    { color: rgba(255,255,255,0.7); max-width: 720px; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 700px) { .contact-methods { grid-template-columns: 1fr; } }
.contact-method { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 32px; border-radius: 4px; transition: background 0.2s ease, border-color 0.2s ease; display: block; }
.contact-method:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.contact-method .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 12px; }
.contact-method .value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; color: #FFF; letter-spacing: -0.02em; }
.contact-method .sub   { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }


/* ----- 12. Footer ----- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p   { font-size: 14px; color: var(--muted); max-width: 320px; line-height: 1.55; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; line-height: 1.55; }
.footer-col a  { font-size: 14px; color: var(--ink-2); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-creds  { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.footer-creds span:not(:last-child)::after { content: "·"; margin-left: 16px; color: var(--line); }


/* ----- 13. Verify links (external links to credentialing bodies) ----- */
.verify { color: inherit; transition: color 0.15s ease, border-color 0.15s ease; border-bottom: 1px dotted currentColor; padding-bottom: 1px; }
.verify:hover { color: var(--accent); border-bottom-color: var(--accent); }
.verify::after { content: " \2197"; opacity: 0.6; font-size: 0.85em; margin-left: 2px; }
/* On dark backgrounds, swap verify hover to gold so it stays visible */
.why .verify:hover,
.warranties .verify:hover,
.contact-cta .verify:hover { color: var(--gold); border-bottom-color: var(--gold); }



/* ----- 14. Mobile nav menu ----- */
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; color: var(--ink); border-radius: 4px; align-items: center; justify-content: center; }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-primary { padding: 12px 18px; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner { padding: 24px; min-height: 100%; display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; box-sizing: border-box; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.mobile-menu-logo img { height: 34px; width: auto; max-width: 200px; display: block; }
.mobile-menu-close { width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
.mobile-menu-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-links { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu-links a { display: block; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; transition: color 0.15s ease; }
.mobile-menu-links a:hover, .mobile-menu-links a:focus-visible { color: var(--accent); outline: none; }
.mobile-menu-divider { height: 1px; background: var(--line); margin: 8px 0 24px; }
.mobile-menu-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.mobile-menu-phone { font-size: 22px; font-weight: 500; color: var(--ink); }
.mobile-menu-phone:hover { color: var(--accent); }
.mobile-menu-email { font-size: 16px; color: var(--ink-2); }
.mobile-menu-email:hover { color: var(--accent); }
.mobile-menu-creds { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; line-height: 1.6; margin: 0; }

body.menu-open { overflow: hidden; }



/* ----- 15. Mobile polish (post-audit) ----- */
@media (max-width: 768px) {
  /* Section padding crushed to a more mobile-appropriate rhythm */
  :root { --pad-section: 64px; }
  /* Hero image height capped on mobile (uses .hero ancestor to outrank inline page styles) */
  .hero .hero-image img { height: 340px; object-position: 85% 40%; }
}



/* ----- 16. Contact page ----- */
.contact-hero { text-align: center; }
.contact-hero h1 { margin-bottom: 24px; }
.contact-hero .lead { max-width: 720px; margin: 0 auto 40px; }
.contact-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .contact-hero-ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
}

.contact-trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.contact-trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; align-items: center; font-size: 13.5px; color: var(--ink); }
.contact-trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.contact-trust-row li + li { position: relative; padding-left: 28px; }
.contact-trust-row li + li::before { content: "\00b7"; color: var(--muted); position: absolute; left: 10px; }
.contact-trust-star { color: var(--accent); }
@media (max-width: 600px) {
  .contact-trust-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-trust-row li + li { padding-left: 0; }
  .contact-trust-row li + li::before { content: none; }
}

.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 960px; margin: 0 auto; }
@media (max-width: 768px) { .contact-info-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info-col .eyebrow { display: block; margin-bottom: 16px; }
.contact-phone-big { display: inline-block; font-size: clamp(32px, 4.2vw, 42px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; margin-bottom: 12px; transition: color 0.15s ease; }
.contact-phone-big:hover { color: var(--accent); }
.contact-email-link { display: block; font-size: 18px; color: var(--ink-2); margin-bottom: 28px; transition: color 0.15s ease; }
.contact-email-link:hover { color: var(--accent); }
.contact-hours { margin-bottom: 24px; }
.contact-hours h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.contact-hours p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.contact-location { font-size: 14px; color: var(--muted); margin: 0; }
.contact-area-main { font-size: 19px; color: var(--ink-2); line-height: 1.5; margin-bottom: 24px; }
.contact-area-helper { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.contact-form-section { background: var(--bg-soft); }
.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form-wrap .eyebrow { display: block; margin-bottom: 12px; }
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap .lead { margin-bottom: 36px; font-size: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.contact-field input, .contact-field textarea { width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); transition: border-color 0.15s ease; box-sizing: border-box; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--ink); }
.contact-field textarea { resize: vertical; min-height: 112px; }
.contact-field.has-error input, .contact-field.has-error textarea { border-color: #b4232a; }
.contact-field-err { display: none; color: #b4232a; font-size: 13px; margin-top: 6px; margin-bottom: 0; }
.contact-field.has-error .contact-field-err { display: block; }
.contact-form-error { display: none; color: #b4232a; font-size: 14px; padding: 12px 14px; background: rgba(180,35,42,0.06); border: 1px solid #b4232a; border-radius: 4px; margin: 0; }
.contact-form-error.is-visible { display: block; }
.contact-form .btn { align-self: flex-start; min-height: 44px; }
@media (max-width: 600px) { .contact-form .btn { width: 100%; justify-content: center; } }

.contact-form-confirm { display: none; text-align: center; padding: 24px 0; }
.contact-form-confirm.is-visible { display: block; }
.contact-form-confirm .cf-check { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: rgba(46,160,87,0.12); display: flex; align-items: center; justify-content: center; }
.contact-form-confirm .cf-check svg { width: 30px; height: 30px; stroke: #2ea057; fill: none; stroke-width: 2.5; }
.contact-form-confirm h3 { font-size: 22px; margin-bottom: 8px; font-weight: 500; letter-spacing: -0.01em; }
.contact-form-confirm p { font-size: 16px; color: var(--ink-2); margin: 0; }

.contact-cta-strip { background: var(--ink); color: #fff; text-align: center; }
.contact-cta-strip .section-head { max-width: 720px; margin: 0 auto 32px; }
.contact-cta-strip h2 { color: #fff; }
.contact-cta-strip .lead { color: rgba(255,255,255,0.78); }
.contact-cta-strip .btn-primary { background: #fff; color: var(--ink); }
.contact-cta-strip .btn-primary:hover { background: var(--accent); color: #fff; }



/* ----- 17. Gallery carousel + lightbox ----- */
.gallery-intro { text-align: center; padding-top: var(--pad-section); padding-bottom: 32px; }
.gallery-intro .eyebrow { display: block; margin-bottom: 12px; }
.gallery-intro h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.gallery-intro .lead { max-width: 720px; margin: 0 auto; }

.gcarousel-section { padding-bottom: var(--pad-section); }
.gcarousel { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 60px; box-sizing: border-box; }
.gcarousel-viewport { overflow: hidden; border-radius: 4px; }
.gcarousel-track { display: flex; will-change: transform; }
.gcarousel-slide { flex: 0 0 calc(100% / 3); box-sizing: border-box; padding: 0 8px; }
@media (max-width: 899px) { .gcarousel-slide { flex-basis: 50%; } }
@media (max-width: 599px) { .gcarousel-slide { flex-basis: 100%; } .gcarousel { padding: 0 16px; } }

.gcarousel-thumb { width: 100%; height: 280px; overflow: hidden; border-radius: 4px; background: var(--bg-soft); cursor: pointer; border: 0; padding: 0; display: block; }
@media (max-width: 599px) { .gcarousel-thumb { height: 220px; } }
.gcarousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gcarousel-thumb:hover img { transform: scale(1.04); }
.gcarousel-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.gcarousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; transition: background 0.18s ease, border-color 0.18s ease; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.gcarousel-arrow:hover { background: var(--ink); border-color: var(--ink); }
.gcarousel-arrow svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; transition: stroke 0.18s ease; }
.gcarousel-arrow:hover svg { stroke: #fff; }
.gcarousel-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gcarousel-prev { left: 6px; }
.gcarousel-next { right: 6px; }

/* Mobile: arrows move BELOW the carousel to avoid overlapping the photo */
.gcarousel-mobile-controls { display: none; }
@media (max-width: 599px) {
  .gcarousel-prev, .gcarousel-next { display: none; }
  .gcarousel-mobile-controls { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
  .gcarousel-mobile-controls .gcarousel-arrow { position: static; top: auto; transform: none; }
}

.gallery-cta { background: var(--bg-soft); text-align: center; }
.gallery-cta h2 { margin-bottom: 12px; }
.gallery-cta .lead { max-width: 600px; margin: 0 auto 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s ease; padding: 24px; box-sizing: border-box; }
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-img { max-width: 90vw; max-height: 90vh; width: auto; height: auto; display: block; box-shadow: 0 8px 60px rgba(0,0,0,0.5); border-radius: 2px; }
.lightbox-btn { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.18s ease; z-index: 2; }
.lightbox-btn:hover { background: rgba(255,255,255,0.22); }
.lightbox-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close { right: 24px; top: 24px; }
@media (max-width: 599px) {
  .lightbox-prev { left: 8px; width: 44px; height: 44px; }
  .lightbox-next { right: 8px; width: 44px; height: 44px; }
  .lightbox-close { right: 10px; top: 10px; width: 44px; height: 44px; }
}
body.lightbox-open { overflow: hidden; }



/* ----- 18. About page ----- */
.about-hero { background: var(--bg); }
.about-hero-inner { max-width: 920px; margin: 0 auto; }
.about-hero .eyebrow { display: block; margin-bottom: 14px; }
.about-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
.about-hero .lead { max-width: 720px; }

.about-story { background: var(--bg); padding-top: 32px; }
.about-story-inner { max-width: 720px; margin: 0 auto; }
.about-story-block { margin-bottom: 48px; }
.about-story-block:last-child { margin-bottom: 0; }
.about-story-block h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; font-weight: 500; letter-spacing: -0.01em; }
.about-story-block p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 0; }

.about-believe { background: var(--bg-soft); }
.about-believe-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.about-believe-head .eyebrow { display: block; margin-bottom: 10px; }
.about-believe-head h2 { margin: 0; }
.about-believe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
@media (max-width: 767px) { .about-believe-grid { grid-template-columns: 1fr; } }
.about-believe-card { background: var(--bg); padding: 28px 28px 24px; border-radius: 4px; border: 1px solid var(--line); }
.about-believe-card .about-icon { width: 32px; height: 32px; color: var(--gold); margin-bottom: 16px; }
.about-believe-card .about-icon svg { width: 100%; height: 100%; }
.about-believe-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.about-believe-card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.about-numbers { background: var(--bg); }
.about-numbers .section-head { text-align: center; margin: 0 auto 48px; max-width: 720px; }
.about-numbers .section-head .eyebrow { display: block; margin-bottom: 10px; }
.about-numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .about-numbers-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 540px) { .about-numbers-grid { grid-template-columns: 1fr; } }
.about-number { padding: 22px; background: var(--bg-soft); border-radius: 4px; }
.about-number-top { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.005em; line-height: 1.3; }
.about-number-bottom { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }
.about-number-bottom a { color: var(--ink); border-bottom: 1px dotted currentColor; padding-bottom: 1px; transition: color 0.15s ease; }
.about-number-bottom a:hover { color: var(--accent); border-color: var(--accent); }

.about-credentials { background: var(--bg-soft); }
.about-credentials-inner { max-width: 720px; margin: 0 auto; }
.about-credentials .eyebrow { display: block; margin-bottom: 10px; }
.about-credentials h2 { margin-bottom: 28px; }
.about-credentials-list { list-style: none; padding: 0; margin: 0; }
.about-credentials-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.about-credentials-list li:last-child { border-bottom: none; }
.about-credentials-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.about-area { background: var(--bg); }
.about-area-inner { max-width: 720px; margin: 0 auto; }
.about-area .eyebrow { display: block; margin-bottom: 10px; }
.about-area h2 { margin-bottom: 20px; font-size: clamp(24px, 3vw, 32px); }
.about-area p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; }

.about-partners { background: var(--bg-soft); padding-top: 64px; padding-bottom: 64px; }
.about-partners-inner { max-width: 720px; margin: 0 auto; }
.about-partners .eyebrow { display: block; margin-bottom: 10px; color: var(--muted); }
.about-partners h3 { font-size: 22px; margin-bottom: 14px; font-weight: 500; letter-spacing: -0.01em; }
.about-partners p { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin-bottom: 24px; }



/* ----- 19. Lease/TPO sections (removal-reinstall.html) ----- */
.lease-section { padding: 32px 0 24px; }
.lease-card { border: 1px solid var(--gold); border-radius: 4px; background: var(--bg-warm); padding: clamp(28px, 4vw, 36px); }
.lease-eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.lease-headline { font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 18px; }
.lease-intro { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin: 0 0 24px; max-width: 720px; }
.lease-subhead { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.005em; }

.lease-objections-section { padding: 0 0 var(--pad-section); }
.lease-objections-card { border-left: 4px solid var(--gold); background: var(--bg-soft); border-radius: 0 4px 4px 0; padding: clamp(24px, 3.5vw, 32px); }
.lease-objections-eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.lease-objections-intro { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin: 0 0 20px; max-width: 720px; }
.lease-quote { padding: 18px 0; border-bottom: 1px solid var(--line); }
.lease-quote:last-of-type { border-bottom: none; padding-bottom: 24px; }
.lease-quote-q { font-style: italic; color: var(--ink); font-size: 16px; line-height: 1.45; margin: 0 0 10px; }
.lease-quote-q::before { content: "\201C"; }
.lease-quote-q::after { content: "\201D"; }
.lease-quote-a { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.lease-reassure { font-size: 16px; color: var(--ink); line-height: 1.5; margin: 8px 0 0; padding: 16px 18px; background: rgba(200,160,83,0.12); border-radius: 4px; }
.lease-reassure strong { font-weight: 600; }



/* ----- 20. Legal pages + address blocks ----- */
.legal-hero { padding-bottom: 32px; }
.legal-hero-inner { max-width: 720px; margin: 0 auto; }
.legal-hero .eyebrow { display: block; margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 16px; }
.legal-hero .lead { margin-bottom: 12px; max-width: 720px; }
.legal-hero .legal-meta { font-size: 14px; color: var(--muted); margin: 0; }

.legal-page { padding-top: 0; }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 18px; font-weight: 500; letter-spacing: -0.01em; }
.legal-content h2:first-child, .legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0 0 18px; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; }
.legal-content ul li { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin-bottom: 8px; }
.legal-content address { font-style: normal; font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 6px 0 18px; }
.legal-content a { color: var(--ink); border-bottom: 1px dotted currentColor; padding-bottom: 1px; transition: color 0.15s ease; }
.legal-content a:hover { color: var(--accent); border-color: var(--accent); }

.footer-address { font-style: normal; font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 14px; max-width: 320px; }

.contact-address { margin-bottom: 8px; }
.contact-address h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.contact-address address { font-style: normal; font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0; }
