/*
Theme Name: CleanersUp-All-Files URI: https://cleanersup.co.uk
Author: CleanersUp
Description: Premium custom WordPress theme for scalable London cleaning service and local SEO pages.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cleanersup
*/

:root {
  --ink: #10201d;
  --text: #213b36;
  --muted: #627771;
  --line: #dcebe7;
  --panel: #ffffff;
  --wash: #f4fbf8;
  --mint: #e7f7f2;
  --blue: #e4f5ff;
  --brand: #057a64;
  --brand-2: #089f86;
  --navy: #123b4b;
  --coral: #ff765f;
  --gold: #f6b43f;
  --shadow: 0 18px 48px rgba(16, 32, 29, .10);
  --shadow-soft: 0 10px 28px rgba(16, 32, 29, .07);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1188px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px; z-index: 80; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 235, 231, .95);
  backdrop-filter: blur(18px);
}
.site-header-overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,0));
  border-bottom: 0;
  backdrop-filter: none;
}
.site-header-overlay .logo-img { filter: brightness(0) invert(1); }
.site-header-overlay .nav-link { color: #fff; }
.site-header-overlay .nav-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-header-overlay .phone-button { background: #fff; color: var(--ink); box-shadow: none; }
.site-header-overlay .menu-toggle { background: rgba(255,255,255,.18); }
.site-header-overlay .menu-toggle span { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 22px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-img { display: block; width: 178px; height: auto; }
.logo-img-footer { filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #27453f;
  font-weight: 800;
}
.nav-link:hover { background: var(--wash); color: var(--brand); }
.dropdown {
  position: absolute;
  top: 44px;
  left: 0;
  display: none;
  width: 310px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: grid; gap: 6px; }
.dropdown a {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.dropdown a:hover { background: var(--wash); }
.dropdown small { color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.phone-button,
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(5, 122, 100, .22); }
.phone-button:hover,
.btn-primary:hover { background: #046854; color: #fff; transform: translateY(-1px); }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-soft); }
.btn-soft:hover { border-color: var(--brand); color: var(--brand); }
.menu-toggle { display: none; border: 0; background: var(--wash); border-radius: 999px; width: 46px; height: 46px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 94px) 0 34px;
  background:
    radial-gradient(circle at 86% 16%, rgba(223, 244, 255, .9), transparent 28%),
    linear-gradient(135deg, #f4fbf8 0%, #fff 48%, #e4f5ff 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: clamp(28px, 5vw, 58px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #e8f7f3; color: #075e51; font-size: .88rem; font-weight: 900; }
h1, h2, h3 { color: var(--ink); line-height: 1.07; letter-spacing: 0; margin: 0 0 14px; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5.25rem); max-width: 850px; }
h2 { font-size: clamp(1.8rem, 3.1vw, 3.05rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(1.06rem, 1.55vw, 1.28rem); color: #36534d; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.86); color: #25463f; font-weight: 850; box-shadow: 0 8px 20px rgba(16,32,29,.04); }
.hero-card {
  position: relative;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(220,235,231,.9);
  border-radius: 24px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: var(--shadow);
}
.hero-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hero-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.hero-stat strong { display: block; color: var(--ink); font-size: 1.2rem; }

.photo-hero {
  min-height: 750px;
  display: flex;
  align-items: center;
  padding: 112px 0 66px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.photo-hero-content { max-width: 760px; margin-left: max(16px, calc((100vw - var(--max)) / 2)); }
.photo-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.6rem);
  max-width: 760px;
  line-height: .98;
  margin-bottom: 22px;
}
.photo-hero .lead {
  color: #fff;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  max-width: 680px;
}
.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: #fff;
  font-weight: 850;
}
.rating-line .stars { color: #00c785; letter-spacing: 2px; }
.hero-search {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 220px;
  align-items: center;
  width: min(100%, 650px);
  min-height: 86px;
  margin: 24px 0 18px;
  padding: 0 14px;
  border: 2px solid #20d8d2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.search-icon {
  color: #0b1312;
  font-size: 1.45rem;
  display: grid;
  place-items: center;
}
.hero-search input {
  min-height: 56px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 1.08rem;
  padding: 0 12px;
}
.hero-search input::placeholder { color: #9aa6a3; }
.hero-search .btn {
  min-height: 56px;
  border-radius: 6px;
  background: #263fc8;
  box-shadow: none;
}
.hero-note {
  color: #fff;
  font-weight: 850;
}
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-trust { margin-top: 18px; }
.hero-trust .badge {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  color: #fff;
  box-shadow: none;
}
.hero-service-band {
  background: #fff;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.hero-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 28px;
}
.hero-service-card {
  display: grid;
  gap: 6px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hero-service-card:hover {
  transform: translateY(-3px);
  border-color: #b8dcd2;
  box-shadow: var(--shadow);
}
.hero-service-card strong {
  color: var(--ink);
  font-size: 1.08rem;
}
.hero-service-card span {
  color: var(--muted);
  font-weight: 650;
}
.featured-strip {
  background: #f4f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.featured-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  flex-wrap: wrap;
  color: #111;
}
.featured-row strong { font-size: 1.02rem; }
.featured-row span { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.2vw, 2.2rem); font-weight: 800; }

.section { padding: clamp(48px, 6vw, 86px) 0; }
.section.alt { background: var(--wash); }
.section.blue { background: linear-gradient(180deg, #f8fcfb, #eaf7ff); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); max-width: 680px; }
.kicker { color: var(--brand); font-weight: 950; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: 8px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.service-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b8dcd2; }
.service-visual { height: 92px; margin: -8px -8px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--mint), var(--blue)); display: grid; place-items: center; overflow: hidden; }
.service-visual svg { width: 148px; }
.link-arrow { color: var(--brand); font-weight: 950; }
.muted { color: var(--muted); }

.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.step-list { display: grid; gap: 14px; }
.step-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.step-number { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 950; font-size: 1.15rem; }

.profile-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; }
.avatar { width: 74px; height: 74px; border-radius: 18px; overflow: hidden; background: var(--blue); }
.stars { color: var(--gold); letter-spacing: 1px; font-weight: 950; }
.review { color: #2b4641; margin: 10px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #3d5751; font-size: .86rem; font-weight: 800; }

.job-feed { display: grid; gap: 12px; }
.job-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 18px rgba(16,32,29,.04); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 8px rgba(255,118,95,.14); display: inline-block; margin-right: 8px; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.area-link { padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 850; box-shadow: 0 6px 14px rgba(16,32,29,.04); }
.area-link:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
a.tag { color: var(--ink); text-decoration: none; }
a.tag:hover, a.tag:focus-visible { border-color: var(--brand); color: var(--brand); background: #f4faf7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.price-table th, .price-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { background: var(--ink); color: #fff; font-weight: 900; }
.price-table tr:last-child td { border-bottom: 0; }

.faq details { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 17px 18px; box-shadow: 0 6px 16px rgba(16,32,29,.04); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 950; color: var(--ink); }
.faq p { color: var(--muted); margin: 12px 0 0; }

.llm-summary {
  border: 1px solid #bfe4dc;
  border-left: 5px solid var(--brand);
  background: linear-gradient(135deg, #f7fcfa, #fff);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 24px;
}
.feature-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick { color: var(--brand); font-weight: 950; }

.cta-band {
  background: linear-gradient(135deg, var(--ink), #0d5e55);
  color: #fff;
  border-radius: 24px;
  padding: clamp(26px, 5vw, 46px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9ebe6; margin: 0; }

.page-hero { padding: 42px 0 34px; background: linear-gradient(135deg, var(--wash), #fff); border-bottom: 1px solid var(--line); }
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--brand); font-weight: 850; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 28px; align-items: start; }
.sidebar-box { position: sticky; top: 98px; display: grid; gap: 16px; }
.local-section { margin-top: 34px; }

.site-footer { background: #0d1b18; color: #eef8f4; padding: 52px 0 94px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr .8fr; gap: 20px; }
.cleaner-photo { box-shadow: inset 0 0 0 1px rgba(16,32,29,.06); }
.footer-card { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,.045); }
.footer-card h3 { color: #fff; }
.footer-card p, .footer-card .muted { color: #cadbd6; }
.footer-card a { color: #fff; font-weight: 850; }
.mobile-call { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; justify-content: center; box-shadow: 0 14px 32px rgba(0,0,0,.24); }

.cleanersup-svg .float { animation: floaty 4s ease-in-out infinite; }
.cleanersup-svg .arm { transform-origin: 54% 46%; animation: wipe 2.5s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wipe { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(7deg); } }

@media (max-width: 980px) {
  .header-inner { min-height: 70px; }
  .logo-img { width: 156px; }
  .menu-toggle { display: block; }
  .header-actions .phone-button { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
  }
  .main-nav.is-open { display: grid; gap: 8px; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .site-header-overlay .main-nav { background: rgba(16,32,29,.96); border-color: rgba(255,255,255,.16); }
  .site-header-overlay .dropdown { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
  .site-header-overlay .dropdown a,
  .site-header-overlay .dropdown small { color: #fff; }
  .dropdown { position: static; display: grid; width: 100%; box-shadow: none; margin: 4px 0 8px; }
  .hero-grid, .commercial-hero-grid, .how-grid, .content-layout, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .photo-hero { min-height: auto; padding: 118px 0 52px; background-position: 62% center; }
  .photo-hero-content { margin-left: auto; }
  .photo-hero h1 { font-size: 3.15rem; max-width: 680px; }
  .hero-service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat-row { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .job-row { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .mobile-call { display: flex; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  h1 { font-size: 2.45rem; }
  .photo-hero { padding: 104px 0 42px; background-position: 68% center; }
  .photo-hero h1 { font-size: 2.55rem; line-height: 1.04; }
  .photo-hero .lead { font-size: 1.04rem; }
  .rating-line { margin-bottom: 18px; }
  .hero-search { grid-template-columns: 36px 1fr; min-height: auto; padding: 12px; gap: 4px; }
  .hero-search .btn { grid-column: 1 / -1; width: 100%; }
  .hero-service-strip { grid-template-columns: 1fr; }
  .hero-service-card { min-height: auto; }
  .section { padding: 42px 0; }
  .hero { padding-top: 26px; }
  .profile-card, .step-card { grid-template-columns: 1fr; }
  .avatar { width: 68px; height: 68px; }
  .trust-badges { display: grid; grid-template-columns: 1fr 1fr; }
  .badge { border-radius: var(--radius-sm); align-items: flex-start; }
}
