@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 10px 0 0.5rem 0;
  font-weight: 500;
  line-height: 1.2;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1rem;
  }
}

img {
  max-width: 100%;
}

hr {
  width: 100%;
}

footer {
  position: relative;
  bottom: 0px;
  width: 100%;
  margin-top: 1rem;
}

.lg-body {
  max-width: auto;
  margin: 0 auto;
}

.lg-top {
  padding-top: 4rem;
}

.lg-bar {
  width: 100%;
  overflow: hidden;
}

.lg-bar .lg-bar-item {
  padding: 8px 16px;
  float: left;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}

.lg-bar-item .lg-ttlNav {
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px;
}

.lg-mainNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  height: 4rem;
}

.lg-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-ttlNav {
  font-size: clamp(1.4rem, 1.8rem, 2.0rem);
  font-family: "Lobster", Sans-serif;
  display: block;
  padding-top: 0.8rem;
}

@media screen and (max-width: 600px) {
  .lg-ttlNav {
    font-size: 1.3rem !important;
  }

  .hdclg {
    margin-top: 1rem;
    font-size: 0.8rem !important;
  }

  footer {
    margin-top: 1rem;
    position: relative;
  }
}

.lg-mnrPublic {
  min-width: 280px;
  right: 0;
  top: 3.5rem;
  z-index: 11 !important;
  position: absolute;
  border-radius: 0 0 0 10px;
  display: none;
  font-size: 1.2rem !important;
}

.lg-mnrPublic a {
  display: block !important;
  width: 100% !important;
  padding: 14px 20px !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lg-right-align {
  text-align: right !important;
}

.lg-display-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lg-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.lg-hover-none:hover {
  background-color: transparent !important;
  box-shadow: none !important;
}

.lg-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 12;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
}

.lg-dropdown-content .lg-bar-item {
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.lg-hide {
  display: none !important;
}

.lg-show {
  display: block !important;
}

.btntotop {
  display: none;
}

.lg-row-center {
  display: flex;
  justify-content: center;
}

.icon-invert-tm {
  filter: invert(0);
}

.lg-card2 {
  display: block;
  font-size: 0.8rem;
  border-radius: 8px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: -5px;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  justify-content: space-evenly;
}

.lg-row {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

@media (min-width: 700px) {
  .lg-3-col {
    flex: 0 0 auto;
    width: 30%;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
  }
}

@media screen and (max-width: 600px) {
  .lg-3-col {
    margin-bottom: 1rem;
  }
}

.lg-btn-big-neon-in-hd {
  display: inline-block;
  width: auto;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.lg-btn-4col-neon-in-hd {
  display: inline-block;
  width: auto;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.lg-btn-cyan {
  color: #d0f8ff;
  border: 2.5px solid #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4), inset 0 0 8px rgba(0, 240, 255, 0.2);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

.lg-btn-cyan:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
  color: #ffffff;
}

.lg-theme-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px;
  align-items: center;
  justify-items: center;
}

.lg-theme-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.lg-theme-swatch:hover {
  transform: scale(1.2);
  border-color: #ffffff;
}

.contlogomh {
  margin-top: 1vh;
  text-align: left;
}

.hdclg {
  position: absolute;
  font-size: clamp(1.2rem, 2.0rem, 2.2rem);
  font-family: "Lobster", Sans-serif;
  display: block;
  padding-top: 0.8rem;
  left: 30%;
  top: 0vh;
}

.transition-hover {
  transition: all 0.3s ease;
}

.transition-hover:hover {
  transform: translate3d(5px, -5px, -5px);
}

.lg-center-5 {
  padding: 5px;
  text-align: center;
}

.lg-center-32 {
  padding: 32px;
  text-align: center;
}

.lg-zindex-f1 {
  z-index: 20;
}

.lg-cookies-cont {
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: auto;
  z-index: 200;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
}

.lg-btn-cookie {
  font-weight: bold;
  background-color: #fff;
  color: #000;
}

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

.img-icon {
  width: 35px;
  height: 35px;
  margin: 10px;
  cursor: pointer;
}

.lg-ln-flex {
  display: flex;
  flex-direction: row;
  padding-bottom: 1rem;
  padding-top: 1rem;
  margin: 1rem;
}

.lg-col-flex {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.lg-col-flex-center {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  padding: 1rem;
  align-items: center;
}

.lg-block-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  box-sizing: border-box;
}

.row-lg {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.col-lg {
  flex: 1 1 0;
  padding: 10px;
  box-sizing: border-box;
}

.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 1rem;
}

.col-lg-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 1rem;
}

.col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 1rem;
}

@media (max-width: 768px) {

  .col-lg,
  .col-lg-12,
  .col-lg-4,
  .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#lg-modal-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  overflow-y: auto !important;
}

.lg-popup-wrapper {
  min-height: calc(100vh - 12rem);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  padding-top: 20rem;
  box-sizing: border-box;
  width: 100%;
}

.lg-popup-wrapper-conocenos {
  min-height: calc(100vh - 12rem);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  width: 100%;
}

.lg-popup-box {
  width: 100%;
  max-width: 950px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-sizing: border-box;
}

.lg-popup-x {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.lg-popup-x:hover {
  transform: scale(1.2);
  color: #f44336;
}

.lg-popup-option-item {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lg-popup-option-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.15);
}

.lg-popup-img-wa {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  flex-shrink: 0;
}

.lg-a-nd {
  text-decoration: none !important;
  color: inherit;
}

.lg-modal-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  box-sizing: border-box;
}

