/* CTS Contact Section - Estilos adicionales para integración con Pro Elements */

/* Base styles */
.cts-contact-band {
    background-color: #2d5a27;
    padding: 80px 0;
}

.cts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cts-contact-band__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.cts-contact-band__title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 32px;
}

.cts-contact-band__info-label,
.cts-contact-band__channels-label {
    font-size: 14px;
    font-weight: 700;
    color: #f1c40f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.cts-contact-band__address {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cts-contact-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.cts-contact-channel:hover {
    color: rgba(255,255,255,0.95);
}

.cts-contact-channel .channel-icon,
.cts-contact-channel svg {
    color: #f1c40f !important;
    flex-shrink: 0;
    font-size: 16px;
}

/* Form container improvements */
.cts-contact-form-container {
    position: relative;
    min-height: 400px;
}

.cts-form-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Pro Elements Form Integration */
.cts-contact-band .elementor-widget-form {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cts-contact-band .elementor-form-fields-wrapper {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.cts-contact-band .elementor-field-group {
    margin-bottom: 16px !important;
}

.cts-contact-band .elementor-field-group:last-child {
    margin-bottom: 0 !important;
}

.cts-contact-band .elementor-field {
    background-color: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease !important;
    font-family: inherit !important;
}

.cts-contact-band .elementor-field::placeholder {
    color: rgba(255,255,255,0.45) !important;
}

.cts-contact-band .elementor-field:focus {
    border-color: #f1c40f !important;
    outline: none !important;
    background-color: rgba(255,255,255,0.12) !important;
}

.cts-contact-band .elementor-field[type="textarea"] {
    min-height: 110px !important;
    resize: vertical !important;
}

/* Button styling */
.cts-contact-band .elementor-button {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cts-contact-band .elementor-button:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.3) !important;
}

.cts-contact-band .elementor-button:active {
    transform: translateY(0) !important;
}

/* Form grid layout for 2x2 fields + full width textarea */
.cts-contact-band .elementor-form-fields-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

.cts-contact-band .elementor-field-group.elementor-col-50 {
    grid-column: span 1 !important;
}

.cts-contact-band .elementor-field-group.elementor-col-100 {
    grid-column: span 2 !important;
}

.cts-contact-band .elementor-field-group:has(.elementor-button) {
    grid-column: span 2 !important;
    margin-top: 8px !important;
}

/* Loading and success states */
.cts-contact-band .elementor-form__validation {
    color: #e74c3c !important;
    font-size: 12px !important;
    margin-top: 4px !important;
}

.cts-contact-band .elementor-message.elementor-message-success {
    background-color: rgba(46, 204, 113, 0.1) !important;
    border: 1px solid rgba(46, 204, 113, 0.3) !important;
    color: #2ecc71 !important;
    padding: 16px !important;
    border-radius: 6px !important;
    margin-top: 16px !important;
}

.cts-contact-band .elementor-message.elementor-message-danger {
    background-color: rgba(231, 76, 60, 0.1) !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
    color: #e74c3c !important;
    padding: 16px !important;
    border-radius: 6px !important;
    margin-top: 16px !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .cts-contact-band__inner {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .cts-contact-band__title {
        font-size: 32px !important;
    }

    .cts-contact-band .elementor-form-fields-wrapper {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    .cts-contact-band .elementor-field-group.elementor-col-50,
    .cts-contact-band .elementor-field-group.elementor-col-100 {
        grid-column: span 1 !important;
    }
}

/* Hide placeholder when form is present */
.cts-contact-band .elementor-widget-form + .cts-form-placeholder,
.cts-contact-band .cts-contact-form-container:has(.elementor-widget-form) .cts-form-placeholder {
    display: none !important;
}