/* =====================================
   ABOUT PAGE — CLEAN INDUSTRIAL LAYOUT
   Requested updates:
   DESKTOP:
   - Text shadow on "About Chesnut" + "Global Presence"
   - Remove orange separator line under "About Chesnut"
   MOBILE (≤ 999px):
   - home7.jpg background ONLY behind About heading + paragraph (NOT values)
   - More transparent overlay so image is clearer
   - Value cards: keep indent + bleed, but constrain text width so it wraps (no off-screen)
===================================== */

:root {
  --brand-orange: #EF7A18;
  --site-white: #FAFAFA;
  --value-orange: #F6C28B;

  --content-max: 1680px;
  --side-gutter: clamp(24px, 5vw, 120px);

  --banner-grey: #F2F2F2;
  --divider: rgba(0,0,0,0.12);

  /* heading shadow (word shadow) */
  --heading-shadow: 0 14px 28px rgba(0,0,0,0.20);
}

/* =========================
   PAGE BASE
========================= */

.about-page {
  background: var(--site-white);
  color: #111;
  width: 100%;
  overflow-x: hidden;
}

/* =========================
   GLOBAL CONTENT WIDTH
========================= */

.about-hero-inner,
.about-values-inner,
.band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--side-gutter);
  padding-right: var(--side-gutter);
}

/* =========================
   HERO
========================= */

.about-hero {
  height: 600px;
  background:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.05)),
    var(--hero-image) center / cover no-repeat;
  display: flex;
  align-items: flex-start;
}

.about-hero-inner { padding-top: 72px; }

.about-hero h1 {
  font-size: 62px;
  color: #ffffff;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 22px;
  color: rgba(255,255,255,0.88);
  max-width: 820px;
}

/* =========================
   ABOUT + IMAGE ROW
========================= */

.about-values {
  background: #ffffff;
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

.about-values-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 72px;
  position: relative;
}

/* TEXT */
.about-text {
  position: relative;
  z-index: 2;
}

.about-text h2 {
  font-size: 49px;
  color: var(--brand-orange);
  margin-bottom: 32px;
  text-shadow: var(--heading-shadow);
  padding-bottom: 0;
}

/* Orange separator removed (do not add ::after) */

.about-text p {
  font-size: 21px;
  line-height: 2.05;
  color: rgba(0,0,0,0.85);
  max-width: 1200px;
  text-align: left;
  margin: 0;
}

/* =========================
   RIGHT DIAMOND IMAGE (DESKTOP)
========================= */

.about-chesnut-media {
  position: relative;
  height: 520px;
  overflow: visible;
  z-index: 0;
}

.about-chesnut-diamond {
  position: absolute;
  top: calc(50% + 225px);
  right: calc(-26% - 455px);
  width: 900px;
  height: 900px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  z-index: -1;
}

.about-chesnut-diamond img {
  position: absolute;
  inset: 0;
  width: 140%;
  height: 140%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  object-fit: cover;
}

/* =========================
   VALUES GRID (DESKTOP)
========================= */

.values-grid {
  position: relative;
  z-index: 2;
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.value-card {
  background: var(--value-orange);
  border-radius: 14px;
  padding: 38px 34px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.16);
}

.value-card h3 {
  font-size: 23px;
  margin-bottom: 16px;
}

.value-card p {
  font-size: 18px;
  line-height: 1.9;
}

/* =========================
   GLOBAL PRESENCE
========================= */

.band-map {
  background: #ffffff;
  padding-top: 60px;
  padding-bottom: 140px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.08);
  position: relative;
  z-index: 0;
}

.band-map h2 {
  font-size: 49px;
  color: var(--brand-orange);
  text-align: center;
  text-shadow: var(--heading-shadow);
}

.map-static img {
  width: 100%;
  border-radius: 16px;
  margin-top: 40px;
}

.map-locations {
  max-width: 1300px;
  margin: 60px auto 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  padding: 0;
}

.map-location {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 18px;
}

.map-location img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
}

.map-location-text strong { white-space: nowrap; }

/* =========================
   CERTIFICATIONS — FULL WIDTH BANNER
========================= */

.cert-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: var(--banner-grey);
  border-top: 1px solid var(--divider);
  padding: 30px 0 26px;

  position: relative;
  z-index: 1;
}

.cert-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-gutter);
}

