/* Contact OD - /contact/ page. Dark card, readable sizes, no blur effects. */

.cod-page {
    padding: 40px 16px 64px;
}

.cod-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.cod-head {
    margin-bottom: 24px;
}

.cod-title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.cod-intro {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
}

.cod-card {
    padding: 28px;
    border: 1px solid #3a3226;
    border-radius: 14px;
    background: #1b1712;
    color: #eee6d4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cod-card *,
.cod-card *::before,
.cod-card *::after {
    box-sizing: border-box;
}

.cod-form {
    margin: 0;
}

.cod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.cod-field {
    margin-bottom: 18px;
}

.cod-field label {
    display: block;
    margin-bottom: 6px;
    color: #f3e6c4;
    font-size: 16px;
    font-weight: 600;
}

.cod-card input[type="text"],
.cod-card input[type="email"],
.cod-card textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #4a4030;
    border-radius: 8px;
    background: #0f0d0a;
    color: #fff;
    font: inherit;
    font-size: 17px;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cod-card textarea {
    min-height: 180px;
    resize: vertical;
}

.cod-card input:focus,
.cod-card textarea:focus {
    border-color: #c9a24a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.3);
}

.cod-card [aria-invalid="true"] {
    border-color: #e0685a;
    box-shadow: 0 0 0 3px rgba(224, 104, 90, 0.25);
}

.cod-help {
    margin: 6px 0 0;
    color: #a99b7e;
    font-size: 15px;
}

.cod-err {
    margin: 6px 0 0;
    color: #ff9c90;
    font-size: 15px;
    font-weight: 600;
}

.cod-err[hidden],
.cod-alert[hidden] {
    display: none;
}

.cod-field-question input {
    max-width: 280px;
}

.cod-alert {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-left: 4px solid #e0685a;
    border-radius: 8px;
    background: #3a1b17;
    color: #ffd2cc;
    font-size: 16px;
}

.cod-alert.is-warn {
    border-left-color: #c9a24a;
    background: #3a3017;
    color: #f3e6c4;
}

/* Honeypot: off-screen for humans, still "visible" to dumb bots. */
.cod-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cod-actions {
    margin-top: 6px;
}

.cod-send {
    min-width: 200px;
    padding: 14px 28px;
    border: 2px solid #c9a24a;
    border-radius: 10px;
    background: #c9a24a;
    color: #120e0a;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.cod-send:hover,
.cod-send:focus-visible {
    background: #e0bd68;
    border-color: #e0bd68;
    outline: none;
}

.cod-send:focus-visible {
    box-shadow: 0 0 0 3px #f3e6c4;
}

.cod-send:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Success state */
.cod-success {
    padding: 20px 4px;
    text-align: center;
    outline: none;
}

.cod-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #3f9e4e;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.cod-success-title {
    margin: 0 0 10px;
    color: #f3e6c4;
    font-size: 26px;
}

.cod-success-text {
    margin: 0;
    color: #eee6d4;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .cod-page {
        padding: 24px 12px 48px;
    }
    .cod-card {
        padding: 20px 16px;
    }
    .cod-grid {
        grid-template-columns: 1fr;
    }
    .cod-send {
        width: 100%;
    }
}
