:root {
  --yellow: #ffdd00;
  --red: #e30613;
  --black: #111313;
  --panel: rgba(17, 19, 19, 0.94);
  --gray: #c6c6c6;
  --font-display: "Fixture", "Impact", "Arial Black", sans-serif;
  --font-body: "Fixture", "Arial", sans-serif;
}

@font-face {
  font-family: "Fixture";
  src: url("/assets/fonts/Fixture-Regular.woff2") format("woff2"), url("/assets/fonts/Fixture-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fixture";
  src: url("/assets/fonts/Fixture-Medium.woff2") format("woff2"), url("/assets/fonts/Fixture-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Fixture";
  src: url("/assets/fonts/Fixture-ExtraBold.woff2") format("woff2"), url("/assets/fonts/Fixture-ExtraBold.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
}

button,
input {
  font: inherit;
}

.fair-sign-link,
.fair-sign-static {
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
}

.fair-sign-link {
  cursor: pointer;
}

.fair-sign-link img,
.fair-sign-static img {
  width: 100%;
  height: auto;
  display: block;
}

.fair-sign-link:hover {
  filter: drop-shadow(0 18px 20px rgba(255, 221, 0, 0.16)) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.34));
}

.screen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(135deg, #181a1a, #080909 58%, #111313);
}

.login-screen {
  display: grid;
  grid-template-columns: 312px 336px 1fr;
  background: var(--black);
}

.login-map-bg {
  position: absolute;
  inset: 0 0 0 420px;
  width: calc(100% - 420px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transition:
    inset 900ms cubic-bezier(0.22, 1, 0.36, 1),
    width 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 600ms ease,
    filter 900ms ease;
}

.login-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 19, 19, 0) 0 42%, rgba(17, 19, 19, 0.18), rgba(17, 19, 19, 0.68) 100%);
  pointer-events: none;
}

.login-logo-rail {
  z-index: 1;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 36px 68px;
  background-image: url("/assets/backgrounds/fondo-logos-login.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 820ms cubic-bezier(0.76, 0, 0.24, 1), opacity 520ms ease;
}

.login-fair-sign {
  width: 201px;
  height: auto;
  animation: signSwing 5.6s ease-in-out infinite;
  transform-origin: 50% 0;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.34));
}

.login-partners {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.login-partners img:first-child {
  width: 145px;
  height: 145px;
}

.login-partners img:nth-child(2),
.login-partners img:nth-child(3) {
  width: 120px;
  height: auto;
  display: block;
}

.login-panel {
  z-index: 1;
  width: 336px;
  min-height: 100vh;
  align-self: stretch;
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 24px 40px;
  background-image: url("/assets/backgrounds/fondo-form-login.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 820ms cubic-bezier(0.76, 0, 0.24, 1), opacity 520ms ease;
}

.login-loader {
  position: absolute;
  z-index: 3;
  inset: auto 0 64px;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease 720ms;
}

.login-loader span {
  width: min(240px, 46vw);
  height: 4px;
  overflow: hidden;
  background: rgba(255, 221, 0, 0.25);
}

.login-loader span::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--yellow);
  animation: loaderSlide 950ms ease-in-out infinite;
}

.login-exiting .login-logo-rail,
.login-exiting .login-panel {
  transform: translateX(-108%);
  opacity: 0;
}

.login-exiting .login-map-bg {
  inset: 0;
  width: 100%;
  opacity: 1;
  filter: brightness(0.82);
}

.login-exiting .login-loader {
  opacity: 1;
}

.brand-card {
  width: 166px;
  min-height: 220px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #000;
  padding: 20px 14px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.98;
  text-transform: uppercase;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.34);
}

.brand-card.small {
  width: 92px;
  min-height: 128px;
  font-size: 16px;
}

h1,
h2,
h3,
.tag,
.btn,
.hotspot,
.offcanvas header strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-panel h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 0.94;
  max-width: 246px;
}

.login-panel h1 span,
.offcanvas h2,
.evaluation-box strong,
.admin-content h1 {
  color: var(--yellow);
}

label {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

input[type="text"],
input[name="dni"],
#dni {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  background: rgba(80, 80, 80, 0.75);
  color: #fff;
  padding: 0 16px;
  font-size: 20px;
}

