﻿/* Contact Page Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page.contact .contact-form { 
    padding: 7rem 0;
}

/* Grid layout */
.page.contact .contact-form .bc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 4rem;
}

/* Fieldset + legend style (outlined inputs with title) */
.page.contact .contact-form .bc-field {
    position: relative;
    border: 1px solid #D2D6DB;
    border-radius: 0;
    background: #ffffff;
    padding: .5rem 1.5rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.page.contact .contact-form .bc-field legend {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #000;
    padding: 0 .8rem;
    margin-left: .6rem;
    background: #ffffff;
    letter-spacing: .01em;
}

/* Inputs */
.page.contact .contact-form .bc-field input,
.page.contact .contact-form .bc-field select,
.page.contact .contact-form .bc-field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.6rem;
    line-height: 1.4;
    padding: .6rem .2rem;
}
.page.contact .contact-form .bc-field textarea { resize: vertical; min-height: 180px; }

/* Placeholder color */
.page.contact .contact-form .bc-field ::-webkit-input-placeholder { color: #98A2B3; }
.page.contact .contact-form .bc-field :-ms-input-placeholder { color: #98A2B3; }
.page.contact .contact-form .bc-field ::placeholder { color: #98A2B3; }

/* Focus state with teal accent */
.page.contact .contact-form .bc-field:focus-within {
    border-color: #0EA5A8;
    box-shadow: inset 0 0 0 1px #0EA5A8;
}

/* Make the message span full width */
.page.contact .contact-form .bc-field--full { grid-column: 1 / -1; }

/* Select arrow */
.page.contact .contact-form .bc-field select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23677389' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    padding-right: 3rem;
}

/* Footer / buttons */
.page.contact .contact-form .bc-foot {
    margin-top: 1rem;
}
.page.contact .contact-form .bc-required-note { 
    color: #444; 
    font-size: 1.4rem; 
}

.page.contact .contact-form .bc-actions { 
    margin-top: .5rem;
    display: flex; 
    gap: 1.6rem; 

}

/* Responsive */
@media (max-width: 768px) {
    .page.contact .contact-form .bc-grid { 
        grid-template-columns: 1fr; 

    }
}



