/* ===== A.J. Williams Insurance Agency ===== */

:root {
  --navy: #0f2d4d;
  --navy-deep: #0a2038;
  --navy-soft: #123a63;
  --brass: #c9a24a;
  --brass-light: #e0bd6c;
  --cream: #f7f3ea;
  --ink: #1f2a37;
  --ink-soft: #57626f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin: 0;
}

a { text-decoration: none; }

.section-pad { padding: 5.5rem 0; }

.bg-cream { background: var(--cream); }
.bg-navy-deep { background: var(--navy-deep); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}
.eyebrow-light { color: var(--brass-light); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-sub {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

/* ===== Navbar ===== */
#mainNav {
  background: var(--navy);
  padding: 0.6rem 0;
  box-shadow: 0 2px 14px rgba(10, 32, 56, 0.25);
}

.brand-chip {
  background: #fdfbf6;
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-chip-lg { padding: 8px 14px; }

.brand-text {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.navbar-brand { display: flex; align-items: center; }

#mainNav .nav-link {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
}
#mainNav .nav-link:hover { color: var(--brass-light); }

.btn-quote {
  background: var(--brass);
  border: 1px solid var(--brass);
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 8px;
}
.btn-quote:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--navy-deep);
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  border-radius: 8px;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ===== Hero (split panel, photo-free) ===== */
.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 88vh;
}

.hero-left {
  flex: 1 1 56%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  min-width: 320px;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  color: var(--brass-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.3rem;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-right {
  flex: 1 1 44%;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(15,45,77,0.55) 0%, rgba(10,32,56,0.75) 100%),
    url('img/hero.webp') center 20%/cover no-repeat;
}

.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,32,56,0.55) 0%, rgba(10,32,56,0) 18%);
  pointer-events: none;
}

/* ===== Stats ===== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 45, 77, 0.08);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--brass);
  margin-bottom: 0.6rem;
  display: block;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* ===== Services ===== */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(15, 45, 77, 0.08);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: 0 6px 20px rgba(15, 45, 77, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 45, 77, 0.12);
}

.service-card > i {
  font-size: 1.9rem;
  color: var(--brass);
  margin-bottom: 0.8rem;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.service-list li {
  padding: 0.28rem 0;
  border-top: 1px dashed rgba(15, 45, 77, 0.1);
  break-inside: avoid;
}
.service-list li:first-child { border-top: none; }

.service-list-2col {
  columns: 2;
  column-gap: 1.25rem;
}

/* ===== Carriers ===== */
.carrier-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.carrier-bar a {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 76px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.carrier-bar a:hover { transform: translateY(-3px); }

.carrier-bar img {
  max-width: 130px;
  max-height: 50px;
  width: auto;
  height: auto;
}

/* ===== Quote pills / info cards ===== */
.quote-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 45, 77, 0.1);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(15, 45, 77, 0.06);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.quote-pill i { color: var(--brass); font-size: 1.05rem; }

.info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 45, 77, 0.08);
}
.info-card i {
  font-size: 1.7rem;
  color: var(--brass);
  margin-bottom: 0.7rem;
  display: block;
}
.info-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.info-card p { color: var(--ink-soft); margin-bottom: 0.5rem; }
.text-link { color: var(--navy); font-weight: 700; }
.text-link:hover { color: var(--brass); }

/* ===== Team ===== */
.team-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 45, 77, 0.08);
}
.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 2rem;
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.team-role { color: var(--brass); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.team-card a { color: var(--ink-soft); }
.team-card a:hover { color: var(--navy); }

/* ===== Resources ===== */
.resource-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: 0 6px 20px rgba(15, 45, 77, 0.05);
}
.resource-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.resource-card h3 i { color: var(--brass); }
.resource-card ul { list-style: none; padding: 0; margin: 0; }
.resource-card li { padding: 0.35rem 0; border-top: 1px dashed rgba(15,45,77,0.1); }
.resource-card li:first-child { border-top: none; }
.resource-card a { color: var(--ink-soft); font-size: 0.92rem; }
.resource-card a:hover { color: var(--brass); }

/* ===== Location ===== */
.location-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 2.25rem;
  height: 100%;
  color: rgba(255,255,255,0.9);
}
.location-card h3 {
  color: var(--brass-light);
  font-size: 1.05rem;
  margin: 1.1rem 0 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.location-card h3:first-child { margin-top: 0; }
.location-card p { margin-bottom: 0; }
.location-card a { color: #ffffff; font-weight: 600; }
.location-card a:hover { color: var(--brass-light); }

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== Footer ===== */
.footer {
  background: #0a1a2c;
  color: rgba(255,255,255,0.72);
  padding: 4rem 0 1.75rem;
}
.footer h4 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-links a { color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: var(--brass-light); }
.footer-rule { border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.25rem; }
.copyright-text, .powered-by { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.powered-by a { color: var(--brass-light); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-left { padding: 3.5rem 1.75rem; }
  .hero-right { min-height: 260px; }
  .section-pad { padding: 3.75rem 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  #mainNav .navbar-collapse { background: var(--navy); margin-top: 0.75rem; border-radius: 10px; padding: 0.75rem 1rem; }
}

@media (max-width: 575.98px) {
  .brand-text { font-size: 0.95rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}
