/* =========================================================
   BE EPIC ASSISTANT LLC, Brand-accurate design system
   Colors, fonts, and logo per official brand guidelines.
   ========================================================= */
:root {
  /* Brand palette (exact, from brand guide) */
  --yellow: #FFDF2D;
  --yellow-deep: #E8C520;
  --white: #FFFFFF;
  --olive: #48442E;
  --olive-deep: #2F2C1E;
  --charcoal: #333333;
  --gold: #C9A227;

  /* Working surface */
  --bg: #FBF9F2;
  --bg-cream: #F4EFE0;
  --line: rgba(51, 51, 51, 0.12);
  --line-strong: rgba(51, 51, 51, 0.25);
  --muted: #6B6759;

  /* Type, per official brand guide */
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }

/* ============== ANNOUNCEMENT BAR, ONE SIZE ONLY ============== */
.announce {
  background: var(--charcoal);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 11px 24px;
  text-align: center;
}
.announce a {
  color: var(--yellow);
  text-decoration: none;
  margin-left: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ============== NAV ============== */
nav.main {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}
.logo-link img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.logo-link .wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-link .wordmark small {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid var(--charcoal);
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 var(--charcoal);
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--charcoal);
}
.btn-large {
  padding: 16px 28px;
  font-size: 14px;
}
.btn-ghost {
  background: transparent;
  box-shadow: none;
}
.btn-ghost:hover { background: var(--charcoal); color: var(--yellow); box-shadow: 3px 3px 0 var(--yellow-deep);}
.btn-ink {
  background: var(--charcoal);
  color: var(--yellow);
}
/* ===== Desktop nav layout ===== */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-calendly-link {
  display: none; /* shown only inside mobile menu */
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Hamburger button (hidden on desktop) ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--charcoal);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .logo-link .wordmark small { display: none; }

  /* MOBILE MENU FIX:
     backdrop-filter on the header turned it into a containing block (clipping the
     fixed slide-out menu, so it "cut off") and a stacking context capped at z-index
     100 (trapping the menu UNDER the dim overlay, so it couldn't be tapped).
     Remove the blur on mobile and lift the header above the overlay when open. */
  nav.main { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #FBF9F2; }
  body.nav-open nav.main { z-index: 1300; }

  .nav-collapse {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(82vw, 360px);
    background: var(--yellow);
    border-left: 2px solid var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1200;
  }
  .nav-collapse.open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-bottom: 24px;
  }
  .nav-links li { border-bottom: 1px solid rgba(51,51,51,0.18); }
  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 600;
  }
  .nav-links a::after { display: none; }

  .nav-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .nav-cta-group .btn { justify-content: center; width: 100%; }
  .nav-calendly-link { display: block; text-align: center; }

  /* dim the page behind the open menu */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(51,51,51,0.45);
    z-index: 1100;
  }
  body.nav-open { overflow: hidden; }
}

/* ===== Floating Book a Call button ===== */
.float-book-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  background: var(--yellow);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--charcoal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-book-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--charcoal);
}
.float-book-icon { font-size: 16px; line-height: 1; }
.float-book-btn::before {
  content: "→";
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .float-book-btn {
    bottom: 14px;
    right: 14px;
    left: 14px;
    justify-content: center;
    padding: 15px 22px;
    font-size: 15px;
  }
}

/* ============== HERO, JUST TWO SIZES: HEADLINE + SUBTEXT ============== */
.hero {
  position: relative;
  padding: 100px 32px 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 75% 5%, rgba(255, 223, 45, 0.28), transparent 60%),
    radial-gradient(ellipse 700px 600px at 10% 95%, rgba(72, 68, 46, 0.07), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* THE FIX: only two text sizes in this banner, headline + subtext. */
h1.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 28px;
}
h1.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
  position: relative;
  display: inline-block;
}
h1.hero-title em::after {
  content: "";
  position: absolute;
  left: -4%; bottom: 6%;
  width: 108%; height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.hero-sub {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual { position: relative; height: 580px; }
.hero-card {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--charcoal);
}
.hero-card.main {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 70% 30%, #FFE968 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  overflow: hidden;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(72, 68, 46, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 35%);
}
.logo-emblem {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--charcoal);
  padding: 6px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 0 var(--charcoal);
}
.logo-emblem img { width: 100%; height: 100%; border-radius: 50%; }
.hero-card.main .quote {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.hero-card.main .quote-author {
  position: relative;
  z-index: 2;
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}

.float-card {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 4px 4px 0 var(--charcoal);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
}
.float-card.f1 { bottom: -24px; left: -28px; animation: floatA 6s ease-in-out infinite; }
.float-card.f2 { top: 36%; right: -36px; animation: floatB 7s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.float-card .ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  border: 2px solid var(--charcoal);
  font-size: 14px;
}
.float-card .ico.olive { background: var(--olive); color: var(--yellow); }
.float-card small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase;}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 460px; }
  .hero { padding: 60px 32px 80px; }
}
@media (max-width: 600px) {
  .float-card.f1, .float-card.f2 { display: none; }
  .hero-visual { height: 380px; }
}

/* ============== MARQUEE ============== */
.marquee {
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 26s linear infinite;
  gap: 64px;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-item {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::before { content: "★"; color: var(--yellow); font-style: normal; font-size: 18px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============== SECTIONS, shared ============== */
section { padding: 120px 32px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 22px;
}
.section-label::before { content: ""; width: 32px; height: 2px; background: var(--yellow-deep); }
h2.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 900px;
  color: var(--charcoal);
}
h2.section-title em { font-style: italic; font-weight: 400; color: var(--olive); }
.section-lead {
  font-family: var(--body);
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

/* ============== STATS ============== */
.stats { background: var(--charcoal); color: var(--white); padding: 70px 32px; }
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat { padding: 20px 30px; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
  margin-bottom: 12px;
}
.stat-num em { font-style: italic; font-weight: 400; }
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.75;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .stat:nth-child(2) { border-right: none; }
}

/* ============== SERVICES ============== */
.services { background: var(--bg); }
.services-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  padding: 40px;
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 4px 4px 0 var(--charcoal);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charcoal); }
.service-card.featured { background: var(--yellow); }
.service-tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--yellow);
  margin-bottom: 20px;
  align-self: flex-start;
}
.service-card.featured .service-tier { background: var(--charcoal); color: var(--yellow); }
.service-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.service-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-card.featured .service-desc { color: var(--olive-deep); }
.service-list { list-style: none; margin-bottom: 28px; }
.service-list li {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0 8px 24px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--charcoal);
}
.service-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 8px;
  color: var(--olive);
  font-weight: 700;
}
.service-card.featured .service-list li { border-color: rgba(51,51,51,0.2); }
.service-card.featured .service-list li::before { color: var(--charcoal); }
.service-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--charcoal);
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; }
}

