@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400;1,500;1,700;1,800&family=Montserrat:ital@1&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 20px;
}

/* === Фон страницы контактов === */

.contacts-page {
    background: linear-gradient(90deg, rgba(160, 30, 200, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    width: 100%;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* === Шапка === */

.container {
    width: 1200px;
    margin: 0 auto;
}

header {
    padding: 50px 0;
}

header .logo {
    text-transform: uppercase;
    font-size: 29px;
    font-weight: 800;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a{
    color: #fff;
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: #A01EC8;
    border-radius: 10px;
    position: relative;
    top: 10px;
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 5px solid #A01EC8;
}

header nav ul li.btn a {
    background: #A01EC8;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 500ms ease;
    color: #fff;
}

header nav ul li.btn a:hover {
    background: #9f5fb6;
}

/* === Верхний блок === */

.hero {
    padding-bottom: 100px;
    position: relative;
}

.hero--info {
    width: 530px;
    padding-top: 70px;
}

.hero--info h2 {
    color: #A01EC8;
    font-size: 20px;
    font-weight: 600;
}

.hero--info h1 {
    font-size: 50px;
    font-weight: 600;
}

/* === Блок с контактами === */

.contacts-section {
    padding: 20px 0 100px;
}

.contacts-container {
    max-width: 800px;
    margin: 0 auto;
}

.contacts-section h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 20px;
    transition: all 300ms ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
}

.contact-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #f0f0f0;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
}

/* Кликабельный телефон */
a.contact-value {
    display: inline-block;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transition: border-color 300ms ease;
}

a.contact-value:hover {
    border-color: #fff;
}

/* === Адаптив === */

@media (max-width: 1240px) {
    .container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .hero--info h1 {
        font-size: 32px;
    }

    .contacts-section {
        padding: 40px 0 60px;
    }

    .contacts-section h2 {
        font-size: 28px;
    }
}
