/* === ESTILOS GENERALES === */
body {
  background-color: #121829;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #e0e6f0;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #f0f4ff;
  text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

hr {
  border-top: 3px solid #3b82f6;
  width: 120px;
  margin: 1rem auto 3rem auto;
  box-shadow: 0 0 6px rgba(59,130,246,0.5);
}

/* === NAVBAR === */
.navbar {
  background-color: #1f2a44;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.navbar-brand img {
  height: 40px;
  border-radius: 6px;
  filter: brightness(90%);
  transition: filter 0.3s ease;
}

.navbar-brand img:hover {
  filter: brightness(110%);
}

.navbar .nav-link {
  color: #e0e6f0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #3b82f6;
}

/* === BOTONES === */
.btn-primary,
.btn-outline-light {
  border-radius: 0.6rem;
  font-weight: 600;
  padding: 10px 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background-color: #3b82f6;
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

.btn-primary:hover {
  background-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37,99,235,0.8);
  color: white;
}

.btn-outline-light {
  color: #cbd5e1;
  border-color: #cbd5e1;
}

.btn-outline-light:hover {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-google {
  background-color: #db4437;
  color: white;
  font-weight: 600;
  border-radius: 0.6rem;
  box-shadow: 0 3px 10px rgba(219,68,55,0.6);
  transition: box-shadow 0.3s ease;
}

.btn-google:hover {
  box-shadow: 0 5px 15px rgba(219,68,55,0.9);
}

.btn-group button {
  flex: 1;
}

/* === FORMULARIOS === */
.form-control,
input.form-control, .form-control:focus {
  background-color: #1a2238;
  border: 1.5px solid #3b82f6;
  color: #e0e6f0;
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

input.form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

input.form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
  background-color: #223152;
  color: white;
}

.form-floating label {
  color: #94a3b8;
  padding-left: 1rem;
  user-select: none;
}

/* === PRODUCTOS === */
.product-card {
  background-color: #1c1f26;
  color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background-color: #2e2e2e;
}

.product-card img {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.product-card img:hover {
  transform: scale(1.05);
}

.badge-popular {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 50px;
}

/* === VIDEO === */
.video-bg {
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
}

.video-bg video.bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  z-index: 0;
  opacity: 0.15;
  border-radius: 14px;
  filter: grayscale(30%) brightness(70%);
}

.video-bg .video-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.video-content video {
  border-radius: 14px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 15px rgba(59,130,246,0.4);
  max-width: 100%;
  height: auto;
  flex: 1 1 45%;
  transition: transform 0.3s ease;
}

.video-content video:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(37,99,235,0.8);
}

/* === FOOTER === */
footer {
  background-color: #1f2a44;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.7);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffc107;
}

footer i {
  transition: color 0.3s ease, transform 0.3s ease;
  color: #cbd5e1;
  margin: 0 10px;
}

footer i:hover {
  color: #3b82f6;
  transform: scale(1.3);
}

/* === OTROS === */
.valores i {
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.valores i:hover {
  transform: scale(1.3);
  color: #60a5fa;
}

.rounded-4 {
  border-radius: 1rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.welcome-section {
  background-color: #1A3A4F;
  padding: 50px 0;
  color: white;
}

.welcome-section h1,
.mi-titulo-grande {
  font-size: 3.5rem;
  font-weight: bold;
}

.main-container {
  max-width: 480px;
  margin: 5rem auto;
  background-color: #1a2238;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(59,130,246,0.6);
}

.main-container h3 {
  text-align: center;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 2rem;
  text-shadow: 0 0 6px rgba(59,130,246,0.7);
}

.card {
  background-color: #1f2a44;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #e0e6f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.7);
}

.card-title {
  color: #60a5fa;
  font-weight: 700;
}

.card-text,
ul.card-text {
  color: #cbd5e1;
  padding-left: 1.2rem;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: #94a3b8;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px solid #3b82f6;
}

.divider:not(:empty)::before {
  margin-right: .75em;
}

.divider:not(:empty)::after {
  margin-left: .75em;
}



.video-pegar-derecha {
  display: block;
  margin-left: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}