@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
}

p {
    line-height: 1.8;
}

a {
    text-decoration: none !important;
    transition: 0.3s;
}

input,
textarea,
button,
.slick-slide {
    outline: none !important;
    border: none;
}

body {
    color: #fff;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    background: #151515;

}

body.modal-open {
    overflow: hidden;
}

section {
    overflow: hidden;
    position: relative;
    padding: 120px 0;
}

ul,
li {
    margin: 0;
    padding: 0;
}

:root {
    --def-color: #FFDA8F;
}


.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2000;
    background: #222;
}

.loader-block {
    display: flex;
    align-items: center;
}

.loader-block-item {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--def-color);
}

.loader-block-item+.loader-block-item {
    margin-left: 10px;
}

.loader-block-item:nth-child(1n) {
    animation: loaderBottom 1s infinite;
}

@keyframes loaderTop {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    0% {
        transform: translateY(0);
    }
}

.loader-block-item:nth-child(2n) {
    animation: loaderTop 1s infinite;
}

@keyframes loaderBottom {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

    0% {
        transform: translateY(0);
    }
}

@keyframes show {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.up-btn {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #fff;
    position: fixed !important;
    right: 20px;
    bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: 0.3s;
}

.up-btn:hover {
    background: #0D182E;
    border-color: var(--def-color);
}

.up-btn img {
    max-width: 70%;
    max-height: 70%;
    transition: 0.3s;
    animation: up 1s infinite;
}


@keyframes up {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    0% {
        transform: translateY(0);
    }
}

@keyframes leftToRight {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(0);
    }
}

.color-option {
    position: fixed;
    left: 10px;
    top: 45%;
    z-index: 4;
}

.color-option-header {
    background: #222;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid var(--def-color);
}

.color-option-header img {
    width: 80%;
    height: 80%;
}

.color-option-header img:last-child {
    display: none;
}

.color-option-content {
    margin-bottom: 4px;
    border: 1px solid var(--def-color);
    animation: leftToRight 0.8s;
    background: #222;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    display: none;
    position: absolute;
    left: 0;
    bottom: 100%;
}

.color-option-content-title {
    width: 100%;
    margin-bottom: 10px;
    color: #fff;
}

.color-option-content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: wrap;
}

.color-option-content-row-item {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 2px;
    border-radius: 4px;
    transition: 0.3s;
}

.color-option-content-row-item.active {
    transform: scale(0.9);
}

.color-option-content-row-item:hover {
    opacity: 0.5;
}

@media screen and (max-width: 1200px) {
    .color-option {
        top: auto;
        bottom: 20px;
    }
}

.container {
    max-width: 1180px;
}

.h-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    padding-top: 5vh;
    display: none;
}

.h-modal-content {
    width: 500px;
    padding: 40px 20px;
    box-shadow: 0px 2px 2px 0px #00000040;
    border-radius: 5px;
    margin: auto;
    position: relative;
    max-width: calc(100% - 30px);
    color: #fff;
    overflow: hidden;
    background: #222;
    border: 2px solid var(--def-color);
    text-align: center;

}

.h-modal-content-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--def-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1;

}

.h-modal-content-close:hover {
    transform: scale(1.1);
}

.h-modal-content-close img {
    width: 80%;
    height: 80%;
}

.h-modal .title {
    margin-bottom: 30px;
}

/*default style*/
.default-content {
    position: relative;
    z-index: 1;
}

.default-object {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-object img {
    max-width: 100%;
    max-height: 100%;
}

.header {
    transition: 0.3s;
    padding: 32px 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header.active {
    padding: 5px 0;
    background: #151515;
    border-bottom: 1px solid var(--def-color);
}
.header.menu-open{
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.8) 40.88%, rgba(8, 8, 4, 0) 166.73%) !important;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
}

.logo__img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--def-color);
    transition: 0.3s;
}

.logo:hover {
    opacity: 0.5;

    .logo__img {
        border-radius: 50%;
    }
}

.menu__block {
    display: flex;
    align-items: center;
}

.menu__block__item {
    display: block;
}

