/* Smart Insured — formal, professional design
   Navy #16283f headers / #1b3a5c accents, steel-blue #2f6fb2 for buttons and links,
   white background, slate-gray body text. No gradients, no gimmicks. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
  background: #ffffff;
}

a { color: #2f6fb2; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #16283f; color: #ffffff; padding: 16px 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand { color: #ffffff; text-decoration: none; font-size: 1.45rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand span { font-weight: 400; color: #cbd5e1; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.main-nav a { color: #e2e8f0; text-decoration: none; font-size: 0.98rem; }
.main-nav a:hover, .main-nav a.active { color: #ffffff; text-decoration: underline; }
.header-phone { color: #ffffff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }

/* Hero and sections */
.hero { padding: 56px 0 40px; }
.hero h1 { margin: 0 0 14px; font-size: 2.1rem; line-height: 1.25; color: #16283f; }
.hero p.lead { font-size: 1.15rem; color: #475569; max-width: 640px; margin: 0 0 24px; }
.section { padding: 36px 0; }
.section h2 { color: #1b3a5c; font-size: 1.5rem; margin: 0 0 16px; }
.section h3 { color: #1b3a5c; font-size: 1.15rem; margin: 0 0 8px; }
h1 { color: #16283f; font-size: 2rem; line-height: 1.25; margin: 0 0 14px; }
.page { padding: 48px 0 24px; }
.page p { max-width: 680px; }
ul.plain { max-width: 680px; padding-left: 22px; }
ul.plain li { margin-bottom: 10px; }
ul.plain li strong { color: #1b3a5c; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 24px; background: #ffffff; }
.card h3 { margin: 0 0 8px; }
.card h3 a { color: #1b3a5c; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0 0 12px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; max-width: 680px; }
.steps li { counter-increment: step; margin-bottom: 16px; padding-left: 44px; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: #1b3a5c; color: #ffffff;
  font-weight: 700; font-size: 0.95rem; line-height: 30px; text-align: center;
}
.steps li strong { color: #1b3a5c; }

/* Buttons */
.btn {
  display: inline-block; background: #2f6fb2; color: #ffffff;
  padding: 12px 24px; border-radius: 6px; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 1px solid #2f6fb2; cursor: pointer;
}
.btn:hover { background: #275d94; text-decoration: none; }
.btn-outline { background: #ffffff; color: #2f6fb2; }
.btn-outline:hover { background: #eef4fb; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0; }
.cta-box {
  border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc;
  padding: 28px; margin: 28px 0;
}
.cta-box h2 { margin-top: 0; }

/* Forms */
form.quote { max-width: 620px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: #1b3a5c; margin-bottom: 6px; }
.field label .req { color: #b91c1c; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font-size: 1rem; font-family: inherit;
  border: 1px solid #cbd5e1; border-radius: 6px; background: #ffffff; color: #334155;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.9rem; color: #64748b; margin-top: 4px; }
.field .error { display: none; color: #b91c1c; font-size: 0.92rem; margin-top: 4px; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select { border-color: #b91c1c; }
.review-box { display: none; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; padding: 24px; max-width: 620px; margin-bottom: 20px; }
.review-box.show { display: block; }
.review-box h2 { margin-top: 0; }
.review-box dl { margin: 0 0 16px; }
.review-box dt { font-weight: 600; color: #1b3a5c; }
.review-box dd { margin: 0 0 10px; }
.thanks-box { display: none; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; padding: 28px; max-width: 620px; }
.thanks-box.show { display: block; }
.thanks-box h2 { margin-top: 0; }
.send-error { display: none; color: #b91c1c; margin-top: 12px; }
.send-error.show { display: block; }

/* Footer */
.site-footer { background: #16283f; color: #cbd5e1; padding: 36px 0 28px; margin-top: 48px; font-size: 0.95rem; }
.site-footer a { color: #e2e8f0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; }
.site-footer .foot-brand { color: #ffffff; font-weight: 700; font-size: 1.1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer .fineprint { margin-top: 20px; color: #94a3b8; font-size: 0.88rem; }

@media (max-width: 640px) {
  .hero h1, h1 { font-size: 1.65rem; }
  .cards { grid-template-columns: 1fr; }
  .main-nav { margin-left: 0; }
  .hero { padding: 40px 0 28px; }
}
