/* ============ PAGE HERO ============ */
.page-hero {
  background: var(--navy);
  padding: 128px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding: 168px 24px 96px; }
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(170,14,65,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(170,14,65,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 740px; margin: 0 auto; }
.page-hero-inner .hero-eyebrow { margin: 0 auto 28px; }
.page-hero h1 {
  font-size: clamp(36px, 7vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.page-hero h1 span,
.page-hero h1 em { color: var(--crimson); font-style: normal; }
.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
}

/* ============ ORIGIN SECTION ============ */
.about-origin {
  background: var(--ivory);
  border-radius: 24px;
  margin: -24px 10px 0;
  position: relative;
  z-index: 1;
  padding: 48px 20px 60px;
}
@media (min-width: 641px) {
  .about-origin { border-radius: 40px; margin: -40px 16px 0; padding: 72px 48px 80px; }
}

.origin-grid {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 900px) {
  .origin-grid { flex-direction: row; gap: 48px; align-items: flex-start; }
}

.origin-text { flex: 1; }
.origin-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}
.origin-text p:last-child { margin-bottom: 0; }

/* ============ MISSION SECTION ============ */
.about-mission {
  background: var(--surface);
  border-radius: 24px;
  margin: 4px 10px -24px;
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  text-align: center;
}
@media (min-width: 641px) {
  .about-mission { border-radius: 40px; margin: 6px 16px -40px; padding: 88px 48px; }
}

.mission-statement {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 860px;
  margin: 16px auto 0;
}
.mission-statement span { color: var(--crimson); }

.mission-divider {
  width: 48px; height: 3px;
  background: var(--crimson);
  border-radius: 2px;
  margin: 40px auto;
}
.mission-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ============ VALUES SECTION ============ */
.about-values {
  background: var(--surface);
  border-radius: 24px;
  margin: 4px 10px 0;
  position: relative;
  z-index: 2;
  padding: 48px 20px 60px;
}
@media (min-width: 641px) {
  .about-values { border-radius: 40px; margin: 6px 16px 0; padding: 72px 48px 80px; }
}

.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  background: var(--ivory);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--border);
}
@media (min-width: 480px) {
  .value-card { padding: 32px 28px; }
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--crimson-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.value-title {
  font-size: 18px; font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.value-body {
  font-size: 14px; line-height: 1.75;
  color: var(--muted);
}

/* ============ FINAL CTA BUTTON (adds to main.css's shared .final-cta) ============ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 32px;
  padding: 15px 36px;
  background: var(--white);
  color: var(--crimson);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-btn:hover { background: var(--crimson-light); transform: translateY(-1px); }

/* ============ RICH MULTI-COLUMN FOOTER (overrides main.css footer) ============ */
footer { text-align: left; padding: 0; }

.footer-rich { padding: 48px 20px 24px; }
@media (min-width: 560px) {
  .footer-rich { padding: 56px 32px 28px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.2fr; }
}

.footer-brand-logo { height: 26px; width: auto; display: block; margin-bottom: 16px; opacity: 0.95; }

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  max-width: 260px;
}

.footer-trust-line {
  font-size: 12px;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 18px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--crimson); border-color: var(--crimson); }

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 4px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(170,14,65,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}
.footer-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1160px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 559px) {
  .footer-bottom { flex-direction: column; }
}

/* ============ MOBILE — literal match to bhucheq-mobile-mockup.html's
   "About" frame. Scoped to max-width:640px only; desktop (the base rules
   above / their min-width overrides) is untouched. ============ */
@media (max-width: 640px) {

  /* HERO — mockup: padding 26px 20px 8px. Top is 26px + 76px measured
     clearance for .topbar-wrap (position:fixed, top:12px + 64px height =
     76px bottom edge at both 375px and 440px) since the mockup's topbar is
     sticky (in-flow) and doesn't need this compensation.
     Mockup's hero has no background (inherits the page's light ivory) and
     no decorative pseudo-elements — both were live-only additions tuned
     for a dark backdrop that doesn't exist in the mockup for this
     component (same is true of bhumap.css/legal.css's .page-hero, out of
     scope here). Text colors below are switched from white/light (assumed
     navy backdrop) to navy/muted (mockup's actual colors for h1/p on a
     light backdrop). */
  /* Mockup's hero is left-aligned throughout (no text-align:center, no
     max-width+margin:auto centering on the eyebrow/h1/p). The base rule's
     text-align:center (line 5) is what's actually centering the eyebrow
     chip and h1/p text here — .page-hero-inner's margin:0 auto and
     .hero-eyebrow's margin:0 auto are both no-ops at this width (auto-
     margin centering only applies to block boxes narrower than their
     container, which .page-hero-inner's 740px max-width never is below
     768px, and inline-flex boxes like .hero-eyebrow don't self-center via
     margin at all — their horizontal auto margins compute to 0). */
  .page-hero { background: none; padding: 102px 20px 8px; text-align: left; }
  .page-hero::before,
  .page-hero::after { display: none; }
  .page-hero h1 { font-size: 26px; color: var(--heading); }
  .page-hero h1 br { display: none; }
  .page-hero p { color: var(--muted); }
  .page-hero .hero-eyebrow {
    background: rgba(170,14,65,0.08);
    color: var(--crimson);
    border-radius: 999px;
    padding: 5px 12px;
  }
  .page-hero .hero-eyebrow::before { display: none; }

  /* ORIGIN — no card wrapper, plain block */
  .about-origin { background: none; border-radius: 0; margin: 0; padding: 18px 16px 4px; }
  .origin-text p { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
  .about-origin .section-title,
  .about-values .section-title { font-size: 17px; font-weight: 800; }

  /* MISSION — no card wrapper, flat block */
  .about-mission { background: none; border-radius: 0; margin: 0; padding: 30px 22px; }
  .mission-statement { font-size: 21px; line-height: 1.3; }
  .mission-divider { width: 40px; height: 3px; margin: 0 auto 16px; }
  .mission-sub { font-size: 13px; line-height: 1.55; max-width: 34ch; }

  /* VALUES — no card wrapper */
  .about-values { background: none; border-radius: 0; margin: 0; padding: 4px 16px 4px; }
  .value-card {
    border-radius: 20px;
    padding: 20px 18px;
    margin: 0 16px 12px;
    box-shadow: 0 8px 22px rgba(10,0,64,0.06);
    border: none;
    text-align: center;
  }
  .value-icon {
    width: auto; height: auto;
    border-radius: 0;
    background: none;
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
  }
  .value-title { font-size: 15px; }
  .value-body { font-size: 12.5px; line-height: 1.55; }

  /* FINAL CTA — navy gradient score-card treatment, not the sitewide solid crimson */
  .final-cta {
    background: linear-gradient(160deg, var(--navy), #180060);
    border-radius: 20px;
    padding: 20px 18px;
    margin: 8px 16px 20px;
  }
  .final-cta h2 { font-size: 17px; font-weight: 700; }
  .final-cta p { font-size: 12.5px; }
  .cta-btn {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 15px;
    border-radius: 14px;
    background: var(--white);
    color: var(--navy);
    box-shadow: none;
  }
  .cta-btn:hover { background: var(--white); transform: none; }
}
