﻿/* ── HERO ────────────────────────────────────────── */
.cp-hero {
  display: grid;
  grid-template-columns: minmax(0,0.82fr) minmax(0,1.18fr);
  gap: 28px;
  padding: 56px 22px 68px;
  align-items: center;
}

.cp-hero__content { max-width: 520px; }

.cp-eyebrow {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cp-hero__content h1 {
  font-size: clamp(2.8rem, 5vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
  font-weight: 600;
}

.cp-hero__content h1 span { color: var(--green-dark); }

.cp-hero__copy {
  font-size: 1.08rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.68;
}

.cp-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 38px;
}

.cp-cta-row {
  display: flex;
  gap: 14px;
}

.cp-btn-main,
.cp-btn-outline {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 650;
  font-size: 0.9rem;
}

.cp-btn-main {
  background: var(--green-dark);
  color: white;
  border: 1px solid var(--green-dark);
}

.cp-btn-main:hover { background: #5f9f43; }

.cp-btn-outline {
  background: rgba(255,255,255,0.72);
  border: 1px solid #d7dcd4;
  color: var(--text-dark);
}

.cp-btn-outline:hover { border-color: var(--text-dark); }

.cp-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cp-avatars { display: flex; }

.cp-avatars span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: #d8f1cb;
  color: #30551f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.cp-avatars span:first-child { margin-left: 0; }

.cp-proof-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.cp-proof-text span {
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cp-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 680px;
  overflow: visible;
}

.cp-hero__img {
  width: 118%;
  max-width: 760px;
  height: auto;
  z-index: 1;
  transform: translateX(18px);
  filter: drop-shadow(0 34px 70px rgba(0,0,0,0.14));
}

.cp-floating-card {
  position: absolute;
  z-index: 10;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  animation: cpFloat 4s ease-in-out infinite;
}

.cp-badge-safe {
  bottom: 12%;
  left: 2%;
  background: white;
  border: 1px solid var(--line-light);
  padding: 14px 16px;
}

.cp-badge-safe strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.cp-badge-safe small {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--text-gray);
}

.cp-badge-customers {
  bottom: 12%;
  right: 2%;
  background: #d8f1cb;
  padding: 20px 22px;
  color: #1a1a1a;
  min-width: 158px;
}

.cp-badge-customers h2 {
  font-size: 1.65rem;
  margin-bottom: 2px;
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1;
}

.cp-badge-customers p {
  font-size: 0.95rem;
  line-height: 1.24;
  font-weight: 600;
}

@keyframes cpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── INFO GRID ───────────────────────────────────── */
.cp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding: 38px 28px 44px;
  margin-bottom: 44px;
  border-radius: 26px;
  background: linear-gradient(rgba(11,25,47,0.97), rgba(11,25,47,0.97));
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.cp-info-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
}

.cp-info-card span {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cp-info-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
}

.cp-info-card p {
  color: var(--text-gray);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* ── VIDEO SECTION ───────────────────────────────── */
.cp-video-section {
  position: relative;
  padding: 32px 22px 96px;
}

.cp-video-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto 42px;
}

.cp-video-frame {
  position: relative;
  border-radius: 28px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

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

.cp-video-surface {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(rgba(8,15,28,0.55), rgba(8,15,28,0.65)), var(--bg-nav);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

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

.cp-video-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.58) 100%);
}

.cp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  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,0.28);
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

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

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

.cp-video-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 3.35rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
}

.cp-video-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.cp-video-copy--top { margin: 0 auto 34px; }
.cp-video-copy--bottom { margin: 38px auto 0; }

.cp-video-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.cp-video-copy__eyebrow::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: block;
}

.cp-video-copy h3 {
  font-size: 3.05rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  color: #111827;
}

.cp-video-copy p {
  max-width: 920px;
  margin: 0 auto 34px;
  color: var(--text-gray);
  font-size: 1.12rem;
  line-height: 1.85;
}

.cp-video-copy .cp-btn-main {
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  border-color: #6fbd4f;
  box-shadow: 0 8px 18px rgba(111,189,79,0.14);
}