/* =============================================
   MOTOR DE SLIDER COMPA-SLIDER
   ============================================= */

.compa-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.compa-slide {
  width: 100%;
  height: 320px;
  background-image: var(--bg-mobile);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  /* Por defecto */
  position: relative;
  transition: background-image 0.5s ease-in-out;
}

/* Clases de alineación vertical dinámicas */
.compa-slide.align-top {
  align-items: flex-start;
}

.compa-slide.align-center {
  align-items: center;
}

.compa-slide.align-bottom {
  align-items: flex-end;
}

/* Clases de alineación horizontal dinámicas */
.compa-slide.justify-left {
  justify-content: flex-start;
  text-align: left;
}

.compa-slide.justify-center {
  justify-content: center;
  text-align: center;
}

.compa-slide.justify-right {
  justify-content: flex-end;
  text-align: right;
}

/* Overlay base y variaciones de degradé direccional */
.compa-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: background 0.4s ease;
}

.compa-slide.align-bottom .compa-slide-overlay {
  background: linear-gradient(to top, rgba(15, 5, 30, 0.9) 10%, rgba(0, 0, 0, 0.2) 90%);
}

.compa-slide.align-top .compa-slide-overlay {
  background: linear-gradient(to bottom, rgba(15, 5, 30, 0.9) 10%, rgba(0, 0, 0, 0.2) 90%);
}

.compa-slide.justify-right .compa-slide-overlay {
  background: linear-gradient(to left, rgba(15, 5, 30, 0.9) 10%, rgba(0, 0, 0, 0.2) 90%);
}

.compa-slide.justify-left .compa-slide-overlay {
  background: linear-gradient(to right, rgba(15, 5, 30, 0.9) 10%, rgba(0, 0, 0, 0.2) 90%);
}

.compa-slide-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
  max-width: 650px;
}

.compa-slide-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.compa-slide-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.compa-btn-slider {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: #6f42c1;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s;
}

.compa-btn-slider:hover {
  background-color: #5a32a3;
}

/* Controles flotantes del slider */
.compa-prev,
.compa-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3;
  border-radius: 4px;
  font-size: 1rem;
}

.compa-prev {
  left: 10px;
}

.compa-next {
  right: 10px;
}

/* Botón central inferior de Play/Pausa */
.compa-toggle-play {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.compa-toggle-play:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateX(-50%) scale(1.1);
}

@media (min-width: 768px) {
  .compa-slide {
    height: 480px;
    background-image: var(--bg-desktop);
  }

  .compa-slide-content {
    padding: 3rem;
  }

  .compa-slide-content h2 {
    font-size: 2.2rem;
  }

  .compa-slide-content p {
    font-size: 1.1rem;
  }
}

