/* ==========================================================================
   Formulario de Contacto - Frontend Styles
   ========================================================================== */

.fc-wrapper {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-color: #f5f5f5;
    box-sizing: border-box;
}

.fc-wrapper--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fc-wrapper--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.fc-wrapper--has-bg .fc-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fc-wrapper--has-bg .fc-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.fc-wrapper * {
    box-sizing: border-box;
}

.fc-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    background-image: none;
    background-color: transparent;
}

.fc-header {
    text-align: center;
    margin-bottom: 30px;
}

.fc-title {
    color: #1d8033;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 10px;
    line-height: 1.1;
}

.fc-subtitle {
    color: #555;
    font-size: 18px;
    margin: 0;
    font-weight: 400;
}

/* Card */
.fc-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Form */
.fc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fc-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.fc-icon {
    width: 18px;
    height: 18px;
    color: #1d8033;
    flex-shrink: 0;
}

.fc-field input,
.fc-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    color: #333;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}

.fc-field input::placeholder,
.fc-field textarea::placeholder {
    color: #999;
}

.fc-field input:focus,
.fc-field textarea:focus {
    border-color: #1d8033;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 128, 51, 0.1);
}

.fc-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Honeypot oculto */
.fc-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Submit */
.fc-submit {
    width: 100%;
    padding: 16px 24px;
    background: #1d8033;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(29, 128, 51, 0.25);
}

.fc-submit:hover:not(:disabled) {
    background: #156626;
    box-shadow: 0 6px 20px rgba(29, 128, 51, 0.35);
}

.fc-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.fc-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Feedback messages */
.fc-feedback {
    min-height: 0;
    padding: 0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.fc-feedback.fc-feedback--success {
    padding: 14px;
    background: #e8f5e9;
    color: #1d8033;
    border: 1px solid #c8e6c9;
}

.fc-feedback.fc-feedback--error {
    padding: 14px;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Contacto directo */
.fc-direct-contact {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.fc-direct-title {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px;
}

.fc-direct-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fc-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d8033;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s;
}

.fc-direct-link:hover {
    color: #156626;
    text-decoration: none;
}

.fc-separator {
    color: #ccc;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .fc-wrapper {
        padding: 50px 15px;
    }

    .fc-title {
        font-size: 34px;
    }

    .fc-subtitle {
        font-size: 16px;
    }

    .fc-card {
        padding: 25px 20px;
    }

    .fc-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fc-direct-links {
        flex-direction: column;
        gap: 12px;
    }

    .fc-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .fc-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
}
