/* LIDERPOL — diseño verde bosque y dorado. Única hoja de estilos de acceso. */
:root {
  --forest: #001e14;
  --forest-deep: #00140e;
  --gold: #e1b150;
  --gold-light: #ffdb69;
  --white: #f9fbf9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #001c12;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.site-header {
  height: 70px;
  background: #030504;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.9%;
  position: relative;
  z-index: 5;
}
.identity {
  display: flex;
  align-items: center;
  gap: 13px;
}
.identity img {
  width: 59px;
  height: 64px;
  object-fit: contain;
}
.identity strong {
  display: block;
  font-size: 39px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 0.98;
  color: #fff;
}
.identity small {
  display: block;
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 700;
  margin-top: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 47px;
  font-size: 16px;
  font-weight: 600;
}
.site-nav a:hover {
  color: var(--gold);
}
.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 28px;
}
.hero {
  position: relative;
  min-height: 752px;
  display: grid;
  grid-template-columns: 58.5% 41.5%;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 75% 46%,
    #073d2a 0%,
    #002318 52%,
    #00160f 100%
  );
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      126deg,
      transparent 4.5%,
      #124b3580 4.6%,
      #124b3580 6.3%,
      transparent 6.4%
    ),
    linear-gradient(
      127deg,
      transparent 8%,
      #000d0a8c 8.2%,
      #000d0a8c 11%,
      transparent 11.2%
    ),
    linear-gradient(
      127deg,
      transparent 88%,
      #0d51367a 88.2%,
      #0d51367a 91%,
      transparent 91.2%
    );
  opacity: 0.8;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      126deg,
      transparent 7.4%,
      #e7ad2980 7.48%,
      transparent 7.65%
    ),
    linear-gradient(
      126deg,
      transparent 90%,
      #e7ad29a0 90.1%,
      transparent 90.24%
    );
  opacity: 0.85;
}
.hero-intro {
  position: relative;
  min-width: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #001c13b8 0%,
    #0023166b 60%,
    #00150d0a 100%
  );
}
.hero-pattern {
  position: absolute;
  z-index: 0;
  inset: 0 -8% 0 25%;
  background-image:
    linear-gradient(90deg, #001b13 0%, transparent 25%, #001b1355 100%),
    url("../assets/aguila-fondo.jpg");
  background-position:
    center,
    center 43%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  opacity: 0.64;
  mix-blend-mode: screen;
  filter: brightness(0.77) contrast(1.28) saturate(0.85);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 20%,
    #000 79%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 16px 2% 26px 9.8%;
  min-height: 752px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-crest {
  width: 315px;
  height: 315px;
  object-fit: contain;
  margin: 0 0 4px 8%;
}
.hero-copy {
  max-width: 760px;
}
.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 4px;
  margin: 0 0 5px;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.25vw, 79px);
  line-height: 0.94;
  letter-spacing: -2.7px;
  margin: 0;
  font-weight: 900;
  text-shadow: 0 4px 8px #0008;
}
.hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
}
.hero-copy > p {
  font-size: 22px;
  line-height: 1.26;
  margin: 13px 0 24px;
  max-width: 640px;
  text-shadow: 0 2px 5px #0009;
}
.hero-benefits {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 0 0 19px;
}
.hero-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.hero-benefits > div + div {
  border-left: 1px solid #d5ddd67a;
  padding-left: 14px;
}
.round-icon,
.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: #001b14ba;
}
.round-icon {
  width: 54px;
  height: 54px;
}
.round-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-benefits b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.hero-benefits small {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 49px;
  padding: 0 34px;
  border: 2px solid var(--gold);
  border-radius: 11px;
  color: var(--gold-light);
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #f7d05b22;
}
.hero-cta:hover {
  background: #d7a52b22;
}
.access-side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 12.6% 30px 0;
}
.auth-card {
  width: 100%;
  max-width: 534px;
  min-height: 688px;
  padding: 41px 47px 32px;
  border-radius: 15px;
  border: 1px solid #a5c1b64a;
  background: linear-gradient(135deg, #315e4e9c, #1a4838db 70%, #2d5a49cf);
  box-shadow:
    0 15px 48px #0008,
    inset 0 0 36px #9ac3ac12;
  backdrop-filter: blur(7px);
}
.auth-form h2 {
  font-size: 39px;
  letter-spacing: -1.6px;
  line-height: 1.13;
  margin: 0 0 6px;
  font-weight: 800;
  white-space: nowrap;
}
.form-subtitle {
  color: #d2ddd6;
  font-size: 18px;
  margin: 0 0 30px;
}
.auth-form > label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 9px;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #b1c6bb85;
  border-radius: 9px;
  height: 51px;
  padding: 0 17px;
  background: #e4f4e50d;
}
.input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px #f4bf402e;
}
.input-wrap > span {
  display: inline-flex;
  align-items: center;
  color: #edf4ef;
}
.input-wrap svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.input-wrap input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 15px;
}
.input-wrap input::placeholder {
  color: #c5d3ca;
}
.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #f5faf7;
  padding: 0;
}
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 18px 0 26px;
  font-size: 15px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 10px;
}
.remember input {
  width: 23px;
  height: 23px;
  accent-color: var(--gold);
  margin: 0;
}
.text-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  font-size: inherit;
}
.text-link:hover {
  color: #fff0a4;
}
.gold-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  background: linear-gradient(105deg, #f8d063, #e5ad31);
  height: 57px;
  width: 100%;
  border: 1px solid #eebf43;
  border-radius: 10px;
  color: #070b06;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 3px 10px #0003;
}
.gold-button:hover {
  filter: brightness(1.07);
}
.form-feedback {
  min-height: 8px;
  font-size: 13px;
  color: #ffe4a0;
  margin: 6px 0;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 21px 0 20px;
  color: #d5e1d8;
  font-size: 14px;
  white-space: nowrap;
}
.or-divider:before,
.or-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #afc3b68a;
}
.create-link {
  display: block;
  margin: 0 auto;
  font-size: 19px;
}
.admin-note {
  text-align: center;
  color: #d0ddd4;
  font-size: 14px;
  margin: 25px 0 22px;
}
.support-line {
  border-top: 1px solid #a5bdb181;
  padding-top: 25px;
  text-align: center;
  font-size: 15px;
  color: #d4e1d9;
}
.support-line svg {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  stroke: #e9f3ed;
  stroke-width: 1.8;
  fill: none;
}
.support-line .text-link {
  margin-left: 5px;
}
.trial-strip {
  display: none;
}
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 23px 5.2%;
  min-height: 151px;
  background: linear-gradient(90deg, #073a28, #00251a 50%, #063625);
}
.benefit-cards article {
  display: flex;
  align-items: center;
  gap: 25px;
  min-width: 0;
  background: linear-gradient(115deg, #245343cf, #204d3ed4);
  border: 1px solid #8bb4a06b;
  border-radius: 12px;
  padding: 15px 27px;
  min-height: 105px;
  box-shadow: 0 4px 18px #0003;
}
.benefit-icon {
  width: 65px;
  height: 65px;
}
.benefit-icon svg {
  width: 35px;
  height: 35px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-cards h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.benefit-cards p {
  font-size: 15px;
  line-height: 1.36;
  margin: 0;
  color: #d0ddd5;
}
footer {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 5.3%;
  background: #030504;
  color: #d6dad7;
  font-size: 12px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
@media (min-width: 1101px) and (max-width: 1550px) {
  .hero-content {
    padding-left: 9.8%;
  }
  .hero-crest {
    width: clamp(225px, 21vw, 315px);
    height: clamp(225px, 21vw, 315px);
  }
  .hero-copy h1 {
    font-size: clamp(47px, 5.25vw, 79px);
  }
  .hero-copy > p {
    font-size: clamp(17px, 1.5vw, 22px);
  }
  .auth-card {
    padding: clamp(25px, 2.75vw, 41px) clamp(25px, 3.15vw, 47px);
  }
  .auth-form h2 {
    font-size: clamp(27px, 2.62vw, 39px);
  }
  .access-side {
    padding-right: 12.6%;
  }
}
@media (max-width: 1100px) {
  .hero {
    display: block;
    min-height: 0;
    overflow: visible;
  }
  .hero-content {
    min-height: 0;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 10px 24px;
    padding: 28px 7% 60px;
  }
  .hero-crest {
    width: 200px;
    height: 215px;
    margin: 0;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 5.3vw, 60px);
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .hero-benefits,
  .hero-cta {
    display: none;
  }
  .hero-pattern {
    inset: 0 0 0 25%;
    opacity: 0.35;
  }
  .access-side {
    padding: 0 7% 20px;
  }
  .auth-card {
    max-width: 690px;
    min-height: 0;
    margin-top: -34px;
    padding: 34px 8%;
  }
  .auth-form h2 {
    text-align: center;
    white-space: normal;
  }
  .form-subtitle {
    text-align: center;
  }
  .trial-strip {
    display: block;
    padding: 0 7% 13px;
    text-align: center;
    background: #002318;
  }
  .trial-strip a {
    display: block;
    max-width: 690px;
    margin: auto;
    border: 1px solid var(--gold);
    border-radius: 9px;
    padding: 13px;
    color: var(--gold-light);
    font-weight: 800;
  }
  .benefit-cards {
    padding: 12px 7%;
  }
  .benefit-cards article {
    padding: 12px;
    gap: 12px;
  }
  .benefit-icon {
    width: 55px;
    height: 55px;
  }
  .benefit-icon svg {
    width: 29px;
    height: 29px;
  }
  .site-nav {
    display: none;
    position: absolute;
    right: 22px;
    top: 63px;
    background: #082c20;
    border: 1px solid #446b59;
    box-shadow: 0 10px 35px #0008;
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .site-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 62px;
    padding: 0 14px;
  }
  .identity img {
    width: 43px;
    height: 48px;
  }
  .identity strong {
    font-size: 26px;
  }
  .identity small {
    font-size: 6.5px;
    letter-spacing: 1.7px;
  }
  .hero-content {
    grid-template-columns: 100px 1fr;
    gap: 8px;
    padding: 17px 12px 50px;
  }
  .hero-crest {
    width: 100px;
    height: 120px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }
  .hero-copy h1 {
    font-size: clamp(23px, 6.2vw, 36px);
    letter-spacing: -0.8px;
  }
  .hero-copy > p {
    font-size: 12px;
    line-height: 1.35;
    margin: 7px 0;
  }
  .hero-pattern {
    opacity: 0.26;
  }
  .access-side {
    padding: 0 12px 12px;
  }
  .auth-card {
    margin-top: -24px;
    border-radius: 13px;
    padding: 26px 19px 23px;
  }
  .auth-form h2 {
    font-size: 27px;
  }
  .form-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .auth-form > label {
    font-size: 13px;
    margin: 15px 0 7px;
  }
  .input-wrap {
    height: 44px;
  }
  .form-options {
    font-size: 12px;
    margin: 14px 0 17px;
  }
  .gold-button {
    height: 49px;
    font-size: 16px;
  }
  .or-divider {
    font-size: 12px;
  }
  .create-link {
    font-size: 16px;
  }
  .admin-note {
    font-size: 11px;
    margin: 22px 0;
  }
  .support-line {
    font-size: 12px;
    padding-top: 18px;
  }
  .trial-strip {
    padding: 0 12px 8px;
  }
  .benefit-cards {
    grid-template-columns: 1fr;
    padding: 0 12px 10px;
    gap: 8px;
  }
  .benefit-cards article {
    min-height: 78px;
    padding: 10px;
  }
  .benefit-cards h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .benefit-cards p {
    font-size: 12px;
  }
  footer {
    min-height: 0;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 13px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* CORRECCIÓN EXCLUSIVA: pie negro al borde inferior, sin alterar diseño */
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > footer,
body > .site-footer {
  margin-top: auto;
  flex-shrink: 0;
}
/* El bloque principal crece únicamente si sobra altura en pantalla. */
body > main {
  flex: 1 0 auto;
}
@media (max-width: 620px) {
  body > footer,
  body > .site-footer {
    width: 100%;
  }
}

/* ==========================================
   LIDERPOL - CORRECCIONES DEL LOGIN
   ========================================== */

/* 1. Centrar "Crear cuenta de alumno" */

.auth-form .create-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 2. Eliminar el segundo contorno dorado
      dentro de correo y contraseña */

.auth-form .input-wrap input:focus,
.auth-form .input-wrap input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* 3. Mantener un único borde exterior
      cuando el campo recibe el foco */

.auth-form .input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px #f4bf402e;
}

/* ==========================================
   LIDERPOL - COMPLEMENTOS DE LA PORTADA
   Beneficios / Prueba gratuita / Ayuda
   ========================================== */

#beneficios,
#prueba,
#ayuda {
  scroll-margin-top: 24px;
}

.info-section {
  padding: 65px 6%;
}

.info-section-inner {
  max-width: 1320px;
  margin: auto;
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.trial-section {
  background: linear-gradient(115deg, #03261b, #07513b);
  border-top: 1px solid #b99b4255;
}

.help-section {
  background: #061b15;
}

.section-kicker {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.info-copy h2 {
  font-size: clamp(28px, 3.2vw, 43px);
  line-height: 1.1;
  margin: 10px 0 16px;
}

.info-copy p {
  color: #dce8e0;
  font-size: 17px;
  line-height: 1.55;
  max-width: 660px;
}

.info-copy .info-note {
  font-size: 14px;
  color: #d4e2d9;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 18px 0 25px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 11px;
  color: var(--gold-light);
  padding: 14px 23px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.outline-button:hover {
  background: #edbc3922;
}

.trial-highlights {
  display: grid;
  gap: 14px;
}

.trial-highlights > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 23px;
  border: 1px solid #c8a95370;
  background: #174d3fbb;
  border-radius: 13px;
}

.trial-highlights strong {
  color: var(--gold-light);
  font-size: 28px;
}

.trial-highlights span {
  font-size: 16px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-list details {
  border: 1px solid #6b918077;
  border-radius: 12px;
  background: #18423280;
  padding: 16px 19px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
}

.faq-list details[open] summary {
  color: var(--gold-light);
}

.faq-list details p {
  color: #d6e6df;
  line-height: 1.5;
  margin: 13px 0 0;
  font-size: 14px;
}

.help-contact {
  justify-self: start;
  margin-top: 8px;
}

/* ==========================================
   MODAL DE AYUDA
   ========================================== */

.public-modal {
  border: 1px solid #c9ad62;
  border-radius: 16px;
  background: #103c2e;
  box-shadow: 0 20px 70px #000c;
  color: white;
  width: min(92vw, 500px);
  max-height: min(90vh, 680px);
  padding: 25px;
}

.public-modal::backdrop {
  background: #00130dcc;
}

.public-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.public-modal-head h2 {
  margin: 0;
  font-size: 23px;
}

.modal-close {
  border: 1px solid #a9c5b5;
  background: transparent;
  color: white;
  border-radius: 8px;
  font-size: 25px;
  line-height: 1;
  width: 38px;
  height: 38px;
}

.public-modal-message {
  margin: 18px 0;
  color: #e0ece5;
  line-height: 1.6;
}

.public-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.public-modal-actions a {
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  border-radius: 8px;
  color: #10241b;
  font-weight: 800;
  background: var(--gold-light);
}

/* ==========================================
   DISEÑO RESPONSIVE
   ========================================== */

@media (max-width: 800px) {
  .info-section {
    padding: 39px 7%;
  }

  .info-section-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .info-copy p {
    font-size: 15px;
  }

  .trial-highlights > div {
    padding: 13px 17px;
  }
}
/* ==========================================
   LIDERPOL - PRUEBA GRATUITA
   Modal público de cinco preguntas
   ========================================== */

.demo-modal {
  width: min(94vw, 700px);
  max-height: min(90vh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid #d8ae4e;
  border-radius: 20px;
  background: #f8faf9;
  color: #102036;
  box-shadow: 0 25px 85px #000a;
}

.demo-modal::backdrop {
  background: #00130dd9;
}

.demo-cabecera {
  padding: 23px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(120deg, #003c2a, #075a3d);
  color: white;
}

.demo-etiqueta {
  color: #ffda6a;
  letter-spacing: 1.6px;
  font-weight: 800;
  font-size: 11px;
}

.demo-cabecera h2 {
  font-size: 29px;
  margin: 7px 0;
}

.demo-cabecera p {
  color: #e6f1eb;
  margin: 0;
  line-height: 1.45;
}

.demo-cerrar {
  color: white;
  background: transparent;
  border: 1px solid #8cb7a1;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 27px;
  flex: none;
}

.demo-contenido {
  padding: 27px;
}

.demo-configuracion {
  display: grid;
  gap: 11px;
}

.demo-configuracion label {
  font-weight: 800;
}

.demo-configuracion select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #c7d7d1;
  background: white;
  border-radius: 10px;
  color: #152238;
  font: inherit;
}

.demo-configuracion select:focus-visible,
.demo-opcion:focus-visible,
.demo-boton:focus-visible {
  outline: 3px solid #e5aa24;
  outline-offset: 2px;
}

.demo-aclaracion {
  margin: 7px 0;
  color: #50637a;
  font-size: 13px;
}

.demo-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  min-height: 47px;
  border: 0;
  border-radius: 10px;
  background: #f2bf40;
  color: #122034;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.demo-boton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.demo-aviso {
  padding: 12px 14px;
  border-radius: 10px;
  color: #12402d;
  background: #e8f7ee;
  margin: 0 0 17px;
  line-height: 1.45;
}

.demo-aviso.demo-error {
  color: #a21c2a;
  background: #fff0f2;
}

.demo-contador {
  color: #076344;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.demo-enunciado {
  font-size: 20px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
}

.demo-opciones {
  display: grid;
  gap: 10px;
  margin-bottom: 17px;
}

.demo-opcion {
  width: 100%;
  padding: 13px 15px;
  text-align: left;
  background: white;
  color: #152237;
  border: 1px solid #ccd9df;
  border-radius: 10px;
  font: inherit;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.demo-opcion:hover:not(:disabled) {
  border-color: #deae36;
  background: #fffaf0;
}

.demo-opcion.demo-acierto {
  border-color: #0e774b;
  background: #ddf8e9;
}

.demo-opcion.demo-fallo {
  border-color: #ae2938;
  background: #ffe8eb;
}

.demo-retroalimentacion {
  border-radius: 9px;
  background: #edf5f0;
  color: #183d30;
  padding: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.demo-retroalimentacion p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.demo-resultado {
  text-align: center;
}

.demo-resultado h3 {
  font-size: 23px;
  margin: 10px 0;
}

.demo-resultado p {
  color: #4c6172;
  line-height: 1.6;
}

.demo-nota {
  color: #05613e;
  font-weight: 900;
  font-size: 54px;
}

.demo-enlace {
  margin-top: 13px;
}

@media (max-width: 600px) {
  .demo-cabecera,
  .demo-contenido {
    padding: 18px;
  }

  .demo-cabecera h2 {
    font-size: 24px;
  }

  .demo-enunciado {
    font-size: 17px;
  }
}
/* Acciones de la prueba gratuita */

.trial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.trial-actions button {
  font: inherit;
  cursor: pointer;
}

/* Respetar los elementos ocultos del modal */

#demoModal [hidden] {
  display: none !important;
}

/* =====================================================
   LIDERPOL - PRACTICA GRATUITA OFICIAL
   Colores institucionales verde y dorado
   Sin cronometro
   ===================================================== */

#demoModal.demo-modal {
  width: min(94vw, 1000px);
  max-width: 1000px;
  max-height: min(94dvh, 1050px);
  border: 2px solid #d8ab2b;
  border-radius: 24px;
  background: #fff;
  overflow-y: auto;
  box-sizing: border-box;
}

#demoModal.demo-modal[data-demo-vista="configuracion"] {
  width: min(94vw, 750px);
}

#demoModal [hidden] {
  display: none !important;
}

#demoModal[data-demo-vista="ejercicio"] .demo-contenido,
#demoModal[data-demo-vista="resultado"] .demo-contenido {
  padding: 0;
}

/* ENCABEZADO GENERAL */

#demoModal[data-demo-vista="ejercicio"] .demo-cabecera,
#demoModal[data-demo-vista="resultado"] .demo-cabecera {
  align-items: center;
  padding: 12px 30px;
  background: #053b2b;
}

#demoModal[data-demo-vista="ejercicio"] .demo-cabecera h2,
#demoModal[data-demo-vista="ejercicio"] .demo-cabecera p,
#demoModal[data-demo-vista="resultado"] .demo-cabecera h2,
#demoModal[data-demo-vista="resultado"] .demo-cabecera p {
  display: none;
}

#demoModal[data-demo-vista="ejercicio"] .demo-cabecera .demo-etiqueta,
#demoModal[data-demo-vista="resultado"] .demo-cabecera .demo-etiqueta {
  font-size: 11px;
  letter-spacing: 0.13em;
}

/* CONTENEDOR OFICIAL */

#demoModal .demo-oficial-ejercicio,
#demoModal .demo-oficial-resultado {
  background: #fff;
  color: #122239;
}