.cert-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cert-logos img {
  width: 264px;
  height: 264px;
  object-fit: contain;
  display: block;
}

/* =========================
   RESPONSIVE ≤ 999px (UPDATED)
   Changes:
   1) home7.jpg is background for ENTIRE about-values section (includes value cards)
   2) No rounded corners on that background
   3) Only narrow text box on cards #2 and #4 (Execution Reliability, Long-Term Partnership)
========================= */

@media (max-width: 999px) {

  /* =========================
     HERO
  ========================= */

  .about-hero {
    height: 360px;
    align-items: flex-start;
  }

  .about-hero-inner {
    padding-top: 56px;
  }

  .about-hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .about-hero p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
  }

  /* =========================
     ABOUT SECTION — FULL BG
  ========================= */

  .about-values {
    position: relative;
    padding: 80px 0;

    /* full-width background image */
    background: url("assets/home7.jpg") center / cover no-repeat;

    /* section controls no horizontal padding */
    padding-left: 0;
    padding-right: 0;
  }

  /* short, soft fade top + bottom */
  .about-values::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,1.00) 0%,
        rgba(255,255,255,0.85) 6%,
        rgba(255,255,255,0.55) 16%,
        rgba(255,255,255,0.55) 84%,
        rgba(255,255,255,0.85) 94%,
        rgba(255,255,255,1.00) 100%
      );
    z-index: 0;
  }

  /* =========================
     RESTORE ORIGINAL SPACING
  ========================= */

  .about-values-inner {
    padding-left: var(--side-gutter);
    padding-right: var(--side-gutter);
    position: relative;
    z-index: 1;
  }

  .about-values-split {
    grid-template-columns: 1fr;
    gap: 18px;
    background: transparent;
  }

  /* =========================
     ABOUT TEXT — BLACK BLEED PANEL
  ========================= */

.about-text {
  position: relative;
  z-index: 1;

  /* spacing */
  padding: 20px 22px;

  /* black translucent backing */
  background: rgba(0,0,0,0.72);

  /* LEFT EDGE = STRAIGHT, RIGHT EDGE ROUNDED */
  border-radius: 0 14px 14px 0;

  /* LEFT BLEED */
  margin-left: calc(var(--side-gutter) * -1);
  padding-left: calc(22px + var(--side-gutter));

  /* depth */
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.about-text h2 {
  font-size: 34px;
  margin-bottom: 14px;

  /* brand orange title */
  color: var(--brand-orange);

  text-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

  .about-text p {
    font-size: 15.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
  }

  /* hide diamond image on mobile */
  .about-chesnut-media {
    display: none;
  }

  /* =========================
     VALUES GRID
  ========================= */

  .values-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 26px;
  }

  .value-card {
    position: relative;
    width: 100%;
    background: var(--value-orange);
    border-radius: 14px;

    /* right-side bleed */
    margin-right: calc(var(--side-gutter) * -1);

    padding: 22px 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  }

  /* stagger pattern */
  .value-card:nth-child(even) {
    margin-left: 18%;
  }

  /* bleed lip */
  .value-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -28px;
    width: 28px;
    background: var(--value-orange);
    border-radius: 0 14px 14px 0;
  }

  /* default text width */
  .value-card-inner {
    max-width: 100%;
  }

  /* only tighten cards that need wrapping */
  .value-card:nth-child(2) .value-card-inner,
  .value-card:nth-child(4) .value-card-inner {
    max-width: 78%;
  }

  .value-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .value-card p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  /* =========================
     GLOBAL PRESENCE
  ========================= */

  .band-map {
    padding-top: 40px;
    padding-bottom: 70px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  }

  .band-map h2 {
    font-size: 34px;
    text-shadow: var(--heading-shadow);
  }

  .map-static img {
    margin-top: 18px;
    border-radius: 14px;
  }

  .map-locations {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
  }

  .map-location {
    gap: 14px;
    font-size: 15px;
  }

  .map-location img {
    width: 78px;
    height: 78px;
    border-radius: 10px;
  }

  /* =========================
     CERTIFICATIONS
  ========================= */

  .cert-section {
    padding: 22px 0 18px;
  }

  .cert-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    justify-items: center;
    align-items: center;
  }

  .cert-logos img {
    width: 120px;
    height: 120px;
  }
}
