/* ============================================================
   home.css — Homepage redesign
   Scoped overrides; other pages unaffected.
   Fonts: DM Serif Display (headlines) + DM Sans (body)
   ============================================================ */

/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --hp-serif:  'DM Serif Display', Georgia, serif;
  --hp-sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --hp-navy:   #0B1F3A;
  --hp-navy-2: #0f2847;
  --hp-accent: #4A6FA5;
  --hp-bg:     #F8F8F6;
  --hp-white:  #ffffff;
  --hp-muted:  #64748B;
  --hp-border: #E2E8F0;
  --hp-green:  #10b981;
  --hp-text:   #1e293b;
}

/* ─── Global font ───────────────────────────────────────── */
body { font-family: var(--hp-sans) !important; }

/* ─── Trust bar (above fold) ────────────────────────────── */
.hp-trust-bar {
  background: var(--hp-navy);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hp-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--hp-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  padding: 0 1.25rem;
  white-space: nowrap;
}
.hp-trust-item + .hp-trust-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}
.hp-trust-item svg {
  flex-shrink: 0;
  opacity: 0.8;
}
.hp-trust-item strong {
  color: #fff;
  font-weight: 700;
}
@media (max-width: 640px) {
  .hp-trust-bar-inner {
    gap: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 1rem;
  }
  .hp-trust-bar-inner::-webkit-scrollbar { display: none; }
  .hp-trust-item { padding: 0 1rem; font-size: 0.72rem; }
}

/* ─── Nav ───────────────────────────────────────────────── */
.navbar {
  box-shadow: none !important;
  border-bottom: 1px solid var(--hp-border) !important;
  padding: 1.1rem 0 !important;
}
.nav-links a {
  font-size: 0.87rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
}
.nav-links a:hover {
  color: var(--hp-navy) !important;
  text-decoration: none !important;
}
.btn-phone {
  background: var(--hp-navy) !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  box-shadow: none !important;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  background-color: var(--hp-navy) !important;
  background-image:
    linear-gradient(to right, rgba(11,31,58,0.93) 42%, rgba(11,31,58,0.55) 100%),
    url('/assets/images/hero-house.webp') !important;
  background-size: cover !important;
  background-position: center 35% !important;
  padding: 6rem 0 5.5rem !important;
}
.hero-wrapper-centered {
  display: grid !important;
  grid-template-columns: 55fr 45fr !important;
  gap: 4rem !important;
  align-items: center !important;
  text-align: left !important;
}
.hero-main-content.centered {
  align-items: flex-start !important;
  text-align: left !important;
  max-width: none !important;
  gap: 0 !important;
  animation: hp-fade-up 0.55s ease both;
}
.hero-form-centered {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  animation: hp-fade-up 0.55s 0.15s ease both;
}
@keyframes hp-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--hp-sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 1.2rem;
}
.hp-eyebrow::before {
  display: none;
}

/* Headline — white on dark hero bg */
.hero-title-main {
  font-family: var(--hp-serif) !important;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.1rem !important;
}

