:root {
  --blue: #052b57;
  --blue2: #0b3d78;
  --gold: #f3b233;
  --light: #f5f7fb;
  --dark: #111827;
  --muted: #667085;
  --white: #fff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0, 0, 0, .10);
  --campus-photo: url("images/DSC03154-HDR.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  min-height: 82px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  transition: min-height .3s ease, box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 10px 32px rgba(5, 43, 87, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(190px, 22vw, 260px);
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.btn-primary {
  background: var(--blue);
  color: #fff !important;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: var(--campus-photo);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 55%;
  isolation: isolate;
}

.hero {
  min-height: min(700px, calc(100svh - 118px));
  display: flex;
  align-items: center;
  padding: 82px 8%;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  transform: scale(1.01);
}

.hero::after,
.page-hero::after,
.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 20, 43, .93) 0%, rgba(5, 43, 87, .78) 38%, rgba(5, 43, 87, .28) 73%, rgba(3, 20, 43, .12) 100%),
    linear-gradient(180deg, rgba(3, 15, 31, .52) 0%, rgba(3, 15, 31, .12) 45%, rgba(3, 15, 31, .45) 100%);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 24% 52%, rgba(243, 178, 51, .22), transparent 28%),
    linear-gradient(90deg, rgba(5, 43, 87, .36), transparent 52%);
  mix-blend-mode: screen;
  opacity: .75;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .36);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: .97;
  margin: 14px 0 20px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--blue);
  margin: 0 0 18px;
}

.hero p,
.page-hero p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 760px;
}

.hero p {
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(5, 43, 87, .2);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: #fff;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 86px 0;
}

.center {
  text-align: center;
  margin: auto;
  max-width: 850px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(90deg, #041e3f, var(--blue2));
  color: #fff;
  padding: 28px 8%;
  gap: 1px;
}

.stat {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 38px;
}

.stat span {
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.program-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px;
}

.program-grid article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card h3,
.program-grid h3 {
  color: var(--blue);
  margin-top: 0;
}

.program-card-image,
.program-sidebar-image {
  margin: 0;
  overflow: hidden;
}

.program-card-image {
  aspect-ratio: 1 / .72;
  background: var(--blue);
}

.program-card-image img,
.program-sidebar-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.feature-card p,
.program-grid p,
.two-columns p,
.form-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.light-section {
  background: var(--light);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  padding: 90px 8%;
  align-items: center;
}

.blue-section {
  background:
    linear-gradient(90deg, rgba(5, 43, 87, .96), rgba(5, 43, 87, .86)),
    var(--campus-photo) center 62% / cover;
  color: #fff;
}

.blue-section h2 {
  color: #fff;
}

.blue-section p {
  color: rgba(255, 255, 255, .82);
}

.program-mini-grid {
  display: grid;
  gap: 14px;
}

.program-mini-grid a {
  background: rgba(255, 255, 255, .94);
  color: var(--blue);
  padding: 22px;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}

.cta-section {
  text-align: center;
  padding: 90px 24px;
}

.page-hero {
  padding: 110px 8%;
  background-position: center 52%;
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  position: relative;
  z-index: 1;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .36);
}

.page-hero h1 {
  max-width: 940px;
}

.two-columns {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.academic-list {
  border-bottom: 1px solid var(--border);
}

.academic-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.academic-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 4px;
}

.academic-nav a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(5, 43, 87, .08);
  color: var(--blue);
  font-weight: 900;
  padding: 12px 16px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.program-grid a {
  color: var(--blue);
  font-weight: 900;
  margin-top: auto;
}

.program-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-image-hero {
  min-height: 520px;
  background-image: var(--program-image);
  background-position: center;
}

.program-image-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 20, 43, .92) 0%, rgba(5, 43, 87, .70) 46%, rgba(5, 43, 87, .32) 100%),
    linear-gradient(180deg, rgba(3, 15, 31, .38) 0%, rgba(3, 15, 31, .16) 48%, rgba(3, 15, 31, .52) 100%);
}

.program-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: start;
}

.program-detail-main {
  min-width: 0;
}

.program-detail-main p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.back-link {
  display: flex;
  width: fit-content;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.detail-panel,
.program-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-panel {
  padding: 28px;
}

.detail-panel h3,
.program-sidebar h3 {
  color: var(--blue);
  margin: 0 0 16px;
}

.detail-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.program-sidebar {
  position: sticky;
  top: 108px;
  padding: 0 30px 30px;
}

.program-sidebar-image {
  aspect-ratio: 1 / .72;
  margin: 0 -30px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--blue);
}