/* ── CURSOS / CATÁLOGO ───────────────────────────── */
.cp-courses-section {
  padding: 48px 22px 88px;
  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-section-header { margin-bottom: 42px; }
.cp-text-center { text-align: center; }
.cp-mt-40 { margin-top: 40px; }

.cp-section-subtitle {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(111,189,67,.10);
  border: 1px solid rgba(111,189,67,.18);
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cp-section-title {
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 18px 0 0;
}

.cp-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cp-course-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--surface);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}

.cp-course-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(111,189,67,.22);
}

.cp-course-img-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e2eed8;
}

.cp-course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
  opacity: .9;
}

.cp-course-card:hover .cp-course-img-wrapper img {
  transform: scale(1.05);
  opacity: 1;
}

.cp-course-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,9,.08) 0%, rgba(7,7,9,.02) 30%, rgba(7,7,9,.72) 100%);
  z-index: 1;
}

.cp-course-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,7,9,.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  transition: all .25s ease;
}

.cp-course-card:hover .cp-course-play-btn {
  background: #fff;
  border-color: #fff;
  color: var(--cyan);
}

.cp-course-price-pill {
  position: relative;
  z-index: 3;
  align-self: center;
  margin-top: -18px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  color: #143019;
  font-size: .74rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(111,189,67,.18);
}

.cp-course-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 10px 20px 20px;
}

.cp-course-category-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 500;
}

.cp-course-category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(111,189,67,.22);
}

.cp-course-title {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.32;
  letter-spacing: -.014em;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cp-course-copy {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.56;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cp-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: .84rem;
  margin-bottom: 18px;
}

.cp-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cp-course-meta i { color: var(--cyan); font-size: .82rem; }

.cp-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.cp-course-stars { display: grid; gap: 3px; }
.cp-course-stars-icons { color: #f4b400; font-size: .95rem; letter-spacing: 1px; }
.cp-course-stars-copy { color: var(--muted); font-size: .76rem; font-weight: 700; }

.cp-course-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(111,189,67,.30);
  background: var(--cta-green);
  color: #f3fff7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
  text-decoration: none;
}

.cp-course-card:hover .cp-course-arrow-btn {
  border-color: rgba(95,159,67,.44);
  color: #ffffff;
  background: var(--cta-green-dark);
}

.cp-catalog-footer-link {
  min-height: 46px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── REACH SECTION ───────────────────────────────── */
.cp-reach-section {
  position: relative;
  margin: 0 auto 92px;
  padding: 78px 0 86px;
  background: #08111b;
  overflow: hidden;
}

.cp-reach-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,0.04) 0, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 78% 24%, rgba(255,255,255,0.03) 0, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

.cp-reach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px,42%) minmax(0,58%);
  gap: 42px;
  align-items: center;
}

.cp-reach-map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cp-reach-map img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,0.18));
}

.cp-reach-copy { color: #fff; }

.cp-reach-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
}

.cp-reach-copy__eyebrow::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: block;
}

.cp-reach-copy h3 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(2.35rem,3.7vw,3.9rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  max-width: 720px;
}

.cp-reach-copy p {
  margin: 0 0 34px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 620px;
}

.cp-reach-stats { display: flex; flex-wrap: wrap; gap: 44px; }
.cp-reach-stat { min-width: 160px; }

.cp-reach-stat strong {
  display: block;
  margin-bottom: 4px;
  color: #8bdc65;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.cp-reach-stat span { color: #fff; font-size: 1.1rem; line-height: 1.45; }

/* ── ABOUT ───────────────────────────────────────── */
.cp-about-section {
  padding: 86px 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-about-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,0.95fr);
  gap: 40px;
  align-items: start;
}

.cp-about-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
  min-height: 640px;
}

.cp-about-gallery__left,
.cp-about-gallery__right { display: grid; gap: 10px; }
.cp-about-gallery__left { grid-template-rows: 1.55fr 1fr; }
.cp-about-gallery__left-bottom { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; }
.cp-about-gallery__right { grid-template-rows: 1fr 1fr; }

