/* ===========================
   Homepage hero — left content + right sector cards
   Ported from cp-catapult home-hero / home-hero-content / home-hero-sector
   =========================== */

.cpc-home-hero {
  padding: 0;
  border-left: 10px solid #004038;
}

.cpc-home-hero__columns {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .cpc-home-hero__columns {
    grid-template-columns: 8fr 4fr;
  }
}

.cpc-home-hero__left {
  display: flex;
  flex-direction: column;
}

.cpc-home-hero__right {
  height: 100%;
}

.cpc-home-hero__right-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1024px) {
  .cpc-home-hero__right-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
  .cpc-home-hero__right-inner .cpc-home-hero-sector {
    flex: 1;
  }
}

/* Sector cards */

.cpc-home-hero-sector {
  position: relative;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: #2e2d2b;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-width 0.2s ease;
}

.cpc-home-hero-sector__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.cpc-home-hero-sector__icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(30%, 30%);
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .cpc-home-hero-sector__icon {
    width: 175px;
    height: 175px;
  }
}

.cpc-home-hero-sector__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpc-home-hero-sector:hover .cpc-home-hero-sector__icon {
  transform: translate(30%, 30%) scale(1.15);
}

.cpc-home-hero-sector__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-right: 40px;
}

.cpc-home-hero-sector__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cpc-home-hero-sector__description {
  font-size: 1rem;
  margin: 0;
  opacity: 0.85;
  line-height: 1.3;
  color: #fff;
}

.cpc-home-hero-sector__button {
  display: inline-block;
  margin-top: auto;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* ===========================
   Hero content (left section copy + buttons)
   =========================== */

.cpc-home-hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .cpc-home-hero-content {
    padding: 5rem 4rem;
  }
}

.cpc-home-hero-content__subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cpc-home-hero-content__line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #00997d;
  flex-shrink: 0;
}

.cpc-home-hero-content__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #00997d;
}

.cpc-home-hero-content__heading {
  font-size: clamp(1.75rem, 1.5rem + 2.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #004038;
  max-width: 30ch;
}

.cpc-home-hero-content__heading strong {
  font-weight: 700;
}

.cpc-home-hero-content__description {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  color: #004038;
  max-width: 62ch;
}

.cpc-home-hero-content__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cpc-home-hero-content__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.cpc-home-hero-content__button:hover { opacity: 0.85; }

.cpc-home-hero-content__button--primary {
  background-color: #00997d;
  color: #fff;
}
.cpc-home-hero-content__button--primary:hover { color: #fff; }

.cpc-home-hero-content__button--secondary {
  background-color: transparent;
  color: #2e2d2b;
  border: 2px solid #2e2d2b;
}
.cpc-home-hero-content__button--secondary:hover { color: #2e2d2b; }

.cpc-home-hero-content__badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cpc-home-hero-content__badge-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #00997d;
  border-radius: 2px;
  flex-shrink: 0;
}

.cpc-home-hero-content__badge-text {
  font-size: 1rem;
  color: #004038;
  line-height: 1.4;
}

/* ===========================
   Report block (dark green CTA below content)
   =========================== */

.cpc-home-hero-report {
  position: relative;
  overflow: hidden;
}

.cpc-home-hero-report__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .cpc-home-hero-report__inner {
    padding: 5rem 4rem;
  }
}

.cpc-home-hero-report__subtitle-row { margin-bottom: 1rem; }

.cpc-home-hero-report__subtitle {
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  font-weight: bold;
  color: #fff;
}

.cpc-home-hero-report__heading {
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
}
.cpc-home-hero-report__heading strong { font-weight: 700; }

.cpc-home-hero-report__description {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem;
  line-height: 1.6;
  max-width: 50ch;
}

.cpc-home-hero-report__stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.cpc-home-hero-report__stat {
  min-width: 120px;
  background-color: #fff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.cpc-home-hero-report__stat-value {
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
  font-weight: 700;
  color: #004038;
  line-height: 1.2;
}

.cpc-home-hero-report__stat-value .highlight { color: #00997d; }

.cpc-home-hero-report__stat-label {
  font-size: 0.875rem;
  color: #004038;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.cpc-home-hero-report__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background-color: #00997d;
  color: #fff;
  transition: opacity 0.2s ease;
  margin-top: 0.5rem;
}
.cpc-home-hero-report__button:hover { opacity: 0.85; color: #fff; }

/* ===========================
   Who We Work With section + sector items
   =========================== */

.cpc-who-we-work-with {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .cpc-who-we-work-with {
    padding: 3rem 2rem !important;
  }
}

.cpc-who-we-work-with__header { margin-bottom: 2rem; }

.cpc-who-we-work-with__subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cpc-who-we-work-with__line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #00997d;
  flex-shrink: 0;
}

.cpc-who-we-work-with__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #00997d;
}

.cpc-who-we-work-with__heading-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cpc-who-we-work-with__heading-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cpc-who-we-work-with__heading {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8175rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #004038;
}

.cpc-who-we-work-with__button {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  background-color: transparent;
  border: 2px solid #006a52;
  color: #006a52;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cpc-who-we-work-with__button:hover {
  background-color: #006a52;
  color: #fff;
}

.cpc-sector-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 1px solid #dbdbdb;
  text-decoration: none;
  color: #004038;
  gap: 2rem;
  transition: color 0.2s ease;
}