.field-error {
  min-height: 20px;
  margin: -8px 0 0;
  color: #ff7171;
  font-weight: 700;
}

.btn {
  min-height: 48px;
  border: 0;
  padding: 12px 28px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
}

.btn-yellow {
  background: var(--yellow);
  color: #000;
}

.btn-disabled,
.btn:disabled {
  background: #777;
  color: #bbb;
  cursor: not-allowed;
}

.btn-outline {
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
}

.map-screen {
  min-height: 100vh;
  background: #060707;
  animation: mapReveal 820ms ease both;
}

.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: default;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0.26);
  transition: opacity 420ms ease;
  pointer-events: none;
}

.map-focus-conectividad .map-overlay,
.map-focus-integrales .map-overlay,
.map-focus-obras .map-overlay {
  opacity: 1;
  pointer-events: auto;
}

.top-actions {
  position: fixed;
  top: 28px;
  right: 44px;
  z-index: 6;
  display: flex;
  gap: 18px;
}

.tag {
  min-width: 136px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  background: var(--yellow);
  color: #000;
  clip-path: polygon(0 0, 88% 0, 100% 24%, 100% 100%, 12% 100%, 0 76%);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tag img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.tag-icon {
  width: 22px;
  height: 22px;
}

.profile-tag img {
  width: 33px;
  height: 33px;
}

.admin-tag {
  min-width: 168px;
}

.tag.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.map-sign {
  position: absolute;
  z-index: 4;
  left: clamp(30px, 4.6vw, 72px);
  top: 0;
  width: clamp(96px, 9vw, 140px);
  height: auto;
  animation: signSwing 6s ease-in-out infinite;
  transform-origin: 50% 0;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.38));
}

.floating-map {
  --float-x: -50%;
  --float-y: -50%;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 53%;
  width: min(86vw, 1310px);
  aspect-ratio: 1310 / 771;
  transform: translate(var(--float-x), var(--float-y));
  animation: icebergFloat 7.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.5));
  transition:
    left 560ms cubic-bezier(0.22, 1, 0.36, 1),
    top 560ms cubic-bezier(0.22, 1, 0.36, 1),
    width 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.map-focus-conectividad .floating-map {
  left: 50%;
  top: 78%;
  width: min(132vw, 1900px);
  z-index: 3;
}

.map-focus-integrales .floating-map {
  left: 24%;
  top: 88%;
  width: min(132vw, 1900px);
  z-index: 3;
}

.map-focus-obras .floating-map {
  left: -1%;
  top: 76%;
  width: min(132vw, 1900px);
  z-index: 3;
}

.map-focus-conectividad .map-island,
.map-focus-integrales .map-island,
.map-focus-obras .map-island,
.map-focus-conectividad .map-character,
.map-focus-integrales .map-character,
.map-focus-obras .map-character,
.map-focus-conectividad .map-zone-layer,
.map-focus-integrales .map-zone-layer,
.map-focus-obras .map-zone-layer {
  filter: brightness(0.46);
}

.map-focus-conectividad .layer-connect,
.map-focus-integrales .layer-solutions,
.map-focus-obras .layer-works {
  filter: brightness(0.95) drop-shadow(0 0 18px rgba(255, 221, 0, 0.65));
}

.map-focus-conectividad .zone-connect,
.map-focus-integrales .zone-solutions,
.map-focus-obras .zone-works {
  filter: drop-shadow(0 0 24px rgba(255, 221, 0, 0.78));
  transform: translateY(-5px) scale(1.04);
}

