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

html,
body {
    width: 100%;
    min-height: 100%;
    background: #000;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

    body.modal-open {
        overflow: hidden;
    }

.splash-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px 25px 110px;
}

.main-content {
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity .25s ease, transform .25s ease;
}

.logo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

    .logo-container h1 {
        width: min(720px, 90vw);
        max-width: 100%;
        margin-top: 20px;
        font-size: clamp(16px, 1.9vw, 26px);
        font-weight: 500;
        letter-spacing: .18em;
        line-height: 1.3;
        color: #f4f4f4;
        transform: translateX(14px);
    }

        .logo-container h1 span {
            color: #ff8a00;
        }

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: min(720px, 90vw);
    max-width: 100%;
    margin: 0 auto;
    transform: translateX(14px);
}

.helmet-anim {
    position: absolute;
    width: 24%;
    top: -40%;
    left: -3.5%;
    z-index: 10;
    animation: 
        dropIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards,
        hoverHelmet 1.2s ease-in-out 1.5s infinite;
    transform-origin: center bottom;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.6));
}

@keyframes dropIn {
    0% { transform: translateY(-50%); opacity: 0; }
    60% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(-10%); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes hoverHelmet {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4%); }
}

.logo {
    width: 100%;
    height: auto;
    display: block !important;
    object-fit: contain;
    object-position: center;
    pointer-events: none !important;
    outline: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    background: transparent !important;
}

/* Hide all native Safari / macOS / iOS WebKit video play buttons and media badges */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-inline-play-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.contact-btn {
    margin-top: 40px;
    min-width: 275px;
    min-height: 58px;
    padding: 14px 30px;
    border: 1px solid #ff8a00 !important;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .18em;
    cursor: pointer;
    transition: .25s ease;
}

    .contact-btn:hover {
        background: #ff8a00;
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 0 25px rgba(255, 138, 0, .18);
    }

.mail-icon {
    font-size: 21px;
    line-height: 1;
}

.social-footer {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid #252525;
}

    .social-footer a {
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        letter-spacing: .08em;
        transition: color .2s ease;
    }

        .social-footer a:hover {
            color: #ff8a00;
        }

    .social-footer span {
        color: #444;
    }

/* =========================================================
   CONTACT MODAL
   ========================================================= */

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

    .contact-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.contact-modal {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 42px 42px 36px;
    background: #000;
    border: 1px solid #242424;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .7);
    transform: translateY(18px) scale(.98);
    transition: transform .25s ease;
}

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

.contact-modal h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: .08em;
}

.field {
    margin-bottom: 20px;
}

    .field label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .field input,
    .field textarea {
        width: 100%;
        border: 1px solid #303030;
        outline: none;
        border-radius: 0;
        background: #171717;
        color: #fff;
        font-family: inherit;
        font-size: 16px;
        letter-spacing: .04em;
        padding: 19px 20px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .field input {
        height: 62px;
    }

    .field textarea {
        min-height: 170px;
        resize: vertical;
    }

        .field input::placeholder,
        .field textarea::placeholder {
            color: #8d8d8d;
            opacity: 1;
        }

        .field input:focus,
        .field textarea:focus {
            border-color: #ff8a00;
            box-shadow: 0 0 0 1px rgba(255, 138, 0, .12);
        }

.form-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

    .form-actions button {
        min-width: 190px;
        height: 54px;
        border-radius: 0;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .12em;
        cursor: pointer;
        transition: .2s ease;
    }

.submit-btn {
    position: relative;
    border: 1px solid #ff8a00;
    background: #ff8a00;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .submit-btn:hover {
        background: #ff9f2e;
        border-color: #ff9f2e;
    }

    .submit-btn.loading {
        pointer-events: none;
        opacity: 0.8;
    }

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}

.submit-btn.loading .btn-spinner {
    display: inline-block;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

.cancel-btn {
    border: 1px solid #444;
    background: transparent;
    color: #fff;
}

    .cancel-btn:hover {
        border-color: #ff8a00;
        color: #ff8a00;
    }

.form-response {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    transition: all 0.3s ease;
}

    .form-response.success {
        background: rgba(40, 167, 69, 0.15);
        border: 1px solid #28a745;
        color: #5cdb95;
    }

    .form-response.error {
        background: rgba(220, 53, 69, 0.15);
        border: 1px solid #dc3545;
        color: #ff6b6b;
    }

/* =========================================================
   SUCCESS CARD
   ========================================================= */

.success-card {
    text-align: center;
    padding: 20px 10px 10px;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #ff8a00;
    background: rgba(255, 138, 0, 0.1);
    color: #ff8a00;
    font-size: 32px;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 138, 0, 0.3);
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {

    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 138, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 32px rgba(255, 138, 0, 0.5);
    }
}

.success-card h2 {
    margin-bottom: 16px;
    font-size: clamp(20px, 2.5vw, 28px);
    color: #fff;
    letter-spacing: .08em;
}

