/* =============================================================================
   COUNSEL AND CODE, LLC — WEBSITE STYLESHEET
   Version 1.0 | counselandcode.net
   ============================================================================= */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --navy:        #0D1B3E;
  --navy-dark:   #091428;
  --navy-mid:    #132650;
  --gold:        #D4AD4A;
  --gold-light:  #F0DFB3;
  --gold-pale:   #F5EDD4;
  --off-white:   #F4F1EC;
  --white:       #FFFFFF;
  --text-dark:   #1A2237;
  --text-mid:    #4A5568;
  --text-muted:  #6B7280;
  --blue-accent: #3A7DC9;
  --blue-light:  #C8DDEF;
  --border:      #D9D3C7;
  --error:       #B91C1C;
  --success:     #166534;

  --font-heading: 'Cormorant Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-body:    'Montserrat', Calibri, 'Segoe UI', Arial, sans-serif;

  --radius:       4px;
  --radius-lg:    8px;
  --shadow:       0 4px 24px rgba(13,27,62,0.10);
  --shadow-lg:    0 8px 40px rgba(13,27,62,0.16);
  --transition:   all 0.25s ease;
  --max-width:    1160px;
  --section-pad:  80px 24px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.hero .eyebrow {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
}
.gold { color: var(--gold); }
.navy { color: var(--navy); }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad); }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--navy-mid {
  background: var(--navy-mid);
  color: var(--white);
}
.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--light { background: var(--off-white); }
.section--gold-pale { background: var(--gold-pale); }
.section--navy { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header p { color: var(--text-mid); font-size: 1.05rem; margin-top: 1rem; }
.section--dark .section-header p { color: var(--blue-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === DISCLAIMER BAR === */
.disclaimer-bar {
  background: var(--navy-dark);
  border-bottom: 2px solid var(--gold);
  padding: 10px 24px;
  text-align: center;
}
.disclaimer-bar p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-weight: 400;
}
.disclaimer-bar strong { color: var(--gold-light); font-weight: 600; }

/* === NAVIGATION === */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(184,150,62,0.25);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  margin-right: 16px;
}
.nav-logo .logo-primary {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.nav-logo .logo-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184,150,62,0.4);
}
.nav-secondary {
  background: var(--navy-dark);
  border-top: 1px solid rgba(184,150,62,0.15);
  padding: 6px 0;
}
.nav-secondary .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-secondary-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-secondary-link:hover {
  color: var(--gold-light);
}
.mobile-only {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,150,62,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
}

/* === HERO === */
.hero {
  background: var(--navy-dark);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(184,150,62,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(58,125,201,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--navy);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  font-style: italic;
  margin-bottom: 1rem;
}
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 640px; font-weight: 400; }

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.card-icon {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 20px;
  border-radius: 2px;
}
.card h3 { color: var(--navy); margin-bottom: 0.75rem; font-size: 1.35rem; }
.card p { color: var(--text-mid); font-size: 0.92rem; flex: 1; }
.card-link {
  margin-top: 1.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: '→'; transition: var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

.card--dark {
  background: var(--navy-mid);
  border-color: rgba(184,150,62,0.3);
  color: var(--white);
}
.card--dark h3 { color: var(--gold); }
.card--dark p { color: var(--blue-light); }
.card--dark:hover { border-color: var(--gold); }

/* === PILLARS === */
.pillar {
  text-align: center;
  padding: 40px 24px;
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.pillar:hover { border-top-color: var(--gold); }
.pillar .pillar-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184,150,62,0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pillar h3 { color: var(--navy); margin-bottom: 0.75rem; }
.pillar p { color: var(--text-mid); font-size: 0.9rem; }

/* === DIVIDER === */
.gold-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  margin: 0;
}
.section-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}
.section-rule--left { margin-left: 0; }

