/* ================= БАЗОВІ СТИЛІ ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Manrope", Sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3875c2;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
}
.btn:hover {
    background-color: #003d82;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= ШАПКА САЙТУ ================= */
.header {
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
}
.header-contacts {
    display: flex;
    gap: 20px;
    font-size: 14px;
}
.main-menu {
    display: flex;
    gap: 20px;
}
.main-menu a {
    font-weight: 700;
    transition: color 0.3s;
    text-transform: uppercase;
}
.main-menu a:hover {
    color: #0056b3;
}

/* ================= ГОЛОВНИЙ ЕКРАН (HERO) ================= */
.hero {
    text-align: center;
    padding: 60px 0;
    background-color: #f8f9fa;
}
.hero h1 {
    font-size: 42px;
    color: #222;
}
.hero-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ================= ПРО НАС ================= */
.about {
    padding: 60px 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.about p {
    font-size: 18px;
    color: #555;
}

/* ================= 2 КОЛОНКИ (ТЕКСТ + FAQ) ================= */
.two-columns {
    padding: 60px 0;
    background-color: #f8f9fa;
}
.columns-wrapper {
    display: flex;
    gap: 40px;
}
.col {
    flex: 1;
}
h2 {
    margin: 20px 0;
    font-size: 28px;
    color: #222;
}
p {
    font-size: 22px;
    font-weight: 400;
    color: #222;
    line-height: 1.5;
    margin: 20px 0;
}
.faq-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-box p {
    margin-bottom: 20px;
}

/* ================= КОНТАКТИ ================= */
.contacts-section {
    padding: 60px 0;
    text-align: center;
}
.contacts-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.address {
    font-size: 18px;
    margin-bottom: 30px;
    font-style: normal;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ================= ФУТЕР ================= */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0;
        max-width: 1200px;
 }

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-col {
    flex: 1;
}

.footer-logo {
    margin-bottom: 20px;
}

/* Вертикальне меню */
.footer-menu-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu-vertical a {
    color: #ccc;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-menu-vertical a:hover {
    color: #fff;
    padding-left: 5px; /* Ефект при наведенні */
}

/* Контакти */
.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contacts p {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-contacts a {
    color: #0056b3;
    font-weight: 500;
}

.footer-contacts a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    font-size: 13px !important;
    line-height: 1.4;
}

/* Фото */
.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-hex-image {
    width: 250px;
    height: 250px;
    position: relative;
    overflow: hidden;
    transform: rotate(-10deg);
}

.footer-hex-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Адаптивність для футера */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 40px;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .footer-menu-vertical {
        align-items: center;
    }
}

/* ================= АДАПТИВНІСТЬ ================= */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    .main-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    .columns-wrapper {
        flex-direction: column;
    }
    .footer-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }
    .footer-menu {
        justify-content: center;
    }
    .footer-right {
        flex: auto;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 32px;
    }
}

/* --- Стилі акордеона --- */
.accordion {
    margin-top: 20px;
    text-align: left;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    color: #222;
}

.accordion-header:hover {
    color: #0056b3;
}

.accordion-header .icon {
    font-size: 20px;
    transition: transform 0.3s;
}

/* Приховане тіло акордеона */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
}

.accordion-body p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
}

/* Активний стан (коли розгорнуто) */
.accordion-item.active .accordion-body {
    max-height: 300px; /* Достатньо для контенту */
    padding-bottom: 20px;
}

.accordion-item.active .icon {
    transform: rotate(45deg); /* Перетворюємо + на х */
    color: #0056b3;
}