/* Contact Template Styles */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--section-bg, url('https://picsum.photos/1000/1000?business&grayscale')) center/cover;
    opacity: 0.08;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    align-items: start;
}

.contact-form-col h2 {
    margin-bottom: 30px;
}

.contact-info-col {
    position: sticky;
    top: 100px;
}

.contact-info-box {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
}

.contact-info-box h3 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.contact-info-items {
    display: grid;
    gap: 35px;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--white);
}

.contact-info-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.contact-info-item p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.contact-info-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--white);
}

.phone-list {
    display: grid;
    gap: 8px;
}

.phone-item span.phone-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    display: block;
}

.hours-list {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.hours-item strong {
    color: var(--white);
}

.hours-item strong.closed {
    color: rgba(255,255,255,0.5);
}

.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    background: var(--light-gray);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form 7 Styles */
.wpcf7-form {
    display: grid;
    gap: 25px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    width: 100%;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    width: 100%;
}

.wpcf7-form p {
    margin: 0;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.wpcf7-form-control.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-field textarea,
.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-field .wpcf7-acceptance {
    display: flex;
    align-items: start;
    gap: 12px;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: start;
    cursor: pointer;
    font-weight: normal !important;
    line-height: 1.6;
}

.wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: start;
}

.form-checkbox,
.wpcf7-acceptance input[type="checkbox"] {
    margin: 0 !important;
    margin-top: 4px !important;
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.checkbox-label span,
.wpcf7-list-item-label {
    font-size: 14px !important;
    color: var(--gray) !important;
    line-height: 1.6 !important;
    flex: 1;
}

.wpcf7-not-valid-tip {
    color: var(--primary-red);
    font-size: 14px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-col {
        position: static;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
    }
}