/* ═══════════════════════════════════════════════════════════
   HM Data — estilos propios
   Extraído de index.php para que lo compartan todas las páginas
   y lo pueda cachear el navegador (1 mes, vía .htaccess).
   Antes estaba inline y se re-descargaba con cada HTML.
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:    #252743;
  --cyan:    #00C2E0;
  --ink:     #0E0F1C;
  --off-white: #F0F2F7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ink); color: var(--off-white); overflow-x: hidden; }

/* ── GRID NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300C2E0' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v1H0zM0 0h1v40H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* ── GLOW ORBS ── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none; z-index: 0;
}
.orb-1 { width: 600px; height: 600px; background: rgba(0,194,224,0.08); top: -200px; right: -150px; }
.orb-2 { width: 500px; height: 500px; background: rgba(37,39,67,0.6); bottom: -100px; left: -200px; }

/* ── NAV GLASS ── */
#navbar {
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(14,15,28,0.92) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,194,224,0.15);
}

/* ── HERO ── */
.hero-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  border: 1px solid rgba(0,194,224,0.3);
  border-radius: 2rem;
  padding: 0.3rem 1rem;
  display: inline-block;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
}
/* Línea de palabra clave dentro del <h1>: visible y legible,
   subordinada al eslogan en tamaño pero no oculta. */
.h1-keyword {
  display: block;
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(240,242,247,0.75);
  max-width: 34ch;
}
@media (min-width: 1024px) { .h1-keyword { font-size: 1.25rem; } }
.cyan-word { color: var(--cyan); }

/* ── CTA BUTTON ── */
.btn-primary {
  background: var(--cyan);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.85rem 2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover {
  background: #00d9f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,194,224,0.35);
}
.btn-outline {
  border: 1.5px solid rgba(0,194,224,0.5);
  color: var(--cyan);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.85rem 2rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(0,194,224,0.08);
  transform: translateY(-2px);
}

/* ── SERVICE CARDS ── */
.service-card {
  border: 1px solid rgba(0,194,224,0.12);
  border-radius: 8px;
  background: rgba(37,39,67,0.35);
  backdrop-filter: blur(8px);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(0,194,224,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(0,194,224,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0,194,224,0.06);
}

/* ── STAT COUNTER ── */
.stat-item { border-left: 2px solid rgba(0,194,224,0.3); padding-left: 1.5rem; }

/* ── PROCESS STEP ── */
.process-step { position: relative; }
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(0,194,224,0.7);
  text-transform: uppercase;
}

/* ── CONTACT CARD ── */
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(0,194,224,0.15);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s, background 0.3s;
  background: rgba(37,39,67,0.3);
}
.contact-link:hover {
  border-color: rgba(0,194,224,0.5);
  background: rgba(0,194,224,0.06);
}

/* ── FLOATING BUTTONS ── */
.fab-group {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.fab-wa  { background: #25D366; }
.fab-mail { background: var(--cyan); }

/* El CSS del banner vive ahora en inc/cookie-banner.php */

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0,194,224,0.4); }
  70%  { box-shadow: 0 0 0 12px rgba(0,194,224,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,194,224,0); }
}
.animate-fadeup { animation: fadeUp 0.8s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
.fab-wa { animation: pulse-ring 2.5s infinite; }

/* ── MOBILE NAV ── */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; flex-direction: column; }

/* ── HERO DIVIDER ── */
.hero-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,194,224,0.4), transparent);
}

/* ── FOOTER ── */
footer { border-top: 1px solid rgba(0,194,224,0.1); }

/* ── CONTENIDO LEGAL (politica_privacidad.php) ── */
.legal-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cyan);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  }
.legal-content p, .legal-content li {
  color: rgba(240, 242, 247, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
  }
.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  }
.legal-content strong {
  color: var(--off-white);
  }
.legal-content a {
  color: var(--cyan);
  text-decoration: none;
  }
.legal-content a:hover {
  text-decoration: underline;
  }