.map-island {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.map-character {
  position: absolute;
  z-index: 3;
  left: 48%;
  top: 63%;
  width: 1.8%;
  height: auto;
  display: block;
  pointer-events: none;
  transition: filter 180ms ease;
}

.map-zone-layer {
  position: absolute;
  z-index: 4;
  border: 0;
  padding: 0;
  background: transparent;
  height: auto;
  opacity: 0.95;
  transform: translateZ(0);
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.map-zone-layer img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.layer-connect {
  left: 30.6%;
  top: 7.5%;
  width: 8.9%;
}

.layer-solutions {
  left: 47.9%;
  top: 3%;
  width: 13.3%;
}

.layer-works {
  left: 68.2%;
  top: 22.5%;
  width: 10.8%;
}

.floating-map:has(.zone-connect:hover) .layer-connect,
.floating-map:has(.zone-solutions:hover) .layer-solutions,
.floating-map:has(.zone-works:hover) .layer-works,
.layer-connect:hover,
.layer-connect:focus-visible,
.layer-solutions:hover,
.layer-solutions:focus-visible,
.layer-works:hover,
.layer-works:focus-visible {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(255, 221, 0, 0.65));
  transform: translateY(-4px);
}

.hotspot {
  position: absolute;
  z-index: 5;
  cursor: pointer;
}

.image-hotspot {
  border: 0;
  background: transparent;
  padding: 0;
  width: 16%;
  min-width: 0;
  filter: drop-shadow(0 0 14px rgba(255, 221, 0, 0.28));
  transition: transform 180ms ease, filter 180ms ease;
  animation: hotspotPulse 2.8s ease-in-out infinite;
}

.map-focus-conectividad .image-hotspot,
.map-focus-integrales .image-hotspot,
.map-focus-obras .image-hotspot {
  opacity: 0.42;
}

.map-focus-conectividad .zone-connect,
.map-focus-integrales .zone-solutions,
.map-focus-obras .zone-works {
  opacity: 1;
}

.image-hotspot:hover,
.image-hotspot:focus-visible {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(0 0 22px rgba(255, 221, 0, 0.72));
}

.image-hotspot img {
  display: block;
  width: 100%;
  height: auto;
}

.zone-connect {
  left: 26.8%;
  top: 10.2%;
}

.zone-solutions {
  left: 46.4%;
  top: -1.8%;
}

.zone-works {
  left: 65.2%;
  top: 13.5%;
}

.offcanvas {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  width: min(100vw, max(650px, 40vw));
  height: 100vh;
  overflow: auto;
  background: var(--panel);
  border-left: 1px solid var(--yellow);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.45);
}

.offcanvas header {
  position: sticky;
  top: 0;
  z-index: 21;
  height: 68px;
  background: var(--yellow);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 26px;
}

.offcanvas header strong {
  font-weight: 500;
}

.icon-button {
  border: 0;
  background: transparent;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button img {
  width: 18px;
  height: 18px;
  display: block;
}

.offcanvas-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 42px 34px;
}

.offcanvas h2 {
  margin: 0;
  max-width: 390px;
  font-size: 48px;
  line-height: 1;
}

.offcanvas-title img {
  width: min(72px, 16vw);
  height: auto;
  margin-top: -8px;
  filter: drop-shadow(0 0 16px rgba(0, 161, 255, 0.65)) drop-shadow(0 0 18px rgba(255, 221, 0, 0.34));
}

.course-list {
  display: grid;
  gap: 24px;
  padding: 0 42px 56px;
}

.course-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  border: 1px solid var(--yellow);
  padding: 10px;
  cursor: pointer;
  background: rgba(255, 221, 0, 0);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.course-card:hover,
.course-card:focus-within {
  background: rgba(255, 221, 0, 0.045);
  border-color: #ffe94d;
  box-shadow: 0 0 18px rgba(255, 221, 0, 0.18);
  transform: translateY(-2px);
}

.course-thumb {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.course-thumb > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
  filter: brightness(0.86);
  transition: filter 180ms ease, transform 220ms ease;
}

.course-card:hover .course-thumb > img:first-child,
.course-card:focus-within .course-thumb > img:first-child {
  filter: brightness(1);
  transform: scale(1.025);
}

.course-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.course-card:hover .course-play,
.course-card:focus-within .course-play {
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 0 10px rgba(255, 221, 0, 0.5)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.course-card h3 {
  margin: 0 0 14px;
  line-height: 1.1;
  font-weight: 400;
}

.course-card p,
.course-card footer,
.meta,
.evaluation-box p,
.exam-wrap p {
  color: #d9d9d9;
}

.course-teacher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 26px;
}

.course-teacher img {
  width: auto;
  max-width: 92px;
  max-height: 26px;
  display: inline-block;
  object-fit: contain;
}

