.diploma-page .brand span,
.diploma-page .alis-word,
.diploma-page .diploma-alis {
  font-family: Fredoka, Inter, system-ui, sans-serif;
  text-transform: lowercase;
}

.diploma-page .diploma-content {
  display: grid;
  gap: 24px;
}

.diploma-page .diploma-panel {
  scroll-margin-top: 118px;
}

.diploma-page .course-panel .program-head {
  min-height: 360px;
}

.diploma-page .course-panel .program-head h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.diploma-page .program-summary {
  max-width: 580px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.42;
}

.diploma-page .course-panel .program-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
}

.diploma-page .program-sidebar .advisor-card {
  background: #fff;
}

.diploma-page .program-sidebar .advisor-card p {
  margin-top: 10px;
}

.diploma-page .program-item {
  scroll-margin-top: 120px;
}

.diploma-page .check-list li span,
.diploma-page .audience-list li span,
.diploma-page .deliverables-card li span {
  color: var(--orange);
  font-weight: 900;
}

.diploma-page .program-cta {
  justify-content: flex-start;
}

.diploma-page .course-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.diploma-page .tools-card,
.diploma-page .finish-card {
  background: rgba(255, 255, 255, 0.5);
}

.diploma-page .finish-card p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.diploma-page .tool-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.diploma-page .tool-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  background: #fff;
  color: #171717;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.diploma-page .tool-logo::before {
  display: none;
}

.diploma-page .tool-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.diploma-page .section-icon-image {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 0 8px;
  object-fit: contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(47%)
    sepia(89%)
    saturate(1478%)
    hue-rotate(352deg)
    brightness(99%)
    contrast(95%);
}

.diploma-page .program-cta h3 {
  color: var(--orange);
}

.diploma-page .deliverable-visual {
  position: relative;
  flex: 0 0 220px;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(244, 124, 32, 0.1), rgba(122, 92, 255, 0.1)),
    #fff;
}

.diploma-page .deliverable-visual::before {
  position: absolute;
  left: 18px;
  top: 16px;
  color: rgba(23, 23, 23, 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diploma-page .deliverable-visual span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(122, 92, 255, 0.18);
}

.diploma-page .dashboard-visual::before {
  content: "Dashboard";
}

.diploma-page .dashboard-visual span:nth-child(1) {
  left: 18px;
  top: 42px;
  width: 76px;
  height: 42px;
  border-radius: 14px;
  background: rgba(244, 124, 32, 0.82);
}

.diploma-page .dashboard-visual span:nth-child(2) {
  left: 106px;
  top: 42px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: rgba(122, 92, 255, 0.2);
}

.diploma-page .dashboard-visual span:nth-child(3) {
  left: 106px;
  top: 70px;
  width: 28px;
  height: 34px;
  border-radius: 10px;
  background: rgba(23, 23, 23, 0.12);
}

.diploma-page .dashboard-visual span:nth-child(4) {
  left: 144px;
  top: 58px;
  width: 28px;
  height: 46px;
  border-radius: 10px;
  background: rgba(122, 92, 255, 0.24);
}

.diploma-page .workflow-visual::before {
  content: "Flujo automatizado";
}

.diploma-page .workflow-visual span:nth-child(1) {
  left: 20px;
  top: 58px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(244, 124, 32, 0.82);
}

.diploma-page .workflow-visual span:nth-child(2) {
  left: 72px;
  top: 73px;
  width: 78px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 124, 32, 0.55), rgba(122, 92, 255, 0.55));
}

.diploma-page .workflow-visual span:nth-child(3) {
  left: 104px;
  top: 46px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(122, 92, 255, 0.22);
}

.diploma-page .workflow-visual span:nth-child(4) {
  right: 22px;
  top: 58px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(23, 23, 23, 0.13);
}

.diploma-page .analytics-visual::before {
  content: "KPIs";
}

.diploma-page .analytics-visual span:nth-child(1) {
  left: 18px;
  bottom: 22px;
  width: 28px;
  height: 34px;
  border-radius: 10px 10px 0 0;
  background: rgba(244, 124, 32, 0.82);
}

.diploma-page .analytics-visual span:nth-child(2) {
  left: 56px;
  bottom: 22px;
  width: 28px;
  height: 54px;
  border-radius: 10px 10px 0 0;
  background: rgba(122, 92, 255, 0.25);
}

.diploma-page .analytics-visual span:nth-child(3) {
  left: 94px;
  bottom: 22px;
  width: 28px;
  height: 42px;
  border-radius: 10px 10px 0 0;
  background: rgba(23, 23, 23, 0.12);
}