/* CABECERA VERDE INSTITUCIONAL */

#demoModal .demo-oficial-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 34px;
  background: linear-gradient(110deg, #063d2c, #0b7650);
  color: #fff;
}

#demoModal .demo-oficial-identidad {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
}

#demoModal .demo-oficial-insignia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 18px;
  border: 1.5px solid #efbd36;
  border-radius: 999px;
  color: #ffda65;
  background: rgba(255, 208, 73, 0.07);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.025em;
  box-sizing: border-box;
}

#demoModal .demo-oficial-titulo {
  display: block;
  font-size: clamp(1.12rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  overflow-wrap: anywhere;
}

#demoModal .demo-oficial-fraccion {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 211, 93, 0.7);
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
}

/* BARRA DE PROGRESO */

#demoModal .demo-oficial-progreso {
  height: 6px;
  background: #e2ebe5;
  overflow: hidden;
}

#demoModal .demo-oficial-progreso > span {
  display: block;
  height: 100%;
  background: #e9b931;
  width: 0;
  transition: width 0.2s ease;
}

/* CUERPO DE LA PREGUNTA */

#demoModal .demo-oficial-cuerpo {
  padding: 32px 38px 23px;
}

#demoModal #demoContador {
  color: #b88a00;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

#demoModal #demoEnunciado {
  color: #112238;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.36;
  margin: 0 0 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ALTERNATIVAS */

