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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 50px;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Шапка */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: #ff6600;
}

.header-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-contacts a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header-contacts a:hover {
    color: #ff6600;
}

.email {
    font-weight: normal !important;
    opacity: 0.8;
}

/* Главный экран */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background:
        linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
        url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero .container {
    max-width: 650px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #d1d1d1;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: #ff6600;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Услуги */
.services {
    background-color: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #242424;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-bottom: 4px solid #ff6600;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #b3b3b3;
    margin-bottom: 25px;
    font-size: 15px;
}

.service-card .price {
    display: inline-block;
    font-weight: bold;
    color: #ff6600;
    font-size: 18px;
    background-color: rgba(255, 102, 0, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

/* Преимущества */
.benefits {
    background-color: #121212;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item .icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.benefit-item .icon svg {
    width: 48px;
    height: 48px;
    stroke: #ff6600;
    transition: transform 0.3s ease;
}

.benefit-item:hover .icon svg {
    transform: scale(1.1);
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #b3b3b3;
    font-size: 15px;
}

/* Контакты */
.contacts-section {
    background-color: #1a1a1a;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #242424;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
}

.contact-item .icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

.contact-item .icon svg {
    width: 28px;
    height: 28px;
    stroke: #ff6600;
    display: block;
}

.contact-item__body {
    flex: 1;
    min-width: 0;
}

.contact-item h3 {
    font-size: 16px;
    text-transform: uppercase;
    color: #ff6600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #d1d1d1;
    font-size: 16px;
    line-height: 1.5;
    word-break: break-word;
}

.contact-item a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-item a:hover {
    color: #ff6600;
}

.map-wrapper {
    background-color: #242424;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 400px;
    min-height: 400px;
    position: relative;
}

.map-wrapper iframe,
.map-wrapper > iframe {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px;
    border: 0;
    display: block;
}

/* Форма заявки */
.booking {
    background-color: #ff6600;
    color: #ffffff;
    text-align: center;
}

.booking h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.booking > .container > p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    padding: 18px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.contact-form .btn {
    background-color: #242424;
    width: 100%;
}

.contact-form .btn:hover:not(:disabled) {
    background-color: #121212;
    transform: none;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #242424;
}

.consent-label a {
    color: #ffffff;
    text-decoration: underline;
}

.consent-label a:hover {
    text-decoration: none;
}

.form-error {
    color: #ffe0e0;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-error.visible {
    display: block;
}

.honeypot-field {
    display: none !important;
}

/* Плавающая кнопка Telegram */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #24A1DE;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: #2392c9;
}

/* Подвал */
.footer {
    background-color: #0a0a0a;
    padding: 30px 20px;
    text-align: center;
    color: #888888;
    font-size: 14px;
}

.footer a {
    color: #ff6600;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: #242424;
    border-radius: 12px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: rgba(255, 102, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ff6600;
}

.modal h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.modal p {
    color: #b3b3b3;
    margin-bottom: 28px;
    font-size: 16px;
}

.modal .btn {
    min-width: 160px;
}

.modal-policy {
    max-width: 600px;
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-policy h3 {
    text-align: center;
}

.modal-policy .policy-text {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-policy .policy-text p {
    margin-bottom: 12px;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #888888;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-wrapper {
    position: relative;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .hero {
        padding: 100px 20px 60px;
        text-align: center;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

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

    section {
        padding: 50px 20px;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header-contacts {
        justify-content: center;
    }

    .map-wrapper,
    .map-wrapper iframe {
        height: 300px;
        min-height: 300px;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 26px;
        height: 26px;
    }

    .modal {
        padding: 30px 24px;
    }
}
