:root {
  --ink: #17283e;
  --blue: #2182bf;
  --blue-dark: #0c3652;
  --orange: #ed4310;
  --cream: #f4f1e9;
  --paper: #fbfaf7;
  --white: #fff;
  --muted: #637181;
  --line: rgba(23, 40, 62, 0.14);
  --radius: 18px;
  --shadow: 0 25px 60px rgba(17, 37, 58, 0.14);
}

/* Páginas legales */
.legal-page main {
  padding: 148px 0 100px;
}
.legal-hero {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  max-width: 920px;
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.legal-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
  padding-top: 50px;
}
.legal-content {
  min-width: 0;
  max-width: 830px;
}
.legal-content section {
  margin-bottom: 46px;
}
.legal-content h2 {
  margin: 0 0 17px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}
.legal-content h3 {
  margin: 25px 0 10px;
  font-size: 1.15rem;
}
.legal-content p,
.legal-content li {
  color: #44546a;
}
.legal-content p {
  margin: 0 0 16px;
}
.legal-content ul {
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal-content li + li {
  margin-top: 8px;
}
.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-content a:hover {
  color: var(--orange);
}
.canal-button-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 26px;
}
.legal-content .btn-canal {
  padding: 12px 26px;
  background: var(--orange);
  color: #111;
  text-align: center;
  text-decoration: none;
}
.legal-content .btn-canal:hover {
  background: #ff6536;
  color: #111;
}
.legal-content .btn-canal:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.legal-note {
  padding: 20px 23px;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: #fff;
}
.legal-nav {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 15px 35px rgba(17, 37, 58, 0.06);
}
.legal-nav strong {
  display: block;
  margin-bottom: 14px;
  font-family: Manrope, sans-serif;
}
.legal-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--orange);
}
@media (max-width: 800px) {
  .legal-page main {
    padding: 120px 0 70px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
    grid-row: 1;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.22);
}
.cookie-copy { flex: 1; }
.cookie-banner h2, .cookie-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.3;
}
.cookie-banner p, .cookie-dialog p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie-banner a, .cookie-dialog a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}
.cookie-actions button:hover { background: #264459; }
.cookie-actions button:focus-visible, .cookie-settings-link:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.cookie-settings-link {
  display: block;
  border: 0;
  padding: 0;
  margin: 0 0 10px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font: inherit;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}
.cookie-settings-link:hover { color: #fff; text-decoration: underline; }
.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 14px;
}
.cookie-dialog::backdrop { background: rgba(0, 20, 34, 0.65); }
.cookie-category { padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-category h3 { margin: 0 0 8px; font-size: 1rem; }
.cookie-category h3 span { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.cookie-feedback:not(:empty) {
  position: fixed;
  z-index: 10001;
  bottom: 18px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-actions button { flex: 1 1 auto; }
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.section {
  padding: 110px 0;
}
.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  padding: 12px 18px;
  margin: 8px;
}
.eyebrow {
  margin: 0 0 17px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #ff8865;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  margin: 0;
}
h2 span {
  color: var(--blue);
  font-weight: 500;
}
p {
  margin-top: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--orange);
  color: white;
  border: 0;
  border-radius: 99px;
  padding: 15px 24px;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: 0.25s;
}
.btn:hover {
  background: #c93409;
  transform: translateY(-2px);
}
.btn-small {
  padding: 11px 20px;
}
.btn-primary {
  background: var(--orange);
}
.btn.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.text-link.light {
  color: white;
}
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 40, 62, 0.09);
}
.nav-wrap {
  width: min(1280px, calc(100% - 40px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  margin-right: auto;
}
.brand img {
  width: 198px;
  height: auto;
}
.nav-wrap nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-wrap nav a {
  font-size: 0.86rem;
  font-weight: 600;
}
.nav-wrap nav a:hover {
  color: var(--orange);
}
.nav-wrap nav .nav-course-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 15px;
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-dark), #176f9e);
  box-shadow: 0 7px 18px rgba(12, 54, 82, 0.22);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-wrap nav .nav-course-link span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s;
}
.nav-wrap nav .nav-course-link:hover,
.nav-wrap nav .nav-course-link:focus-visible {
  color: var(--white);
  box-shadow: 0 11px 25px rgba(12, 54, 82, 0.34);
  transform: translateY(-3px);
}
.nav-wrap nav .nav-course-link:hover span,
.nav-wrap nav .nav-course-link:focus-visible span {
  transform: translate(2px, -2px);
}
.nav-wrap nav .nav-course-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .nav-wrap nav .nav-course-link,
  .nav-wrap nav .nav-course-link span {
    transition: none;
  }
  .nav-wrap nav .nav-course-link:hover,
  .nav-wrap nav .nav-course-link:focus-visible,
  .nav-wrap nav .nav-course-link:hover span,
  .nav-wrap nav .nav-course-link:focus-visible span {
    transform: none;
  }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .home-header .nav-wrap {
    gap: 16px;
  }
  .home-header .brand img {
    width: 176px;
  }
  .home-header .nav-wrap nav {
    gap: 14px;
  }
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}
.hero {
  min-height: 780px;
  height: 100vh;
  max-height: 940px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 78px;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  background: url("assets/imagenes/hero.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(6, 29, 47, 0.93) 0%,
    rgba(8, 45, 70, 0.72) 49%,
    rgba(8, 45, 70, 0.12) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 55px;
}
.hero h1 {
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  margin: 0 0 26px;
  max-width: 930px;
}
.hero h1 em {
  font-style: normal;
  color: #fc6b3e;
}
.hero-copy {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero-proof {
  position: absolute;
  z-index: 3;
  bottom: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(760px, 62%);
  background: var(--paper);
  color: var(--ink);
}
.hero-proof div {
  padding: 23px 28px;
  border-left: 1px solid var(--line);
}
.hero-proof strong,
.hero-proof span {
  display: block;
}
.hero-proof strong {
  font: 800 1.25rem Manrope;
}
.hero-proof span {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 3px;
}
.split-head {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
}
.intro-copy {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border: 1px solid var(--line);
}
.feature-card {
  min-height: 325px;
  padding: 27px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: 0.3s;
}
.feature-card:last-child {
  border: 0;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-card.featured {
  background: var(--blue-dark);
  color: #fff;
}
.feature-card .num {
  font-size: 0.7rem;
  opacity: 0.55;
}
.feature-icon {
  width: 54px;
  height: 54px;
  margin: 50px 0 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.feature-card h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.feature-card.featured p {
  color: rgba(255, 255, 255, 0.68);
}
.course-band {
  background: var(--blue-dark);
  color: #fff;
  padding: 105px 0;
}
.course-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.course-photo {
  position: relative;
}
.course-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(0.75);
}
.photo-label {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--orange);
  padding: 12px 20px;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.course-info h2 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  margin-bottom: 25px;
}
.course-info > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.04rem;
}
.position-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 42px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.position-row > div {
  padding: 26px 10px;
}
.position-row > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 30px;
}
.position-row strong {
  font: 800 2.4rem Manrope;
}
.position-row span {
  font-size: 0.76rem;
  margin-left: 7px;
  opacity: 0.65;
}
.position-row b {
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}
.section-heading {
  margin-bottom: 75px;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.timeline article {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 22px;
  padding: 42px 42px 42px 0;
  border-bottom: 1px solid var(--line);
}
.timeline article:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.timeline article:nth-child(even) {
  padding-left: 42px;
}
.step {
  width: 48px;
  height: 48px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-weight: 700;
}
.timeline h3 {
  margin: 2px 0 11px;
  font-size: 1.35rem;
}
.timeline p {
  margin: 0;
  color: var(--muted);
}
.syllabus {
  background: #102b42;
  color: white;
}
.syllabus-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}
.syllabus-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}
.syllabus-intro h2 span {
  color: #5ab0e6;
}
.syllabus-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
  max-width: 390px;
  margin-top: 27px;
}
.mini-stats {
  display: flex;
  gap: 45px;
  margin-top: 50px;
}
.mini-stats b,
.mini-stats span {
  display: block;
}
.mini-stats b {
  font: 700 1.3rem Manrope;
}
.mini-stats span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}
.accordion details {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.accordion details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.syllabus-list summary {
  display: grid;
  grid-template-columns: 95px 1fr auto;
  gap: 20px;
  padding: 25px 35px 25px 0;
  align-items: center;
  font: 600 1rem Manrope;
}
.syllabus-list summary span {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8865;
}
.syllabus-list summary b {
  font: 500 0.72rem "DM Sans";
  opacity: 0.48;
}
.syllabus-list summary:after,
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 2px;
  font: 400 1.5rem Manrope;
}
.syllabus-list details[open] summary:after,
.faq-list details[open] summary:after {
  content: "−";
}
.syllabus-list ol {
  columns: 2;
  gap: 40px;
  padding: 0 20px 25px 120px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.82rem;
}
.syllabus-list li {
  padding: 3px 8px;
  break-inside: avoid;
}
.team {
  background: var(--cream);
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 70px;
}
.person {
  flex: 0 1 calc((100% - 72px) / 4);
  background: var(--paper);
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.person img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.85);
  transition: 0.4s;
}
.person:hover img {
  filter: saturate(1);
  transform: scale(1.015);
}
.person > div {
  padding: 24px 25px 28px;
}
.person h3 {
  margin: 0 0 9px;
  font-size: 1.18rem;
}
.person p {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
  margin: 0;
}
.price-section {
  background: linear-gradient(120deg, #1b7db8, #0d4267);
  color: #fff;
}
.price-card {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 110px;
  align-items: center;
}
.price-card h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}
.price-card > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  margin-top: 25px;
}
.price-box {
  background: #fff;
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-box > span {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-box > div {
  margin: 16px 0 25px;
}
.price-box strong {
  font: 800 4.8rem Manrope;
  letter-spacing: -0.08em;
}
.price-box sup {
  font: 800 2rem Manrope;
}
.price-box small {
  color: var(--muted);
}
.price-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.price-box li {
  font-size: 0.84rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.price-box li:before {
  content: "✓";
  color: var(--orange);
  font-weight: bold;
  margin-right: 9px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 100px;
}
.faq-heading {
  position: sticky;
  top: 125px;
  align-self: start;
}
.faq-heading > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 310px;
  margin: 25px 0;
}
.faq-list details {
  border-color: var(--line);
}
.faq-list summary {
  padding: 25px 40px 25px 0;
  font: 600 1.05rem Manrope;
}
.faq-list p {
  color: var(--muted);
  padding: 0 45px 25px 0;
  margin: 0;
}
.contact {
  padding-top: 30px;
}
.contact-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-image {
  min-height: 650px;
}
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}
.contact-form-wrap {
  padding: 65px;
}
.contact-form-wrap h2 {
  font-size: clamp(2rem, 3.3vw, 3.6rem);
}
.contact-form-wrap > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.65);
  margin: 22px 0 32px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  padding: 9px 0 12px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #ff8865;
}
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
select option {
  color: var(--ink);
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
}
.check input {
  width: 16px;
  margin-top: 4px;
}
.check a {
  text-decoration: underline;
}
.form-status {
  display: inline;
  margin-left: 16px;
  font-size: 0.8rem;
  color: #bfe6ff;
}
footer {
  background: #0a2032;
  color: #fff;
  padding: 70px 0 25px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 55px;
}
.footer-brand img {
  width: 210px;
  filter: brightness(0) invert(1);
  margin-bottom: 25px;
}
.footer-main h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ff8865;
  margin: 0 0 20px;
}
.footer-main a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin: 8px 0;
}
.footer-main a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}
.whatsapp {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #23c863;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 960px) {
  .nav-wrap nav {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    background: var(--paper);
    display: none;
    flex-direction: column;
    padding: 25px;
    border-bottom: 1px solid var(--line);
  }
  .nav-wrap nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-wrap > .btn {
    display: none;
  }
  .hero-proof {
    width: 100%;
  }
  .split-head,
  .course-layout,
  .syllabus-wrap,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card:nth-child(2) {
    border-right: 0;
  }
  .feature-card {
    border-bottom: 1px solid var(--line);
  }
  .course-photo img {
    height: 440px;
  }
  .syllabus-intro,
  .faq-heading {
    position: static;
  }
  .team-grid {
    gap: 20px;
  }
  .team-grid .person {
    flex-basis: calc((100% - 20px) / 2);
  }
  .price-card {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-image {
    min-height: 380px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 85px 0;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, 1180px);
  }
  .nav-wrap {
    width: calc(100% - 28px);
    height: 68px;
  }
  .brand img {
    width: 158px;
  }
  .hero {
    height: auto;
    min-height: 850px;
    padding-top: 68px;
    align-items: flex-start;
  }
  .hero-content {
    padding-top: 105px;
  }
  .hero h1 {
    font-size: 3.35rem;
  }
  .hero-copy {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .hero-proof {
    grid-template-columns: 1fr 1fr;
  }
  .hero-proof div:last-child {
    display: none;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .split-head {
    gap: 30px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }
  .feature-card {
    min-height: auto;
    border-right: 0;
  }
  .feature-icon {
    margin: 35px 0 22px;
  }
  .course-band {
    padding: 70px 0;
  }
  .course-layout {
    gap: 45px;
  }
  .course-photo img {
    height: 330px;
  }
  .position-row strong {
    font-size: 2rem;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline article,
  .timeline article:nth-child(even) {
    padding: 30px 0;
    border-right: 0;
  }
  .syllabus-list summary {
    grid-template-columns: 75px 1fr;
    padding-right: 25px;
  }
  .syllabus-list summary b {
    display: none;
  }
  .syllabus-list ol {
    columns: 1;
    padding-left: 95px;
  }
  .mini-stats {
    gap: 28px;
  }
  .team-grid {
    gap: 18px;
  }
  .team-grid .person {
    flex-basis: 100%;
  }
  .person img {
    height: 350px;
  }
  .price-section {
    padding: 70px 0;
  }
  .price-box {
    padding: 28px;
  }
  .price-box strong {
    font-size: 4rem;
  }
  .faq-layout {
    gap: 40px;
  }
  .contact-card {
    width: 100%;
  }
  .contact-form-wrap {
    padding: 42px 25px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .section {
    padding: 70px 0;
  }
  h2 {
    font-size: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Visual refresh: depth, motion and interactive surfaces */
.has-js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.has-js .reveal.visible {
  opacity: 1;
  transform: none;
}
.feature-card,
.timeline article,
.person,
.faq-list details {
  transition-delay: var(--delay, 0ms);
}

.feature-grid {
  gap: 16px;
  border: 0;
  background: transparent;
}
.feature-card {
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(23, 40, 62, 0.1) !important;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(21, 48, 72, 0.06);
  isolation: isolate;
}
.feature-card:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(33, 130, 191, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  right: -68px;
  top: -68px;
  border-radius: 50%;
  border: 24px solid rgba(33, 130, 191, 0.06);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(33, 130, 191, 0.28) !important;
  box-shadow: 0 26px 60px rgba(21, 48, 72, 0.15);
}
.feature-card:hover:before {
  opacity: 1;
}
.feature-card:hover:after {
  transform: scale(1.25) rotate(20deg);
}
.feature-card.featured {
  background: linear-gradient(145deg, #123e5b, #082b43);
  border-color: transparent !important;
  box-shadow: 0 22px 50px rgba(7, 43, 67, 0.24);
}
.feature-card.featured:before {
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 115, 73, 0.34),
    transparent 60%
  );
}
.feature-card .feature-icon {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 6px rgba(33, 130, 191, 0.06);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.3s,
    color 0.3s;
}
.feature-card.featured .feature-icon {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.04);
}
.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.13);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.feature-card .num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature-card .num:after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transition: width 0.35s;
}
.feature-card:hover .num:after {
  width: 55px;
}

.course-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 40%, #175579 0, transparent 27%),
    linear-gradient(120deg, #092d45, #0d3d5b);
}
.course-band:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -250px;
  top: -260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}
.course-photo {
  --rx: 0deg;
  --ry: 0deg;
  perspective: 1100px;
  padding: 24px 0 36px 24px;
}
.photo-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.32);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.photo-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.16),
    transparent 30%,
    transparent 70%,
    rgba(1, 20, 34, 0.25)
  );
  pointer-events: none;
}
.course-photo img {
  height: 520px;
  transition:
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s;
}
.course-photo:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}
.photo-label {
  left: 0;
  bottom: 0;
  z-index: 4;
  box-shadow: 0 14px 30px rgba(237, 67, 16, 0.3);
  animation: label-float 3.2s ease-in-out infinite;
}
.floating-note {
  position: absolute;
  z-index: 4;
  right: -34px;
  top: 4px;
  min-width: 155px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  animation: note-float 4s ease-in-out infinite;
}
.floating-note span,
.floating-note strong {
  display: block;
}
.floating-note span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.floating-note strong {
  font: 800 1.25rem Manrope;
  margin-top: 2px;
}
.orbit {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.orbit:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7045;
  box-shadow: 0 0 18px #ff7045;
}
.orbit-one {
  width: 90px;
  height: 90px;
  left: -12px;
  top: -18px;
  animation: orbit-spin 8s linear infinite;
}
.orbit-one:after {
  left: 7px;
  top: 10px;
}
.orbit-two {
  width: 56px;
  height: 56px;
  right: 30px;
  bottom: 6px;
  animation: orbit-spin 6s linear infinite reverse;
}
.orbit-two:after {
  right: 2px;
  top: 16px;
}
@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes label-float {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes note-float {
  50% {
    transform: translateY(10px);
  }
}

.position-row > div {
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s,
    padding 0.3s;
}
.position-row > div:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}
.position-row > div:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 24px;
}
.position-row > div:hover:after {
  transform: scaleX(1);
}
.timeline {
  gap: 18px;
  border: 0;
}
.timeline article,
.timeline article:nth-child(even) {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.timeline article:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -75px;
  bottom: -75px;
  background: linear-gradient(
    135deg,
    rgba(33, 130, 191, 0.13),
    rgba(237, 67, 16, 0.1)
  );
  transition: transform 0.5s;
}
.timeline article:hover {
  transform: translateY(-7px);
  border-color: rgba(33, 130, 191, 0.28);
  box-shadow: 0 20px 45px rgba(19, 51, 74, 0.1);
}
.timeline article:hover:after {
  transform: scale(1.55);
}
.timeline .step {
  background: linear-gradient(145deg, #fff, #eef6fa);
  box-shadow: 0 8px 20px rgba(33, 130, 191, 0.13);
  transition:
    transform 0.45s,
    background 0.3s,
    color 0.3s;
}
.timeline article:hover .step {
  transform: rotate(12deg) scale(1.1);
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.syllabus-list details {
  transition:
    background 0.3s,
    padding 0.35s,
    border-color 0.3s;
}
.syllabus-list details:hover,
.syllabus-list details[open] {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.32);
}
.syllabus-list summary:after {
  transition: transform 0.35s;
}
.syllabus-list details[open] summary:after {
  transform: rotate(180deg);
  color: #ff8865;
}
.syllabus-list details[open] ol {
  animation: answer-in 0.45s both;
}
.person {
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}
.person:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 35%),
    rgba(89, 179, 230, 0.2),
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.person:hover {
  z-index: 2;
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(15, 41, 61, 0.18);
}
.person:hover:after {
  opacity: 1;
}
.person img {
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.45s;
}
.person:hover img {
  transform: scale(1.055);
}
.person h3:after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  margin-top: 10px;
  background: var(--orange);
  transition: width 0.4s;
}
.person:hover h3:after {
  width: 65px;
}
.price-card {
  position: relative;
}
.price-box {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}
.price-box:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: calc(var(--mx, 50%) - 165px);
  top: calc(var(--my, 50%) - 165px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 130, 191, 0.13),
    transparent 65%
  );
  pointer-events: none;
}
.price-box:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 38px 90px rgba(4, 31, 49, 0.32);
}
.faq-list details {
  position: relative;
  padding-left: 0;
  transition:
    padding 0.35s,
    background 0.35s;
}
.faq-list details:hover,
.faq-list details[open] {
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(33, 130, 191, 0.07), transparent);
}
.faq-list details[open] p {
  animation: answer-in 0.4s both;
}
@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-card {
  position: relative;
  overflow: hidden;
}
.contact-image {
  overflow: hidden;
}
.contact-image img {
  transition:
    transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.6s;
}
.contact-card:hover .contact-image img {
  transform: scale(1.055);
  filter: saturate(0.95);
}
.contact-form-wrap {
  position: relative;
}
.contact-form-wrap:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  right: -130px;
  top: -130px;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
