/* ========== UNIFIED HERO SECTIONS ========== */

/* --- Хвиля (спільна) --- */
.page-hero-simple .wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}
.page-hero-simple .wave-container svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* --- Текстовий hero (без фото) --- */
.page-hero-simple {
    background-color: #262625;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 20px 150px;
    text-align: center;
}
.simple-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.simple-hero-badge {
    display: inline-block;
    background: rgba(133, 171, 186, 0.18);
    color: #85abba;
    border: 1px solid rgba(133, 171, 186, 0.35);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.page-hero-simple h1 {
    font-size: clamp(32px, 5vw, 58px);
    color: #fff;
    margin: 0 0 18px;
    font-weight: 800;
    line-height: 1.12;
}
.simple-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}


@media (max-width: 900px) {
    .page-hero-simple {
        padding: 110px 20px 110px;
    }
    .page-hero-simple .wave-container svg {
        height: 60px;
    }
}

/* ========== ХЕДЕР ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, transform 0.3s ease;
    height: 72px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: #262625;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.header--hidden {
    transform: translateY(-100%);
}

.header:not(.header--hidden) {
    transform: translateY(0);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Логотип */
.logo-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: height 0.2s ease;
}

/* ========== НАВІГАЦІЯ ========== */
.nav-left {
    display: flex;
    align-items: center;
    margin-left: 50px;
    margin-right: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 42px;
}

.nav-list li a:hover {
    color: #85abba;
}

/* Dropdown стрілка */
.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Випадаюче меню */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #262625;
    border-radius: 12px;
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown[data-closed="true"] .submenu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    pointer-events: none;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: auto;
}

.submenu li a:hover {
    background: rgba(133, 171, 186, 0.15);
    color: #85abba;
    padding-left: 25px;
}

/* Self-link — перший пункт підменю на touch-пристроях */
.submenu li.submenu-self-link a {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
    padding-bottom: 14px;
}

.submenu li.submenu-self-link a:hover {
    color: #85abba;
    padding-left: 25px;
}

.overlay-submenu li.submenu-self-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.overlay-submenu li.submenu-self-link a {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    padding-bottom: 14px;
}


.hide-on-tablet {
    display: flex;
}

/* ========== ПРАВА ЧАСТИНА ========== */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Мова — дропдаун */
.lang-selector {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 12px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    font-family: "Manrope", sans-serif;
}

.lang-current svg {
    width: 10px;
    height: 6px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.lang-selector.open .lang-current {
    background: rgba(133, 171, 186, 0.35);
    border-color: #85abba;
}

.lang-selector.open .lang-current svg {
    transform: rotate(180deg);
}

.lang-current:hover {
    background: rgba(133, 171, 186, 0.25);
    border-color: #85abba;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1e2a30;
    border: 1px solid rgba(133, 171, 186, 0.3);
    border-radius: 12px;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 4px;
    min-width: 70px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 200;
}

.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    text-align: left;
    letter-spacing: 0.5px;
    font-family: "Manrope", sans-serif;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.lang-option:hover {
    background: rgba(133, 171, 186, 0.2);
    color: white;
}

.lang-option.active {
    color: #85abba;
}

/* Кнопка Підтримати */
.donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #85abba;
    color: white;
    padding: 0 24px;
    border-radius: 42px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.2s ease;
    white-space: nowrap;
    height: 42px;
}

.donate-arrow {
    width: 18px;
    height: 18px;
}

.donate-btn:hover {
    background: #9bc0cf;
}

/* Бургер кнопка */
.burger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    transition: all 0.2s ease;
    height: 42px;
}

.burger-icon, .close-icon {
    width: 28px;
    height: 28px;
}

.menu-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.burger-btn:hover {
    opacity: 0.8;
}

/* ========== ВИСУВНЕ МЕНЮ (ОВЕРЛЕЙ) ========== */
.overlay-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #262625;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    visibility: visible;
}

.overlay-menu.open {
    transform: translateX(0);
}

.overlay-menu-container {
    padding: 80px 24px 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Логотип в меню */
.overlay-menu-header {
    display: none;
}

/* Список навігації */
.overlay-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.overlay-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.overlay-nav-list li:last-child {
    border-bottom: none;
}

.overlay-nav-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.overlay-nav-list li a:hover {
    color: #85abba;
}

/* Стрілка для dropdown */
.overlay-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

/* Підменю */
.overlay-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    
}

.overlay-submenu.open {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 8px;
}

.overlay-submenu li a {
    padding: 12px 0 12px 20px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: none;
    transition: all 0.2s ease;
    
}

.overlay-submenu li a:hover {
    color: #85abba;
    padding-left: 28px;
}

/* Відкритий стан стрілки */
.overlay-nav-list .has-dropdown.open .overlay-arrow {
    transform: rotate(180deg);
}

