body.contact-layout {
    min-height: 100vh;
    color: #111111;
    background-image: url('../images/bg.webp') !important;
}

.contact-main {
    width: min(1220px, calc(100% - 24px));
    margin: 0 auto;
    padding: 150px 0 56px;
}

.contact-title {
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(22px, 3.2vw, 50px);
    line-height: 1;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    padding: clamp(18px, 2vw, 30px);
}

.contact-company {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-copy {
    margin: 0;
    font-size: clamp(17px, 1.85vw, 29px);
    line-height: 1.34;
    letter-spacing: 0.4px;
}

.contact-copy + .contact-copy {
    margin-top: 14px;
}

.contact-company .contact-copy:first-child {
    font-size: clamp(21px, 2.4vw, 38px);
    line-height: 1.15;
}

.contact-copy a {
    color: #111111;
    text-decoration: none;
}

.contact-copy a:hover,
.contact-copy a:focus-visible {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-message {
    margin: 0;
    padding: 10px 12px;
    border: 2px solid #ec0a3a;
    border-radius: 24px;
    text-align: center;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.35;
    letter-spacing: 0.3px;
}

.contact-message-success {
    color: #111111;
}

.contact-message-error {
    color: #ec0a3a;
}

.contact-input {
    width: 100%;
    border: 2px solid #ec0a3a;
    border-radius: 999px;
    background: transparent;
    color: #111111;
    font-family: 'Anton', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    letter-spacing: 0.45px;
    text-transform: uppercase;
    text-align: center;
    padding: 0 14px;
    height: clamp(44px, 4vw, 52px);
}

.contact-input::placeholder {
    color: rgba(17, 17, 17, 0.7);
}

.contact-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(236, 10, 58, 0.14);
}

.contact-textarea {
    height: clamp(128px, 15vw, 180px);
    resize: vertical;
    padding: 10px 14px;
    text-align: left;
    border-radius: 28px;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.35;
    letter-spacing: 0.25px;
}

.contact-consent input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex: 0 0 20px;
    border: 2px solid #ec0a3a;
    border-radius: 7px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    position: relative;
}

.contact-consent input:checked {
    background: #ec0a3a;
}

.contact-consent input:checked::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32%;
    height: 56%;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: translate(-50%, -60%) rotate(45deg);
}

.contact-privacy-note {
    margin: 2px 0 0;
    font-size: clamp(11px, 0.9vw, 14px);
    line-height: 1.45;
    letter-spacing: 0.2px;
}

.contact-privacy-note a {
    color: #ec0a3a;
    text-decoration: none;
}

.contact-privacy-note a:hover,
.contact-privacy-note a:focus-visible {
    text-decoration: underline;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: clamp(190px, 24vw, 320px);
    height: clamp(42px, 4.2vw, 56px);
    margin-top: 8px;
    padding: 0 clamp(22px, 3vw, 42px);
    border: 2px solid #ec0a3a;
    border-radius: 999px;
    background: transparent;
    color: #ec0a3a;
    font-family: 'Anton', sans-serif;
    font-size: clamp(16px, 1.9vw, 28px);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    clip-path: none;
    box-shadow: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    transform: translateY(-2px);
    background: rgba(236, 10, 58, 0.08);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-main {
        width: calc(100% - 20px);
        padding-top: 116px;
        padding-bottom: 40px;
    }

    .contact-title {
        margin-bottom: 14px;
        font-size: clamp(17px, 6.3vw, 28px);
    }

    .contact-card {
        padding: 14px 12px;
    }

    .contact-copy {
        font-size: clamp(14px, 4.6vw, 20px);
        line-height: 1.32;
    }

    .contact-copy + .contact-copy {
        margin-top: 10px;
    }

    .contact-company .contact-copy:first-child {
        font-size: clamp(18px, 6.2vw, 28px);
    }

    .contact-input {
        font-size: clamp(12px, 3.8vw, 16px);
        height: 42px;
    }

    .contact-textarea {
        height: 124px;
    }

    .contact-consent {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        font-size: clamp(11px, 3.5vw, 14px);
        text-align: center;
    }

    .contact-consent input {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
        margin-top: 0;
    }

    .contact-privacy-note {
        font-size: clamp(10px, 3.2vw, 13px);
        text-align: center;
    }

    .contact-submit {
        min-width: clamp(160px, 55vw, 240px);
        height: clamp(36px, 10.5vw, 44px);
        font-size: clamp(14px, 4.8vw, 20px);
    }
}
