/* ==========================================================================
   LARASYS - Estilos Principales
   Colores de Marca:
   - Cyan/Azul LARASYS: #0082b2 (secundario #00a8e8, #0284c7)
   - Naranja LARASYS: #ed701b (secundario #f97316, #ff7a18)
   ========================================================================== */

:root {
  /* Brand Identity Colors */
  --brand-cyan: #0082b2;
  --brand-cyan-light: #00a8e8;
  --brand-cyan-glow: rgba(0, 168, 232, 0.35);
  
  --brand-orange: #ed701b;
  --brand-orange-light: #f97316;
  --brand-orange-glow: rgba(237, 112, 27, 0.35);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Theme: Illuminated Modern Dark (Default) */
  color-scheme: dark;
  --bg-page: #0d1527;
  --bg-page-gradient: radial-gradient(ellipse 90% 70% at 50% 0%, #152445 0%, #0d1527 100%);
  --bg-header: rgba(13, 21, 39, 0.88);
  --bg-section-alt: rgba(16, 26, 49, 0.7);
  --bg-card: rgba(21, 33, 61, 0.75);
  --bg-card-hover: rgba(30, 47, 86, 0.85);
  --bg-card-solid: #15223f;
  --bg-input: rgba(13, 21, 39, 0.9);
  --bg-pill: rgba(30, 45, 74, 0.8);

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-focus: var(--brand-cyan-light);

  --text-heading: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --glow-orb-opacity: 0.28;
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.65);
}

/* Theme: Crisp Modern Light Mode */
html.light {
  color-scheme: light;
  --bg-page: #f8fafc;
  --bg-page-gradient: linear-gradient(180deg, #edf5fd 0%, #f8fafc 25%, #ffffff 100%);
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-section-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #e2e8f0;
  --bg-card-solid: #ffffff;
  --bg-input: #ffffff;
  --bg-pill: #e2e8f0;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: var(--brand-cyan);

  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --glow-orb-opacity: 0.1;
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-page);
  background-image: var(--bg-page-gradient);
  background-attachment: fixed;
  color: var(--text-body);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-heading);
}

/* Custom Text Selection */
.selection-brand ::selection {
  background-color: var(--brand-cyan);
  color: #ffffff;
}

/* Glow Orbs in background */
.glow-orb {
  position: absolute;
  width: 45rem;
  height: 45rem;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: var(--glow-orb-opacity);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glow-cyan {
  background: radial-gradient(circle, var(--brand-cyan-light) 0%, rgba(0, 130, 178, 0) 70%);
}

.glow-orange {
  background: radial-gradient(circle, var(--brand-orange) 0%, rgba(237, 112, 27, 0) 70%);
}

/* Text Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0082b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fb923c 0%, #ed701b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom shadows */
.shadow-cyan-glow {
  box-shadow: 0 10px 25px -5px var(--brand-cyan-glow);
}

.shadow-orange-glow {
  box-shadow: 0 10px 25px -5px var(--brand-orange-glow);
}

/* Header Styles */
.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, var(--brand-cyan-light), var(--brand-orange));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, var(--brand-cyan) 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px var(--brand-cyan-glow);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.btn-secondary {
  background-color: rgba(30, 41, 59, 0.6);
  color: var(--slate-200);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-blur-sm: 8px;
}

.btn-secondary:hover {
  background-color: rgba(51, 65, 85, 0.8);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(34, 197, 94, 0.4);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-cyan {
  background-color: rgba(0, 130, 178, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.3);
  color: #38bdf8;
}

.badge-orange {
  background-color: rgba(237, 112, 27, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #fb923c;
}

/* Service Filter Tabs */
.filter-btn {
  background-color: rgba(15, 23, 42, 0.8);
  color: var(--slate-400);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--slate-100);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 130, 178, 0.25), rgba(237, 112, 27, 0.25));
  color: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 15px rgba(0, 130, 178, 0.2);
}