/* Sub copy */
.hero-value-prop {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.7 !important;
  max-width: 460px !important;
  margin-bottom: 1.6rem !important;
}
.hero-value-prop em, .hero-value-prop strong {
  color: #fff !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

/* Eyebrow — light on dark */
.hp-eyebrow { color: rgba(255,255,255,0.5) !important; }

/* Bullets */
.hp-hero-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hp-hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.hp-hero-checks li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--hp-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.3 4.3a1 1 0 0 0-1.4 0L6 10.2 4.1 8.3a1 1 0 0 0-1.4 1.4l2.6 2.6a1 1 0 0 0 1.4 0l6.6-6.6a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Phone row */
.hp-phone-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.hp-phone-row a {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.hp-phone-row a:hover { color: rgba(255,255,255,0.7); }
.hp-phone-note { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* Form card */
.form-container-centered {
  background: var(--hp-white) !important;
  background-image: none !important;
  border-radius: 14px !important;
  padding: 2.25rem !important;
  box-shadow: 0 2px 12px rgba(11,31,58,0.08), 0 8px 32px rgba(11,31,58,0.06) !important;
  border: 1px solid var(--hp-border) !important;
  transition: box-shadow 0.25s ease !important;
}
.form-container-centered:hover {
  box-shadow: 0 4px 20px rgba(11,31,58,0.12), 0 12px 48px rgba(11,31,58,0.08) !important;
}
.form-step[data-step="1"] .form-group label {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  color: #475569 !important;
  text-transform: uppercase !important;
}
.form-step-title {
  font-family: var(--hp-sans) !important;
  font-weight: 700 !important;
  color: var(--hp-navy) !important;
}
/* CTA button — white rectangle, always visible on any background */
.btn-cash-offer {
  background: #fff !important;
  color: var(--hp-navy) !important;
  border: 2px solid rgba(11,31,58,0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--hp-sans) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  transition: background 0.18s ease, box-shadow 0.18s ease !important;
}
.btn-cash-offer:hover {
  background: #f0f4f8 !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(11,31,58,0.12) !important;
}
/* On dark sections, lighter border */
.hp-pillars-section .btn-cash-offer,
.comparison-section .btn-cash-offer,
.cta-section .btn-cash-offer,
.hp-brand-video .btn-cash-offer,
.hp-seller-moment .btn-cash-offer,
.hp-how .btn-cash-offer {
  border-color: rgba(255,255,255,0.3) !important;
}

/* Form submit button — navy with white text (on the light form card) */
.form-container-centered .btn-cash-offer,
.hero .form-container-centered .btn-cash-offer {
  background: var(--hp-navy) !important;
  color: #fff !important;
  border-color: var(--hp-navy) !important;
}
.form-container-centered .btn-cash-offer:hover {
  background: var(--hp-navy-2) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(11,31,58,0.3) !important;
}

/* Rectangular form card */
.form-container-centered {
  border-radius: 0 !important;
}
/* Rectangular form inputs */
.form-group input,
.form-group select,
.form-group textarea,
.form-step[data-step="1"] .form-group input {
  border-radius: 0 !important;
}

/* Nav phone button — squared */
.btn-phone {
  border-radius: 0 !important;
}

/* Review us on Google button — navy */
.btn-review-google {
  background: var(--hp-navy) !important;
  color: #fff !important;
  border-radius: 0 !important;
}
.btn-review-google:hover {
  background: var(--hp-navy-2) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(11,31,58,0.3) !important;
}

/* ─── Proof bar — scrolling ticker ──────────────────────── */
.hp-proof-bar {
  background: var(--hp-navy);
  overflow: hidden;
  position: relative;
}
/* Fade edges */
.hp-proof-bar::before,
.hp-proof-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hp-proof-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--hp-navy), transparent);
}
.hp-proof-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--hp-navy), transparent);
}
.hp-proof-ticker-outer {
  overflow: hidden;
  width: 100%;
}
.hp-proof-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hp-ticker 28s linear infinite;
}
.hp-proof-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes hp-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 3rem;
  gap: 0.3rem;
  flex-shrink: 0;
}
.hp-proof-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.hp-stat-num {
  font-family: var(--hp-serif);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hp-stat-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ─── Testimonial strip ─────────────────────────────────── */
.hp-testimonial-strip {
  background: var(--hp-white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--hp-border);
}
.hp-quote-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hp-quote-text {
  font-family: var(--hp-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--hp-navy);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.hp-quote-cite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.hp-quote-cite img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hp-border);
}
.hp-quote-name { font-weight: 700; color: var(--hp-navy); }
.hp-quote-loc  { color: var(--hp-muted); }
.hp-quote-stars { color: #F59E0B; letter-spacing: 1px; font-size: 0.9rem; }

/* ─── Shared section header ─────────────────────────────── */
.hp-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 0.75rem;
}
.hp-section-h2 {
  font-family: var(--hp-serif);
  font-size: clamp(1.9rem, 2.5vw, 2.5rem);
  font-weight: 400;
  color: var(--hp-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.hp-section-sub {
  font-size: 1.05rem;
  color: var(--hp-muted);
  max-width: 520px;
  line-height: 1.65;
  margin: 0;
}
.hp-section-header-wrap {
  margin-bottom: 3.5rem;
}
.hp-section-header-wrap.center {
  text-align: center;
}
.hp-section-header-wrap.center .hp-section-sub {
  margin: 0 auto;
}

/* ─── How It Works ──────────────────────────────────────── */
.hp-how {
  padding: 6rem 0;
  background: var(--hp-bg);
}
.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--hp-border);
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.hp-step {
  background: var(--hp-white);
  padding: 2.5rem 2rem;
  position: relative;
}
.hp-step-num {
  display: block;
  font-family: var(--hp-serif);
  font-size: 3rem;
  color: var(--hp-border);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  user-select: none;
}
.hp-step h3 {
  font-family: var(--hp-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--hp-navy);
  margin: 0 0 0.75rem;
}
.hp-step p {
  font-size: 0.95rem;
  color: var(--hp-muted);
  line-height: 1.65;
  margin: 0;
}
.hp-how-cta {
  text-align: center;
}

/* ─── Pillars (Why Home Pros) ───────────────────────────── */
.hp-pillars-section {
  padding: 6rem 0;
  background: var(--hp-navy);
}
.hp-pillars-section .hp-section-h2 {
  color: #fff;
}
.hp-pillars-section .hp-section-sub {
  color: rgba(255,255,255,0.6);
}
.hp-pillars-section .hp-section-label {
  color: rgba(255,255,255,0.45);
}
.hp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.hp-pillar {
  background: var(--hp-navy-2);
  padding: 2.5rem 2rem;
}
.hp-pillar h3 {
  font-family: var(--hp-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}
.hp-pillar p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}

/* ─── Reviews section ───────────────────────────────────── */
.testimonials {
  background: var(--hp-bg) !important;
}
.testimonials-section-title {
  font-family: var(--hp-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.6rem, 2vw, 2.2rem) !important;
  color: var(--hp-navy) !important;
  letter-spacing: -0.01em !important;
}
.google-reviews-header {
  background: var(--hp-white) !important;
  border: 1px solid var(--hp-border) !important;
}
.google-review-card {
  border: 1px solid var(--hp-border) !important;
}
.google-review-card:hover {
  border-color: rgba(11,31,58,0.15) !important;
  box-shadow: 0 8px 24px rgba(11,31,58,0.09) !important;
}

/* ─── Situations ────────────────────────────────────────── */
.hp-situations {
  padding: 6rem 0;
  background: var(--hp-white);
  border-top: 1px solid var(--hp-border);
}
.hp-situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
}
.hp-situation-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  font-size: 0.9rem;
  color: var(--hp-text);
  font-weight: 500;
  background: var(--hp-white);
  transition: background 0.15s;
}
.hp-situation-item:hover { background: var(--hp-bg); }
.hp-situation-item:nth-child(3n) { border-right: none; }
.hp-situation-item::before {
  content: '';
  width: 5px; height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--hp-border);
  border: 1px solid #94a3b8;
}
.hp-situations-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.hp-situations-cta p {
  font-size: 1rem;
  color: var(--hp-muted);
  margin-bottom: 1.25rem;
}

