/* ── Asesoría en Pensiones ─────────────────────────────── */

/* ── HERO ──────────────────────────────────────────────── */
.cp-pens-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
}

.cp-pens-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 25, 47, 0.95) 0%,
    rgba(11, 25, 47, 0.80) 22%,
    rgba(11, 25, 47, 0.38) 44%,
    rgba(11, 25, 47, 0)    64%
  );
  pointer-events: none;
}

.cp-pens-hero .container {
  position: relative;
  z-index: 1;
}

.cp-pens-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0 80px;
}

.cp-pens-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #8bdc65;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.cp-pens-hero h1 {
  margin: 0 0 18px;
  max-width: 820px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.05em;
  font-weight: 800;
  color: #ffffff;
}

.cp-pens-hero__lead {
  max-width: 680px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.35rem;
  line-height: 1.6;
}

/* Video — mismo estilo que home de Colombia Próspera */
.cp-pens-video-frame {
  width: 100%;
  max-width: 900px;
  border-radius: 28px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}

.cp-pens-video-surface {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0b192f;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-pens-video-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.52) 100%);
  pointer-events: none;
}

.cp-pens-video-surface--playable { cursor: pointer; }

.cp-pens-video-play {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 44px rgba(111, 189, 79, .32);
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cp-pens-video-play::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  z-index: -1;
}

.cp-pens-video-play:hover {
  transform: scale(1.07);
  box-shadow: 0 30px 54px rgba(111, 189, 79, .4);
}

.cp-pens-video-play i {
  color: #fff;
  font-size: 2.9rem;
  margin-left: 8px;
}

.cp-pens-video-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 18px;
}

.cp-pens-video-note {
  margin: 18px 0 38px;
  max-width: 640px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.2rem;
  line-height: 1.55;
}

.cp-pens-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  border-radius: 12px;
  background: #ffffff;
  color: #162133;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(11, 25, 47, .3);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cp-pens-hero-btn:hover {
  transform: translateY(-2px);
  background: #f0fde9;
  box-shadow: 0 20px 42px rgba(11, 25, 47, .38);
  color: #162133;
}

.cp-pens-hero-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── BENEFITS ──────────────────────────────────────────── */
.cp-pens-benefits {
  padding: 84px 0 92px;
  background: #f8fdf5;
}

.cp-pens-section-title {
  margin: 0 0 38px;
  text-align: center;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 800;
  color: #162133;
}

.cp-pens-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1.15fr;
  gap: 16px;
}

.cp-pens-card {
  min-height: 220px;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cp-pens-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 189, 79, .25);
  box-shadow: 0 22px 40px rgba(22, 33, 51, .1);
}

.cp-pens-card h3 {
  margin: 14px 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 700;
  color: #162133;
}

.cp-pens-card p {
  margin: 0;
  color: #5f6672;
  font-size: .93rem;
  line-height: 1.58;
}

.cp-pens-card-icon {
  width: 36px;
  height: 36px;
  color: #6fbd4f;
}

.cp-pens-visual-card {
  overflow: hidden;
  padding: 0;
  background: #d4edbe;
}

.cp-pens-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.cp-pens-cta-tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #162133, #1e3356);
  color: #ffffff;
}

.cp-pens-cta-tile::after {
  content: "Pensión";
  position: absolute;
  right: 8px;
  bottom: -8px;
  font-size: 52px;
  line-height: 1;
  color: rgba(139, 220, 101, .07);
  font-weight: 800;
  pointer-events: none;
  white-space: nowrap;
}

.cp-pens-cta-tile p {
  max-width: 230px;
  color: rgba(255, 255, 255, .9);
  font-size: .96rem;
  line-height: 1.5;
  font-weight: 500;
}

.cp-pens-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: #8bdc65;
  color: #162133;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cp-pens-inline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(111, 189, 79, .22);
  color: #162133;
}

.cp-pens-inline-btn span:last-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22, 33, 51, .14);
  font-size: 1rem;
  color: #162133;
}

