:root {
  --fitma-primary: #181E4C;
  --fitma-secondary: #F86F00;
  --fitma-accent: #A863FF;
  --fitma-light: #F8F9FA;
  --fitma-dark: #111536;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--fitma-light);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
}

.bg-primary { background-color: var(--fitma-primary) !important; }
.text-primary { color: var(--fitma-primary) !important; }
.btn-primary {
  background-color: var(--fitma-primary);
  border-color: var(--fitma-primary);
}
.btn-primary:hover {
  background-color: var(--fitma-dark);
  border-color: var(--fitma-dark);
}
.bg-secondary { background-color: var(--fitma-secondary) !important; }
.text-secondary { color: var(--fitma-secondary) !important; }
.btn-secondary {
  background-color: var(--fitma-secondary);
  border-color: var(--fitma-secondary);
}
.btn-secondary:hover {
  background-color: #e06400;
  border-color: #e06400;
}
.border-primary { border-color: var(--fitma-primary) !important; }
.border-secondary { border-color: var(--fitma-secondary) !important; }

.fs-7 { font-size: 0.75rem; }
.tracking-wide { letter-spacing: 2px; }

.navbar {
  transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.hero {
  background-image: linear-gradient(to right, rgba(17, 21, 54, 0.9) 0%, rgba(17, 21, 54, 0.4) 50%, rgba(17, 21, 54, 0.1) 100%), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='2' fill='%23ffffff'/%3E%3Cline x1='0' y1='0' x2='40' y2='40' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='80' y1='0' x2='40' y2='40' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='0' y1='80' x2='40' y2='40' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='80' y1='80' x2='40' y2='40' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

.fw-extrabold { font-weight: 800; }

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

.scale-up {
  transform: scale(1.05);
  z-index: 2;
}

.text-accent { 
  color: var(--fitma-accent) !important; 
}

.glass-card {
  background: rgba(17, 21, 54, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 99, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  max-width: 450px;
  margin-left: auto;
}

.glass-card:hover {
  background: rgba(17, 21, 54, 0.65);
  border-color: rgba(248, 111, 0, 0.5);
}

.form-control-dark {
  background-color: rgba(30, 37, 94, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control-dark:focus {
  background-color: rgba(30, 37, 94, 0.8);
  border-color: var(--fitma-accent);
  box-shadow: 0 0 0 0.25rem rgba(168, 99, 255, 0.25);
  color: #ffffff;
}

.form-control-dark::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control-dark option {
  background-color: var(--fitma-dark-deep);
  color: #ffffff;
}

.hover-text-secondary:hover {
  color: var(--fitma-secondary) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.bg-dark-deep { background-color: var(--fitma-dark) !important; }
.bg-dark-light { background-color: #1e255e !important; }
.border-accent { border-color: var(--fitma-accent) !important; }

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  animation: none;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 991px) {
  .glass-card {
    margin-left: 0;
    max-width: 100%;
  }
  .hero {
    background-position: center center;
  }
  .mx-0 { margin-left: auto !important; margin-right: auto !important; }
  .scale-up { transform: scale(1); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}