/* =========================================================
   Prime Cleaner — layout & CTA fixes (loaded after theme CSS)
   Remove this file's <link> to undo everything here.
   ========================================================= */

/* 1. Section spacing — template default was 120 / 100 / 80px */
:root { --section-space: 80px; }
.section-space { padding-top: 80px; padding-bottom: 80px; }
.section-space-top { padding-top: 80px; }
.section-space-bottom { padding-bottom: 80px; }
@media (max-width: 1199px) {
  :root { --section-space: 64px; }
  .section-space { padding-top: 64px; padding-bottom: 64px; }
  .section-space-top { padding-top: 64px; }
  .section-space-bottom { padding-bottom: 64px; }
}
@media (max-width: 767px) {
  :root { --section-space: 48px; }
  .section-space { padding-top: 48px; padding-bottom: 48px; }
  .section-space-top { padding-top: 48px; }
  .section-space-bottom { padding-bottom: 48px; }
  .sec-title { margin-bottom: 28px; padding-bottom: 0; }
  .sec-title__title { font-size: 28px; line-height: 1.25; }
  .sec-title__title br { display: none; }
}

/* Sections that were padded for overlapping blocks */
.funfact--about, .funfact--home1 { margin-bottom: 0 !important; }
.services-four { padding-bottom: 80px; }
@media (max-width: 1199px) { .services-four { padding-bottom: 64px; } }
@media (max-width: 767px) { .services-four { padding-bottom: 48px; } }
@media (min-width: 1200px) { .page-header { padding-top: 170px; padding-bottom: 130px; } }
@media (min-width: 576px) and (max-width: 1199px) { .page-header { padding-bottom: 110px; } }

/* 2. Scroll animations: never leave blank gaps
      (carousels everywhere; all content on tablets/phones) */
.owl-carousel .wow,
.owl-carousel .item.wow { visibility: visible !important; animation-name: none !important; }
@media (max-width: 991px) {
  .wow { visibility: visible !important; animation-name: none !important; }
}
/* Desktop: keep the fade-in, but no 1–2 second waits */
@media (min-width: 992px) {
  .wow { animation-delay: 0s !important; animation-duration: .7s !important; }
}

/* 3. Desktop header: keep every menu item on one line */
.main-menu .main-menu__list > li > a { white-space: nowrap; }
@media (min-width: 1200px) { .main-header__logo { margin-right: 28px; flex-shrink: 0; } }
@media (min-width: 1200px) and (max-width: 1599px) {
  .main-menu .main-menu__list > li + li { margin-left: 22px; }
  .main-menu .main-menu__list > li > a { font-size: 15px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .main-header__btn .tidytouch-btn > span:not(.tidytouch-btn__icon) { display: none; }
  .main-header__btn .tidytouch-btn { padding-left: 16px; padding-right: 16px; }
  .main-header__btn .tidytouch-btn .tidytouch-btn__icon { margin-right: 0 !important; }
}
.main-header__btn .tidytouch-btn { white-space: nowrap; }

/* 4. Touch devices: no fake mouse cursor, no vertical "back top" label over content */
@media (hover: none), (max-width: 1199px) {
  .custom-cursor__cursor, .custom-cursor__cursor-two { display: none !important; }
}
@media (max-width: 991px) {
  .scroll-to-top { display: none !important; }
}

/* 5. Footer list: bullet aligned with the first line */
.footer-widget__links li::after { top: 13px; }

/* 6. Buttons: same height, readable text, no awkward wrapping */
.tidytouch-btn { min-height: 52px; align-items: center; }
.tidytouch-btn span { line-height: 1.2; }
@media (max-width: 575px) {
  .tidytouch-btn { font-size: 15px; padding-left: 28px; padding-right: 28px; }
  .newsletter-one .tidytouch-btn, .contact-two__form__button .tidytouch-btn, .pc-submit .tidytouch-btn { width: 100%; justify-content: center; }
}

/* 7. Sticky call / WhatsApp / book bar on phones */
.pc-cta-bar { display: none; }
@media (max-width: 991px) {
  .pc-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
  }
  .pc-cta-bar a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 46px; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-decoration: none; color: #fff; white-space: nowrap;
    font-family: var(--tidytouch-heading-font, "Figtree", sans-serif);
  }
  .pc-cta-bar a i { font-size: 17px; }
  .pc-cta-bar__call { background: var(--tidytouch-black2, #15161B); }
  .pc-cta-bar__wa { background: #1fae54; }
  .pc-cta-bar__book { background: var(--tidytouch-base, #1947CD); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* 8. Mobile hero: keep the slide controls clear of the call box */
@media (max-width: 575px) {
  .main-slider-four__title { font-size: 34px; line-height: 1.2; }
}

/* 9. Service pages on phones: show the service content first, the other-services list after */
@media (max-width: 991px) {
  .service-details > .container > .row > [class*="col-xl-4"] { order: 2; }
  .service-details > .container > .row > [class*="col-xl-8"] { order: 1; }
}