.course-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 12px;
}

.course-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.course-status img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.detail-screen,
.exam-screen,
.profile-screen,
.admin-screen,
.certificate-screen {
  overflow: visible;
  padding: 96px 8vw 0;
}

.exam-screen,
.certificate-screen {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(135deg, #181a1a, #080909 58%, #111313);
}

.quiz-decor {
  position: fixed;
  pointer-events: none;
  user-select: none;
}

.quiz-tree-left {
  left: 0;
  bottom: 113px;
  width: 306px;
  z-index: 0;
}

.quiz-tree-right {
  right: 0;
  bottom: 86px;
  width: 370px;
  z-index: 0;
}

.quiz-satellite {
  left: 0;
  bottom: 58px;
  width: min(252px, 19vw);
  z-index: 2;
}

.quiz-mixer {
  right: 0;
  bottom: 58px;
  width: min(282px, 21vw);
  z-index: 2;
}

.exam-sign {
  position: fixed;
  left: clamp(40px, 4.6vw, 72px);
  top: 0;
  width: clamp(92px, 7vw, 122px);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.38));
}

.detail-screen {
  padding: 106px clamp(22px, 3.5vw, 56px) 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22)),
    url("/assets/backgrounds/fondo-mapa.jpg") center top / cover no-repeat;
}

.detail-sign {
  position: absolute;
  left: clamp(24px, 3.6vw, 56px);
  top: 0;
  width: clamp(84px, 7vw, 112px);
  height: auto;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.38));
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(230px, 25%) minmax(0, 1fr);
  gap: clamp(32px, 3.6vw, 56px);
  align-items: center;
  width: min(1260px, calc(100vw - clamp(190px, 15vw, 250px)));
  margin-left: clamp(128px, 9vw, 156px);
  margin-right: clamp(34px, 5vw, 80px);
}

.course-copy h1 {
  font-size: clamp(30px, 2.55vw, 38px);
  line-height: 1.08;
}

.course-copy .meta {
  text-transform: uppercase;
}

.meta-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-brand img {
  width: 86px;
  height: auto;
  display: inline-block;
}

.module-thumb {
  width: 100%;
}

.video-box {
  position: relative;
  border: 1px solid var(--yellow);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-box img,
.course-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.course-video {
  display: block;
}

.video-box.watched img,
.video-box.watched .course-video,
.course-video:focus {
  filter: brightness(1);
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #000;
  background: var(--yellow);
  color: #000;
  font-size: 32px;
  cursor: pointer;
}

.evaluation-box {
  margin-top: 36px;
  border: 1px solid var(--yellow);
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 32px;
}

.evaluation-box.completed {
  border-color: #1cd572;
  background: rgba(0, 62, 28, 0.42);
}

.evaluation-box.completed strong {
  color: #1cd572;
}

.evaluation-box strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.evaluation-box strong img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.brand-footer {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 0;
  margin: 92px calc(50% - 50vw) 0;
  background: url("/assets/backgrounds/fondo-footer.svg") center top / cover no-repeat;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 115px clamp(34px, 6vw, 92px) 52px;
  font-weight: 700;
  z-index: 30;
}

.footer-logos,
.footer-socials {
  display: inline-flex;
  align-items: center;
}

.footer-logos {
  gap: 24px;
}

.footer-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

.footer-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.footer-ces {
  height: 72px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.28));
}

.footer-sodimac {
  height: 34px;
}

.footer-maestro {
  height: 46px;
}

