/* ===================================================
   CEI – Consultoría Empresarial Inteligente
   Estilos globales compartidos
   =================================================== */

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(164, 204, 212, 0.3);
  box-shadow: 0 20px 25px -5px rgba(48, 76, 100, 0.05);
}

/* ---------- Dot Pattern ---------- */
.dot-pattern {
  background-image: radial-gradient(#a4ccd4 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.1;
  pointer-events: none;
}

/* ---------- Glow effects ---------- */
.glow-teal {
  box-shadow: 0 0 20px rgba(5, 103, 125, 0.3);
}

.ai-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #26788E;
  box-shadow: 0 0 8px #26788E;
  animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #26788E; }
  50%       { opacity: 0.6; box-shadow: 0 0 16px #26788E, 0 0 32px rgba(38, 120, 142, 0.4); }
}

/* ---------- Navegación móvil ---------- */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* ---------- Animación de entrada ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Bento grid items ---------- */
.bento-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(24, 53, 76, 0.12);
}

/* ---------- Input focus glow ---------- */
.input-field {
  border: 1.5px solid #A4CCD4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  background: #ffffff;
  color: #191c1d;
  outline: none;
}
.input-field:focus {
  border-color: #05677d;
  box-shadow: 0 0 0 3px rgba(5, 103, 125, 0.12);
}
.input-field::placeholder {
  color: #73777d;
}

/* ---------- Floating label ---------- */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #43474d;
  margin-bottom: 0.5rem;
}

/* ---------- Toast notification ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #18354c;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(24, 53, 76, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Nav active link ---------- */
.nav-link-active {
  font-weight: 700;
  color: #18354c !important;
  border-bottom: 2px solid #18354c;
  padding-bottom: 2px;
}

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, #05677d, #E2480C);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Stat counter ---------- */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #18354c;
}

/* ---------- Team card ---------- */
.team-card img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.team-card:hover img {
  filter: grayscale(0%);
}

/* ---------- Material icons size helpers ---------- */
.icon-sm  { font-size: 20px; }
.icon-md  { font-size: 28px; }
.icon-lg  { font-size: 40px; }
.icon-xl  { font-size: 64px; }
.icon-2xl { font-size: 96px; }
.icon-3xl { font-size: 128px; }

/* ---------- Responsive typography ---------- */
@media (max-width: 768px) {
  .text-headline-xl { font-size: 36px !important; }
  .text-headline-lg { font-size: 26px !important; }
}