/* ============== HOW ============== */
.how {
  background: var(--olive-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 223, 45, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(72, 68, 46, 0.3) 0%, transparent 40%);
}
.how .container { position: relative; z-index: 2; }
.how .section-label { color: var(--yellow); }
.how .section-label::before { background: var(--yellow); }
.how h2.section-title { color: var(--white); max-width: 900px; }
.how h2.section-title em { color: var(--yellow); }
.how .section-lead { color: rgba(255, 255, 255, 0.7); }
.steps {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--olive-deep);
  border: 2px solid var(--yellow);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  color: var(--yellow);
  margin-bottom: 28px;
}
.step-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.step-desc { font-size: 15px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

/* ============== TEAM SECTION, real leadership photos ============== */
.team { background: var(--bg); border-top: 2px solid var(--charcoal); }
.team-header {
  text-align: left;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--charcoal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charcoal); }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--yellow);
  border-bottom: 2px solid var(--charcoal);
}
.team-info { padding: 18px 18px 22px; }
.team-info h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.team-info p { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-header { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============== TESTIMONIALS ============== */
.testimonials { background: var(--bg-cream); border-top: 2px solid var(--charcoal); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.testimonial {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  padding: 40px;
  position: relative;
  box-shadow: 4px 4px 0 var(--charcoal);
  transition: transform 0.2s ease;
}
.testimonial:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--charcoal); }
.testimonial:nth-child(2) { background: var(--yellow); }
.testimonial:nth-child(3) { background: var(--olive); color: var(--white); }
.testimonial:nth-child(3) .stars { color: var(--yellow); }
.testimonial:nth-child(3) .testi-author small { color: rgba(255,255,255,0.7); }
.testimonial:nth-child(4) { background: var(--charcoal); color: var(--white); }
.testimonial:nth-child(4) .stars { color: var(--yellow); }
.testimonial:nth-child(4) .testi-author small { color: rgba(255,255,255,0.7); }
.stars { font-size: 16px; color: var(--yellow-deep); letter-spacing: 3px; margin-bottom: 20px; }
.testi-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid currentColor;
  border-color: rgba(51,51,51,0.15);
}
.testimonial:nth-child(3) .testi-author,
.testimonial:nth-child(4) .testi-author { border-color: rgba(255,255,255,0.2); }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  border: 2px solid var(--charcoal);
}
.testi-author strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; }
.testi-author small { font-size: 12px; opacity: 0.75; font-weight: 500; }
@media (max-width: 880px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ============== VALUES ============== */
.values { background: var(--bg); }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.value-tile {
  padding: 44px 36px;
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--charcoal);
}
.value-tile:nth-child(2) { background: var(--charcoal); color: var(--white); }
.value-tile:nth-child(2) .value-num { color: var(--yellow); }
.value-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  display: grid; place-items: center;
  margin-bottom: 28px;
  font-size: 24px;
}
.value-tile:nth-child(2) .value-icon { background: var(--olive); color: var(--yellow); border-color: var(--yellow); }
.value-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--muted);
}
.value-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-text { font-size: 15px; line-height: 1.6; opacity: 0.85; }
@media (max-width: 880px) { .values-row { grid-template-columns: 1fr; } }

/* ============== FAQ ============== */
.faq-section { background: var(--bg-cream); border-top: 2px solid var(--charcoal); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-list { border-top: 2px solid var(--charcoal); }
.faq-item { border-bottom: 2px solid var(--charcoal); padding: 26px 0; cursor: pointer; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--yellow);
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 2px solid var(--charcoal);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--yellow); color: var(--charcoal); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  padding-right: 60px;
}
.faq-item.open .faq-a { max-height: 280px; margin-top: 16px; }
@media (max-width: 980px) { .faq-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ============== CTA ============== */
.cta-band {
  background: var(--yellow);
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  padding: 110px 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(232, 197, 32, 0.5) 0%, transparent 35%),
    radial-gradient(circle at 85% 50%, rgba(232, 197, 32, 0.4) 0%, transparent 35%);
}
.cta-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-inner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--charcoal);
}
.cta-inner h2 em { font-style: italic; font-weight: 400; color: var(--olive); }
.cta-inner p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--charcoal);
  opacity: 0.85;
}
.cta-inner .btn { background: var(--charcoal); color: var(--yellow); }

/* ============== FOOTER ============== */
footer { background: var(--charcoal); color: var(--white); padding: 80px 32px 32px; }
.foot-inner { max-width: 1400px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.foot-brand .foot-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.foot-brand .foot-logo img { width: 60px; height: 60px; border-radius: 50%; }
.foot-brand .foot-logo h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.foot-brand .foot-logo h3 em { color: var(--yellow); font-style: italic; font-weight: 400; }
.foot-brand .foot-logo h3 small {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.foot-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 360px;
}
.social { display: flex; gap: 12px; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: grid; place-items: center;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.social a:hover { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }
.foot-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--yellow);
}
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.foot-col a:hover { color: var(--yellow); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-top { grid-template-columns: 1fr; } }
/* =========================================================
   V3: INNER PAGE HERO (Services, How It Works, etc.)
   ========================================================= */
