.contact-hero-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero-title {
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #92857A;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.contact-hero-underline {
    width: 120%;
    height: 4px;
    background-color: #92857A;
    margin: 20px auto 0;
    position: relative;
    left: calc(-20% + 20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-separator-bar {
    width: 100%;
    height: 30px;
    background-color: #E6E0DA;
    margin: 0;
}

.contact-content-section {
    padding: 60px 0;
    width: 100%;
}

.contact-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-content {
    line-height: 1.6;
}

.contact-content h1,
.contact-content h2,
.contact-content h3,
.contact-content h4,
.contact-content h5,
.contact-content h6 {
    color: #92857A;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    margin-top: 40px;
}

.contact-content h1 {
    font-size: 36px;
    margin-top: 0;
}

.contact-content h2 {
    font-size: 32px;
    text-align: center;
}

.contact-content h3 {
    font-size: 28px;
}

.contact-content h4 {
    font-size: 24px;
}

.contact-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-content ul,
.contact-content ol {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 30px;
}

.contact-content li {
    margin-bottom: 8px;
}

.contact-content strong {
    color: #92857A;
    font-weight: 600;
}

.contact-content a {
    color: #92857A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #816B63;
    text-decoration: underline;
}

.contact-content .wpcf7 {
    margin: 30px 0;
}

.contact-content .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.legend-styles,
.contact-content .wpcf7-form label {
    font-size: 16px;
    font-weight: 600;
    color: #92857A;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.contact-content .wpcf7-form input[type="text"],
.contact-content .wpcf7-form input[type="email"],
.contact-content .wpcf7-form input[type="tel"],
.contact-content .wpcf7-form input[type="url"],
.contact-content .wpcf7-form input[type="number"],
.contact-content .wpcf7-form input[type="date"],
.contact-content .wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E6E0DA;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-content .wpcf7-form input[type="text"]:focus,
.contact-content .wpcf7-form input[type="email"]:focus,
.contact-content .wpcf7-form input[type="tel"]:focus,
.contact-content .wpcf7-form input[type="url"]:focus,
.contact-content .wpcf7-form input[type="number"]:focus,
.contact-content .wpcf7-form input[type="date"]:focus,
.contact-content .wpcf7-form textarea:focus {
    border-color: #92857A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(146, 133, 122, 0.1);
}

.contact-content .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-content .wpcf7-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E6E0DA;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.contact-content .wpcf7-form select:focus {
    border-color: #92857A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(146, 133, 122, 0.1);
}

.contact-content .wpcf7-form .wpcf7-checkbox,
.contact-content .wpcf7-form .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-content .wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.contact-content .wpcf7-form .wpcf7-list-item-label {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
}

.contact-content .wpcf7-form input[type="checkbox"],
.contact-content .wpcf7-form input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #92857A;
}

.contact-content .wpcf7-form input[type="submit"] {
    background: #92857A;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    padding: 15px 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    align-self: flex-start;
    margin-top: 10px;
}

.contact-content .wpcf7-form input[type="submit"]:hover {
    background: #816B63;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(146, 133, 122, 0.3);
}

.contact-content .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.contact-content .wpcf7-response-output {
    border: 2px solid #92857A;
    background-color: rgba(146, 133, 122, 0.1);
    color: #92857A;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 600;
}

.contact-content .wpcf7-mail-sent-ok {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.contact-content .wpcf7-validation-errors,
.contact-content .wpcf7-mail-sent-ng {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
}

.contact-content .wpcf7-not-valid-tip {
    color: #c62828;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

.contact-content .wpcf7-spinner {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.contact-content .wpcf7-form p {
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
}

.contact-content .wpcf7-form .wpcf7-validates-as-required {
    border-color: #92857A;
}

.row-3 {
    display: flex;
    gap: 4%;
    align-items: flex-end;
}

.row-3 fieldset {
    width: 32%;
}

.wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column-reverse;
}

fieldset.checkbox-styles label {
    display: flex !important;
    gap: 20px !important;
}

fieldset.checkbox-styles input[type="checkbox"],
fieldset.checkbox-styles input[type="radio"] {
    width: 23px;
    height: 23px;
    transform: scale(1.4);
    transform-origin: top left;
}

@media (max-width: 1024px) {
    .contact-hero-title {
        font-size: 35px;
        letter-spacing: 3px;
    }

    .contact-hero-underline {
        width: 110%;
        left: -5%;
    }

    .contact-container {
        padding: 0 30px;
    }

    .contact-content h1 {
        font-size: 32px;
    }

    .contact-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .row-3 fieldset {
        width: 100%;
    }

    .row-3 {
        flex-direction: column;
    }

    .contact-content .wpcf7-form {
        gap: 0 !important;
    }

    .contact-hero-banner {
        height: 350px;
    }

    .contact-hero-title {
        font-size: 35px;
        letter-spacing: 3px;
    }

    .contact-hero-underline {
        width: 100%;
        left: 0;
        height: 3px;
    }

    .contact-content-section {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-content h1 {
        font-size: 28px;
    }

    .contact-content h2 {
        font-size: 24px;
    }

    .contact-content h3 {
        font-size: 22px;
    }

    .contact-content .wpcf7-form input[type="submit"] {
        width: 100%;
        align-self: stretch;
        padding: 18px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-hero-banner {
        height: 200px;
    }

    .contact-hero-title {
        font-size: 35px;
        letter-spacing: 3px;
    }

    .contact-hero-underline {
        height: 2px;
        margin: 15px auto 0;
    }

    .contact-container {
        padding: 0 15px;
    }

    .contact-content h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .contact-content h2 {
        font-size: 20px;
    }

    .contact-content p,
    .contact-content li {
        font-size: 15px;
    }

    .legend-styles,
    .contact-content .wpcf7-form label {
        font-size: 14px;
    }

    .contact-content .wpcf7-form input[type="text"],
    .contact-content .wpcf7-form input[type="email"],
    .contact-content .wpcf7-form input[type="tel"],
    .contact-content .wpcf7-form input[type="url"],
    .contact-content .wpcf7-form input[type="number"],
    .contact-content .wpcf7-form input[type="date"],
    .contact-content .wpcf7-form textarea,
    .contact-content .wpcf7-form select {
        padding: 12px 15px;
        font-size: 15px;
    }

    .contact-content .wpcf7-list-item-label {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero-title {
        text-shadow: none;
    }

    .contact-hero-underline {
        box-shadow: none;
    }

    .contact-content .wpcf7-form input[type="text"],
    .contact-content .wpcf7-form input[type="email"],
    .contact-content .wpcf7-form input[type="tel"],
    .contact-content .wpcf7-form input[type="url"],
    .contact-content .wpcf7-form input[type="number"],
    .contact-content .wpcf7-form input[type="date"],
    .contact-content .wpcf7-form textarea,
    .contact-content .wpcf7-form select,
    .contact-content .wpcf7-form input[type="submit"] {
        transition: none;
    }

    .contact-content .wpcf7-form input[type="submit"]:hover {
        transform: none;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    }
}

@media (prefers-contrast: high) {
    .contact-hero-title {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }

    .contact-content .wpcf7-form input[type="text"],
    .contact-content .wpcf7-form input[type="email"],
    .contact-content .wpcf7-form input[type="tel"],
    .contact-content .wpcf7-form input[type="url"],
    .contact-content .wpcf7-form input[type="number"],
    .contact-content .wpcf7-form input[type="date"],
    .contact-content .wpcf7-form textarea,
    .contact-content .wpcf7-form select {
        border: 3px solid #92857A;
    }

    .contact-content .wpcf7-form input[type="submit"] {
        border: 2px solid #fff;
    }
}