/* ============================================================
   ABOUT PAGE — COMPLETE MOBILE FIX
   Fixes: (1) Hero stats cut off  (2) Values cards invisible
   Paste at the very bottom of your style.css
   ============================================================ */

/* ── Fix undefined CSS variables used in values section ── */
:root {
  --dark3:     rgba(255,255,255,0.04);
  --off-white: #ffffff;
  --dark:      #0d1726;
  --dark2:     #060d1e;
  --dark4:     rgba(255,255,255,0.02);
  --gold-muted:#c8a227;
  --card-bg:   #ffffff;
}

/* ============================================================
   FIX 1 — VALUES SECTION (cards invisible on mobile)
   ============================================================ */

/* Desktop layout */
.values-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Card always visible with explicit colours */
.val-item {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(212,168,67,0.2) !important;
  border-radius: 12px !important;
  padding: 22px 18px !important;
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  transition: border-color 0.3s !important;
}
.val-item:hover {
  border-color: rgba(212,168,67,0.45) !important;
}
.val-dot {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: rgba(212,168,67,0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}
.val-item h4 {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #0d1726 !important;
  margin-bottom: 6px !important;
}
.val-item p {
  font-size: 0.8rem !important;
  color: #5c6b85 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.values-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  line-height: 1.05 !important;
  color: #0d1726 !important;
  margin-bottom: 16px !important;
}
.values-h2 em {
  font-style: normal !important;
  color: #c8102e !important;
}
.values-p {
  color: #5c6b85 !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

/* ============================================================
   FIX 2 — HERO STATS (cut off on mobile)
   ============================================================ */

@media (max-width: 820px) {

  /* ── Page hero ── */
  .page-hero {
    min-height: auto !important;
    padding-bottom: 50px !important;
  }
  .page-hero .container {
    padding: 50px 20px 30px !important;
  }

  /* ── Hero title ── */
  .gl__hero-title {
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
  }

  /* ── Hero description ── */
  .gl__hero-desc {
    font-size: 15px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* ── Stats row: 2-column grid instead of flex row ── */
  .vach__stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 24px !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .vach__stat {
    padding: 0 0 12px 0 !important;
    margin: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
  }
  .vach__stat:last-child {
    border-bottom: none !important;
    grid-column: 1 / -1 !important;
  }
  .vach__stat-num {
    font-size: clamp(16px, 4.5vw, 22px) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  .vach__stat-label {
    font-size: 9px !important;
    margin-top: 5px !important;
    letter-spacing: .14em !important;
  }

  /* ── Hide decorative elements on mobile ── */
  .vach__deco-line,
  .vach__scroll {
    display: none !important;
  }

  /* ── Hero tag ── */
  .hero-tag {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-size: 9px !important;
  }

  /* ── Values section: stack on mobile ── */
  .values-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 !important;
  }
  .values-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .values {
    padding: 60px 20px !important;
  }
  .values-h2 {
    font-size: clamp(28px, 7vw, 40px) !important;
  }
  .val-item {
    padding: 18px 16px !important;
  }
}

/* ── Very small phones (< 400px) ── */
@media (max-width: 400px) {
  .vach__stats {
    grid-template-columns: 1fr !important;
  }
  .vach__stat:last-child {
    grid-column: auto !important;
  }
  .gl__hero-title {
    font-size: 26px !important;
  }
}