/* Streeter Insurance Group — warm, modern, professional
   Mobile-first. Sticky top nav on every page. */

:root {
  --forest: #1f4a3f;           /* primary — deep warm forest green */
  --forest-dark: #14342c;
  --forest-soft: #2d5a4f;
  --clay: #d97757;             /* warm terracotta accent for buttons */
  --clay-dark: #b85c3f;
  --cream: #faf6ef;            /* warm off-white background */
  --cream-soft: #f1e9dc;       /* slightly deeper cream for alt sections */
  --paper: #fffdf9;            /* card background */
  --ink: #2a2520;              /* warm dark text */
  --ink-soft: #5a544c;         /* secondary text */
  --line: #e5dcc9;             /* warm border */
  --gold: #c89b4a;             /* small trust marks only */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--forest); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--clay); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Top navigation ---- */
.nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 246, 239, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-brand .logo-svg {
  height: 46px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover { background: var(--cream-soft); color: var(--forest); }
.nav-links a.active { color: var(--forest); background: var(--cream-soft); font-weight: 600; }
/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid var(--clay);
  transition: all 0.15s ease;
  text-align: center;
  letter-spacing: 0.1px;
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.25);
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217, 119, 87, 0.35); }
.btn-lg { font-size: 19px; padding: 18px 38px; }
.btn-outline {
  background: transparent; color: var(--forest); border-color: var(--forest);
  box-shadow: none;
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 64px;
  background: var(--cream);
}
.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-weight: 700;
  max-width: 820px;
}
.hero p.lede {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-with-image {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.hero-with-image .hero-copy h1 { font-size: 40px; }
.hero-with-image .hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 74, 63, 0.18);
  aspect-ratio: 4 / 5;
  background: var(--cream-soft);
}
.hero-with-image .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-soft); }
.section h2 {
  font-size: 34px;
  color: var(--forest);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  font-weight: 700;
}
.section h2.center { text-align: center; }
.section .lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 720px;
  line-height: 1.6;
}
.section .lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Specialty cards (homepage) ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--clay);
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover { border-color: var(--clay); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(31, 74, 63, 0.1); }
.card:hover::before { opacity: 1; }
.card .card-icon {
  width: 48px; height: 48px;
  background: var(--cream-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}
.card h3 { font-size: 24px; color: var(--forest); margin-bottom: 12px; font-weight: 700; }
.card p { color: var(--ink-soft); margin-bottom: 22px; font-size: 16px; line-height: 1.6; }
.card-link { color: var(--clay); font-weight: 600; }
.card-link::after { content: " →"; transition: margin-left 0.15s; }
.card:hover .card-link::after { margin-left: 4px; }

/* ---- Feature grid ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature {
  padding: 28px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: all 0.15s;
}
.feature:hover { border-color: var(--clay); }
.feature h4 { font-size: 17px; color: var(--forest); margin-bottom: 10px; font-weight: 700; }
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ---- CTA box ---- */
.cta-box {
  background: var(--forest);
  background-image: linear-gradient(135deg, var(--forest) 0%, var(--forest-soft) 100%);
  color: var(--cream);
  padding: 56px 40px;
  border-radius: 14px;
  text-align: center;
  margin: 48px 0;
}
.cta-box h3 { color: var(--cream); font-size: 30px; margin-bottom: 14px; font-weight: 700; letter-spacing: -0.3px; }
.cta-box p { color: #d8e1de; margin-bottom: 28px; font-size: 18px; }

/* ---- Quote callout ---- */
.callout {
  background: var(--paper);
  border-left: 4px solid var(--clay);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  margin: 32px 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.callout strong { color: var(--forest); }

/* ---- Trust mini-strip (subtle, single-line under hero) ---- */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-line span::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

/* ---- About teaser (homepage) ---- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-teaser .teaser-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream-soft);
  box-shadow: 0 12px 32px rgba(31, 74, 63, 0.12);
}
.about-teaser .teaser-image img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser h2 { margin-bottom: 18px; }
.about-teaser p { color: var(--ink-soft); margin-bottom: 16px; font-size: 17px; line-height: 1.65; }

/* ---- About page ---- */
.about-hero {
  padding: 72px 0 48px;
  text-align: center;
  background: var(--cream);
}
.about-hero h1 { font-size: 44px; color: var(--forest); margin-bottom: 18px; letter-spacing: -0.8px; font-weight: 700; }
.about-hero p.lede { font-size: 20px; color: var(--ink-soft); max-width: 680px; margin: 0 auto; }

.story {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
}
.story h2 { font-size: 26px; color: var(--forest); margin: 40px 0 14px; font-weight: 700; }
.story p { margin-bottom: 20px; color: var(--ink-soft); }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  max-width: 540px;
  margin: 48px auto 0;
}
.contact-card .name { font-size: 22px; color: var(--forest); font-weight: 700; margin-bottom: 6px; }
.contact-card .title { font-size: 14px; color: var(--clay); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px; }
.contact-card .contact-row { font-size: 17px; color: var(--ink); margin: 8px 0; }
.contact-card a { color: var(--forest); font-weight: 600; }

/* ---- Footer ---- */
.footer {
  background: var(--forest-dark);
  color: #c9d3cf;
  padding: 56px 0 32px;
  margin-top: 80px;
  font-size: 14px;
  line-height: 1.7;
}
.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer a { color: #c9d3cf; }
.footer a:hover { color: var(--clay); }
.footer .footer-logo { margin-bottom: 18px; }
.footer .footer-logo .logo-svg { height: 58px; width: auto; display: block; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer .legal {
  border-top: 1px solid #2a4a40;
  padding-top: 24px;
  font-size: 12px;
  color: #8ca39a;
  line-height: 1.7;
}

/* ---- Mobile ---- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 2px; order: 3; overflow-x: auto; padding-top: 4px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13px; padding: 6px 10px; white-space: nowrap; }
  .nav-brand .logo-svg { height: 38px; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 34px; }
  .hero p.lede { font-size: 17px; }

  .hero-with-image { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .hero-with-image .hero-copy h1 { font-size: 32px; }
  .hero-with-image .hero-image { aspect-ratio: 16/10; order: -1; }

  .section { padding: 48px 0; }
  .section h2 { font-size: 26px; }
  .section .lede { font-size: 16px; }

  .about-hero h1 { font-size: 32px; }
  .about-hero p.lede { font-size: 17px; }

  .about-teaser { grid-template-columns: 1fr; gap: 28px; }
  .about-teaser .teaser-image { aspect-ratio: 16/10; order: -1; }

  .btn-lg { font-size: 17px; padding: 16px 28px; width: 100%; }
  .cta-box { padding: 36px 24px; }
  .cta-box h3 { font-size: 24px; }

  .footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
