/* Custom enhancements for Rodolfo Amat - Peritaje Judicial Informático */

:root {
  --primary-navy: #0f172a;
  --secondary-navy: #1e293b;
  --accent-cyan: #0284c7;
  --accent-cyan-light: #38bdf8;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Accessible focus outline */
:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

/* Glassmorphism nav blur */
.glass-nav {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* High-tech cyber background for Hero & Methodology */
.tech-hero-bg {
  background-color: #030712;
  background-image: url('../img/tech-bg.svg');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Gradient accents */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-border {
  position: relative;
  border-radius: 1rem;
  background: linear-gradient(to right, rgba(56, 189, 248, 0.3), rgba(129, 140, 248, 0.3));
  padding: 1px;
}

/* Service cards subtle hover effect */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12);
}

/* Accreditation Logos Card */
.accreditation-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
}
.accreditation-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.25);
}

/* WhatsApp floating button bounce */
@keyframes float-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  }
}

.whatsapp-pulse {
  animation: float-pulse 3s infinite ease-in-out;
}

/* FAQ accordion animation */
.faq-content {
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Print styles for lawyers & judges */
@media print {
  header, footer, #contacto, .whatsapp-btn, #cookie-banner, .no-print {
    display: none !important;
  }
  body {
    color: #000 !important;
    background: #fff !important;
    font-size: 11pt;
  }
  a {
    text-decoration: underline;
    color: #000 !important;
  }
}
