/* GeneratorQuoteMatch — deep navy + warm gold (power / reliability) */
:root {
  --navy: #0b1628;
  --navy-mid: #15233c;
  --navy-deep: #07101c;
  --navy-soft: #243656;
  --gold: #c9962a;
  --gold-hover: #a87d16;
  --gold-pale: #f3e6c4;
  --cream: #f6f2e9;
  --paper: #fbf8f2;
  --ink: #16181d;
  --muted: #5a6170;
  --line: #ddd6c8;
  --white: #ffffff;
  --success: #1e7a46;
  --error: #b91c1c;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 22, 40, 0.08);
  --shadow-lg: 0 14px 36px rgba(11, 22, 40, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold-hover); text-decoration: underline; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.logo {
  font-weight: 800; font-size: 1.28rem; color: var(--navy);
  text-decoration: none; letter-spacing: -0.03em;
}
.logo span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--navy-mid); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--gold-hover); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy-deep) !important;
  padding: 0.5rem 1rem; border-radius: var(--radius); font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-hover) !important; color: var(--white) !important;
  text-decoration: none !important;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.4rem 0.6rem; cursor: pointer;
  font-size: 1.1rem; color: var(--navy);
}

.hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 150, 42, 0.18), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-mid) 100%);
  color: var(--white); padding: 3.6rem 0 4.1rem;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.22;
  margin-bottom: 1rem; font-weight: 750; letter-spacing: -0.025em;
}
.hero .lead { font-size: 1.1rem; opacity: 0.92; margin-bottom: 1.5rem; max-width: 34em; }
.hero-bullets { margin-bottom: 1.5rem; }
.hero-bullets li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; opacity: 0.95; }
.hero-bullets li::before { content: "⚡"; position: absolute; left: 0; font-size: 0.85rem; color: var(--gold); }
.badge {
  display: inline-block; background: rgba(201, 150, 42, 0.16);
  border: 1px solid rgba(201, 150, 42, 0.4); color: var(--gold-pale);
  padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.8rem;
  font-weight: 650; margin-bottom: 1rem; letter-spacing: 0.03em; text-transform: uppercase;
}

.form-card {
  background: var(--white); color: var(--ink); border-radius: 12px;
  padding: 1.5rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
}
.form-card h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.35rem; }
.form-card .form-sub { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 650; color: var(--navy-mid); margin-bottom: 0.3rem; }
.form-group label .req { color: var(--error); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 1rem; font-family: inherit;
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.28);
}
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: var(--error); }
.field-error { display: none; color: var(--error); font-size: 0.8rem; margin-top: 0.25rem; }
.field-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.btn {
  display: inline-block; padding: 0.75rem 1.5rem; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer;
  text-align: center; text-decoration: none; transition: background 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); width: 100%; }
.btn-primary:hover { background: var(--gold-hover); color: var(--white); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-secondary { background: var(--cream); color: var(--navy); }
.btn-secondary:hover { background: var(--gold-pale); }
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; text-align: center; }
.form-status { display: none; padding: 0.75rem; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1rem; }
.form-status.error-msg { display: block; background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.form-status.success-msg { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.quote-form { position: relative; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream); }
.section h2 { font-size: 1.75rem; color: var(--navy); margin-bottom: 0.75rem; text-align: center; }
.section .section-lead { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); }
.card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; background: var(--gold); color: var(--navy-deep);
  border-radius: 50%; font-weight: 800; font-size: 0.9rem; margin-bottom: 0.75rem;
}
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-link {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem; text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-link:hover { border-color: var(--gold); box-shadow: var(--shadow); text-decoration: none; }
.service-link h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.35rem; }
.service-link p { color: var(--muted); font-size: 0.9rem; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--navy); margin-bottom: 0.5rem; }
.page-hero p { color: var(--navy-mid); max-width: 40em; }
.content { padding: 2.5rem 0 3.5rem; }
.content h2 { font-size: 1.35rem; color: var(--navy); margin: 1.75rem 0 0.75rem; }
.content h3 { font-size: 1.1rem; color: var(--navy-mid); margin: 1.25rem 0 0.5rem; }
.content p, .content li { color: var(--navy-mid); margin-bottom: 0.75rem; }
.content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content a { font-weight: 600; color: var(--navy-soft); }
.legal { font-size: 0.95rem; }
.legal .updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.5rem; }

.cta-band {
  background: var(--navy); color: var(--white); padding: 2.5rem 0;
  text-align: center; border-top: 3px solid var(--gold);
}
.cta-band h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.25rem; }
.cta-band .btn-primary { width: auto; display: inline-block; padding: 0.75rem 1.75rem; }

.thank-you { text-align: center; padding: 4rem 0; max-width: 32em; margin: 0 auto; }
.thank-you .check {
  width: 64px; height: 64px; background: var(--gold-pale); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.25rem; font-weight: 700;
}
.thank-you h1 { color: var(--navy); margin-bottom: 0.75rem; }
.thank-you p { color: var(--navy-mid); margin-bottom: 1rem; }

.site-footer { background: var(--navy-deep); color: #c5cdd8; padding: 2.5rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { color: var(--white); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-brand span { color: var(--gold); }
.site-footer a { color: #a8b3c2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { color: var(--gold-pale); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.site-footer ul li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid #243049; padding-top: 1.25rem; display: flex;
  flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #8b97a8; font-size: 0.8rem;
}
.local-note {
  background: var(--gold-pale); border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0; font-size: 0.95rem; color: var(--navy-mid);
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--cream); }
  .nav-cta { margin-top: 0.5rem; text-align: center; }
  .header-inner { position: relative; }
}
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 3rem; }
  .section { padding: 2.5rem 0; }
}