.program-sidebar p {
  color: var(--muted);
  line-height: 1.7;
}

.program-sidebar .btn {
  width: 100%;
  margin-top: 12px;
}

.program-facts {
  margin: 24px 0;
}

.program-facts div {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.program-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.program-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 76px 8%;
}

.program-cta h2 {
  max-width: 720px;
}

.program-cta p {
  max-width: 680px;
}

.program-cta .btn {
  flex: 0 0 auto;
}

.form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
}

.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 30px;
}

.lead-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 15px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.privacy {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--muted);
}

.privacy input {
  width: auto;
  margin-top: 4px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  z-index: 50;
}

.footer {
  background: #071827;
  color: #fff;
  text-align: center;
  padding: 32px 20px;
}

/* Home page */
.home-page {
  --home-radius: 22px;
}

.home-page .hero {
  min-height: min(760px, calc(100svh - 82px));
  padding-top: 112px;
  padding-bottom: 118px;
}

.home-page .hero::before {
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.075); }
}

.home-page .hero-content {
  max-width: 820px;
}

.home-page .hero h1 {
  max-width: 760px;
  letter-spacing: -2.5px;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-proof span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(2, 19, 41, .32);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  backdrop-filter: blur(8px);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

.home-page .stats-band {
  position: relative;
  z-index: 3;
  padding-top: 23px;
  padding-bottom: 23px;
}

.home-page .stat {
  text-align: center;
}

.home-page .stat:last-child {
  border-right: 0;
}

.home-page .stat strong {
  font-size: clamp(30px, 3.4vw, 46px);
}

.intro-section {
  padding-top: 120px;
  padding-bottom: 118px;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit-item {
  position: relative;
  padding: 34px 38px 36px;
  border-right: 1px solid var(--border);
}

.benefit-item:last-child {
  border-right: 0;
}

.benefit-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s ease;
}

.benefit-item:hover::after {
  transform: scaleX(1);
}

.benefit-number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.benefit-item h3 {
  color: var(--blue);
  font-size: 22px;
  margin: 16px 0 12px;
}

.benefit-item p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.programs-showcase {
  overflow: hidden;
  padding-top: 112px;
  padding-bottom: 112px;
}

.showcase-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.showcase-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
  padding-bottom: 5px;
}

.slider-button {
  width: 48px;
  height: 48px;
  border: 1px solid #d7dde8;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 21px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.slider-button:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.06);
}

.program-slider {
  display: grid;
  grid-auto-columns: minmax(310px, 36%);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 2px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #dfe5ed;
  outline: none;
}

.program-slider::-webkit-scrollbar {
  height: 6px;
}

.program-slider::-webkit-scrollbar-track {
  background: #dfe5ed;
  border-radius: 99px;
}

.program-slider::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 99px;
}

.home-program-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(5, 43, 87, .07);
  scroll-snap-align: start;
  transition: transform .35s ease, box-shadow .35s ease;
}

.home-program-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 48px rgba(5, 43, 87, .14);
}

.home-program-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue);
}

.home-program-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(3, 20, 43, .62));
}

.home-program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.home-program-card:hover .home-program-image img {
  transform: scale(1.055);
}

.home-program-image > span {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(5, 43, 87, .76);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.program-mode {
  color: #997018 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.home-program-body h3 {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.home-program-body p {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.text-link span {
  transition: transform .25s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 38px;
}

.showcase-footer p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.experience-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 690px;
  background: var(--blue);
}

.experience-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.experience-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 20, 43, .65));
}

.experience-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-note {
  position: absolute;
  z-index: 1;
  right: 36px;
  bottom: 36px;
  left: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 14px;
  background: rgba(3, 20, 43, .58);
  color: #fff;
  backdrop-filter: blur(14px);
}

.image-note strong {
  color: var(--gold);
}

.image-note span {
  font-size: 13px;
}

.experience-copy {
  align-self: center;
  padding: 80px clamp(40px, 7vw, 110px);
  color: #fff;
}

.experience-copy h2 {
  color: #fff;
}

.experience-copy > p {
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.check-list li > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue);
  font-weight: 900;
}

.check-list strong,
.check-list small {
  display: block;
}

.check-list small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.45;
}

.text-link-light {
  color: #fff;
}

