/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================
   CF7 PROJECT FORM STYLES
   Pega en: Apariencia > Personalizar > CSS adicional
   ========================================== */

.cf7-project-form {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Grupos de campos */
.cf7-project-form .form-group {
    margin-bottom: 18px;
}

/* Fila de dos columnas */
.cf7-project-form .form-row.two-col {
    display: flex;
    gap: 25px;
    margin-bottom: 18px;
}

.cf7-project-form .form-row.two-col .form-col {
    flex: 1;
}

/* Labels */
.cf7-project-form .form-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 400;
}

/* Inputs */
.cf7-project-form input[type="text"],
.cf7-project-form input[type="email"],
.cf7-project-form input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #999;
    background: #fff;
    box-sizing: border-box;
}

.cf7-project-form input[type="text"]:focus,
.cf7-project-form input[type="email"]:focus,
.cf7-project-form input[type="tel"]:focus {
    outline: none;
    border-color: #666;
    color: #333;
}

/* Select / Dropdown */
.cf7-project-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    background: #fff;
    box-sizing: border-box;
    appearance: auto;
    cursor: pointer;
}

.cf7-project-form select:focus {
    outline: none;
    border-color: #666;
}

/* Textarea */
.cf7-project-form textarea {
    width: 100%;
    min-height: 130px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    resize: vertical;
}

.cf7-project-form textarea:focus {
    outline: none;
    border-color: #666;
}

/* CF7 wrappers full width */
.cf7-project-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Botón Send */
.cf7-project-form .form-submit {
    text-align: center;
    margin-top: 10px;
}

.cf7-project-form input[type="submit"] {
    display: inline-block;
    padding: 14px 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.cf7-project-form input[type="submit"]:hover {
    background-color: #333;
}

/* Validación */
.cf7-project-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.cf7-project-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .cf7-project-form .form-row.two-col {
        flex-direction: column;
        gap: 18px;
    }
}
