:root {
  /* Paleta Institucional Wayuu Moderna */
  --wt-primary:  #1a5276;
  --wt-accent:   #d4a017;
  --wt-teal:     #148f77;
  --wt-light:    #f5f7fa;
  --wt-dark:     #1c2b39;
  --wt-muted:    #6c757d;

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #1a5276 0%, #1f618d 100%);
  --grad-accent:  linear-gradient(135deg, #d4a017 0%, #e8b420 100%);
  --grad-teal:    linear-gradient(135deg, #148f77 0%, #17a589 100%);

  /* Sombras */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Body */
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--wt-dark);
  background-color: var(--wt-light);
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--wt-primary);
}

/* Utilidades de color */
.text-wt-primary { color: var(--wt-primary) !important; }
.text-wt-accent  { color: var(--wt-accent)  !important; }
.text-wt-teal    { color: var(--wt-teal)    !important; }

/* Navbar */
.navbar {
  background: var(--grad-primary) !important;
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92) !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--wt-accent) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--wt-accent);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Botón principal */
.btn-wt {
  background: var(--grad-teal);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-wt:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: white;
}

/* Tarjetas */
.card-wt {
  background: white;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  overflow: hidden;
  border-top: 4px solid var(--wt-accent);
}

.card-wt:hover {
  transform: translateY(-5px);
}

/* Borde decorativo */
.wt-border {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Footer */
footer.bg-dark {
  background: #1e2630 !important;
  color: #adb5bd !important;
}

footer h5.text-success {
  color: var(--wt-accent) !important;
  margin-bottom: 1.5rem;
}

.footer-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- RESPONSIVE CARRUSEL --- */
.carousel-img-responsive {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  background-color: transparent;
}

@media (max-width: 768px) {
  .carousel-img-responsive {
    object-fit: contain;
  }
}

/* --- BOTÓN WHATSAPP FLOTANTE --- */
.whatsapp-btn-modern {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 9999;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: breathe 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn-modern:hover {
  transform: scale(1.1);
  background-color: #20BA5C;
}

.whatsapp-btn-modern i {
  color: #fff;
  font-size: 50px;
  animation: beat 2s ease-in-out infinite;
}

@keyframes breathe {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

/* --- BOTÓN ACCESIBILIDAD --- */
.accessibility-container {
  position: fixed;
  bottom: 160px;
  right: 70px;
  z-index: 10000;
}

.accessibility-btn {
  width: 50px;
  height: 50px;
  background-color: var(--wt-dark);
  color: var(--wt-accent);
  border: 2px solid var(--wt-accent);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.accessibility-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: #253545;
}

.accessibility-menu {
  display: none;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 10px;
  width: 220px;
  position: absolute;
  bottom: 60px;
  right: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.accessibility-menu.show {
  display: block;
  animation: fadeInUp 0.3s;
}

.accessibility-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px;
  color: var(--wt-dark);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s;
  margin-bottom: 2px;
}

.accessibility-menu button:hover {
  background-color: var(--wt-light);
  color: var(--wt-primary);
  font-weight: 600;
}

.accessibility-menu button i {
  width: 25px;
  text-align: center;
  margin-right: 5px;
  color: var(--wt-teal);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