#demoModal #demoOpciones {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #e3eaf0;
}

#demoModal .demo-opcion.demo-oficial-opcion {
  display: flex;
  align-items: center;
  gap: 19px;
  width: 100%;
  padding: 18px 17px;
  border: 0;
  border-bottom: 1px solid #e3eaf0;
  border-radius: 0;
  background: #fff;
  color: #142139;
  text-align: left;
  box-shadow: none;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.16s ease;
  white-space: normal;
}

#demoModal .demo-opcion.demo-oficial-opcion:hover:not(:disabled) {
  border-color: #e3eaf0;
  background: #f3faf6;
}

/* LETRAS A, B, C, D */

#demoModal .demo-oficial-opcion .demo-opcion-letra {
  flex: 0 0 39px;
  width: 39px;
  min-height: 39px;
  padding: 4px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cad7e0;
  border-radius: 10px;
  color: #485872;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 850;
}

#demoModal .demo-oficial-opcion .demo-opcion-texto {
  flex: 1;
  min-width: 0;
  color: inherit;
  font-size: 1.14rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

#demoModal .demo-opcion.demo-oficial-opcion:disabled {
  opacity: 1;
  cursor: default;
}

/* RESPUESTA CORRECTA */

#demoModal .demo-opcion.demo-oficial-opcion.demo-acierto {
  background: #dff3e7;
  color: #076d39;
}