.footer-url {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.footer-socials {
  gap: 10px;
}

.footer-socials img {
  width: 42px;
  height: 42px;
  display: block;
}

.exam-wrap {
  width: min(820px, 90vw);
  margin: 74px auto 0;
  position: relative;
  z-index: 1;
}

.exam-progress {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 70px;
}

.exam-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.exam-close img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

.progress-segments {
  display: grid;
  grid-template-columns: repeat(var(--question-count, 1), 1fr);
  gap: 8px;
}

.progress-segments span {
  height: 12px;
  background: rgba(255, 255, 255, 0.48);
  overflow: hidden;
  border-radius: 1px;
}

.progress-segments i {
  display: block;
  height: 100%;
  background: #0077b6;
}

.exam-wrap small {
  display: inline-block;
  background: #555;
  padding: 9px 12px;
  border-radius: 4px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.exam-wrap h1 {
  max-width: 780px;
  font-size: 30px;
  line-height: 1.12;
}

.exam-wrap > p {
  font-weight: 400;
}

.answers {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.answers label {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  padding: 14px 28px 14px 62px;
  background: var(--yellow);
  text-transform: none;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 36%, 100% 100%, 28px 100%, 0 64%);
  cursor: pointer;
}

.answers label::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: inherit;
  background: rgba(17, 19, 19, 0.92);
  pointer-events: none;
}

.answers label.selected {
  color: #000;
}

.answers label.selected::before {
  background: var(--yellow);
}

.answers label > span {
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.answers label.correct {
  box-shadow: inset 0 0 0 2px rgba(28, 213, 114, 0.7);
}

.answers label.incorrect {
  box-shadow: inset 0 0 0 2px rgba(227, 6, 19, 0.72);
}

.answers input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answers label i {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  border: 2px solid #c9d0dc;
  border-radius: 5px;
  background: #f6f8ff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.answers label.selected i {
  border-color: var(--red);
  background: var(--red);
}

.answers label.selected i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-btn {
  margin: 46px 0 0 auto;
  display: block;
}

.exam-feedback {
  width: 100vw;
  margin: 46px calc(50% - 50vw) 0;
  min-height: 112px;
  position: relative;
  z-index: 1;
  border-top: 2px solid currentColor;
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
}

.exam-feedback-inner {
  width: min(820px, 90vw);
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.exam-feedback-inner > div {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.exam-feedback img {
  width: 44px;
  height: 44px;
  display: block;
}

.exam-feedback .btn {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

.exam-feedback.correct {
  color: #1cd572;
  background: rgba(0, 62, 28, 0.72);
}

.exam-feedback.incorrect {
  color: #ff1f33;
  background: rgba(78, 0, 0, 0.78);
}

.diploma-view {
  width: min(970px, 82vw);
  min-height: 560px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  position: relative;
  z-index: 1;
}

.diploma-copy h1 {
  margin: 0 0 26px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 50px);
  line-height: 0.9;
  text-transform: uppercase;
}

.diploma-copy h2 {
  margin: 0 0 28px;
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 21px);
  line-height: 1.18;
  text-transform: uppercase;
}

.diploma-copy p {
  max-width: 450px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.45;
}

section.diploma-copy {
    max-width: 398px;
}

.diploma-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
}

.diploma-download img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1);
}

.diploma-preview {
  width: min(460px, 100%);
  display: block;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42));
}

.admin-content {
  width: min(970px, 70vw);
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
}

.admin-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
}

.admin-screen {
  min-height: 100vh;
  overflow: hidden auto;
  padding: 104px clamp(36px, 6vw, 86px) 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02)),
    url("/assets/backgrounds/fondo-mapa.jpg") center top / cover no-repeat;
}

.admin-sign {
  position: absolute;
  left: clamp(40px, 5vw, 74px);
  top: 0;
  width: min(118px, 9vw);
  z-index: 2;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.36));
  animation: signSwing 5.6s ease-in-out infinite;
  transform-origin: 50% 0;
}

.admin-screen::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 104px;
  width: min(390px, 28vw);
  aspect-ratio: 1.25 / 1;
  background: url("/assets/backgrounds/ilistracion-fondo-dashboard.png") left bottom / contain no-repeat;
  pointer-events: none;
  opacity: 0.95;
}

.profile-screen {
  min-height: 100vh;
  overflow: hidden auto;
  padding: 120px clamp(44px, 6vw, 92px) 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04)),
    url("/assets/backgrounds/fondo-miperfil.jpg") center top / cover no-repeat;
}

.profile-sign {
  position: absolute;
  z-index: 2;
  left: clamp(40px, 5vw, 74px);
  top: 0;
  width: min(118px, 9vw);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.36));
  animation: signSwing 5.6s ease-in-out infinite;
  transform-origin: 50% 0;
}

