/* Tooltip para el botón flotante */
.btn-flotante-inicio {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: linear-gradient(135deg, #2563eb 60%, #0ea5e9 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,64,175,0.18);
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-flotante-inicio:hover {
  box-shadow: 0 8px 32px 0 #109FFF44, 0 2px 8px 0 #69A9FF22;
  transform: scale(1.08);
}
.btn-flotante-inicio svg {
  width: 1.6rem;
  height: 1.6rem;
  color: #fff;
  display: block;
  stroke: #fff;
}
.btn-flotante-inicio .tooltip-flotante {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background: #23263a;
  color: #fff;
  text-align: left;
  border-radius: 0.5em;
  padding: 0.35em 0.9em;
  position: absolute;
  left: 120%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 8px 0 #23263a33;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  white-space: nowrap;
  min-width: 110px;
}
.btn-flotante-inicio:hover .tooltip-flotante,
.btn-flotante-inicio:focus .tooltip-flotante {
  visibility: visible;
  opacity: 1;
}
.btn-flotante-izq {
  top: 2rem;
  left: 2rem;
  bottom: auto;
  right: auto;
}
/* Ajuste de iconos sociales en el footer para herramientas y landing */
.widi-footer .group svg,
.widi-footer .group .fa,
.widi-footer .group .fab,
.widi-footer .group .fas {
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
  min-height: 1.25rem !important;
  font-size: 1.25rem !important;
  line-height: 1.25rem !important;
  vertical-align: middle;
  display: inline-block;
}
/* Estilos exclusivos para index.html */
/* Campos de formulario contacto */
/* --- FORMULARIO DE CONTACTO UNIFICADO --- */
.form-contacto-input, .form-contacto-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(31,41,51,0.90) !important; /* bg-secondary-800/90 */
  color: #fff !important;
  border: 1.5px solid #374151; /* border-secondary-700/50 */
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  box-shadow: 0 2px 8px 0 rgba(31,41,51,0.10);
}
/* Eliminado: el fondo y color no cambian al focus, solo el borde y sombra si se desea */
.form-contacto-input:focus, .form-contacto-textarea:focus {
  border-color: #3AB1FF;
  outline: none;
  box-shadow: 0 4px 16px 0 rgba(58,177,255,0.10);
}
.form-contacto-input::placeholder, .form-contacto-textarea::placeholder {
  color: #9CA3AF; /* placeholder-secondary-300 */
}
/* Eliminado: el fondo y color no cambian por la clase filled, solo por JS */


/* Header visual oscuro tipo footer */
header.fixed {
  background: linear-gradient(180deg, #0a0a13 90%, rgba(10,10,19,0.85) 100%) !important;
  border-bottom: 1.5px solid #23263a !important;
  box-shadow: 0 4px 24px 0 #0a0a13cc;
}

/* Hero visual oscuro tipo footer */
#hero {
  background: linear-gradient(180deg, #0a0a13 0%, #181f3a 100%) !important;
}

/* Servicios */
.service-item {
  background: linear-gradient(135deg, #0A192F 80%, #109FFF 20%);
  border-radius: 1.5em;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px 0 #109FFF22;
  border: 1px solid #1F2933;
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: transform, box-shadow;
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 #109FFF44, 0 2px 8px 0 #69A9FF22;
  transform: scale(1.03);
}
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #109FFF 60%, #69A9FF 100%);
  border-radius: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px 0 #109FFF33;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-item:hover .service-icon {
  box-shadow: 0 4px 16px 0 #109FFF55;
  transform: scale(1.08);
}

/* Propuesta de valor, FAQ, proyectos, blog, etc. */
/* .value-card rule set removed because it was empty */

/* Otros estilos landing */

.animate-glow {
  background: linear-gradient(90deg, #69A9FF 0%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px #fff, 0 0 32px #69A9FF88;
  animation: glowText 2.5s ease-in-out infinite alternate;
}
@keyframes glowText {
  0% { text-shadow: 0 0 8px #fff, 0 0 16px #69A9FF44; }
  100% { text-shadow: 0 0 32px #fff, 0 0 64px #69A9FFcc; }
}

/* Animaciones */
.float-delay-2 { animation-delay: -2s !important; }
.float-delay-3 { animation-delay: -3s !important; }
.float-delay-4 { animation-delay: -4s !important; }
.float-delay-1 { animation-delay: -1s !important; }
.float-delay-0-2 { animation-delay: 0.2s !important; }
.float-delay-0-4 { animation-delay: 0.4s !important; }
.float-delay-0-6 { animation-delay: 0.6s !important; }

.aviso-error { display: none; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Estilos del logo para header y footer */
/* Logo header más rectangular, estrecho y bordes redondeados */
/* Logo header más rectangular, más bajo y radios menores */
.logo-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  background: transparent;
  border: none;
  border-radius: 0.85rem;
  padding: 0.05em 1.1em;
  min-width: 90px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}
/* Glow más claro y rectangular */
/* Glow más claro, bajo y rectangular */
.logo-header .logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  border-radius: 0.85rem;
  background: #C9E5FD;
  border: none;
  opacity: 0.85;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px 0 #C9E5FD33;
}
.logo-header:hover .logo-glow {
  opacity: 0.9;
  filter: none;
  box-shadow: 0 4px 24px 0 #109FFF55, 0 1px 8px 0 #69A9FF33;
  transform: translate(-50%, -50%) scale(1.05);
}
/* Letras en negrita */
.logo-header .logo-wdi, .logo-header .logo-i {
  position: relative;
  z-index: 2;
  font-weight: 700;
}
.logo-wdi {
  color: #002060;
  text-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.logo-i {
  color: #0070C0;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* ...agrega aquí más reglas según se modularice... */

/* --- MAPA PROYECTOS --- */
#map {
  width: 100%;
  max-width: 1200px;
  height: 420px;
  margin: 0 auto 32px auto;
  position: relative;
  z-index: 10;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
}
.leaflet-container {
  background: #181f3a !important;
  border-radius: 0;
  box-shadow: none;
}
.leaflet-popup-content-wrapper {
  background: #181f3a;
  color: #fff;
  border-radius: 1rem;
  font-family: 'Montserrat', 'Space Grotesk', sans-serif;
}
.leaflet-popup-tip {
  background: #39ff14;
}
.project-label span {
  background: none !important;
  color: #69A9FF !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border: none !important;
}
.pulsing-circle {
  animation: pulseBlink 1.1s infinite;
  box-shadow: 0 0 16px 4px #fff;
}
@keyframes pulseBlink {
  0% { box-shadow: 0 0 8px 2px #fff8; opacity: 0.7; }
  25% { box-shadow: 0 0 32px 8px #fff; opacity: 1; }
  50% { box-shadow: 0 0 8px 2px #fff8; opacity: 0.7; }
  75% { box-shadow: 0 0 32px 8px #fff; opacity: 1; }
  100% { box-shadow: 0 0 8px 2px #fff8; opacity: 0.7; }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px 2px #69A9FF44; opacity: 0.8; }
  50% { box-shadow: 0 0 32px 8px #69A9FFcc; opacity: 1; }
  100% { box-shadow: 0 0 8px 2px #69A9FF44; opacity: 0.8; }
}
.pulse-effect {
  animation: pulseGlow 0.7s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.pulse-effect {
  animation: pulse 1s infinite;
}
#map {
  width: 100%;
  max-width: 1200px;
  height: 420px;
  margin: 0 auto 32px auto;
  position: relative;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
}
.leaflet-container {
  background: #181f3a !important;
  border-radius: 0;
  box-shadow: none;
}
.leaflet-popup-content-wrapper {
  background: #181f3a;
  color: #fff;
  border-radius: 1rem;
  font-family: 'Montserrat', 'Space Grotesk', sans-serif;
}
.leaflet-popup-tip {
  background: #39ff14;
}
.project-label span {
  display: inline-block;
  padding: 4px 12px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg,#39ff14 0%,#14a9ff 100%);
  color: #181f3a;
  border-radius: 1rem;
  font-family: 'Montserrat', 'Space Grotesk', sans-serif;
}
.leaflet-interactive {
  filter: drop-shadow(0 0 8px #39ff14aa);
  transition: filter 0.3s, transform 0.3s;
}
.leaflet-interactive:hover {
  filter: drop-shadow(0 0 16px #39ff14ff) brightness(1.2);
  transform: scale(1.08);
}
