/**
 * El Criollo — Newsletter Form (footer)
 * Assets/css/newsletter-form.css
 *
 * Paleta: primario #5D2A1F, acento dorado #C8954A, crema #FAF6F2
 */

.criollo-newsletter {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.criollo-newsletter__form {
    padding: 24px;
	background-color: var(--base);
    border-radius: 8px;
}

.criollo-newsletter__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: #5D2A1F;
    margin: 0 0 4px;
    line-height: 1.3;
}

.criollo-newsletter__subtitle {
    font-size: 14px;
    color: #7A6A5E;
    margin: 0 0 16px;
    line-height: 1.4;
}

.criollo-newsletter__fields {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
}

.criollo-newsletter__fields input[type="email"],
.criollo-newsletter__fields input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #E5DDD3;
    border-radius: 4px;
    font-size: 14px;
    background: #FFFFFF;
    color: #2C1810;
    transition: border-color 0.2s ease;
}

.criollo-newsletter__fields input[type="email"]:focus,
.criollo-newsletter__fields input[type="text"]:focus {
    outline: none;
    border-color: #C8954A;
    box-shadow: 0 0 0 3px rgba(200, 149, 74, 0.2);
}

.criollo-newsletter__fields input[type="email"]::placeholder,
.criollo-newsletter__fields input[type="text"]::placeholder {
    color: #B0A498;
}

.criollo-newsletter__fields button {
    padding: 12px 20px;
    background: #5D2A1F;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.criollo-newsletter__fields button:hover {
    background: #8B4A35;
}

.criollo-newsletter__fields button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.criollo-newsletter__legal {
    font-size: 11px;
    color: #7A6A5E;
    margin: 12px 0 0;
    line-height: 1.4;
}

.criollo-newsletter__legal a {
    color: #5D2A1F;
    text-decoration: underline;
}

.criollo-newsletter__message {
    margin-top: 12px;
    font-size: 13px;
    min-height: 20px;
    font-weight: 500;
}

.criollo-newsletter__message.is-success {
    color: #3E7C4E;
}

.criollo-newsletter__message.is-error {
    color: #B93C3C;
}

.criollo-newsletter__message.is-loading {
    color: #7A6A5E;
}

/* Mobile y tablet estrecho: apilar en columna */
@media (max-width: 640px) {
    .criollo-newsletter__fields {
        flex-direction: column;
    }
}
