@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --fp-scale: 1;
}

.apt-root {
  --fp-primary: #d52c53;
  --fp-primary-dark: #a91e40;
  --fp-primary-soft: #fdf0f4;
  --fp-primary-border: #f2b8c6;
  --fp-ink: #0f172a;
  --fp-muted: #475569;
  font-family: "Public Sans", sans-serif;
  color: var(--fp-ink);
}

@supports (zoom: 1) {
  .apt-root { zoom: var(--fp-scale); }
}

@supports not (zoom: 1) {
  .apt-root {
    width: calc(100% / var(--fp-scale));
    margin-right: auto;
    margin-left: auto;
    transform: scale(var(--fp-scale));
    transform-origin: top center;
  }
}

.apt-root *,
.apt-root *::before,
.apt-root *::after {
  box-sizing: border-box;
}

.apt-root .material-symbols-outlined {
  display: inline-block;
  direction: ltr;
  font-family: "Material Symbols Outlined" !important;
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  font-feature-settings: "liga";
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.apt-root a,
.apt-root button,
.apt-root summary {
  -webkit-tap-highlight-color: transparent;
}

.apt-root a:focus-visible,
.apt-root button:focus-visible,
.apt-root summary:focus-visible {
  outline: 3px solid rgba(213, 44, 83, .35) !important;
  outline-offset: 3px;
}

.apt-root summary::-webkit-details-marker { display: none; }
.apt-root summary { list-style: none; }

.apt-root .text-primary,
.apt-root a.text-primary {
  color: var(--fp-primary) !important;
}

.apt-root .bg-primary {
  background-color: var(--fp-primary) !important;
}

.apt-root .border-primary {
  border-color: var(--fp-primary) !important;
}

.apt-root .fp-hero-pattern {
  opacity: .08;
  background-image:
    radial-gradient(circle at 1px 1px, var(--fp-primary) 1px, transparent 0),
    linear-gradient(120deg, rgba(213, 44, 83, .08), transparent 60%);
  background-size: 18px 18px, 100% 100%;
}

.apt-root .fp-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .85rem;
  border: 1px solid rgba(213, 44, 83, .22);
  border-radius: 999px;
  background: rgba(213, 44, 83, .09);
  color: var(--fp-primary);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apt-root .fp-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.75rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.apt-root .fp-btn:hover { transform: translateY(-2px); }

.apt-root .fp-btn-primary,
.apt-root .fp-btn-primary:visited {
  background: var(--fp-primary);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(213, 44, 83, .23);
}

.apt-root .fp-btn-primary:hover {
  background: var(--fp-primary-dark);
  box-shadow: 0 16px 32px rgba(169, 30, 64, .28);
}

.apt-root .fp-btn-secondary,
.apt-root .fp-btn-secondary:visited {
  border-color: #e2e8f0;
  background: #f1f5f9;
  color: #0f172a !important;
}

.apt-root .fp-btn-secondary:hover { background: #e2e8f0; }

.apt-root .fp-data-card,
.apt-root .fp-soft-card {
  border: 1px solid var(--fp-primary-border);
  border-radius: 1rem;
  background: var(--fp-primary-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.apt-root .fp-data-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.apt-root .fp-data-card:hover,
.apt-root .fp-soft-card:hover {
  border-color: var(--fp-primary);
  background: #fbe5eb;
  box-shadow: 0 14px 34px rgba(213, 44, 83, .12);
  transform: translateY(-2px);
}

.apt-root .fp-data-label {
  margin-bottom: .5rem;
  color: #7f1d3d;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apt-root .fp-data-value {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 900;
}

.apt-root .fp-icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(213, 44, 83, .12);
  color: var(--fp-primary);
}

.apt-root .fp-check-item {
  position: relative;
  padding-left: 2rem;
  line-height: 1.65;
}

.apt-root .fp-check-item::before {
  position: absolute;
  top: .12rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(213, 44, 83, .12);
  color: var(--fp-primary);
  content: "✓";
  font-size: .83rem;
  font-weight: 900;
  line-height: 1.35rem;
  text-align: center;
}

.apt-root .fp-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--fp-primary-border);
  border-radius: 1rem;
  background: rgba(253, 240, 244, .7);
}

.apt-root .fp-location-highlight,
.apt-root .fp-price-card {
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--fp-primary), var(--fp-primary-dark));
  color: #fff;
  box-shadow: 0 18px 42px rgba(169, 30, 64, .25);
}

.apt-root .fp-location-highlight {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.apt-root .fp-gradient {
  background: linear-gradient(180deg, var(--fp-primary), var(--fp-primary-dark));
}

.apt-root .fp-why-card {
  min-height: 230px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background-color .2s ease;
}

.apt-root .fp-why-card:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-3px);
}

.apt-root .fp-why-card .material-symbols-outlined {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .14);
  font-size: 1.8rem;
}

.apt-root .fp-why-card h3 {
  margin-top: 1.25rem;
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 900;
}

.apt-root .fp-why-card p {
  margin-top: .65rem;
  color: rgba(255, 255, 255, .86) !important;
  line-height: 1.6;
}

