:root {
  --bg: #06080d;
  --bg-soft: #0f1520;
  --surface: #121928;
  --surface-2: #182132;
  --text: #f4f5f8;
  --muted: #adb7ca;
  --line: #2a344a;
  --line-strong: #3a4661;
  --accent: #e8be6f;
  --accent-2: #77d3cf;
  --danger: #ff9191;
  --success: #7be0c4;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  --hero-parallax-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(232, 190, 111, 0.15), transparent 26%),
    radial-gradient(circle at 92% -5%, rgba(119, 211, 207, 0.12), transparent 28%),
    linear-gradient(180deg, #05070c 0%, #0a0f18 36%, #06080d 100%);
  line-height: 1.7;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #101319;
  padding: 0.55rem 0.82rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1600;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(232, 190, 111, 0.9), rgba(119, 211, 207, 0.86));
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.7rem 0;
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(6, 8, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}

.logo {
  margin: 0;
  text-decoration: none;
  color: var(--text);
  font-family: "Public Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.logo:hover,
.logo:focus-visible {
  color: var(--text);
}

.nav-links a.is-active {
  color: var(--text);
  text-shadow: 0 0 20px rgba(119, 211, 207, 0.35);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2.2rem;
}

.eyebrow {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

h4 {
  margin: 0 0 0.4rem;
  font-family: "Public Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.48rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  min-height: calc(100vh - 96px);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 190, 111, 0.22);
  background:
    linear-gradient(145deg, rgba(119, 211, 207, 0.08), rgba(119, 211, 207, 0) 34%),
    linear-gradient(305deg, rgba(232, 190, 111, 0.15), rgba(232, 190, 111, 0) 42%),
    rgba(14, 20, 32, 0.65);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -35% -15%;
  background:
    radial-gradient(circle at 18% 22%, rgba(232, 190, 111, 0.22), transparent 35%),
    radial-gradient(circle at 78% 34%, rgba(119, 211, 207, 0.18), transparent 36%);
  transform: translate3d(0, var(--hero-parallax-y), 0);
  will-change: transform;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  max-width: 56ch;
  font-size: 1.06rem;
}

.hero-highlights {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.64rem;
  flex-wrap: wrap;
}

.hero-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(12, 16, 25, 0.5);
  border-radius: 999px;
  padding: 0.45rem 0.84rem;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-visual {
  min-height: 450px;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(232, 190, 111, 0.36);
  background:
    linear-gradient(125deg, rgba(119, 211, 207, 0.22), rgba(119, 211, 207, 0) 33%),
    linear-gradient(302deg, rgba(232, 190, 111, 0.3), rgba(232, 190, 111, 0) 56%),
    url("assets/gradient-hero.svg") center/cover no-repeat,
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  display: flex;
  align-items: end;
}

.hero-stack {
  width: min(92%, 420px);
  margin: 0 auto;
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 17, 0.74);
  backdrop-filter: blur(4px);
}

.hero-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-stack h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin-bottom: 0.7rem;
}

.hero-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.hero-metrics li {
  font-size: 0.9rem;
  color: #d4dbeb;
}

.hero-metrics strong {
  color: #fff;
  font-weight: 700;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.82rem 1.32rem;
  background: linear-gradient(135deg, var(--accent), #d79b29);
  color: #101319;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 190, 111, 0.31);
  filter: saturate(107%);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.64rem 1rem;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(10, 14, 22, 0.22);
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carousel-block + .carousel-block {
  margin-top: 1.4rem;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.carousel-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 19, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--accent);
  background: rgba(19, 26, 39, 0.95);
  transform: translateY(-1px);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.45rem;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(119, 211, 207, 0.35);
  border-radius: 999px;
}

.media-slide {
  scroll-snap-align: start;
  min-height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.js-result-slide {
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.js-result-slide:hover,
.js-result-slide:focus-visible,
.js-result-slide.is-active {
  border-color: rgba(232, 190, 111, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.results-detail-panel {
  margin-top: 1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}

.results-detail-panel.is-open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.results-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.results-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.results-meta li {
  color: #d9e2f3;
}

.results-meta strong {
  color: #f7faff;
}

.photo-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-slide p {
  padding: 0.9rem 1rem 1rem;
}

.video-slide {
  padding: 0.95rem;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-size: cover;
  background-position: center;
  margin-bottom: 0.9rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.2), rgba(6, 8, 12, 0.7));
}

.video-frame::after {
  content: "▶";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #111723;
  background: var(--accent);
}

.video-frame span {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dfe7f8;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.38rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 190, 111, 0.58);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.card:focus-within {
  border-color: rgba(119, 211, 207, 0.72);
  box-shadow: 0 0 0 3px rgba(119, 211, 207, 0.14);
}

.bullets-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  position: relative;
  border-left: 2px solid rgba(232, 190, 111, 0.6);
  padding-left: 1.1rem;
}

.workflow-stepper {
  padding: 1rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.workflow-step {
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 24, 0.78);
  border-radius: 999px;
  color: #d4deef;
  padding: 0.56rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.workflow-step:hover,
.workflow-step:focus-visible,
.workflow-step.is-active {
  border-color: var(--accent);
  background: rgba(232, 190, 111, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.workflow-panel {
  margin-top: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 16, 24, 0.75);
  padding: 1rem;
}

.workflow-panel h3 {
  margin-bottom: 0.4rem;
}

.cta-panel {
  margin-top: 1.5rem;
  background:
    linear-gradient(100deg, rgba(232, 190, 111, 0.16), rgba(119, 211, 207, 0.09)),
    url("assets/card-gradient.svg") center/cover no-repeat,
    var(--surface-2);
}

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.location-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.map-placeholder {
  min-height: 270px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(119, 211, 207, 0.16), rgba(232, 190, 111, 0.18)),
    url("assets/map-placeholder.svg") center/cover no-repeat,
    var(--surface);
}

.map-embed {
  padding: 0.4rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 270px;
  border: 0;
  border-radius: calc(var(--radius) - 6px);
}

.pricing-card {
  border: 1px solid rgba(232, 190, 111, 0.72);
  background:
    linear-gradient(160deg, rgba(232, 190, 111, 0.17), rgba(119, 211, 207, 0.06)),
    var(--surface);
}

.group-reduced {
  grid-column: 1 / -1;
  border-color: rgba(119, 211, 207, 0.45);
  background:
    linear-gradient(160deg, rgba(119, 211, 207, 0.13), rgba(119, 211, 207, 0.02)),
    var(--surface);
}

.faculty-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.faculty-photo {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(232, 190, 111, 0.18), rgba(119, 211, 207, 0.14)),
    url("assets/faculty-placeholder.svg") center/cover no-repeat,
    #101624;
  min-height: 340px;
}

.faculty-content p + p {
  margin-top: 0.65rem;
}

.faculty-credentials {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d8e1f3;
  display: grid;
  gap: 0.5rem;
}

.counter-placeholder {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #91a2be;
  opacity: 0.8;
}

.price-note {
  font-size: 1.03rem;
  color: var(--text);
  font-weight: 700;
}

.certification {
  max-width: 760px;
}

.certification-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: center;
}

.certificate-placeholder {
  min-height: 220px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(140deg, rgba(232, 190, 111, 0.19), rgba(119, 211, 207, 0.12)),
    url("assets/certificate-placeholder.svg") center/cover no-repeat,
    #101624;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.certificate-placeholder span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #eef2fc;
}

.faq-list {
  display: grid;
  gap: 0.78rem;
}

.fit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-list {
  display: grid;
  gap: 0.5rem;
}

.fit-commitment {
  margin-top: 1rem;
  border: 1px solid rgba(232, 190, 111, 0.38);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: rgba(18, 26, 40, 0.58);
  color: #eef4ff;
  font-weight: 600;
}

.fit-commitment span {
  font-size: 1.04rem;
  margin-right: 0.5rem;
}

details > summary {
  cursor: pointer;
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  font-weight: 700;
}

details > p {
  margin-top: 0.7rem;
}

.interest-form {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(14, 20, 32, 0.85);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-intro {
  margin-bottom: 1.1rem;
  color: #d1d9e8;
  font-size: 0.95rem;
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
}

.field-label {
  color: #f7f8fb;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.field-help {
  color: #90a0bb;
  font-size: 0.77rem;
  line-height: 1.4;
}

.field-error {
  min-height: 1.1rem;
  color: var(--danger);
  font-size: 0.78rem;
  line-height: 1.35;
}

fieldset.form-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 0.95rem;
}

legend {
  padding: 0 0.3rem;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.inline-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.91rem;
  color: #d7deec;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #0c121d;
  color: var(--text);
  padding: 0.76rem 0.82rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8899b5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(119, 211, 207, 0.14);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
#turnoField.has-error,
#consentimientoField.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 145, 145, 0.12);
}

.form-field.has-error .field-label,
#turnoField.has-error legend {
  color: #ffd7d7;
}

.full-width {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 14, 23, 0.66);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.consent input {
  width: auto;
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-message {
  min-height: 1.3rem;
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-message.error {
  color: var(--danger);
}

.final-cta {
  margin-top: 1.2rem;
}

.anchor-alias {
  display: block;
  position: relative;
  height: 0;
  top: -96px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 18px);
  width: min(960px, calc(100vw - 1.4rem));
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.68rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 190, 111, 0.48);
  background:
    linear-gradient(130deg, rgba(232, 190, 111, 0.16), rgba(119, 211, 207, 0.12)),
    rgba(8, 12, 20, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta p {
  margin: 0;
  font-size: 0.84rem;
  color: #edf3ff;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.sticky-cta-visible {
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.exit-modal[hidden] {
  display: none;
}

.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.74);
  backdrop-filter: blur(3px);
}

.exit-modal-dialog {
  position: relative;
  width: min(520px, 94vw);
  border-radius: 18px;
  border: 1px solid rgba(232, 190, 111, 0.45);
  background:
    linear-gradient(145deg, rgba(232, 190, 111, 0.14), rgba(119, 211, 207, 0.08)),
    var(--surface);
  padding: 1.3rem 1.2rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 20, 0.8);
  color: var(--text);
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #06080d;
  padding: 2.3rem 0;
}

.footer-layout {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.reveal.reveal-ready,
[data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}

.reveal.reveal-ready.is-visible,
[data-reveal].reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal.reveal-ready,
  [data-reveal].reveal-ready {
    opacity: 1;
    transform: none;
  }

  .scroll-progress-bar {
    transition: none;
  }

  .hero::after {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .workflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

  .faculty-layout,
  .results-detail-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
    min-height: 70px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 0.2rem;
    gap: 1rem;
  }

  .section {
    padding: 4.1rem 0;
  }

  .card-grid,
  .two-cols,
  .location-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .results-detail-panel.is-open {
    max-height: 620px;
  }

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

  .sticky-cta {
    width: calc(100vw - 1rem);
    padding: 0.58rem;
    gap: 0.55rem;
  }

  .sticky-cta p {
    font-size: 0.77rem;
  }

  .hero-highlights {
    gap: 0.45rem;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .cta-row,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