.cp-about-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #d8f1cb;
  min-height: 180px;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

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

.cp-about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,17,27,0.04), rgba(8,17,27,0.14));
  pointer-events: none;
}

.cp-about-copy { padding: 34px 0 0; max-width: 620px; }

.cp-about-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #1f2937;
  font-size: 1.02rem;
}

.cp-about-copy__eyebrow::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: block;
}

.cp-about-copy h3 {
  margin: 0 0 26px;
  color: #0f172a;
  font-size: clamp(2.5rem,4vw,4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.cp-about-copy p {
  margin: 0 0 26px;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.74;
}

/* ── TESTIMONIOS ─────────────────────────────────── */
.cp-testimonials {
  padding: 92px 0 96px;
  background: #08111b;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.cp-testimonials::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 420px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
}

.cp-testimonials__layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.cp-testimonials__intro { flex: 1; max-width: 640px; }

.cp-testimonials__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
}

.cp-testimonials__eyebrow::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: block;
}

.cp-testimonials__intro h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}

.cp-testimonials__intro h2 span { color: #8bdc65; }

.cp-testimonials__intro p {
  margin: 0;
  max-width: 90%;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cp-testimonials__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.cp-testimonials__slider {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 610px;
}

.cp-testimonials__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.cp-testimonials__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.cp-testimonials__card {
  width: 100%;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}

.cp-testimonials__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-image: var(--testimonial-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a2d1a;
}

.cp-testimonials__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,9,.12) 0%, rgba(7,7,9,.06) 30%, rgba(7,7,9,.52) 100%);
}

.cp-testimonials__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  color: #fff;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 10px 18px rgba(111,189,79,0.18);
  transition: transform .22s ease, filter .22s ease;
}

.cp-testimonials__play:hover {
  transform: translate(-50%, -50%);
  filter: brightness(1.04);
}

.cp-testimonials__play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 2px; }

.cp-testimonials__copy h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.45;
}

.cp-testimonials__copy p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: .98rem;
  line-height: 1.72;
}

.cp-testimonials__stars {
  margin-top: 1.45rem;
  color: #8bdc65;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.cp-testimonials__dots {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.cp-testimonials__dots button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.cp-testimonials__dots button.is-active {
  background: #8bdc65;
  transform: scale(1.08);
}

/* ── CERT / DIFERENCIAL ──────────────────────────── */
.cp-cert-section {
  padding: 84px 0 96px;
  background: #08111b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cp-cert-shell {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 32px;
}

.cp-cert-badges,
.cp-cert-copy {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
}

.cp-cert-badges {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.cp-cert-badges__row { display: grid; grid-template-columns: 1fr; gap: 12px; }

.cp-cert-badge {
  min-height: 110px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 16px 10px;
  font-size: .8rem;
  line-height: 1.24;
  font-weight: 700;
}

.cp-cert-badge span {
  display: block;
  color: #8bdc65;
  font-size: .72rem;
  margin-top: 6px;
  font-weight: 600;
}

.cp-cert-badges__divider { height: 1px; background: rgba(255,255,255,0.08); }

.cp-cert-badges__seal {
  min-height: 118px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #8bdc65;
  font-size: 1.1rem;
  line-height: 1.1;
  font-weight: 800;
  padding: 18px;
}

.cp-cert-copy { padding: 40px 46px; color: #fff; }

.cp-cert-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
}

.cp-cert-copy__eyebrow::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8bdc65 0%, #6fbd4f 100%);
  display: block;
}

.cp-cert-copy h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.7rem,2.2vw,2.35rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  max-width: 880px;
}

.cp-cert-copy p {
  margin: 0 0 26px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 900px;
}

.cp-cert-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.cp-cert-gallery__card {
  position: relative;
  min-height: 326px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 18px 32px rgba(0,0,0,0.22);
}

.cp-cert-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cp-cert-gallery__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,17,27,0.03) 0%, rgba(8,17,27,0.08) 28%, rgba(8,17,27,0.55) 100%);
  pointer-events: none;
}

