/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: 'Lato', sans-serif;
    background-color: #040404;
    color: #fff;
    line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Header */
header {
    padding: 16px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(4, 4, 4, 0.3);
    backdrop-filter: blur(10px);

}

.logo img {
    width: 48px;
    height: 48px;
}

/* Hero */
.hero {
    width: calc(100% - 40px);              /* 👈 создаёт отступы по бокам */
    max-width: 1200px;                     /* 👈 ограничиваем максимальную ширину */
    margin: 10px auto;                     /* 👈 центрируем и отступ сверху/снизу */
    padding: 40px 30px;
    border-radius: 20px;
    overflow: hidden;

    background-image: url("../images/BG/BG1.png"); /* 👈 исправленный путь */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
    color: #fff;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero h2 {
    font-size: 26px;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 36px;
}

a.open-client-modal {
    display: inline-block;
    color: white;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

a.open-client-modal:hover {
    background-color: #f5a425;
    color: black;
    border-color: #f5a425;
}

.video-text-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    align-items: flex-start;
    justify-content: center;
}

.video-column {
    flex: 1 1 480px;
    max-width: 600px;
}

.text-column {
    flex: 1;
    padding-left: 40px;
    color: #fff;
    text-align: left; /* 👈 теперь текст выравнивается по левому краю */
}

.text-column ul {
    list-style-position: inside; /* 👈 буллеты ближе к тексту */
    margin-bottom: 20px;
    padding-left: 0;
}

.text-column li {
    margin-bottom: 10px;
}

.text-column ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16.5px;
}

.text-column .highlight {
    color: #f5a425;
    font-weight: 500;
}

.text-column a.open-client-modal {
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 19px;
    transition: color 0.4s ease, font-size 0.4s ease, font-weight 0.4s ease;
}

.text-column a.open-client-modal:hover {
    color: #f5a425;
    font-weight: 700;
    font-size: 21px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}





/* Form Section */
.form-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.form-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

form input,
form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
}

form input::placeholder,
form textarea::placeholder {
    color: #ccc;
}

form button {
    width: 100%;
    padding: 14px;
    background-color: #f5a425;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #e6951d;
}

/* Responsive */
@media (max-width: 1290px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .form-container {
        padding: 24px;
    }
}

/* ✅ Modal Styles */
#thank-you-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#thank-you-modal.show {
    display: flex;
    opacity: 1;
}

#thank-you-modal h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#thank-you-modal p {
    font-size: 20px;
}

/* ✅ Mobile Responsive */
@media (max-width: 600px) {
    #thank-you-modal h2 {
        font-size: 24px;
    }

    #thank-you-modal p {
        font-size: 16px;
    }
}

#thank-you-modal button {
    background: #f5a425;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#thank-you-modal button:hover {
    background: #ffc84a;
}

/* ✅ Узкие экраны: стекаем блоки, видео на всю ширину */
@media (max-width: 800px) {
  .hero {
    width: 100%;
    margin: 0;                 /* убираем внешние поля, чтобы видео реально было во всю ширину */
    border-radius: 0;
    padding: 24px 16px;
  }

  .video-text-section {
    flex-direction: column;    /* было в ряд → становится столбцом */
    gap: 24px;
    align-items: stretch;      /* пусть растягивается на всю ширину */
    justify-content: flex-start;
  }

  .video-column,
  .text-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .text-column {
    padding-left: 0;           /* убираем левый внутренний отступ */
    text-align: left;          /* читаемость */
  }

  /* чуть компактнее списки на мобиле */
  .text-column ul {
    padding-left: 1rem;        /* чтобы маркеры не прилипали к краю */
    list-style-position: outside;
  }
}