/**
 * Mayo Clinic Style Header Menu
 * Адаптація меню Mayo Clinic для WordPress Astra
 */

/* Основний контейнер шапки */
.mayo-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

/* Контейнер меню */
.mayo-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

/* Логотип */
.mayo-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 40px;
    margin-left: -57px;
}

.mayo-logo img {
    height: 66px; /* Збільшено на 20% (55px * 1.2 = 66px) */
    width: auto;
}

/* Основне меню */
.mayo-nav {
    display: flex;
    align-items: center;
    flex: 1;
    margin-right: 20px;
}

.mayo-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.mayo-menu-item {
    position: relative;
    display: flex;
    align-items: center;
}

.mayo-menu-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    color: #000000;
    font-size: 16.05px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
}

.mayo-menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #005eb8, #0088ff);
    background: -webkit-linear-gradient(90deg, #005eb8, #0088ff);
    background: -moz-linear-gradient(90deg, #005eb8, #0088ff);
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mayo-menu-link:hover {
    color: #005eb8;
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
}

.mayo-menu-link:hover::before {
    width: 80%;
}

/* Стрілка вниз для випадаючого меню */
.mayo-menu-link .arrow-icon {
    width: 14px;
    height: 14px;
    margin-left: 7px;
    transition: transform 0.3s ease, color 0.3s ease;
    -webkit-transition: transform 0.3s ease, color 0.3s ease;
    -moz-transition: transform 0.3s ease, color 0.3s ease;
    -o-transition: transform 0.3s ease, color 0.3s ease;
    color: #000000;
}

.mayo-menu-item:hover .arrow-icon,
.mayo-menu-item.active .arrow-icon {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    color: #005eb8;
}

/* Випадаюче меню */
.mayo-dropdown {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    width: 100vw;
    background-color: #ffffff;
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background-image: none;
}

.mayo-menu-item:hover .mayo-dropdown,
.mayo-menu-item.active .mayo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Контейнер для контенту випадаючого меню */
.mayo-dropdown-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

/* Заголовок послуг з відступом 2px зверху */
.services-header {
    margin-top: 2px;
}

/* Секції всередині випадаючого меню */
.mayo-dropdown-section {
    padding: 0;
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
}

.mayo-dropdown-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.mayo-dropdown-title {
    font-size: 16.05px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.mayo-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: flex-start;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
}

/* Центрування підпунктів, коли їх 1 або 2 */
.mayo-dropdown-list:has(.mayo-dropdown-item:nth-child(1):last-child),
.mayo-dropdown-list:has(.mayo-dropdown-item:nth-child(2):last-child) {
    justify-content: center;
    gap: 20px;
    flex-direction: row;
}

/* Fallback для браузерів, які не підтримують :has() */
@supports not (selector(:has(*))) {
    .mayo-dropdown-list {
        justify-content: flex-start;
    }
}

.mayo-dropdown-item {
    margin-bottom: 0;
    flex: 1 1 calc(16.666% - 20px);
    min-width: 180px;
    max-width: calc(16.666% - 20px);
}

/* Адаптивність для випадаючого меню - 5 колонок на менших екранах */
@media (max-width: 1400px) {
    .mayo-dropdown-item {
        flex: 1 1 calc(20% - 20px);
        max-width: calc(20% - 20px);
    }
}

/* Адаптивність для випадаючого меню - 4 колонки */
@media (max-width: 1200px) {
    .mayo-dropdown-item {
        flex: 1 1 calc(25% - 20px);
        max-width: calc(25% - 20px);
        min-width: 160px;
    }
}

/* Адаптивність для випадаючого меню - 3 колонки */
@media (max-width: 992px) {
    .mayo-dropdown-item {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
        min-width: 140px;
    }
}

.mayo-dropdown-link {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: #000000;
    font-size: 16.05px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    text-align: center;
    background-color: transparent;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border: none;
    box-shadow: none !important;
}

.mayo-dropdown-link:hover {
    color: #005eb8;
    background-color: transparent;
    border-color: transparent;
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    box-shadow: none;
}

/* Спеціальний елемент з іконкою */
.mayo-dropdown-link.featured {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 8px;
    color: #000000;
}

.mayo-dropdown-link.featured .featured-text {
    display: flex;
    flex-direction: column;
}

.mayo-dropdown-link.featured .featured-text span {
    display: block;
}

.mayo-dropdown-link.featured .featured-arrow {
    width: 10px;
    height: 10px;
}

/* Права частина шапки */
.mayo-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ховаємо режим роботи на десктопі */
.mayo-working-hours {
    display: none;
    background: rgba(0, 94, 184, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mayo-working-hours-title {
    font-size: 14px;
    font-weight: 600;
    color: #005eb8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mayo-working-hours-schedule {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.mayo-working-hours-schedule div {
    margin-bottom: 5px;
}

.mayo-working-hours-schedule .day-off {
    color: #e74c3c;
    font-weight: 500;
}

/* Адреса клініки */
.mayo-address {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 94, 184, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 94, 184, 0.2);
    transition: all 0.3s ease;
}

.mayo-address:hover {
    background: rgba(0, 94, 184, 0.15);
    border-color: rgba(0, 94, 184, 0.3);
    transform: translateY(-1px);
}

.mayo-address-icon {
    font-size: 14px;
    line-height: 1;
}

.mayo-address-text {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

/* Соціальні іконки */
.mayo-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #000000;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 16px;
}

.mayo-social-link:first-child {
    margin-left: 0;
}

.mayo-social-link svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.mayo-social-link:visited {
    color: #000000;
}

.mayo-social-link:hover {
    color: #005eb8;
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
}

.mayo-social-link:active {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
}

/* Кнопка "Запис на 2025" */
.mayo-appointment-btn {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13.6px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    background: -webkit-linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    background: -moz-linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    border-radius: 50px !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    -webkit-box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    -moz-box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    border: none;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
}

.mayo-appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background: -webkit-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    -webkit-transition: left 0.6s ease;
    -moz-transition: left 0.6s ease;
    -o-transition: left 0.6s ease;
}

.mayo-appointment-btn:hover::before {
    left: 100%;
}

.mayo-appointment-btn:hover,
.mayo-header-actions .mayo-appointment-btn:hover,
header .mayo-header-actions .mayo-appointment-btn:hover {
    background: linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    background: -webkit-linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    background: -moz-linear-gradient(135deg, #000409 0%, #0a4175 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    -webkit-box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    -moz-box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 20px rgba(108, 117, 125, 0.1) !important;
    transform: translateY(-3px) scale(1.02);
    -webkit-transform: translateY(-3px) scale(1.02);
    -ms-transform: translateY(-3px) scale(1.02);
}

.mayo-appointment-btn:active {
    transform: translateY(-1px) scale(0.98);
    -webkit-transform: translateY(-1px) scale(0.98);
    -ms-transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2), 0 0 0 2px rgba(108, 117, 125, 0.1) !important;
    -webkit-box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2), 0 0 0 2px rgba(108, 117, 125, 0.1) !important;
    -moz-box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2), 0 0 0 2px rgba(108, 117, 125, 0.1) !important;
}