.profile-bg-illustration {
  position: absolute;
  right: 0;
  bottom: 150px;
  width: min(260px, 18vw);
  max-height: 45vh;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  z-index: 0;
  transform: translateX(18%);
}

.profile-layout {
  width: min(1170px, 86vw);
  min-height: 660px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(54px, 6vw, 82px);
  position: relative;
  z-index: 1;
}

.profile-sidebar {
  display: grid;
  align-content: start;
  gap: 30px;
}

.profile-panel {
  position: relative;
  border: 0;
  background: transparent;
}

.profile-panel::before,
.profile-panel::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  pointer-events: none;
}

.profile-panel::before {
  inset: 0;
  background: rgba(255, 221, 0, 0.72);
}

.profile-panel::after {
  inset: 1px;
  background: rgba(17, 19, 19, 0.86);
}

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

.profile-user-card {
  min-height: 352px;
  padding: 30px 24px;
}

.profile-avatar {
  width: 116px;
  display: block;
  margin: 0 0 24px;
}

.profile-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.profile-panel p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.35;
}

.profile-download-all {
  min-width: 178px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background-color 180ms ease;
}

.profile-download-all:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 14px rgba(227, 6, 19, 0.22));
}

.profile-download-all img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.progress-panel {
  padding: 28px 24px 20px;
}

.progress-panel h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.progress-meter {
  position: relative;
  height: 22px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.38);
  overflow: hidden;
}

.progress-meter span {
  display: block;
  height: 100%;
  background: var(--yellow);
}

.progress-meter strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.progress-panel p {
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.progress-panel > img {
  width: 100%;
  display: block;
  margin-top: 4px;
}

.profile-main {
  min-width: 0;
  padding-top: 12px;
}

.profile-main h1 {
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 40px);
  line-height: 0.95;
  text-transform: uppercase;
}

.profile-modules {
  display: grid;
  gap: 24px;
}

.profile-module {
  min-width: 0;
  transform-origin: center;
}

.profile-module-tab {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--yellow);
  padding: 0 28px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(17, 19, 19, 0.78);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateX(0);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.profile-module-tab::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -36%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.profile-module-tab:hover {
  transform: translateX(6px);
  filter: drop-shadow(0 10px 16px rgba(255, 221, 0, 0.12));
}

.profile-module-tab:hover::before {
  animation: profileTabSweep 780ms ease;
  opacity: 1;
}

.profile-module.open .profile-module-tab {
  border-color: transparent;
  background: var(--yellow);
  color: #111;
  animation: profileTabNudge 3.8s ease-in-out infinite;
}

.profile-module-tab i {
  width: 13px;
  height: 13px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  flex: 0 0 auto;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-module.open .profile-module-tab i {
  transform: rotate(225deg) translateY(-3px);
}

.profile-course-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  transform: translateY(-6px);
  transition:
    max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    padding-top 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-module.open .profile-course-list {
  max-height: 720px;
  opacity: 1;
  padding-top: 12px;
  transform: translateY(0);
}

.profile-course-row {
  min-height: 80px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.profile-teacher-logo {
  width: 86px;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.25));
}

.profile-course-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
}

.profile-course-action {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.profile-course-action.download {
  background: transparent;
  color: var(--yellow);
}

.profile-course-action.download:hover {
  color: #fff;
  transform: translateX(4px);
  filter: drop-shadow(0 0 10px rgba(255, 221, 0, 0.24));
}

.profile-course-action.download img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(81%) sepia(84%) saturate(1877%) hue-rotate(358deg) brightness(102%) contrast(105%);
}

.profile-course-action.start {
  min-height: 42px;
  padding: 0 24px;
  justify-content: center;
  background: var(--red);
  color: #fff;
}

.profile-course-action.start:hover {
  transform: translateY(-2px);
  background: #f20b19;
  filter: drop-shadow(0 10px 14px rgba(227, 6, 19, 0.24));
}