.apt-root .fp-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.apt-root .fp-details {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.apt-root .fp-details[open] {
  border-color: var(--fp-primary-border);
  box-shadow: 0 12px 28px rgba(213, 44, 83, .09);
}

.apt-root .fp-details summary {
  display: flex;
  min-height: 72px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  color: #0f172a;
  font-weight: 800;
}

.apt-root .fp-summary-title {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.apt-root .fp-chevron {
  flex: 0 0 auto;
  color: #64748b;
  transition: transform .2s ease;
}

.apt-root .fp-details[open] .fp-chevron { transform: rotate(180deg); }

.apt-root .fp-details-content {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
  line-height: 1.7;
}

.apt-root .fp-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
}

.apt-root .fp-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.apt-root .fp-resource-card {
  display: flex;
  min-height: 150px;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.apt-root .fp-resource-card:hover {
  border-color: var(--fp-primary);
  box-shadow: 0 16px 34px rgba(213, 44, 83, .12);
  transform: translateY(-3px);
}

.apt-root .fp-resource-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  background: rgba(213, 44, 83, .11);
  color: var(--fp-primary);
}

.apt-root .fp-contact-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: .45rem;
  color: var(--fp-primary) !important;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

.apt-root .fp-contact-link:hover { text-decoration: underline !important; }

.apt-root .fp-agenti-embed {
  width: 100%;
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.apt-root .fp-agenti-frame {
  display: block;
  width: 100%;
  height: 600px;
  border: 0 !important;
  border-radius: .9rem;
  background: transparent;
}

.dark .apt-root .fp-data-card,
.dark .apt-root .fp-soft-card,
.dark .apt-root .fp-notice {
  border-color: #475569;
  background: rgba(30, 41, 59, .72);
}

.dark .apt-root .fp-data-card:hover,
.dark .apt-root .fp-soft-card:hover {
  border-color: var(--fp-primary);
  background: rgba(51, 65, 85, .9);
}

.dark .apt-root .fp-data-label { color: #f9a8bd; }
.dark .apt-root .fp-data-value { color: #fff; }

.dark .apt-root .fp-details,
.dark .apt-root .fp-resource-card {
  border-color: #475569;
  background: #1e293b;
}

.dark .apt-root .fp-details summary { color: #fff; }
.dark .apt-root .fp-details-content { color: #cbd5e1; }

@media (max-width: 640px) {
  .apt-root .fp-btn { width: 100%; }
  .apt-root .fp-price-card { align-items: flex-start; flex-direction: column; }
  .apt-root .fp-details summary { padding: 1.1rem; }
  .apt-root .fp-details-content { padding: 0 1.1rem 1.2rem; }
  .apt-root .fp-summary-title { align-items: flex-start; }
  .apt-root .fp-resource-card { min-height: auto; }
  .apt-root .fp-agenti-frame { height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  .apt-root *,
  .apt-root *::before,
  .apt-root *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===== PLAN DE ESTUDIOS FINANZAS PÚBLICAS ===== */
.apt-root .fp-curriculum {
  padding: 4rem 0;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.apt-root .fp-curriculum-container {
  width: min(calc(100% - 2rem), 1280px);
  margin-right: auto;
  margin-left: auto;
}

.apt-root .fp-curriculum-heading {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.apt-root .fp-curriculum-title {
  margin: 1rem 0 0;
  color: #0f172a !important;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
}

.apt-root .fp-curriculum-subtitle {
  max-width: 720px;
  margin: .75rem auto 0;
  color: #64748b !important;
  font-size: 1rem;
  line-height: 1.65;
}

.apt-root .fp-curriculum-content {
  width: min(100%, 940px);
  margin-right: auto;
  margin-left: auto;
}

.apt-root .fp-curriculum-frame {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #f8fafc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

.apt-root .fp-curriculum-image-link {
  display: block;
  width: min(84%, 780px);
  margin-right: auto;
  margin-left: auto;
  text-decoration: none !important;
}

.apt-root .fp-curriculum-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  object-fit: contain;
}

.apt-root .fp-curriculum-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  text-align: center;
}

.apt-root .fp-curriculum-button,
.apt-root .fp-curriculum-button:visited {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: .75rem;
  background: var(--fp-primary, #d52c53) !important;
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(213, 44, 83, .22);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.apt-root .fp-curriculum-button:hover {
  background: var(--fp-primary-dark, #a91e40) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(169, 30, 64, .28);
}

.dark .apt-root .fp-curriculum {
  border-top-color: #1e293b;
  background: #101622;
}

.dark .apt-root .fp-curriculum-title {
  color: #ffffff !important;
}

.dark .apt-root .fp-curriculum-subtitle {
  color: #cbd5e1 !important;
}

.dark .apt-root .fp-curriculum-frame {
  border-color: #475569;
  background: rgba(30, 41, 59, .72);
}

.dark .apt-root .fp-curriculum-image {
  border-color: #475569;
}

@media (max-width: 768px) {
  .apt-root .fp-curriculum {
    padding: 3.5rem 0;
  }

  .apt-root .fp-curriculum-container {
    width: min(calc(100% - 1.5rem), 1280px);
  }

  .apt-root .fp-curriculum-image-link {
    width: 92%;
  }
}

@media (max-width: 520px) {
  .apt-root .fp-curriculum {
    padding: 3rem 0;
  }

  .apt-root .fp-curriculum-heading {
    margin-bottom: 2rem;
  }

  .apt-root .fp-curriculum-frame {
    padding: .75rem;
    border-radius: 1.15rem;
  }

  .apt-root .fp-curriculum-image-link {
    width: 100%;
  }

  .apt-root .fp-curriculum-image {
    border-radius: .8rem;
  }

  .apt-root .fp-curriculum-button {
    width: 100%;
  }
}
/* ===== FIN PLAN DE ESTUDIOS FINANZAS PÚBLICAS ===== */
