/* Cohen Insurance Agency — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;1,500&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --ink: #16283D;
  --ink-soft: #3C5064;
  --paper: #FFFFFF;
  --paper-tint: #F2F1EC;
  --line: #DCE0DA;
  --pine: #2F5D4F;
  --pine-dark: #234A3F;
  --gold: #B98A3E;
  --max: 68rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; max-width: 42rem; }

a { color: var(--pine-dark); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--pine); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--ink);
  color: #EDEFEA;
  padding: 1.1rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #F5F4EF;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand span {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: #A9B6C2;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #DDE3E7;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: #fff; }

.site-nav .call {
  color: #F5F4EF;
  border: 1px solid #46586A;
  border-radius: 3px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.site-nav .call:hover {
  border-color: #6C7F8F;
  color: #fff;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--pine-dark);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.hero-copy p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-figure {
  justify-self: center;
}

.hero-figure svg { width: 100%; max-width: 260px; height: auto; }

/* Page header for inner pages */
.page-head {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-tint);
}

.page-head p.lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Content sections */
.section {
  padding: 3rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section.tint {
  background: var(--paper-tint);
}

.coverage-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.coverage-head .eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.coverage-head h2 { margin-bottom: 0.6rem; }

.coverage-head p.lead {
  color: var(--ink-soft);
  margin: 0 auto;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.coverage-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.6rem;
}

.coverage-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-tint);
  border-radius: 6px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.coverage-icon svg { width: 1.5rem; height: 1.5rem; }

.coverage-card h3 {
  margin-bottom: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.coverage-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.learn-more {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.learn-more:hover { text-decoration: underline; }

/* Legal / policy content */
.legal h2 {
  margin-top: 2.2rem;
}

.legal h2:first-of-type { margin-top: 0; }

.legal p, .legal li { color: var(--ink-soft); max-width: 46rem; }

.legal ul { padding-left: 1.2rem; }

.callout {
  border-left: 3px solid var(--pine);
  background: var(--paper-tint);
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0;
  border-radius: 2px;
}

.callout p { margin: 0; color: var(--ink); max-width: none; }

/* Form */
.form-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.form-intro p.lead { color: var(--ink-soft); }

.form-card {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #C6CCC7;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.field input:focus {
  border-color: var(--pine);
}

.consent-field {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.4rem;
}

.consent-field input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.consent-field label {
  font-size: 0.87rem;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
}

.required-note {
  font-size: 0.82rem;
  color: #6B7B72;
  margin: -0.4rem 0 1.2rem;
}

button.submit {
  background: var(--pine);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

button.submit:hover { background: var(--pine-dark); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #C6CFD6;
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer h3 {
  color: #F5F4EF;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: #C6CFD6;
}

.site-footer a:hover { color: #fff; }

.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-bottom {
  border-top: 1px solid #2C3E50;
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: #8FA0AC;
}

@media (max-width: 980px) and (min-width: 761px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 160px; margin: 0 auto; }
  .coverage-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-section .wrap { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 1rem; }
  .site-footer .wrap { flex-direction: column; gap: 1.6rem; }
}
