/* ============================================================
   CENFIC · HERO SIMULADORES
   Escritorio: 417px
============================================================ */

.sim-hero {
  position: relative;
  isolation: isolate;

  width: 100%;
  height: 417px;
  min-height: 417px;

  display: flex;
  align-items: center;

  overflow: hidden;

  color: #ffffff;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 45, 88, 0.98) 0%,
      rgba(0, 53, 101, 0.96) 34%,
      rgba(0, 58, 109, 0.86) 48%,
      rgba(0, 48, 91, 0.34) 66%,
      rgba(0, 33, 67, 0.05) 100%
    ),
    url("../img/IMAGEN-SIMULADORES.png");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
}


/* ============================================================
   CONTENEDOR
============================================================ */

.sim-hero__inner {
  position: relative;
  z-index: 2;

  width: min(100%, 1228px);
  height: 100%;

  margin-inline: auto;
  padding-inline:
    clamp(24px, 4vw, 58px);

  display: flex;
  align-items: center;
}


/* ============================================================
   COLUMNA DE CONTENIDO
============================================================ */

.sim-hero__content {
  width: min(100%, 430px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ============================================================
   ETIQUETA
============================================================ */

.sim-hero__eyebrow {
  margin: 0 0 7px;

  color: #19d9df;

  font-size: 11px;
  line-height: 1;
  font-weight: 700;

  letter-spacing: 0.055em;
  text-transform: uppercase;
}


/* ============================================================
   TÍTULO
============================================================ */

.sim-hero__title {
  margin: 0;

  color: #ffffff;

  font-family: "Sora", "Inter", system-ui, sans-serif;

  font-size: clamp(37px, 3.45vw, 49px);
  line-height: 0.91;
  font-weight: 800;

  letter-spacing: -0.035em;
}

.sim-hero__title-accent {
  display: block;
  color: #f3c95e;
}


/* ============================================================
   DESCRIPCIÓN
============================================================ */

.sim-hero__description {
  max-width: 355px;

  margin: 15px 0 14px;

  color: #ffffff;

  font-size: 14px;
  line-height: 1.38;
  font-weight: 500;
}


/* ============================================================
   BENEFICIOS
============================================================ */

.sim-hero__benefits {
  width: 100%;
  max-width: 410px;

  margin: 0 0 20px;
  padding: 0;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  column-gap: 18px;
  row-gap: 8px;

  list-style: none;
}

.sim-hero__benefit {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 7px;

  color: #ffffff;

  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.08;
  font-weight: 800;
}

.sim-hero__check {
  width: 17px;
  height: 17px;

  flex: 0 0 17px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;

  background: #10d5ad;
  color: #ffffff;

  box-shadow:
    0 2px 7px rgba(0, 0, 0, 0.18);
}

.sim-hero__check svg {
  width: 11px;
  height: 11px;
}


/* ============================================================
   BOTONES
============================================================ */

.sim-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}


/* CTA PRIMARIO */

.sim-hero__primary {
  min-height: 42px;

  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid #ffd667;
  border-radius: 7px;

  background:
    linear-gradient(
      180deg,
      #ffdd72 0%,
      #f5c746 100%
    );

  color: #082747;

  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;

  text-decoration: none;

  box-shadow:
    0 5px 13px rgba(0, 0, 0, 0.19);

  transition:
    transform .18s ease,
    filter .18s ease;
}

.sim-hero__primary:hover {
  color: #082747;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.sim-hero__play {
  width: 22px;
  height: 22px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;

  background: #073a68;
  color: #f9ce55;
}

.sim-hero__play svg {
  width: 13px;
  height: 13px;
}


/* CTA SECUNDARIO */

.sim-hero__secondary {
  min-height: 42px;

  padding: 0 21px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.72);

  border-radius: 7px;

  background:
    rgba(0, 36, 73, 0.28);

  color: #ffffff;

  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;

  text-decoration: none;

  transition:
    background .18s ease,
    transform .18s ease;
}

.sim-hero__secondary:hover {
  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.10);

  transform: translateY(-1px);
}


/* ============================================================
   ACCESIBILIDAD
============================================================ */

.sim-hero a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

  .sim-hero {
    height: auto;
    min-height: 417px;

    background-position:
      62% center;
  }

  .sim-hero__inner {
    min-height: 417px;

    padding-block: 42px;
  }

  .sim-hero__content {
    width: min(100%, 410px);
  }
}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 600px) {

  .sim-hero {
    min-height: 540px;

    background-image:
      linear-gradient(
        90deg,
        rgba(0, 44, 84, 0.98) 0%,
        rgba(0, 48, 91, 0.95) 100%
      ),
      url("../img/IMAGEN-SIMULADORES.png");

    background-position:
      68% center;
  }

  .sim-hero__inner {
    min-height: 540px;

    padding:
      40px 20px;
  }

  .sim-hero__content {
    width: 100%;
  }

  .sim-hero__title {
    font-size: 38px;
  }

  .sim-hero__description {
    max-width: 100%;
  }

  .sim-hero__benefits {
    grid-template-columns: 1fr;

    row-gap: 9px;
  }

  .sim-hero__actions {
    width: 100%;

    flex-direction: column;
    align-items: stretch;

    gap: 10px;
  }

  .sim-hero__primary,
  .sim-hero__secondary {
    width: 100%;
  }
}

/* CENFIC · HERO SIN DEGRADADO */
.sim-hero {
  background-image:
    url("../img/IMAGEN-SIMULADORES.png") !important;
}

@media (max-width: 600px) {
  .sim-hero {
    background-image:
      url("../img/IMAGEN-SIMULADORES.png") !important;
  }
}
/* FIN CENFIC · HERO SIN DEGRADADO */

/* CENFIC · HERO MÓVIL ENCUADRE IZQUIERDA */
@media (max-width: 600px) {

  .sim-hero {
    background-image:
      url("../img/IMAGEN-SIMULADORES.png") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center !important;
  }

}
/* FIN CENFIC · HERO MÓVIL ENCUADRE IZQUIERDA */

/* CENFIC · ESTANDARIZACIÓN TIPOGRÁFICA DEL HERO */
.sim-hero__eyebrow {
  margin: 0 0 8px;
  color: #f2c94c;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sim-hero__title {
  width: min(100%, 650px);
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-family: "Sora", "Inter", system-ui, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.sim-hero__title-accent {
  color: #f2c94c;
}

.sim-hero__description {
  width: min(100%, 520px);
  max-width: none;
  margin: 12px 0 14px;
  color: rgba(255, 255, 255, 0.93);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

@media (max-width: 1000px) {
  .sim-hero__title {
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .sim-hero__title {
    font-size: 29px;
  }
}
/* FIN CENFIC · ESTANDARIZACIÓN TIPOGRÁFICA DEL HERO */
