/* =============================================
   Hunter Chaumont — GEICO Local Agent
   Style Sheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #003087;
  --green:  #00A651;
  --green-dark: #007a3d;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --mid:    #e8ecf1;
  --text:   #1a1a2e;
  --muted:  #5a6270;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,48,135,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .3px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #002060; }

.section-label {
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: 1.5px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* --- Header --- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1rem; font-weight: 700; color: var(--navy); }
.logo-tag  { font-size: .72rem; color: var(--muted); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.site-nav a:hover,
.site-nav a.active { border-bottom-color: var(--green); color: var(--green-dark); }
.nav-cta { background: var(--green); color: var(--white) !important; padding: 10px 20px; border-radius: var(--radius); border: none !important; }
.nav-cta:hover { background: var(--green-dark) !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0;
  transition: .2s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #001a5c 60%, #002a80 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,166,81,.25);
  color: #6ef5b0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: #6ef5b0; }
.hero p {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(4px);
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #c8d8f8;
}
.hero-info-list { display: flex; flex-direction: column; gap: 14px; }
.hero-info-item { display: flex; align-items: center; gap: 14px; }
.hero-icon {
  width: 40px; height: 40px;
  background: rgba(0,166,81,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-info-label { font-size: .75rem; opacity: .65; }
.hero-info-value { font-size: .98rem; font-weight: 600; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 20px;
}
.star { color: #ffd700; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--mid);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.trust-item strong { color: var(--navy); }
.trust-dot { width: 5px; height: 5px; background: var(--mid); border-radius: 50%; }

/* --- Products / Services Cards --- */
.products { padding: 80px 0; background: var(--white); }
.products-header { text-align: center; margin-bottom: 48px; }
.products-header .section-sub { margin: 0 auto; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  border: 1.5px solid var(--mid);
  border-radius: 10px;
  padding: 30px 24px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--navy);
  transform: translateY(-3px);
}
.product-icon {
  width: 52px; height: 52px;
  background: var(--light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.product-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.product-card p  { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 20px; }
.product-link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.product-link:hover { color: var(--navy); }

/* --- About Preview --- */
.about-preview {
  background: var(--light);
  padding: 80px 0;
}
.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  background: linear-gradient(135deg, var(--navy) 0%, #0049cc 100%);
  border-radius: 14px;
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,.2);
  overflow: hidden;
}
.about-photo-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,166,81,.35);
}
.about-photo-badge-num { font-size: 1.6rem; font-weight: 900; display: block; }
.about-photo-badge-txt { font-size: .72rem; font-weight: 600; opacity: .9; text-transform: uppercase; letter-spacing: .5px; }
.about-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .95rem; color: var(--text);
}
.about-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.states-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.state-badge {
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- Reviews --- */
.reviews { padding: 80px 0; background: var(--navy); color: var(--white); }
.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-header .section-label { color: #6ef5b0; }
.reviews-header .section-title { color: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.review-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 24px;
}
.review-stars { font-size: 1rem; margin-bottom: 12px; }
.review-text { font-size: .93rem; opacity: .85; line-height: 1.6; margin-bottom: 16px; }
.review-author { font-size: .85rem; font-weight: 700; opacity: .7; }
.reviews-cta { text-align: center; }
.reviews-total {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 40px;
  padding: 12px 28px;
  margin-bottom: 24px;
}
.reviews-total .num { font-size: 1.8rem; font-weight: 900; }
.reviews-total .lbl { font-size: .85rem; opacity: .7; line-height: 1.3; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--green);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Footer --- */
.site-footer {
  background: #0d1b3e;
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.05rem; }
.footer-brand .logo-tag  { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .88rem; margin-top: 16px; opacity: .7; max-width: 280px; line-height: 1.65; }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; opacity: .7; transition: opacity .15s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-icon { opacity: .5; flex-shrink: 0; margin-top: 2px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  opacity: .55;
}

/* --- Inner Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #001a5c 100%);
  color: var(--white);
  padding: 56px 0;
}
.page-hero-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; margin-bottom: 8px; }
.page-hero p  { font-size: 1.05rem; opacity: .82; max-width: 540px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; opacity: .6; margin-bottom: 12px; }
.breadcrumb a:hover { opacity: 1; }

/* --- Content Sections --- */
.content-section { padding: 72px 0; }
.content-section.alt { background: var(--light); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.flip > :first-child { order: 2; }
.two-col.flip > :last-child  { order: 1; }

.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-bullet {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.feature-item p  { font-size: .9rem; color: var(--muted); }

.content-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.content-card.navy { background: var(--navy); color: var(--white); }
.content-card.navy .section-title { color: var(--white); }
.content-card.navy p { opacity: .85; }

/* --- About Page Specifics --- */
.bio-block { padding: 72px 0; background: var(--white); }
.bio-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.bio-photo {
  background: linear-gradient(135deg, var(--navy) 0%, #0049cc 100%);
  border-radius: 14px;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
  color: rgba(255,255,255,.15);
}
.bio-info { display: flex; flex-direction: column; gap: 28px; }
.info-group h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .8px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--light);
  border: 1px solid var(--mid);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .83rem;
  color: var(--text);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-preview-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.flip > :first-child { order: 0; }
  .two-col.flip > :last-child  { order: 0; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { aspect-ratio: 3/2; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 16px; }
  .menu-toggle { display: block; }
  .trust-inner { gap: 20px; }
  .trust-dot { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
}