.marquee-band {
  overflow: hidden;
  padding: 22px 0;
  background: var(--gold);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  color: var(--blue);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -.4px;
  animation: marquee 30s linear infinite;
}

.marquee-track i {
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.journey-section {
  padding-top: 118px;
  padding-bottom: 118px;
}

.journey-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin: 70px 0 50px;
}

.journey-grid::before {
  content: "";
  position: absolute;
  top: 29px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: #d9dee8;
}

.journey-step {
  position: relative;
  text-align: center;
}

.journey-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 25px;
  border: 1px solid #d9dee8;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 0 0 10px #fff;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.journey-step:hover > span {
  background: var(--blue);
  color: var(--gold);
  transform: scale(1.08);
}

.journey-step h3 {
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 10px;
}

.journey-step p {
  max-width: 315px;
  margin: auto;
  color: var(--muted);
  line-height: 1.7;
}

.faq-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.accordion {
  border-top: 1px solid #d7dde8;
}

.accordion details {
  border-bottom: 1px solid #d7dde8;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  transition: transform .25s ease, background .25s ease;
}

.accordion details[open] summary span {
  background: var(--gold);
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 690px;
  margin: -5px 56px 26px 0;
  color: var(--muted);
  line-height: 1.75;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 590px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.final-cta-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/programas/Maestr-Adm-Empresas-2.jpg") center 42% / cover;
  transition: transform 1s ease;
}

.final-cta:hover .final-cta-image {
  transform: scale(1.025);
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 20, 43, .93), rgba(5, 43, 87, .72));
}

.final-cta-content {
  max-width: 830px;
  padding: 90px 24px;
  text-align: center;
  color: #fff;
}

.final-cta-content h2 {
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
}

.final-cta-content p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .8);
  font-size: 19px;
  line-height: 1.7;
}