.inner-hero {
  position: relative;
  padding: 90px 32px 70px;
  background:
    radial-gradient(ellipse 700px 400px at 80% 10%, rgba(255, 223, 45, 0.22), transparent 60%),
    radial-gradient(ellipse 600px 500px at 10% 95%, rgba(72, 68, 46, 0.06), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
}
.inner-hero .container { position: relative; z-index: 2; }
.inner-hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 24px;
  max-width: 1000px;
}
.inner-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
  position: relative;
  display: inline-block;
}
.inner-hero-title em::after {
  content: "";
  position: absolute;
  left: -3%; bottom: 6%;
  width: 106%; height: 12px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.inner-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* =========================================================
   V3: SERVICES PAGE, alternating detail layout
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail-reverse { direction: rtl; }
.service-detail-reverse > * { direction: ltr; }
.service-detail-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 4px 4px 0 var(--charcoal);
  position: sticky;
  top: 110px;
}
.service-detail-card.featured { background: var(--yellow); }
.service-detail-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  color: var(--charcoal);
}
.service-detail-excerpt {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.service-detail-card.featured .service-detail-excerpt { color: var(--olive-deep); }
.service-detail-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
}
.service-detail-body p { margin-bottom: 20px; }
.service-detail-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
  color: var(--charcoal);
}
.service-detail-body ul {
  list-style: none;
  margin: 0 0 28px;
}
.service-detail-body ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.service-detail-body ul li:last-child { border-bottom: 1px solid var(--line); }
.service-detail-body ul li::before {
  content: "→";
  position: absolute;
  left: 0; top: 10px;
  color: var(--olive);
  font-weight: 700;
}
@media (max-width: 880px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .service-detail-card { position: static; }
}

/* =========================================================
   V3: HOW IT WORKS PAGE
   ========================================================= */
.how-detail { background: var(--bg); padding: 0 32px 120px; }
.how-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.how-detail-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 4px 4px 0 var(--charcoal);
}
.how-detail-card:nth-child(2) { background: var(--yellow); }
.how-detail-card:nth-child(3) { background: var(--olive); color: var(--white); }
.how-detail-card:nth-child(3) .lead { color: var(--yellow); }
.how-detail-card:nth-child(4) { background: var(--charcoal); color: var(--white); }
.how-detail-card:nth-child(4) .lead { color: var(--yellow); }
.step-num-large {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--olive);
  margin-bottom: 20px;
}
.how-detail-card:nth-child(3) .step-num-large,
.how-detail-card:nth-child(4) .step-num-large { color: var(--yellow); }
.how-detail-card h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.how-detail-card .lead {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--olive);
  font-weight: 400;
}
.how-detail-card p {
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.how-promises { margin-top: 80px; }
.how-promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.promise {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 4px 4px 0 var(--charcoal);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}
.promise-icon { grid-row: 1 / span 2; align-self: start; }
.promise h3 { grid-column: 2; grid-row: 1; }
.promise p  { grid-column: 2; grid-row: 2; }
.promise-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.promise h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.promise p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 880px) {
  .how-detail-grid, .how-promise-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   V3: TESTIMONIALS PAGE, 3 col grid override
   ========================================================= */
.testimonial-grid-three {
  grid-template-columns: repeat(3, 1fr);
}
.testimonial-grid-three .testimonial:nth-child(5) { background: var(--yellow); color: var(--charcoal); }
.testimonial-grid-three .testimonial:nth-child(6) { background: var(--white); color: var(--charcoal); }
.testimonial-grid-three .testimonial:nth-child(5) .stars,
.testimonial-grid-three .testimonial:nth-child(6) .stars { color: var(--yellow-deep); }
.testimonial-grid-three .testimonial:nth-child(5) .testi-author small,
.testimonial-grid-three .testimonial:nth-child(6) .testi-author small { color: var(--muted); }
.testimonial-grid-three .testimonial:nth-child(5) .testi-author,
.testimonial-grid-three .testimonial:nth-child(6) .testi-author { border-color: rgba(51,51,51,0.15); }
@media (max-width: 1100px) {
  .testimonial-grid-three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .testimonial-grid-three { grid-template-columns: 1fr; }
}

/* =========================================================
   V3: BLOG INDEX + CARDS
   ========================================================= */
.blog-section { background: var(--bg); padding: 80px 32px 120px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--charcoal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charcoal); }
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--charcoal);
  background: var(--yellow);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-image-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%, #FFE968 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
}
.blog-card-emblem {
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  text-shadow: 3px 3px 0 var(--white);
}
.blog-card-body { padding: 24px 26px 28px; }
.blog-card-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--yellow);
}
.blog-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 18px;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.blog-card-read {
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 14px;
  margin: 0 4px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 13px;
  background: var(--white);
  transition: all 0.2s;
}
.blog-pagination .page-numbers.current { background: var(--yellow); }
.blog-pagination .page-numbers:hover { background: var(--yellow); }
.blog-empty { font-size: 16px; color: var(--muted); text-align: center; padding: 60px 0; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }

/* Home blog section (front-page) */
.home-blog {
  background: var(--bg-cream);
  border-top: 2px solid var(--charcoal);
}
.home-blog .services-header { margin-bottom: 56px; }

/* =========================================================
   V3: SINGLE BLOG POST
   ========================================================= */