.cp-cert-gallery__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(8,17,27,0.86);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* ── CONTROL SECTION ─────────────────────────────── */
.cp-control-section {
  padding: 92px 0 100px;
  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;
  overflow: hidden;
}

.cp-control-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(420px,0.95fr);
  gap: 44px;
  align-items: center;
}

.cp-control-copy h2 {
  margin: 0 0 26px;
  color: #101828;
  font-size: clamp(2.05rem,3vw,3.15rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
  max-width: 660px;
}

.cp-control-copy h2 span { color: #6fbd4f; }

.cp-control-copy p {
  margin: 0 0 34px;
  color: #475467;
  font-size: 1.12rem;
  line-height: 1.72;
  max-width: 700px;
}

.cp-control-points { display: grid; gap: 22px; }

.cp-control-point {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 22px;
  align-items: center;
}

.cp-control-point__icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: #fff;
  border-left: 5px solid #6fbd4f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
  color: #6fbd4f;
  font-size: 2rem;
}

.cp-control-point__copy h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.cp-control-point__copy p {
  margin: 0;
  color: #667085;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
}

.cp-control-visual {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-control-phone {
  position: absolute;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(15,23,42,.16));
}

.cp-control-phone--back {
  width: 370px;
  left: 34px;
  top: 56px;
  transform: rotate(-7deg);
  z-index: 1;
}

.cp-control-phone--front {
  width: 385px;
  right: 0;
  top: 92px;
  z-index: 2;
}

.cp-control-floating-card {
  position: absolute;
  z-index: 3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 36px rgba(15,23,42,.12);
}

.cp-control-floating-card--revenue {
  left: 46px;
  bottom: 118px;
  width: 220px;
  padding: 20px 22px 18px;
}

.cp-control-floating-card--revenue strong {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 1.18rem;
}

.cp-control-floating-card--revenue span {
  display: block;
  color: #667085;
  font-size: 1rem;
  margin-bottom: 6px;
}

.cp-control-floating-card--revenue b {
  display: block;
  margin-bottom: 14px;
  color: #111827;
  font-size: 2rem;
  line-height: 1;
}

.cp-control-floating-card--revenue small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}

.cp-control-floating-card--paid {
  right: -12px;
  top: 244px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 156px;
}

.cp-control-floating-card--paid i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef7e8;
  color: #6fbd4f;
  font-size: 1rem;
}

.cp-control-floating-card--paid strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

