/**
 * ============================================================================
 * HEALTHY WORKUP - Estilos Personalizados y Optimizaciones
 * ============================================================================
 * Incluye:
 * - Animación médica de latido cardíaco (heartbeatPulse)
 * - Tarjeta médica interactiva de llamada a la acción (medical-cta-card)
 * - Optimizaciones de renderizado (content-visibility y will-change)
 * ============================================================================
 */
    /* Animación de latido (Heartbeat) */
    @keyframes heartbeatPulse {
      0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(81, 190, 213, 0.6));
      }

      15% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 16px rgba(81, 190, 213, 0.45));
      }

      30% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(81, 190, 213, 0.6));
      }

      45% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 16px rgba(81, 190, 213, 0.45));
      }

      60% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(81, 190, 213, 0.6));
      }
    }

    .medical-cta-card {
      background: #ffffff;
      border-radius: 20px;
      padding: clamp(2rem, 3.5vw, 3rem) clamp(1.2rem, 2.5vw, 2rem);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
      border-top: 5px solid var(--hw-primary-cyan, #51bed5);
      width: 100%;
      position: relative;
      overflow: hidden;
    }

    /* Fondo decorativo con temática de cruz/salud */
    .medical-cta-card::before {
      content: '+';
      position: absolute;
      font-size: 20rem;
      color: rgba(81, 190, 213, 0.03);
      top: -50px;
      right: -20px;
      line-height: 1;
      font-weight: bold;
      pointer-events: none;
      z-index: 0;
    }

    .heartbeat-wrapper {
      display: inline-block;
      font-size: clamp(4rem, 6vw, 5.5rem);
      color: #51bed5;
      /* Azul / Turquesa corporativo */
      animation: heartbeatPulse 2.5s infinite;
      position: relative;
      z-index: 1;
    }

    .cta-title {
      color: var(--hw-primary-navy, #1e2d40);
      font-weight: 800;
      font-size: clamp(1.4rem, 2.2vw, 1.85rem);
      position: relative;
      z-index: 1;
    }

    .cta-subtitle {
      font-size: clamp(0.95rem, 1.3vw, 1.1rem);
      position: relative;
      z-index: 1;
    }




    /* ==============================================
       OPTIMIZACIÓN DE RENDIMIENTO: content-visibility
       Omite el layout/paint de secciones off-screen
       ============================================== */
    #services,
    #about,
    #featured-departments,
    #vehicles,
    .contact-section,
    footer {
      content-visibility: auto;
      contain-intrinsic-size: auto 600px;
    }

    /* Optimizar el hero visual para animaciones suaves */
    .hero-visual,
    .main-image img {
      will-change: transform;
    }

    /* Optimizar imágenes para renderizado */
    img {
      image-rendering: auto;
    }
