@font-face {
    font-family: "Gotham Pro";
    src: url("../fonts/gothampro.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham Pro";
    src: url("../fonts/gothampro_italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Gotham Pro";
    src: url("../fonts/gothampro_bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham Pro";
    src: url("../fonts/gothampro_bolditalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

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

html {
    font-size: 16px;
}

body {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: #0F0F0F;
    color: #fff;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(#ffffff15 1px, transparent 1px),
        linear-gradient(90deg, #ffffff15 1px, transparent 1px);
    background-size: clamp(80px, 10vw, 170px) clamp(80px, 10vw, 170px);
    background-position: center -1px;
    pointer-events: none;
    z-index: 0;
}

.header {
    position: relative;
    z-index: 5;
    padding: clamp(1rem, 2vw, 1.875rem) clamp(1rem, 4vw, 3.25rem);
}

.logo {
    width: clamp(90px, 8vw, 122px);
    height: auto;
    display: block;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3.25rem) clamp(3rem, 6vw, 6.25rem);
}

.hero {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.title {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.subtitle {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.4;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.success-page .hero {
    margin-top: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.success-page .title {
    text-align: center;
}

.success-page .subtitle {
    text-align: center;
}

.sub-light {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.4;
    letter-spacing: 0;
    color: #FFFFFF;
    opacity: 0.9;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5625rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.form-block {
    background: #2A2A2A80;
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 3.125rem);
    width: 100%;
}

.form-block label {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    line-height: 1.8;
    letter-spacing: 0;
    color: #FFFFFF;
    display: block;
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.required {
    color: #A200FF;
    font-size: clamp(1.5rem, 3vw, 2.625rem);
    vertical-align: middle;
}

.note {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    line-height: 1.8;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.8;
}

.note-error,
.form-block label.label-error {
    color: #ff4444;
}

.note:not(.note-error),
.form-block label:not(.label-error) {
    transition: color 1.5s ease-out;
}

.note-comment {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    letter-spacing: 0;
    color: #FFFFFF;
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.attach-btn {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1;
    letter-spacing: 0;
    min-width: clamp(140px, 20vw, 158px);
    height: clamp(45px, 6vw, 50px);
    border-radius: 30px;
    padding: clamp(0.75rem, 1.5vw, 0.8125rem) clamp(1.25rem, 3vw, 1.875rem);
    background: #A200FF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.375rem, 1vw, 0.4375rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

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

.attach-btn:active {
    transform: translateY(0);
}

.attach-btn::before {
    content: "";
    display: inline-block;
    width: clamp(14px, 2vw, 16px);
    height: clamp(14px, 2vw, 16px);
    background-image: url("../icons/upload.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.files-list {
    margin-top: clamp(1rem, 2vw, 1.25rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.file-item {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;
    color: #FFFFFF;
    opacity: 0.9;
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1rem);
    background: #1A1A1A;
    border-radius: 8px;
    word-break: break-word;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.file-item span {
    flex: 1;
    min-width: 0;
}

.file-remove {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.25s ease;
    flex-shrink: 0;
}

.file-remove:hover {
    opacity: 1;
}

.input-text {
    width: 100%;
    padding: clamp(0.75rem, 1.5vw, 0.75rem) clamp(0.9375rem, 2vw, 0.9375rem);
    background: #0f0f11;
    border-radius: 10px;
    border: 1px solid #333;
    color: #fff;
    font-family: "Gotham Pro", sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin-top: clamp(0.5rem, 1.5vw, 0.625rem);
    transition: border-color 0.25s ease;
}

.input-text:focus {
    outline: none;
    border-color: #A200FF;
}

.input-text::placeholder {
    color: #888;
}

.submit-wrapper {
    display: flex;
    justify-content: flex-start;
    margin: clamp(1.5rem, 3vw, 1.875rem) 0;
}

.send-btn {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    line-height: 1;
    letter-spacing: 0;
    min-width: clamp(200px, 40vw, 303px);
    height: clamp(55px, 8vw, 65px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 0.5625rem);
    background: #A200FF;
    border: none;
    color: #fff;
    padding: clamp(1rem, 2vw, 1.125rem) clamp(1.5rem, 3vw, 1.875rem);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

.send-btn:active {
    transform: translateY(0);
}

.send-btn::after {
    content: "";
    width: clamp(14px, 2vw, 16px);
    height: clamp(14px, 2vw, 16px);
    background-image: url("../icons/send.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.thanks-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.thanks-modal {
    background: #2A2A2A;
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
    max-width: 90%;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.thanks {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    line-height: clamp(1.5, 1.3, 1.35);
    letter-spacing: 0;
    text-align: center;
    margin: clamp(4rem, 10vw, 8rem) auto 0;
    color: #FFFFFF;
    width: 100%;
    max-width: 100%;
}

.success-message {
    text-align: center;
    margin: clamp(2rem, 5vw, 4rem) auto 0;
    width: 100%;
}

.success-message .sub-light {
    font-family: "Gotham Pro", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
    text-align: center;
    opacity: 1;
}

@media (max-width: 768px) {
    .submit-wrapper {
        justify-content: center;
    }

    .send-btn {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .form-block {
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    .attach-btn {
        width: 100%;
        min-width: unset;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}
