/* ============================================================
   Top Notch Insurance Deal — shared styles
   ============================================================ */
:root {
  --navy: #0d2b57;
  --navy-dark: #0c2340;
  --navy-text: #14315e;
  --red: #d92d27;
  --blue: #1a56c4;
  --body: #333f52;
  --muted: #5b6b82;
  --line: #d8e2f0;
  --card-bg: #ffffff;
  --page-bg: #ffffff;
  --band-bg: #eaf1fb;
  --gold: #c9a24b;
  --shadow: 0 10px 30px rgba(13, 43, 87, 0.10);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--page-bg);
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================ Header ============================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eef2f8;
  box-shadow: 0 2px 10px rgba(13, 43, 87, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-icon { height: 52px; width: auto; }
.logo-text {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.logo-text small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2e9d7c;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.main-nav a {
  color: var(--navy-text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); text-decoration: none; }

.header-phone {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 9px 18px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
  display: block;
}
.header-phone:hover { text-decoration: none; background: #123a72; }
.header-phone .phone-number {
  font-weight: 700;
  font-size: 17px;
  display: block;
}
.header-phone .phone-number::before { content: "\260E\00A0"; font-size: 15px; }
.header-phone .phone-tty {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: #d7e2f2;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
}

/* ============================ Hero (homepage) ============================ */
.hero {
  background: linear-gradient(180deg, #f7fafd 0%, #eef3fa 100%);
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 34px;
}

.hero-copy {
  flex: 1 1 52%;
  padding-bottom: 44px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
}

.hero h1 {
  color: var(--navy);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent {
  color: var(--red);
  display: block;
}

.hero-checklist {
  list-style: none;
  margin-top: 26px;
}
.hero-checklist li {
  color: var(--navy-text);
  font-size: 18px;
  font-weight: 600;
  margin: 13px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-checklist .check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  flex: 1 1 22%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 200px;
  position: relative;
}
.hero-photo img {
  max-height: 480px;
  width: auto;
  /* fade the top and side edges into the hero background; keep the bottom solid */
  -webkit-mask-image: radial-gradient(120% 150% at center 100%, #000 70%, transparent 98%);
  mask-image: radial-gradient(120% 150% at center 100%, #000 70%, transparent 98%);
}

/* ---------- Lead form card ---------- */
.lead-card {
  flex: 1 1 100%;
  max-width: 900px;
  order: 3;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 10px auto 44px;
  position: relative;
  z-index: 6;
}

.lead-card-head {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 16px 18px 13px;
}
.lead-card-head h2 {
  font-size: 20px;
  font-weight: 800;
}
.lead-card-head h2 .free { color: #ff5f57; }
.lead-card-head p { font-size: 13px; color: #d7e2f2; margin-top: 2px; }

.lead-form {
  padding: 20px 26px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
.lead-form .form-secure,
.lead-form .form-check,
.lead-form .btn-submit { grid-column: 1 / -1; }

.form-row { display: flex; gap: 16px; grid-column: 1 / -1; }
.form-field { margin-bottom: 11px; flex: 1; }
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-text);
  margin-bottom: 4px;
}
.form-field input {
  width: 100%;
  border: 1px solid #c9d6e8;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--body);
  background: #fff;
}
.form-field input::placeholder { color: #9aa9bd; }
.form-field select {
  width: 100%;
  border: 1px solid #c9d6e8;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--body);
  background: #fff;
}
.form-field select:invalid { color: #9aa9bd; }
.form-field label .optional { font-weight: 400; color: var(--muted); }
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 196, 0.12);
}
.form-field input.invalid, .form-field select.invalid { border-color: var(--red); }

.form-secure {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 10px;
}
.form-secure::before { content: "\1F512\00A0"; font-size: 11px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 14px;
  background: #f5f8fd;
  border: 1px solid #dde7f4;
  border-radius: 8px;
  padding: 12px 14px;
}
.form-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.form-check label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}
.form-check label a { font-weight: 600; }
.form-check.invalid { border-color: var(--red); background: #fdf3f3; }
.form-check.invalid input[type="checkbox"] { outline: 2px solid var(--red); outline-offset: 1px; }

.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 13px 10px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.btn-submit:hover { background: #bf221d; }

.form-consent {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  margin-top: 11px;
}

/* ============================ Trust bar ============================ */
.trust-bar {
  background: var(--navy);
  color: #fff;
}
.trust-inner {
  display: flex;
  padding: 16px 0;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px 22px;
}
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.trust-item img { width: 40px; height: 40px; flex-shrink: 0; }
.trust-item h3 { font-size: 15px; font-weight: 700; }
.trust-item p { font-size: 12.5px; color: #ccd9ec; line-height: 1.35; }

/* ============================ Benefits ============================ */
.section { padding: 52px 0; }

.section-title {
  text-align: center;
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.benefit-card {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(13, 43, 87, 0.05);
  padding: 18px 16px;
}
.benefit-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.benefit-head img { width: 34px; height: 34px; flex-shrink: 0; }
.benefit-head h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.benefit-card p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ============================ Carriers ============================ */
.carriers-title {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 26px;
}
.carriers-title::before, .carriers-title::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 0 0 120px;
}
.carriers-title h2 {
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
}

.carriers-strip {
  background: #fff;
  border: 1px solid #e9eef6;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(13, 43, 87, 0.06);
  display: flex;
  align-items: center;
  padding: 18px 10px;
}
.carrier {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
}
.carrier + .carrier { border-left: 1px solid #edf1f7; }
.carrier img { max-height: 46px; width: auto; }
.carrier.more {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-text);
  text-align: center;
  line-height: 1.3;
}

/* ============================ Mobile call CTA ============================ */
.mobile-cta { display: none; padding: 0 24px 34px; }
.mobile-cta a {
  display: block;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 18px;
}
.mobile-cta a:hover { text-decoration: none; }
.mobile-cta a span { display: block; font-size: 12px; font-weight: 400; color: #d7e2f2; }

/* ============================ Footer ============================ */
.smid-above { padding-top: 18px; }
.smid-above p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
  max-width: 1050px;
}

.site-footer {
  background: var(--navy-dark);
  color: #dfe7f2;
  font-size: 13px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 40px;
  align-items: flex-start;
}
.footer-col { flex: 1; line-height: 1.65; }
.footer-badge { flex: 0 0 110px; }
.footer-badge img { width: 104px; height: auto; }
.footer-col + .footer-col { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 34px; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin: 8px 0; }
.footer-col a { color: #dfe7f2; }
.footer-col a:hover { color: #fff; }
.footer-ids p { margin: 7px 0; }

/* ============================ Interior pages ============================ */
.page-band {
  background: var(--band-bg);
  padding: 56px 0 48px;
}
.page-band h1 {
  color: var(--navy);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-band .page-sub {
  margin-top: 12px;
  font-size: 19px;
  color: var(--body);
  max-width: 760px;
}

.smid-line {
  color: var(--muted);
  font-size: 13.5px;
  padding: 22px 0 0;
}

.content-cards { padding: 40px 0 30px; }
.content-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(13, 43, 87, 0.04);
}
.content-card h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.content-card p { font-size: 17px; color: var(--body); }
.content-card p + p { margin-top: 10px; }
.content-card ol { margin: 6px 0 0 20px; font-size: 17px; }
.content-card ol li { margin: 6px 0; }

.policy-body { padding: 10px 0 40px; }
.policy-body h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  margin: 30px 0 10px;
}
.policy-body p { font-size: 17.5px; max-width: 960px; }

/* Thank-you hero */
.ty-hero { background: linear-gradient(180deg, #f2f7fd 0%, #e9f0fa 100%); }
.ty-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-top: 56px;
  padding-bottom: 52px;
}
.ty-copy { flex: 1.3; }
.ty-copy h1 {
  color: var(--navy);
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 18px;
}
.ty-copy p { font-size: 19px; max-width: 560px; }
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 9px;
  padding: 14px 26px;
  margin-top: 26px;
}
.btn-primary:hover { background: #1447a5; text-decoration: none; }

.ty-next {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px 32px;
}
.ty-next h2 { color: var(--navy); font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.ty-next ol { margin-left: 20px; font-size: 17px; }
.ty-next ol li { margin: 8px 0; }

/* Opt-out form */
.optout-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 36px 30px;
  max-width: 520px;
  margin: 0 auto;
}
.optout-card h2 {
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 22px;
}
.optout-card .form-field input { padding: 12px; font-size: 15px; }
.optout-card .form-field { margin-bottom: 16px; }
.optout-card .btn-submit { margin-top: 4px; }
.optout-success {
  margin-top: 14px;
  background: #eef8f0;
  border: 1px solid #bfe3c8;
  color: #1e6b34;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
}
.optout-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Sitemap */
.sitemap-list { list-style: none; padding: 10px 0 40px; }
.sitemap-list li { margin: 12px 0; font-size: 18px; }

/* ============================ Responsive ============================ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { margin-left: 0; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(13, 43, 87, 0.12);
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px;
  }
  .main-nav.open li { width: 100%; border-bottom: 1px solid #eef2f8; }
  .main-nav.open a { display: block; padding: 13px 0; font-size: 16px; }

  .hero-inner { flex-wrap: wrap; }
  .trust-inner { padding-right: 0; }
  .hero-photo { order: 2; }
  .lead-card { flex: 1 1 100%; order: 3; margin-bottom: 34px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .carriers-strip { flex-wrap: wrap; }
  .carrier { flex: 1 1 30%; padding: 12px 14px; }
  .carrier + .carrier { border-left: 0; }
  .footer-inner { flex-wrap: wrap; }
  .footer-col { flex: 1 1 40%; }
  .footer-col + .footer-col { border-left: 0; padding-left: 0; }
}

@media (max-width: 768px) {
  .header-inner { min-height: 64px; gap: 14px; }
  .logo-icon { height: 40px; }
  .logo-text { font-size: 17px; }
  .logo-text small { font-size: 8.5px; }
  .header-phone { display: none; }
  .main-nav.open { top: 64px; }

  .hero h1 { font-size: 32px; }
  .hero-copy { padding-bottom: 10px; }
  .hero-checklist li { font-size: 16px; margin: 9px 0; }
  .hero-photo { min-width: 0; }
  .hero-photo img { max-height: 230px; }

  .trust-inner { flex-wrap: wrap; padding: 10px 0; padding-right: 0; }
  .trust-item {
    flex: 1 1 25%;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 6px;
  }
  .trust-item img { width: 30px; height: 30px; }
  .trust-item h3 { font-size: 12px; line-height: 1.25; }
  .trust-item p { display: none; }

  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card { text-align: center; }
  .benefit-head { flex-direction: column; align-items: center; }
  .benefit-card p { font-size: 12px; }

  .carriers-title::before, .carriers-title::after { flex: 0 0 40px; }
  .carriers-title h2 { font-size: 22px; white-space: normal; text-align: center; }
  .carrier { flex: 1 1 45%; }

  .mobile-cta { display: block; }

  .page-band { padding: 38px 0 34px; }
  .page-band h1 { font-size: 32px; }
  .page-band .page-sub { font-size: 17px; }
  .content-card { padding: 22px 20px; }
  .content-card p, .policy-body p { font-size: 16px; }
  .policy-body h2 { font-size: 21px; }

  .lead-form { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }

  .ty-inner { flex-direction: column; padding-top: 38px; padding-bottom: 38px; }
  .ty-copy h1 { font-size: 38px; }

  .footer-inner { flex-direction: column; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
  .footer-col { flex: 1 1 auto; }
}