.success-msg {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 24px;
}

    .success-msg strong {
        color: #ff8a00;
    }

.success-details {
    background: #141414;
    border: 1px solid #282828;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #aaa;
}

    .success-details span {
        color: #fff;
        font-weight: 500;
    }


/* =========================================================
   TABLET / MOBILE
   Keep the same visual spacing hierarchy as desktop.
   Only scale dimensions where necessary.
   ========================================================= */

@media (max-width: 768px) {

    .splash-page {
        padding: 30px 25px 110px;
    }

    .main-content {
        width: 100%;
        max-width: 900px;
    }

    /*
   * Keep logo centered.
   * Do not introduce additional mobile horizontal shifting.
   */
    .logo-wrapper {
        width: 90vw;
        max-width: 720px;
        margin: 0 auto !important;
        transform: none;
    }

    .logo {
        width: 100%;
        margin: 0 auto !important;
    }

    /*
   * Same relationship between logo and
   * "WEBSITE UNDER CONSTRUCTION" as desktop.
   */
    .logo-container h1 {
        width: 94vw;
        max-width: 100%;
        margin-top: 15px;
        font-size: clamp(10px, 2.85vw, 13px);
        letter-spacing: .09em;
        line-height: 1.3;
        white-space: nowrap;
        transform: none;
    }

    /*
   * Keep exactly the same button spacing as desktop.
   */
    .contact-btn {
        margin-top: 40px;
        min-width: 275px;
        min-height: 58px;
        padding: 14px 30px;
        font-size: 15px;
        letter-spacing: .18em;
        border-radius: 10px;
    }

    .mail-icon {
        font-size: 21px;
    }

    /*
   * Footer spacing remains consistent with desktop.
   */
    .social-footer {
        left: 25px;
        right: 25px;
        bottom: 28px;
        gap: 22px;
        padding-top: 24px;
    }

        .social-footer a {
            font-size: 13px;
            letter-spacing: .08em;
        }

        .social-footer span {
            font-size: 13px;
        }

    /* Contact modal */
    .contact-overlay {
        padding: 16px;
    }

    .contact-modal {
        padding: 38px 24px 28px;
        max-height: calc(100vh - 32px);
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .splash-page {
        padding: 30px 25px 110px;
    }

    /*
   * Reduce only logo size on narrow screens.
   * Vertical spacing remains desktop-like.
   */
    .logo-wrapper {
        width: 90vw;
        max-width: 720px;
        margin: 0 auto !important;
        transform: none;
    }

    .logo {
        width: 100%;
        margin: 0 auto !important;
    }

    .logo-container h1 {
        width: 96vw;
        max-width: 100%;
        margin-top: 15px;
        font-size: clamp(10px, 2.85vw, 13px);
        letter-spacing: .09em;
        line-height: 1.3;
        white-space: nowrap;
        transform: none;
    }

    .contact-btn {
        margin-top: 40px;
        min-width: 275px;
        min-height: 58px;
        padding: 14px 30px;
        font-size: 15px;
        letter-spacing: .18em;
        border-radius: 10px;
    }

    .social-footer {
        left: 25px;
        right: 25px;
        bottom: 28px;
        padding-top: 24px;
        gap: 22px;
    }

        .social-footer a {
            font-size: 13px;
            letter-spacing: .08em;
        }

        .social-footer span {
            font-size: 13px;
        }

    /* Contact modal */
    .contact-overlay {
        padding: 12px;
    }

    .contact-modal {
        padding: 38px 17px 22px;
    }

        .contact-modal h2 {
            margin-bottom: 24px;
            font-size: 21px;
        }

    .field {
        margin-bottom: 14px;
    }

        .field input,
        .field textarea {
            font-size: 14px;
            padding: 15px;
        }

        .field input {
            height: 54px;
        }

        .field textarea {
            min-height: 135px;
        }

    .form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

        .form-actions button {
            width: 100%;
            min-width: 0;
            height: 50px;
        }
}


/* =========================================================
   SHORT MOBILE SCREENS
   ========================================================= */

@media (max-width: 480px) {
    .logo-wrapper {
        width: 90vw;
        max-width: 720px;
        margin: 0 auto !important;
        transform: none;
    }

    .logo {
        width: 100%;
        margin: 0 auto !important;
    }

    .logo-container h1 {
        width: 96vw;
        max-width: 100%;
        margin-top: 15px;
        font-size: clamp(10px, 2.85vw, 13px);
        letter-spacing: .09em;
        line-height: 1.3;
        white-space: nowrap;
        transform: none;
    }

    .contact-btn {
        width: 220px;
        min-width: 220px;
        max-width: 80vw;
        height: 52px;
        min-height: 52px;
        margin: 32px auto 0;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 13px;
        letter-spacing: .16em;
        border-radius: 9px;
    }

}
