﻿/* ============================================
   CEMEBOS - Centro Medico El Bosque
   Custom Styles (complementa Tailwind CDN)
   ============================================ */

:root {
  --color-brand-blue: #0F4C81;
  --color-brand-blue-light: #E8F0F8;
  --color-brand-teal: #00A896;
  --color-brand-teal-light: #E6F7F5;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5A;
  --color-calm-bg: #F5F9FC;
  --shadow-card: 0 2px 8px rgba(15, 76, 129, 0.08);
}

html {
  scroll-behavior: smooth;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-brand-blue);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-to-content:focus {
  left: 0;
}

*:focus-visible {
  outline: 3px solid var(--color-brand-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-brand-teal);
  outline-offset: 3px;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  }
}

.whatsapp-cta {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

.countdown-sec {
  transition: transform 0.15s ease-out;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-cta {
    animation: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  }

  .animate-fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media print {
  .whatsapp-cta-section {
    display: none !important;
  }

  body {
    background: white !important;
    font-size: 12pt;
  }

  header {
    border-bottom: 2px solid var(--color-brand-blue) !important;
  }
}
