/*
 * ORYSIS AI Academy — unión visual entre Group y Agency.
 * Paleta neutral: negro, grafito, blanco, oro, ámbar y bronce.
 */
:root {
  --academy-gold: #d4af37;
  --academy-amber: #b9852b;
  --academy-bronze: #6d4b25;
  --academy-graphite: #101010;
}

body {
  background: #050505;
}

html,
body {
  overflow-x: clip;
}

.site-header {
  background: rgb(5 5 5 / 58%);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(212 175 55 / 62%), rgb(185 133 43 / 42%), transparent);
}

.academy-progress {
  position: fixed;
  z-index: 55;
  top: 80px;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
}

.academy-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--academy-gold), #f0d889, var(--academy-amber));
  box-shadow: 0 0 16px rgb(212 175 55 / 50%);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header nav a {
  position: relative;
  transition: color .2s ease;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -.7rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--academy-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.site-header nav a.is-current,
.site-header nav a[aria-current="location"] {
  color: var(--academy-gold);
}

.site-header nav a.is-current::after,
.site-header nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.academy-brand b {
  color: var(--academy-gold);
}

.academy-brand .brand-divider {
  background: linear-gradient(var(--academy-gold), var(--academy-bronze));
}

.academy-hero {
  background:
    linear-gradient(90deg, #050505 0%, rgb(5 5 5 / 97%) 33%, rgb(5 5 5 / 58%) 58%, rgb(5 5 5 / 22%) 100%),
    linear-gradient(0deg, rgb(5 5 5 / 62%) 0%, transparent 38%),
    url("../assets/orysis-academy-education-hero-2026.png") center / cover no-repeat;
}

.academy-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 54%, rgb(212 175 55 / 7%) 54.1%, transparent 54.25%),
    linear-gradient(30deg, transparent 70%, rgb(244 242 236 / 3.5%) 70.1%, transparent 70.2%);
  pointer-events: none;
}

.academy-hero h1 {
  max-width: 940px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .9;
}

.academy-hero h1 em {
  background: linear-gradient(100deg, #f4f2ec 0%, #f4f2ec 18%, var(--academy-gold) 55%, #e0bd62 100%);
  background-clip: text;
  color: transparent;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  -webkit-background-clip: text;
}

.academy-hero .button.primary,
.academy-form .button.primary {
  border-color: #f4f2ec;
  background: #f4f2ec;
  color: #080808;
}

.academy-hero .button.primary:hover,
.academy-form .button.primary:hover {
  border-color: var(--academy-gold);
  background: var(--academy-gold);
}

.academy-hero-panel {
  position: absolute;
  right: clamp(1.2rem, 6vw, 7.5rem);
  bottom: 5.5rem;
  width: min(410px, calc(100% - 2.4rem));
  border-color: rgb(244 242 236 / 18%);
  background: rgb(9 9 9 / 78%);
  box-shadow: 0 24px 90px rgb(0 0 0 / 45%);
}

.academy-hero-panel > p {
  margin: 0;
  padding: 1.25rem 1.35rem .35rem;
  color: var(--academy-gold);
  font-size: .56rem;
  letter-spacing: .18em;
}

.academy-hero-panel > strong {
  display: block;
  padding: 0 1.35rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: #f4f2ec;
  font-size: .78rem;
  font-weight: 600;
}

.academy-hero-panel dl {
  grid-template-columns: repeat(4, 1fr);
}

.academy-hero-panel dl div {
  padding: 1rem .8rem;
}

.academy-hero-panel dt {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
}

.academy-hero-panel dd {
  font-size: .46rem;
}

.academy-orbit {
  border-color: rgb(212 175 55 / 14%);
  box-shadow: 0 0 110px rgb(212 175 55 / 7%), inset 0 0 80px rgb(109 75 37 / 6%);
}

.hero-tags li:nth-child(3n + 1) { border-color: rgb(212 175 55 / 34%); }
.hero-tags li:nth-child(3n + 2) { border-color: rgb(185 133 43 / 28%); }
.hero-tags li:nth-child(3n) { border-color: rgb(109 75 37 / 42%); }

.section-heading h2,
.academy-statement h2,
.program-card h3,
.route-grid strong,
.role-matrix h3,
.format-grid h3,
.incompany h2,
.incompany-steps h3,
.assessment-grid h3,
.pilots-heading h2,
.pilot-grid h3,
.roadmap h3,
.roadmap strong,
.academy-contact h2,
.academy-form h3 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.045em;
}

