/* ============================================
   HORIZON CLINICAL RESEARCH — Design System
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1E2A38;
  --navy-mid:    #263548;
  --navy-light:  #2E4058;
  --gold:        #D9A441;
  --gold-light:  #E8BC6A;
  --gold-dark:   #B8882A;
  --gray:        #B7B7B7;
  --gray-light:  #E0DDD8;
  --ivory:       #F7F5F1;
  --white:       #FFFFFF;
  --text-body:   #3C4A5C;
  --text-muted:  #7A8699;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  --radius:     4px;
  --radius-md:  8px;
  --shadow-sm:  0 1px 4px rgba(30,42,56,0.08);
  --shadow-md:  0 4px 20px rgba(30,42,56,0.12);
  --shadow-lg:  0 10px 40px rgba(30,42,56,0.18);
  --transition: all 0.2s ease;
  --max-width:  1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--ivory);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-muted);
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section        { padding: var(--space-3xl) 0; }
.section--sm    { padding: var(--space-xl) 0; }
.section--dark  { background-color: var(--navy); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ivory); }
.section--ivory { background-color: var(--ivory); }
.section--white { background-color: var(--white); }
.section--gold  { background-color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-lg); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold) !important; }
.text-ivory  { color: var(--ivory) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-navy   { color: var(--navy) !important; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* === ACCENT LINE === */
.accent-line {
  width: 56px; height: 3px;
  background-color: var(--gold);
  margin: 0.75rem 0 1.5rem;
}
.accent-line--center { margin: 0.75rem auto 1.5rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-decoration: none;
  white-space: nowrap;
}

.btn--primary  { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217,164,65,0.35); }

.btn--outline  { background: transparent; color: var(--ivory); border-color: rgba(247,245,241,0.35); }
.btn--outline:hover { background: rgba(247,245,241,0.08); border-color: var(--ivory); }

.btn--outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--ivory); }

.btn--lg { padding: 1.1rem 2.6rem; font-size: 1rem; }

/* === NAVIGATION === */
.nav {
  position: sticky; top: 0; z-index: 200;
  background-color: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
}
/* Keep old text styles in case used elsewhere */
.nav__logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ivory); letter-spacing: 0.01em;
}
.nav__logo-sub {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

.nav__right { display: flex; align-items: center; gap: var(--space-md); }

.nav__phone { font-size: 0.78rem; color: var(--gray); }
.nav__phone a { color: var(--gold); font-weight: 600; }
.nav__phone a:hover { color: var(--gold-light); }

.nav__links {
  display: flex; align-items: center; list-style: none;
  gap: 0.25rem;
}
.nav__links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(247,245,241,0.65);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--gold); background: rgba(217,164,65,0.08); }

.nav__cta-link {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
}
.nav__cta-link:hover { background-color: var(--gold-dark) !important; color: var(--navy) !important; }

/* Mobile nav */
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--ivory); transition: var(--transition); border-radius: 2px; }

.nav__mobile {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--navy-mid); padding: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-direction: column; gap: 0.25rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(247,245,241,0.7);
  padding: 0.75rem var(--space-sm);
  border-radius: var(--radius); transition: var(--transition);
}
.nav__mobile a:hover { color: var(--gold); background: rgba(217,164,65,0.08); }

/* === HERO === */
.hero {
  background-color: var(--navy);
  padding: calc(var(--space-3xl) + 1rem) 0 var(--space-3xl);
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}

/* Background video */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay: dark navy gradient so text is always legible */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 42, 56, 0.82) 0%,
    rgba(30, 42, 56, 0.65) 55%,
    rgba(30, 42, 56, 0.35) 100%
  );
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
  opacity: 0.3; z-index: 1;
}

.hero__inner { max-width: 800px; }

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.75rem);
  font-weight: 700; line-height: 1.07;
  color: var(--ivory);
  margin-bottom: var(--space-md);
}
.hero__title em { font-style: italic; color: var(--gold); }

.hero__text {
  font-size: 1.125rem; line-height: 1.85;
  color: rgba(247,245,241,0.72);
  max-width: 600px; margin-bottom: var(--space-xl);
}

.hero__actions { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%);
  color: rgba(217,164,65,0.4); font-size: 1.25rem;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === STATS BAR === */
.stats { background-color: var(--gold); }

.stats__inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  padding: var(--space-md) 0;
}

.stats__item {
  text-align: center; padding: var(--space-md) var(--space-sm);
  position: relative;
}
.stats__item + .stats__item::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(30,42,56,0.18);
}
.stats__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--navy); line-height: 1;
  margin-bottom: 0.3rem;
}
.stats__label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(30,42,56,0.65);
}

/* === INTRO === */
.intro__content { max-width: 740px; margin: 0 auto; text-align: center; }
.intro__lead {
  font-size: 1.2rem; line-height: 1.9; color: var(--text-body);
  margin-bottom: var(--space-lg);
}