/* ─── Comparison section ────────────────────────────────── */
.comparison-section {
  background: #040e1c !important;
  padding: 6rem 0 !important;
}
.comparison-header-small {
  color: rgba(255,255,255,0.38) !important;
  font-family: var(--hp-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
}
.comparison-section .section-header p {
  color: rgba(255,255,255,0.55) !important;
}
/* Table container */
.comparison-table {
  border-radius: 0 !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55) !important;
  overflow: hidden !important;
}
/* Column colours */
.comparison-label-cell {
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.6) !important;
  font-family: var(--hp-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}
.comparison-our-cell {
  background: #fff !important;
  color: var(--hp-navy) !important;
}
.comparison-their-cell {
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.55) !important;
}
/* Header row */
.comparison-header-row .comparison-label-cell {
  background: rgba(0,0,0,0.25) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.comparison-header-row .comparison-our-cell {
  background: #fff !important;
}
.comparison-header-row .comparison-their-cell {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}
/* Brand box in header */
.our-brand-box {
  border-radius: 0 !important;
  background: rgba(11,31,58,0.06) !important;
  gap: 0.75rem !important;
  padding: 0.75rem 1rem !important;
}
.our-brand-icon img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  display: block !important;
}
.our-brand-text {
  font-family: var(--hp-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: var(--hp-navy) !important;
}
/* Check / X */
.check-icon { color: var(--hp-green) !important; font-size: 1.3rem !important; }
.x-icon {
  background: rgba(239,68,68,0.18) !important;
  color: #f87171 !important;
  border-radius: 0 !important;
}
.cell-text {
  font-family: var(--hp-sans) !important;
  font-size: 0.9rem !important;
}
/* Footer */
.comparison-footer-text {
  font-family: var(--hp-serif) !important;
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.8) !important;
  letter-spacing: -0.01em !important;
}
.comparison-stars {
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.88rem !important;
  margin-top: 1rem !important;
}
/* Mobile comparison */
@media (max-width: 768px) {
  .comparison-row {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 0 !important;
  }
  .comparison-row.comparison-header-row {
    background: rgba(255,255,255,0.08) !important;
  }
  .comparison-header-row .comparison-our-cell {
    background: #fff !important;
    color: var(--hp-navy) !important;
  }
  .comparison-row .comparison-our-cell {
    background: rgba(255,255,255,0.95) !important;
    color: var(--hp-navy) !important;
  }
  .comparison-row .comparison-their-cell {
    background: rgba(255,255,255,0.04) !important;
  }
  .comparison-label-cell {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    background: rgba(0,0,0,0.2) !important;
    text-transform: uppercase !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
    padding: 0.9rem 1.25rem !important;
  }
  .comparison-cell {
    padding: 1rem 1.25rem !important;
  }
}
.section-header h2,
.comparison-section .section-header h2,
.cta-content h2,
.footer-cta h2,
.why-us .section-header h2,
.faq-section .section-header h2,
.hp-how .section-header h2 {
  font-family: var(--hp-serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-section {
  background: var(--hp-bg) !important;
}
.faq-item h3, .faq-summary {
  font-family: var(--hp-sans) !important;
  font-weight: 600 !important;
  color: var(--hp-navy) !important;
}
.faq-item {
  background: var(--hp-white) !important;
  border: 1px solid var(--hp-border) !important;
  box-shadow: none !important;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(11,31,58,0.08) !important;
  transform: none !important;
}

/* ─── CTA section ───────────────────────────────────────── */
.cta-section {
  background: var(--hp-navy) !important;
}
.cta-content h2 {
  font-family: var(--hp-serif) !important;
  font-weight: 400 !important;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer-cta { display: none !important; }

.hp-footer {
  background: #061326;
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
  font-family: var(--hp-sans);
}
.hp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hp-footer-logo {
  display: block;
  max-height: 48px;
  width: auto;
  margin-bottom: 1.1rem;
  /* Invert if logo is dark */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.hp-footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
  margin: 0 0 1.5rem;
}
.hp-footer-social {
  display: flex;
  gap: 0.75rem;
}
.hp-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.hp-footer-social a:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.hp-footer-social a svg {
  width: 15px; height: 15px;
  fill: currentColor;
}
.hp-footer-col h4 {
  font-family: var(--hp-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.1rem;
}
.hp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hp-footer-col ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.hp-footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.hp-footer-col ul li a:hover { color: #fff; }

/* SEO service areas — visible to crawlers, visually minimal */
.hp-footer-areas {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hp-footer-areas h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin: 0 0 0.85rem;
}
.hp-footer-areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
}
.hp-footer-areas ul li a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.hp-footer-areas ul li a:hover { color: rgba(255,255,255,0.6); }

.hp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
}
.hp-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.hp-footer-legal {
  display: flex;
  gap: 1.5rem;
}
.hp-footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.hp-footer-legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .hp-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .hp-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hp-footer-desc { max-width: none; }
  .hp-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Misc ──────────────────────────────────────────────── */
.btn { font-family: var(--hp-sans) !important; }
.step-card h3, .benefit-card h3, .detailed-benefit-content h3 {
  font-family: var(--hp-serif) !important;
  font-weight: 400 !important;
}

/* ─── Responsive ────────────────────────────────────────── */
/* ─── Brand video section ───────────────────────────────── */
.hp-brand-video {
  background: #040e1c;
  overflow: hidden;
}
.hp-brand-video-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.hp-brand-video-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hp-brand-video-quote {
  font-family: var(--hp-serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: #fff;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.hp-brand-video-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 340px;
}
.hp-brand-video-media {
  position: relative;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.hp-brand-video-media video,
.hp-brand-video-media img,
.hp-brand-video-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-brand-video-media img { opacity: 0.85; }
.hp-brand-video-media iframe { border: 0; }
.hp-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.2s;
}
.hp-video-play-overlay:hover { background: rgba(0,0,0,0.15); }
.hp-video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.hp-video-play-overlay:hover .hp-video-play-btn {
  transform: scale(1.08);
  background: rgba(255,255,255,0.25);
}
.hp-video-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.hp-video-play-overlay.playing { display: none; }

/* ─── Fullscreen video modal (mobile pop-up) ─────────────── */
.hp-video-modal {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0;
}
.hp-video-modal.open { display: flex; }
.hp-video-modal-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-video-modal-frame iframe {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  border: 0;
  display: block;
}
.hp-video-modal-close {
  position: absolute;
  top: max(env(safe-area-inset-top, 0px), 0.75rem);
  right: max(env(safe-area-inset-right, 0px), 0.75rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}
.hp-video-modal-close:hover,
.hp-video-modal-close:focus { background: rgba(255,255,255,0.28); outline: none; }

/* ─── Seller moment (image + copy) ─────────────────────── */
.hp-seller-moment {
  padding: 6rem 0;
  background: var(--hp-bg);
  border-top: 1px solid var(--hp-border);
}
.hp-seller-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hp-seller-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(11,31,58,0.15);
}
.hp-seller-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-seller-content .hp-section-sub {
  max-width: none;
  margin-bottom: 2rem;
}

/* ─── Scroll reveal ─────────────────────────────────────── */
.hp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.hp-reveal.hp-visible {
  opacity: 1;
  transform: none;
}
.hp-reveal-delay-1 { transition-delay: 0.1s; }
.hp-reveal-delay-2 { transition-delay: 0.2s; }
.hp-reveal-delay-3 { transition-delay: 0.3s; }

/* ─── SEO keywords section ──────────────────────────────── */
.seo-keywords-section {
  background: #fff !important;
  padding: 3rem 0 2.5rem !important;
  border-top: 1px solid var(--hp-border) !important;
}
.seo-keywords-section h2 {
  font-family: var(--hp-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--hp-muted) !important;
  text-align: center !important;
  margin-bottom: 0.75rem !important;
}
.seo-keywords-section > .container > p {
  font-size: 0.82rem !important;
  color: var(--hp-muted) !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}
.seo-keywords-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 2rem !important;
}
.seo-keywords-list li { margin-bottom: 0.3rem !important; }
.seo-keywords-list a {
  font-size: 0.82rem !important;
  color: #64748b !important;
}
.seo-keywords-list a:hover { color: var(--hp-navy) !important; }
/* Hide the bottom CTA and resources inside SEO section */
.seo-keywords-section > .container > div:last-child,
.seo-keywords-section > .container > div:nth-last-child(2) {
  display: none !important;
}

@media (max-width: 960px) {
  .hero-wrapper-centered {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .hero { padding: 3.5rem 0 3rem !important; }
  .hero-value-prop { max-width: none !important; }
  /* ticker stays the same on all sizes */
  .hp-steps { grid-template-columns: 1fr; }
  .hp-pillars { grid-template-columns: 1fr; }
  .hp-situations-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-situation-item:nth-child(3n) { border-right: 1px solid var(--hp-border); }
  .hp-situation-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 768px) {
  /* Hero stacking */
  .hero-wrapper-centered {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .hero-main-content.centered {
    align-items: center !important;
    text-align: center !important;
  }
  .hp-hero-checks li { justify-content: center; }
  .hp-phone-row { justify-content: center; }
  .hp-eyebrow { margin-left: auto; margin-right: auto; }

  /* Sections */
  .hp-how { padding: 4rem 0; }
  .hp-pillars-section { padding: 4rem 0; }
  .hp-situations { padding: 4rem 0; }
  .hp-situations-grid { grid-template-columns: 1fr; }
  .hp-situation-item { border-right: none !important; }
  .hp-brand-video-inner { grid-template-columns: 1fr; }
  .hp-brand-video-content { padding: 2.5rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hp-brand-video-media { min-height: 260px; }
  .hp-seller-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-seller-image { aspect-ratio: 16/9; }
  .seo-keywords-grid { grid-template-columns: 1fr !important; }

  /* ─── Trust bar — single scrollable row on mobile ──── */
  .hp-trust-bar { padding: 0 !important; }
  .hp-trust-bar .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .hp-trust-bar-inner {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0.5rem 0.75rem !important;
  }
  .hp-trust-bar-inner::-webkit-scrollbar { display: none !important; }
  .hp-trust-item {
    flex-shrink: 0 !important;
    padding: 0 0.75rem !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }
  .hp-trust-item + .hp-trust-item {
    border-left: 1px solid rgba(255,255,255,0.15) !important;
  }

  /* ─── Mobile nav ──────────────────────────────────── */
  .navbar { padding: 0.85rem 0 !important; }
  .btn-phone {
    font-size: 0.75rem !important;
    padding: 0.55rem 0.85rem !important;
    letter-spacing: 0 !important;
    border-radius: 0 !important;
  }
  .mobile-menu-toggle span { background: var(--hp-navy) !important; }
  .mobile-nav {
    border-radius: 0 !important;
    background: #fff !important;
    border-top: 2px solid var(--hp-border) !important;
    box-shadow: 0 8px 24px rgba(11,31,58,0.12) !important;
    border-bottom: none !important;
  }
  .mobile-nav ul { padding: 0 !important; margin: 0 !important; }
  .mobile-nav ul li { border-bottom: 1px solid var(--hp-border) !important; }
  .mobile-nav ul li:last-child { border-bottom: none !important; }
  .mobile-nav ul li a {
    font-family: var(--hp-sans) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--hp-navy) !important;
    padding: 1rem 1.25rem !important;
    letter-spacing: 0.01em !important;
    display: block !important;
    background: none !important;
  }
  .mobile-nav ul li a:hover { background: var(--hp-bg) !important; }
  .mobile-phone-link {
    background: var(--hp-navy) !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
  }
  .mobile-phone-link:hover { background: var(--hp-navy-2) !important; }

  /* ─── Mobile reviews carousel — fix arrows ──────── */
  .google-reviews-carousel-wrapper {
    gap: 0.4rem !important;
    padding: 0 !important;
  }
  .testimonials .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .carousel-arrow {
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
    background: var(--hp-navy) !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
  }
  .carousel-arrow svg { width: 18px !important; height: 18px !important; }
  .google-reviews-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }
  .google-review-card {
    scroll-snap-align: start !important;
    min-width: calc(100vw - 120px) !important;
  }
  .pagination-dot { width: 10px !important; height: 10px !important; }
  .pagination-dot.active { width: 20px !important; border-radius: 5px !important; }
}
@media (max-width: 640px) {
  .hero-title-main { font-size: 2.1rem !important; }
  .hp-stat-num { font-size: 1.75rem; }
  .form-container-centered { padding: 1.75rem !important; }
  .hp-step { padding: 2rem 1.5rem; }
  .hp-pillar { padding: 2rem 1.5rem; }
}

/* ============================================================
   Blog index page — matches home-page aesthetic
   ============================================================ */
.hp-blog-header {
  background: var(--hp-navy) !important;
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.98) 100%),
    url('/assets/images/hero-house.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 6rem 0 4rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  color: #fff !important;
  margin: 0 !important;
  text-align: left !important;
}
.hp-blog-header .container { max-width: 1200px; }
.hp-blog-header .hp-eyebrow {
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 1rem !important;
}
.hp-blog-header-title {
  font-family: var(--hp-serif) !important;
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  font-weight: 400 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 1rem !important;
  max-width: 720px;
}
.hp-blog-header-sub {
  font-family: var(--hp-sans) !important;
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.6 !important;
  max-width: 640px !important;
  margin: 0 !important;
}
.hp-blog-posts-section {
  background: var(--hp-bg) !important;
  padding: 3.5rem 0 5rem !important;
}
.hp-blog-posts-section .container { max-width: 1200px; }

/* Filter pills */
.hp-blog-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}
.hp-blog-filter-btn {
  font-family: var(--hp-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.25rem;
  background: #fff;
  color: var(--hp-navy);
  border: 1px solid var(--hp-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-blog-filter-btn:hover {
  border-color: var(--hp-navy);
}
.hp-blog-filter-btn.is-active {
  background: var(--hp-navy);
  color: #fff;
  border-color: var(--hp-navy);
}
.hp-blog-filter-count {
  font-family: var(--hp-sans);
  font-size: 0.8rem;
  color: var(--hp-muted);
  margin-left: auto;
  font-weight: 500;
}

/* Card grid override (home aesthetic) */
.hp-blog-posts-section .blog-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 2rem 1.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hp-blog-posts-section .blog-post-card {
  background: #fff !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  padding: 0 !important;
}
.hp-blog-posts-section .blog-post-card.is-hidden { display: none !important; }
.hp-blog-posts-section .blog-post-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(11,31,58,0.12) !important;
  border-color: rgba(11,31,58,0.2) !important;
}
.hp-blog-posts-section .blog-post-image {
  display: block !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  border-radius: 0 !important;
  height: auto !important;
  margin: 0 !important;
}
.hp-blog-posts-section .blog-post-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}
.hp-blog-posts-section .blog-post-card:hover .blog-post-image img {
  transform: scale(1.05) !important;
}
.hp-blog-posts-section .blog-post-content {
  padding: 1.6rem 1.6rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  flex: 1 !important;
}
.hp-blog-posts-section .blog-post-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  font-family: var(--hp-sans) !important;
  font-size: 0.68rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--hp-muted) !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.hp-blog-posts-section .blog-post-category {
  background: var(--hp-navy) !important;
  color: #fff !important;
  padding: 0.3rem 0.7rem !important;
  font-weight: 700 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em !important;
  border-radius: 0 !important;
}
.hp-blog-posts-section .blog-post-category--investor {
  background: var(--hp-accent) !important;
}
.hp-blog-posts-section .blog-post-date {
  color: var(--hp-muted) !important;
  font-weight: 500 !important;
  background: transparent !important;
  padding: 0 !important;
}
.hp-blog-posts-section .blog-post-author { display: none !important; }
.hp-blog-posts-section .blog-post-title {
  font-family: var(--hp-serif) !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: var(--hp-navy) !important;
  letter-spacing: -0.005em !important;
  margin: 0 !important;
  text-transform: none !important;
}
.hp-blog-posts-section .blog-post-title a {
  color: var(--hp-navy) !important;
  text-decoration: none !important;
}
.hp-blog-posts-section .blog-post-title a:hover {
  color: var(--hp-accent) !important;
}
.hp-blog-posts-section .blog-post-excerpt {
  font-family: var(--hp-sans) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: var(--hp-muted) !important;
  margin: 0 !important;
  flex: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.hp-blog-posts-section .blog-post-read-more {
  font-family: var(--hp-sans) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: var(--hp-navy) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin: 0.5rem 0 0 !important;
  padding: 1rem 0 0 !important;
  border-top: 1px solid var(--hp-border) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  transition: gap 0.25s ease, color 0.2s !important;
  background: none !important;
}
.hp-blog-posts-section .blog-post-read-more:hover {
  gap: 0.75rem !important;
  color: var(--hp-accent) !important;
}
.hp-blog-posts-section .blog-post-read-more span { transition: transform 0.25s ease; }
.hp-blog-posts-section .blog-post-read-more:hover span { transform: translateX(3px); }

/* Pagination */
.hp-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 3.5rem;
}
.hp-blog-page-btn {
  font-family: var(--hp-sans);
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  background: #fff;
  color: var(--hp-navy);
  border: 1px solid var(--hp-border);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-blog-page-btn:hover:not(:disabled) {
  border-color: var(--hp-navy);
}
.hp-blog-page-btn.is-active {
  background: var(--hp-navy);
  color: #fff;
  border-color: var(--hp-navy);
}
.hp-blog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hp-blog-page-btn.is-nav {
  padding: 0 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.hp-blog-page-ellipsis {
  font-family: var(--hp-sans);
  color: var(--hp-muted);
  padding: 0 0.25rem;
  font-size: 1rem;
}
.hp-blog-empty {
  text-align: center;
  font-family: var(--hp-sans);
  color: var(--hp-muted);
  margin-top: 3rem;
  font-size: 0.95rem;
}

/* Hide old legacy blog-header/blog-posts-section styles that might bleed in */
.blog-header:not(.hp-blog-header) { display: none !important; }

@media (max-width: 768px) {
  .hp-blog-header { padding: 4rem 0 3rem !important; }
  .hp-blog-posts-section { padding: 2.5rem 0 4rem !important; }
  .hp-blog-posts-section .blog-posts-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .hp-blog-filter { gap: 0.4rem; }
  .hp-blog-filter-btn { font-size: 0.7rem; padding: 0.55rem 0.95rem; }
  .hp-blog-filter-count { width: 100%; margin-left: 0; margin-top: 0.25rem; }
}

/* ============================================================
   Team page — matches home-page aesthetic
   ============================================================ */
body.hp-team-page .team-hero {
  background: var(--hp-navy) !important;
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.93) 0%, rgba(11,31,58,0.98) 100%),
    url('/assets/images/hero-house.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 6rem 0 4.5rem !important;
  text-align: center !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
body.hp-team-page .team-hero h1 {
  font-family: var(--hp-serif) !important;
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  font-weight: 400 !important;
  color: #fff !important;
  margin: 0 0 1.1rem !important;
  letter-spacing: -0.01em !important;
}
body.hp-team-page .team-hero p {
  font-family: var(--hp-sans) !important;
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
}
body.hp-team-page .team-content {
  background: var(--hp-bg) !important;
  padding: 5rem 0 6rem !important;
  max-width: none !important;
  margin: 0 !important;
}
body.hp-team-page .team-content .container { max-width: 1200px !important; }
body.hp-team-page .team-section {
  margin-bottom: 4.5rem !important;
}
body.hp-team-page .team-section:last-child { margin-bottom: 0 !important; }
body.hp-team-page .team-section-label {
  font-family: var(--hp-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--hp-accent) !important;
  margin: 0 0 0.5rem !important;
  display: block !important;
}
body.hp-team-page .team-section h2 {
  font-family: var(--hp-serif) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important;
  font-weight: 400 !important;
  color: var(--hp-navy) !important;
  margin: 0 0 0.8rem !important;
  padding: 0 !important;
  border: none !important;
  letter-spacing: -0.01em !important;
}
body.hp-team-page .team-section p {
  font-family: var(--hp-sans) !important;
  font-size: 1rem !important;
  color: var(--hp-muted) !important;
  max-width: 720px !important;
  line-height: 1.6 !important;
  margin: 0 0 2.25rem !important;
}
body.hp-team-page .team-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 1.75rem !important;
  margin-top: 2rem !important;
}
body.hp-team-page .team-card {
  background: #fff !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: 0 !important;
  padding: 2rem 1.75rem 1.75rem !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
body.hp-team-page .team-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(11,31,58,0.1) !important;
  border-color: rgba(11,31,58,0.18) !important;
}
body.hp-team-page .team-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 1.1rem !important;
  margin-bottom: 1.3rem !important;
}
body.hp-team-page .team-avatar {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--hp-navy), var(--hp-accent)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-family: var(--hp-serif) !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
body.hp-team-page .team-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
body.hp-team-page .team-card-header h3 {
  font-family: var(--hp-serif) !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  color: var(--hp-navy) !important;
  margin: 0 0 0.3rem !important;
  letter-spacing: -0.005em !important;
  border: none !important;
  padding: 0 !important;
}
body.hp-team-page .team-role {
  font-family: var(--hp-sans) !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--hp-accent) !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
body.hp-team-page .team-bio {
  font-family: var(--hp-sans) !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: var(--hp-muted) !important;
  margin: 0 0 1.3rem !important;
  flex: 1 !important;
}
body.hp-team-page .team-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  padding-top: 1.25rem !important;
  margin-top: auto !important;
  border-top: 1px solid var(--hp-border) !important;
  font-family: var(--hp-sans) !important;
  font-size: 0.85rem !important;
}
body.hp-team-page .team-contact a {
  color: var(--hp-navy) !important;
  text-decoration: none !important;
  background: none !important;
  padding: 0.3rem 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  font-weight: 500 !important;
  transition: color 0.2s !important;
}
body.hp-team-page .team-contact a:hover {
  color: var(--hp-accent) !important;
  background: none !important;
}
body.hp-team-page .team-profile-link {
  font-family: var(--hp-sans) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--hp-navy) !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0.75rem 0 0 !important;
  margin: 0.5rem 0 0 !important;
  text-align: left !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  border-top: none !important;
  transition: color 0.2s, gap 0.25s !important;
}
body.hp-team-page .team-profile-link:hover {
  background: none !important;
  color: var(--hp-accent) !important;
  text-decoration: none !important;
  gap: 0.7rem !important;
}
@media (max-width: 768px) {
  body.hp-team-page .team-hero { padding: 4.5rem 0 3.5rem !important; }
  body.hp-team-page .team-content { padding: 3rem 0 4rem !important; }
  body.hp-team-page .team-section { margin-bottom: 3rem !important; }
  body.hp-team-page .team-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
}