.single-post-hero {
  padding: 80px 32px 40px;
  background: var(--bg);
  text-align: center;
}
.single-post-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
  text-decoration: none;
  padding: 6px 14px;
  border: 2px solid var(--olive);
  border-radius: 100px;
}
.single-post-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 24px;
  text-align: center;
}
.single-post-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.single-post-meta .dot { opacity: 0.4; }
.single-post-feature {
  padding: 0 32px 0;
  margin-top: 24px;
}
.single-post-image {
  width: 100%;
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--charcoal);
}
.single-post-body {
  padding: 60px 32px 80px;
  background: var(--bg);
}
.single-post-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--charcoal);
}
.single-post-content p { margin-bottom: 24px; }
.single-post-content h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
  color: var(--charcoal);
}
.single-post-content h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
  color: var(--charcoal);
}
.single-post-content blockquote {
  border-left: 4px solid var(--yellow);
  background: var(--bg-cream);
  padding: 24px 28px;
  margin: 32px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  border-radius: 0 12px 12px 0;
}
.single-post-content ul, .single-post-content ol {
  margin: 0 0 24px 0;
  padding-left: 28px;
}
.single-post-content li { margin-bottom: 10px; }
.single-post-content strong { color: var(--charcoal); font-weight: 700; }
.single-post-content a {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.single-post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.single-post-tags h4, .single-post-share h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.single-post-tags ul, .single-post-share ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.single-post-tags a, .single-post-share a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.single-post-tags a:hover, .single-post-share a:hover { background: var(--yellow); }
.single-post-share {
  text-align: right;
}
.single-post-share ul { justify-content: flex-end; }
@media (max-width: 700px) {
  .single-post-footer { grid-template-columns: 1fr; }
  .single-post-share, .single-post-share ul { text-align: left; justify-content: flex-start; }
}

/* Related posts */
.related-posts {
  padding: 90px 32px;
  background: var(--bg-cream);
  border-top: 2px solid var(--charcoal);
}
.related-posts h2.section-title { margin-bottom: 48px; }

/* =========================================================
   V3: CONTACT PAGE + CF7 FORM STYLING
   ========================================================= */
.contact-section {
  padding: 40px 32px 120px;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 22px;
  padding: 48px 44px;
  box-shadow: 4px 4px 0 var(--charcoal);
}
.contact-sidebar {
  display: grid;
  gap: 20px;
}
.contact-info-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 4px 4px 0 var(--charcoal);
}
.contact-info-card-dark {
  background: var(--charcoal);
  color: var(--white);
}
.contact-info-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.contact-info-card-dark h3 { color: var(--yellow); }
.contact-info-card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.contact-info-card p:last-child { margin-bottom: 0; }
.contact-info-card a {
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-info-card-dark a {
  color: var(--yellow);
  text-decoration: none;
}
.contact-info-meta {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.contact-info-card .btn {
  margin-top: 4px;
  font-size: 12px;
  padding: 10px 18px;
}
.contact-process {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.contact-process li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.contact-process li:first-child { border-top: none; }
.contact-process li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  color: var(--charcoal);
}
.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-row a {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
}
.social-row a:hover { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }

/* CF7 form styling */
.wpcf7-form {
  font-family: var(--body);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0;
}
.wpcf7-form label span {
  color: var(--olive);
  font-weight: 400;
  margin-left: 4px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--bg);
  border: 2px solid var(--charcoal);
  border-radius: 10px;
  outline: none;
  transition: box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path fill='%23333' d='M0 0l7 8 7-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  box-shadow: 4px 4px 0 var(--yellow-deep);
}
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance {
  display: inline-block;
  margin-top: 10px;
}
.wpcf7-form .wpcf7-list-item {
  display: block;
  margin: 8px 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--charcoal);
}
.wpcf7-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
}
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--charcoal);
  flex-shrink: 0;
}
.cf7-submit {
  margin-top: 8px;
}
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 2px solid var(--charcoal);
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 var(--charcoal);
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7-form input[type="submit"]:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--charcoal);
}
.wpcf7-spinner { background-color: var(--yellow); margin-left: 12px; }
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid var(--charcoal);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: var(--yellow);
  border-color: var(--charcoal);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #FBE7E7;
  border-color: #C92A2A;
  color: #8B1A1A;
}
.wpcf7-not-valid-tip {
  color: #C92A2A;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}
.cf7-fallback {
  padding: 20px 0;
}
.cf7-fallback h2 { color: var(--charcoal); }
.cf7-fallback p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }
.cf7-fallback ol { padding-left: 24px; font-size: 15px; line-height: 1.7; color: var(--charcoal); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cf7-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }
}

/* =========================================================
   V3: PAGE.PHP DEFAULT (Privacy, Terms)
   ========================================================= */
.page-content {
  padding: 60px 32px 100px;
  background: var(--bg);
}
.page-content .single-post-content {
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   HERO CREDIBILITY CHIP (v2.5)
   ========================================================= */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--charcoal);
  max-width: 100%;
}
.hero-chip-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
}
.hero-chip-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1.3;
}

/* =========================================================
   FOUNDER SECTION (v2.5)
   ========================================================= */
.founder {
  padding: 120px 32px;
  background: #fffaf0;
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
}
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.founder-photo-wrap {
  position: sticky;
  top: 100px;
}
.founder-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--charcoal);
  box-shadow: 8px 8px 0 var(--yellow);
  background: var(--yellow);
}
.founder-badges {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.founder-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  border: 2px solid var(--charcoal);
}
.founder-badge.dark { background: var(--charcoal); color: var(--yellow); }
.founder-badge.yellow { background: var(--yellow); color: var(--charcoal); }
.founder-credit {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--olive);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.founder-credit:hover { color: var(--charcoal); }

.founder-body { padding-top: 8px; }
.founder-prose p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.founder-quote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--charcoal);
}
.founder-quote p {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--charcoal);
  margin: 0 0 10px;
}
.founder-quote cite {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

@media (max-width: 900px) {
  .founder { padding: 80px 0; }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-photo-wrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-chip { margin-top: 20px; }
  .hero-chip-text { font-size: 12px; }
}

/* =========================================================
   MOBILE POLISH PASS (v2.7)
   Tightens spacing and gutters on phones. Headlines already
   use clamp() so they scale on their own.
   ========================================================= */
@media (max-width: 768px) {
  section { padding: 52px 24px; }
  .hero { padding: 44px 24px 52px; }
  .announce { font-size: 12px; padding: 9px 16px; text-align: center; line-height: 1.4; }
  .announce a { display: inline-block; }

  /* Buttons: comfortable tap targets, stack the hero pair */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .btn, .btn-large { min-height: 48px; }

  /* Stats: 2x2 on phones */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 20px; }

  /* Founder section CTA full width */
  .founder-body .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  section { padding: 40px 22px; }
  .hero { padding: 36px 22px 44px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  /* Give the floating button room so it doesn't cover content */
  body { padding-bottom: 72px; }
}

/* Tighten the big vertical gaps on mobile so the page isn't so long (v2.18) */
@media (max-width: 768px) {
  .services-header { margin-bottom: 28px !important; }
  .home-blog .services-header { margin-bottom: 28px; }
  .section-title { margin-bottom: 10px; }
  .pain-grid, .task-grid, .industry-hub-grid, .team-grid, .blog-grid { margin-top: 24px; }
  .hipaa-callout { margin-top: 28px; }
  .newsletter { padding: 44px 24px; }
  .newsletter-card { padding: 28px 22px; }
  .stats { padding: 44px 24px; }
  .marquee { padding: 16px 0; }
  footer { padding: 48px 24px 28px; }
  .cta-band, .cta { padding: 52px 24px; }
  .inner-hero { padding: 48px 24px 36px; }
  .industry-banner { padding: 52px 24px 44px; }
  .compliance-note { margin-top: 22px; }
  .blog-section { padding: 48px 24px 64px; }
}

/* Make sure horizontal scroll never happens on mobile */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .marquee-item { font-size: 22px; gap: 40px; }
  .marquee-track { gap: 40px; animation-duration: 18s; }
  /* Side gutters for sections that set their own zero-side padding */
  .industry-banner { padding: 64px 24px 52px; }
  .hipaa-band { padding: 0 24px; }
  .inner-hero { padding: 64px 24px 52px; }
}
@media (max-width: 480px) {
  .marquee-track { animation-duration: 13s; }
  .marquee-item, .marquee-track { gap: 32px; }
}

