/* ================================================================
   QUALZY — About Page Styles
   Prefix: ab-
   ================================================================ */


/* HERO (dark)
   ---------------------------------------------------------------- */
.ab-hero {
  padding-top: 64px; /* nav offset */
  background: var(--dk);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ab-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(250, 88, 2, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ab-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 48px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.ab-hero h1 em {
  font-style: italic;
  color: var(--o);
}

.ab-hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
}


/* STORY / MISSION
   ---------------------------------------------------------------- */
.ab-story {
  background: var(--wh);
}

/* Two-column: copy left, stats right */
.ab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ab-story-p2 {
  margin-top: 20px;
  font-size: 16px;
}

/* Problems panel */
.ab-story-problems {
  background: var(--op);
  border: 1.5px solid rgba(250, 88, 2, 0.15);
  border-radius: 12px;
  padding: 36px 32px;
  align-self: start;
}

.ab-prob-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 24px;
}

.ab-prob-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ab-prob-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--dk);
  line-height: 1.5;
}

.ab-prob-icon {
  color: var(--o);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
}


/* WHAT MAKES US DIFFERENT (warm bg)
   ---------------------------------------------------------------- */
.ab-diff {
  background: var(--op);
}

.ab-diff-inner {
  /* .pad provides padding */
}

.ab-diff-hd {
  margin-bottom: 60px;
}

/* 2×2 card grid */
.ab-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ab-diff-card {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.15);
  border-radius: 16px;
  padding: 40px 36px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ab-diff-card:hover {
  border-color: var(--o);
  box-shadow: 0 6px 24px rgba(250, 88, 2, 0.1);
}

.ab-diff-icon {
  width: 40px;
  height: 40px;
  color: var(--o);
  margin-bottom: 18px;
}

.ab-diff-icon svg {
  width: 40px;
  height: 40px;
}

.ab-diff-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--dk);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ab-diff-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}


/* TRUST / CREDENTIALS (dark)
   ---------------------------------------------------------------- */
.ab-trust {
  background: var(--dk);
}

.ab-trust-inner {
  /* .pad provides padding */
}

.ab-trust-hd {
  margin-bottom: 60px;
}

/* Four equal columns */
.ab-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.ab-trust-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 36px 28px;
  transition: background var(--t-base);
}

.ab-trust-item:hover {
  background: rgba(250, 88, 2, 0.07);
}

.ab-trust-icon {
  width: 36px;
  height: 36px;
  color: var(--o);
  margin-bottom: 14px;
}

.ab-trust-icon svg {
  width: 36px;
  height: 36px;
}

/* Real logo images for org credentials */
.ab-trust-logo-wrap {
  height: 36px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.ab-trust-logo {
  max-height: 36px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  /* Convert to --o orange (#E8612C) to match ISO shield and globe icons */
  filter: brightness(0) saturate(100%) invert(44%) sepia(78%) saturate(605%) hue-rotate(342deg) brightness(101%);
}

.ab-trust-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ab-trust-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}


/* REGIONS
   ---------------------------------------------------------------- */
.ab-regions {
  background: #fff;
}

.ab-reg-hd {
  text-align: center;
  margin-bottom: 64px;
}

.ab-reg-sub {
  margin: 0 auto;
}

/* Three region cards */
.ab-reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-reg-card {
  background: var(--wh);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ab-reg-card:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 6px 24px rgba(250, 88, 2, 0.08);
}

.ab-reg-flag {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.ab-reg-region {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--dk);
  margin-bottom: 4px;
}

.ab-reg-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--o);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ab-reg-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
}

.ab-reg-email,
.ab-reg-phone,
.ab-reg-address {
  display: block;
  font-size: 13px;
  color: var(--mu);
  margin-bottom: 4px;
  text-decoration: none;
  font-style: normal; /* reset <address> italic */
  line-height: 1.55;
}

.ab-reg-email {
  color: var(--o);
  font-weight: 500;
}

.ab-reg-address {
  margin-top: 8px;
}


/* RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .ab-hero-inner  { padding: 60px 24px 72px; }
  .ab-trust       { /* .pad handles padding via global 60px 24px */ }

  .ab-story-grid  { grid-template-columns: 1fr; gap: 48px; }
  .ab-diff-grid   { grid-template-columns: 1fr; gap: 20px; }
  .ab-trust-grid  { grid-template-columns: 1fr 1fr; }
  .ab-reg-grid    { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .ab-trust-grid  { grid-template-columns: 1fr; }
}
