/* MaxGP Ciclo de Ventas - estilos totalmente aislados */
.maxgp-cv,
.maxgp-cv * {
  box-sizing: border-box;
}

.maxgp-cv {
  --navy: #0c1f4a;
  --blue: #0b57d0;
  --blue2: #0a86d8;
  --teal: #16a0a0;
  --green: #74b72e;
  --yellow: #f2b705;
  --orange: #ef7a00;
  --red: #d91515;
  --purple: #6f2dbd;
  --text: #24324a;
  --muted: #5d6b82;
  --line: #dbe4f1;
  --soft: #f5f8fd;
  --white: #fff;

  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 18px 34px;
  color: var(--text);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.maxgp-cv p,
.maxgp-cv h2,
.maxgp-cv h3,
.maxgp-cv h4,
.maxgp-cv ol {
  margin-top: 0;
}

.maxgp-cv__eyebrow {
  color: var(--blue);
  font-size: clamp(18px, 1.5vw, 24px);
  margin-bottom: 4px;
}

.maxgp-cv__title {
  margin: 0 !important;
  color: #09183b !important;
  font-size: clamp(34px, 4vw, 64px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  font-family: inherit !important;
}

.maxgp-cv__subtitle {
  margin: 8px 0 24px;
  color: var(--blue);
  font-size: clamp(22px, 2vw, 33px);
  line-height: 1.2;
}

.maxgp-cv__intro {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(90deg, #f7f9fd, #fff);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 32px;
}

.maxgp-cv__round-icon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #174fc6, #072f91);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.maxgp-cv__intro p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  color: #1d2a49 !important;
}

.maxgp-cv__intro strong {
  font-weight: 800;
}

.maxgp-cv__content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.maxgp-cv__section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 4px;
  color: #0a1c4f;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.maxgp-cv__section-title::before,
.maxgp-cv__section-title::after {
  content: "";
  height: 1px;
  background: #7aa6ef;
  flex: 1;
}

.maxgp-cv__section-sub {
  text-align: center;
  margin: 0 0 22px !important;
  color: #26375c !important;
  font-size: 16px !important;
}

.maxgp-cv__funnels {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 0;
}

.maxgp-cv__funnel-card {
  padding: 0 24px 4px;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.maxgp-cv__funnel-card:last-child {
  border-right: none;
}

.maxgp-cv__vertical-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}

.maxgp-cv__mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-size: 23px;
  flex: 0 0 auto;
}

.maxgp-cv__title-blue { color: #0d2c76; }
.maxgp-cv__title-teal { color: #089a9a; }
.maxgp-cv__title-purple { color: #6c2eb9; }
.maxgp-cv__title-orange { color: #ef6f00; }

.maxgp-cv__funnel-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.maxgp-cv__funnel {
  width: 112px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}

.maxgp-cv__funnel span {
  display: block;
  height: 34px;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.maxgp-cv__funnel span:nth-child(1) { width: 112px; background: #1152c7; }
.maxgp-cv__funnel span:nth-child(2) { width: 98px; background: #0a83d1; }
.maxgp-cv__funnel span:nth-child(3) { width: 84px; background: #149a9b; }
.maxgp-cv__funnel span:nth-child(4) { width: 70px; background: #78b92d; }
.maxgp-cv__funnel span:nth-child(5) { width: 57px; background: #f1b607; }
.maxgp-cv__funnel span:nth-child(6) { width: 44px; background: #f07800; }
.maxgp-cv__funnel span:nth-child(7) { width: 31px; background: #d91515; }

.maxgp-cv__steps {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: maxgp-step;
}

.maxgp-cv__steps li {
  counter-increment: maxgp-step;
  position: relative;
  min-height: 42px;
  padding: 4px 0 4px 22px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: #24324a !important;
  list-style: none !important;
}

.maxgp-cv__steps li::before {
  content: counter(maxgp-step) ".";
  position: absolute;
  left: 0;
  top: 3px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent !important;
  color: #253a63;
  font-weight: 500;
  font-size: 13px;
}

.maxgp-cv__results {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.maxgp-cv__results > h3 {
  color: #0756c9 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: center;
  margin: 0 0 18px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: inherit !important;
}

.maxgp-cv__result {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.maxgp-cv__result:last-child {
  border-bottom: 0;
}

.maxgp-cv__result-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.maxgp-cv__r1 { background: linear-gradient(145deg, #164ec2, #062f91); }
.maxgp-cv__r2 { background: linear-gradient(145deg, #1bb6b3, #0b8b8b); }
.maxgp-cv__r3 { background: linear-gradient(145deg, #8b42ce, #6520a7); }

.maxgp-cv__result h4 {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #0c3a94 !important;
  font-family: inherit !important;
}

.maxgp-cv__result:nth-child(2) h4 { color: #078c8b !important; }
.maxgp-cv__result:nth-child(3) h4 { color: #6e2ab2 !important; }

.maxgp-cv__result p {
  margin: 0 !important;
  color: #26364f !important;
  line-height: 1.45 !important;
  font-size: 15px !important;
}

.maxgp-cv__note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 16px 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f3f6fb, #fff);
  color: #15316e;
  font-size: 16px;
  line-height: 1.4;
}

.maxgp-cv__info {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}

.maxgp-cv__note strong {
  color: #0756c9;
}

@media (max-width: 1180px) {
  .maxgp-cv__content-grid {
    grid-template-columns: 1fr;
  }

  .maxgp-cv__results {
    border-left: 0;
    padding-left: 0;
  }

  .maxgp-cv__results > h3 {
    text-align: left;
  }

  .maxgp-cv__results-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .maxgp-cv__result {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
  }
}

@media (max-width: 980px) {
  .maxgp-cv__funnels {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .maxgp-cv__funnel-card {
    border: 1px solid var(--line) !important;
    border-radius: 16px;
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .maxgp-cv {
    padding-left: 14px;
    padding-right: 14px;
  }

  .maxgp-cv__title {
    font-size: 36px !important;
  }

  .maxgp-cv__funnels {
    grid-template-columns: 1fr;
  }

  .maxgp-cv__results-wrap {
    grid-template-columns: 1fr;
  }

  .maxgp-cv__funnel-row {
    grid-template-columns: 105px 1fr;
  }

  .maxgp-cv__funnel {
    width: 100px;
  }

  .maxgp-cv__funnel span:nth-child(1) { width: 100px; }
  .maxgp-cv__funnel span:nth-child(2) { width: 88px; }
  .maxgp-cv__funnel span:nth-child(3) { width: 76px; }
  .maxgp-cv__funnel span:nth-child(4) { width: 64px; }
  .maxgp-cv__funnel span:nth-child(5) { width: 52px; }
  .maxgp-cv__funnel span:nth-child(6) { width: 40px; }
  .maxgp-cv__funnel span:nth-child(7) { width: 28px; }

  .maxgp-cv__intro {
    align-items: flex-start;
  }
}