#demoModal .demo-opcion.demo-oficial-opcion.demo-acierto .demo-opcion-letra {
  background: #119a51;
  border-color: #119a51;
  color: #fff;
}

/* RESPUESTA INCORRECTA */

#demoModal .demo-opcion.demo-oficial-opcion.demo-fallo {
  background: #fde7ea;
  color: #b51f2e;
}

#demoModal .demo-opcion.demo-oficial-opcion.demo-fallo .demo-opcion-letra {
  background: #d92536;
  border-color: #d92536;
  color: #fff;
}

/* EXPLICACION */

#demoModal #demoRetroalimentacion {
  margin: 22px 0 0;
  padding: 19px 22px;
  border: 1.5px solid #e9b931;
  border-radius: 17px;
  background: #073d2d;
  color: #fff;
  box-sizing: border-box;
}

#demoModal .demo-oficial-explicacion-titulo {
  display: block;
  margin-bottom: 9px;
  color: #f4c84c;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.065em;
}

#demoModal #demoRetroalimentacion .demo-oficial-explicacion-texto {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* PIE Y SIGUIENTE PREGUNTA */

#demoModal .demo-oficial-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 38px;
  border-top: 1px solid #e0e7ed;
  background: #fff;
}

#demoModal .demo-oficial-estado {
  color: #536781;
  line-height: 1.45;
  margin: 0;
}

