.navbar-transparent {
  background-color: transparent !important;
  transition: background-color 0.3s ease;
}

.navbar-blur {
  background-color: rgba(0,0,0,0.5) !important; /* semitransparente */
  backdrop-filter: blur(8px); /* efecto difuminado */
  -webkit-backdrop-filter: blur(8px); /* soporte Safari */
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-colored {
  background-color: rgba(0,0,0,0.85) !important; /* ejemplo: negro opaco */
  transition: background-color 0.3s ease;
}

#lang-toggle {
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#lang-toggle:hover {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.card img {
  /*object-fit: contain;*/
}
.card p {
  margin: 0;
}

.mks-display {
  position: relative;
  width: 100%;
  max-width: 300px;   /* tamaño máximo en desktop */
  aspect-ratio: 300 / 649; /* mantiene proporción */
  margin: auto;
}

.mks-display .carousel-inner img {
  width: 91%;
  height: 91%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-top: 34px;
  margin-left: 12px;
}

.overlay-smartphone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   /* exactamente igual al carrusel */
  height: 100%;
  pointer-events: none; /* no bloquea interacción */
  object-fit: cover;
}

.motion-display {
  position: relative;
  width: 100%;
  max-width: 300px;   /* mismo ancho que el mockup */
  aspect-ratio: 300 / 649; /* mantiene proporción */
  margin: auto;
}

.motion-video {
  width: 100%;
  height: 100%;
  object-fit: scale-down;   /* recorta el video para encajar */
  border-radius: 0;
  display: block;
}

.video-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-nav {
  text-align: center;
}