/*
Theme Name: All Cleans Possible
Theme URI: https://www.tseralimited.com/
Author: TSERA Limited
Author URI: https://www.tseralimited.com/
Description: Lightweight custom WordPress theme for All Cleans Possible. The theme provides the branded site header and footer while page content is designed with Elementor/HTML widgets.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: all-cleans-possible
*/


:root {
  /* Logo-led palette: exact logo green #00654D and grey #666666. */
  --acp-green: #00654d;
  --acp-green-dark: #004f3c;
  --acp-grey: #666666;
  --acp-grey-dark: #3f4543;
  --acp-light: #f4f8f6;
  --acp-mint: #e9f4f0;
  --acp-ink: #333837;
  --acp-muted: #666666;
  --acp-line: #dde5e1;
  --acp-white: #ffffff;
  --acp-shadow: 0 18px 45px rgba(0,101,77,.11);
  /* Legacy variable aliases retained for compatibility with earlier theme markup. */
  --acp-navy: var(--acp-grey-dark);
  --acp-blue: var(--acp-green);
  --acp-sky: var(--acp-mint);
  --acp-max: 1120px;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--acp-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.acp-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* Keep Elementor pages edge-to-edge. */
#page,
.site-main,
.acp-site-main,
.entry-content { width: 100%; margin: 0; padding: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }

.acp-container {
  width: min(var(--acp-max), calc(100% - 48px));
  margin: 0 auto;
}

/* ===== TOP BAR ===== */
.acp-topbar {
  background: var(--acp-green);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .03em;
}
.acp-topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.acp-topbar-points {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.acp-topbar-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.acp-topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.13);
}

.acp-topbar-phone {
  margin-left: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 2px 0 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.22);
  transition: opacity .2s ease, transform .2s ease;
}
.acp-topbar-phone:hover {
  color: #ffffff;
  opacity: .88;
  transform: translateY(-1px);
}
.acp-topbar-phone svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 17px;
}
.acp-topbar-phone-label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
}
.acp-topbar-phone strong {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .015em;
}

/* ===== HEADER ===== */
.acp-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,101,77,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.admin-bar .acp-header { top: 32px; }
.acp-header.acp-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 32px rgba(0,101,77,.08);
}
.acp-nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.acp-brand {
  display: inline-flex;
  align-items: center;
  min-width: 182px;
}
.acp-brand img,
.acp-brand .custom-logo {
  width: 108px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.acp-nav-links,
.acp-nav-links ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.acp-nav-links li { margin: 0; padding: 0; }
.acp-nav-links a {
  position: relative;
  color: #555d5a;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .2s ease;
}
.acp-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--acp-blue);
  transition: right .2s ease;
}
.acp-nav-links a:hover,
.acp-nav-links .current-menu-item > a,
.acp-nav-links .current_page_item > a { color: var(--acp-blue); }
.acp-nav-links a:hover::after,
.acp-nav-links .current-menu-item > a::after,
.acp-nav-links .current_page_item > a::after { right: 0; }

.acp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acp-btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.acp-btn:hover { transform: translateY(-2px); }
.acp-btn-primary {
  background: var(--acp-blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,101,77,.20);
}
.acp-btn-primary:hover { background: var(--acp-grey-dark); color: #fff; }

.acp-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--acp-line);
  border-radius: 50%;
  background: #fff;
  padding: 0;
  place-items: center;
}
.acp-menu-toggle span,
.acp-menu-toggle span::before,
.acp-menu-toggle span::after {
  width: 18px;
  height: 2px;
  background: var(--acp-navy);
  display: block;
  position: relative;
  transition: .2s ease;
}
.acp-menu-toggle span::before,
.acp-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.acp-menu-toggle span::before { top: -6px; }
.acp-menu-toggle span::after { top: 6px; }
.acp-menu-toggle[aria-expanded="true"] span { background: transparent; }
.acp-menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.acp-menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ===== FOOTER ===== */
.acp-footer {
  background: var(--acp-green-dark);
  color: rgba(255,255,255,.74);
  padding: 76px 0 30px;
}
.acp-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr .8fr;
  gap: 48px;
  padding-bottom: 54px;
}
.acp-footer-logo,
.acp-footer .custom-logo {
  width: 158px;
  height: 122px;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
}
.acp-footer-about {
  max-width: 390px;
  margin: 15px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}
