/* ===============================
   ABOUT PAGE
================================== */

.about-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 40px 90px;
}

/* Hero */

.about-hero-bento {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, #082f5f, #123f73);
  border-radius: 36px;
  padding: 64px;
  color: white;
  box-shadow: 0 28px 70px rgba(8, 47, 95, 0.22);
  margin-bottom: 34px;
}

.about-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.about-hero-text h1 {
  font-size: 54px;
  line-height: 1.06;
  margin: 16px 0 22px;
}

.about-hero-text p {
  color: #dbeafe;
  line-height: 1.75;
  max-width: 560px;
}

.about-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.about-primary-btn,
.about-secondary-btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.about-primary-btn {
  background: var(--green);
  color: white;
}

.about-secondary-btn {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

/* Stats */

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.about-stats-strip div {
  text-align: center;
  border-right: 1px solid #e6edf5;
}

.about-stats-strip div:last-child {
  border-right: 0;
}

.about-stats-strip strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
}

.about-stats-strip span {
  color: var(--muted);
  font-size: 14px;
}

/* Section Titles */

.about-section,
.about-gallery-section {
  margin-bottom: 80px;
}

.about-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.about-section-title span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.about-section-title h2 {
  color: var(--primary);
  font-size: 40px;
  margin-top: 10px;
}

.about-section-title p {
  color: var(--muted);
  max-width: 720px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* Bento Gallery */

.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}

.about-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
  min-height: 230px;
}

.about-bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.about-bento-card.tall {
  grid-row: span 2;
}

.about-bento-card.wide {
  grid-column: span 2;
}

.about-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.about-bento-card:hover img {
  transform: scale(1.06);
}

.bento-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  background: rgba(8, 47, 95, 0.84);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  color: white;
}

.bento-caption strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.bento-caption span {
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.4;
}

/* What We Supply */

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: 0.22s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card span {
  font-size: 30px;
}

.about-card h3 {
  color: var(--primary);
  font-size: 20px;
  margin: 18px 0 10px;
}

.about-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */

.about-dark-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #123f73);
  color: white;
  border-radius: 30px;
  padding: 54px 36px;
  box-shadow: 0 24px 60px rgba(8, 47, 95, 0.18);
}

.about-dark-cta h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.about-dark-cta p {
  color: #dbeafe;
  margin-bottom: 24px;
}

.about-dark-cta a {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 900;
}

/* Responsive */

@media (max-width: 900px) {
  .about-page {
    padding: 42px 20px 70px;
  }

  .about-hero-bento {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .about-hero-text h1 {
    font-size: 38px;
  }

  .about-hero-image img {
    height: auto;
  }

  .about-stats-strip,
  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-strip div {
    border-right: 0;
    border-bottom: 1px solid #e6edf5;
    padding: 16px 0;
  }

  .about-stats-strip div:last-child {
    border-bottom: 0;
  }

  .about-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .about-bento-card.large,
  .about-bento-card.tall,
  .about-bento-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ================= V12 ABOUT ACTIONS ================= */
.about-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 420px);
}

.about-primary-btn,
.about-secondary-btn {
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.about-primary-btn {
  box-shadow: 0 10px 24px rgba(35, 211, 105, 0.2);
}

.about-primary-btn:hover,
.about-secondary-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   v3.3.1 — ABOUT HERO LOCK
   Match the approved Products/Contact top-level hero exactly.
   ========================================================= */
.about-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px 88px;
}

.about-page-hero.page-hero {
  box-sizing: border-box;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 58px;
  text-align: center;
}

.about-page-hero .page-hero-badge {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 20px;
  border: 1px solid #c9daf0;
  border-radius: 999px;
  background: #e9f1fb;
  color: #1463b9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.about-page-hero.page-hero h1 {
  margin: 22px 0 18px;
  color: #173b6b;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.about-page-hero.page-hero p {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto;
  color: #6e87a9;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.65;
}

/* Fix contrast in the dark About feature panel. */
.about-hero-bento .about-label {
  color: #2ee779;
}

.about-hero-bento .about-hero-text h2 {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .12);
}

.about-hero-bento .about-hero-text p {
  color: #e8f1ff;
}

@media (max-width: 768px) {
  .about-page { padding: 0 16px 64px; }
  .about-page-hero.page-hero { padding: 44px 12px 40px; }
  .about-page-hero .page-hero-badge {
    min-height: 34px;
    padding: 7px 15px;
    font-size: 11px;
  }
  .about-page-hero.page-hero h1 {
    margin: 17px 0 13px;
    font-size: clamp(38px, 11vw, 50px);
  }
  .about-page-hero.page-hero p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* =========================================================
   v3.3.3 — ABOUT HERO: MATCH APPROVED PRODUCTS/CONTACT HERO
   Desktop only. Mobile hero is hidden below.
   ========================================================= */
@media (min-width: 769px) {
  .about-page {
    width: min(1500px, calc(100% - 64px));
    max-width: none;
    margin: 0 auto;
    padding: 58px 0 96px;
  }

  .about-page-hero.page-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 42px;
    padding: 0;
    text-align: center;
  }

  .about-page-hero .page-hero-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 30px;
    margin: 0 0 13px;
    padding: 6px 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 99, 185, 0.16);
    border-radius: 999px;
    background: rgba(229, 239, 252, 0.72);
    color: #2c5d96;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .about-page-hero.page-hero h1 {
    margin: 0 0 12px;
    color: #173b6b;
    font-size: clamp(42px, 3vw, 54px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .about-page-hero.page-hero p {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    color: #63748c;
    font-size: 16px;
    line-height: 1.65;
  }
}

/* Keep the lower About page visually contained on wide monitors. */
.about-hero-bento,
.about-stats-strip,
.about-gallery-section,
.about-section,
.about-dark-cta {
  box-sizing: border-box;
  width: min(100%, 1240px);
  margin-left: auto;
  margin-right: auto;
}

.about-hero-bento {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  padding: 54px;
  border-radius: 30px;
}

.about-hero-image img {
  height: clamp(330px, 28vw, 410px);
}

.about-stats-strip {
  margin-top: 32px;
  margin-bottom: 64px;
  padding: 24px 28px;
}

.about-gallery-section,
.about-section {
  margin-bottom: 64px;
}

.about-bento-grid {
  grid-auto-rows: 205px;
  gap: 16px;
}

.about-bento-card {
  min-height: 205px;
  border-radius: 22px;
}

.about-card-grid {
  gap: 18px;
}

.about-card {
  padding: 26px;
  border-radius: 20px;
}

@media (min-width: 769px) and (max-width: 1180px) {
  .about-hero-bento {
    grid-template-columns: 1fr 1fr;
    padding: 42px;
  }

  .about-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .about-bento-card.large,
  .about-bento-card.wide {
    grid-column: span 2;
  }

  .about-bento-card.tall {
    grid-row: span 2;
  }
}

/* Mobile: remove the top-level hero only; content begins immediately. */
@media (max-width: 768px) {
  .about-page-hero.page-hero {
    display: none !important;
  }

  .about-page {
    padding-top: 22px;
  }
}