/* === RESEARCH CARDS === */
.research-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.research-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.research-card__top {
  height: 190px; position: relative;
  background-color: var(--navy);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.research-card__top::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 4px; background: var(--gold);
}

.research-card__body { padding: var(--space-lg); }

.research-card__icon {
  font-size: 2.25rem; margin-bottom: var(--space-sm);
  display: block;
}
.research-card__title { font-size: 1.45rem; margin-bottom: 0.5rem; }
.research-card__text { font-size: 0.92rem; color: var(--text-muted); margin-bottom: var(--space-md); }
.research-card__link {
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.research-card__link:hover { gap: 0.7rem; }

/* === WHY PARTICIPATE === */
.why__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-2xl);
  margin-top: var(--space-xl);
}

.why-item { display: flex; gap: var(--space-md); align-items: flex-start; }

.why-item__num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(217,164,65,0.12); border: 1.5px solid rgba(217,164,65,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 700; color: var(--gold); margin-top: 2px;
}

.why-item__title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  color: var(--ivory); margin-bottom: 0.4rem;
}
.why-item__text {
  font-size: 0.88rem; color: rgba(247,245,241,0.62);
  line-height: 1.75; margin-bottom: 0;
}

.why__cta { margin-top: var(--space-xl); text-align: center; }
.why__cta p { color: rgba(247,245,241,0.55); font-size: 0.9rem; margin-bottom: var(--space-md); }

/* === PROCESS === */
.process__steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--space-lg); margin-top: var(--space-xl);
  position: relative;
}
.process__steps::before {
  content: ''; position: absolute; top: 27px;
  left: calc(16.67% + 27px); right: calc(16.67% + 27px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gray-light) 100%);
}

.process-step { text-align: center; }
.process-step__num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md); position: relative; z-index: 1;
}
.process-step__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step__text  { font-size: 0.88rem; color: var(--text-muted); }

/* === BLOG CARDS === */
.blog-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card__img {
  height: 175px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem;
}

.blog-card__img--placeholder { opacity: 0.4; }

.blog-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.blog-card__title { font-size: 1.05rem; line-height: 1.4; margin-bottom: var(--space-sm); flex: 1; }
.blog-card__link {
  font-size: 0.75rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.blog-card__link:hover { gap: 0.7rem; }

/* === CTA BAND === */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }

.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-lg);
}

.cta-band__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ivory); margin-bottom: 0.375rem;
}
.cta-band__text { color: rgba(247,245,241,0.6); font-size: 1rem; margin: 0; }

/* === TEAM CARDS === */
.team-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.team-card__photo {
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(217,164,65,0.18);
}
.team-card__body { padding: var(--space-lg); }
.team-card__name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.team-card__title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-sm);
}
.team-card__bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.78; }

/* === CREDENTIALS === */
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-md); }
.cred-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}
.cred-list__dot {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: 0.5rem;
}

/* === BENEFIT ROWS === */
.benefit-rows { display: flex; flex-direction: column; gap: var(--space-md); }
.benefit-row {
  display: flex; gap: var(--space-md); align-items: flex-start;
  background: var(--white); border-radius: var(--radius-md);
  padding: var(--space-md); box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.benefit-row__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(217,164,65,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem;
}
.benefit-row__title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; font-family: 'Inter', sans-serif; }
.benefit-row__text  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* === CONTACT DETAILS === */
.contact-detail { display: flex; gap: var(--space-sm); align-items: flex-start; margin-bottom: var(--space-md); }
.contact-detail__icon { flex-shrink: 0; color: var(--gold); font-size: 1.1rem; margin-top: 2px; }
.contact-detail__label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.15rem;
}
.contact-detail__val { font-size: 0.95rem; color: var(--navy); line-height: 1.55; }
.contact-detail__val a { color: var(--navy); }
.contact-detail__val a:hover { color: var(--gold); }

/* === HOURS TABLE === */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table tr { border-bottom: 1px solid var(--gray-light); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.6rem 0; color: var(--text-body); }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }

/* === FORM === */
.form-group { margin-bottom: var(--space-md); }
.form-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  background: var(--white); font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: var(--navy);
  outline: none; transition: var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,0.15);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }
.form-privacy { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--space-md); }

/* === PAGE HEADER === */
.page-header {
  background-color: var(--navy);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  display: flex;
  align-items: center;
}

/* Background image or video */
.page-header__bg,
.page-header__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay — heavier for video (more varied content) */
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 42, 56, 0.88) 0%,
    rgba(30, 42, 56, 0.72) 50%,
    rgba(30, 42, 56, 0.50) 100%
  );
  z-index: 1;
}

/* Gold accent line at the bottom of the header */
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
  opacity: 0.3;
  z-index: 2;
}

