/* =================================================
   ABPT CARE — ABOUT PAGE
   File: about-style.css
   Scope: page-template-page-about ONLY
================================================= */

@layer reset, tokens, base, layout, components, pages, overrides;

@layer pages {

  /* =================================================
     PAGE BACKGROUND
  ================================================= */

  body.page-template-page-about {
    background:
      radial-gradient(
        1200px 600px at 50% -15%,
        rgba(246,78,92,0.04),
        rgba(255,255,255,0) 65%
      ),
      var(--color-light);
  }

  /* Lift above overlay system */
  body.page-template-page-about > * {
    position: relative;
    z-index: 1;
  }


  /* =================================================
     HERO
  ================================================= */

  body.page-template-page-about .about-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  body.page-template-page-about .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(20,25,35,.75),
      rgba(20,25,35,.55)
    );
  }

  body.page-template-page-about .hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    color: #ffffff;
  }

  body.page-template-page-about .hero-title {
    font-size: clamp(3rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
  }

  body.page-template-page-about .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
  }


  /* =================================================
     SECTION SPACING (MATCH HOME)
  ================================================= */

  body.page-template-page-about section {
    padding: var(--space-4xl) 0;
  }

  @media (max-width: 768px) {
    body.page-template-page-about section {
      padding: var(--space-3xl) 0;
    }
  }


  /* =================================================
     MISSION
  ================================================= */

  body.page-template-page-about .about-mission .container {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  body.page-template-page-about .about-mission h2 {
    margin-bottom: var(--space-xl);
  }

  body.page-template-page-about .about-mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }


  /* =================================================
     VALUES GRID
  ================================================= */

  body.page-template-page-about .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
  }

  body.page-template-page-about .value-card {
    background: var(--surface-base);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--elevation-2);
    text-align: center;
    transition: all .3s ease;
  }

  body.page-template-page-about .value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elevation-4);
  }

  body.page-template-page-about .value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }

  body.page-template-page-about .value-card p {
    opacity: 0.85;
    line-height: 1.7;
  }


  /* =================================================
     WHY SECTION
  ================================================= */

  body.page-template-page-about .why-grid {
    max-width: 720px;
    margin: 2rem auto 0;
    display: grid;
    gap: var(--space-lg);
    font-size: 1.1rem;
    font-weight: 500;
  }

  body.page-template-page-about .why-item {
    background: var(--surface-base);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
  }


  /* =================================================
     CTA
  ================================================= */

  body.page-template-page-about .about-cta {
    text-align: center;
    background: linear-gradient(
      180deg,
      rgba(25,35,70,0.32),
      rgba(25,35,70,0.24)
    );
    color: #ffffff;
  }

  body.page-template-page-about .about-cta .btn {
    margin-top: 2rem;
    padding: 0.95rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
  }


  /* =================================================
     RESPONSIVE
  ================================================= */

  @media (max-width: 1024px) {
    body.page-template-page-about .values-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    body.page-template-page-about .values-grid {
      grid-template-columns: 1fr;
    }

    body.page-template-page-about .hero-title {
      font-size: 2.2rem;
    }
  }


  /* =================================================
     ACCESSIBILITY
  ================================================= */

  @media (prefers-reduced-motion: reduce) {
    body.page-template-page-about * {
      transition: none !important;
    }
  }

}