.final-cta-content .actions {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item:nth-child(2),
.journey-step:nth-child(2) {
  transition-delay: .1s;
}

.benefit-item:nth-child(3),
.journey-step:nth-child(3) {
  transition-delay: .2s;
}

.home-page .whatsapp-float {
  display: flex;
  align-items: center;
  gap: 9px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-page .whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}

.home-page .whatsapp-float span {
  color: #fff;
  font-size: 11px;
  animation: whatsapp-pulse 2s ease infinite;
}

@keyframes whatsapp-pulse {
  50% { opacity: .45; transform: scale(.7); }
}

.home-footer {
  padding: 72px 20px 26px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 54px;
  padding: 0;
}

.footer-brand img {
  width: min(240px, 100%);
  padding: 12px;
  border-radius: 10px;
  background: #fff;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.7;
}

.footer-grid h3 {
  margin-top: 4px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin: 14px 0;
  color: rgba(255, 255, 255, .72);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 55px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav > a:not(.nav-cta) {
    width: 100%;
  }

  .main-nav.active {
    display: flex;
  }

  .hero {
    min-height: 620px;
    padding: 72px 24px;
    background-position: 58% center;
  }

  .hero::after,
  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 20, 43, .95) 0%, rgba(5, 43, 87, .78) 58%, rgba(5, 43, 87, .30) 100%),
      linear-gradient(180deg, rgba(3, 15, 31, .44) 0%, rgba(3, 15, 31, .20) 45%, rgba(3, 15, 31, .60) 100%);
  }

  .page-hero {
    padding: 86px 24px;
    background-position: 60% center;
  }

  .program-image-hero {
    min-height: 560px;
    background-position: center;
  }

  .hero-content {
    max-width: 620px;
  }

  .stats-band,
  .feature-grid,
  .feature-grid.three,
  .program-grid,
  .program-detail-layout,
  .detail-grid,
  .split-section,
  .two-columns,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .program-sidebar {
    position: static;
  }

  .program-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 64px 24px;
  }

  .stats-band {
    padding: 20px;
  }

  .academic-nav {
    padding-top: 20px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .home-page .hero {
    min-height: 680px;
    padding-top: 92px;
    padding-bottom: 110px;
  }

  .scroll-cue {
    right: 24px;
    bottom: 24px;
  }

  .benefit-row,
  .experience-section,
  .journey-grid,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-row {
    margin-top: 48px;
  }

  .benefit-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .benefit-item:last-child {
    border-bottom: 0;
  }

  .program-slider {
    grid-auto-columns: minmax(300px, 70%);
  }

  .experience-section {
    min-height: auto;
  }

  .experience-image {
    min-height: 520px;
  }

  .experience-copy {
    padding: 76px 42px;
  }

  .journey-grid::before {
    display: none;
  }

  .journey-grid {
    gap: 46px;
  }

  .faq-layout {
    gap: 50px;
  }

  .faq-intro {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(190px, 52vw);
    max-height: 52px;
  }

  .hero {
    min-height: 590px;
    padding: 58px 20px;
    background-position: 56% center;
  }

  .hero-overlay {
    opacity: .48;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
    line-height: 1.6;
  }

  .program-card-body {
    padding: 24px;
  }

  .academic-nav a {
    width: 100%;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .page-hero {
    background-position: 58% center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 13px 18px;
  }

  .home-page .hero {
    min-height: 690px;
    padding-top: 70px;
    padding-bottom: 112px;
  }

  .home-page .hero h1 {
    letter-spacing: -1.4px;
  }

  .hero-proof {
    gap: 7px;
    margin-top: 24px;
  }

  .hero-proof span {
    padding: 7px 10px;
    font-size: 10px;
  }

  .scroll-cue span {
    display: none;
  }

  .home-page .stat {
    padding: 14px 10px;
  }

  .intro-section,
  .programs-showcase,
  .journey-section,
  .faq-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .benefit-item {
    padding: 30px 12px;
  }

  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-slider {
    grid-auto-columns: 88%;
    gap: 16px;
    margin-right: -24px;
  }

  .home-program-card {
    min-height: 500px;
    border-radius: 16px;
  }

  .showcase-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-footer .btn {
    width: 100%;
  }

  .experience-image {
    min-height: 420px;
  }

  .image-note {
    right: 18px;
    bottom: 18px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-copy {
    padding: 68px 24px;
  }

  .marquee-band {
    padding: 17px 0;
  }

  .journey-grid {
    margin-top: 50px;
  }

  .accordion summary {
    font-size: 16px;
  }

  .final-cta {
    min-height: 620px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Payment portal */
.payment-page {
  background: #f4f7fb;
}

.payment-header {
  position: relative;
  min-height: 76px;
  padding-right: max(24px, 6vw);
  padding-left: max(24px, 6vw);
}

.payment-header .brand-logo {
  width: clamp(180px, 20vw, 235px);
}

.payment-exit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.payment-intro {
  position: relative;
  overflow: hidden;
  padding: 64px 0 82px;
  background:
    radial-gradient(circle at 80% 0, rgba(243, 178, 51, .16), transparent 28%),
    linear-gradient(125deg, #041e3f, #0b3d78);
  color: #fff;
}

.payment-intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02);
}

.payment-intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.payment-intro h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -1.8px;
}

.payment-intro p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.7;
}

.security-summary {
  display: grid;
  flex: 0 0 auto;
  gap: 11px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.security-summary span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 800;
}

.security-summary i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(243, 178, 51, .13);
}

.payment-shell {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  padding-top: 0;
  padding-bottom: 100px;
}

.sandbox-notice {
  margin-bottom: 20px;
  padding: 18px 22px;
  border: 1px solid #e2b44a;
  border-radius: 14px;
  background: #fff7df;
  color: #674a0b;
  box-shadow: 0 10px 28px rgba(88, 61, 2, .08);
}

.sandbox-notice strong,
.sandbox-notice p {
  display: inline;
}

.sandbox-notice p {
  margin-left: 8px;
  line-height: 1.6;
}

.sandbox-notice button {
  padding: 2px 6px;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.payment-form {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(5, 43, 87, .1);
}

.payment-step {
  padding: 36px 42px;
  border-bottom: 1px solid var(--border);
}

.payment-step-heading {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.payment-step-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
  font-weight: 900;
}

.payment-step-heading h2 {
  margin: 0 0 5px;
  font-size: 24px;
}

.payment-step-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  gap: 19px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .span-two {
  grid-column: 1 / -1;
}

.payment-form label,
.payment-form legend {
  color: #26354a;
  font-size: 13px;
  font-weight: 900;
}

.payment-form input,
.payment-form select {
  width: 100%;
  height: 49px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--dark);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.payment-form input:focus,
.payment-form select:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 4px rgba(11, 61, 120, .1);
}

.payment-form input[aria-invalid="true"],
.payment-form select[aria-invalid="true"] {
  border-color: #b42318;
}

.payment-form input:disabled {
  background: #f3f5f8;
  color: var(--muted);
}

.field-error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}

