
/* ===== CF7 Form Styling ===== */
.honiks-cf7 { max-width: 100%; }
.honiks-cf7 label { display: block; font-weight: 600; color: #1a3a5c; margin-bottom: 6px; font-size: 0.92em; }
.honiks-cf7 .required { color: #e74c3c; }
.honiks-cf7-row { display: flex; gap: 20px; margin-bottom: 18px; }
.honiks-cf7-half { flex: 1; }
.honiks-cf7-full { margin-bottom: 18px; }

.honiks-input, .honiks-select, .honiks-textarea,
.honiks-cf7 input[type="text"], .honiks-cf7 input[type="email"],
.honiks-cf7 input[type="tel"], .honiks-cf7 select,
.honiks-cf7 textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #d0d5dd;
    border-radius: 6px; font-size: 0.95em; font-family: inherit;
    transition: border-color 0.3s; box-sizing: border-box;
    background: #fff;
}
.honiks-input:focus, .honiks-select:focus, .honiks-textarea:focus,
.honiks-cf7 input:focus, .honiks-cf7 select:focus, .honiks-cf7 textarea:focus {
    outline: none; border-color: #2980b9; box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}
.honiks-textarea, .honiks-cf7 textarea { min-height: 140px; resize: vertical; }
.honiks-submit-btn, .honiks-cf7 input[type="submit"] {
    display: inline-block; padding: 14px 40px; background: #e74c3c; color: #fff;
    border: none; border-radius: 6px; font-weight: 700; font-size: 1.05em;
    cursor: pointer; transition: all 0.3s;
}
.honiks-submit-btn:hover, .honiks-cf7 input[type="submit"]:hover {
    background: #c0392b; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* Success/Error messages */
.wpcf7-response-output { border-radius: 6px; padding: 15px 20px; margin: 20px 0 0; font-size: 0.95em; }
.wpcf7-mail-sent-ok { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.wpcf7-validation-errors { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

/* Contact page layout */
.honiks-contact-wrapper { display: flex; gap: 50px; align-items: flex-start; }
.honiks-contact-form { flex: 1; min-width: 0; }
.honiks-contact-info { flex: 0 0 280px; background: #f5f7fa; padding: 30px; border-radius: 10px; }
.honiks-contact-info h3 { font-size: 1.1em; color: #1a3a5c; margin-bottom: 15px; }

/* WP default CF7 - hide default style */
.wpcf7 br { display: none; }
.wpcf7 p { margin: 0; }

@media (max-width: 768px) {
    .honiks-cf7-row { flex-direction: column; gap: 0; }
    .honiks-contact-wrapper { flex-direction: column; }
    .honiks-contact-info { flex: none; width: 100%; box-sizing: border-box; }
}
