/* =============================================
   AGILE TRANSFORMATION PAGE — STYLES
============================================= */

/* ---- Active nav state ---- */
.nav-link--active { color: var(--white) !important; }
.dropdown a.active { color: var(--teal) !important; }
.footer-link--active { color: var(--gold) !important; }

/* ================================================
   SECTION 1: HERO
   Dark bg + abstract wave image
   LEFT: big title + description
   RIGHT: photo (rounded corners)
================================================ */
.ag-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px; /* header height */
}

.ag-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

.ag-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2,2,2,0.92) 0%,
    rgba(2,2,2,0.75) 50%,
    rgba(2,2,2,0.3) 100%
  );
  z-index: 1;
}

.ag-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.ag-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ag-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--white);
}

.ag-hero-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  max-width: 460px;
}

.ag-hero-img {
  display: flex;
  justify-content: flex-end;
}

.ag-hero-img img {
  width: 100%;
  max-width: 520px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ================================================
   SECTION 2: AGILITY = STABILITY + ENERGY
   LEFT: wave image, RIGHT: heading + 2 paras
================================================ */
.ag-stability {
  padding: 100px 0;
  background: var(--bg);
}

.ag-stability-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ag-stability-img img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/10;
}

.ag-stability-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ag-stability-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
}

.ag-stability-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}

.ag-stability-text strong {
  color: var(--white);
  font-weight: 700;
}


/* ================================================
   SECTION 3: OUR APPROACH
   Centered header + 6 service cards (reuses svc-grid)
================================================ */
.ag-approach {
  padding: 80px 0 100px;
  background: var(--bg);
}

.ag-approach-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 60px;
}

.ag-approach-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--white);
  max-width: 820px;
}


/* ================================================
   SECTION 4: ITERATIVE PATH
   LEFT: heading + 2 paras + button
   RIGHT: sticky-notes woman photo
================================================ */
.ag-iterative {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid rgba(51,44,39,0.5);
}

.ag-iterative-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ag-iterative-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ag-iterative-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--white);
}

.ag-iterative-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}

.ag-iterative-text strong {
  color: var(--white);
  font-weight: 700;
}

.ag-cta {
  align-self: flex-start;
  margin-top: 8px;
}

.ag-iterative-img img {
  width: 100%;
  max-width: 520px;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .ag-hero-inner,
  .ag-stability-inner,
  .ag-iterative-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ag-hero-img { justify-content: center; }
  .ag-hero-img img { max-width: 100%; height: 280px; }
  .ag-iterative-img img { max-width: 100%; height: 320px; }
  .ag-hero-overlay {
    background: linear-gradient(180deg, rgba(2,2,2,0.6) 0%, rgba(2,2,2,0.85) 100%);
  }
}

@media (max-width: 640px) {
  .ag-hero { padding-top: 64px; }
  .ag-hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .ag-hero-title { font-size: 36px; letter-spacing: -1px; }
  .ag-stability { padding: 60px 0; }
  .ag-stability-inner { gap: 32px; }
  .ag-approach { padding: 56px 0 72px; }
  .ag-iterative { padding: 60px 0; }
  .ag-iterative-inner { gap: 32px; }
}