/* ---- team page extra components ---- */
body.hp-team-page .team-section-alt {
  background: var(--hp-bg) !important;
}
body.hp-team-page .team-card-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}
body.hp-team-page .team-card-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}
body.hp-team-page .team-highlights {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.hp-team-page .team-highlights li {
  font-family: var(--hp-sans) !important;
  font-size: 0.84rem !important;
  color: var(--hp-muted) !important;
  padding-left: 1.2rem !important;
  position: relative !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.5 !important;
}
body.hp-team-page .team-highlights li::before {
  content: "→" !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--hp-accent) !important;
  font-size: 0.8rem !important;
}
body.hp-team-page .team-hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem auto 0;
  max-width: 900px;
}
body.hp-team-page .metric-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.5rem 1.75rem;
  text-align: center;
}
body.hp-team-page .metric-value {
  display: block;
  font-family: var(--hp-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.4rem;
}
body.hp-team-page .metric-label {
  display: block;
  font-family: var(--hp-sans);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
body.hp-team-page .team-values {
  background: #fff;
  padding: 5rem 0;
}
body.hp-team-page .team-values .team-section-label {
  color: var(--hp-accent) !important;
}
body.hp-team-page .team-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
body.hp-team-page .value-card {
  border: 1px solid var(--hp-border);
  border-left: 3px solid var(--hp-navy);
  padding: 1.75rem;
  background: var(--hp-bg);
}
body.hp-team-page .value-card h3 {
  font-family: var(--hp-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  color: var(--hp-navy) !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  border: none !important;
}
body.hp-team-page .value-card p {
  font-family: var(--hp-sans) !important;
  font-size: 0.88rem !important;
  color: var(--hp-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: none !important;
}
body.hp-team-page .team-cta-section {
  background: var(--hp-navy);
  padding: 5rem 0;
  text-align: center;
}
body.hp-team-page .team-cta-section h2 {
  font-family: var(--hp-serif) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 400 !important;
  color: #fff !important;
  margin: 0 0 1rem !important;
  border: none !important;
  padding: 0 !important;
}
body.hp-team-page .team-cta-section p {
  font-family: var(--hp-sans) !important;
  color: rgba(255,255,255,0.7) !important;
  max-width: 600px !important;
  margin: 0 auto 2rem !important;
  font-size: 1rem !important;
}
body.hp-team-page .team-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
body.hp-team-page .related-services-section {
  padding: 2.5rem 0;
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-border);
}
body.hp-team-page .related-services-box {
  background: #fff;
  border: 1px solid var(--hp-border);
  padding: 1.75rem 2rem;
}
body.hp-team-page .related-services-box h3 {
  font-family: var(--hp-serif) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--hp-navy) !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: none !important;
}
body.hp-team-page .related-services-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 1.75rem !important;
}
body.hp-team-page .related-services-box a {
  font-family: var(--hp-sans);
  font-size: 0.88rem;
  color: var(--hp-navy);
  text-decoration: underline;
  transition: color 0.2s;
}
body.hp-team-page .related-services-box a:hover {
  color: var(--hp-accent);
}
@media (max-width: 768px) {
  body.hp-team-page .team-hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  body.hp-team-page .team-cta-section { padding: 3.5rem 0; }
  body.hp-team-page .team-cta-actions { flex-direction: column; align-items: center; }
  body.hp-team-page .team-values { padding: 3rem 0; }
  body.hp-team-page .team-values-grid { grid-template-columns: 1fr; }
}
