/* ==========================================================================
   Kontaktní formulář — Zastíněno
   ========================================================================== */

.zas-contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.zas-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Row layout — two fields side by side */
.zas-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Fields */
.zas-form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: inherit;
}

.zas-required {
    color: #c53030;
}

.zas-form-field input[type="text"],
.zas-form-field input[type="email"],
.zas-form-field input[type="tel"],
.zas-form-field textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.zas-form-field input:focus,
.zas-form-field textarea:focus {
    outline: none;
    border-color: #555;
}

.zas-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot — invisible to users */
.zas-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Submit button */
.zas-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #2d2d2d;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    font-family: inherit;
    min-width: 200px;
}

.zas-submit-btn:hover {
    background-color: #444;
}

.zas-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */
.zas-form-message {
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    display: none;
}

.zas-form-message.zas-success {
    display: block;
    padding: 1rem 1.25rem;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.zas-form-message.zas-error {
    display: block;
    padding: 1rem 1.25rem;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Turnstile widget */
.cf-turnstile {
    margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .zas-contact-form-wrap {
        max-width: 100%;
    }

    .zas-form-row {
        grid-template-columns: 1fr;
    }

    .zas-submit-btn {
        width: 100%;
    }
}
