/* Bowman — An Estate Planning Law Firm — site stylesheet */

:root {
  --navy: #101d2e;
  --navy-dark: #0b1522;
  --cream: #faf8f4;
  --cream-alt: #f2efe8;
  --tan: #ddd6c8;
  --tan-text: #8a8371;
  --border: #e5e0d6;
  --gray-text: #4a5361;
  --slate: #232a33;
  --accent: #b08d57;
  --footer-text: #c2cbd9;
  --footer-label: #7d8ba0;
  --footer-border: #1c2a3d;
  --icon-bg: #f5efe3;
  --olive: #49562d;
  --cream-rgba: rgba(250, 248, 244, 0.4);
}

* { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--slate);
}

a { color: var(--navy); }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1312px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

.serif {
  font-family: 'Libre Caslon Text', Georgia, serif;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.nav__brand-name {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.nav__brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--outline { background: transparent; color: var(--cream); border: 1.5px solid var(--cream-rgba); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav__mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  padding: 88px 64px 96px 64px;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 50%;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 38%, rgba(16,29,46,0.86) 55%, rgba(16,29,46,0.35) 78%, rgba(16,29,46,0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 800px;
}
.hero__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 58px;
  line-height: 1.16;
  color: var(--cream);
  margin: 0;
  font-weight: 400;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--footer-text);
  max-width: 640px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.call-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.call-chip__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--cream-rgba);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.call-chip__label { font-size: 12px; color: #9fb0c6; }
.call-chip__value { font-size: 15px; font-weight: 600; color: var(--cream); }
.explore-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.explore-link span { font-size: 16px; font-weight: 500; color: var(--cream); }

/* ---------- Credibility strip ---------- */
.credibility {
  background: var(--navy-dark);
  padding: 26px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: center;
}
.credibility span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #9fb0c6;
}
.credibility .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Generic section ---------- */
.section {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section--bordered {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 38px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
}
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}
.service-card p, .step p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray-text);
  margin: 0;
}

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__num {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 24px;
  color: var(--accent);
}
.step h3 {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}

/* ---------- Statement ---------- */
.statement {
  position: relative;
  overflow: hidden;
}
.statement__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  z-index: 0;
}
.statement__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 35%, rgba(16,29,46,0.82) 52%, rgba(16,29,46,0.4) 72%, rgba(16,29,46,0.12) 100%);
}
.statement__content {
  position: relative;
  z-index: 2;
  padding: 104px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
}
.statement__quote {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-style: italic;
  font-size: 32px;
  color: var(--cream);
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

/* ---------- Our Promise ---------- */
.promise {
  background: var(--tan);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.promise__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 38px;
  color: var(--tan-text);
  margin: 0;
  font-weight: 400;
}
.promise__sub {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-style: italic;
  font-size: 23px;
  color: var(--navy);
  max-width: 620px;
  margin: 0;
  font-weight: 400;
}
.promise__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0;
}
.promise__foot {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- About ---------- */
.about {
  background: var(--cream-alt);
  padding: 72px 64px 32px 64px;
  display: flex;
  gap: 64px;
  align-items: center;
}
.about__photo {
  width: 380px;
  height: 460px;
  flex-shrink: 0;
  background: var(--tan);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--olive);
  padding: 18px 26px 20px;
}
.about__caption-name { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; }
.about__caption-role { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #fff; margin-top: 4px; }
.about__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}
.about__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 38px;
  line-height: 1.25;
  color: var(--navy);
  max-width: 560px;
  margin: 0;
  font-weight: 400;
}
.about__body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray-text);
  max-width: 620px;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cream-alt);
  padding: 32px 64px 96px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.contact__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.contact__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 38px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}
.contact__sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 30px;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--tan-text);
}
.contact-card__value {
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  display: block;
  overflow-wrap: anywhere;
}
.contact-card__note { font-size: 14px; color: var(--gray-text); }

.contact-cta {
  background: var(--navy);
  border-radius: 24px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.contact-cta__title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
  color: var(--cream);
  margin: 0;
  font-weight: 400;
}
.contact-cta__body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--footer-text);
  margin: 0;
}
.contact-cta__buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-cta__buttons .btn { flex: 1; min-width: 200px; padding: 16px 30px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  padding: 56px 64px 40px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.footer__brand-name {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.footer__brand-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--accent); }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-label { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--footer-label); }
.footer__col-value, .footer__col a {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--footer-text);
  text-decoration: none;
}
.footer__col-links { display: flex; flex-direction: column; gap: 6px; }
.footer__legal {
  border-top: 1px solid var(--footer-border);
  padding-top: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--footer-label);
}

/* ---------- Legal pages ---------- */
.page-title {
  background: var(--cream-alt);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.page-title h1 {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 44px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}
.page-title__date { font-size: 15px; color: var(--tan-text); }

.legal-body {
  background: var(--cream);
  padding: 80px 64px 40px 64px;
  display: flex;
  justify-content: center;
}
.legal-body__inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.legal-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-text);
  margin: 0;
}
.legal-section { display: flex; flex-direction: column; gap: 14px; }
.legal-section h2 {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}
.legal-section--card {
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}
.legal-section--card .legal-fields { display: flex; flex-direction: column; gap: 16px; }
.legal-section--card p { font-size: 16px; line-height: 1.75; color: var(--gray-text); }
.legal-section--bordered-top { border-top: 1px solid var(--border); padding-top: 32px; }
.legal-contact {
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 600;
}
.legal-contact span { font-weight: 400; color: var(--gray-text); }
.legal-body a { text-decoration: underline; }
.legal-body a[style*="inherit"], .legal-contact a { color: inherit; }

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about { flex-direction: column; align-items: flex-start; gap: 32px; }
  .about__photo { width: 100%; height: 340px; }
  .hero__title { font-size: 44px; }
  .footer__cols { gap: 40px; }
}

@media (max-width: 640px) {
  .container,
  .nav, .hero, .credibility, .section, .about, .contact, .footer, .statement__content, .legal-body, .page-title {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile-cta { display: block; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    order: 3;
    padding-top: 20px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav.is-open .nav__links .btn { align-self: stretch; }

  .hero { padding-top: 48px; padding-bottom: 56px; }
  .hero__title { font-size: 32px; }
  .hero__lede { font-size: 16px; }
  .cta-row { gap: 18px; }
  .cta-row .btn { width: 100%; text-align: center; }

  .credibility { flex-direction: column; gap: 10px; padding: 24px; }
  .credibility .dot { display: none; }

  .section { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .section__title, .about__title, .contact__title { font-size: 28px; }

  .about { padding-top: 48px; padding-bottom: 8px; }
  .about__photo { height: 280px; }

  .statement__content { padding-top: 64px; padding-bottom: 64px; }
  .statement__quote { font-size: 24px; }

  .promise { padding: 56px 24px; }
  .promise__title { font-size: 28px; }
  .promise__sub { font-size: 19px; }

  .contact { padding-top: 8px; padding-bottom: 64px; }
  .contact-cta { padding: 32px 26px; }
  .contact-cta__buttons { flex-direction: column; }
  .contact-cta__buttons .btn { min-width: 0; }

  .footer { padding: 40px 24px 32px 24px; }
  .footer__cols { flex-direction: column; gap: 28px; }

  .page-title h1 { font-size: 32px; }
  .legal-section h2 { font-size: 22px; }
  .legal-section--card { padding: 24px; }
}