/* === STAT BLOCKS === */
.stat-block {
  text-align: center;
  padding: 32px 20px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* === QUOTE === */
.pull-quote {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
  position: relative;
}
.pull-quote blockquote {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}
.pull-quote blockquote::before {
  content: '\201C';
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  vertical-align: -0.15em;
  margin-right: 0.05em;
  font-style: normal;
}
.pull-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* === PROCESS STEPS === */
.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  min-width: 52px;
  text-align: center;
}
.step-content h3 { color: var(--navy); margin-bottom: 0.5rem; }
.step-content p { color: var(--text-mid); font-size: 0.92rem; margin: 0; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(184,150,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; font-weight: 400; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FORMS === */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.opt-in-group {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.opt-in-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.opt-in-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  border: none;
  padding: 0;
}
.opt-in-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.opt-in-text strong { color: var(--text-dark); }
.form-disclaimer {
  background: rgba(13,27,62,0.05);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}
.form-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}
.form-disclaimer strong { color: var(--navy); }

/* === CALENDAR EMBED === */
.calendar-embed-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calendar-embed-header {
  background: var(--navy);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.calendar-embed-header h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0;
}
.calendar-embed-header span {
  font-size: 0.75rem;
  color: var(--blue-light);
}
.calendar-placeholder {
  background: var(--off-white);
  padding: 56px 24px;
  text-align: center;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.calendar-placeholder p { color: var(--text-muted); font-size: 0.88rem; max-width: 400px; margin: 0; }

/* === SESSIONS (CLE) === */
.session-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.session-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.session-card-header {
  background: var(--navy);
  padding: 28px;
  position: relative;
}
.session-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(184,150,62,0.18);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}
.session-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.session-card-header h3 { color: var(--white); font-style: italic; font-size: 1.4rem; }
.session-card-body { padding: 28px; }
.session-card-body p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 1rem; }
.session-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.session-topic {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.session-topic::before {
  content: '';
  display: block;
  width: 20px;
  min-width: 20px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}

/* === ABOUT PAGE === */
.about-bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.bio-photo-frame {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: sticky;
  top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(184,150,62,0.3);
}
.bio-photo-placeholder {
  text-align: center;
  padding: 32px;
  color: var(--blue-light);
}
.bio-photo-placeholder p { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; }
.bio-text h2 { color: var(--navy); margin-bottom: 0.5rem; }
.bio-text .title-line {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem 0;
}
.credential-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  color: var(--text-mid);
}
.credential-item strong { color: var(--navy); }