/* Service Cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6);
}

.service-card:hover::before {
  opacity: 1;
}

.border-gradient-glow {
  border-color: rgba(237, 112, 27, 0.3);
  box-shadow: 0 0 25px -5px rgba(237, 112, 27, 0.15);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CLIENTS MARQUEE (Carrusel Infinito) */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  min-width: 100%;
  animation: marqueeScroll 35s linear infinite;
  padding: 0.75rem 0;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  flex-shrink: 0;
}

.client-logo-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 1.35rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.client-logo-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(0, 130, 178, 0.25);
}

.client-logo-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.client-logo-card:hover .client-logo-name {
  color: var(--brand-cyan-light);
}

html.light .client-logo-card:hover .client-logo-name {
  color: var(--brand-cyan);
}

/* TESTIMONIALS SLIDER */
.testimonial-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: var(--slate-700);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 1.75rem;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-orange));
}

/* CONTACT SECTION & FORMS */
.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-channel-card:hover {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}

.contact-form-container {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-300);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  background-color: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 130, 178, 0.25);
  background-color: rgba(2, 6, 23, 0.95);
}

.form-input::placeholder {
  color: var(--slate-500);
}

.select-custom {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25em;
  padding-right: 2.5rem;
}

/* FAQ Accordion */
.faq-item {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  background-color: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-cyan);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--brand-orange);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.6);
  z-index: 100;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: #25d366;
  opacity: 0.4;
  animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes pingPulse {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp .tooltip {
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--slate-900);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.25rem;
    height: 3.25rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }

  .testimonial-box {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   THEME TOGGLE & LIGHT MODE INTEGRATION
   ========================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
  background-color: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.25s ease;
  user-select: none;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-cyan);
  background-color: var(--bg-card-hover);
  color: var(--text-heading);
  transform: translateY(-1px);
}

/* Light mode overrides for semantic and Tailwind classes */
html.light .header {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: #e2e8f0 !important;
}

html.light #mobileMenu {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: #e2e8f0 !important;
}

html.light .nav-link {
  color: #334155 !important;
}

html.light .nav-link:hover {
  color: #0082b2 !important;
}

html.light .mobile-nav-link {
  color: #1e293b !important;
}

html.light .mobile-nav-link:hover {
  color: #0082b2 !important;
}

html.light h1, 
html.light h2, 
html.light h3, 
html.light h4, 
html.light h5, 
html.light h6,
html.light .text-white {
  color: #0f172a !important;
}

html.light .text-slate-100,
html.light .text-slate-200,
html.light .text-slate-300 {
  color: #334155 !important;
}

html.light .text-slate-400 {
  color: #64748b !important;
}

html.light .text-slate-500 {
  color: #94a3b8 !important;
}

/* Section backgrounds in Light Mode */
html.light section#clientes {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.light section#testimonios {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.light section.bg-slate-950\/60 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* Hero Status Pill in Light Mode */
html.light .animate-fade-in {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Stat cards in Hero */
html.light .border-slate-800\/60 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Service Cards in Light Mode */
html.light .service-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

html.light .service-card:hover {
  background: #e2e8f0 !important; /* Se oscurece notablemente al pasar el cursor */
  border-color: rgba(0, 130, 178, 0.45) !important;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.16) !important;
}

html.light .service-card.border-gradient-glow:hover {
  border-color: rgba(237, 112, 27, 0.55) !important;
}

html.light .service-card .border-t {
  border-color: #f1f5f9 !important;
}

html.light .service-card:hover .border-t {
  border-color: #cbd5e1 !important;
}

html.light .service-card:hover h3.group-hover\:text-cyan-400 {
  color: #0082b2 !important;
}

html.light .service-card:hover h3.group-hover\:text-orange-400 {
  color: #ed701b !important;
}

html.light .service-icon-box.bg-cyan-950\/60 {
  background-color: #e0f2fe !important;
  border-color: #bae6fd !important;
}

