/* =============================================================
   RR Enterprises & Power Solutions — About Page Styles
   Reuses tokens declared in css/style.css (:root) —
   ink / paper / amber / sky / leaf, Fraunces / Manrope / IBM Plex Mono
   ============================================================= */

/* ---------- shared page-banner base ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  color: var(--paper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner .eyebrow {
  color: var(--amber);
}

.page-banner h1 {
  color: var(--paper);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin: 10px 0 0;
  max-width: 20ch;
}

/* ---------- about banner image (simplified) ---------- */
.about-banner {
  background-image:
    linear-gradient(180deg, rgba(23, 35, 59, 0.75), rgba(23, 35, 59, 0.50)),
    url("../images/gallery/4.jpeg");
}

/* ---------- about story with image ---------- */
.about-story h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 8px 0 18px;
  max-width: 22ch;
  color: var(--ink);
}

.about-story p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 58ch;
}

.about-story p + p {
  margin-top: 14px;
}

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Vision, Mission, Values ---------- */
.about-vmv {
  padding: 70px 0;
}

.vmv-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.vmv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vmv-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper-dim);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.vmv-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-display);
  color: var(--ink);
}

.vmv-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---------- scope cards ---------- */
.about-scope {
  padding: 70px 0;
}

.about-scope h2 {
  color: var(--ink);
}

.scope-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scope-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scope-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper-dim);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.scope-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.scope-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* =============================================================
   BENEFITS SECTION (Replaces Milestones) - LIGHT TEXT
   ============================================================= */
.about-benefits {
  padding: 70px 0;
}

/* Bright heading for dark background */
.about-benefits h2 {
  color: var(--paper);
}

.benefits-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.benefits-image {
  width: 100%;
  max-width: 500px; /* Adjust this value to match your image's actual width */
  height: auto;
  display: block;
  object-fit: contain;
}

.benefits-list {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  list-style: none;
}

/* Brighter green checkmarks */
.benefits-list li i {
  color: #6EE7A0;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bright white titles */
.benefits-list h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--paper);
}

/* Soft white body text */
.benefits-list p {
  font-size: 0.92rem;
  color: rgba(250, 246, 236, 0.8);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---------- responsive ---------- */
@media (max-width: 992px) {
  .page-banner {
    padding: calc(var(--header-h) + 60px) 0 60px;
  }
}

@media (max-width: 768px) {
  .page-banner-lede {
    font-size: 0.95rem;
  }

  .scope-card {
    padding: 20px 18px;
  }

  .vmv-card {
    padding: 24px 18px;
  }

  .about-image-wrapper {
    margin-top: 16px;
  }
  
  .about-benefits {
    padding: 50px 0;
  }
  
  .benefits-image-wrapper {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .page-banner {
    padding: calc(var(--header-h) + 40px) 0 40px;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .vmv-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}