.diploma-page .analytics-visual span:nth-child(4) {
  right: 22px;
  top: 42px;
  width: 64px;
  height: 64px;
  border: 10px solid rgba(122, 92, 255, 0.2);
  border-top-color: rgba(244, 124, 32, 0.82);
  border-radius: 50%;
  background: transparent;
}

.diploma-page .marketing-visual::before {
  content: "Campaña";
}

.diploma-page .marketing-visual span:nth-child(1) {
  left: 20px;
  top: 48px;
  width: 82px;
  height: 52px;
  border-radius: 16px;
  background: rgba(244, 124, 32, 0.16);
}

.diploma-page .marketing-visual span:nth-child(2) {
  left: 34px;
  top: 62px;
  width: 72px;
  height: 8px;
  background: rgba(244, 124, 32, 0.82);
}

.diploma-page .marketing-visual span:nth-child(3) {
  left: 116px;
  top: 48px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(122, 92, 255, 0.22);
}

.diploma-page .marketing-visual span:nth-child(4) {
  right: 18px;
  bottom: 24px;
  width: 54px;
  height: 26px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.12);
}

.diploma-page .roadmap-visual::before {
  content: "Roadmap";
}

.diploma-page .roadmap-visual span:nth-child(1) {
  left: 24px;
  top: 70px;
  width: 168px;
  height: 4px;
  border-radius: 999px;
  background: rgba(122, 92, 255, 0.2);
}

.diploma-page .roadmap-visual span:nth-child(2),
.diploma-page .roadmap-visual span:nth-child(3),
.diploma-page .roadmap-visual span:nth-child(4) {
  top: 56px;
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.diploma-page .roadmap-visual span:nth-child(2) {
  left: 28px;
  background: rgba(244, 124, 32, 0.82);
}

.diploma-page .roadmap-visual span:nth-child(3) {
  left: 94px;
  background: rgba(122, 92, 255, 0.22);
}

.diploma-page .roadmap-visual span:nth-child(4) {
  right: 26px;
  background: rgba(23, 23, 23, 0.12);
}

html[data-theme="dark"] .diploma-page .program-sidebar .advisor-card {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .diploma-page .tools-card,
html[data-theme="dark"] .diploma-page .finish-card,
html[data-theme="dark"] .diploma-page .tool-logo,
html[data-theme="dark"] .diploma-page .deliverable-visual {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.09);
  color: #f3efe7;
}

html[data-theme="dark"] .diploma-page .finish-card p {
  color: rgba(238, 231, 220, 0.68);
}

@media (max-width: 1080px) {
  .diploma-page .course-panel .program-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .diploma-page .diploma-content {
    gap: 18px;
  }

  .diploma-page .course-support-grid {
    grid-template-columns: 1fr;
  }

  .diploma-page .program-cta {
    align-items: stretch;
  }

  .diploma-page .deliverable-visual {
    flex-basis: auto;
    width: 100%;
  }

  .diploma-page .course-panel .program-head {
    min-height: 330px;
  }

  .diploma-page .course-panel .program-facts {
    grid-template-columns: 1fr;
  }
}

.fiscal-page .fiscal-hero-visual,
.fiscal-page .fiscal-program-image,
.fiscal-page .fiscal-course-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 99, 0.1);
  background:
    radial-gradient(circle at 72% 24%, rgba(244, 124, 32, 0.2), transparent 30%),
    radial-gradient(circle at 22% 76%, rgba(122, 92, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 239, 230, 0.76));
}

.fiscal-page .fiscal-hero-visual {
  display: grid;
  place-items: center;
  min-height: 460px;
  border-radius: 32px;
}

.fiscal-page .academy-hero-copy {
  position: relative;
  z-index: 2;
}

.fiscal-page .fiscal-ledger {
  position: absolute;
  left: 9%;
  bottom: 12%;
  width: min(58%, 420px);
  min-height: 210px;
  border: 1px solid rgba(6, 43, 99, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.08);
}

