/* Contact page */
:root {
    --contact-orange: #f7931d;
    --contact-deep-orange: #f07900;
    --contact-brown: #5b2200;
    --contact-brown-dark: #3a1300;
    --contact-ivory: #fff2d8;
}

.contact-hero {
    padding: 56px 0 32px;
    background: #fff;
}

.contact-hero__wrapper {
    width: 1650px;
    margin: 0 auto;
}

.contact-hero__pill {
    background: #FA8C16;
    color: #FFFFFF;
    border-radius: 56px;
    padding: 48px clamp(24px, 6vw, 72px);
    text-align: left;
    box-shadow: 0 20px 40px rgba(240, 121, 0, 0.3);
}

.contact-hero__eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-hero__title {
    font-size: 64px;
    font-weight: 900;
    margin: 0;
    line-height: 1.5;
}

.contact-form-section {
    background: var(--contact-brown);
    padding: clamp(48px, 8vw, 96px) 0 120px;
    color: #fff;
}

.contact-form__wrapper {
    width: min(1080px, 94%);
    margin: 0 auto;
}

.contact-form__header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form__eyebrow {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-form__title {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
    color: #FA8C16;
}

.contact-form {
    /* background: rgba(0, 0, 0, 0.12); */
    /* border-radius: 32px; */
    padding: 0;
    /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); */
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px 32px;
    align-items: flex-start;
}

.contact-form__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    color: #fff;
}

.contact-form__badge {
    background: #FFA940;
    color: #FFFFFF;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hidden-visually {
    visibility: hidden !important;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 95%;
    border: none;
    border-radius: 12px;
    background: var(--contact-ivory);
    padding: 16px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--contact-brown-dark);
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form__field--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-form__radio {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-form__radio input {
    accent-color: var(--contact-orange);
    width: 16px;
    height: 16px;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: 3px solid rgba(247, 147, 29, 0.35);
}

.contact-form__actions {
    margin-top: 40px;
    text-align: center;
}

.contact-form__submit {
    border: none;
    border-radius: 999px;
    padding: 16px 60px;
    background: var(--contact-orange);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form__submit:hover {
    background: var(--contact-deep-orange);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.contact-form__submit:active {
    transform: translateY(0);
}

/* Contact success section */
.contact-success-section {
    background: #F6FFED;
    padding: 120px 0;
}

.contact-success__wrapper {
    width: 1024px;
    margin: 0 auto;
}

.contact-success__title {
    color: #389E0D;
}

.captcha-error {
    color: #cc0000;
    font-size: 14px;
    margin-top: 10px;
    display: none;
    font-weight: bold;
    padding: 8px 12px;
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
    border-radius: 4px;
}

.captcha-error.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}


/* Contact form alert messages */
.contact-alert {
    padding: 16px 40px 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in;
    position: relative;
}

.contact-alert.contact-alert-closing {
    animation: fadeOut 0.3s ease-out forwards;
}

.contact-alert-error {
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
    color: #cc0000;
}

.contact-alert-success {
    background-color: #e6f7e6;
    border: 1px solid #00cc00;
    color: #006600;
}

.contact-alert p {
    margin: 0;
    font-weight: 500;
}

.contact-alert-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contact-alert-close:hover {
    opacity: 1;
}

.contact-alert-error .contact-alert-close {
    color: #cc0000;
}

.contact-alert-success .contact-alert-close {
    color: #006600;
}


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

    .contact-form__label {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .contact-hero__pill {
        border-radius: 32px;
    }

    .contact-form {
        border-radius: 20px;
    }

    .contact-form__field input,
    .contact-form__field textarea {
        font-size: 0.95rem;
    }
}

