:root {
    --nt-ink: #2b304a;
    --nt-sage: #70a487;
    --nt-sand: #f2edd5;
    --nt-amber: #f4bf79;
    --nt-sky: #b1dcfb;
    --nt-cloud: #f7f5ee;
    --nt-shadow: 0 18px 45px rgba(43, 48, 74, 0.12);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.field-group {
    display: grid;
    gap: 12px;
}

.field-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: start;
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.contact-form label .required {
    color: #dc2626;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(43, 48, 74, 0.2);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    background: #ffffff;
    color: var(--nt-ink);
}

.contact-form input,
.contact-form select {
    height: 44px;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--nt-sage);
    box-shadow: 0 0 0 3px rgba(112, 164, 135, 0.15);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 8px;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background: var(--nt-sage);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(112, 164, 135, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(112, 164, 135, 0.35);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.status-message {
    font-size: 13px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 8px;
    display: none;
}

.status-message.is-visible {
    display: block;
    margin-bottom: 16px;
}

.success-message {
    background: #e6f6ee;
    border: 1px solid #9fdeb9;
    color: #155a3b;
    padding: 18px 20px;
    border-radius: 14px;
    display: none;
    gap: 14px;
    align-items: center;
}

.success-message.is-visible {
    display: flex;
    margin-bottom: 16px;
}

.success-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d1f0e0;
    border: 1px solid #7ccfa6;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
}

.success-message.is-visible .success-icon {
    display: inline-flex;
}

.success-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.success-body {
    flex: 1;
}

.success-headline {
    font-weight: 800;
    font-size: 15px;
    margin: 0 0 4px;
}

.success-subline {
    margin: 0;
    font-size: 13px;
    color: rgba(21, 90, 59, 0.85);
}

.hint {
    font-size: 12px;
    color: rgba(43, 48, 74, 0.7);
}

/* Honeypot fields - hidden from humans, visible to bots */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}