/* =========================================================
   ACCESSIBILITY + ENGAGEMENT (v2.9)
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--charcoal);
  color: var(--yellow);
  padding: 12px 20px;
  font-family: var(--body);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }
#main-content { scroll-margin-top: 100px; }

/* Stronger focus states for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: var(--yellow);
  z-index: 1500;
  transition: width 0.1s linear;
}

.back-to-top {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 3px 3px 0 var(--charcoal);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 600px) {
  /* keep back-to-top clear of the full-width floating book button */
  .back-to-top { bottom: 76px; left: 14px; }
}

/* =========================================================
   NEWSLETTER CAPTURE (v2.9)
   ========================================================= */
.newsletter { padding: 80px 32px; }
.newsletter-card {
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  box-shadow: 8px 8px 0 var(--charcoal);
  border-radius: 4px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-title {
  font-family: var(--display);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
  color: var(--charcoal);
  margin: 0 0 14px;
}
.newsletter-title em { font-style: italic; font-weight: 400; color: var(--olive); }
.newsletter-text {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--charcoal);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 15px;
}
.newsletter-form .btn-ink { justify-content: center; }
.newsletter-note { font-size: 12px; color: var(--olive); margin: 4px 0 0; font-style: italic; }

@media (max-width: 880px) {
  .newsletter-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; box-shadow: 6px 6px 0 var(--charcoal); }
}

/* =========================================================
   404 PAGE (v2.9)
   ========================================================= */
.error-404-big {
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--charcoal);
  margin-bottom: 8px;
}

/* =========================================================
   BREADCRUMBS + PAGINATION + ARCHIVE (v2.10)
   ========================================================= */
.breadcrumbs {
  padding: 16px 0 0;
  font-family: var(--body);
  font-size: 13px;
}
.breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs .crumb { color: var(--olive); text-decoration: none; font-weight: 600; }
.breadcrumbs a.crumb:hover { color: var(--charcoal); text-decoration: underline; }
.breadcrumbs .crumb.current { color: var(--muted); font-weight: 500; }
.breadcrumbs .crumb-sep { color: var(--muted); }

.blog-archive { padding-top: 64px; }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  background: var(--white);
}
.pagination .page-numbers.current { background: var(--yellow); }
.pagination .page-numbers:hover { background: var(--charcoal); color: var(--yellow); }

/* =========================================================
   INDUSTRY LANDING PAGES (v2.11)
   ========================================================= */
.industry-pains { background: #fffaf0; border-top: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pain-card {
  background: var(--white);
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--charcoal);
  border-radius: 4px;
  padding: 28px;
}
.pain-num {
  display: inline-block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow-deep);
  margin-bottom: 12px;
}
.pain-card p { font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--charcoal); margin: 0; }

.task-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; margin-top: 40px; }
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  padding: 14px 0;
  border-bottom: 1px solid rgba(51,51,51,0.12);
}
.task-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--charcoal);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

@media (max-width: 880px) {
  .pain-grid { grid-template-columns: 1fr; }
  .task-grid { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   NAV DROPDOWN (Who We Help) + INDUSTRY HUB (v2.12)
   ========================================================= */
.nav-links .menu-item-has-children { position: relative; }
.nav-links .menu-item-has-children > a::after {
  content: "\25BE";  /* small down caret */
  width: auto !important;
  position: static !important;
  display: inline !important;
  background: none !important;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}
.nav-links .sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 6px;
  min-width: 460px;
  background: var(--white);
  border: 2px solid var(--charcoal);
  box-shadow: 6px 6px 0 var(--charcoal);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 300;
}
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;  /* hover bridge */
}
.nav-links .sub-menu li { border: 0 !important; }
.nav-links .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-links .sub-menu a::after { display: none !important; }
.nav-links .sub-menu a:hover { background: var(--yellow); }

/* Desktop: hide mobile-only controls */
.nav-close, .submenu-toggle { display: none; }

@media (max-width: 980px) {
  /* Mobile: submenus collapse into accordions (tap the caret to expand) */
  .nav-links .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-links .menu-item-has-children > a { flex: 1 1 auto; }
  .nav-links .sub-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: none;                 /* collapsed by default */
    grid-template-columns: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    opacity: 1;
    visibility: visible;
    border: 0;
    box-shadow: none;
    padding: 0 0 6px 14px;
    background: transparent;
    margin-top: 2px;
    flex-basis: 100%;
  }
  .nav-links .menu-item-has-children.open > .sub-menu { display: block !important; }
  .nav-links .sub-menu a { padding: 8px 0; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .nav-links .menu-item-has-children > a::after { content: ""; }  /* use the toggle button instead */

  /* Caret toggle button (injected by JS) */
  .submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 40px; height: 44px; margin-left: 6px;
    background: transparent; border: 0; cursor: pointer;
    color: var(--charcoal); font-size: 13px; transition: transform .2s ease;
  }
  .menu-item-has-children.open > .submenu-toggle { transform: rotate(180deg); }

  /* While the menu is open: hide the hamburger, show a fixed X in the panel's top-right */
  body.nav-open .nav-toggle { display: none; }
  body.nav-open .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 14px; right: 16px;
    width: 44px; height: 44px;
    background: var(--yellow); border: 2px solid var(--charcoal); border-radius: 8px;
    color: var(--charcoal); font-size: 26px; line-height: 1; cursor: pointer;
    z-index: 5;
  }
}

