/*!
  * Item: Kitzu
  * Description: Personal Portfolio Template
  * Author/Developer: Exill
  * Author/Developer URL: https://themeforest.net/user/exill
  * Version: v2.0.1
  * License: Themeforest Standard Licenses: https://themeforest.net/licenses
  */

/*----------- ADD YOUR CUSTOM CSS STYLES BELOW -----------*/

.on {
  display: flex !important;
}

.on-block {
  display: block !important;
}

.off {
  display: none !important;
}

.flex-y {
  flex-direction: column !important;
}

#logo {
  width: 17vw;
  opacity: 0.9;
}

#main-video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-position: center center;
  -moz-background-size: contain;
  background-size: contain;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 50;
}

.z-index-100 {
  z-index: 100;
}

.opcion {
  font-weight: 500;
  font-size: 16.5px !important;
  text-shadow: 1.5px 1.5px 2.5px #00122b;
  color: rgb(223, 223, 223) !important;
}

.sombra {
  text-shadow: 3px 3px 4px #00122b;
}

.sombra2 {
  text-shadow: 2px 2px 3px #00122b;
}

.opcion:hover {
  text-decoration: underline;
  font-size: 15.5px !important;
}

.redSocial {
  width: 38px;
}

.redSocial:hover {
  width: 44px;
  opacity: 0.9;
}

.redSocial2 {
  width: 35px;
}

.redSocial2:hover {
  width: 41px;
  opacity: 1;
}

.redSocial3 {
  width: 38px;
}

.redSocial3:hover {
  width: 44px;
  opacity: 0.9;
}

.opacity-0-8 {
  opacity: 0.8;
}

.opacity-0-6 {
  opacity: 0.6;
}

.opacity-0-7 {
  opacity: 0.7;
}

.opacity-0-9 {
  opacity: 0.9;
}

#video2Div {
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

#video2 {
  border-radius: 10px;
  box-shadow: 5px 5px 10px #000000;
  width: 80%;
}

#contenedorCentral {
  position: relative;
}

#mobileInfo {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 2px;
  align-items: center;
  justify-content: center;
  width: 80%;
}

#socialListaMobile {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.redSocialMobile {
  width: 13vw;
}

.redSocialMobile:hover {
  width: 12vw;
  opacity: 0.9;
}

.redSocialMobile2 {
  width: 12vw;
}

.redSocialMobile2:hover {
  width: 10vw;
  opacity: 1;
}

.redSocialMobile3 {
  width: 12vw;
}

.redSocialMobile3:hover {
  width: 10vw;
  opacity: 0.9;
}

.redSocialContacto {
  width: 13vw;
}

.redSocialContacto:hover {
  width: 12vw;
  opacity: 0.9;
}

.redSocialContacto2 {
  width: 12vw;
}

.redSocialContacto2:hover {
  width: 10vw;
  opacity: 1;
}

.redSocialContacto3 {
  width: 12vw;
}

.redSocialContacto3:hover {
  width: 10vw;
  opacity: 0.9;
}

#avisoLegalMobile {
  font-size: 3.5vw;
  font-weight: 500;
  text-align: center;
  text-shadow: 1px 1px 2px #00122b;
  color: rgb(223, 223, 223) !important;
  margin-bottom: 8px;
}

.mt-ios {
  margin-top: 35vh !important;
}

#socialListaContacto {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
}

.mt-p {
  margin-top: 30px !important;
}

.mt-n {
  margin-top: -35px !important;
}

.mt-p2 {
  margin-top: 8px !important;
}

#headline {
  font-size: 35px !important;
}

#headline>span {
  font-size: 35px !important;
}

#financiamiento {
  font-size: 18px !important;
}

/* TABLETS Y ESCRITORIOS */

@media screen and (min-width: 700px) {

  #logo {
    width: 80px;
  }

  .opcion {
    font-size: 22px !important;
  }

  .opcion:hover {
    font-size: 20px !important;
  }

  #video2 {
    width: 40%;
  }

  .redSocialContacto {
    width: 3.5vw;
  }

  .redSocialContacto:hover {
    width: 3vw;
    opacity: 0.9;
  }

  .redSocialContacto2 {
    width: 2.5vw;
  }

  .redSocialContacto2:hover {
    width: 2vw;
    opacity: 1;
  }

  .redSocialContacto3 {
    width: 2.5vw;
  }

  .redSocialContacto3:hover {
    width: 2vw;
    opacity: 0.9;
  }

}

@media screen and (min-width: 768px) {
  #mobileInfo {
    display: none;
  }
}

/* ===========================
   LIGHTBOX DE SERVICIOS - CUSTOMIZATIONS
   =========================== */

.lity-content {
  box-sizing: border-box;
  max-width: 95vw;
  max-height: 90vh;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.lb-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Imagen */
.lb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Bloque de texto */
.lb-text {
  color: #fff;
  line-height: 1.7;
  text-align: center;
  word-wrap: break-word;
}

/* Título y subtítulo */
.lb-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.lb-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #d0d0d0;
  margin-bottom: 1rem;
}

/* Párrafos */
.lb-p {
  font-size: 1rem;
  margin: 0 0 1rem;
  opacity: 0.95;
}

/* Adaptación escritorio */
@media (min-width: 768px) {
  .lb-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
  }

  .lb-img {
    width: 45%;
    max-height: 80vh;
  }

  .lb-text {
    width: 55%;
    padding-right: 0.5rem;
  }

  .lb-title {
    font-size: 2rem;
  }

  .lb-p {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .lity-content {
    padding: 1.25rem;
  }

  .lb-box {
    padding: 1rem;
  }

  .lb-title {
    font-size: 1.4rem;
  }
}

/* ===========================
   Botón Pedir Cita en Navbar
   =========================== */
/* Contenedor del botón dentro del menú */
#navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pedir-cita-btn--mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  letter-spacing: 0.08rem;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
}

.nav-item-cta {
  display: flex;
  align-items: center;
  margin-right: 18px;
}

.nav-item-cta--desktop {
  display: none;
}

.pedir-cita-btn {
  letter-spacing: 0.1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff !important;
  padding: 0.4rem 1.5rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.500);
  background: rgba(0, 18, 43, 0.514);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  text-shadow: 3px 3px 4px #00122b;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pedir-cita-btn:hover,
.pedir-cita-btn:focus {
  color: #ffffff !important;
  text-decoration: none;
  background: rgba(0, 18, 43, 0.55);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px) scale(1.02);
}

.pedir-cita-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .nav-item-cta--desktop {
    display: none !important;
  }

  .nav-item-cta {
    width: 100%;
    margin: 10px 0 0;
  }

  .nav-item-cta .pedir-cita-btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }

  .navbar-quick-actions {
    gap: 6px;
  }

  .pedir-cita-btn--mobile {
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    padding: 0.3rem 0.9rem;
  }
}

@media (min-width: 768px) {
  .pedir-cita-btn--mobile {
    display: none !important;
  }

  .nav-item-cta--desktop {
    display: flex;
  }
}