#demoModal #demoSiguiente {
  flex: 0 0 auto;
  margin-left: auto;
  background: #f1bf3f;
  color: #102238;
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 850;
}

#demoModal #demoSiguiente:hover:not(:disabled) {
  background: #eab12a;
}

/* RESULTADO FINAL */

#demoModal .demo-oficial-cabecera-final {
  justify-content: flex-start;
  gap: 19px;
}

#demoModal .demo-oficial-resultado {
  padding-bottom: 44px;
  text-align: center;
}

#demoModal .demo-oficial-resultado > .demo-nota {
  margin: 36px 15px 12px;
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1.1;
  font-weight: 900;
  color: #076441;
}

#demoModal .demo-oficial-resultado > h3 {
  padding: 0 20px;
  color: #122238;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

#demoModal .demo-oficial-resultado > p {
  max-width: 650px;
  margin: 14px auto 22px;
  padding: 0 24px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #536781;
}

#demoModal .demo-oficial-resultado .demo-enlace {
  background: #f1bf3f;
  color: #132039;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 850;
}

#demoModal .demo-aviso:not([hidden]) {
  margin: 17px 22px;
}

/* DISENO RESPONSIVE */

@media (max-width: 640px) {
  #demoModal.demo-modal {
    width: min(96vw, 1000px);
    border-radius: 15px;
  }

  #demoModal .demo-oficial-cabecera {
    padding: 20px 19px;
    gap: 14px;
  }

  #demoModal .demo-oficial-identidad {
    gap: 10px;
  }

  #demoModal .demo-oficial-insignia {
    padding: 7px 10px;
    min-height: 35px;
  }

  #demoModal .demo-oficial-fraccion {
    padding: 8px 9px;
    font-size: 1rem;
  }

  #demoModal .demo-oficial-cuerpo {
    padding: 23px 18px 17px;
  }

  #demoModal .demo-opcion.demo-oficial-opcion {
    padding: 15px 4px;
    gap: 12px;
  }

  #demoModal .demo-oficial-opcion .demo-opcion-texto {
    font-size: 1rem;
  }

  #demoModal .demo-oficial-pie {
    flex-direction: column;
    align-items: stretch;
    padding: 17px 18px;
  }

  #demoModal #demoSiguiente {
    margin: 0;
    width: 100%;
  }

  #demoModal[data-demo-vista="ejercicio"] .demo-cabecera,
  #demoModal[data-demo-vista="resultado"] .demo-cabecera {
    padding: 10px 19px;
  }
}