/* ── FAQ ─────────────────────────────────────────── */
.cp-faq-section {
  padding: 92px 0 98px;
  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-faq-section h2 {
  margin: 0 0 42px;
  text-align: center;
  color: #0f172a;
  font-size: clamp(2.2rem,3.4vw,3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cp-faq-grid {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto 38px;
}

.cp-faq-item {
  border: none;
  border-radius: 10px;
  background: #edf2ef;
  overflow: hidden;
}

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

.cp-faq-question span:first-child {
  color: #17212f;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.cp-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6fbd4f;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
  transition: color .2s ease;
}

.cp-faq-item.is-open .cp-faq-icon { color: #5ea540; }

.cp-faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: #49576a;
  font-size: .98rem;
  line-height: 1.7;
}

.cp-faq-item.is-open .cp-faq-answer { display: block; }

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

.cp-faq-cta .cp-btn-outline {
  min-height: 50px;
  padding: 0 18px 0 22px;
  border-radius: 10px;
  border: 1px solid #6fbd4f;
  background: #6fbd4f;
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.cp-faq-cta .cp-btn-outline i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1rem;
}


/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .cp-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .cp-hero__content { max-width: 100%; }
  .cp-hero__visual { min-height: 0; }

  .cp-hero__img {
    width: 100%;
    max-width: 620px;
    transform: none;
  }

  .cp-info-grid,
  .cp-courses-grid { grid-template-columns: 1fr 1fr; }

  .cp-video-stage { max-width: 100%; }
  .cp-video-surface { min-height: 420px; }
  .cp-video-title { font-size: 2.5rem; }
  .cp-video-copy h3 { font-size: 2.2rem; }

  .cp-reach-grid { grid-template-columns: 1fr; gap: 34px; }
  .cp-reach-section { padding: 56px 0; }
  .cp-reach-map { justify-content: center; }

  .cp-about-grid { grid-template-columns: 1fr; }
  .cp-about-gallery { min-height: 0; }
  .cp-about-copy { max-width: 100%; padding-top: 0; }

  .cp-testimonials__layout { flex-direction: column; gap: 3rem; }
  .cp-testimonials__intro { max-width: none; text-align: center; }
  .cp-testimonials__intro p { max-width: 760px; margin: 0 auto; }
  .cp-testimonials__stage { width: 100%; align-items: center; }

  .cp-cert-shell { grid-template-columns: 1fr; }
  .cp-cert-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .cp-control-grid { grid-template-columns: 1fr; }
  .cp-control-visual { min-height: 720px; }
}

@media (max-width: 768px) {
  .cp-info-grid,
  .cp-courses-grid { grid-template-columns: 1fr; }

  .cp-badge-safe,
  .cp-badge-customers { display: none; }

  .cp-video-frame { padding: 8px; border-radius: 18px; }
  .cp-video-surface { min-height: 0; padding: 18px; }
  .cp-video-play { width: 100px; height: 100px; }
  .cp-video-play i { font-size: 2.2rem; }
  .cp-video-title { font-size: 2rem; }
  .cp-video-copy h3 { font-size: 1.75rem; }
  .cp-video-copy p { font-size: 1rem; }

  .cp-reach-copy h3 { font-size: 2rem; }
  .cp-reach-stats { gap: 22px; }
  .cp-reach-stat strong { font-size: 2.6rem; }

  .cp-about-gallery { grid-template-columns: 1fr; }
  .cp-about-gallery__right, .cp-about-gallery__left { grid-template-rows: auto; }
  .cp-about-gallery__left-bottom { grid-template-columns: 1fr; }
  .cp-about-copy h3 { font-size: 2rem; }

  .cp-testimonials__intro h2 { font-size: 2.2rem; }
  .cp-testimonials__slider { min-height: 560px; }

  .cp-cert-copy { padding: 28px 22px; }
  .cp-cert-copy h2 { font-size: 2rem; }
  .cp-cert-gallery { grid-template-columns: 1fr; }
  .cp-cert-gallery__card { min-height: 280px; }

  .cp-control-visual { min-height: 620px; }
  .cp-control-phone--back { width: 270px; left: 10px; top: 52px; }
  .cp-control-phone--front { width: 280px; right: 0; top: 92px; }
  .cp-control-floating-card--revenue { left: 10px; bottom: 70px; width: 185px; }
  .cp-control-floating-card--paid { right: 0; top: 216px; }

  .cp-control-point { grid-template-columns: 78px minmax(0,1fr); gap: 16px; }
  .cp-control-point__icon { width: 78px; height: 78px; font-size: 1.6rem; }

  .cp-faq-section h2 { font-size: 2rem; }
  .cp-course-footer { flex-direction: column; align-items: flex-start; }
  .cp-course-arrow-btn { width: 100%; justify-content: center; }

  .cp-courses-section { padding-left: 14px; padding-right: 14px; }
  .cp-video-section   { padding-left: 14px; padding-right: 14px; }
  .cp-courses-grid { gap: 14px; }
  .cp-course-content { padding: 10px 14px 14px; }

  .cp-cta-group { flex-direction: column; }
  .cp-cta-row { flex-direction: column; }
}

/* ── Lightbox de video para testimonios ───────────────────────────── */
.cp-test-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.85);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.cp-test-lightbox.is-open {
  opacity: 1; pointer-events: auto;
}
.cp-test-lightbox__inner {
  position: relative;
  width: min(860px, 92vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.cp-test-lightbox__iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}
.cp-test-lightbox__close {
  position: absolute; top: -38px; right: 0;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 50%;
  color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.cp-test-lightbox__close:hover { background: rgba(255,255,255,.3); }