.cp-pens-inline-btn--solid {
  background: linear-gradient(135deg, #1e3356, #162133);
  color: #8bdc65;
  box-shadow: 0 12px 28px rgba(22, 33, 51, .22);
}

.cp-pens-inline-btn--solid:hover { color: #8bdc65; }

.cp-pens-inline-btn--solid span:last-child {
  background: rgba(139, 220, 101, .18);
  color: #8bdc65;
}

/* ── STEPS ─────────────────────────────────────────────── */
.cp-pens-steps {
  padding: 82px 0 92px;
  background: linear-gradient(135deg, #162133 0%, #0b192f 100%);
  color: #ffffff;
}

.cp-pens-steps h2 {
  margin: 0 0 52px;
  text-align: center;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #ffffff;
}

.cp-pens-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.cp-pens-steps-grid::before {
  content: "";
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: 154px;
  height: 1px;
  background: rgba(139, 220, 101, .2);
}

.cp-pens-step-card { text-align: center; }

.cp-pens-step-icon-box {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}

.cp-pens-step-icon { width: 48px; height: 48px; color: #8bdc65; }

.cp-pens-step-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(139, 220, 101, .6);
  background: #162133;
  color: #8bdc65;
  font-size: 1.4rem;
  font-weight: 700;
}

.cp-pens-step-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.cp-pens-step-card p {
  max-width: 300px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .8);
  font-size: .94rem;
  line-height: 1.6;
}

.cp-pens-steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.cp-pens-steps-cta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #8bdc65;
  color: #162133;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(111, 189, 79, .28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cp-pens-steps-cta a:hover {
  transform: translateY(-2px);
  background: #9de97a;
  box-shadow: 0 22px 40px rgba(111, 189, 79, .36);
  color: #162133;
}

.cp-pens-steps-cta svg { width: 22px; height: 22px; }

/* ── WHY ────────────────────────────────────────────────── */
.cp-pens-why {
  padding: 84px 0 92px;
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    url('../img/fondo.jpg');
  background-size: 520px auto;
  background-repeat: repeat;
}

.cp-pens-why-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(23, 23, 23, .08);
}

.cp-pens-why-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #162133;
}

.cp-pens-why-copy p {
  margin: 0;
  max-width: 700px;
  color: #5f6672;
  font-size: 1.03rem;
  line-height: 1.62;
}

.cp-pens-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 380px);
  gap: 34px;
  padding-top: 34px;
  align-items: start;
}

.cp-pens-why-item {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(240px, 1fr);
  gap: 24px;
  padding: 24px 0 26px;
  border-bottom: 1px solid rgba(23, 23, 23, .08);
}

.cp-pens-why-item h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.22;
  font-weight: 700;
  color: #162133;
}

.cp-pens-why-item p {
  margin: 0;
  color: #5f6672;
  font-size: .98rem;
  line-height: 1.62;
}

.cp-pens-why-visual {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #d4edbe;
  min-height: 420px;
  box-shadow: 0 14px 32px rgba(22, 33, 51, .08);
}

.cp-pens-why-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.cp-pens-consult-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 28px rgba(22, 33, 51, .12);
  backdrop-filter: blur(8px);
}

.cp-pens-consult-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #162133;
  background: rgba(111, 189, 79, .12);
  border: 1px solid rgba(111, 189, 79, .2);
  flex: 0 0 auto;
}

.cp-pens-consult-text { min-width: 0; }

.cp-pens-consult-tag {
  display: inline-block;
  margin-bottom: 4px;
  color: #6fbd4f;
  font-size: .8rem;
  font-weight: 700;
}

.cp-pens-consult-date {
  margin: 0 0 4px;
  color: #162133;
  font-size: .84rem;
  line-height: 1.35;
  font-weight: 600;
}

.cp-pens-consult-link {
  color: #6fbd4f;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.cp-pens-testimonials {
  padding: 76px 0 88px;
  background: #f6fdf3;
  overflow: hidden;
}

.cp-pens-testimonials-head {
  text-align: center;
  margin-bottom: 32px;
}

.cp-pens-testimonials-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
  color: #162133;
}

.cp-pens-testimonials-head p {
  margin: 0;
  color: #5f6672;
  font-size: 1.03rem;
}

.cp-pens-marquee {
  overflow: hidden;
  padding: 10px 0 18px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.cp-pens-marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: cp-pens-scroll 34s linear infinite;
}

.cp-pens-marquee:hover .cp-pens-marquee-track { animation-play-state: paused; }

@keyframes cp-pens-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 9px)); }
}

.cp-pens-tcard {
  width: 360px;
  min-height: 200px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, .08);
  box-shadow: 0 12px 28px rgba(22, 33, 51, .06);
  flex: 0 0 auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cp-pens-tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(22, 33, 51, .1);
}

.cp-pens-tcard-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.cp-pens-tcard-user { display: flex; align-items: flex-start; gap: 12px; }

