@font-face {
    font-family: 'Inter';
    src: url('Inter-Regular.otf') format('opentype'),
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

body {
    background: white;
    color: black;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.vote-button-wrapper {
    position: absolute;
    top: 100px;
    /* чуть ниже хедера */
    right: 2rem;
    z-index: 999;
    text-align: center;
}

.vote-button {
    background: #A057EF;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    max-width: 280px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vote-button:hover {
    background: #8d3dd3;
}


.navbar {
    position: sticky;
    top: 0;
    background: #A057EF;
    z-index: 1000;
    padding: 1rem;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

section {
    scroll-margin-top: 10vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
}

.logo {
    height: 200px;
    object-fit: contain;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.call-section {
    text-align: center;
    margin: 2rem 0;
}

.call-button {
    background: #F21F1F;
    color: white;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 80%;
    max-width: 600px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.call-button:hover {
    background: #C01919;

}

.slider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.slider-box {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 1 / 1;
    background: #A057EF;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.slider-content {
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    z-index: 1;
}

/* Стрелки снаружи */
.slider-arrow {
    background: rgba(160, 87, 239, 0.2);
    color: #A057EF;
    border: 2px solid #A057EF;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: #A057EF;
    color: white;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem auto;
}

.contacts-box {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    background: #D9D9D9;
}

.contactsboxxs {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    background: #D9D9D9;
}

.map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    max-width: 400px;
}

.contacts-info h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #000;
}

.info-box {
    background: #f0f0f0;
    padding: 1rem;
    font-size: 1.25rem;
    border-radius: 12px;
}

/* Кнопки */
.buttons-row {
    display: flex;
    justify-content: center;
}

.contact-btn {
    flex: 1;
    width: 240px;
    height: 60px;
    background: #A057EF;
    color: white;
    font-size: 1.8rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #8d3dd3;
}

.documents-section {
    padding: 2rem;
    padding-top: 0;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.docs-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 2rem;
}


.doc-item {
    text-align: center;
    height: 100px;
    background: #A057EF;
    border-radius: 20px;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.doc-item:hover {
    background: #8d3dd3;
}

.money {
    padding: 2rem;
    padding-top: 0;
    display: flex;
}

.money1 {
    padding: 2rem;
    padding-top: 12rem;
    display: flex;
}

.last-box {
    width: 100%;
    max-width: 1080px;
    height: 100px;
    background: #A057EF;
    border-radius: 20px;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.last-box:hover {
    background: #8d3dd3;
}

@media (min-width: 768px) {
    .call-button {
        display: none;
    }

    .contactsboxxs {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu {
        gap: 1rem;
        font-size: 1rem;
    }

    .hero-box {
        width: 80%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .slider-arrow.left,
    .slider-arrow.right {
        display: none;
    }

    .slider {
        padding: 2rem;
        font-size: 1.5rem;
    }

    .vote-button-wrapper {
        
        top: auto;
        right: auto;
        margin: 2rem 0;
        position: relative;
    }

    .vote-button {
        font-size: 1.4rem;
        font-weight: 400;
        padding: 1rem 2rem;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        width: 80%;
        max-width: 600px;
        padding: 10px;
    }

    header {
        display: none;
    }

    .contacts-info {
        text-align: center;
    }

    .logo {
        height: 100px;
    }

    .call-button {
        font-size: 1rem;
        padding: 5px;
    }

    .last-box {
        padding: 10px;
        font-size: 1.5rem;
    }

    .contacts-box {
        display: none;
    }

    .contactsboxxs {
        max-width: 350px;
        max-height: 350px;
    }

    .info-box {
        max-width: 350px;
    }

    .contact-btn {
        font-size: 1.5rem;
    }

    .money1
    {
        padding-top: 2rem;
    }
}