.page-header__inner {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

/* === FAQ === */
.faq { border-top: 1px solid var(--gray-light); }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-md) 0; background: none; border: none; cursor: pointer;
  text-align: left; gap: var(--space-md);
}
.faq-q__text { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); }
.faq-q__icon { color: var(--gold); font-size: 1.25rem; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-q__icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 var(--space-md); font-size: 0.95rem; color: var(--text-muted); max-width: 680px; }
.faq-item.open .faq-a { display: block; }

/* === SPONSORS PAGE === */
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); }
.metric-box {
  background: rgba(217,164,65,0.08); border: 1px solid rgba(217,164,65,0.2);
  border-radius: var(--radius-md); padding: var(--space-lg); text-align: center;
}
.metric-box__num {
  font-family: 'Playfair Display', serif; font-size: 2.75rem;
  font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 0.3rem;
}
.metric-box__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,245,241,0.55); }

.capability-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.capability-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: rgba(247,245,241,0.75); }
.capability-list__bullet { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
/* Default li color above is tuned for dark sections; darken it on light (ivory/white) sections */
.section--ivory .capability-list li,
.section--white .capability-list li { color: var(--text-body); }

/* === BLOG PAGE === */
.blog-header-post {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-xl);
}
.blog-header-post__img {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(217,164,65,0.2); min-height: 280px;
}
.blog-header-post__body { padding: var(--space-xl) var(--space-lg); display: flex; flex-direction: column; justify-content: center; }
.blog-header-post__date {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
}
.blog-header-post__title { font-size: clamp(1.25rem, 2vw, 1.75rem); margin-bottom: var(--space-sm); }
.blog-header-post__excerpt { font-size: 0.95rem; color: var(--text-muted); margin-bottom: var(--space-md); }

/* === FOOTER === */
.footer { background: var(--navy); padding: var(--space-3xl) 0 var(--space-lg); }

.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr 1.5fr;
  gap: var(--space-xl); margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(247,245,241,0.08);
}

.footer__logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--ivory);
  display: block; margin-bottom: 0.2rem;
}
.footer__logo-sub {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); display: block;
  margin-bottom: var(--space-md);
}
.footer__desc { font-size: 0.875rem; color: rgba(247,245,241,0.5); line-height: 1.78; margin-bottom: var(--space-md); }

.footer__col-title {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--space-md);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__links a { font-size: 0.875rem; color: rgba(247,245,241,0.5); transition: var(--transition); }
.footer__links a:hover { color: var(--ivory); }

.footer__contact-row { display: flex; gap: 0.6rem; margin-bottom: 0.65rem; align-items: flex-start; }
.footer__contact-icon { color: var(--gold); flex-shrink: 0; font-size: 0.9rem; margin-top: 3px; }
.footer__contact-text { font-size: 0.85rem; color: rgba(247,245,241,0.55); line-height: 1.6; }
.footer__contact-text a { color: rgba(247,245,241,0.7); }
.footer__contact-text a:hover { color: var(--gold); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-sm);
}
.footer__copyright { font-size: 0.78rem; color: rgba(247,245,241,0.3); }
.footer__bottom-links { display: flex; gap: var(--space-md); list-style: none; }
.footer__bottom-links a { font-size: 0.78rem; color: rgba(247,245,241,0.3); transition: var(--transition); }
.footer__bottom-links a:hover { color: rgba(247,245,241,0.7); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .metric-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 4rem; --space-2xl: 3rem; }

  /* Nav */
  .nav__links, .nav__phone { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero — shorter on mobile so content isn't buried */
  .hero { min-height: 75vh; padding: var(--space-2xl) 0; }

  /* Page headers — reduce height on mobile */
  .page-header { min-height: 38vh; padding: var(--space-xl) 0 var(--space-lg); }

  /* Grids collapse to single column */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .process__steps::before { display: none; }
  .metric-grid { grid-template-columns: 1fr; }

  /* CTA band stacks */
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__inner > div:last-child { justify-content: center; }

  /* Blog */
  .blog-header-post { grid-template-columns: 1fr; }
  .blog-header-post__img { min-height: 180px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  /* Logo — slightly smaller on mobile */
  .nav__logo-img { height: 34px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }

  /* Stats stay 2-up — readable at this size */
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stats__num { font-size: 1.875rem; }

  /* Metric grid — single column on small phones */
  .metric-grid { grid-template-columns: 1fr; }

  /* Page header text tighter */
  .page-header { min-height: 32vh; }

  /* Buttons full-width in hero */
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Research cards — tighter padding */
  .research-card__body { padding: var(--space-md); }

  /* Why items — tighter */
  .why-item__num { width: 36px; height: 36px; font-size: 0.95rem; }

  /* Sidebar in qualify page stacks cleanly */
  .qualify-wrap { gap: var(--space-lg); }
}
