/* ==========================================================================
   Main Header - Logo (left) + Call Button (right)
   ========================================================================== */

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    position: sticky;
    top: 0;
    z-index: 998;
}

.main-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.main-header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #a6192e;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.main-header__logo span {
    color: #333333;
    font-weight: 500;
    font-size: 14px;
}

/* Call button - icon-only, round, sits to the right of the logo */
.main-header__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f5564a, #c8213c);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(166, 25, 46, 0.4);
    animation: mainHeaderCallPulse 2.2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.main-header__call:hover,
.main-header__call:focus-visible {
    background: linear-gradient(135deg, #d62a47, #7a0d1c);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(166, 25, 46, 0.5);
    outline: none;
}

.main-header__call:focus-visible {
    box-shadow: 0 6px 16px rgba(166, 25, 46, 0.5), 0 0 0 3px rgba(166, 25, 46, 0.25);
}

.main-header__call:active {
    transform: scale(0.92);
    box-shadow: 0 2px 6px rgba(166, 25, 46, 0.4);
}

.main-header__call-icon {
    width: 20px;
    height: 20px;
    animation: mainHeaderCallRing 1.8s ease-in-out infinite;
}

@keyframes mainHeaderCallPulse {
    0%,
    100% {
        box-shadow: 0 4px 12px rgba(166, 25, 46, 0.4), 0 0 0 0 rgba(166, 25, 46, 0.35);
    }
    50% {
        box-shadow: 0 4px 12px rgba(166, 25, 46, 0.4), 0 0 0 9px rgba(166, 25, 46, 0);
    }
}

@keyframes mainHeaderCallRing {
    0%,
    100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    40% {
        transform: rotate(12deg);
    }
    60% {
        transform: rotate(-8deg);
    }
    80% {
        transform: rotate(6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-header__call,
    .main-header__call-icon {
        animation: none;
    }
}

/* ---------------- Mobile responsive ---------------- */

@media (max-width: 768px) {
.main-header__logo {
    font-size: 18px;
}}

@media (max-width: 640px) {
    .main-header__inner {
        padding: 12px 16px;
    }

    .main-header__call {
        width: 40px;
        height: 40px;
    }

    .main-header__call-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .main-header__logo {
        font-size: 17px;
    }

    .main-header__logo span {
        display: none;
    }

    .main-header__call {
        width: 38px;
        height: 38px;
        box-shadow: 0 3px 8px rgba(166, 25, 46, 0.4);
    }

    .main-header__call-icon {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 360px) {
    .main-header__inner {
        padding: 10px 12px;
    }

    .main-header__call {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 375px) {
    .main-header__logo {
        font-size: 14px !important;
    }
}