/* =========================================================
   EFE DIGITAL MEDIA - ULTRA-CLEAR HIGH-CONTRAST LIGHT THEME
   ========================================================= */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* High-Contrast Palette */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-sub: #334155;

  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;

  --accent-pink: #db2777;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: #f8fafc;
  color: #0f172a;
}

/* Force crystal clear heading colors by default */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #0f172a;
  font-weight: 800;
}

p {
  color: #334155;
}

/* Ensure no text is invisibly washed out */
.text-slate-900 { color: #0f172a !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-500 { color: #64748b !important; }

/* Utilities */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }

/* Navigation Dropdown */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 20rem;
  background: #ffffff !important;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

.dropdown-wrapper:hover .dropdown-menu,
.group:hover .dropdown-menu,
.group\/dropdown:hover .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto;
}

#mobileDrawer.hidden {
  display: none !important;
}

#mobileDrawer:not(.hidden) {
  display: block !important;
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  #mobileDrawer { display: none !important; }
}

@media (max-width: 1023px) {
  .lg\:flex { display: none !important; }
  .lg\:hidden { display: flex !important; }
  .site-header nav { display: none !important; }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Gradient Text (Ensures fallback if background-clip fails) */
.text-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #db2777 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #4f46e5;
  display: inline-block;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #7c3aed;
  display: inline-block;
}

/* Cards */
.bg-glass-card, .feature-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #a5b4fc;
  box-shadow: 0 16px 30px -10px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Navigation Links */
.nav-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: #1e293b !important;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #4f46e5 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #4f46e5, #db2777);
  border-radius: 2px;
}

/* Dropdown items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: #4f46e5 !important;
  transform: translateX(3px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.35);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
  color: #ffffff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  text-decoration: none;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #64748b !important;
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.btn-secondary * {
  color: #0f172a !important;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.4) !important;
}

.btn-whatsapp:hover {
  box-shadow: 0 15px 30px -5px rgba(5, 150, 105, 0.55) !important;
  color: #ffffff !important;
}

.btn-whatsapp * {
  color: #ffffff !important;
}

/* Feature Icon Wrapper */
.icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

/* Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="datetime-local"], select, textarea {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

input::placeholder, textarea::placeholder {
  color: #94a3b8 !important;
}

/* =========================================================
   LUXURY LOGO GLOW BADGE (Cyber-Neon Agency Emblem)
   ========================================================= */
.logo-glow-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 100%;
}

.logo-glow-ambient {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
  border-radius: 1.1rem;
  filter: blur(5px);
  opacity: 0.75;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.logo-glow-wrapper:hover .logo-glow-ambient {
  opacity: 1;
  filter: blur(8px);
}

.logo-glow-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(2, 6, 23, 0.45), 0 0 15px rgba(6, 182, 212, 0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  flex-shrink: 0;
}

.logo-glow-wrapper:hover .logo-glow-card {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(6, 182, 212, 0.7);
}

.logo-glow-img {
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.55));
  transition: transform 0.25s ease;
}

.logo-glow-wrapper:hover .logo-glow-img {
  transform: scale(1.05);
}

.logo-glow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

