/**
 * About page — modern light layout (no legacy parallax / color clashes)
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Syne:wght@600;700;800&display=swap');

.gp-about {
  --gp-about-green: var(--thm-primary, #006400);
  --gp-about-green-2: #15803d;
  --gp-about-radius: 16px;
  --gp-about-radius-lg: 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.gp-about h1,
.gp-about h2,
.gp-about h3,
.gp-about .gp-about-display {
  font-family: 'Syne', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* Banner */
.gp-about .main-banner {
  position: relative;
  background-position: center center !important;
  background-size: cover !important;
}

.gp-about .main-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(2, 6, 23, 0.62) 0%,
    rgba(2, 6, 23, 0.28) 55%,
    rgba(2, 6, 23, 0.12) 100%
  );
  pointer-events: none;
}

.gp-about .main-banner .container {
  position: relative;
  z-index: 1;
}

.gp-about .main-banner h2 span {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  border-radius: 999px 0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.gp-about .main-banner h2::first-letter {
  color: var(--gp-about-green) !important;
}

.gp-about .breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 100, 0, 0.08);
}

.gp-about .breadcrumb a {
  color: var(--gp-about-green);
}

.gp-about .breadcrumb .active {
  color: #64748b;
}

/* Intro */
.gp-about-intro {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #ffffff;
}

.gp-about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.gp-about-intro-media {
  position: relative;
  border-radius: var(--gp-about-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(0, 100, 0, 0.1);
}

.gp-about-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-about-intro-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.2), transparent);
  pointer-events: none;
}

.gp-about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gp-about-green);
  margin-bottom: 0.75rem;
}

.gp-about-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.gp-about-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #334155;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.gp-about-body {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.85;
}

.gp-about-body p {
  margin-bottom: 1rem;
}

.gp-about-body p:last-child {
  margin-bottom: 0;
}

.gp-about-body .row {
  margin-top: 1.5rem;
}

.gp-about-body ul.list-style-3 {
  margin: 0;
  padding: 0;
}

.gp-about-body ul.list-style-3 li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  margin: 0;
  border-bottom: 1px solid rgba(0, 100, 0, 0.08);
}

.gp-about-body ul.list-style-3 li:last-child {
  border-bottom: none;
}

.gp-about-body ul.list-style-3 li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-size: 0.75rem;
  color: var(--gp-about-green);
}

.gp-about-body ul.list-style-3 a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.gp-about-body ul.list-style-3 a:hover {
  color: var(--gp-about-green);
}

/* Visual band */
.gp-about-visual {
  min-height: 220px;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: scroll !important;
  position: relative;
}

.gp-about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.15) 18%,
    rgba(255, 255, 255, 0.15) 82%,
    rgba(248, 250, 248, 0.95) 100%
  );
}

/* Services */
.gp-about-services {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #f8faf8;
  border-top: 1px solid rgba(0, 100, 0, 0.08);
}

.gp-about-services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.gp-about-services-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.gp-about-services-header h2 span {
  color: var(--gp-about-green);
  font-weight: 700;
}

.gp-about-services-header h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

.gp-about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gp-about-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(0, 100, 0, 0.1);
  border-radius: var(--gp-about-radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.gp-about-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 100, 0, 0.22);
  box-shadow: 0 16px 32px rgba(0, 100, 0, 0.08);
}

.gp-about-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 100, 0, 0.1);
  color: var(--gp-about-green);
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}

.gp-about-service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.65rem;
}

.gp-about-service-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* CTA */
.gp-about-cta {
  padding: 0 0 clamp(3rem, 7vw, 4.5rem);
  background: #f8faf8;
}

.gp-about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--gp-about-radius-lg);
  background: linear-gradient(135deg, #006400 0%, #1b4332 55%, #0d2818 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 100, 0, 0.22);
}

.gp-about-cta-inner h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: #ffffff;
  max-width: 36rem;
  line-height: 1.45;
}

.gp-about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--gp-about-green) !important;
  background: #ffffff !important;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.gp-about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  color: var(--gp-about-green) !important;
}

/* Dark theme shell — keep sections readable */
html.gp-theme-dark .gp-about-intro,
html.dark .gp-about-intro {
  background: #ffffff;
}

html.gp-theme-dark .gp-about .breadcrumb,
html.dark .gp-about .breadcrumb {
  background: #ffffff;
}

html.gp-theme-dark .gp-about-services,
html.gp-theme-dark .gp-about-cta,
html.dark .gp-about-services,
html.dark .gp-about-cta {
  background: #f8faf8;
}

@media (max-width: 991px) {
  .gp-about-intro-grid {
    grid-template-columns: 1fr;
  }

  .gp-about-intro-media {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .gp-about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gp-about-cta-inner {
    text-align: center;
    justify-content: center;
  }

  .gp-about-cta-inner h3 {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .gp-about-services-grid {
    grid-template-columns: 1fr;
  }
}
