@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ============================================
   RaviElson Contact Section – Frontend
   ============================================ */

#consent-check-all {
    margin-right: 8px;
}

.ravielson-contact-section {
    font-family: 'Poppins', sans-serif;
}

.ravielson-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #F8F5F2;
}

/* LEFT: Contact Info */
.ravielson-contact-info {
    flex: 0 0 35%;
    padding: 50px 40px;
    box-sizing: border-box;
}

.contact-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #403836;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-persons {
    margin-bottom: 30px;
}

.contact-person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #BB7B5F;
    display: flex;
    align-items: center;
}

.contact-icon svg path {
    fill: #BB7B5F;
}

.contact-person-name {
    font-size: 15px;
    font-weight: 600;
    color: #162B3B;
}

.contact-person-phone,
.contact-person-phone a {
    font-size: 14px;
    font-weight: 300;
    color: #54717B !important;
    text-decoration: none;
}

.contact-person-phone a:hover {
    text-decoration: underline;
}

.contact-email-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 40px;
}

.contact-email-label {
    font-size: 15px;
    font-weight: 600;
    color: #162B3B;
}

.contact-email-value {
    font-size: 14px;
    font-weight: 300;
    color: #54717B;
    text-decoration: none;
}

.contact-email-value:hover {
    text-decoration: underline;
}

.contact-salon {
    border-top: 1px solid #E5DDD8;
    padding-top: 30px;
}

.contact-salon-label {
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #403836;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-salon-info {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #54717B;
}

.contact-salon-info strong {
    display: block;
    font-weight: 700;
    color: #000 !important;
}

/* RIGHT: Contact Form */
.ravielson-contact-form-wrap {
    flex: 0 0 65%;
    padding: 35px;
    box-sizing: border-box;
    background: #fff;
}

.form-row {
    margin-bottom: 20px;
}

.form-row-2 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row-2 .form-field {
    flex: 1;
    min-width: 0;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #162B3B;
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 2px solid #D4C5B5;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #162B3B;
    box-sizing: border-box;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #C19A6B;
}

/* Consents */
.form-consents {
    margin-top: 25px;
}

.consent-info-box {
    background: #FAF3E8;
    padding: 20px 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #162B3B;
    margin-bottom: 15px;
    border-radius: 4px;
    border-left: 3px solid #54717B;
}

.consent-checkall {
    margin-bottom: 10px;
}

.consent-checkall label {
    font-size: 14px;
    font-weight: 600;
    color: #162B3B;
    cursor: pointer;
}

.consents-separator {
    border: 0;
    border-top: 1px solid #E8DDC9;
    /* Match consent box background or light tan */
    margin-bottom: 10px !important;
}

.consent-item {
    margin-bottom: 10px;
}

.consent-item label {
    font-size: 13px;
    line-height: 1.5;
    color: #162B3B;
    display: flex;
    align-items: flex-start;
    gap: 0 8px;
    cursor: pointer;
}

.consent-item input[type="checkbox"],
.consent-checkall input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #54717B;
}

.consent-item a {
    color: #54717B;
    text-decoration: underline !important;
}

/* Submit */
.form-submit-row {
    margin-top: 20px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: #54717B;
    color: #fff;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-submit-btn:hover {
    background: #403836;
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form message */
.form-message {
    margin-top: 15px;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 4px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Responsive */
@media (max-width: 991px) {
    .ravielson-contact-wrapper {
        flex-direction: column;
    }

    .ravielson-contact-info,
    .ravielson-contact-form-wrap {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row-2 {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .ravielson-contact-info,
    .ravielson-contact-form-wrap {
        padding: 30px 15px !important;
        overflow-x: hidden;
    }
}