/* Сховати підменю для пункту "Головна" */
.mayo-menu-item:not(:has(.mayo-dropdown)) .arrow-icon {
    display: none;
}

/* Fallback для браузерів, які не підтримують :has() */
@supports not (selector(:has(*))) {
    .mayo-menu-item .arrow-icon {
        display: none;
    }
    .mayo-menu-item.has-dropdown .arrow-icon {
        display: inline-block;
    }
}

.mayo-action-btn {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    text-decoration: none;
    color: #000000;
    font-size: 16.05px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    border: 2px solid #005eb8;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mayo-action-btn:hover {
    background-color: #005eb8;
    color: #ffffff;
}

.mayo-action-btn.primary {
    padding: 12px 18px;
  font-size: 16.05px;
  font-weight: 400;
  background: linear-gradient(135deg, #000409 0%, #0a4175 100%);
  background: -webkit-linear-gradient(135deg, #000409 0%, #0a4175 100%);
  background: -moz-linear-gradient(135deg, #000409 0%, #0a4175 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1);
  -webkit-box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1);
  -moz-box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1);
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border: none;
  font-family: Arial, sans-serif;
}

.mayo-action-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background: -webkit-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    -webkit-transition: left 0.6s ease;
    -moz-transition: left 0.6s ease;
    -o-transition: left 0.6s ease;
}

.mayo-action-btn.primary:hover::before {
    left: 100%;
}

.mayo-action-btn.primary:hover {
    background: linear-gradient(135deg, #000409 0%, #0a4175 100%);
    background: -webkit-linear-gradient(135deg, #000409 0%, #0a4175 100%);
    background: -moz-linear-gradient(135deg, #000409 0%, #0a4175 100%);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 30px rgba(108, 117, 125, 0.2);
    -webkit-box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 30px rgba(108, 117, 125, 0.2);
    -moz-box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5), 0 0 30px rgba(108, 117, 125, 0.2);
    transform: translateY(-3px) scale(1.02);
    -webkit-transform: translateY(-3px) scale(1.02);
    -ms-transform: translateY(-3px) scale(1.02);
}

.mayo-action-btn.primary:active {
    transform: translateY(-1px) scale(0.98);
    -webkit-transform: translateY(-1px) scale(0.98);
    -ms-transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(108, 117, 125, 0.3);
    -webkit-box-shadow: 0 2px 10px rgba(108, 117, 125, 0.3);
    -moz-box-shadow: 0 2px 10px rgba(108, 117, 125, 0.3);
}

/* Пульсація кнопки */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3), 0 0 20px rgba(108, 117, 125, 0.1);
    }
    50% {
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4), 0 0 25px rgba(108, 117, 125, 0.15);
    }
}

