/* Final navigation and urgent-call refinements. */
.eh-navigation {
    gap: clamp(18px, 1.25vw, 28px);
    color: #4f706a;
    font-family: "DM Sans", "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.eh-navigation > a,
.eh-dropdown-button {
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
}

.eh-navigation > a:hover,
.eh-navigation > a.active,
.eh-dropdown-button:hover,
.eh-dropdown-button.active {
    color: #057b76;
}

.eh-navigation > a::after,
.eh-dropdown-button::after {
    height: 3px;
    bottom: 27px;
}

.eh-emergency-button {
    width: 56px;
    min-width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(211, 72, 63, 0.38);
    border-radius: 50%;
    background: #fff7f5;
    box-shadow: 0 8px 22px rgba(194, 66, 57, 0.13);
}

.eh-emergency-button > span:last-child {
    display: none;
}

.eh-emergency-pulse {
    width: 42px;
    height: 42px;
    font-size: 15px;
}

.eh-emergency-button:hover {
    background: #d94f45;
    border-color: #d94f45;
    transform: translateY(-2px);
}

.eh-emergency-button:hover .eh-emergency-pulse {
    background: transparent;
}

/* Distinct colours with a slow, subtle, staggered attention glow. */
.eh-call-button {
    border-color: #079d98;
    background: linear-gradient(135deg, #ffffff, #edfffb);
    color: #057570;
    animation: ehCallSoftGlow 5.8s ease-in-out infinite !important;
}

.eh-book-button {
    border-color: #2f84c7;
    background: linear-gradient(135deg, #ffffff, #eef7ff);
    color: #246da5;
    animation: ehBookSoftGlow 5.8s ease-in-out infinite !important;
}

.eh-doctor-button {
    border-color: #7eae4d;
    background: linear-gradient(135deg, #ffffff, #f4fbe9);
    color: #527d2d;
    animation: ehDoctorSoftGlow 5.8s ease-in-out infinite !important;
}

.eh-call-button .eh-button-icon { background: #e6f7f5; color: #057570; }
.eh-book-button .eh-button-icon { background: #e8f3fc; color: #246da5; }
.eh-doctor-button .eh-button-icon { background: #eef7e4; color: #527d2d; }

.eh-call-button {
    animation-delay: 0s;
}

.eh-book-button {
    animation-delay: 1.35s !important;
}

.eh-doctor-button {
    animation-delay: 2.7s !important;
}

.eh-call-button::before,
.eh-book-button::before,
.eh-doctor-button::before {
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
    animation: ehSoftSweep 7.5s ease-in-out infinite !important;
}

.eh-book-button::before {
    animation-delay: 1.35s !important;
}

.eh-doctor-button::before {
    animation-delay: 2.7s !important;
}

.eh-call-button:hover,
.eh-book-button:hover,
.eh-doctor-button:hover {
    animation-play-state: paused;
}

@keyframes ehSmoothAttention {
    0%, 55%, 100% {
        filter: brightness(1);
        box-shadow: 0 9px 24px rgba(7, 157, 152, 0.12);
    }
    68% {
        filter: brightness(1.035);
        box-shadow: 0 12px 29px rgba(7, 157, 152, 0.22), 0 0 0 5px rgba(7, 157, 152, 0.07);
    }
    80% {
        filter: brightness(1);
        box-shadow: 0 9px 24px rgba(7, 157, 152, 0.12);
    }
}

@keyframes ehSoftSweep {
    0%, 76% {
        transform: translateX(-145%) skewX(-25deg);
    }
    90%, 100% {
        transform: translateX(165%) skewX(-25deg);
    }
}

@keyframes ehCallSoftGlow {
    0%, 68%, 100% { box-shadow: 0 8px 22px rgba(7,157,152,.11); transform: translateY(0); }
    78% { box-shadow: 0 12px 29px rgba(7,157,152,.22),0 0 0 4px rgba(7,157,152,.055); transform: translateY(-1px); }
}

@keyframes ehBookSoftGlow {
    0%, 68%, 100% { box-shadow: 0 8px 22px rgba(47,132,199,.1); transform: translateY(0); }
    78% { box-shadow: 0 12px 29px rgba(47,132,199,.21),0 0 0 4px rgba(47,132,199,.05); transform: translateY(-1px); }
}

@keyframes ehDoctorSoftGlow {
    0%, 68%, 100% { box-shadow: 0 8px 22px rgba(126,174,77,.11); transform: translateY(0); }
    78% { box-shadow: 0 12px 29px rgba(113,164,62,.21),0 0 0 4px rgba(126,174,77,.055); transform: translateY(-1px); }
}

.eh-call-button:hover { background:#079d98; border-color:#079d98; color:#fff; }
.eh-book-button:hover { background:#2f84c7; border-color:#2f84c7; color:#fff; }
.eh-doctor-button:hover { background:#71a43e; border-color:#71a43e; color:#fff; }
.eh-call-button:hover .eh-button-icon,
.eh-book-button:hover .eh-button-icon,
.eh-doctor-button:hover .eh-button-icon {
    background: rgba(255,255,255,.2);
    color: #fff;
}

@media (max-width: 1500px) and (min-width: 1051px) {
    .eh-navigation {
        gap: clamp(12px, 1vw, 20px);
        font-size: 14px;
    }

    .eh-emergency-button {
        width: 52px;
        min-width: 52px;
        height: 52px;
    }
}

@media (max-width: 1200px) and (min-width: 1051px) {
    .eh-emergency-button {
        display: flex;
    }
}

@media (max-width: 1050px) {
    .eh-navigation,
    .eh-navigation > a,
    .eh-dropdown-button,
    .eh-header.scrolled .eh-navigation > a,
    .eh-header.scrolled .eh-dropdown-button {
        font-family: "DM Sans", "Manrope", Arial, sans-serif;
    }

    .eh-navigation > a,
    .eh-dropdown-button,
    .eh-header.scrolled .eh-navigation > a,
    .eh-header.scrolled .eh-dropdown-button {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .eh-action-group .eh-emergency-button {
        width: 48px;
        min-width: 48px;
        height: 48px;
    }

    .eh-action-group .eh-emergency-pulse {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 640px) {
    .eh-action-group .eh-emergency-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .eh-action-group .eh-emergency-pulse {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eh-call-button,
    .eh-book-button,
    .eh-doctor-button,
    .eh-call-button::before,
    .eh-book-button::before,
    .eh-doctor-button::before {
        animation: none !important;
    }
}