.cpc-sector-item:first-child { border-top: 1px solid #dbdbdb; }

.cpc-sector-item__name {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  flex-shrink: 0;
}

.cpc-sector-item__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cpc-sector-item__description {
  font-size: 1rem;
  color: #004038;
}

@media (max-width: 768px) {
  .cpc-sector-item__description { display: none; }
}

.cpc-sector-item__arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.cpc-sector-item__arrow-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #006a52;
  background-color: transparent;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a.cpc-sector-item:hover .cpc-sector-item__arrow-circle {
  transform: scale(1);
}

a.cpc-sector-item:hover .cpc-sector-item__arrow svg {
  color: #006a52;
}

.cpc-sector-item__arrow svg {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

/* ===========================
   Our Impact section + impact stats
   =========================== */

.cpc-our-impact {
  padding: 3rem 0;
  background: #004038;
  color: #fff;
}

@media (max-width: 768px) {
  .cpc-our-impact {
    padding: 3rem 2rem !important;
  }
}

.cpc-our-impact__header { margin-bottom: 2.5rem; }

.cpc-our-impact__subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cpc-our-impact__line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #00997d;
  flex-shrink: 0;
}

.cpc-our-impact__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #00997d;
}

.cpc-our-impact__heading-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cpc-our-impact__heading-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cpc-our-impact__heading {
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

.cpc-our-impact__button {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cpc-our-impact__button:hover {
  background-color: #fff;
  color: #004038;
}

.cpc-our-impact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cpc-our-impact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cpc-our-impact__grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.cpc-impact-stat {
  text-align: center;
  border: 1px solid #00997d;
  border-radius: 8px;
  padding: 1.5rem;
}

.cpc-impact-stat__value {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.5rem;

  p {
    margin: 0;
  }

  mark {
    background: none;
    color: #00997d;
  }
}

.cpc-impact-stat__highlight {
  background: none;
  color: #00997d;
}

.cpc-impact-stat__subtext {
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ===========================
   Latest Content section
   =========================== */

.cpc-latest-content {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cpc-latest-content__header {
  margin-bottom: 2rem;
}

.cpc-latest-content__subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cpc-latest-content__line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #00997d;
}

.cpc-latest-content__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #00997d;
}

.cpc-latest-content__heading-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cpc-latest-content__heading-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cpc-latest-content__heading {
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  color: #004038;
}

.cpc-latest-content__button {
  display: inline-flex;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  background: transparent;
  border: 2px solid #006a52;
  color: #006a52;
  font-weight: 600;
  text-decoration: none;
}

.cpc-latest-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cpc-latest-content__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