/* =============================================
   TARJETAS Y SECCIONES
   ============================================= */

.lg-card-grid-item {
  margin-bottom: 20px;
}

.lg-card-flex-column {
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.lg-card-header-btn {
  border-radius: 8px;
  margin: 0;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lg-card-divider {
  margin: 12px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lg-card-img-container {
  border-radius: 8px;
  overflow: hidden;
  padding: 5px;
  text-align: center;
}

.lg-card-img-thumb {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  cursor: pointer;
}

.lg-section-info-container {
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

.lg-section-title-wrapper {
  text-align: center;
  margin-bottom: 35px;
}

.lg-section-title-badge {
  display: flex;
  padding: 12px 30px;
  font-size: 1.6rem;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.lg-grid-2col-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.lg-info-card {
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lg-info-card-header {
  padding: 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.lg-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.lg-info-list-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.lg-info-bullet {
  margin-right: 10px;
  font-size: 1.3rem;
  line-height: 1;
}

.lg-info-btn-wrapper {
  margin-top: 25px;
  text-align: center;
}

.lg-info-btn-action {
  display: inline-block;
  padding: 10px 22px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}

.lg-popup-close-img {
  width: 28px;
  height: 28px;
  display: block;
}

.lg-popup-title-container {
  text-align: center;
  margin-bottom: 25px;
}

.lg-popup-main-title {
  display: inline-block;
  padding: 10px 25px;
  font-size: 1.4rem;
}

.lg-popup-upper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Forzar que el contenedor superior del modal sea un Flex row en pantallas grandes */
@media (min-width: 768px) {
  .lg-popup-upper-row {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
}

.lg-popup-img-col {
  padding: 15px;
}

.lg-popup-main-img {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lg-popup-options-col {
  padding: 15px;
}

.lg-popup-icon-img {
  width: 100%;
  height: auto;
}

.lg-popup-option-text {
  font-size: 15px;
  font-weight: 500;
}

.lg-popup-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 15px 0;
}

.lg-popup-grid-padding {
  padding: 10px;
}

.lg-popup-grid-item {
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

.lg-popup-grid-subtitle {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: bold;
}

.lg-popup-grid-text {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.lg-topbar-actions-inline {
  display: inline-block;
}


/* =============================================
   ESTILOS PARA LA FILA DE REDES SOCIALES (CURRICULUM)
   ============================================= */

.lg-social-container {
  margin: 2rem 0;
}

.lg-social-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 8px;
}

.lg-social-icon {
  fill: rgb(255, 255, 255);
  width: 3rem;
  height: 3rem;
  padding: 8px;
  filter: drop-shadow(rgba(0, 0, 0, 0.25) 0px 0.5px 1px);
}

.lg-hd-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
}

@media screen and (max-width: 600px) {
  .lg-social-icon {
    width: 2.3rem;
    height: 2.3rem;
  }

  .lg-grid-2col-responsive {
    grid-template-columns: 1fr; /* Una sola columna fluida */
    gap: 15px; /* Reducimos el espacio entre tarjetas en móvil */
    padding: 0 10px; /* Margen de seguridad interno para que no pegue a los bordes del cel */
    width: 100%;
    box-sizing: border-box;
  }

  .lg-info-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }

  .lg-info-list-item {
    word-break: break-word;
  }
  
  .lg-section-title-badge {
    flex-wrap: wrap-reverse;
    flex-direction: column;
  }

  .lg-popup-wrapper {
    padding-top: 65rem;
  }

  #lg-modal-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    overflow-y: auto !important;
  }

  .lg-btn-big-neon-in-hd {
    font-size: 1rem;
  }

  .compa-prev,
  .compa-next {
    top: unset;
    bottom: 15px;
  }
}

/* Por defecto en PC se oculta lo de móvil, y viceversa */
.solo-movil { display: none !important; }
.solo-pc { display: inline-block !important; } /* o block según tu diseño */

/* Cuando la pantalla sea menor o igual a 768px (Móviles) */
@media screen and (max-width: 768px) {
    .solo-movil { display: inline-block !important; }
    .solo-pc { display: none !important; }
}