.menu__block__link {
    display: block;
    padding: 10px 25px;
    margin: 10px 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.menu__block__link:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--def-color);
    transform: translateX(-110%);
    transition: 0.3s;
}

.menu__block__link:hover {
    color: var(--def-color);

}

.menu__block__link:hover:before {
    transform: translateX(0);
}

.header-phone__link {
    color: #fff;
}

.header-phone__link:hover {
    color: var(--def-color);
}

.header-phone__link__icon, .header-bars{
    width: 50px;
    height: 50px;
    background: #2E2E2ECC;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid var(--def-color);
    transition: 0.3s;
}
.header-phone__link__icon__icon img, .header-bars img{
    max-width: 80%;
    max-height: 80%;
}
.header-bars.active{
    transform: rotate(90deg);
}


.mob-menu{
    position: absolute;
    left: 0;
    top: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.8) 40.88%, rgba(8, 8, 4, 0) 166.73%);
    width: 100%;
    border-top: 1px solid var(--def-color);
    display: none;
}
.mob-menu .menu__block{
    display: block;
}
.mob-menu .menu__block__link{
    padding: 18px 20px;
    font-weight: 500;
    font-size: 20px;
}



.h-btn {
    color: #1E1E1E;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    padding: 22px 48px;
    background: #FFAA00;
    transition: 0.3s;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid transparent;
}

.h-btn:hover {
    background: transparent;
    color: var(--def-color);
    border-color: var(--def-color);
}

.head {
    padding: 200px 0;
    position: relative;
}

.head-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.head-bg__item {
    display: none;
    height: 100%;
}

.head-bg__item.active {
    display: block;
}

.head-bg__item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: show 0.3s;
}

.head-block {
    position: relative;
    z-index: 1;
}

.head-block__title {
    font-weight: 800;
    font-size: 80px;
    line-height: 1;
}

.head-block__slogan {
    font-size: 24px;
    margin: 20px 0 40px 0;
}

.head-block-inner {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
}

.head-block-inner__item {
    font-size: 14px;
    border: 1px solid #fff;
    font-weight: 500;
    color: #fff;
    padding: 15px 36px;
    backdrop-filter: blur(9.899999618530273px);
    border-radius: 24px;
    margin-right: 12px;
}

.head-block-inner__item:hover {
    color: var(--def-color);
    border-color: var(--def-color);
}

.development {}

.development-block-header {
    display: flex;
    padding-left: 40px;
}

.development-block-header__item {
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    transition: 0.3s;
}

.development-block-header__item:hover {
    background: var(--def-color);

}

.development-block-header__item+.development-block-header__item {
    margin-left: 10px;
}

.development-block-header__item.active {
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.24) 10%, rgba(217, 217, 217, 0.24) 78.5%, rgba(115, 115, 115, 0.3) 100%);
}

.development-block-content__item {
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.12) 0%, rgba(73, 73, 73, 0.4) 100%);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 40px;
    min-height: 400px;
    overflow: hidden;
}

.development-block-content__item:hover {
    .development-block-content__item__img {
        transform: translateX(40px);
    }
}

.development-block-content__item+.development-block-content__item {
    display: none;
}

h3.title {
    font-weight: 600;
    font-size: 44px;
    line-height: 1;
}

.development-block-content__item__slogan {
    margin-top: 20px;
    line-height: 1.8;
    max-width: 69%;
}

.development-block-content__item__img {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 30%;
    transition: 0.3s;
}

.development-block-content__item__img img {
    width: 100%;
}

.services {
    background: #1F1F1F;
    border-radius: 80px;
}