.mayo-action-btn.primary {
    animation: pulse 3s ease-in-out infinite;
}

.mayo-action-btn.search-btn {
    border: none;
    padding: 10px;
}

.mayo-action-btn.search-btn:hover {
    background-color: #f0f0f0;
    color: #000000;
}

.mayo-action-icon {
    width: 24px;
    height: 24px;
}

/* Мобільне меню - класичне гамбургер-меню */
.mayo-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 99999;
}

.mayo-mobile-toggle:hover {
    opacity: 0.8;
}

.mayo-mobile-toggle:active {
    opacity: 0.6;
}

.mayo-mobile-toggle div {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000000;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mayo-mobile-toggle.active div:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mayo-mobile-toggle.active div:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mayo-mobile-toggle.active div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Шар контенту для блокування прокрутки */
.mayo-content-layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99997;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mayo-content-layer.active {
    display: block;
    opacity: 1;
}

/* Адаптивність для планшетів */
@media (max-width: 1200px) {
    .mayo-header-container {
        padding: 0 18px;
    }
    
    .mayo-menu-link {
        padding: 14px 14px;
        font-size: 17.12px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 992px) {
    .mayo-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mayo-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100vh;
        background: #ffffff;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 99998;
        -webkit-overflow-scrolling: touch;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-bottom: 80px;
    }
    
    .mayo-nav.active {
        transform: translateX(0);
    }
    
    .mayo-menu-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .mayo-menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mayo-menu-item:last-child {
        border-bottom: none;
    }
    
    .mayo-menu-link {
        padding: 18px 24px;
        justify-content: space-between;
        border-bottom: none;
        font-size:16.05px;
        font-weight: 400;
        font-family: Arial, sans-serif;
        background-color: transparent;
        transition: all 0.3s ease;
    }
    
    .mayo-menu-link:hover {
        background-color: rgba(0, 94, 184, 0.05);
        color: #005eb8;
        padding-left: 30px;
        font-weight: 400;
    }
    
    .mayo-dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-radius: 0;
        padding: 0;
        flex-direction: column;
        gap: 0;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mayo-menu-item.active .mayo-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .mayo-dropdown-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
    }
    
    .mayo-dropdown-section {
        padding: 10px 0;
        width: 100%;
    }
    
    .mayo-dropdown-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .mayo-dropdown-item {
        min-width: 100%;
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .mayo-dropdown-link {
        padding: 14px 32px;
        text-align: left;
        background-color: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0;
        font-size: 16.05px;
        font-weight: 400;
        font-family: Arial, sans-serif;
        transition: all 0.3s ease;
    }
    
    .mayo-dropdown-link:hover {
        background-color: rgba(0, 94, 184, 0.08);
        color: #005eb8;
        padding-left: 40px;
        transform: none;
        box-shadow: none;
        font-weight: 400;
    }
    
    .mayo-header-actions {
        display: none;
    }
    
    /* Показуємо мобільну кнопку-гамбургер */
    .mayo-mobile-toggle {
        display: flex !important;
    }
    
    /* Дополнительно скрываем социальные сети в мобильном меню */
    .mayo-social-link {
        display: none !important;
    }
    
    /* Показуємо режим роботи в мобільному меню */
    .mayo-working-hours {
        display: block;
        padding: 20px 24px;
        margin-top: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        background-color: #f8f9fa;
    }
    
    /* Показуємо адресу в мобільному меню */
    .mayo-address {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 24px;
        background: rgba(0, 94, 184, 0.1);
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    .mayo-address:hover {
        background: rgba(0, 94, 184, 0.15);
        border-color: transparent;
        transform: none;
    }
    
    .mayo-address-text {
        font-size: 16px;
        font-weight: 500;
        color: #005eb8;
    }
}

/* Анімація відкриття підменю */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивність для маленьких екранів */
@media (max-width: 576px) {
    .mayo-header-container {
        padding: 0 13px;
        height: 73px;
    }
    
    .mayo-logo img {
        height: 42px;
    }
    
    .mayo-nav {
        width: 75%;
        padding-bottom: 80px;
    }
    
    .mayo-menu-link {
        font-size: 18.19px;
        padding: 17px 20px;
    }
    
    .mayo-dropdown-link {
        font-size: 16.05px;
        padding: 14px 28px;
    }
    
    .mayo-mobile-toggle {
        width: 26px;
        height: 21px;
    }
    
    .mayo-mobile-toggle div {
        width: 26px;
        height: 2.5px;
    }
    
    /* Адреса на маленьких екранах */
    .mayo-address {
        padding: 10px 20px;
    }
    
    .mayo-address-text {
        font-size: 14px;
    }
}

/* Анімація при завантаженні */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mayo-header {
    animation: fadeInDown 0.5s ease;
}

/* Фокус для доступності - видалено обводку */
.mayo-menu-link:focus,
.mayo-dropdown-link:focus,
.mayo-action-btn:focus {
    outline: none;
}

.mayo-menu-link:focus {
    color: #005eb8;
}
