* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0d1117;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.hero {
    /*min-height: 100vh;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*text-align: center;*/
    /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),*/
    /*url('img/photo-1511497584788-876760111969.jpg');*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*padding: 40px 20px;*/

    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgb(109 109 109 / 8%), rgb(13 17 23)), url(./img/fon.webp) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    color: #c9d1d9;
    max-width: 700px;
    margin: auto;
}

.btn-main {
    background: #ffc107;
    color: #000;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.2s;
}

.btn-main:hover {
    background: rgb(255, 193, 7);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    font-weight: 700;
}

.card-custom {
    background: #161b22;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    color: #fff;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.card-custom img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-custom .card-title {
    color: #fff;
    font-weight: 700;
}

.card-custom p {
    color: #c9d1d9;
}

.price {
    color: #ffc107;
    font-size: 24px;
    font-weight: bold;
}

.video-block video {
    width: 100%;
    border-radius: 20px;
}

.form-control {
    background: #1e242c;
    border: 1px solid #30363d;
    color: #fff !important;
    border-radius: 12px;
    padding: 14px;
}

.form-control::placeholder {
    color: #8b949e !important;
}

.form-control:focus {
    background: #1e242c !important;
    color: #fff !important;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

textarea.form-control {
    resize: none;
}

.modal-content {
    background: #161b22;
    color: #fff;
    border-radius: 20px;
    border: 1px solid #30363d;
}

.btn-close {
    filter: invert(1);
}

footer {
    background: #090c10;
    padding: 40px 0;
}

.socials a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 12px;
    font-size: 20px;
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 30px;
    }
}


/* =========================
КАРУСЕЛЬ УЛОВОВ
========================= */

.catch-slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    padding: 14px;
}

/* =========================
КОНТАКТЫ
========================= */

.contacts-block {
    background: #161b22;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #30363d;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-title {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-text,
.contact-text a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 18px;
}

.contact-text a:hover {
    color: #fff;
}

@media (max-width: 768px) {

    .catch-slider img {
        height: 260px;
    }

    .contacts-block {
        padding: 25px;
    }
}