/* TitleTown Benefits — static rebuild of grahambenefits.com */
:root {
  --teal: #009cbe;
  --teal-hero: #119ac2;
  --teal-dark: #007a96;
  --maroon: #761515;
  --ink: #191a1c;
  --footer-bg: #191a1c;
  --footer-text: #c8c8c8;
  --muted: #444;
  --line: #e6e6e6;
  --bg: #fff;
  --max: 1080px;
  --header-h: 168px;
  --font: "Open Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 0;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.75rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  height: 118px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--maroon);
  margin: 5px 0;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}
.site-nav a {
  color: var(--maroon);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  padding: 0.25rem 0.1rem;
  display: inline-block;
  max-width: 7.2rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
}

/* Heroes */
.hero {
  position: relative;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #123;
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-home { min-height: 420px; }
.hero-home img.hero-bg { object-position: center 40%; }
.hero-banner { min-height: 280px; }
.hero-about { min-height: 280px; }
.hero-products { min-height: 250px; }
.hero-products img.hero-bg { object-position: center 42%; }
.hero-contact { min-height: 200px; }
.hero-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 18, 0.55);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.25rem;
  max-width: 900px;
}
.hero-tagline {
  font-size: clamp(1.85rem, 5vw, 3.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-hero);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.55),
    0 0 2px rgba(255,255,255,0.35),
    0 2px 10px rgba(0,0,0,0.45),
    0 0 3px rgba(0,40,60,0.5);
  margin: 0;
  letter-spacing: -0.01em;
}
.hero-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: 0 1px 8px rgba(255,255,255,0.35), 0 2px 10px rgba(0,0,0,0.25);
}
.hero-title .underline,
.section-title .underline {
  display: block;
  width: 3.1rem;
  height: 3px;
  background: var(--teal);
  margin: 0.55rem auto 0;
}

/* CTA row used on several pages */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.25rem 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  min-width: 148px;
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.25;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-quote {
  max-width: 168px;
  white-space: normal;
}

/* Sections */
.section { padding: 1.5rem 1.25rem 2.5rem; }
.section-narrow { max-width: 820px; margin: 0 auto; }
.section-wide { max-width: var(--max); margin: 0 auto; }
.section-title {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--teal);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-copy, .about-copy p, .about-copy li {
  color: var(--teal);
}
.about-copy p { margin: 0 0 0.85rem; }
.about-copy ul {
  margin: 0.25rem 0 1rem;
  padding-left: 1.25rem;
}
.about-copy.home-about { font-size: 1.02rem; }
.about-copy.page-about { font-size: 1.2rem; font-weight: 600; line-height: 1.45; }

/* Talk banner */
.talk-banner {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.talk-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.talk-banner .talk-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.25rem 3rem;
}
.talk-banner h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Carrier logos */
.carriers { padding: 2.25rem 1.25rem 3rem; }
.logo-grid {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem 1.25rem;
  align-items: center;
  justify-items: center;
}
.logo-grid a, .logo-grid .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 110px;
  padding: 0.25rem;
}
.logo-grid img {
  max-height: 92px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-grid img.logo-ez { max-height: 130px; }
.logo-grid img.logo-aflac { max-height: 100px; }
.logo-grid img.logo-memd { max-height: 64px; }
.logo-grid img.logo-humana { max-height: 72px; }
.logo-grid img.logo-uhc { max-height: 78px; }
.logo-grid img.logo-bcbs { max-height: 72px; }
.logo-grid img.logo-colonial { max-height: 78px; }

/* Products */
.biz-types { padding-top: 0.5rem; }
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
  margin-top: 1rem;
}
.biz-card h3 {
  margin: 0 0 0.75rem;
  text-align: center;
  color: var(--teal);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.biz-card p {
  margin: 0;
  color: var(--teal);
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.45;
}
.solutions { padding-top: 1rem; }
.solutions ul {
  max-width: 900px;
  margin: 0.5rem auto 0;
  padding-left: 1.25rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
}
.solutions li { margin: 0 0 1.15rem; }
.photo-grid {
  max-width: 1000px;
  margin: 1.5rem auto 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem 3rem;
  padding: 0.5rem 0 1rem;
}
.contact-intro h2, .contact-info h2 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-intro > p, .contact-info .sub {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row { margin-bottom: 0.95rem; }
.form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #bfbfbf;
  border-radius: 2px;
  padding: 0.55rem 0.6rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-actions { text-align: center; margin: 0.5rem 0 0; }
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.contact-info address {
  font-style: normal;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-info a { color: var(--ink); text-decoration: none; }
.contact-info a:hover { color: var(--teal); text-decoration: underline; }

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
  color: var(--teal);
  font-size: 1rem;
  line-height: 1.55;
}
.legal h1 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
}
.legal h2 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
}
.legal p { margin: 0 0 0.7rem; }
.legal ul { margin: 0.2rem 0 0.8rem; padding-left: 1.2rem; }
.legal li { margin: 0.15rem 0; }
.legal a { color: var(--teal-dark); }

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1.65rem 1.25rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.site-footer p { margin: 0; }
.footer-links {
  margin-top: 0.55rem;
}
.footer-links a {
  color: #9aa0a3;
  text-decoration: none;
  margin: 0 0.55rem;
  font-size: 0.75rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Mobile */
@media (max-width: 800px) {
  .header-inner {
    justify-content: space-between;
    min-height: 88px;
    padding: 0.4rem 0.9rem;
  }
  .logo img { height: 68px; max-width: 180px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    z-index: 50;
  }
  .site-header { position: relative; }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.75rem;
    gap: 0;
  }
  .site-nav a {
    max-width: none;
    display: block;
    text-align: left;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
  .hero-home { min-height: 280px; }
  .hero-tagline { font-size: 1.7rem; padding: 0 0.5rem; }
  .cta-row { gap: 1.25rem; }
  .biz-grid, .logo-grid, .photo-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .logo-grid img.logo-ez { max-height: 110px; }
  .photo-grid img { height: 220px; }
  .about-copy.page-about { font-size: 1.05rem; }
  .solutions ul { font-size: 1rem; font-weight: 600; }
}

@media (max-width: 520px) {
  .logo-grid { grid-template-columns: 1fr 1fr; }
}