/* LIDERPOL-ENLACE-PRUEBA-7D */
.auth-form .trial-registration-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; margin: 16px 0 10px; padding: 13px 15px;
  border: 1.5px solid var(--gold); border-radius: 10px;
  text-align: center; color: #fff; background: #00523a;
  transition: background .18s ease, border-color .18s ease;
}
.auth-form .trial-registration-link strong { color: var(--gold-light); font-size: 15px; }
.auth-form .trial-registration-link:hover { background: #08724e; }
.auth-form .trial-registration-link:focus-visible, .trial-seven-cta:focus-visible {
  outline: 3px solid var(--gold-light); outline-offset: 3px;
}
.trial-actions .trial-seven-cta { color: #001d14; background: var(--gold-light); }
.trial-actions .trial-seven-cta:hover { background: #ffdf87; }
#demoModal .demo-seven-link { background: #006846; color: #fff; margin-left: 10px; }
@media (max-width: 600px) {
  #demoModal .demo-seven-link { margin: 12px 0 0; }
}

/* INICIO LIDERPOL_ESCUDO_REAL_20261101 */
.site-header a.identity.lp-real-brand{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 gap:12px!important;min-width:0!important;max-width:100%!important;background:transparent!important;padding:0!important
}
.site-header .identity.lp-real-brand .lp-real-shield{
 display:block!important;flex:0 0 52px!important;width:52px!important;height:62px!important;max-width:52px!important;
 object-fit:contain!important;object-position:center!important
}
.site-header .identity.lp-real-brand .lp-real-words{
 display:flex!important;flex-direction:column!important;gap:2px!important;align-items:flex-start!important;
 min-width:0!important;white-space:nowrap!important;color:#fff!important;font-family:inherit!important
}
.site-header .identity.lp-real-brand .lp-real-words strong{
 display:block!important;color:white!important;font-weight:900!important;font-size:30px!important;line-height:1!important;letter-spacing:-.7px!important
}
.site-header .identity.lp-real-brand .lp-real-words small{
 display:block!important;color:#f3f6ef!important;font-weight:800!important;font-size:10px!important;line-height:1.12!important;
 letter-spacing:.4px!important;margin:0!important
}
.hero-content img.hero-crest{display:block;object-fit:contain!important;object-position:center!important;max-width:100%!important}
@media(max-width:650px){
 .site-header .identity.lp-real-brand .lp-real-shield{width:40px!important;height:49px!important;max-width:40px!important;flex-basis:40px!important}
 .site-header .identity.lp-real-brand .lp-real-words strong{font-size:21px!important}
 .site-header .identity.lp-real-brand .lp-real-words small{font-size:7px!important;letter-spacing:-.2px!important}
}
/* FIN LIDERPOL_ESCUDO_REAL_20261101 */

/* INICIO LIDERPOL_MARCA_INTEGRADA_FINAL_20261101 */
/* Cabecera del login con escudo y letras como una única imagen. */
.site-header{min-height:99px!important;height:auto!important;padding-top:7px!important;padding-bottom:7px!important}
.site-header a.identity.lp-logo-fixed{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 width:min(355px,50vw)!important;max-width:100%!important;flex:0 1 auto!important;
 min-width:0!important;padding:0!important;margin:0!important;overflow:hidden!important;
 background:transparent!important;border:0!important;box-shadow:none!important
}
.site-header .identity.lp-logo-fixed .lp-logo-img-full{
 display:block!important;width:100%!important;height:auto!important;max-width:100%!important;
 max-height:96px!important;object-fit:contain!important;object-position:left center!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important
}
@media(max-width:650px){
 .site-header{min-height:74px!important}
 .site-header a.identity.lp-logo-fixed{width:min(250px,65vw)!important}
 .site-header .identity.lp-logo-fixed .lp-logo-img-full{max-height:69px!important}
}
/* FIN LIDERPOL_MARCA_INTEGRADA_FINAL_20261101 */

/* INICIO LIDERPOL_LOGIN_HEADER_COMPACTO_20261101 */
/* Solo login: reducir la barra negra y el logo EN UNA SOLA imagen,
   conservando su proporción y las proporciones del resto de la página. */
.site-header {
  height: 74px !important;
  min-height: 74px !important;
  max-height: 74px !important;
  padding: 3px 5.9% !important;
}
.site-header > a.identity.lp-logo-fixed {
  width: 245px !important;
  max-width: min(245px, 55vw) !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 1 auto !important;
  overflow: visible !important;
}
.site-header > a.identity.lp-logo-fixed > img.lp-logo-img-full {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 65px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
/* El logo auxiliar es exclusivo del menú lateral, no del login. */
.site-header > a.identity.lp-logo-fixed > img.lp-logo-img-icon {
  display: none !important;
}
@media (max-width: 1100px) {
  .site-header .site-nav { top: calc(100% - 1px) !important; }
}
@media (max-width: 650px) {
  .site-header {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 3px 14px !important;
  }
  .site-header > a.identity.lp-logo-fixed {
    width: min(190px, 63vw) !important;
    max-width: min(190px, 63vw) !important;
  }
  .site-header > a.identity.lp-logo-fixed > img.lp-logo-img-full {
    max-height: 51px !important;
  }
}
/* FIN LIDERPOL_LOGIN_HEADER_COMPACTO_20261101 */

/* LIDERPOL 11: compatibilidad táctil iOS / Android sin modificar identidad visual. */
@media (max-width: 767px) {
  input:not([type="checkbox"]):not([type="radio"]), select, textarea {
    font-size: max(16px, 1em);
  }
  img, svg, video { max-width: 100%; }
  .main, .admin-main { min-width: 0; }
}
