body {
  padding-top: 80px;
}

/* Page Hero */
.page-hero {
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--border-color);
}

/* ── Hero Visual (right column) ───────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding: 20px;
}

.hv-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.hv-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.hv-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Feature rows (features page) */
.hv-feat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.hv-feat-row:last-child { border-bottom: none; }

.hv-feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(30, 58, 138, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hv-feat-label {
  flex: 1;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
}

.hv-green-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #059669;
}

/* Mission + values (about page) */
.hv-mission-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.hv-values {
  display: flex;
  gap: 8px;
}

.hv-val {
  flex: 1;
  background: rgba(30, 58, 138, 0.05);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.hv-val svg { display: block; margin: 0 auto 5px; color: var(--primary); }
.hv-val span { font-size: 0.67rem; font-weight: 700; color: var(--primary); display: block; }

/* Comparison rows (why page) */
.hv-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 10px;
}

.hv-compare-header span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.hv-compare-header span:nth-child(2) { color: var(--primary); }

.hv-cr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  align-items: center;
}

.hv-cr:last-child { border-bottom: none; }

.hv-cr-label { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); }

.hv-cr-us {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 3px;
}

.hv-cr-other { font-size: 0.75rem; color: #94a3b8; }

/* Floating cards */
.hv-float {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.hv-float-label { font-size: 0.79rem; font-weight: 700; color: var(--text-main); }
.hv-float-sub { font-size: 0.69rem; color: var(--text-muted); margin-top: 2px; }

.hv-float-1 { top: 5%; left: 0; animation-delay: 0s; }
.hv-float-2 { bottom: 5%; right: 0; animation-delay: 2s; }

@media (max-width: 991px) {
  .hero-visual { margin-top: 36px; min-height: auto; }
  .hv-float-1 { left: 5%; }
  .hv-float-2 { right: 5%; }
}

.page-hero-eyebrow {
  display: inline-block;
  background: rgba(30, 58, 138, 0.07);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-hero h1 span { color: var(--red); }

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* Section heading used on content pages */
.content-section {
  padding: 80px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border-color);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
}

/* Feature card */
.feat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: var(--shadow-md);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.feat-card:hover .feat-icon {
  background: var(--primary);
  color: white;
}

.feat-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feat-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Stat block */
.stat-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--red); }

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Value/Compare row */
.value-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.value-row:last-child { border-bottom: none; }

.value-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.value-row h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.value-row p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Compare table card */
.compare-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-card .compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.compare-card .compare-head div {
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-card .compare-head div.us {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.04);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
}

.compare-row:last-child { border-bottom: none; }

.compare-row div {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-row div:first-child { font-weight: 600; color: var(--text-main); }

.compare-row div.us-col {
  background: rgba(30, 58, 138, 0.03);
  font-weight: 700;
  color: var(--primary);
}

.compare-row div.cross { color: #94a3b8; }

/* Team / person card */
.person-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  border: 2px solid rgba(30, 58, 138, 0.12);
}

.person-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.person-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA strip */
.cta-strip {
  background: var(--primary);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  margin: 80px 0 0;
}

.cta-strip h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: white;
}

.cta-strip p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-white:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: white;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-red:hover {
  background: var(--red-hover);
  color: white;
  transform: translateY(-2px);
}

/* Page footer (content pages) */
footer {
  padding: 30px 0;
  text-align: center;
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
