.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1040px;}.e-con{--container-max-width:1040px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ============================================
   FORMULARIO MODERNO PARA CONTACT FORM 7
   ============================================ */

/* Contenedor principal */
.modern-form {
    max-width: 600px;
    margin: 0 auto;
    background: transparent;
}

/* Grupos de formulario - Distancia 10px */
.form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.form-group.half {
    flex: 1;
    margin-bottom: 10px;
}

/* Contenedor de input */
.input-icon {
    position: relative;
    width: 100%;
}

/* Estilos generales de inputs */
.modern-form input:not([type="submit"]),
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
}

/* Altura específica para textarea */
.modern-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Select personalizado - CORREGIDO */
.modern-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 40px;
}

/* Estilo para el placeholder del select */
.modern-form select option:first-child {
    color: #aaa;
}

.modern-form select option {
    color: #333;
}

/* Hover y Focus */
.modern-form input:not([type="submit"]):hover,
.modern-form select:hover,
.modern-form textarea:hover {
    border-color: #bdbdbd;
}

.modern-form input:not([type="submit"]):focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Placeholder styling */
.modern-form ::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Botón de envío */
.modern-submit {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5558e3 0%, #7c3aed 100%);
}

.modern-submit:active {
    transform: translateY(0);
}

/* Efecto ripple */
.modern-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.modern-submit:active::after {
    width: 200%;
    height: 200%;
}

/* Mensajes de error y éxito de CF7 */
.wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 5px;
    text-align: left;
}

.wpcf7-response-output {
    border-radius: 12px;
    padding: 1rem !important;
    margin: 15px 0 0 !important;
    text-align: center;
}

.wpcf7-spinner {
    display: none;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-group.half {
        margin-bottom: 10px;
    }
    
    .modern-form {
        max-width: 100%;
    }
    
    .modern-form input:not([type="submit"]),
    .modern-form select,
    .modern-form textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-form .form-group {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.modern-form .form-group:nth-child(1) { animation-delay: 0.05s; }
.modern-form .form-row { animation: fadeInUp 0.4s ease 0.1s forwards; opacity: 0; }
.modern-form .form-group:nth-child(3) { animation-delay: 0.15s; }
.modern-form .form-group:nth-child(4) { animation-delay: 0.2s; }
.modern-form .form-submit { animation: fadeInUp 0.4s ease 0.25s forwards; opacity: 0; }

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
    .modern-form input:not([type="submit"]),
    .modern-form select,
    .modern-form textarea {
        background: #1f2937;
        border-color: #374151;
        color: #f3f4f6;
    }
    
    .modern-form ::placeholder {
        color: #9ca3af;
    }
    
    .modern-form select option {
        background: #1f2937;
        color: #f3f4f6;
    }
    
    .modern-form input:not([type="submit"]):hover,
    .modern-form select:hover,
    .modern-form textarea:hover {
        border-color: #4b5563;
    }
}/* End custom CSS */