@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2744;
  --navy-dark: #0f1829;
  --navy-mid: #243156;
  --gold: #b8860b;
  --gold-light: #d4a843;
  --cream: #f7f4ed;
  --cream-dark: #ebe6dc;
  --slate: #3d4a5c;
  --slate-light: #5c6778;
  --white: #ffffff;
  --border: #cfc9bd;
  --shadow: 0 2px 12px rgba(26,39,68,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.65;
}

/* ── HEADER ── */
header {
  background: var(--navy-dark);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-area img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .firm {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
}

nav {
  display: flex;
  gap: 0;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 1.1rem;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* Mobile nav toggle */
.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(--white);
  transition: 0.3s;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ── MAIN CONTENT ── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.content-card {
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  border-top: 4px solid var(--navy);
}

.content-card h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.content-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  color: var(--navy-mid);
  margin: 1.5rem 0 0.6rem;
}

.content-card p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.content-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.content-card ul li {
  color: var(--slate);
  font-size: 0.95rem;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
}

.content-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.content-card a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.content-card a:hover {
  border-bottom-color: var(--gold);
}

/* Legal content specific */
.legal-content h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--cream-dark);
}

.legal-content p {
  font-size: 0.92rem;
  color: #555;
}

.legal-banner {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 1.2rem 1.5rem;
  font-size: 0.78rem;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  border-left: 4px solid var(--gold);
}

/* ── HOMEPAGE SPECIFIC ── */
.home-hero {
  background: var(--navy-dark);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.home-hero-inner {
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.home-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 1.2rem;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 2.2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-phones {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-phone {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}

.hero-phone span {
  color: var(--gold-light);
  font-weight: 600;
}

/* Services section */
.services-section {
  background: var(--cream);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.service-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
}

.service-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  flex: 0 0 2rem;
  line-height: 1.4;
}

.service-body {
  flex: 1;
  min-width: 0;
}

.service-body h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* About strip */
.about-strip {
  background: var(--navy);
  padding: 3.5rem 2rem;
  text-align: center;
}

.about-strip-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-strip h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.about-strip p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.about-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* Pillars section */
.pillars {
  background: var(--cream-dark);
  padding: 3.5rem 2rem;
}

.pillars-inner > .section-sub {
  margin-bottom: 2.5rem;
}

.pillars-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.65rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--slate-light);
  font-size: 0.92rem;
  margin-bottom: 0;
  font-style: italic;
  font-family: 'Libre Baskerville', serif;
}

.pillars-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pillar {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillar-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

.pillar a {
  color: var(--gold);
  text-decoration: none;
}

.pillar a:hover {
  text-decoration: underline;
}

/* Contact strip */
.contact-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.contact-strip h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.contact-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.contact-item {
  font-size: 0.88rem;
  color: var(--slate);
}

.contact-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: var(--slate);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.contact-footer-links {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-top: 0.75rem;
}

.contact-footer-links a {
  color: var(--gold);
  text-decoration: none;
}

.contact-footer-links a:hover {
  text-decoration: underline;
}

/* ── OPT-IN / OPT-OUT FORMS ── */
.form-section {
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  border-top: 4px solid var(--navy);
}

.form-section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.wufoo-form-section {
  padding-bottom: 2rem;
}

.wufoo-embed {
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.wufoo-embed iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  max-width: 100%;
}

.form-intro {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--slate);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.consent-box {
  background: #fffbf3;
  border: 1px solid #e8d8b0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
}

.consent-box label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
}

.consent-box input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.5rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border-radius: 2px;
}

.btn-primary:hover {
  background: var(--navy-mid);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.opt-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.opt-channel {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 2px;
}

.opt-channel strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.opt-channel p {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.75rem;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--white);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  padding: 0.65rem 1.4rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--navy-dark);
}

.cookie-btn-accept:hover {
  background: var(--gold-light);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ── SUCCESS MESSAGE ── */
.success-msg {
  display: none;
  background: #f0faf4;
  border: 1px solid #a8d5b8;
  border-left: 4px solid #2d7a4f;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  color: #1a4a2e;
  font-size: 0.92rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-inner { padding: 0 1.2rem; }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0;
  }

  nav.open { display: flex; }

  nav a {
    height: auto;
    padding: 0.75rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    margin: 0;
  }

  nav a:hover, nav a.active {
    border-left-color: var(--gold-light);
    border-bottom: none;
  }

  .nav-toggle { display: flex; }

  .services-inner { padding: 0 1.25rem; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 1.5rem;
  }

  .pillars-list { grid-template-columns: 1fr; }
  .opt-channels { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .content-card { padding: 1.5rem; }
  .form-section { padding: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .cookie-banner { padding: 1rem 1.25rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }

  .home-hero { padding: 3rem 1.25rem; min-height: auto; }
  .hero-phones { flex-direction: column; gap: 0.5rem; }
  .hero-phone { display: block; }

  .wufoo-form-section { padding: 1.5rem 1.25rem; }
  .wufoo-embed iframe { min-height: 520px; }

  main { padding: 2rem 1.25rem 4rem; }
  .contact-grid { flex-direction: column; gap: 1.25rem; }
}
