:root {
  --navy: #1B3A4B;
  --navy-dark: #10262F;
  --beige: #F5F0E4;
  --white: #FFFFFF;
  --gold: #C9A227;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--navy); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
main { width: 100%; }

.site-header { background: var(--navy); color: var(--white); }
.site-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; flex-wrap: wrap; }
.site-header .logo { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a { color: var(--white); text-decoration: none; }
.header-cta { background: var(--gold); color: var(--navy-dark); padding: 0.5rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 600; }

.sticky-phone { position: fixed; bottom: 1rem; right: 1rem; background: var(--gold); color: var(--navy-dark); padding: 0.9rem 1.3rem; border-radius: 50px; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 999; font-weight: 600; }


/* Fallback rules for the new utility pages (about/contact/thank-you/privacy/terms) */
.hero, .cta { background: var(--navy); color: var(--white); text-align: center; padding: 2.5rem 1.5rem; }
.hero a, .cta a { color: var(--gold); }
.about-story, .values, .coverage, .contact-details, .quote-form, .map,
.policy-body, .terms-body, .thank-you-body { padding: 2rem 1.5rem; max-width: 1100px; margin: 0 auto; }

/* Cookie banner v2 - fixed height, decided before first paint, no runtime shift */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--navy-dark); color: var(--white); }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.5rem; min-height: 64px; }
.cookie-banner-actions { display: flex; gap: 0.75rem; }
.cookie-banner-actions button { padding: 0.5rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; white-space: nowrap; }
#cookie-accept { background: var(--gold); color: var(--navy-dark); }
#cookie-reject { background: transparent; color: var(--white); border: 1px solid var(--white) !important; }
.cookie-banner.cookie-banner-hidden { display: none; }
html.cookies-ok .cookie-banner { display: none; }
body { padding-bottom: 64px; }
html.cookies-ok body { padding-bottom: 0; }
@media (max-width: 480px) {
  .cookie-banner-inner { grid-template-columns: 1fr; min-height: 104px; }
  body { padding-bottom: 104px; }
  html.cookies-ok body { padding-bottom: 0; }
}