input,
select,
textarea {
  transition:
    border-color 0.25s,
    padding 0.25s;
}
input:focus,
select:focus,
textarea:focus {
  padding-left: 9px;
}

@media (max-width: 960px) {
  .feature-grid {
    gap: 12px;
  }
  .floating-note {
    right: -10px;
  }
  .timeline {
    gap: 12px;
  }
  .timeline article,
  .timeline article:nth-child(even) {
    padding: 30px;
  }
  .course-photo {
    padding-right: 18px;
  }
}
@media (max-width: 640px) {
  .feature-card {
    min-height: auto;
  }
  .course-photo {
    padding: 12px 14px 30px 12px;
  }
  .course-photo img {
    height: 330px;
  }
  .floating-note {
    right: 0;
    top: -8px;
    min-width: 135px;
    padding: 13px 15px;
  }
  .orbit-one {
    left: -3px;
  }
  .timeline {
    gap: 12px;
  }
  .timeline article,
  .timeline article:nth-child(even) {
    padding: 26px 20px;
  }
  .syllabus-list details:hover,
  .syllabus-list details[open],
  .faq-list details:hover,
  .faq-list details[open] {
    padding-left: 10px;
  }
}

/* Trámite procesal: long-form course page with persistent enrolment */
.course-page {
  background: #f7f6f2;
}
.course-page-main {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  padding: 122px 0 110px;
}
.course-page-layout.container {
  width: 100%;
  margin: 0;
}
.course-content {
  width: 100%;
  min-width: 0;
}
.course-opening,
.course-block,
.course-copy {
  scroll-margin-top: 105px;
}
.course-opening {
  padding: 26px 0 90px;
}
.back-link.dark {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.course-opening h1 {
  max-width: 1100px;
  margin: 0 0 24px;
  font-size: clamp(3.4rem, 6vw, 6.6rem);
}
.course-opening h1 em {
  color: var(--blue);
  font-style: normal;
}
.course-lead {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.1rem;
}
.video-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 26px;
  background: var(--blue-dark);
  box-shadow: 0 30px 70px rgba(13, 49, 73, 0.18);
}
.video-placeholder:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 29, 46, 0.78));
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.video-placeholder:hover img {
  transform: scale(1.04);
}
.video-placeholder button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  cursor: default;
  transition:
    transform 0.3s,
    background 0.3s;
}
.video-placeholder:hover button {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-placeholder button svg {
  width: 32px;
  fill: currentColor;
}
.video-placeholder > span {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 22px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.course-copy {
  padding: 85px 65px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(19, 50, 72, 0.07);
}
.course-copy h2,
.course-section-head h2 {
  margin-bottom: 25px;
  font-size: clamp(2.35rem, 4vw, 4rem);
}
.course-copy p:not(.eyebrow),
.course-section-head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}
.course-copy p:last-child {
  margin-bottom: 0;
}
.course-block {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.course-section-head {
  margin-bottom: 45px;
}
.course-section-head > p:not(.eyebrow) {
  max-width: 680px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(18, 53, 78, 0.13);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  height: 185px;
}
.video-thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 30, 47, 0.45));
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.course-page .video-main {
  min-height: 0;
  background: transparent;
}
.course-page .video-main::after,
.course-page .video-thumb.has-video::after {
  display: none;
}
.course-page .video-main video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.course-page .video-thumb.has-video {
  height: auto;
  aspect-ratio: 16 / 9;
}
.course-page .video-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue-dark);
  object-fit: contain;
}
.video-card:hover .video-thumb img {
  transform: scale(1.06);
}
.play-mini {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange);
  transform: translate(-50%, -50%);
}
.video-thumb small {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(8, 34, 52, 0.75);
  color: #fff;
}
.video-card > div:last-child {
  padding: 22px;
}
.video-card > div:last-child span,
.advantage-grid article > span,
.method-panels article > span {
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.video-card h3 {
  min-height: 46px;
  margin: 8px 0 0;
  font-size: 1.05rem;
}
.corps-grid,
.method-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.corps-grid article {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(145deg, #123f5d, #082a41);
  color: #fff;
}
.corps-grid article:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -80px;
  border: 25px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.corps-grid article > span {
  display: block;
  margin-bottom: 55px;
  color: #ff9a7c;
  font-size: 0.7rem;
}
.corps-grid strong {
  font: 800 3.3rem Manrope;
}
.corps-grid small {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.55);
}
.corps-grid h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}
.corps-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}
.shared-note {
  margin: 25px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  background: #fff;
  color: var(--muted);
}
.course-syllabus-list details {
  border-top: 1px solid var(--line);
  background: transparent;
}
.course-syllabus-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.course-syllabus-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  padding: 24px 35px 24px 0;
  list-style: none;
  cursor: pointer;
  font: 700 0.95rem Manrope;
}
.course-syllabus-list summary::-webkit-details-marker {
  display: none;
}
.course-syllabus-list summary span {
  color: var(--orange);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.course-syllabus-list summary b {
  color: var(--muted);
  font: 500 0.7rem "DM Sans";
}
.course-syllabus-list summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  font-size: 1.4rem;
}
.course-syllabus-list details[open] summary:after {
  content: "−";
  color: var(--orange);
}
.course-syllabus-list ol {
  columns: 2;
  gap: 35px;
  margin: 0;
  padding: 0 20px 28px 110px;
  color: var(--muted);
  font-size: 0.82rem;
}
.course-syllabus-list li {
  break-inside: avoid;
  padding: 4px 7px;
}
.access-flex {
  padding-inline: 35px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(135deg, #0c3753, #175f8b);
  color: #fff;
}
.access-flex .eyebrow {
  color: #ff9878;
}
.access-grid,
.live-card-grid,
.review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.access-grid {
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}
.access-grid > div {
  padding: 27px 20px 27px 0;
}
.access-grid > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.access-grid span,
.access-grid strong,
.access-grid small {
  display: block;
}
.access-grid span {
  color: #ff9878;
  font-size: 0.68rem;
  text-transform: uppercase;
}
.access-grid strong {
  margin: 8px 0;
  font: 800 2rem Manrope;
}
.access-grid small {
  color: rgba(255, 255, 255, 0.55);
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.advantage-grid article,
.method-panels article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.advantage-grid h3,
.method-panels h3 {
  margin: 42px 0 12px;
  font-size: 1.16rem;
}
.advantage-grid p,
.method-panels p,
.method-panels li {
  color: var(--muted);
  font-size: 0.85rem;
}
.method-panels article:first-child {
  background: var(--blue-dark);
  color: #fff;
}
.method-panels article:first-child p,
.method-panels article:first-child li {
  color: rgba(255, 255, 255, 0.66);
}
.method-panels ul {
  padding-left: 20px;
}
.method-panels li {
  padding: 4px 0;
}
.live-card-grid {
  gap: 14px;
}
.live-card-grid article {
  padding: 30px 25px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(17, 49, 72, 0.08);
}
.live-card-grid span {
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}
.live-card-grid strong {
  display: block;
  margin: 22px 0 4px;
  font: 800 3rem Manrope;
}
.live-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.community-list {
  border-top: 1px solid var(--line);
}
.community-list article {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}
.community-list article > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
}
.community-list h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.community-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.response-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(33, 130, 191, 0.08);
}
.response-badge strong {
  color: var(--blue);
  font: 800 1.7rem Manrope;
}
.response-badge span {
  color: var(--muted);
  font-size: 0.82rem;
}
.reviews {
  padding-inline: 35px;
  border: 0;
  border-radius: 25px;
  background: var(--cream);
}
.review-stats > div {
  padding: 24px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.review-stats > div + div {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.review-stats strong,
.review-stats span {
  display: block;
}
.review-stats strong {
  font: 800 2.5rem Manrope;
  color: var(--blue);
}
.review-stats span {
  color: var(--muted);
  font-size: 0.76rem;
}
.course-faq .faq-list details {
  background: transparent;
}
.course-sidebar {
  position: fixed;
  top: 96px;
  right: clamp(16px, 2vw, 36px);
  width: min(335px, calc(100vw - 32px));
  z-index: 50;
}
.course-enrollment {
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  border: 1px solid rgba(25, 65, 93, 0.1);
  box-shadow: 0 25px 70px rgba(13, 44, 65, 0.2);
  scrollbar-width: thin;
}
.course-enrollment h2 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}
.sidebar-price {
  margin: 18px 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}
.sidebar-price strong {
  font: 800 2.5rem Manrope;
}
.sidebar-price span {
  color: var(--muted);
}
.course-enrollment ul {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.course-enrollment li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.course-enrollment li:before {
  content: none;
}
.course-enrollment li svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  padding: 3px;
  border-radius: 6px;
  background: rgba(237, 67, 16, 0.08);
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.course-enrollment li span {
  min-width: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .course-enrollment li:hover svg {
    transform: rotate(-7deg) scale(1.12);
  }
}
.course-enrollment label {
  margin-bottom: 12px;
}
.course-enrollment input,
.course-enrollment select {
  padding-block: 7px 9px;
}

@media (max-width: 1023px) {
  .course-sidebar {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
  }
  .course-page .course-enrollment {
    display: flex;
    align-items: center;
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding: 10px 12px 10px 18px;
    border-radius: 999px;
  }
  .course-enrollment::before,
  .course-enrollment .form-kicker,
  .course-enrollment h2,
  .course-enrollment ul {
    display: none;
  }
  .course-enrollment .sidebar-price {
    margin: 0;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .course-enrollment .sidebar-price strong {
    font-size: 1.25rem;
  }
  .course-enrollment .sidebar-price span {
    font-size: 0.75rem;
  }
  .course-enrollment .btn {
    gap: 9px;
    padding: 10px 14px;
    white-space: nowrap;
  }
}

@media (max-width: 1080px) {
  .course-copy {
    padding: 55px 38px;
  }
}
@media (max-width: 880px) {
  .course-page-main {
    padding-top: 100px;
  }
}
@media (max-width: 640px) {
  .course-page-main {
    width: calc(100% - 30px);
  }
  .course-opening {
    padding-bottom: 65px;
  }
  .course-opening h1 {
    font-size: 3rem;
  }
  .video-placeholder,
  .video-placeholder img {
    min-height: 330px;
  }
  .course-copy {
    padding: 38px 24px;
  }
  .course-block {
    padding: 70px 0;
  }
  .video-grid,
  .corps-grid,
  .advantage-grid,
  .method-panels {
    grid-template-columns: 1fr;
  }
  .course-syllabus-list summary {
    grid-template-columns: 72px 1fr;
  }
  .course-syllabus-list summary b {
    display: none;
  }
  .course-syllabus-list ol {
    columns: 1;
    padding-left: 88px;
  }
  .access-grid,
  .live-card-grid,
  .review-stats {
    grid-template-columns: 1fr;
  }
  .access-grid > div + div,
  .review-stats > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .review-stats > div + div {
    border-top-color: var(--line);
  }
  .community-list article {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
}

/* Method heading and icon cards */
.method-heading {
  display: block;
}
.method-link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 38px;
}
.method-link-row .text-link {
  white-space: nowrap;
}
.method-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline article:hover .method-icon svg {
  animation: method-icon-pulse 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes method-icon-pulse {
  50% {
    transform: scale(0.82);
  }
}
@media (max-width: 760px) {
  .method-link-row {
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal,
  .has-js .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .photo-label,
  .floating-note,
  .orbit {
    animation: none !important;
  }
  .feature-card,
  .photo-frame,
  .course-photo img,
  .person,
  .person img,
  .price-box,
  .contact-image img {
    transition: none !important;
  }
}

/* Home simplification and sticky enrolment */
.intro-cta {
  margin-top: 18px;
}
.footer-simple {
  grid-template-columns: 1.35fr 1.25fr 0.8fr 0.8fr;
}
.footer-contact a {
  margin-bottom: 12px;
  line-height: 1.4;
}
.footer-contact a span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-institutional {
  margin-top: 55px;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer-institutional p {
  margin: 0 auto 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.footer-institutional img {
  width: min(420px, 100%);
  margin: 0 auto;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.footer-brand .social-link {
  --social-accent: #67a9ff;
  position: relative;
  isolation: isolate;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}
.footer-brand .social-instagram {
  --social-accent: #ef76b9;
}
.footer-brand .social-tiktok {
  --social-accent: #54e3df;
}
.footer-brand .social-link svg {
  width: 23px;
  height: 23px;
  transition: transform 0.28s ease;
}
.footer-brand .social-link::after {
  content: attr(data-label);
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 5px 9px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.footer-brand .social-link:hover,
.footer-brand .social-link:focus-visible {
  transform: translateY(-6px) rotate(-4deg);
  border-color: var(--social-accent);
  background: color-mix(in srgb, var(--social-accent) 20%, #0a2032);
  box-shadow: 0 12px 25px
    color-mix(in srgb, var(--social-accent) 25%, transparent);
  color: #fff;
}
.footer-brand .social-link:hover svg,
.footer-brand .social-link:focus-visible svg {
  transform: scale(1.15) rotate(4deg);
}
.footer-brand .social-link:hover::after,
.footer-brand .social-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.footer-brand .social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand .social-link,
  .footer-brand .social-link svg,
  .footer-brand .social-link::after {
    transition: none;
  }
}
.enrollment-section {
  position: relative;
  overflow: visible;
  padding-block: clamp(70px, 7vw, 100px);
  background:
    radial-gradient(circle at 12% 18%, #288ec9 0, transparent 27%),
    linear-gradient(145deg, #0e4569, #092d45);
}
.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 110px;
  align-items: center;
}
.enrollment-copy {
  min-height: 0;
}
.enrollment-copy h2 {
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  max-width: 710px;
}
.enrollment-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}
.enrollment-copy > p strong {
  color: #fff;
}
.enrollment-benefits {
  max-width: 690px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.enrollment-benefits article {
  display: grid;
  grid-template-columns: 58px 190px 1fr;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    padding 0.3s,
    background 0.3s;
}
.enrollment-benefits article:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
}
.enrollment-benefits b {
  font: 700 0.75rem Manrope;
  color: #ff8865;
}
.enrollment-benefits h3 {
  font-size: 1.05rem;
  margin: 0;
}
.enrollment-benefits p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  margin: 0;
}
.enrollment-sticky {
  position: sticky;
  top: 105px;
  z-index: 3;
}
.enrollment-form {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  padding: 38px;
  border-radius: 24px;
  box-shadow: 0 35px 85px rgba(2, 25, 40, 0.35);
}
.enrollment-form:before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  top: -85px;
  border: 26px solid rgba(33, 130, 191, 0.07);
  border-radius: 50%;
}
.form-kicker {
  display: block;
  color: var(--orange);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.enrollment-form h3 {
  position: relative;
  font-size: 1.8rem;
  margin: 0 0 10px;
  max-width: 310px;
}
.enrollment-form > p {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 25px;
}
.enrollment-form label {
  color: var(--muted);
  margin-bottom: 15px;
}
.enrollment-form input,
.enrollment-form select,
.enrollment-form textarea {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.enrollment-form input::placeholder,
.enrollment-form textarea::placeholder {
  color: #a3aab1;
}
.enrollment-form .check {
  font-size: 0.7rem;
}
.enrollment-form .check input {
  accent-color: var(--orange);
}
.enrollment-form .form-status {
  display: block;
  margin: 10px 0 0;
  color: var(--blue);
}
.enrollment-form .form-status:empty {
  display: none;
}
.enrollment-form .form-status[data-state="error"] {
  color: #b42318;
}
.enrollment-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.enrollment-form > small {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 14px;
}

/* Preparation detail page */
.detail-hero {
  padding: 150px 0 95px;
  background:
    radial-gradient(circle at 15% 30%, #19587f, transparent 30%),
    linear-gradient(125deg, #092c44, #0d405f);
  color: #fff;
  overflow: hidden;
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.detail-hero h1 {
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  margin: 18px 0 28px;
}
.detail-hero h1 em {
  font-style: normal;
  color: #ff7045;
}
.detail-hero-grid > div:first-child > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  margin-bottom: 32px;
}
.back-link {
  display: inline-block;
  margin-bottom: 45px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.detail-hero-image {
  position: relative;
  padding: 25px;
}
.detail-hero-image:before {
  content: "";
  position: absolute;
  inset: 0 50px 50px 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: translate(-15px, 15px);
}
.detail-hero-image img {
  position: relative;
  width: 100%;
  height: 590px;
  object-fit: cover;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.32);
}
.detail-hero-image > div {
  position: absolute;
  right: -12px;
  bottom: 0;
  background: var(--orange);
  padding: 20px 25px;
  box-shadow: 0 18px 40px rgba(237, 67, 16, 0.3);
}
.detail-hero-image strong,
.detail-hero-image span {
  display: block;
}
.detail-hero-image strong {
  font: 800 1.7rem Manrope;
}
.detail-hero-image span {
  font-size: 0.68rem;
}
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.detail-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 25px 55px rgba(20, 48, 70, 0.12);
}
.detail-card:after {
  content: "";
  position: absolute;
  width: 115px;
  height: 115px;
  right: -60px;
  bottom: -60px;
  border: 20px solid rgba(33, 130, 191, 0.06);
  border-radius: 50%;
}
.detail-card span {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
}
.detail-card h3 {
  font-size: 1.35rem;
  margin: 70px 0 13px;
}
.detail-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.class-detail {
  background: var(--cream);
}
.detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.detail-photo {
  position: relative;
}
.detail-photo:after {
  content: "";
  position: absolute;
  inset: 25px -25px -25px 25px;
  border: 2px solid rgba(33, 130, 191, 0.2);
  z-index: 0;
}
.detail-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.detail-split h2 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
}
.detail-split > div:last-child > p:last-child {
  color: var(--muted);
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 38px 0;
  border-block: 1px solid var(--line);
}
.detail-facts div {
  padding: 23px 15px 23px 0;
}
.detail-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.detail-facts strong,
.detail-facts span {
  display: block;
}
.detail-facts strong {
  font: 800 1.7rem Manrope;
  color: var(--blue);
}
.detail-facts span {
  font-size: 0.7rem;
  color: var(--muted);
}
.detail-faq {
  background: #fff;
}
.detail-cta {
  text-align: center;
  padding: 105px 0;
  background: linear-gradient(125deg, #0c3652, #175b83);
  color: #fff;
}
.detail-cta h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}
.detail-cta p {
  color: rgba(255, 255, 255, 0.68);
  margin: 20px 0 30px;
}

@media (max-width: 960px) {
  .enrollment-layout,
  .detail-hero-grid,
  .detail-split {
    grid-template-columns: 1fr;
  }
  .enrollment-layout {
    gap: 55px;
  }
  .enrollment-copy {
    min-height: auto;
  }
  .enrollment-sticky {
    position: static;
  }
  .detail-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-hero-image img {
    height: 480px;
  }
  .footer-simple {
    grid-template-columns: 1fr 1fr;
  }
  .footer-simple .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .enrollment-benefits article {
    grid-template-columns: 38px 1fr;
  }
  .enrollment-benefits article p {
    grid-column: 2;
  }
  .enrollment-form {
    padding: 28px 22px;
  }
  .detail-hero {
    padding: 115px 0 70px;
  }
  .detail-hero-grid {
    gap: 45px;
  }
  .detail-hero-image {
    padding: 10px;
  }
  .detail-hero-image img {
    height: 390px;
  }
  .detail-card-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    min-height: 240px;
  }
  .detail-card h3 {
    margin-top: 48px;
  }
  .detail-photo img {
    height: 360px;
  }
  .detail-facts {
    grid-template-columns: 1fr;
  }
  .detail-facts div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .footer-simple {
    grid-template-columns: 1fr;
  }
}

/* Refined preparation cards */
.feature-card {
  --accent: #2182bf;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 25px 25px 23px;
  background: linear-gradient(145deg, #fff 35%, #f5f9fb);
  border-color: rgba(28, 70, 99, 0.12) !important;
}
.feature-card:nth-child(1) {
  --accent: #ff7045;
}
.feature-card:nth-child(2) {
  --accent: #2182bf;
}
.feature-card:nth-child(3) {
  --accent: #5769d8;
}
.feature-card:nth-child(4) {
  --accent: #159b83;
}
.feature-card.featured {
  background: linear-gradient(145deg, #123f5d, #082a41);
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.feature-card .num {
  width: auto;
  height: 27px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  opacity: 1;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.feature-card .num:after {
  display: none;
}
.feature-card.featured .num {
  color: #ff9b7d;
  border-color: rgba(255, 155, 125, 0.35);
  background: rgba(255, 112, 69, 0.1);
}
.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  margin: 0;
  border: 0;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: var(--accent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 8px 20px color-mix(in srgb, var(--accent) 12%, transparent);
}
.feature-card.featured .feature-icon {
  color: #ff9b7d;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.18);
}
.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card:first-child .feature-icon svg path:first-child {
  fill: currentColor;
  stroke: none;
}
.feature-content {
  margin-top: 8px;
}
.feature-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.feature-card.featured .feature-label {
  color: #ff9b7d;
}
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.feature-card p {
  max-width: 245px;
}
.feature-arrow {
  position: absolute;
  right: 25px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.82rem;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.3s;
}
.feature-card.featured .feature-arrow {
  color: #ff9b7d;
}
.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: none;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.feature-card:hover .feature-icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.feature-card:after {
  border-color: color-mix(in srgb, var(--accent) 9%, transparent);
}

/* Trámite Procesal: iconos y superficies animadas */
.course-page .course-card-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 130, 191, 0.16);
  border-radius: 15px;
  background: #eaf4fb;
  color: #1679b3;
  transition: transform 0.35s ease, background-color 0.35s ease;
}
.course-page .course-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.course-page .course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.course-page .course-card-index {
  color: #9aaeba;
  font: 800 0.72rem Manrope, sans-serif;
  letter-spacing: 0.12em;
}
.course-page .advantage-grid h3,
.course-page .method-panels h3 {
  margin-top: 28px;
}
.course-page .method-panels article:first-child .course-card-icon,
.course-page .corps-grid .course-card-icon,
.course-page .access-grid .course-card-icon {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #ffae93;
}
.course-page .method-panels article:first-child .course-card-index {
  color: rgba(255, 255, 255, 0.62);
}
.course-page .corps-grid article > .course-card-icon {
  margin-bottom: 24px;
}
.course-page .access-grid > div > .course-card-icon {
  margin-bottom: 18px;
}
.course-page .live-card-grid article > .course-card-icon {
  margin-bottom: 20px;
}
.course-page .live-card-grid strong {
  margin-top: 13px;
}
.course-page .community-list article > .course-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(33, 130, 191, 0.16);
  border-radius: 15px;
  background: #eaf4fb;
  color: #1679b3;
}
.course-page .response-badge .course-card-icon {
  color: #1679b3;
}
.course-page .review-stats .course-card-icon {
  margin-bottom: 15px;
}
.course-page .access-grid > div,
.course-page .corps-grid article,
.course-page .advantage-grid article,
.course-page .method-panels article,
.course-page .live-card-grid article,
.course-page .community-list article,
.course-page .review-stats > div {
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}
.course-page .visible .course-card-icon {
  animation: course-icon-enter 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.course-page .access-grid > div:nth-child(2) .course-card-icon,
.course-page .corps-grid article:nth-child(2) .course-card-icon,
.course-page .live-card-grid article:nth-child(2) .course-card-icon,
.course-page .review-stats > div:nth-child(2) .course-card-icon {
  animation-delay: 100ms;
}
.course-page .access-grid > div:nth-child(3) .course-card-icon,
.course-page .live-card-grid article:nth-child(3) .course-card-icon,
.course-page .review-stats > div:nth-child(3) .course-card-icon {
  animation-delay: 200ms;
}
@keyframes course-icon-enter {
  from {
    opacity: 0;
    transform: translateY(13px) scale(0.75) rotate(-9deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .course-page .corps-grid article:hover,
  .course-page .advantage-grid article:hover,
  .course-page .method-panels article:hover,
  .course-page .live-card-grid article:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(15, 48, 72, 0.14);
  }
  .course-page .advantage-grid article:hover,
  .course-page .method-panels article:hover {
    border-color: rgba(33, 130, 191, 0.36);
  }
  .course-page .access-grid > div:hover,
  .course-page .review-stats > div:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
  }
  .course-page .community-list article:hover {
    transform: translateX(7px);
  }
  .course-page .corps-grid article:hover .course-card-icon,
  .course-page .access-grid > div:hover .course-card-icon,
  .course-page .advantage-grid article:hover .course-card-icon,
  .course-page .method-panels article:hover .course-card-icon,
  .course-page .live-card-grid article:hover .course-card-icon,
  .course-page .community-list article:hover .course-card-icon,
  .course-page .review-stats > div:hover .course-card-icon {
    transform: translateY(-3px) rotate(-6deg) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-page .course-card-icon {
    animation: none !important;
    transition: none;
  }
  .course-page .access-grid > div,
  .course-page .corps-grid article,
  .course-page .advantage-grid article,
  .course-page .method-panels article,
  .course-page .live-card-grid article,
  .course-page .community-list article,
  .course-page .review-stats > div {
    transition: none;
  }
}
@media (max-width: 960px) {
  .feature-card {
    min-height: 300px;
  }
  .feature-card p {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .feature-card {
    min-height: 280px;
  }
  .feature-top {
    margin-bottom: 22px;
  }
  .feature-arrow {
    opacity: 1;
    transform: none;
  }
}

/* Acceso flexible: tarjetas legibles y con aire en tablet y móvil */
@media (max-width: 960px) {
  .course-page .access-flex {
    padding: 48px clamp(20px, 5vw, 42px) 52px;
  }

  .course-page .access-flex .course-section-head {
    margin-bottom: 28px;
  }

  .course-page .access-grid {
    gap: 12px;
    border: 0;
  }

  .course-page .access-grid > div,
  .course-page .access-grid > div + div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon detail";
    column-gap: 16px;
    align-content: center;
    min-height: 112px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.055);
  }

  .course-page .access-grid > div > .course-card-icon {
    grid-area: icon;
    align-self: center;
    margin: 0;
  }

  .course-page .access-grid > div > span:not(.course-card-icon) {
    grid-area: label;
    line-height: 1.3;
  }

  .course-page .access-grid strong {
    grid-area: value;
    margin: 3px 0 0;
    line-height: 1.25;
  }

  .course-page .access-grid small {
    grid-area: detail;
    color: rgba(255, 255, 255, 0.78);
  }
}

@media (max-width: 380px) {
  .course-page .access-grid > div,
  .course-page .access-grid > div + div {
    column-gap: 12px;
    padding-inline: 15px;
  }
}

/* Clases en directo: estadísticas compactas en pantallas pequeñas */
@media (max-width: 960px) {
  .course-page .live-weekly .course-section-head {
    margin-bottom: 26px;
  }

  .course-page .live-card-grid {
    gap: 12px;
  }

  .course-page .live-card-grid article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon detail";
    column-gap: 16px;
    align-content: center;
    min-height: 116px;
    padding: 18px 22px;
    border: 1px solid rgba(23, 40, 62, 0.06);
    border-radius: 18px;
  }

  .course-page .live-card-grid article > .course-card-icon {
    grid-area: icon;
    align-self: center;
    margin: 0;
  }

  .course-page .live-card-grid article > span:not(.course-card-icon) {
    grid-area: label;
    line-height: 1.3;
  }

  .course-page .live-card-grid strong {
    grid-area: value;
    margin: 3px 0 0;
    font-size: 2rem;
    line-height: 1.15;
  }

  .course-page .live-card-grid p {
    grid-area: detail;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .course-page .live-weekly .course-section-head h2 {
    font-size: clamp(2rem, 8vw, 2.35rem);
  }
}

@media (max-width: 380px) {
  .course-page .live-card-grid article {
    column-gap: 12px;
    padding-inline: 15px;
  }
}

/* Floating enrollment: keep the price and subscription accessible on small viewports. */
.course-page .course-enrollment {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
}
.enrollment-heading { order: 0; }
.course-enrollment .sidebar-price { order: 1; }
.course-enrollment ul { order: 2; }
.course-enrollment .btn { order: 3; align-self: flex-start; }
.enrollment-toggle { display: none; }

/* Desde tablet horizontal, el contenido deja espacio al panel completo. */
@media (min-width: 1024px) {
  .course-page-main {
    width: min(1320px, calc(100% - 430px));
    margin-left: max(24px, calc(50% - 860px));
    margin-right: auto;
  }
}

/* Por debajo de 1024 px, el panel pasa a la versión compacta. */
@media (max-width: 1023px) {
  .course-sidebar {
    top: auto;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(335px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }
  .course-page .course-enrollment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 8px;
    padding: 16px;
    border-radius: 20px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
  }
  .course-enrollment::before { display: none; }
  .has-js .course-enrollment:not(.is-expanded) .enrollment-heading,
  .has-js .course-enrollment:not(.is-expanded) ul { display: none; }
  .course-enrollment .enrollment-heading,
  .course-enrollment ul { grid-column: 1 / -1; }
  .course-enrollment .form-kicker,
  .course-enrollment h2,
  .course-enrollment ul { display: block; }
  .course-enrollment .sidebar-price {
    order: 0;
    margin: 0;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .course-enrollment .sidebar-price strong { font-size: 1.5rem; }
  .course-enrollment .sidebar-price span { font-size: .75rem; }
  .course-enrollment .btn {
    order: 1;
    padding: 10px 14px;
    gap: 9px;
    white-space: nowrap;
  }
  .has-js .enrollment-toggle {
    display: flex;
    grid-column: 1 / -1;
    order: 2;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
  }
  .enrollment-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
  .course-enrollment .enrollment-heading { order: 3; }
  .course-enrollment ul { order: 4; margin: 0; }
}