.field-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.amount-field {
  display: block;
  max-width: 340px;
  margin-top: 22px;
}

.money-input {
  position: relative;
  display: block;
}

.money-input b,
.money-input em {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  font-style: normal;
}

.money-input b {
  left: 14px;
  color: var(--blue);
  font-size: 20px;
}

.money-input em {
  right: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.money-input input {
  padding-right: 58px;
  padding-left: 34px;
  font-size: 18px;
  font-weight: 900;
}

.card-grid {
  grid-template-columns: 1.6fr .8fr .9fr;
}

.card-number-field {
  grid-column: span 2;
}

.expiry-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.expiry-field > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.payment-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.payment-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.payment-form-error {
  margin: 22px 42px 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff0ef;
  color: #912018;
  font-size: 13px;
  font-weight: 800;
}

.payment-submit {
  width: calc(100% - 84px);
  margin: 30px 42px 10px;
  min-height: 54px;
}

.payment-submit.is-loading {
  cursor: wait;
  opacity: .75;
}

.payment-submit-note {
  margin: 0 42px 32px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.payment-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.payment-help-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 42px rgba(5, 43, 87, .16);
}

.payment-help-card h2,
.payment-help-card h3 {
  margin: 9px 0 15px;
  color: inherit;
  font-size: 21px;
}

.payment-help-card ul {
  margin: 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.75;
}

.payment-help-card li + li {
  margin-top: 7px;
}

.payment-lock {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue);
  font-size: 8px;
}

.payment-help-card.subtle {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 34px rgba(5, 43, 87, .07);
}

.payment-help-card.subtle p {
  color: var(--muted);
  line-height: 1.65;
}

.payment-help-card.subtle a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.accepted-cards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px 8px;
}

.accepted-cards span {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
}

.accepted-cards strong {
  padding: 6px 9px;
  border: 1px solid #dce2eb;
  border-radius: 5px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
}

.payment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-right: max(24px, 6vw);
  padding-left: max(24px, 6vw);
  text-align: left;
}

.payment-footer a {
  color: var(--gold);
  font-weight: 800;
}

.payment-result-main {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 70px 24px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(243, 178, 51, .09), transparent 30%),
    #f4f7fb;
}

.payment-result-card {
  width: min(680px, 100%);
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 43, 87, .12);
  text-align: center;
}

.payment-result-card h1 {
  margin: 8px 0 14px;
  color: var(--blue);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
}

.result-icon {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  border-radius: 50%;
  place-items: center;
}

.result-icon::after {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.result-icon.is-success { background: #16834b; }
.result-icon.is-success::after { content: "\2713"; }
.result-icon.is-failure { background: #b42318; }
.result-icon.is-failure::after { content: "\00d7"; }
.result-icon.is-warning { background: #ba7900; }
.result-icon.is-warning::after { content: "!"; }
.result-icon.is-loading { border: 4px solid #dce4ef; border-top-color: var(--gold); animation: result-spin .8s linear infinite; }

@keyframes result-spin { to { transform: rotate(360deg); } }

.result-message {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 30px 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  text-align: left;
}

.result-details[hidden] {
  display: none;
}

.result-details div {
  padding: 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.result-details dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.result-details dd {
  margin: 6px 0 0;
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sandbox-result-label {
  margin: 20px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff7df;
  color: #674a0b;
  font-size: 12px;
  font-weight: 900;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.result-help {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .payment-intro-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-summary {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .accepted-cards {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .payment-header {
    min-height: 68px;
  }

  .payment-exit {
    font-size: 12px;
  }

  .payment-intro {
    padding: 48px 0 70px;
  }

  .payment-intro-inner {
    gap: 30px;
  }

  .security-summary,
  .form-grid.two,
  .card-grid,
  .payment-aside,
  .result-details {
    grid-template-columns: 1fr;
  }

  .security-summary {
    gap: 9px;
  }

  .payment-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .payment-step {
    padding: 30px 22px;
  }

  .card-number-field,
  .form-grid .span-two {
    grid-column: auto;
  }

  .payment-form-error {
    margin-right: 22px;
    margin-left: 22px;
  }

  .payment-submit {
    width: calc(100% - 44px);
    margin-right: 22px;
    margin-left: 22px;
  }

  .payment-submit-note {
    margin-right: 22px;
    margin-left: 22px;
  }

  .payment-result-card {
    padding: 38px 22px;
  }

  .result-actions,
  .payment-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions .btn {
    width: 100%;
  }
}
