:root {
  /* Variables de color */
  --color-principal: #1265a6;
  --color-oscuro: #1b1d39;
  --color-intermedio: #1c355e;
  --color-gris: #706f6f;
}

/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Dimensiones generales del documento */
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Poppins', 'Arial', sans-serif;
  color: #fff;
  background-color: var(--color-oscuro);
}

/* Desactiva el scroll */
body.inicio-page {
  overflow: hidden;
}


/* VIDEO DE FONDO */
.inicio {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* CAPA SEMITRANSPARENTE SOBRE EL VIDEO */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* color oscuro con opacidad */
  z-index: 1.5;
}

/* CONTENIDO ENCIMA DEL VIDEO */
.contenido-video {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: aparecer 1.2s ease forwards;
}

/* Animación al cargar el contenido */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.contenido-video h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow:
    0 0 10px rgba(0,0,0,0.6),
    0 0 20px rgba(0,0,0,0.4),
    0 5px 25px rgba(0,0,0,0.8);
  font-weight: 900;
  letter-spacing: 1px;
}

.contenido-video p {
  font-size: 1.5rem;
  color: #ddd;
  text-shadow:
    0 0 5px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 2.5rem;
  font-family: 'Poppins', sans-serif;
}

/* BOTÓN Conocenos*/
.btn-conocenos {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background-color: var(--color-principal);
  color: #fff;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 2rem;
}
.btn-conocenos:hover {
  background-color: #0e4e85;
  transform: scale(1.05);
}


/* CONTENEDOR FLOTANTE */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  z-index: 9999;
  gap: 10px;
}

/* TEXTO A LA IZQUIERDA DEL BOTÓN */
.whatsapp-label {
  background-color: white;
  color: #25D366;
  padding: 10px 15px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* sombra más visible */
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-container:hover .whatsapp-label {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* BOTÓN REDONDO DE WHATSAPP */
.whatsapp-float {
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2rem;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}