.profile-empty {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.profile-screen .brand-footer {
  position: relative;
  z-index: 1;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.admin-tabs {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.admin-tabs button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.5;
  cursor: pointer;
  transition:
    color 180ms ease,
    font-size 220ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.admin-tabs button.active {
  font-size: 30px;
  opacity: 1;
  transform: translateY(0);
  font-weight: 600;
}

.admin-tabs button:not(.active):hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.admin-panel {
  animation: adminPanelIn 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-export {
  min-width: 218px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--yellow);
  text-decoration: none;
}

.admin-export span {
  border: 1px solid currentColor;
  padding: 1px 4px;
  font-size: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stats article {
  border: 1px solid var(--yellow);
  min-height: 160px;
  padding: 20px 16px;
  background: rgba(17, 19, 19, 0.72);
}

.stats span {
  display: block;
  min-height: 52px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.stats strong {
  display: inline-block;
  margin-top: 18px;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.stats em {
  display: inline-flex;
  margin-left: 10px;
  padding: 5px 8px;
  border-radius: 2px;
  font-style: normal;
  font-weight: 800;
}

.stats em.up {
  color: #24e070;
  background: rgba(36, 224, 112, 0.12);
}

.stats em.down {
  color: var(--red);
  background: rgba(227, 6, 19, 0.14);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--yellow);
  background: rgba(17, 19, 19, 0.86);
  padding: 14px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 16px;
}

.admin-pagination button,
.admin-pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.admin-pagination button {
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.admin-pagination button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--yellow);
  color: #050505;
}

.admin-pagination button.active {
  background: var(--yellow);
  color: #050505;
}

.admin-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.admin-pagination p {
  margin: 0 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-course-metrics {
  margin-top: 0;
}

.metric-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-summary article,
.course-metric-detail {
  border: 1px solid var(--yellow);
  background: rgba(17, 19, 19, 0.78);
}

.metric-summary article {
  min-height: 132px;
  padding: 20px 18px;
}

.metric-summary span {
  display: block;
  min-height: 44px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.metric-summary strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.metric-section {
  margin-top: 28px;
}

.metric-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.metric-section h2 {
  margin: 0;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.metric-control {
  display: block;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 221, 0, 0.72);
  padding: 10px 14px;
  background: rgba(17, 19, 19, 0.72);
}

.metric-control span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.metric-control select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
}

.metric-control option {
  color: #111;
}

.metric-chart {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 221, 0, 0.62);
  padding: 18px;
  background: rgba(17, 19, 19, 0.76);
}

.vertical-chart {
  --chart-height: 170px;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  align-items: stretch;
  min-height: 300px;
}

.vertical-chart article {
  min-width: 0;
  display: grid;
  grid-template-rows: var(--chart-height) 42px 28px;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.chart-column {
  position: relative;
  width: min(54px, 72%);
  height: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.chart-column i {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 3px;
  background: linear-gradient(180deg, var(--yellow), #e30613);
  transition: height 260ms ease;
}

.vertical-chart strong {
  display: -webkit-box;
  align-self: start;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vertical-chart em {
  align-self: end;
  color: var(--yellow);
  font-style: normal;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.vertical-chart em span {
  display: inline-block;
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.module-chart {
  --chart-height: 154px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 260px;
  margin-bottom: 24px;
}

.module-chart article {
  grid-template-rows: var(--chart-height) 34px 30px 18px;
}

.module-chart .chart-column {
  width: min(70px, 60%);
}

.module-chart p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.course-metric-detail header strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.course-metric-detail header span {
  display: block;
  margin-top: 5px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.course-metric-detail {
  padding: 20px;
}

.course-metric-detail header {
  margin-bottom: 18px;
}

.detail-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-metric-grid div {
  min-height: 96px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 221, 0, 0.3);
}

.detail-metric-grid span {
  display: block;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.detail-metric-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(17, 19, 19, 0.74);
}

th,
td {
  padding: 13px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

th {
  background: #5f5f5f;
  font-family: var(--font-display);
  text-transform: uppercase;
}

td {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.admin-view-btn {
  min-width: 120px;
  min-height: 28px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.admin-view-btn::before {
  content: "◉";
  margin-right: 8px;
  font-size: 11px;
}

.admin-view-btn:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 10px rgba(227, 6, 19, 0.24));
}

@keyframes adminPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icebergFloat {
  0%,
  100% {
    transform: translate(var(--float-x), var(--float-y)) rotate(-0.18deg);
  }

  50% {
    transform: translate(var(--float-x), calc(var(--float-y) - 12px)) rotate(0.18deg);
  }
}

@keyframes hotspotPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 221, 0, 0.24));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(255, 221, 0, 0.5));
  }
}

@keyframes signSwing {
  0%,
  100% {
    transform: rotate(-1.2deg);
  }

  50% {
    transform: rotate(1.2deg);
  }
}

@keyframes loaderSlide {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes mapReveal {
  0% {
    opacity: 0;
    filter: brightness(0.8);
    transform: scale(1.015);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1);
  }
}

@keyframes profileTabSweep {
  0% {
    transform: translateX(0) skewX(-18deg);
  }

  100% {
    transform: translateX(440%) skewX(-18deg);
  }
}

@keyframes profileTabNudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

@keyframes profileCoursesReveal {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .login-screen {
    display: grid;
    grid-template-columns: 116px 1fr;
    min-height: 100vh;
    padding: 0;
  }

  .login-map-bg {
    inset: 0 0 0 116px;
    width: calc(100% - 116px);
  }

  .login-exiting .login-map-bg {
    inset: 0;
    width: 100%;
  }

  .login-logo-rail {
    padding: 0 14px 40px;
  }

  .login-fair-sign {
    width: 88px;
  }

  .login-partners {
    gap: 10px;
  }

  .login-partners img:first-child {
    width: 74px;
    height: 74px;
  }

  .login-partners img:nth-child(2),
  .login-partners img:nth-child(3) {
    width: 74px;
  }

  .login-panel {
    width: min(336px, calc(100vw - 116px));
    padding: 24px 20px;
  }

  .top-actions {
    top: 18px;
    right: 16px;
    gap: 8px;
  }

  .tag {
    min-width: 96px;
    font-size: 15px;
  }

  .admin-tag {
    min-width: 124px;
  }

  .map-sign {
    left: 18px;
    top: 0;
    width: 92px;
  }

  .floating-map {
    width: 126vw;
    top: 54%;
    left: 54%;
  }

  .image-hotspot {
    width: 16%;
    font-size: 14px;
  }

  .zone-connect {
    left: 22%;
    top: 28%;
  }

  .zone-solutions {
    left: 44%;
    top: 18%;
  }

  .zone-works {
    left: 55%;
    top: 36%;
  }

  .offcanvas h2 {
    font-size: 36px;
  }

  .course-card,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    width: auto;
    margin: 0;
  }

  .detail-sign {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    width: 92px;
    margin-bottom: 20px;
  }

  .detail-screen,
  .exam-screen,
  .profile-screen,
  .admin-screen,
  .certificate-screen {
    padding: 90px 20px 0;
  }

  .admin-content {
    width: auto;
    margin-top: 42px;
  }

  .admin-sign {
    left: 20px;
    width: 94px;
  }

  .admin-screen::after {
    display: none;
  }

  .profile-screen {
    padding-top: 96px;
  }

  .profile-sign {
    left: 20px;
    width: 86px;
  }

  .profile-bg-illustration {
    display: none;
  }

  .profile-layout {
    width: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 34px;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .profile-main h1 {
    font-size: 42px;
    margin-bottom: 24px;
  }

  .profile-module-tab {
    min-height: 46px;
    padding: 0 18px;
    font-size: 20px;
  }

  .profile-course-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
  }

  .profile-course-action {
    grid-column: 2;
    justify-content: flex-start;
  }

  .evaluation-box,
  .admin-head,
  .center-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .admin-tabs button {
    font-size: 24px;
  }

  .admin-tabs button.active {
    font-size: 34px;
  }

  .brand-footer {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 70px;
    padding: 84px 18px 28px;
  }

  .footer-logos {
    gap: 14px;
  }

  .footer-ces {
    height: 58px;
  }

  .footer-sodimac {
    height: 26px;
  }

  .footer-maestro {
    height: 34px;
  }

  .footer-url {
    text-align: center;
    font-size: 14px;
  }

  .footer-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-left: 0;
  }

  .footer-socials img {
    width: 34px;
    height: 34px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .metric-summary,
  .detail-metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .vertical-chart,
  .module-chart {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    --chart-height: 130px;
  }

  .metric-control {
    width: 100%;
  }

}