h2.title {
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.slogan {
    font-size: 20px;
    line-height: 1.8;
}

.slogan+.slogan {
    margin-top: 20px;
}

.services-row {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;

}

.services-row__item {
    padding: 1%;
}

.services-row__item:first-child {
    width: 60%;
}

.services-row__item:nth-child(2) {
    width: 40%;
}

.services-row__item:nth-child(3) {
    width: 45%;
}

.services-row__item:nth-child(4) {
    width: 55%;

    .services-inner-img {
        top: auto;
        bottom: 0;
    }

}

.services-inner {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 190px;
    text-align: center;
    overflow: hidden;
    transition: 0.3s;
    color: #fff;
}

.services-inner-img {
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.3s;
    height: 100%;
}

.services-inner__title {
    font-weight: 500;
    font-size: 24px;
    position: relative;
    z-index: 1;
    background: rgba( 0,0,0,0.5 );
    border-radius: 10px;
    padding: 4px;
}

.services-inner:hover {
    background: var(--def-color) !important;
    .services-inner-img {
        transform: translateX(10px);
    }
}

.about {}

.about-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-block {
    width: 60%;
}

.about-img {
    width: 40%;
}

.about-img img {
    width: 100%;
}

.about-inner {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-inner__item {
    border-radius: 12px;
    padding: 40px 24px;
    min-height: 250px;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.about-inner__item__title {
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
}

.about-inner__item__img {
    position: absolute;
    right: 0;
    bottom: 0;
    transition: 0.3s;
    width: 50%;
}
.about-inner__item__img img{
    width: 100%;
}

.about-inner__item:nth-child(1) {
    background: #252525;
    width: 40%;
}

.about-inner__item:nth-child(2) {
    background: #FFAA004D;
    width: 25%;
}

.about-inner__item:nth-child(3) {
    background: #484848;
    width: 30%;
}

.about-inner__item:hover {
    background: var(--def-color);
    color: #222;

    .about-inner__item__img {
        transform: translateX(10px) translateY(10px);
    }
}

.why {
    background: #1F1F1F;
    border-radius: 80px;
}

.why-row {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 32px;
    overflow: hidden;
}

.why-row__item {
    width: 33.3333%;
    background: #9E9E9E33;
    backdrop-filter: blur(2.8312413692474365px);
    padding: 32px;
    transition: 0.3s;
}

.why-row__item:nth-child(2n) {
    background: #131212;

}

.why-row__item:hover {
    background: var(--def-color);
    color: #222;
}

.why-row__item__img {
    text-align: right;
}
.why-row__item__img img{
    max-height: 200px;
}

.why-row__item__title {
    font-weight: 600;
    font-size: 20px;
    margin: 20px 0 15px 0;
}

.sponsor {
    .slick-track {
        display: flex;
    }

    .slick-track .slick-slide {
        display: flex;
        height: auto;
        align-items: center;
        justify-content: center;
    }

    .slick-list {
        border-radius: 20px;
    }
}

.sponsor-slider {
    border-radius: 10px;

}

.sponsor-slider__item {
    text-align: center;
    background: var(--def-color);
    transition: 0.3s;
    padding: 10px 0;
}

.sponsor-slider__item:first-child {}

.sponsor-slider__item:hover {
    opacity: 0.5;
}

.sponsor-slider__item img {
    width: 80%;
}

.slick-dots {
    bottom: -50px;
}

.slick-dots li {
    background: var(--def-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: 0.3s;
}

.slick-dots li:hover {
    opacity: 0.5;
}

.slick-dots li button {
    opacity: 0;
}

.slick-dots li.slick-active {
    background: #FFAA004D;
}

.reviews {}

.reviews-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.reviews-row__item {
    width: 30%;
    margin: 1%;
}

.reviews-row__item:nth-child(2) {
    transform: translateY(50%);
}

.reviews-inner {
    background: #2E2E2E;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

.reviews-inner:hover {
    background: var(--def-color);
    color: #222;

    .reviews-inner__link {
        background: #2E2E2E;
    }
}

.reviews-inner__icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;

}

.reviews-inner__block {
    margin-top: 20px;
}

.reviews-inner__block__title {
    font-weight: 700;
    margin-bottom: 10px;
}

.reviews-inner__link {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
    transition: 0.3s;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-inner__link img {
    width: 80%;
    height: 80%;
}

.reviews-inner__link:hover {
    transform: translateY(-3px) translateX(3px);
}


.feedback {
    .title {
        margin-bottom: 20px;
        text-align: center;
        color: var(--def-color);
    }

    .slogan {
        text-align: center;
    }

}

.feedback-form__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feedback-form__row__item {
    width: 100%;
    margin-top: 40px;
}

.feedback-form__row__item:nth-child(1) {
    width: 48%;
}

.feedback-form__row__item:nth-child(2) {
    width: 48%;
}

.feedback-form__inner input {
    border-bottom: 1px solid #FFFFFF;
    padding: 0 0 8px 30px;
    color: #FFFFFF;
    font-size: 20px;
    width: 100%;
    height: 32px;
    background: transparent !important;
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.feedback-form__inner input:hover {
    border-color: var(--def-color);
}

.feedback-form__inner input:focus {
    border-color: var(--def-color);
}

.feedback-form__inner textarea {
    resize: none;
    height: 200px;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    padding: 24px 30px;
    color: #FFFFFF;
    font-size: 20px;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.feedback-form__inner textarea:hover {
    border-color: var(--def-color);
}

.feedback-form__inner textarea:focus {
    border-color: var(--def-color);
}

.feedback-form-check {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.feedback-form-check__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-form-check__icon input {
    width: 24px;
    height: 24px;

}

.feedback-form-check__title {
    margin-left: 24px;
    font-weight: 500;
    cursor: pointer;
}

.feedback-form-check__link {
    color: var(--def-color);
}

.feedback-form__sub {
    text-align: center;
    margin-top: 40px;
}

.footer{
    background: #1F1F1F;
    padding: 90px 0;
}
.footer__row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    align-items: center;
}
.footer__logo{
    display: flex;
    align-items: center;
    max-width: 30%;
}
.footer__logo__title{
    font-weight: 700;
    margin-left: 10px;
    font-size: 20px;
    color: #fff;
}
.footer__map{
    width: 30%;
    background: #151515;
    padding: 20px;
    border-radius: 10px;
    display: block;
}
.footer-text{
    text-align: center;
    color: var(--def-color);
    font-weight: 500;
    font-size: 18px;
}
.footer__map img{
    width: 100%;
}
.footer-soc{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
    border-top: 1px solid var(--def-color);
}
.footer-soc__item{
    transition: 0.3s;
}
.footer-soc__item:hover{
    opacity: 0.5;
}

@media screen and (max-width: 1200px){
    .about-inner__item{
        width: 33% !important;
    }
    .about-inner__item__img{
        width: 35%;
    }
    .menu__block__link{
        padding: 10px;
    }
}
@media screen and (max-width: 992px){
    .development-block-header{
        justify-content: center;
    }
    .development-block-header__item{
        border-radius: 20px;
    }
    .development-block-content__item{
        background: transparent;
        text-align: center;
    }
    .development-block-content__item__slogan{
        max-width: 100%;
    }
    .development-block-content__item__img{
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 20px auto 0 auto;

    }
    .about-row{
        display: block;
    }
    .about-row__item{
        width: 100%;
        text-align: center;
    }
    .about-inner__item{
        width: 50% !important;
    }
    .about-inner{
        justify-content: center;
    }
    .about-img{
        max-width: 400px;
        margin: 0 auto;
    }
    .why-row__item{
        width: 50%;
    }
    .why-row__item:nth-child(n+3){
        border-top: 1px solid var(--def-color);
    }
}

@media screen and (max-width: 768px){
    .head-block__title{
        font-size: 54px;
    }
    .head-block{
        text-align: center;
    }
    .head-block-inner{
        justify-content: center;
    }
    .head-block-inner__item{
        margin: 10px;
    }
    section{
        padding: 80px 0;
    }
    h2.title{
        font-size: 40px;
    }
    h3.title{
        font-size: 34px;
    }
    .about-inner__item{
        width: 100% !important;
        border-radius: 0;
    }
    .about-inner{
        border-radius: 10px;
        overflow: hidden;
    }
    .why-row__item{
        width: 100%;
    }
    .reviews-row__item:nth-child(2){
        transform: none;
    }
    .reviews-row__item{
        width: 48%;
    }
    .reviews-row{
        justify-content: center;
    }
    .footer__logo{
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }
    .footer__map{
        width: 100%;
    }
    .footer-text{
        width: 100%;
        margin: 20px 0;
    }
    .development-block-header__item{
        padding: 15px;
    }
    .header-phone__link__icon{
        display: flex;
    }
    .header-phone__link__title{
        display: none;
    }
    .header-row{
        justify-content: flex-start;
    }
    .header-phone{
        margin-left: auto;
    }
    .header-bars{
        display: flex;
        margin-left: 20px;
    }
    .header-menu{
        display: none;
    }
    .head{
        padding: 120px 0;
    }

}

@media screen and (max-width: 574px){
    .feedback-form__row__item{
        width: 100% !important;
    }
    .reviews-row__item{
        width: 98%;
    }
}

    #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Темний фон */
    color: #fff; /* Білий текст */
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Забезпечує видимість поверх іншого контенту */
    display: none; /* Спочатку прихований, показується через jQuery */
    font-family: Arial, sans-serif;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Для мобільних пристроїв */
}

#cookie-banner p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

#cookie-banner a {
    color: #8cff00; /* Яскравий колір для посилання, наприклад, зелений */
    text-decoration: underline;
}

#cookie-accept-btn,
#cookie-reject-btn {
    background-color: #8cff00;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-left: 20px; /* Відступ від тексту */
}

#cookie-accept-btn:hover,
#cookie-reject-btn:hover  {
    background-color: #a0ff33;
}

/* Адаптивність для менших екранів */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-accept-btn,
    #cookie-reject-btn  {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }
}
.footer__row+.footer__row{
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--def-color);
}
.f-link{
    color: var(--def-color);
    margin: 10px;
}

/* БАЗОВІ СТИЛІ (Узагальнені) */
.contacts {
    padding: 140px 0;
    .footer-soc{
        border: none;
        background: #000;
        border-radius: 10px;
    }
    
}

.contacts__title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em; /* Припускаємо, що title вже стилізовано */
    color: #333;
}

