/* QuoteMyInsure.com — Ocean Blue & White Theme */
:root {
  --blue: #0284c7;
  --blue-dark: #0c4a6e;
  --blue-mid: #0369a1;
  --blue-light: #e0f2fe;
  --blue-pale: #f0f9ff;
  --blue-border: #bae6fd;
  --text-dark: #0c4a6e;
  --text-mid: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(2,132,199,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text-mid); background: #fff; }
a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--blue-mid); }
img { max-width: 100%; }

/* TOPBAR */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,0.85); text-align: center; padding: 8px 20px; font-size: 12px; }
.topbar a { color: #7dd3fc; }

/* HEADER */
header { background: #fff; border-bottom: 1px solid var(--blue-border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { background: var(--blue); color: #fff; border-radius: var(--radius); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.logo-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--blue-dark); line-height: 1.1; }
.logo-name span { color: var(--blue); }
.logo-tag { font-size: 10px; color: var(--text-muted); display: block; }
nav#main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
nav#main-nav a { font-size: 13px; color: var(--text-dark); padding: 6px 10px; border-radius: var(--radius); font-weight: 500; }
nav#main-nav a:hover, nav#main-nav a.active { background: var(--blue-light); color: var(--blue); }
nav#main-nav a.nav-cta { background: var(--blue); color: #fff; padding: 8px 16px; }
nav#main-nav a.nav-cta:hover { background: var(--blue-mid); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--blue-dark); border-radius: 2px; }

/* BREADCRUMB */
.breadcrumb { background: var(--blue-pale); padding: 10px 20px; font-size: 13px; border-bottom: 1px solid var(--blue-border); }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 6px; color: var(--text-muted); }

/* PAGE HERO */
.page-hero { background: linear-gradient(160deg, var(--blue-pale) 0%, var(--blue-light) 60%, var(--blue-pale) 100%); padding: 48px 20px; border-bottom: 1px solid var(--blue-border); }
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero-badge { background: var(--blue-border); color: var(--blue-dark); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; display: inline-block; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-display); font-size: 38px; font-weight: 900; color: var(--blue-dark); margin-bottom: 12px; line-height: 1.2; }
.page-hero h1 em { color: var(--blue); font-style: normal; }
.page-hero p { font-size: 16px; color: var(--text-mid); line-height: 1.7; max-width: 640px; }

/* MAIN WRAP */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
main { min-width: 0; }

/* CALLOUT */
.callout { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 20px 0; font-size: 14px; color: var(--blue-dark); line-height: 1.7; }

