/* ===== Contact Form 7 ===== */

.wpcf7 {
    max-width: 580px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    background: #f8fafc;
    font-family: inherit;
    transition: all .2s;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #2E86AB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.08);
    outline: none;
}

.wpcf7 select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    background-color: #f8fafc;
    font-family: inherit;
    transition: all .2s;
    box-sizing: border-box;
    cursor: pointer;
}

.wpcf7 select:focus {
    border-color: #2E86AB;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(46,134,171,0.08);
    outline: none;
}

.wpcf7 select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpcf7 textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.cf7-grid {
    display: flex;
    flex-wrap: wrap;
	gap: 0 8px;
    margin-bottom: 0 !important;
}

.cf7-grid:first-of-type + p {
    display: none;
    margin: 0;
}

.cf7-half {
    width: calc(50% - 4px);
    box-sizing: border-box;
}

.iboo-select {
    height: auto;
    min-height: 44px;
    overflow: visible;
    white-space: normal;
    text-overflow: unset;
}

@media (max-width: 600px) {
    .cf7-half {
        width: 100%;
    }
}

/* Submit */
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #0072ba, #0a2068);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    font-family: inherit;
    letter-spacing: .02em;
    margin-top: 4px;
}

.wpcf7 input[type="submit"]:hover {
    opacity: .9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.25) !important;
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Messages */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 11px;
    margin-top: -6px;
    margin-bottom: 8px;
    display: block;
}

.wpcf7-mail-sent-ok {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
}