html.light .service-icon-box.bg-orange-950\/60 {
  background-color: #ffedd5 !important;
  border-color: #fed7aa !important;
}

/* Filter buttons in Light Mode */
html.light .filter-btn {
  background-color: #ffffff;
  color: #64748b;
  border-color: #e2e8f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

html.light .filter-btn:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

html.light .filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 130, 178, 0.12), rgba(237, 112, 27, 0.12)) !important;
  color: #0082b2 !important;
  border-color: #0082b2 !important;
  box-shadow: 0 4px 12px rgba(0, 130, 178, 0.15) !important;
}

/* Buttons in Light Mode */
html.light .btn-secondary {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

html.light .btn-secondary:hover {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Testimonial Box in Light Mode */
html.light .testimonial-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08) !important;
}

html.light #prevTestimonial,
html.light #nextTestimonial {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

html.light #prevTestimonial:hover,
html.light #nextTestimonial:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html.light .dot {
  background-color: #cbd5e1;
}

html.light .dot.active {
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-orange));
}

/* Contact Cards and Form in Light Mode */
html.light .contact-channel-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

html.light .contact-channel-card:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

html.light .contact-channel-card .bg-emerald-950\/60 {
  background-color: #d1fae5 !important;
  border-color: #a7f3d0 !important;
}

html.light .contact-channel-card .bg-cyan-950\/60 {
  background-color: #e0f2fe !important;
  border-color: #bae6fd !important;
}

html.light .contact-channel-card .bg-orange-950\/60 {
  background-color: #ffedd5 !important;
  border-color: #fed7aa !important;
}

html.light .contact-form-container {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1) !important;
}

html.light .form-label {
  color: #334155;
}

html.light .form-input {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .form-input:focus {
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 130, 178, 0.15) !important;
}

html.light .form-input::placeholder {
  color: #94a3b8;
}

/* FAQ in Light Mode */
html.light .faq-item {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

html.light .faq-item[open] {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

html.light .faq-question {
  color: #0f172a !important;
}

html.light .faq-answer {
  color: #334155 !important;
}

/* Footer: Rich contrast dark anchor */
html.light footer {
  background-color: #0a0f1d !important;
  border-top-color: #1e293b !important;
}

html.light footer .text-white {
  color: #ffffff !important;
}

html.light footer .text-slate-400 {
  color: #94a3b8 !important;
}

html.light footer .text-slate-300 {
  color: #cbd5e1 !important;
}

html.light footer .border-slate-800,
html.light footer .border-slate-800\/80 {
  border-color: #1e293b !important;
}

/* Cross-link cards on dedicated service pages in Light Mode */
html.light a.bg-slate-900\/50 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

html.light a.bg-slate-900\/50:hover {
  background-color: #e2e8f0 !important;
  border-color: var(--brand-cyan) !important;
}

/* ==========================================================================
   SERVICES DROPDOWN MENU (Desktop & Mobile)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
  color: inherit;
}

.nav-dropdown-chevron {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-cyan-light);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  width: 19rem;
  background: rgba(13, 21, 39, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
}

/* Puente invisible para que no se cierre al mover el mouse hacia abajo */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background-color: rgba(30, 47, 86, 0.85);
}

.nav-dropdown-item-title {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--brand-cyan-light);
}

.nav-dropdown-item-desc {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.nav-dropdown-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0.35rem 0.5rem;
}

/* Light mode overrides for Dropdown */
html.light .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 38px -10px rgba(15, 23, 42, 0.15) !important;
}

html.light .nav-dropdown-item:hover {
  background-color: #e2e8f0 !important;
}

html.light .nav-dropdown-item-title {
  color: #0f172a !important;
}

html.light .nav-dropdown-item:hover .nav-dropdown-item-title {
  color: #0082b2 !important;
}

html.light .nav-dropdown-item-desc {
  color: #64748b !important;
}

html.light .nav-dropdown-divider {
  background-color: #e2e8f0 !important;
}


