.xp-energy-cta,
.xp-energy-cta * {
  box-sizing: border-box;
}

.xp-energy-cta {
  --red: #d71920;
  --red-dark: #b51218;
  --black: #1a1a1a;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
  font-family: "Roboto", Arial, sans-serif;
}

.xp-energy-cta__container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.xp-energy-cta__wrap {
  position: relative;
  display: grid;
  min-height: 540px;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  overflow: hidden;
  background: #f1f1f1;
}

.xp-energy-cta__accent {
  position: absolute;
  top: 0;
  right: -100px;
  width: 52%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.xp-energy-cta__content {
  position: relative;
  z-index: 3;
  padding: 70px;
}

.xp-energy-cta__eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.xp-energy-cta__eyebrow > span:first-child {
  width: 34px;
  height: 2px;
  background: var(--red);
}

.xp-energy-cta__content h2 {
  max-width: 630px;
  margin: 0 0 26px;
  color: var(--black);
  font-size: clamp(30px, 4.5vw, 47px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -2.2px;
}

.xp-energy-cta__content h2 strong {
  display: block;
  color: var(--red);
  font-weight: 700;
}

.xp-energy-cta__content > p {
  max-width: 560px;
  margin: 0;
  color: #4c4c4c;
  font-size: 15px;
  line-height: 1.85;
}

.xp-energy-cta__meta {
  display: flex;
  gap: 55px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid #d8d8d8;
}

.xp-energy-cta__meta-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.xp-energy-cta__meta-item span {
  color: #999;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.xp-energy-cta__meta-item a {
  color: #222;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.xp-energy-cta__meta-item a:hover,
.xp-energy-cta__card-bottom a:hover {
  color: var(--red);
}

.xp-energy-cta__card {
  position: relative;
  z-index: 4;
  width: calc(100% - 55px);
  margin-right: 55px;
  margin-left: auto;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .14);
}

.xp-energy-cta__card-top,
.xp-energy-cta__card-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}

.xp-energy-cta__card-top {
  border-bottom: 1px solid #ececec;
}

.xp-energy-cta__card-top span {
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.xp-energy-cta__card-top small {
  color: #aaa;
  font-size: 9px;
}

.xp-energy-cta__card-main {
  padding: 35px 32px 30px;
}

.xp-energy-cta__card-main h3 {
  margin: 0 0 16px;
  color: #202020;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.6px;
}

.xp-energy-cta__card-main p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.75;
}

.xp-energy-cta__button {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  margin-top: 28px;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease;
}

.xp-energy-cta__button:hover {
  background: var(--red-dark);
  color: #fff;
}

.xp-energy-cta__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.xp-energy-cta__button:hover svg {
  transform: translateX(4px);
}

.xp-energy-cta__card-bottom {
  border-top: 1px solid #ececec;
}

.xp-energy-cta__card-bottom a {
  color: #252525;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.xp-energy-cta__card-bottom span {
  color: #999;
  font-size: 8px;
  letter-spacing: .8px;
}

.xp-energy-cta__ghost {
  position: absolute;
  bottom: -45px;
  left: -15px;
  z-index: 1;
  color: rgba(0, 0, 0, .035);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -8px;
  pointer-events: none;
}

@media (max-width: 1000px) {
  .xp-energy-cta { padding: 80px 0; }
  .xp-energy-cta__wrap { grid-template-columns: 1fr; padding-bottom: 60px; }
  .xp-energy-cta__accent {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 48%;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }
  .xp-energy-cta__card { width: calc(100% - 100px); margin: 0 auto; }
}

@media (max-width: 650px) {
  .xp-energy-cta { padding: 60px 0; }
  .xp-energy-cta__container { width: calc(100% - 30px); }
  .xp-energy-cta__content { padding: 45px 25px; }
  .xp-energy-cta__content h2 { font-size: 38px; letter-spacing: -1.2px; }
  .xp-energy-cta__content > p { font-size: 14px; }
  .xp-energy-cta__meta { flex-direction: column; gap: 18px; }
  .xp-energy-cta__card { width: calc(100% - 30px); }
  .xp-energy-cta__card-main { padding: 28px 22px; }
  .xp-energy-cta__card-main h3 { font-size: 23px; }
  .xp-energy-cta__card-bottom { align-items: flex-start; flex-direction: column; }
  .xp-energy-cta__ghost { bottom: -20px; font-size: 90px; }
}