.section-index {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.section-index::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.academy-statement,
.routes {
  background:
    linear-gradient(115deg, rgb(212 175 55 / 3.5%), transparent 32%),
    #0d0d0d;
  color: #f4f2ec;
}

.academy-statement .section-index,
.routes .section-index,
.route-grid span,
tbody th {
  color: var(--academy-gold);
}

.academy-statement .statement-grid > div,
.routes .section-copy,
.route-grid small,
.matrix-key {
  color: #aaa7a0;
}

.route-grid {
  border-color: rgb(244 242 236 / 14%);
}

.route-grid article {
  position: relative;
  border-color: rgb(244 242 236 / 14%);
  background: linear-gradient(145deg, rgb(255 255 255 / 2.8%), transparent);
  transition: background .25s ease, border-color .25s ease;
}

.route-grid article::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  color: rgb(212 175 55 / 58%);
  content: "↘";
  font-size: 1rem;
}

.route-grid article:hover {
  border-color: rgb(212 175 55 / 42%);
  background: linear-gradient(145deg, rgb(212 175 55 / 8%), transparent 70%);
}

.table-scroll {
  border-color: rgb(244 242 236 / 14%);
}

th,
td {
  border-color: rgb(244 242 236 / 10%);
}

thead th {
  background: #f1eee7;
  color: #11100e;
}

tbody tr:hover {
  background: rgb(212 175 55 / 4%);
}

.learning-system,
.incompany,
.pilots {
  background:
    radial-gradient(circle at 88% 14%, rgb(212 175 55 / 7%), transparent 28%),
    radial-gradient(circle at 10% 88%, rgb(109 75 37 / 8%), transparent 24%),
    #0b0b0b;
}

.program-card {
  transition: background .25s, border-color .25s;
}

.program-card:hover {
  border-color: rgb(212 175 55 / 42%);
  background:
    radial-gradient(circle at 100% 0, rgb(212 175 55 / 7%), transparent 34%),
    linear-gradient(145deg, rgb(255 255 255 / 4.5%), transparent);
}

.program-card:nth-child(odd) {
  background-color: rgb(255 255 255 / 1.2%);
}

.program-card h3 {
  font-size: clamp(2rem, 3.2vw, 3.9rem);
  line-height: .98;
}

.format-grid article,
.assessment-grid article,
.pilot-grid article {
  position: relative;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease;
}

.format-grid article::before,
.assessment-grid article::before,
.pilot-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--academy-gold));
}

.format-grid article:hover,
.assessment-grid article:hover,
.pilot-grid article:hover {
  border-color: rgb(212 175 55 / 40%);
  background: rgb(212 175 55 / 4%);
}

.academy-form {
  position: relative;
  background:
    linear-gradient(135deg, rgb(212 175 55 / 5%), transparent 42%),
    rgb(255 255 255 / 2%);
  box-shadow: 0 30px 100px rgb(0 0 0 / 34%);
}

.academy-form::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--academy-gold), transparent);
}

.academy-contact-panel {
  align-items: end;
}

