/* Callahan | Inman — Family Law & Estate Planning
   Palette: deep navy + forest green (from the firm's own wordmark) on warm ivory
   Type: Playfair Display (headings) + Inter (body) */

:root {
  --navy: #0a2540;
  --navy-2: #0f3a63;
  --navy-soft: #14456f;
  --green: #0d5c3f;
  --green-dark: #093f2b;
  --cream: #faf6ee;
  --cream-2: #f2ead9;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --gold: #b8935f;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4, .display-serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
}

a { text-decoration: none; }

.text-green { color: var(--green); }
.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-pad { padding: 6rem 0; }
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
}

.divider-line {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}
.mx-auto.divider-line { margin-left: auto; margin-right: auto; }

/* Navbar */
.navbar-cw {
  background: rgba(10, 37, 64, 0.97);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 18px rgba(0,0,0,0.15);
}
.navbar-cw .navbar-brand img {
  height: 34px;
  width: auto;
}
.navbar-cw .nav-link {
  color: #dfe7ee !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.35rem;
  padding: 0.5rem 0.6rem !important;
  white-space: nowrap;
}
.navbar-cw .nav-link:hover { color: #ffffff !important; }
.navbar-cw .btn-call-nav {
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.navbar-cw .btn-call-nav:hover { background: var(--green-dark); color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,0.4); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 22%/cover no-repeat;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(10,37,64,0.55) 0%, rgba(10,37,64,0.25) 40%, rgba(10,37,64,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.75rem 2rem;
  margin: 0 1rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}
.hero-eyebrow {
  color: #d7e6da;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #f1f4f6;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  color: #cfe3d6;
  font-size: 0.95rem;
  margin-top: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.btn-hero-primary {
  background: var(--green);
  border: none;
  color: #fff;
  padding: 0.9rem 2.1rem;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-hero-primary:hover { background: var(--green-dark); color: #fff; }
.btn-hero-secondary {
  border: 1.5px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 0.9rem 2.1rem;
  border-radius: 40px;
  font-weight: 600;
  background: transparent;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Stats */
.stat-block {
  background: var(--navy);
  border-radius: 14px;
  padding: 2rem 1.25rem;
  text-align: center;
  height: 100%;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  color: #b9c9d6;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

/* About image */
.about-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10,37,64,0.18);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Practice area cards */
.practice-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: 0 16px 34px rgba(10,37,64,0.16);
}
.practice-card .practice-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.practice-card:hover .practice-bg { transform: scale(1.06); }
.practice-card .practice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0.92) 100%);
}
.practice-card.gradient-card .practice-bg {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
}
.practice-card-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}
.practice-card-body h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.practice-tags span {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  color: #f2f6f4;
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  border-radius: 30px;
}

/* Also handling icon row */
.mini-icon-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 18px rgba(10,37,64,0.06);
}
.mini-icon-card i {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.6rem;
  display: inline-block;
}
.mini-icon-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* Estate planning band */
.estate-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eef2f5;
  position: relative;
  overflow: hidden;
}
.estate-band h2 { color: #fff; }
.estate-band p { color: #c9d5df; }
.estate-icon-row .mini-icon-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}
.estate-icon-row .mini-icon-card h4 { color: #fff; }
.estate-icon-row .mini-icon-card i { color: #8fd6b2; }

/* Team */
.attorney-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10,37,64,0.1);
  height: 100%;
}
.attorney-photo { aspect-ratio: 253 / 341; overflow: hidden; }
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attorney-info { padding: 1.4rem 1.4rem 1.6rem; }
.attorney-info h3 { font-size: 1.25rem; margin-bottom: 0.15rem; }
.attorney-info .role { color: var(--green); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.9rem; }
.attorney-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.attorney-badges img { height: 58px; width: auto; }

.roster-panel {
  background: #fff;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 26px rgba(10,37,64,0.06);
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem 1rem;
}
@media (max-width: 991px) {
  .roster-grid { grid-template-columns: repeat(1, 1fr); }
}
.roster-grid div {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.5rem 0.1rem;
  border-bottom: 1px dashed rgba(10,37,64,0.12);
}

/* Consultation CTA */
.consult-section {
  background: var(--cream-2);
}
.consult-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10,37,64,0.16);
}
.consult-photo img { width: 100%; display: block; }

/* FAQ / Resources */
.accordion-cw .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,37,64,0.14);
  border-radius: 0 !important;
}
.accordion-cw .accordion-button {
  background: transparent;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  padding: 1.2rem 0.25rem;
  box-shadow: none !important;
}
.accordion-cw .accordion-button:not(.collapsed) { color: var(--green); background: transparent; }
.accordion-cw .accordion-button::after { filter: hue-rotate(60deg); }
.accordion-cw .accordion-body { padding: 0 0.25rem 1.4rem; color: var(--muted); }

/* Locations */
.office-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
  height: 100%;
  border-left: 3px solid var(--green);
  box-shadow: 0 6px 16px rgba(10,37,64,0.06);
}
.office-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.office-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }
.office-card.primary-office { border-left-color: var(--gold); background: var(--navy); }
.office-card.primary-office h4, .office-card.primary-office p { color: #fff; }
.office-card.primary-office .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10,37,64,0.16);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.contact-info-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 2.25rem;
  color: #fff;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card a { color: #cfe3d6; }
.contact-info-card .info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #dbe6ec;
}
.contact-info-card .info-row i { color: var(--gold); font-size: 1.1rem; width: 20px; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #b9c9d6;
  padding: 3.5rem 0 1.5rem;
}
.footer-logo-chip {
  background: #fdfbf6;
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.1rem;
}
.footer-logo-chip img { height: 30px; width: auto; display: block; }
footer.site-footer h5 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
footer.site-footer a { color: #b9c9d6; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  margin-right: 0.6rem;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); }
.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}
.footer-powered a {
  color: #8fd6b2;
  font-weight: 600;
}
.legal-links {
  font-size: 0.78rem;
  color: #7f92a2;
  text-align: center;
  margin-top: 0.75rem;
}
