/* Strong Insurance Services — built from AI Website Pipeline spec.json
   palette + typography + tokens (output/strong-insurance/spec.json).
   Pipeline: art_director (gemini-3.1-pro-preview) -> visual_designer
   (gemini-3-pro-image) -> Claude builder. */

:root {
  /* palette from spec.design_system.palette */
  --navy: #1f2a52;
  --navy-dark: #11172d;
  --maroon: #7E300C;
  --brick: #7D0B0B;
  --gold: #d3c075;
  --gold-soft: #e7dcb6;
  --erie: #005fac; /* Erie co-brand badge ONLY */
  --ink-900: #111827;
  --ink-700: #4B5563;
  --ink-300: #D1D5DB;
  --ink-100: #F3F4F6;
  --bg: #ffffff;
  --cream: #faf7ef;
  --success: #15803D;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(17, 23, 45, .06), 0 8px 24px rgba(17, 23, 45, .08);
  --shadow-lg: 0 10px 40px rgba(17, 23, 45, .14);
  --maxw: 1180px;

  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-700); }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; color: var(--maroon); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--ink-700); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: #8f3a13; box-shadow: var(--shadow); }
.btn--ghost-light { background: transparent; color: #fff; border-color: var(--gold); }
.btn--ghost-light:hover { background: rgba(211,192,117,.16); color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--ink-100); }
.btn--block { width: 100%; }

/* ---------- header / nav ---------- */
.topbar { background: var(--navy-dark); color: var(--gold-soft); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--gold-soft); }
.topbar a:hover { color: #fff; }
.topbar .topbar__contacts { display: flex; gap: 18px; flex-wrap: wrap; }

.nav { background: var(--navy); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 46px; width: auto; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: #eef0f6; font-weight: 500; font-size: 1rem; }
.nav__links a:hover, .nav__links a.active { color: var(--gold); text-decoration: none; }
.nav__links a.active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--gold); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; }
.hero__content { padding: 92px 24px 92px 0; max-width: 600px; }
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { color: #fff; }
.hero p { color: #d8def0; font-size: 1.18rem; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.hero__media { position: relative; min-height: 460px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(31,42,82,.35) 28%, rgba(31,42,82,0) 60%); }

/* erie badge */
.erie-badge {
  display: inline-flex; align-items: center; gap: 11px; background: var(--erie); color: #fff;
  border-radius: 8px; padding: 9px 16px; font-size: .66rem; line-height: 1.25; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow);
}
.erie-badge .erie-badge__mark { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; font-style: italic; letter-spacing: 0; text-transform: none; padding-right: 11px; border-right: 1px solid rgba(255,255,255,.5); }
.erie-badge small { display: block; font-size: .72rem; letter-spacing: .04em; }

/* ---------- value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.prop .prop__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--cream); color: var(--maroon); display: grid; place-items: center; margin-bottom: 14px; }
.prop h3 { margin-bottom: .35rem; }
.prop p { margin: 0; }

/* ---------- social proof ---------- */
.proof { background: var(--cream); }
.proof__hero { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; }
.pullquote { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); font-weight: 700; line-height: 1.3; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.review .stars { font-size: 1.05rem; }
.review p { color: var(--ink-900); font-style: italic; }
.review .review__by { font-weight: 700; color: var(--navy); font-style: normal; margin-top: 12px; }

/* ---------- coverage cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__ico { width: 52px; height: 52px; border-radius: 12px; background: var(--maroon); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.card__ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .96rem; }

/* ---------- carriers strip ---------- */
.carriers { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.carriers .chip { background: #fff; border: 1px solid var(--ink-300); border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.carriers .chip--erie { border-color: var(--erie); color: var(--erie); }

/* ---------- about / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split--gold { background: linear-gradient(180deg, rgba(211,192,117,.18), rgba(211,192,117,.05)); border-radius: var(--radius-lg); padding: 40px; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; text-align: center; border-bottom: 4px solid var(--navy); }
.member .avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; }
.member.lead .avatar { background: var(--maroon); color: #fff; }
.member h3 { margin-bottom: .2rem; }
.member .role { color: var(--maroon); font-weight: 600; font-size: .95rem; }
.member .note { font-size: .9rem; margin-top: 8px; margin-bottom: 0; }

/* ---------- locations ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.loc { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.loc iframe, .loc .map-fallback { width: 100%; height: 220px; border: 0; display: block; background: var(--ink-100); }
.loc .map-fallback { display: grid; place-items: center; color: var(--navy); text-decoration: none; font-weight: 600; }
.loc__body { padding: 26px; }
.loc__body h3 { display: flex; align-items: center; gap: 8px; }
.loc dl { display: grid; grid-template-columns: 22px 1fr; gap: 8px 12px; margin: 16px 0 0; }
.loc dl dt { color: var(--maroon); }
.loc dl dd { margin: 0; color: var(--ink-900); }
.loc .badge-main { font-size: .68rem; background: var(--gold); color: var(--navy-dark); padding: 3px 9px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- quote form ---------- */
.quote-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ink-300); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--ink-700); margin-top: 8px; }

/* ---------- band CTA ---------- */
.band { background: var(--navy); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #d8def0; }

/* ---------- footer ---------- */
.footer { background: var(--navy-dark); color: #c8cfe4; padding: 56px 0 0; }
.footer a { color: #c8cfe4; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer .brand svg { height: 50px; }
.footer__tag { margin-top: 14px; font-family: var(--font-head); font-style: italic; color: var(--gold-soft); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 20px 0; font-size: .82rem; color: #9aa4c4; }
.footer__bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer__erie { display: inline-flex; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 56px 0 40px; max-width: none; }
  .hero__media { min-height: 280px; }
  .hero__media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(31,42,82,0) 60%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .props, .reviews, .team { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; gap: 0; padding: 8px 0 18px; box-shadow: var(--shadow-lg); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 24px; width: 100%; }
  .nav__links a.active { border-bottom: 0; color: var(--gold); }
  .nav__links .nav__cta { margin: 12px 24px 0; }
  .nav__toggle { display: block; }
  .topbar .wrap { justify-content: center; gap: 10px; text-align: center; }
  .cards, .cards--3, .props, .reviews, .team { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .erie-badge { width: 100%; justify-content: center; }
}