.acp-footer h4 {
  color: #fff;
  margin: 4px 0 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.acp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.acp-footer li { margin: 0; padding: 0; }
.acp-footer a { transition: color .2s ease; }
.acp-footer a:hover { color: #fff; }
.acp-footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.acp-footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== SOCIAL LINKS ===== */
.acp-footer-social-wrap {
  margin-top: 24px;
}
.acp-footer-social-title {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.acp-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.acp-social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.acp-social-link:hover {
  transform: translateY(-2px);
  background: var(--acp-green);
  border-color: var(--acp-green);
  color: #fff !important;
}
.acp-social-link svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

/* ===== WORDPRESS HELPERS ===== */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .acp-nav-links,
  .acp-nav-links ul { gap: 20px; }
}

@media (max-width: 900px) {
  .acp-topbar-inner { justify-content: space-between; }
  .acp-topbar-points .acp-topbar-point:nth-child(n+2) { display: none; }
  .acp-topbar-phone { margin-left: auto; }

  /* Mobile header: logo left, hamburger pinned right. */
  .acp-nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .acp-brand {
    min-width: 0;
    position: relative;
    z-index: 10002;
  }
  .acp-brand img,
  .acp-brand .custom-logo { width: 94px; height: 64px; }
  .acp-header-actions {
    margin-left: auto;
    position: relative;
    z-index: 10002;
  }
  .acp-header-actions .acp-btn { display: none; }
  .acp-menu-toggle {
    display: grid;
    flex: 0 0 46px;
    margin-left: auto;
    position: relative;
    z-index: 10003;
  }

  /* Full-screen mobile navigation. */
  .acp-nav-links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10001;
    padding: 112px 28px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 88% 10%, rgba(0,101,77,.13), transparent 28%),
      linear-gradient(145deg, #ffffff 0%, #f2f8f5 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .22s ease, visibility .32s ease;
  }
  .acp-nav-links.acp-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .acp-nav-links ul,
  .acp-nav-links .acp-menu-list {
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .acp-nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0,101,77,.11);
  }
  .acp-nav-links li:last-child { border-bottom: 0; }
  .acp-nav-links a {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    color: var(--acp-ink);
    font-size: clamp(25px, 6vw, 38px);
    font-weight: 880;
    letter-spacing: -.035em;
    line-height: 1.05;
    white-space: normal;
  }
  .acp-nav-links a::after { display: none; }
  .acp-nav-links a:hover,
  .acp-nav-links .current-menu-item > a,
  .acp-nav-links .current_page_item > a { color: var(--acp-blue); }

  .acp-mobile-menu-extra {
    width: min(100%, 560px);
    display: grid;
    gap: 12px;
    margin-top: 4px;
  }
  .acp-mobile-menu-book {
    min-height: 56px !important;
    padding: 0 22px !important;
    border-radius: 999px;
    background: var(--acp-blue);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 12px 24px rgba(0,101,77,.20);
  }
  .acp-mobile-menu-book:hover { background: var(--acp-grey-dark); color: #fff !important; }

  .acp-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .acp-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  .admin-bar .acp-header { top: 46px; }
}

@media (max-width: 640px) {
  .acp-container { width: min(100% - 28px, var(--acp-max)); }
  .acp-topbar { display: block; }
  .acp-topbar-inner {
    min-height: 46px;
    justify-content: center;
  }
  .acp-topbar-points { display: none; }
  .acp-topbar-phone {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0;
    border-left: 0;
    gap: 8px;
  }
  .acp-topbar-phone-label { font-size: 11px; }
  .acp-topbar-phone strong { font-size: 18px; }
  .acp-topbar-phone svg { width: 18px; height: 18px; flex-basis: 18px; }
  .acp-nav { min-height: 72px; }
  .acp-brand img,
  .acp-brand .custom-logo { width: 86px; height: 58px; }
  .acp-nav-links { padding: 100px 20px 28px; }
  .acp-nav-links a {
    min-height: 58px;
    font-size: clamp(24px, 8vw, 34px);
  }
  .acp-mobile-menu-extra { gap: 10px; }
  .acp-footer { padding-top: 58px; }
  .acp-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .acp-footer-grid > div:first-child,
  .acp-footer-grid > div:last-child { grid-column: 1 / -1; }
  .acp-footer-bottom { display: block; }
  .acp-footer-bottom-links { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