/* Industry hub page */
.industry-hub { padding-top: 56px; }
.industry-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.industry-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--charcoal);
  box-shadow: 5px 5px 0 var(--charcoal);
  border-radius: 6px;
  padding: 26px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.industry-hub-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charcoal); }
.industry-hub-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 8px;
}
.industry-hub-name {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 10px;
}
.industry-hub-sub {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 18px;
  flex-grow: 1;
}
.industry-hub-link {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
}
.industry-hub-card:hover .industry-hub-link { color: var(--yellow-deep); }
.industry-hub-note { text-align: center; margin-top: 36px; font-family: var(--body); color: #555; }
.industry-hub-note a { color: var(--charcoal); font-weight: 700; }

@media (max-width: 980px) { .industry-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industry-hub-grid { grid-template-columns: 1fr; } }

/* =========================================================
   INDUSTRY BANNER HERO (v2.13) - shows when a Featured Image is set
   ========================================================= */
.industry-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--charcoal);
  padding: 96px 32px 80px;
}
.industry-banner .container { position: relative; z-index: 2; }
.industry-banner .breadcrumbs .crumb,
.industry-banner .breadcrumbs .crumb-sep { color: rgba(255,255,255,0.85); }
.industry-banner .breadcrumbs a.crumb:hover { color: #fff; }
.industry-banner-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.industry-banner-title {
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.industry-banner-title em { font-style: italic; color: var(--yellow); }
.industry-banner-sub {
  color: #f3efe2;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
  margin: 20px 0 0;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--charcoal); }

/* Compliance note on collection pages (v2.14) */
.compliance-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(51,51,51,0.15);
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.6;
  color: #888;
  font-style: italic;
  max-width: 760px;
}

/* =========================================================
   HIPAA COMPLIANCE CALLOUT (v2.15)
   ========================================================= */
.hipaa-band { padding: 0 32px; margin-top: -2px; }
.hipaa-callout {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fffaf0;
  border: 2px solid var(--charcoal);
  box-shadow: 6px 6px 0 var(--charcoal);
  border-radius: 6px;
  padding: 26px 30px;
  margin: 48px 0 0;
}
.hipaa-icon { flex-shrink: 0; line-height: 0; }
.hipaa-text strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.hipaa-text p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}
@media (max-width: 600px) {
  .hipaa-callout { flex-direction: column; text-align: center; align-items: center; gap: 14px; padding: 24px; box-shadow: 4px 4px 0 var(--charcoal); }
}

/* =========================================================
   NEWSLETTER SIGNUP FORM (v2.16)
   ========================================================= */
.beepic-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.newsletter-signup { display: flex; flex-direction: column; gap: 12px; }
.newsletter-signup input[type="email"] {
  width: 100%;
  padding: 15px 16px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 15px;
  background: #fff;
}
.newsletter-signup input[type="email"]:focus { outline: 3px solid var(--olive); outline-offset: 1px; }
.newsletter-signup .btn-ink { justify-content: center; text-align: center; cursor: pointer; }
.newsletter-success, .newsletter-error {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  padding: 16px 18px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
}
.newsletter-success { background: #fff; }
.newsletter-success strong { color: var(--olive); }
.newsletter-error { background: #fff3f3; border-color: #c0392b; color: #c0392b; margin-bottom: 12px; }

/* =========================================================
   HOMEPAGE BLOG SLIDER (v2.18)
   ========================================================= */
.blog-slider-wrap { position: relative; }
.blog-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
}
.blog-slider::-webkit-scrollbar { height: 8px; }
.blog-slider::-webkit-scrollbar-thumb { background: var(--charcoal); border-radius: 8px; }
.blog-slider::-webkit-scrollbar-track { background: rgba(51,51,51,0.1); border-radius: 8px; }
.blog-slider .blog-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.blog-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--charcoal);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
}
.blog-nav:hover { background: var(--charcoal); color: var(--yellow); }
.blog-prev { left: -10px; }
.blog-next { right: -10px; }

@media (max-width: 1100px) { .blog-slider .blog-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 768px) {
  .blog-nav { display: none; } /* swipe on touch devices */
  .blog-slider { gap: 16px; padding-bottom: 14px; }
  .blog-slider .blog-card { flex-basis: 85%; } /* peek the next card */
}

/* =========================================================
   TESTIMONIAL SLIDER + FOUNDER MOBILE PADDING (v2.19)
   ========================================================= */
.testi-slider-wrap { position: relative; }
.testimonial-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
  margin-top: 40px;
}
.testimonial-slider::-webkit-scrollbar { height: 8px; }
.testimonial-slider::-webkit-scrollbar-thumb { background: var(--charcoal); border-radius: 8px; }
.testimonial-slider::-webkit-scrollbar-track { background: rgba(51,51,51,0.1); border-radius: 8px; }
.testimonial-slider .testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.testi-prev { left: -10px; }
.testi-next { right: -10px; }