/* SIDEBAR */
aside { }
.sidebar-cta { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-cta h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; opacity: 0.85; margin-bottom: 14px; line-height: 1.6; }
.sidebar-cta a { background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: var(--radius); display: block; text-align: center; }
.sidebar-cta a:hover { background: var(--blue-light); }
.sidebar-widget { background: #fff; border: 1px solid var(--blue-border); border-radius: var(--radius-lg); margin-bottom: 20px; overflow: hidden; }
.widget-header { background: var(--blue-pale); border-bottom: 1px solid var(--blue-border); padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.widget-body { padding: 14px 16px; }
.widget-body ul { list-style: none; }
.widget-body ul li { padding: 7px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.widget-body ul li:last-child { border-bottom: none; }
.newsletter-widget { background: var(--blue-pale); border: 1px solid var(--blue-border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.newsletter-widget h4 { font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.newsletter-widget p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.newsletter-input { width: 100%; border: 1.5px solid var(--blue-border); border-radius: var(--radius); padding: 9px 12px; font-size: 13px; margin-bottom: 8px; }
.newsletter-btn { width: 100%; background: var(--blue); color: #fff; border: none; padding: 9px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; }

/* INSURANCE CARDS — homepage vertical cards with images */
.insurance-section { padding: 48px 20px; background: #fff; }
.insurance-inner { max-width: 1200px; margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.section-heading h2 span { color: var(--blue); }
.section-heading p { font-size: 15px; color: var(--text-muted); }
.ins-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.ins-card { border: 1.5px solid var(--blue-border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s; display: block; text-decoration: none; background: #fff; }
.ins-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.ins-card-img { width: 100%; height: 120px; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; }
.ins-card-img .img-label { position: absolute; bottom: 8px; left: 8px; background: rgba(255,255,255,0.92); font-size: 9px; font-weight: 700; color: var(--blue-dark); padding: 2px 8px; border-radius: 4px; }
.ins-card-body { padding: 14px; }
.ins-card-tag { font-size: 10px; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.ins-card-title { font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.ins-card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.ins-card-price { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ins-card-from { font-size: 11px; color: var(--text-muted); }
.ins-card-val { font-size: 14px; font-weight: 700; color: var(--blue); }
.ins-card-btn { width: 100%; background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 8px; font-size: 12px; font-weight: 700; cursor: pointer; text-align: center; display: block; }
.ins-card:hover .ins-card-btn { background: var(--blue); color: #fff; }

/* WIDGET SECTION */
.widget-section { background: var(--blue-light); border-top: 2px solid var(--blue); border-bottom: 2px solid var(--blue); padding: 16px 20px; margin: 28px 0; text-align: center; border-radius: var(--radius-lg); }
.widget-section h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.widget-section p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* GUIDE CARDS */
.guide-cards-section { background: var(--blue-pale); padding: 40px 20px; border-top: 2px solid var(--blue-border); }
.guide-cards-inner { max-width: 1200px; margin: 0 auto; }
.guide-cards-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.guide-cards-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.guide-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.guide-card { background: #fff; border: 1.5px solid var(--blue-border); border-radius: var(--radius-lg); padding: 18px 14px; text-align: center; display: block; text-decoration: none; transition: all 0.2s; }
.guide-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card.current { background: var(--blue-dark); border-color: var(--blue-dark); }
.guide-card.current .guide-card-name { color: #7dd3fc; }
.guide-card.current .guide-card-arrow { color: rgba(255,255,255,0.5); }
.guide-card-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.guide-card.current .guide-card-icon { background: rgba(125,211,252,0.15); }
.guide-card-name { font-weight: 700; font-size: 13px; color: var(--blue-dark); margin-bottom: 4px; line-height: 1.3; }
.guide-card-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-bottom: 8px; }
.guide-card-arrow { font-size: 11px; color: var(--blue); margin-top: 4px; }

/* HERO SECTION (homepage) */
.hero { background: linear-gradient(160deg, var(--blue-pale) 0%, var(--blue-light) 60%, var(--blue-pale) 100%); padding: 60px 20px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }
.hero-badge { background: var(--blue-border); color: var(--blue-dark); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; display: inline-block; margin-bottom: 16px; }
.hero h1 { font-family: var(--font-display); font-size: 42px; font-weight: 900; color: var(--blue-dark); line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: var(--blue); }
.hero-sub { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero-stats { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-stat { background: #fff; border: 1px solid var(--blue-border); border-radius: var(--radius-lg); padding: 12px 18px; text-align: center; }
.hero-stat-num { font-size: 20px; font-weight: 700; color: var(--blue); }
.hero-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; padding: 13px 28px; border-radius: var(--radius); border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--blue-mid); color: #fff; }
.btn-secondary-outline { background: #fff; color: var(--blue); font-size: 14px; padding: 13px 28px; border-radius: var(--radius); border: 1.5px solid var(--blue-border); display: inline-block; }
.hero-form { background: #fff; border-radius: var(--radius-lg); border: 1.5px solid var(--blue-border); padding: 28px; box-shadow: var(--shadow); }
.hero-form h3 { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin-bottom: 16px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.form-tab { background: var(--blue-pale); border: 1.5px solid var(--blue-border); border-radius: var(--radius); padding: 10px 8px; text-align: center; cursor: pointer; font-size: 12px; color: var(--blue-dark); font-weight: 600; }
.form-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.form-group { margin-bottom: 12px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 4px; }
.form-group input, .form-group select { width: 100%; border: 1.5px solid var(--blue-border); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; font-family: var(--font); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--blue); }
.form-submit { width: 100%; background: var(--blue); color: #fff; border: none; padding: 13px; border-radius: var(--radius); font-size: 14px; font-weight: 700; cursor: pointer; }
.form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* RATE TABLE */
.rate-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 14px; }
.rate-table th { background: var(--blue-dark); color: #fff; padding: 12px 14px; text-align: left; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.rate-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-mid); }
.rate-table tr:nth-child(even) td { background: var(--blue-pale); }
.rate-table tr:hover td { background: var(--blue-light); }

/* PROVIDER CARDS */
.provider-card { background: #fff; border: 1.5px solid var(--blue-border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; transition: all 0.2s; }
.provider-card:hover { box-shadow: var(--shadow); }
.provider-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--blue-dark); }
.provider-badge { background: var(--blue-border); color: var(--blue-dark); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.provider-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 12px 0; }
.provider-stat { background: var(--blue-pale); border-radius: var(--radius); padding: 10px; text-align: center; }
.provider-stat-val { font-size: 14px; font-weight: 700; color: var(--blue-dark); }
.provider-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pros-cons-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.p-pros, .p-cons { padding: 12px 14px; border-radius: var(--radius); font-size: 13px; }
.p-pros { background: #f0fdf4; border: 1px solid #86efac; }
.p-cons { background: #fff7f7; border: 1px solid #fca5a5; }
.p-pros h5 { color: #166534; margin-bottom: 6px; font-size: 12px; }
.p-cons h5 { color: #991b1b; margin-bottom: 6px; font-size: 12px; }
.p-pros ul, .p-cons ul { list-style: none; padding: 0; }
.p-pros li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.p-cons li::before { content: "✗ "; color: #dc2626; font-weight: 700; }
.apply-btn { display: flex; justify-content: flex-end; margin-top: 14px; }
.apply-btn a { background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: var(--radius); display: inline-block; }
.apply-btn a:hover { background: var(--blue-mid); }

/* TOC */
.toc { background: var(--blue-pale); border: 1px solid var(--blue-border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.toc h4 { font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 12px; }
.toc ol { padding-left: 18px; }
.toc li { font-size: 14px; margin-bottom: 6px; }
.toc a { color: var(--blue); }
.article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.article-meta span { margin-right: 16px; }
.article-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--blue-dark); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--blue); margin: 24px 0 10px; }
.article-body p { font-size: 15px; line-height: 1.85; color: var(--text-mid); margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { font-size: 15px; line-height: 1.8; color: var(--text-mid); margin-bottom: 8px; }

/* POLICY PAGES */
.policy-wrap { max-width: 900px; margin: 0 auto; padding: 48px 20px; }
.policy-wrap h2 { font-size: 22px; font-weight: 700; color: var(--blue-dark); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.policy-wrap h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin: 20px 0 8px; }
.policy-wrap p { font-size: 15px; line-height: 1.85; color: var(--text-mid); margin-bottom: 14px; }
.policy-wrap ul { padding-left: 22px; margin-bottom: 16px; }
.policy-wrap li { font-size: 15px; line-height: 1.8; color: var(--text-mid); margin-bottom: 6px; }
.policy-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding: 14px 18px; background: var(--blue-pale); border-radius: var(--radius); border-left: 4px solid var(--blue); }
.policy-toc { background: var(--blue-pale); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.policy-toc h4 { font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 12px; }
.policy-toc ol { padding-left: 18px; }
.policy-toc li { font-size: 14px; margin-bottom: 6px; }
.policy-toc a { color: var(--blue); }
.highlight-box { background: var(--blue-pale); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.highlight-box h4 { color: var(--blue-dark); font-size: 15px; font-weight: 700; margin-bottom: 8px; }

/* FOOTER */
footer { background: #0c2d42; color: rgba(255,255,255,0.8); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 48px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-top: 12px; }
.footer-col h5 { color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-col ul li a:hover { color: #7dd3fc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-legal a:hover { color: #7dd3fc; }
.disclaimer { background: #f8fafc; border-top: 1px solid var(--blue-border); padding: 14px 20px; font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-wrap { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  nav#main-nav { display: none; }
  nav#main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--blue-border); padding: 10px; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .ins-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
}