.cp-pens-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.cp-pens-avatar--green { background: #6fbd4f; }
.cp-pens-avatar--navy  { background: #162133; }
.cp-pens-avatar--teal  { background: #0d9488; }
.cp-pens-avatar--olive { background: #4d7c0f; }

.cp-pens-tcard-meta strong {
  display: block;
  color: #171717;
  font-size: .96rem;
  font-weight: 700;
}

.cp-pens-tcard-meta span {
  display: block;
  color: #9ca3af;
  font-size: .84rem;
}

.cp-pens-stars {
  margin-bottom: 12px;
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: .08em;
}

.cp-pens-tcard p {
  margin: 0;
  color: #5f6672;
  font-size: .93rem;
  line-height: 1.62;
}

.cp-pens-testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ── SOLUTIONS ─────────────────────────────────────────── */
.cp-pens-solutions {
  padding: 80px 0 92px;
  background: #f6fdf3;
}

.cp-pens-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cp-pens-solution-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 20px;
  background: #d4edbe;
  box-shadow: 0 12px 28px rgba(22, 33, 51, .07);
}

.cp-pens-solution-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-pens-solution-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: rgba(22, 33, 51, .88);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 34px rgba(22, 33, 51, .24);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cp-pens-solution-overlay::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0));
  pointer-events: none;
}

.cp-pens-solution-card:hover .cp-pens-solution-overlay {
  transform: translateY(-4px);
  border-color: rgba(139, 220, 101, .3);
  box-shadow: 0 22px 44px rgba(22, 33, 51, .32);
}

.cp-pens-solution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.cp-pens-solution-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
}

.cp-pens-solution-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .66);
  position: relative;
  flex: 0 0 auto;
}

.cp-pens-solution-plus::before,
.cp-pens-solution-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.cp-pens-solution-plus::before { width: 12px; height: 2px; }
.cp-pens-solution-plus::after  { width: 2px;  height: 12px; }

.cp-pens-solution-divider {
  height: 1px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .18);
}

.cp-pens-solution-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s;
}

.cp-pens-solution-link:hover { color: #8bdc65; }

/* ── FAQ ────────────────────────────────────────────────── */
.cp-pens-faq {
  padding: 80px 0 92px;
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    url('../img/fondo.jpg');
  background-size: 520px auto;
  background-repeat: repeat;
}

.cp-pens-faq-wrap {
  width: min(960px, calc(100% - 80px));
  margin: 0 auto;
}

.cp-pens-faq-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.cp-pens-faq-item {
  border-radius: 14px;
  background: #f6fdf3;
  overflow: hidden;
  border: 1px solid rgba(111, 189, 79, .15);
  transition: border-color .2s ease;
}

.cp-pens-faq-item:hover { border-color: rgba(111, 189, 79, .35); }

.cp-pens-faq-question {
  width: 100%;
  min-height: 76px;
  padding: 0 20px 0 22px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  color: #171717;
  font-family: inherit;
}

.cp-pens-faq-question span:first-child {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.cp-pens-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #162133;
  background: rgba(111, 189, 79, .15);
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: background .2s, color .2s;
}

.cp-pens-faq-item.is-open .cp-pens-faq-icon {
  background: #6fbd4f;
  color: #ffffff;
}

.cp-pens-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px 18px;
  color: #5f6672;
  font-size: .95rem;
  line-height: 1.72;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease;
}

.cp-pens-faq-item.is-open .cp-pens-faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.cp-pens-faq-cta { display: flex; justify-content: center; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .cp-pens-benefits-grid  { grid-template-columns: 1fr 1fr; }
  .cp-pens-steps-grid     { grid-template-columns: 1fr; gap: 34px; }
  .cp-pens-steps-grid::before { display: none; }
  .cp-pens-why-header     { grid-template-columns: 1fr; }
  .cp-pens-why-grid       { grid-template-columns: 1fr; }
  .cp-pens-why-visual     { max-width: 600px; }
  .cp-pens-solutions-grid { grid-template-columns: 1fr 1fr; }
  .cp-pens-solution-card  { min-height: 420px; }
}

@media (max-width: 768px) {
  .cp-pens-hero__inner    { padding: 28px 0 52px; }
  .cp-pens-hero h1        { font-size: clamp(32px, 9vw, 48px); }
  .cp-pens-hero__lead     { font-size: 1.1rem; }
  .cp-pens-video-play     { width: 88px; height: 88px; }
  .cp-pens-video-play i   { font-size: 2rem; }
  .cp-pens-benefits-grid  { grid-template-columns: 1fr; }
  .cp-pens-card           { min-height: auto; }
  .cp-pens-why-item       { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .cp-pens-why-header     { gap: 20px; }
  .cp-pens-solutions-grid { grid-template-columns: 1fr; }
  .cp-pens-solution-card  { min-height: 360px; }
  .cp-pens-faq-wrap       { width: min(100% - 20px, 960px); }
  .cp-pens-faq-question   { min-height: 68px; }
}