/* СТИЛІ КОНТЕЙНЕРА І БЛОКІВ */
.contacts-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contacts-block {
    flex: 1;
    min-width: 250px;
}

.contacts-block h3 {
    font-size: 1.5em;
    color: #4a90e2; /* Основний колір бренду */
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

/* СТИЛІ КОНТАКТНОЇ ІНФОРМАЦІЇ */
.contacts-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

.contacts-label {
    font-weight: bold;
    display: inline-block;
    min-width: 80px; /* Вирівнювання полів */
    color: #555;
}

.contacts-item a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contacts-item a:hover {
    color: #2e60a3;
}

/* СТИЛІ СОЦІАЛЬНИХ МЕРЕЖ */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: block;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
}

.social-link img {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    opacity: 0.8;
}

.contacts-note {
    margin-top: 30px;
    font-size: 0.85em;
    color: #777;
    font-style: italic;
}

/* АДАПТИВНІСТЬ (Для мобільних пристроїв) */
@media (max-width: 768px) {
    .contacts-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .contacts-block {
        margin-bottom: 30px;
    }
}

/* --- СТИЛІ ЮРИДИЧНИХ СТОРІНОК --- */
.legal-page {
    padding-top: 140px !important;
    padding: 60px 0;
    line-height: 1.7;
    font-family: Arial, sans-serif;
    color: #333;
}

/* ЗАГОЛОВКИ СТОРІНОК */
.legal-title {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #4a90e2; /* Брендовий колір */
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 10px;
}

/* ОСНОВНИЙ КОНТЕНТ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2e60a3;
    border-left: 5px solid #4a90e2;
    padding-left: 10px;
}

.legal-content p {
    margin-bottom: 1.5em;
    font-size: 1em;
}

.legal-content ul {
    margin: 15px 0 25px 20px;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #4a90e2;
    text-decoration: underline;
}

/* ПРИМІТКА (Platzhalter-Hinweis) */
.legal-note {
    margin-top: 40px;
    padding: 15px;
    background-color: #ffe0b2; /* Світло-помаранчевий фон */
    border: 1px solid #ffb74d;
    color: #e65100;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
}

/* АДАПТИВНІСТЬ */
@media (max-width: 820px) {
    .legal-page {
        padding: 40px 15px;
    }
    .legal-content {
        padding: 20px;
    }
    .legal-title {
        font-size: 2em;
    }
    .legal-content h2 {
        font-size: 1.5em;
    }
}