@media (max-width: 1100px) { .testimonial-slider .testimonial { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 768px) {
  .testi-prev, .testi-next { display: none; }
  .testimonial-slider { gap: 16px; margin-top: 24px; padding-bottom: 14px; }
  .testimonial-slider .testimonial { flex-basis: 85%; }
  /* Founder section: real side gutters on mobile (class overrides the global section rule) */
  .founder { padding: 48px 24px; }
  .founder-grid { gap: 28px; }
}
@media (max-width: 420px) {
  .founder { padding: 40px 22px; }
}

/* =========================================================
   LEAD FORM SECTION (v2.20)
   ========================================================= */
.leadform { padding: 100px 32px; background: #fffaf0; border-top: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); }
.leadform-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.leadform-title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; color: var(--charcoal); margin: 10px 0 14px; }
.leadform-title em { font-style: italic; color: var(--olive); }
.leadform-text { font-family: var(--body); font-size: 16px; line-height: 1.6; color: #555; margin: 0; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--charcoal); border-radius: 8px;
  font-family: var(--body); font-size: 15px; background: #fff;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid var(--olive); outline-offset: 1px; }
.lead-form textarea { resize: vertical; }
.lead-form .btn-ink { justify-content: center; text-align: center; cursor: pointer; }
@media (max-width: 880px) {
  .leadform { padding: 52px 24px; }
  .leadform-card { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) { .leadform { padding: 40px 22px; } }

/* =========================================================
   GROWTH: calculator, comparison, pricing, careers, popup (v2.21)
   ========================================================= */
.calc-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.calc-head .section-label { justify-content: center; }
.calc { background: var(--charcoal); color: var(--white); }
.calc .section-title, .calc .calc-head .section-label { color: var(--white); }
.calc .section-lead { color: rgba(255,255,255,0.8); }
.calc-card {
  max-width: 920px; margin: 0 auto;
  background: #fffaf0; color: var(--charcoal);
  border: 2px solid var(--charcoal); border-radius: 14px;
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.calc-field { margin-bottom: 22px; }
.calc-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.calc-row { display: flex; align-items: center; gap: 14px; }
.calc-row input[type=range] { flex: 1; accent-color: var(--olive); height: 4px; }
.calc-out { font-family: var(--display); font-weight: 700; font-size: 20px; min-width: 64px; text-align: right; color: var(--olive); }
.calc-results { display: grid; gap: 14px; }
.calc-stat { border: 2px solid var(--charcoal); border-radius: 10px; padding: 16px 18px; background: #fff; }
.calc-stat-feature { background: var(--yellow); }
.calc-stat-num { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; }
.calc-stat-label { font-size: 13px; color: #555; margin-top: 6px; }
.calc-stat-feature .calc-stat-label { color: var(--charcoal); }
.calc-cta { text-align: center; margin: 36px auto 0; max-width: 620px; }
.calc-cta p { color: rgba(255,255,255,0.85); margin-bottom: 18px; font-size: 17px; }
.calc-note { text-align: center; color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 18px; }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; margin: 0 auto; max-width: 1000px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 2px solid rgba(51,51,51,0.12); font-size: 15px; }
.compare-table thead th { font-family: var(--display); font-size: 18px; border-bottom: 2px solid var(--charcoal); }
.compare-rowhead { font-weight: 700; }
.compare-table .compare-feature { background: #fffaf0; }
.compare-table thead .compare-feature { background: var(--yellow); border-radius: 8px 8px 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-step { border: 2px solid var(--charcoal); border-radius: 12px; padding: 28px; box-shadow: 4px 4px 0 var(--charcoal); background: #fff; }
.pricing-step-num { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--yellow-deep); }
.pricing-step h3 { font-family: var(--display); font-size: 21px; margin: 8px 0 10px; }
.pricing-step p { color: #555; font-size: 15px; line-height: 1.6; margin: 0; }
.pricing-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.careers-apply { background: #fffaf0; border-top: 2px solid var(--charcoal); }

/* Popup */
.beepic-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.beepic-popup-closed { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.2s, visibility 0s linear 0.2s; }
.beepic-popup-open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.2s, visibility 0s linear 0s; }
.beepic-popup-overlay { position: absolute; inset: 0; background: rgba(51,51,51,0.6); backdrop-filter: blur(2px); }
.beepic-popup-box {
  position: relative; z-index: 1; max-width: 440px; width: 100%;
  background: #fffaf0; border: 2px solid var(--charcoal); border-radius: 14px;
  box-shadow: 10px 10px 0 var(--yellow); padding: 36px 32px; text-align: center;
  animation: popupIn 0.25s ease;
}
@keyframes popupIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.beepic-popup-x { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--charcoal); }
.beepic-popup-emblem { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--charcoal); color: var(--yellow); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.beepic-popup-title { font-family: var(--display); font-size: 26px; margin: 0 0 10px; }
.beepic-popup-text { font-size: 15px; color: #555; line-height: 1.55; margin: 0 0 20px; }
.beepic-popup-form .btn { width: 100%; justify-content: center; }
.beepic-popup-decline { display: block; margin: 14px auto 0; background: none; border: none; font-size: 12px; color: #888; cursor: pointer; text-decoration: underline; }

.calendly-section { border-top: 2px solid var(--charcoal); }
.calendly-inline-widget { border: 2px solid var(--charcoal); border-radius: 12px; overflow: hidden; box-shadow: 6px 6px 0 var(--charcoal); }

@media (max-width: 880px) {
  .calc-card { grid-template-columns: 1fr; gap: 24px; padding: 26px; box-shadow: 5px 5px 0 var(--yellow); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .beepic-popup-box { padding: 30px 22px; box-shadow: 6px 6px 0 var(--yellow); }
  .calc-stat-num { font-size: 30px; }
}

/* =========================================================
   DESKTOP TWO-ROW HEADER (v2.22)
   Logo + CTA on top row, nav menu on its own row beneath,
   so the menu has room to breathe. Mobile (<=980px) unchanged.
   ========================================================= */
@media (min-width: 981px) {
  nav.main .nav-inner { flex-wrap: wrap !important; row-gap: 0; align-items: center; }
  nav.main .nav-collapse { display: contents !important; }
  nav.main .logo-link { order: 1; }
  nav.main .nav-cta-group { order: 2; }
  nav.main .nav-links {
    order: 3;
    flex-basis: 100% !important;
    width: 100%;
    justify-content: center;
    gap: 30px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }
}

/* =========================================================
   V2.24.6: SITEWIDE MOBILE TEXT SAFETY (<= 480px)
   Reduces card padding, ensures text wraps cleanly inside
   cards, scales down oversized typography, prevents
   horizontal clipping caused by box-shadows + tight gutters.
   ========================================================= */
@media (max-width: 480px) {
  /* Universal text-wrap safety net inside any card-ish container */
  .promise, .how-detail-card, .pricing-step, .blog-card,
  .industry-card, .collection-card, .service-card, .team-card,
  .faq-item, .testimonial, .testimonial-card, .contact-form-card,
  .newsletter-card, .lead-form, .calc-card, .industry-hub-card {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-shadow: 3px 3px 0 var(--charcoal) !important;
  }
  /* Ensure all text content inside cards wraps and never overflows */
  .promise *, .how-detail-card *, .pricing-step *,
  .blog-card *, .industry-card *, .collection-card *,
  .service-card *, .testimonial *, .faq-item * {
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  /* Specific component tightening for the visible promise cards on how-it-works */
  .promise {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    gap: 14px !important;
  }
  .promise-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }
  .promise h3 { font-size: 17px !important; line-height: 1.25 !important; }
  .promise p { font-size: 14px !important; line-height: 1.55 !important; }

  /* The big numbered step cards on how-it-works */
  .how-detail-card {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    border-radius: 16px !important;
  }
  .step-num-large { font-size: 42px !important; margin-bottom: 14px !important; }
  .how-detail-card h2 { font-size: 22px !important; line-height: 1.15 !important; }
  .how-detail-card .lead { font-size: 16px !important; line-height: 1.4 !important; }
  .how-detail-card p { font-size: 14.5px !important; line-height: 1.6 !important; }

  /* Hero / section titles that often clip */
  .inner-hero-title { font-size: 38px !important; line-height: 1.05 !important; }
  .section-title { font-size: 26px !important; line-height: 1.15 !important; }

  /* Section side padding so the whole page breathes */
  .how-detail, .how-promises, .cta-band,
  section.inner-hero, section.industry-detail, section.collection-detail {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .container, .cta-inner {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* Buttons sometimes have nowrap labels that push width */
  .btn, .btn-large { white-space: normal !important; }

  /* Pricing page step cards */
  .pricing-step { padding-top: 22px !important; padding-bottom: 22px !important; }

  /* Blog card text */
  .blog-card-body { padding: 18px 18px 22px !important; }
  .blog-card-body h3 { font-size: 17px !important; line-height: 1.2 !important; }
  .blog-card-body p { font-size: 14px !important; line-height: 1.5 !important; }

  /* Newsletter / lead form on mobile */
  .newsletter-card { padding: 22px 18px !important; }
  .newsletter-card h2 { font-size: 22px !important; line-height: 1.15 !important; }

  /* CTA band */
  .cta-band, .cta { padding: 36px 18px !important; }
  .cta-band h2, .cta h2 { font-size: 24px !important; line-height: 1.15 !important; }

  /* Tables that overflow get a horizontal scroll instead of clipping */
  .entry-content table, .post-content table, table.wp-block-table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }
  /* Wide images / pre-blocks get safe overflow handling */
  pre, code, .entry-content img, .post-content img {
    max-width: 100% !important;
    overflow-x: auto !important;
    word-break: break-word !important;
  }
}

/* Even tighter for very narrow phones (<= 360px, e.g. iPhone SE 1st gen) */
@media (max-width: 360px) {
  .promise, .how-detail-card, .pricing-step, .blog-card,
  .industry-card, .collection-card, .service-card, .team-card,
  .faq-item, .testimonial, .testimonial-card, .contact-form-card,
  .newsletter-card, .lead-form, .calc-card, .industry-hub-card {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .inner-hero-title { font-size: 32px !important; }
  .section-title { font-size: 22px !important; }
  .how-detail-card h2 { font-size: 20px !important; }
  .promise h3 { font-size: 16px !important; }
}

/* =========================================================
   V2.24.8: GoHighLevel form wrap + Delegation landing page
   ========================================================= */
.beepic-ghl-form-wrap {
    background: #FFFFFF;
    border: 1.5px solid #333333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 3px 3px 0 #333333;
}
.beepic-ghl-form-wrap iframe {
    display: block;
    width: 100% !important;
    background: transparent;
    border: none;
}
.beepic-popup-ghl .beepic-ghl-form-wrap {
    box-shadow: none;
    border: 1.5px solid #333333;
    border-radius: 10px;
    margin: 14px 0 8px;
}
/* The lead-form section already styles its container; the GHL wrap inside it */
.leadform-form .beepic-ghl-form-wrap {
    box-shadow: 4px 4px 0 #333333;
}

/* Delegation landing page */
.delegation-hero {
    padding-bottom: 60px;
}
.delegation-body {
    background: #FFFAF0;
    padding: 60px 32px 100px;
}
.delegation-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}
.delegation-h2 {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 22px;
    color: var(--charcoal);
}
.delegation-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}
.delegation-features li {
    padding: 16px 0 16px 44px;
    border-bottom: 1px solid #E5E0CC;
    font-size: 16px;
    line-height: 1.55;
    position: relative;
    color: var(--charcoal);
}
.delegation-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 14px;
    width: 28px;
    height: 28px;
    background: var(--yellow);
    border: 2px solid var(--charcoal);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}
.delegation-features li:last-child {
    border-bottom: none;
}
.delegation-quote {
    background: #48442E;
    color: #FFFFFF;
    padding: 26px 28px 24px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--charcoal);
}
.delegation-quote-label {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.delegation-quote p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 12px;
    color: #FFFFFF;
}
.delegation-quote cite {
    font-style: normal;
    font-size: 13px;
    color: var(--yellow);
    font-weight: 600;
    display: block;
}
.delegation-form-side {
    position: sticky;
    top: 100px;
}
.delegation-form-card {
    background: #FFFFFF;
    border: 2px solid var(--charcoal);
    border-radius: 20px;
    padding: 32px 28px 24px;
    box-shadow: 6px 6px 0 var(--charcoal);
}
.delegation-form-card h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 8px;
}
.delegation-form-text {
    font-size: 15px;
    color: #6B6657;
    line-height: 1.5;
    margin: 0 0 22px;
}
.delegation-form-fineprint {
    font-size: 12.5px;
    color: #6B6657;
    text-align: center;
    margin: 14px 0 0;
}
.delegation-form-card .beepic-ghl-form-wrap {
    box-shadow: none;
    border: 1.5px solid var(--charcoal);
}

@media (max-width: 980px) {
    .delegation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .delegation-form-side {
        position: static;
    }
}
@media (max-width: 480px) {
    .delegation-body {
        padding: 40px 16px 60px;
    }
    .delegation-h2 {
        font-size: 26px;
    }
    .delegation-form-card {
        padding: 24px 20px 20px;
    }
    .delegation-form-card h3 {
        font-size: 22px;
    }
    .delegation-features li {
        padding-left: 38px;
        font-size: 15px;
    }
    .delegation-features li::before {
        width: 24px;
        height: 24px;
        top: 14px;
        font-size: 12px;
    }
    .delegation-quote {
        padding: 20px 18px;
    }
    .delegation-quote p {
        font-size: 15px;
    }
}