.contact-brief-copy {
  max-width: 760px;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-brief-copy strong {
  color: var(--academy-gold);
  font-size: .64rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-brief-copy p,
.contact-brief-note {
  color: #8c887f;
}

.contact-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact-brief-note {
  margin: 0;
  font-size: .72rem;
}

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

.academy-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.program-filters button:hover,
.program-filters button.is-active {
  border-color: #f4f2ec;
  background: #f4f2ec;
  color: #080808;
}

@media (prefers-reduced-motion: reduce) {
  .program-card { transition: none; }
}

@media (max-width: 1100px) {
  .academy-hero {
    display: block;
    min-height: 100svh;
  }

  .academy-hero-copy {
    max-width: 760px;
  }

  .academy-hero-panel {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(640px, 100%);
    margin-top: 3rem;
  }
}

/* Academy 2026.1 — educación financiera / sistema naranja */
:root {
  --gold: #ff7a1a;
  --academy-gold: #ff7a1a;
  --academy-amber: #ff9a3d;
  --academy-bronze: #a93f12;
  --academy-orange-soft: #ffb76f;
  --line: rgb(255 122 26 / 24%);
}

.site-header::after {
  background: linear-gradient(90deg, transparent, rgb(255 122 26 / 88%), rgb(255 178 102 / 44%), transparent);
}

.academy-progress i {
  background: linear-gradient(90deg, #ff5c00, #ff9a3d, #ffd0a3);
  box-shadow: 0 0 18px rgb(255 122 26 / 55%);
}

.academy-hero {
  background:
    linear-gradient(90deg, #050505 0%, rgb(5 5 5 / 97%) 34%, rgb(5 5 5 / 68%) 61%, rgb(5 5 5 / 30%) 100%),
    radial-gradient(circle at 78% 28%, rgb(255 122 26 / 22%), transparent 32%),
    linear-gradient(0deg, rgb(5 5 5 / 72%) 0%, transparent 42%),
    url("../assets/orysis-academy-education-hero-2026.png") center / cover no-repeat;
}

.academy-hero::before {
  background:
    linear-gradient(120deg, transparent 54%, rgb(255 122 26 / 13%) 54.1%, transparent 54.28%),
    linear-gradient(30deg, transparent 70%, rgb(255 244 235 / 4%) 70.1%, transparent 70.2%);
}

.academy-hero h1 em {
  background: linear-gradient(100deg, #fff7f0 0%, #fff7f0 16%, #ff7a1a 56%, #ffb76f 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.academy-hero .button.primary,
.academy-form .button.primary,
.program-card .button.primary {
  border-color: #ff7a1a;
  background: #ff7a1a;
  color: #120903;
}

.academy-hero .button.primary:hover,
.academy-form .button.primary:hover,
.program-card .button.primary:hover {
  border-color: #ffad66;
  background: #ffad66;
}

.academy-orbit {
  border-color: rgb(255 122 26 / 22%);
  box-shadow: 0 0 120px rgb(255 122 26 / 10%), inset 0 0 90px rgb(169 63 18 / 8%);
}

.academy-statement,
.routes {
  background:
    linear-gradient(115deg, rgb(255 122 26 / 6%), transparent 34%),
    #0d0d0d;
}

.learning-system,
.incompany,
.pilots {
  background:
    radial-gradient(circle at 88% 14%, rgb(255 122 26 / 10%), transparent 28%),
    radial-gradient(circle at 10% 88%, rgb(169 63 18 / 10%), transparent 24%),
    #0b0b0b;
}

/* Tarjetas compactas: lectura rápida, jerarquía clara y CTA visible. */
.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  border: 0;
  background: transparent;
}

.program-card {
  min-height: 350px;
  padding: 1.35rem;
  border: 1px solid rgb(255 122 26 / 24%);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgb(255 122 26 / 7%), transparent 44%),
    #0b0b0b;
  box-shadow: 0 14px 36px rgb(0 0 0 / 18%);
}

.program-card:nth-child(odd) {
  background:
    linear-gradient(145deg, rgb(255 122 26 / 9%), transparent 44%),
    #0a0a0a;
}

.program-card:hover {
  border-color: rgb(255 122 26 / 65%);
  background:
    radial-gradient(circle at 100% 0, rgb(255 122 26 / 13%), transparent 34%),
    #0d0d0d;
  transform: translateY(-2px);
}

.program-meta {
  gap: .65rem;
  color: #ff9a3d;
  font-size: .56rem;
}

.program-card h3 {
  margin: 1.35rem 0 .8rem;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.04;
}

.program-card > p {
  margin-bottom: .8rem;
  color: #cbc5bc;
  font-size: .9rem;
  line-height: 1.48;
}

.program-card > ul {
  margin: .4rem 0 1rem;
  color: #99938a;
  font-size: .72rem;
}

.program-card .program-actions {
  margin-top: auto;
}

.program-card .program-actions .button {
  width: 100%;
  justify-content: space-between;
  padding: .72rem .85rem;
}

.program-card details {
  margin-top: .8rem;
}

.program-card summary {
  padding: .8rem 0 .15rem;
  color: #ff9a3d;
  font-size: .58rem;
}

.route-grid,
.format-grid,
.pilot-grid,
.assessment-grid {
  gap: .75rem;
  border: 0;
}

.route-grid article,
.format-grid article,
.pilot-grid article,
.assessment-grid article {
  min-height: 180px;
  border: 1px solid rgb(255 122 26 / 20%);
  border-radius: 12px;
  background: linear-gradient(145deg, rgb(255 122 26 / 5%), #0b0b0b 62%);
}

@media (max-width: 1180px) {
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .program-grid { grid-template-columns: 1fr; gap: .7rem; }
  .program-card { min-height: 0; padding: 1.15rem; border-radius: 12px; }
  .program-card h3 { margin-top: 1.1rem; font-size: 1.55rem; }
}

@media (max-width: 680px) {
  .academy-progress { top: 69px; }

  .site-header nav a::after {
    right: auto;
    bottom: .7rem;
    width: 42px;
  }

  .academy-hero {
    background:
      linear-gradient(180deg, rgb(5 5 5 / 62%) 0%, rgb(5 5 5 / 90%) 48%, #050505 80%),
      linear-gradient(90deg, rgb(5 5 5 / 88%), transparent),
      url("../assets/orysis-academy-education-hero-2026.png") 68% center / cover no-repeat;
  }

  .academy-hero-panel dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Variante clara: blanco cálido, tinta oscura y naranja educativo. */
body {
  background: #f6f3ed;
  color: #17130f;
}

.site-header {
  background: rgb(8 7 6 / 94%);
  color: #fffaf4;
}

.academy-hero {
  color: #fffaf4;
}

.academy-statement,
.learning-system,
.programs,
.routes,
.incompany,
.pilots,
.academy-contact {
  background:
    radial-gradient(circle at 88% 10%, rgb(255 122 26 / 9%), transparent 26%),
    #f6f3ed;
  color: #17130f;
}

.learning-system + .programs,
.routes,
.pilots {
  background-color: #efe9df;
}

.academy-statement .statement-grid > div,
.academy-intro,
.section-copy,
.routes .section-copy,
.route-grid small,
.matrix-key,
.format-grid p,
.pilot-grid p,
.assessment-grid p,
.incompany-copy > p:last-child,
.pilots-heading > p:last-child,
.academy-contact > p:not(.section-index):not(.training-disclaimer) {
  color: #5f574e;
}

.program-filters button {
  border-color: rgb(23 19 15 / 18%);
  color: #4f473f;
}

.program-filters button:hover,
.program-filters button.is-active {
  border-color: #17130f;
  background: #17130f;
  color: #fffaf4;
}

.program-card,
.program-card:nth-child(odd) {
  border-color: rgb(255 122 26 / 30%);
  background:
    linear-gradient(145deg, rgb(255 122 26 / 7%), transparent 44%),
    #fff;
  box-shadow: 0 14px 34px rgb(62 40 20 / 9%);
}

.program-card:hover {
  border-color: rgb(255 122 26 / 70%);
  background:
    radial-gradient(circle at 100% 0, rgb(255 122 26 / 13%), transparent 35%),
    #fff;
}

.program-card > p,
.program-card > ul,
.program-detail p {
  color: #625950;
}

.program-detail h4 {
  color: #2b241e;
}

.program-card details,
.learning-path,
.incompany-steps,
.roadmap ol {
  border-color: rgb(23 19 15 / 16%);
}

.learning-path li,
.incompany-steps li,
.roadmap li {
  border-color: rgb(23 19 15 / 14%);
}

.learning-path small,
.roadmap small,
.pilot-grid ul {
  color: #665d54;
}

.route-grid article,
.format-grid article,
.pilot-grid article,
.assessment-grid article {
  border-color: rgb(255 122 26 / 24%);
  background: linear-gradient(145deg, rgb(255 122 26 / 6%), #fff 64%);
  box-shadow: 0 12px 30px rgb(62 40 20 / 7%);
}

.route-grid article:hover,
.format-grid article:hover,
.assessment-grid article:hover,
.pilot-grid article:hover {
  border-color: rgb(255 122 26 / 58%);
  background: #fff;
}

.table-scroll {
  border-color: rgb(23 19 15 / 15%);
  background: #fff;
}

th,
td {
  border-color: rgb(23 19 15 / 11%);
}

thead th {
  background: #17130f;
  color: #fffaf4;
}

.legal-note,
.training-disclaimer {
  background: rgb(255 122 26 / 8%);
  color: #514940;
}

.academy-form {
  border-color: rgb(255 122 26 / 28%);
  background: #fff;
  box-shadow: 0 24px 70px rgb(62 40 20 / 10%);
}

.academy-form label {
  color: #29221c;
}

.academy-form input,
.academy-form select,
.academy-form textarea {
  border-color: rgb(23 19 15 / 20%);
  background: #fffdf9;
  color: #17130f;
}

.contact-brief-copy {
  border-color: rgb(23 19 15 / 15%);
}

.contact-brief-copy p,
.contact-brief-note,
.academy-form .form-actions p,
.academy-form .form-status {
  color: #665d54;
}

footer {
  border-color: rgb(23 19 15 / 14%);
  background: #17130f;
  color: #aaa097;
}

footer .footer-brand {
  color: #fffaf4;
}
