/* Get in Touch – Elementor Pro Form page
   Color/font scheme matched to Regular Strata cleaning-contact forms */
body.guru-contact-form-page {
    background: #fff;
}

body.guru-contact-form-page #content.page-wrapper,
body.guru-contact-form-page .page-wrapper {
    padding-top: 0 !important;
}

.guru-contact-form-page {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.guru-contact-form-page .elementor-heading-title {
    letter-spacing: -0.02em;
    color: #333;
}

.guru-contact-form-page .elementor-widget-text-editor {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.guru-contact-form .elementor-field-group {
    margin-bottom: 0;
}

.guru-contact-form .elementor-field-textual,
.guru-contact-form .elementor-field-group input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]),
.guru-contact-form .elementor-field-group select,
.guru-contact-form .elementor-field-group textarea {
    min-height: 52px;
    padding: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 16px !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    box-shadow: none !important;
    transition: border-color 0.3s;
}

.guru-contact-form .elementor-field-group textarea {
    min-height: 140px;
    resize: vertical;
}

.guru-contact-form .elementor-field-group input:focus,
.guru-contact-form .elementor-field-group select:focus,
.guru-contact-form .elementor-field-group textarea:focus {
    border-color: #007bff !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2) !important;
}

.guru-contact-form .elementor-field-group input::placeholder,
.guru-contact-form .elementor-field-group textarea::placeholder {
    color: #8a93a0;
    opacity: 1;
}

/* Hide labels where placeholders carry the prompt */
.guru-contact-form .elementor-field-group-name > label,
.guru-contact-form .elementor-field-group-email > label,
.guru-contact-form .elementor-field-group-phone > label,
.guru-contact-form .elementor-field-group-notes > label,
.guru-contact-form .elementor-field-group-files > label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Floating-style city label */
.guru-contact-form .elementor-field-group-city {
    position: relative;
}

.guru-contact-form .elementor-field-group-city > label {
    position: absolute;
    top: -8px;
    left: 12px;
    z-index: 2;
    background: #fff;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1;
    color: #555;
    margin: 0;
    font-weight: 500;
}

.guru-contact-form .elementor-field-group-city .elementor-select-wrapper {
    width: 100%;
}

.guru-contact-form .elementor-field-group-reason > label {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

.guru-contact-form .elementor-field-group-reason .elementor-field-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.guru-contact-form .elementor-field-group-reason .elementor-field-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #1D4B6E;
    flex-shrink: 0;
}

.guru-contact-form .elementor-field-group-reason .elementor-field-option label {
    margin: 0;
    font-size: 15px;
    color: #555;
    font-weight: 400;
    cursor: pointer;
}

/* Unified dashed upload zone (help + file input) */
.guru-contact-form .elementor-field-group-upload_help,
.guru-contact-form .elementor-field-group-files {
    width: 100%;
    background: #f5f8fb;
}

.guru-contact-form .elementor-field-group-upload_help {
    border: 2px dashed #9bb4c7;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    padding: 18px 18px 8px;
    margin-top: 4px;
}

.guru-contact-form .elementor-field-group-files {
    border: 2px dashed #9bb4c7;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 8px 18px 28px;
    text-align: center;
    position: relative;
}

.guru-contact-upload-help {
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

.guru-contact-upload-help p {
    margin: 0 88px 0 0;
}

.guru-contact-upload-count {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

.guru-contact-form .elementor-field-group-files::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    margin: 4px auto 12px;
    border-radius: 50%;
    background:
        linear-gradient(#1D4B6E, #1D4B6E) center 15px / 3px 16px no-repeat,
        linear-gradient(#1D4B6E, #1D4B6E) center 15px / 16px 3px no-repeat,
        #e8eef3;
    box-shadow: inset 0 0 0 2px #1D4B6E;
}

.guru-contact-form .elementor-field-group-files .guru-contact-upload-cta {
    display: none;
}

.guru-contact-form .elementor-field-group-files .elementor-upload-field {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    margin: 0 auto;
    padding: 11px 20px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #1D4B6E !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.guru-contact-form .elementor-field-group-files .elementor-upload-field::file-selector-button,
.guru-contact-form .elementor-field-group-files .elementor-upload-field::-webkit-file-upload-button {
    border: 0;
    margin-right: 10px;
    padding: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.guru-contact-form .elementor-field-group-files .guru-upload-drag-label {
    display: block;
    margin: 0 0 14px;
    color: #1D4B6E;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.guru-contact-form .elementor-button {
    min-width: 150px;
    padding: 12px 24px !important;
    background-color: #1D4B6E !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.guru-contact-form .elementor-button:hover {
    background-color: #1D4B6E !important;
}

.guru-contact-form .elementor-message {
    margin-top: 12px;
}

@media (max-width: 767px) {
    .guru-contact-form-page .elementor-heading-title {
        font-size: 28px !important;
    }

    .guru-contact-upload-help p {
        margin-right: 0;
    }

    .guru-contact-upload-count {
        position: static;
        display: block;
        margin-top: 10px;
    }

    .guru-contact-form .elementor-field-group-upload_help,
    .guru-contact-form .elementor-field-group-files {
        padding-left: 14px;
        padding-right: 14px;
    }

    .guru-contact-form.elementor-button-align-end .elementor-field-type-submit,
    .guru-contact-form .elementor-button {
        width: 100%;
    }
}

/* Show footerx on Get in Touch. Global CSS hides #footer and locks page scroll. */
body.guru-contact-form-page {
    overflow-y: auto !important;
    height: auto !important;
}

body.guru-contact-form-page #footer,
body.guru-contact-form-page footer.elementor-location-footer {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
}