/* === SERVICES DETAIL === */
.service-detail {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-label { position: sticky; top: 100px; }
.service-detail-label .eyebrow { margin-bottom: 0.5rem; }
.service-detail-label h3 { color: var(--navy); font-style: italic; }
.service-detail-label .price-range {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.service-includes {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.service-includes li::before {
  content: '';
  display: block;
  width: 20px;
  min-width: 20px;
  height: 2px;
  background: var(--gold);
  margin-top: 9px;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-dark);
  border-top: 2px solid rgba(184,150,62,0.3);
}
.footer-main {
  padding: 56px 24px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-primary {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.footer-brand .logo-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.88); line-height: 1.7; font-weight: 400; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-disclaimer {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(184,150,62,0.15);
  border-bottom: 1px solid rgba(184,150,62,0.15);
  padding: 20px 24px;
}
.footer-disclaimer .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-disclaimer p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}
.footer-disclaimer strong { color: var(--gold-light); font-weight: 600; }
.footer-legal {
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal p { font-size: 0.88rem; color: rgba(255,255,255,0.9); margin: 0; font-weight: 400; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 0.88rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.footer-legal-links a:hover { color: var(--gold); }

/* === PRIVACY POLICY === */
.policy-content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.policy-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}
.policy-content p { color: var(--text-mid); font-size: 0.92rem; }
.policy-content ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }
.policy-content ul li { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 0.4rem; line-height: 1.6; }
.policy-highlight {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.policy-highlight p { color: var(--text-dark); font-size: 0.9rem; margin: 0; }

/* === UTILITY === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === STATS GRID (5-col) === */
.grid-5-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* === AGENT GRID (5-col) === */
.grid-5-agent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* === TESTIMONIAL === */
.testimonial-section {
  background: var(--navy);
  padding: 72px 24px;
  position: relative;
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}
.testimonial-text::before {
  content: '\201C';
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  vertical-align: -0.15em;
  margin-right: 0.05em;
  font-style: normal;
}
.testimonial-attribution {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.testimonial-org {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  display: block;
  margin-top: 0.4rem;
  text-transform: none;
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
  line-height: 1.3;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-style: normal;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* === PLAYBOOK LEAD GEN === */
.lead-gen-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lead-gen-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 50%, rgba(184,150,62,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.lead-gen-content { position: relative; z-index: 1; }
.lead-gen-content .eyebrow { color: var(--gold-light); }
.lead-gen-content h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.lead-gen-content p {
  color: var(--blue-light);
  font-size: 0.92rem;
  margin: 0;
  max-width: 520px;
}
.lead-gen-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* === HARVARD VIDEO HOMEPAGE === */
.harvard-feature {
  position: relative;
  overflow: hidden;
}
.harvard-feature .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  background: var(--navy-dark);
}
.harvard-feature .video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-5-agent { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-bio { grid-template-columns: 280px 1fr; gap: 40px; }
  .lead-gen-banner { grid-template-columns: 1fr; text-align: center; }
  .lead-gen-content p { max-width: 100%; }
  .lead-gen-cta { justify-self: center; }
}

@media (max-width: 860px) {
  :root { --section-pad: 56px 0; }
  .nav-logo .logo-tagline { white-space: normal; font-size: 0.62rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-5-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-5-agent { grid-template-columns: repeat(2, 1fr); }
  .about-bio { grid-template-columns: 1fr; }
  .bio-photo-frame { position: static; aspect-ratio: auto; max-height: none; width: 100%; max-width: 320px; margin: 0 auto; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .service-detail-label { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 48px 20px 36px; }
  /* Hamburger nav at tablet — desktop nav too cramped below 860px */
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 74px; left: 0; right: 0; background: var(--navy); padding: 16px 0; border-top: 1px solid rgba(184,150,62,0.2); z-index: 999; }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 12px 24px; border-bottom: none; font-size: 0.88rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-secondary { display: none; }
  .mobile-only { display: list-item; }
  .mobile-only a { border-top: 1px solid rgba(184,150,62,0.15); color: var(--gold) !important; }
  /* iOS zoom prevention — 16px font on form inputs for all phones/tablets */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; min-height: 46px; }
  .hero { min-height: 80vh; padding: 80px 0; }
  .page-hero { padding: 72px 0 64px; }
  .cta-banner { padding: 80px 0; }
  .pull-quote { padding: 64px 0; }
  .testimonial-section { padding: 72px 0; }
  .disclaimer-bar { padding: 10px 20px; }
  .footer-disclaimer { padding: 20px 20px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5-stats { grid-template-columns: 1fr; }
  .grid-5-agent { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .nav-links a { font-size: 0.85rem; }
  .site-nav { position: relative; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 40px 16px 32px; }
  .footer-legal { flex-direction: column; text-align: center; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .form-section { padding: 28px 20px; }
  .lead-gen-banner { padding: 32px 20px; }
  .lead-gen-content h3 { font-size: 1.3rem; }
  .testimonial-text { font-size: 1.1rem; }
  .faq-question { font-size: 1.1rem; }
  .bio-photo-frame { aspect-ratio: auto; max-height: none; max-width: 280px; }
  .page-hero .lead { font-size: 0.95rem; }
  .hero { padding: 56px 0; }
  .page-hero { padding: 48px 0 40px; }
  .cta-banner { padding: 48px 0; }
  .pull-quote { padding: 48px 0; }
  .testimonial-section { padding: 48px 0; }
  .disclaimer-bar { padding: 10px 16px; }
  .footer-disclaimer { padding: 20px 16px; }
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13,27,62,0.3);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
@media (max-width: 640px) {
  .scroll-top-btn { bottom: 20px; right: 16px; width: 44px; height: 44px; font-size: 1.2rem; }
}

/* === TABLET REFINEMENTS (768px and below) === */
@media (max-width: 768px) {
  .nav-container { height: 68px; }
  .nav-links { top: 68px; }
  .nav-logo .logo-primary { font-size: 1.3rem; }
  .nav-logo .logo-tagline { font-size: 0.58rem; }
  .disclaimer-bar p { font-size: 0.72rem; }
  .page-hero h1 { font-size: 2rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; min-height: 46px; }
  .opt-in-text { font-size: 0.78rem; }
  .form-section { padding: 36px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-step { gap: 20px; }
  .step-number { font-size: 2.2rem; min-width: 40px; }
}

/* === PHONE REFINEMENTS (640px and below) === */
@media (max-width: 640px) {
  .nav-container { padding: 0 12px; height: 64px; }
  .nav-links { top: 64px; }
  .nav-logo .logo-primary { font-size: 1.2rem; }
  .nav-logo .logo-tagline { font-size: 0.55rem; }
  .nav-logo-icon { width: 36px; height: 36px; }
  .disclaimer-bar p { font-size: 0.68rem; }
  .opt-in-text { font-size: 0.75rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero .lead { font-size: 0.88rem; line-height: 1.6; }
  h2 { font-size: 1.5rem; }
  .form-section { padding: 24px 16px; }
  .container { padding: 0 16px; }
  .process-step { gap: 16px; padding: 20px 0; }
  .step-number { font-size: 1.8rem; min-width: 32px; }
  .hero { min-height: 75vh; }
  .service-detail-label .btn { padding: 12px 18px; font-size: 0.76rem; }
  .about-bio { gap: 28px; }
}

/* === SMALL PHONE (iPhone SE / 380px and below) === */
@media (max-width: 380px) {
  .nav-logo .logo-primary { font-size: 1.05rem; }
  .nav-logo .logo-tagline { font-size: 0.48rem; letter-spacing: 0.04em; }
  .nav-logo-icon { width: 32px; height: 32px; }
  .nav-container { height: 58px; }
  .nav-links { top: 58px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .hero { min-height: 70vh; }
  .form-section { padding: 20px 12px; }
  .btn { padding: 12px 20px; font-size: 0.75rem; min-height: 44px; }
  .container { padding: 0 12px; }
  .footer-main { padding: 36px 12px 28px; }
  .footer-brand .logo-primary { font-size: 1.1rem; }
  .footer-brand .logo-tagline { font-size: 0.6rem; }
  .credential-item { padding: 12px 0; }
  .agent-letter { font-size: 2.5rem; min-width: 40px; }
  .agent-step { gap: 16px; padding: 20px 0; }
  .lead-gen-banner { padding: 24px 16px; }
  .disclaimer-bar { padding: 8px 12px; }
  .footer-disclaimer { padding: 16px 12px; }
}

/* === GALAXY FOLD / EXTREME NARROW (280px and below) === */
@media (max-width: 320px) {
  .nav-logo .logo-primary { font-size: 0.95rem; }
  .nav-logo .logo-tagline { font-size: 0.44rem; letter-spacing: 0.03em; }
  .nav-logo-icon { width: 28px; height: 28px; }
  .nav-container { height: 54px; padding: 0 8px; }
  .nav-links { top: 54px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .container { padding: 0 8px; }
  .hero { min-height: 65vh; }
  .hero-sub { font-size: 0.9rem; }
  .disclaimer-bar p { font-size: 0.6rem; }
  .disclaimer-bar { padding: 6px 8px; }
  .bio-photo-frame { max-width: 220px; }
  .footer-main { gap: 24px; padding: 28px 8px 20px; }
  .btn { padding: 10px 16px; font-size: 0.7rem; }
  .form-section { padding: 16px 8px; }
  .lead-gen-banner { padding: 20px 12px; }
  .footer-disclaimer { padding: 12px 8px; }
}

/* === FOOTER + DISCLAIMER PADDING FIX FOR NARROW SCREENS === */
@media (max-width: 860px) {
  .footer-disclaimer .container { padding: 0; }
  .footer-legal.container { padding: 20px 20px; }
}
@media (max-width: 640px) {
  .footer-legal.container { padding: 16px; }
}
@media (max-width: 380px) {
  .footer-legal.container { padding: 12px; }
}
@media (max-width: 320px) {
  .footer-legal.container { padding: 10px 8px; }
}

/* === CONTACT PAGE RESPONSIVE === */
@media (max-width: 380px) {
  .contact-info-block { padding: 18px 14px !important; }
  .contact-notice-block { padding: 16px 14px !important; }
}

/* === INLINE PADDING OVERRIDES FOR NARROW SCREENS === */
@media (max-width: 640px) {
  [style*="padding: 24px 28px"],
  [style*="padding:24px 28px"] {
    padding: 20px 16px !important;
  }
  [style*="padding: 32px 24px"],
  [style*="padding:32px 24px"] {
    padding: 24px 16px !important;
  }
  [style*="padding: 48px 44px"],
  [style*="padding:48px 44px"] {
    padding: 32px 16px !important;
  }
}
@media (max-width: 380px) {
  [style*="padding: 24px 28px"],
  [style*="padding:24px 28px"] {
    padding: 16px 12px !important;
  }
  [style*="padding: 32px 24px"],
  [style*="padding:32px 24px"] {
    padding: 20px 12px !important;
  }
  [style*="padding: 24px 18px"],
  [style*="padding:24px 18px"] {
    padding: 18px 12px !important;
  }
}

/* === SERVICE ANCHOR NAV SCROLLBAR HIDE === */
.container[style*="overflow-x:auto"] {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.container[style*="overflow-x:auto"]::-webkit-scrollbar { display: none; }

/* === SERVICE ANCHOR NAV — responsive padding === */
.service-anchor-nav { padding: 0 24px; }
@media (max-width: 640px) {
  .service-anchor-nav { padding: 0 16px; }
}
@media (max-width: 380px) {
  .service-anchor-nav { padding: 0 12px; }
}
@media (max-width: 320px) {
  .service-anchor-nav { padding: 0 8px; }
}

/* === GLOBAL OVERFLOW PREVENTION === */
img, video, iframe, table, pre, svg { max-width: 100%; }
body { overflow-x: hidden; overflow-wrap: break-word; word-wrap: break-word; }
a { word-break: break-word; }