/* Контакти внизу */
.overlay-contacts {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-emails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-emails a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.overlay-emails a:hover {
    color: #85abba;
}

/* Гаряча лінія в меню */
.overlay-hotline {
    margin-bottom: 20px;
}

.overlay-hotline span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.overlay-hotline a {
    font-size: 18px;
    font-weight: bold;
    color: #85abba;
    text-decoration: none;
}

/* ========== АДАПТАЦІЯ ========== */

/* 960px - 1330px: ховаємо зайві кнопки, показуємо бургер */
@media (max-width: 1330px) and (min-width: 961px) {
    .hide-on-tablet {
        display: none !important;
    }
    .burger-btn {
        display: flex;
    }
}

/* До 960px: ховаємо всю навігацію, показуємо бургер */
@media (max-width: 960px) {
    .nav-left {
        display: none;
    }
    .header-container {
        padding: 0 24px;
    }
    .burger-btn {
        display: flex;
    }
}

/* До 600px: висота хедера 56px, меню на весь екран */
@media (max-width: 600px) {
    .header {
        height: 56px;
    }
    .header-container {
        padding: 0 16px;
    }
    
    /* На телефоні оверлей на всю ширину */
    .overlay-menu {
        max-width: 100%;
        width: 100%;
    }
    
    .overlay-menu-container {
        padding: 70px 20px 40px;
    }
    
    .overlay-nav-list li a {
        font-size: 20px;
        padding: 14px 0;
    }
    
    .overlay-submenu li a {
        font-size: 16px;
        padding: 10px 0 10px 20px;
    }
}

/* 481px - 600px: зменшення кнопок хедера */
@media (max-width: 600px) and (min-width: 481px) {
    .logo {
        height: 40px;
    }
    .lang-current {
        height: 30px;
        padding: 0 10px;
        font-size: 11px;
    }
    .donate-btn {
        padding: 0 18px;
        font-size: 13px;
        height: 36px;
    }
    .donate-arrow {
        display: none;
    }
    .burger-btn {
        height: 36px;
    }
    .burger-icon, .close-icon {
        width: 28px;
        height: 28px;
    }
    .menu-text {
        font-size: 13px;
    }
}

/* До 480px: ще більше зменшення */
@media (max-width: 480px) {
    .logo {
        height: 36px;
    }
    .lang-current {
        height: 28px;
        padding: 0 9px;
        font-size: 10px;
    }
    .donate-btn {
        display: none;
    }
    .burger-btn {
        height: 32px;
    }
    .burger-icon, .close-icon {
        width: 28px;
        height: 28px;
    }
    .menu-text {
        font-size: 12px;
    }
}

/* До 380px */
@media (max-width: 380px) {
    .header-container {
        padding: 0 12px;
    }
    .logo {
        height: 32px;
    }
    .lang-current {
        height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }
    .burger-btn {
        height: 28px;
    }
    .burger-icon, .close-icon {
        width: 24px;
        height: 24px;
    }
    .menu-text {
        font-size: 11px;
    }
}





















































/* ========== ФУТЕР ========== */
.footer {
    background: #262625;
    padding: 60px 0 0;
    margin-top: 0px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

/* Ліва частина */
.footer-about {
    max-width: 280px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-links-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links-bottom a:hover {
    color: #85abba;
}

/* Заголовки */
.footer h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-social h4 {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin: 25px 0 15px 0;
}

/* Списки */
.footer-nav-list,
.footer-info-list,
.footer-contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li,
.footer-info-list li {
    margin-bottom: 12px;
}

.footer-nav-list li a,
.footer-info-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav-list li a:hover,
.footer-info-list li a:hover {
    color: #85abba;
    transform: translateX(4px);
}

/* Контакти */
.footer-contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contacts-list li svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.footer-contacts-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts-list li a:hover {
    color: #85abba;
}

.footer-address span {
    color: rgba(255, 255, 255, 0.6);
}

/* Соціальні мережі */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.social-icon:hover {
    background: #85abba;
    color: white;
    transform: translateY(-3px);
}

.social-icon svg {
    stroke: currentColor;
}

/* Нижній колонтитул */
.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Адаптивність */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 3;
        max-width: 100%;
        text-align: center;
    }

    .footer-links-bottom {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .footer-about {
        grid-column: span 1;
        text-align: left;
    }

    .footer-links-bottom {
        justify-content: flex-start;
    }

    .footer-nav,
    .footer-info,
    .footer-contacts {
        text-align: left;
    }

    .footer-bottom .container {
        padding: 0 24px;
    }

    .footer-social h4 {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-logo img {
        height: 40px;
    }
}

/* При сужении экрана до 1024px - ховаємо Навігацію та Інформацію */
@media (max-width: 700px) {

    .footer-nav,
    .footer-info {
        display: none !important;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-about {
        grid-column: span 2 !important;
    }
}

/* При дальнейшем сужении (до 768px) - все колонки в ряд */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr !important;
    }

    .footer-about {
        grid-column: span 1 !important;
    }

    .footer-nav,
    .footer-info {
        display: none !important;
    }
}