
/* ── Hero de página ── */
.tp-hero {
  background: linear-gradient(
    135deg,
    var(--primary2) 0%,
    var(--principal) 100%
  );
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 70% at 90% 50%,
    rgba(255, 210, 1, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.tp-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
}

.tp-hero-content {
  max-width: 600px;
}

.tp-hero-content .pill {
  margin-bottom: 14px;
}

.tp-hero h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.5px;
}

.tp-accent {
  color: var(--primary);
}

.tp-hero-p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  line-height: 1.65;
  margin: 0 0 22px;
  font-size: 16px;
}

.tp-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tp-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
}

.tp-hero-img {
  width: 280px;
  flex-shrink: 0;
  opacity: 0.92;
}

.tp-hero-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
}


.tp-alt {
  background: rgba(145, 182, 214, 0.08);
}


.tp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.tp-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.tp-card-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(255, 210, 1, 0.2);
}

.tp-icon {
  width: 60px;
  height: 60px;
  background: rgba(7, 64, 117, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.tp-card-featured .tp-icon {
  background: rgba(255, 255, 255, 0.15);
}

.tp-icon svg { display: block; }

.tp-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary2);
}

.tp-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
}

/* ── Modalidades ── */
.modalidades {
  display: grid;
  grid-template-columns: 1.15fr 0.93fr 0.93fr;
  gap: 16px;
  margin-top: 24px;
}

.modalidad-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 32px 22px 26px;
  position: relative;
}

.modalidad-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 40px rgba(255, 210, 1, 0.22);
}

.modal-badge {
  position: absolute;
  top: -1px;
  left: 20px;
  background: var(--primary);
  color: var(--primary2);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.modal-icon {
  width: 52px;
  height: 52px;
  background: rgba(7, 64, 117, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 14px;
}

.modalidad-featured .modal-icon {
  background: rgba(255, 255, 255, 0.15);
}

.modal-icon svg { display: block; }

.modalidad-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary2);
}

.modalidad-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
}

.modal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.9;
}


.monto-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  align-items: start;
}

.monto-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 28px 24px;
}

.monto-highlight {
  background: linear-gradient(145deg, var(--primary2) 0%, var(--principal) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.monto-amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.monto-label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
  max-width: 140px;
}

.monto-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

.monto-icon {
  width: 48px;
  height: 48px;
  background: rgba(7, 64, 117, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.monto-icon svg { display: block; }

.monto-card h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary2);
}

.ejemplo-tabla {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ejemplo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ejemplo-row:last-child {
  border-bottom: none;
}

.ejemplo-total {
  color: var(--primary2);
  font-weight: 800;
  padding-top: 14px;
  border-top: 2px solid var(--primary);
  border-bottom: none;
}

.ej-green {
  color: #16a34a;
}

/* ── Requisitos ── */
.reqs-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.req-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 28px 26px;
}

.req-block h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary2);
}

.req-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.1;
}

.req-list-light {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Pasos ── */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    rgba(255, 210, 1, 0.12) 100%
  );
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  position: relative;
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary2);
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(13, 55, 82, 0.28);
  position: relative;
  z-index: 1;
}

.step-body {
  background: #fff;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 18px 22px;
  flex: 1;
  margin-top: 4px;
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary2);
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
}


.tp-project-band {
  background: linear-gradient(135deg, var(--primary2) 0%, var(--principal) 100%);
  padding: 56px 0;
}

.tp-project-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.tp-project-text .pill-white {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tp-project-text h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.tp-project-text p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 540px;
}

.tp-project-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tp-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.18s;
}

.tp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.tp-project-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius2);
  padding: 20px 32px;
  text-align: center;
  min-width: 170px;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── FAQ ── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary2);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background 0.15s;
}

.faq-item summary:hover {
  background: #f8f9fc;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--primary2);
  flex-shrink: 0;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] > summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: #f8f9fc;
}

.faq-item p {
  margin: 0;
  padding: 18px 24px;
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
}

/* ── CTA final ── */
.tp-cta-final {
  background: linear-gradient(0deg, #ffd201 0%, #ffe066 100%);
  padding: 60px 0;
}

.tp-cta-inner {
  text-align: center;
}

.tp-cta-inner h2 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary2);
  letter-spacing: -0.3px;
}

.tp-cta-inner p {
  margin: 0 0 30px;
  color: rgba(13, 55, 82, 0.78);
  font-weight: 300;
  font-size: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.tp-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.tp-cta-final .btn-ghost {
  border-color: rgba(13, 55, 82, 0.22);
  color: var(--primary2);
}

/* ── Responsive ── */
@media (max-width: 920px) {
  .tp-hero .container {
    grid-template-columns: 1fr;
  }

  .tp-hero-img {
    display: none;
  }

  .tp-grid3,
  .modalidades {
    grid-template-columns: 1fr;
  }

  .monto-grid,
  .reqs-cols {
    grid-template-columns: 1fr;
  }

  .tp-project-inner {
    grid-template-columns: 1fr;
  }

  .tp-project-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 1 1 140px;
    min-width: unset;
  }
}

@media (max-width: 760px) {
  .tp-hero h1 {
    font-size: 36px;
  }

  .steps::before {
    left: 23px;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .tp-cta-inner h2 {
    font-size: 26px;
  }
}