.fiscal-page .fiscal-ledger::before {
  content: "Control fiscal";
  position: absolute;
  left: 22px;
  top: 20px;
  color: rgba(6, 43, 99, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fiscal-page .fiscal-ledger span {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 12px;
  border-radius: 999px;
  background: rgba(6, 43, 99, 0.09);
}

.fiscal-page .fiscal-ledger span:nth-child(1) { top: 68px; width: 74%; }
.fiscal-page .fiscal-ledger span:nth-child(2) { top: 102px; width: 86%; }
.fiscal-page .fiscal-ledger span:nth-child(3) { top: 136px; width: 58%; background: rgba(244, 124, 32, 0.78); }
.fiscal-page .fiscal-ledger span:nth-child(4) { top: 170px; width: 70%; background: rgba(122, 92, 255, 0.18); }

.fiscal-page .fiscal-orbit {
  position: absolute;
  right: 10%;
  top: 15%;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(122, 92, 255, 0.18);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(6, 43, 99, 0.1);
}

.fiscal-page .fiscal-orbit strong {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #5c2d91;
  color: #fff;
  font-family: Fredoka, Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.fiscal-page .fiscal-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f47c20;
}

.fiscal-page .fiscal-orbit span:nth-child(2) { left: 28px; top: 42px; }
.fiscal-page .fiscal-orbit span:nth-child(3) { right: 24px; top: 92px; background: #062b63; }
.fiscal-page .fiscal-orbit span:nth-child(4) { left: 76px; bottom: 22px; background: #16843a; }

.fiscal-page .fiscal-audience {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.fiscal-page .fiscal-audience li {
  padding: 8px 10px;
  border: 1px solid rgba(6, 43, 99, 0.08);
  border-radius: 999px;
  background: rgba(244, 124, 32, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.fiscal-page .fiscal-control-map {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fiscal-page .fiscal-control-map span {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid rgba(6, 43, 99, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: #062b63;
  font-size: 18px;
  font-weight: 900;
}

.fiscal-page .fiscal-control-map span:nth-child(3) {
  background: rgba(92, 45, 145, 0.92);
  color: #fff;
  font-family: Fredoka, Inter, sans-serif;
}

.fiscal-page .fiscal-tool-note {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.fiscal-page .fiscal-course-visual span {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.fiscal-page .audit-visual::before { content: "Control"; }
.fiscal-page .decision-visual::before { content: "Decisión"; }
.fiscal-page .blueprint-visual::before { content: "Blueprint"; }

.fiscal-page .audit-visual span:nth-child(1),
.fiscal-page .decision-visual span:nth-child(1),
.fiscal-page .blueprint-visual span:nth-child(1) {
  left: 22px;
  top: 48px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(244, 124, 32, 0.78);
}

.fiscal-page .audit-visual span:nth-child(2),
.fiscal-page .decision-visual span:nth-child(2),
.fiscal-page .blueprint-visual span:nth-child(2) {
  left: 96px;
  top: 74px;
  width: 82px;
  height: 5px;
  background: linear-gradient(90deg, rgba(244, 124, 32, 0.58), rgba(122, 92, 255, 0.58));
}

.fiscal-page .audit-visual span:nth-child(3),
.fiscal-page .decision-visual span:nth-child(3),
.fiscal-page .blueprint-visual span:nth-child(3) {
  right: 28px;
  top: 48px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(122, 92, 255, 0.2);
}

.fiscal-page .audit-visual span:nth-child(4),
.fiscal-page .decision-visual span:nth-child(4),
.fiscal-page .blueprint-visual span:nth-child(4) {
  left: 68px;
  bottom: 20px;
  width: 112px;
  height: 12px;
  background: rgba(6, 43, 99, 0.12);
}

html[data-theme="dark"] .fiscal-page .fiscal-hero-visual,
html[data-theme="dark"] .fiscal-page .fiscal-program-image,
html[data-theme="dark"] .fiscal-page .fiscal-course-visual {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 72% 24%, rgba(244, 124, 32, 0.16), transparent 30%),
    radial-gradient(circle at 22% 76%, rgba(122, 92, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .fiscal-page .fiscal-ledger,
html[data-theme="dark"] .fiscal-page .fiscal-orbit,
html[data-theme="dark"] .fiscal-page .fiscal-control-map span,
html[data-theme="dark"] .fiscal-page .fiscal-audience li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #f3efe7;
}

html[data-theme="dark"] .fiscal-page .fiscal-ledger::before {
  color: rgba(243, 239, 231, 0.7);
}

@media (max-width: 760px) {
  .fiscal-page .academy-hero-grid::after {
    background:
      linear-gradient(
        90deg,
        rgba(248, 243, 236, 0.98) 0%,
        rgba(248, 243, 236, 0.94) 44%,
        rgba(248, 243, 236, 0.72) 72%,
        rgba(248, 243, 236, 0.42) 100%
      );
  }

  .fiscal-page .fiscal-hero-visual,
  .fiscal-page .fiscal-program-image,
  .fiscal-page .fiscal-course-visual {
    min-height: 300px;
  }

  .fiscal-page .fiscal-orbit {
    right: -34px;
    top: 18px;
    width: 150px;
    height: 150px;
    opacity: 0.55;
  }

  .fiscal-page .fiscal-orbit strong {
    width: 78px;
    height: 78px;
    font-size: 28px;
  }

  .fiscal-page .fiscal-ledger {
    left: 28%;
    width: 76%;
    opacity: 0.54;
  }
}

html[data-theme="dark"] .fiscal-page .academy-hero-grid::after {
  background:
    linear-gradient(
      90deg,
      rgba(15, 16, 20, 0.98) 0%,
      rgba(15, 16, 20, 0.9) 42%,
      rgba(15, 16, 20, 0.64) 72%,
      rgba(15, 16, 20, 0.32) 100%
    );
}

.fiscal-page .course-panel .program-head {
  min-height: clamp(420px, 46vw, 540px);
  align-items: center;
}

.fiscal-page #programa .program-head {
  min-height: clamp(430px, 46vw, 560px);
  align-items: center;
}

.fiscal-page #programa .program-head-copy {
  max-width: 590px;
}

.fiscal-page #programa .program-head h2 {
  max-width: 580px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.fiscal-page #programa .program-summary {
  max-width: 540px;
  margin-top: 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.42;
}

.fiscal-page #programa .program-facts {
  max-width: 580px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fiscal-page #programa .fiscal-program-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 34px;
  background: transparent;
  opacity: 0.92;
}

.fiscal-page #programa .fiscal-program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
}

.fiscal-page .course-panel .program-head-copy {
  max-width: 560px;
}

.fiscal-page .course-panel .program-head h2 {
  max-width: 540px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.fiscal-page .course-panel .program-summary {
  max-width: 500px;
  margin-top: 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.42;
}

.fiscal-page .course-panel .program-facts {
  max-width: 540px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fiscal-page .course-panel .fiscal-course-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 34px;
  background: transparent;
  opacity: 0.92;
}

.fiscal-page .course-panel .fiscal-course-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
}

.fiscal-page .course-panel .program-head::after {
  background:
    linear-gradient(
      90deg,
      rgba(251, 248, 244, 0.98) 0%,
      rgba(251, 248, 244, 0.94) 30%,
      rgba(251, 248, 244, 0.72) 48%,
      rgba(251, 248, 244, 0.28) 70%,
      rgba(251, 248, 244, 0.04) 100%
    );
}

.fiscal-page #programa .program-head::after {
  background:
    linear-gradient(
      90deg,
      rgba(251, 248, 244, 0.98) 0%,
      rgba(251, 248, 244, 0.94) 30%,
      rgba(251, 248, 244, 0.72) 48%,
      rgba(251, 248, 244, 0.28) 70%,
      rgba(251, 248, 244, 0.04) 100%
    );
}

html[data-theme="dark"] .fiscal-page .course-panel .program-head::after {
  background:
    linear-gradient(
      90deg,
      rgba(18, 19, 22, 0.98) 0%,
      rgba(18, 19, 22, 0.92) 32%,
      rgba(18, 19, 22, 0.68) 52%,
      rgba(18, 19, 22, 0.32) 74%,
      rgba(18, 19, 22, 0.08) 100%
    );
}

html[data-theme="dark"] .fiscal-page #programa .program-head::after {
  background:
    linear-gradient(
      90deg,
      rgba(18, 19, 22, 0.98) 0%,
      rgba(18, 19, 22, 0.92) 32%,
      rgba(18, 19, 22, 0.68) 52%,
      rgba(18, 19, 22, 0.32) 74%,
      rgba(18, 19, 22, 0.08) 100%
    );
}

@media (max-width: 760px) {
  .fiscal-page #programa .program-head {
    min-height: 410px;
  }

  .fiscal-page #programa .program-head h2 {
    max-width: 88%;
    font-size: clamp(32px, 11vw, 50px);
  }

  .fiscal-page #programa .program-summary,
  .fiscal-page #programa .program-facts {
    max-width: 88%;
  }

  .fiscal-page #programa .program-facts {
    grid-template-columns: 1fr;
  }

  .fiscal-page #programa .program-head::after {
    background:
      linear-gradient(
        90deg,
        rgba(251, 248, 244, 0.98) 0%,
        rgba(251, 248, 244, 0.92) 54%,
        rgba(251, 248, 244, 0.58) 82%,
        rgba(251, 248, 244, 0.18) 100%
      );
  }

  .fiscal-page .course-panel .program-head {
    min-height: 390px;
  }

  .fiscal-page .course-panel .program-head h2 {
    max-width: 88%;
    font-size: clamp(32px, 11vw, 48px);
  }

  .fiscal-page .course-panel .program-summary {
    max-width: 88%;
  }

  .fiscal-page .course-panel .program-facts {
    max-width: 88%;
    grid-template-columns: 1fr;
  }

  .fiscal-page .course-panel .program-head::after {
    background:
      linear-gradient(
        90deg,
        rgba(251, 248, 244, 0.98) 0%,
        rgba(251, 248, 244, 0.92) 54%,
        rgba(251, 248, 244, 0.58) 82%,
        rgba(251, 248, 244, 0.18) 100%
      );
  }
}
