/* Purely Polished Cleaning Ltd — styling sampled directly from supplied brand flyers.
   Palette pulled with PIL from the source JPEGs, not invented:
     background #d9d9d9, purple #3d2557, body text #3a3a3a,
     bubble accent #ade5f4, sparkle accent #e4c692 */

:root {
  --bg: #d9d9d9;
  --bg-panel: #e6e5e2;
  --purple: #3d2557;
  --purple-dark: #2c1a40;
  --ink: #3a3a3a;
  --bubble: #ade5f4;
  --sparkle: #e4c692;
  --white: #fdfdfc;
  --radius: 18px;
  --max-width: 1120px;
  --space: clamp(1rem, 2vw, 1.75rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Anton', 'Quicksand', sans-serif;
  text-transform: uppercase;
  color: var(--purple);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Screen-reader-only: unlike .skip-link, never becomes visible — used for
   status text (e.g. carousel slide announcements) with nothing to focus. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(217, 217, 217, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61, 37, 87, 0.12);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  color: var(--purple);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-brand-icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.nav-cta) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--purple);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--purple);
  transition: right 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after { right: 0; }

/* Compound selector (.nav-links a.nav-cta) deliberately outweighs ".nav-links a"
   above (class+element beats a single class) — without it, that rule's
   padding: 0.25rem 0 wins on specificity and squashes this pill flat. */
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--purple);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--purple);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Decorative bubbles / sparkle (recreated in CSS from the logo motif, not new imagery) ---------- */
.motif { position: absolute; pointer-events: none; z-index: 0; }
.bubble {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, var(--bubble) 38%, rgba(173,229,244,0.35) 75%, transparent 100%);
}
.sparkle {
  width: 34px; height: 34px;
  background: var(--sparkle);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) var(--space) clamp(3.5rem, 8vw, 7rem);
  text-align: center;
}
.hero .bubble.b1 { width: 90px; height: 90px; top: 8%; right: 12%; animation: float 7s ease-in-out infinite; }
.hero .bubble.b2 { width: 46px; height: 46px; top: 22%; right: 6%; animation: float 6s ease-in-out infinite 0.6s; }
.hero .bubble.b3 { width: 30px; height: 30px; top: 32%; right: 20%; animation: float 5.5s ease-in-out infinite 1.1s; }
.hero .sparkle.s1 { top: 14%; left: 10%; animation: twinkle 3.4s ease-in-out infinite; }
.hero .sparkle.s2 { width: 20px; height: 20px; top: 60%; left: 6%; animation: twinkle 3.4s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble, .sparkle { animation: none !important; }
}

.hero-logo { max-width: min(420px, 80vw); height: auto; position: relative; z-index: 1; margin: 0 auto; }

.hero-compact { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero-compact .hero-tagline { margin-top: 0; }

.hero-tagline {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--purple);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  margin: 1.5rem auto 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.2rem;
  color: var(--ink);
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(61, 37, 87, 0.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(61, 37, 87, 0.32);
}
.btn-secondary {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Sections ---------- */
section { padding: clamp(2.75rem, 6vw, 4.5rem) var(--space); position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-eyebrow {
  display: block;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: var(--purple);
  opacity: 0.65;
  margin-bottom: 0.4rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
.section-head p { margin-top: 0.85rem; font-size: 1.02rem; }

.panel { background: var(--bg-panel); }

/* Why we started */
.why-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 18px 40px rgba(61, 37, 87, 0.08);
  text-align: center;
}
.why-card p { font-size: 1.08rem; margin: 0 0 1rem; }
.why-card p:last-child { margin-bottom: 0; }
.why-card .punchline {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--purple);
  font-size: 1.1rem;
}

/* Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 14px 30px rgba(61, 37, 87, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(61, 37, 87, 0.14);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.card p { margin: 0; font-size: 0.98rem; }
.card.card-new {
  background: var(--purple);
  color: var(--white);
}
.card.card-new h3, .card.card-new .badge { color: var(--sparkle); }
.card.card-new p { color: rgba(255,255,255,0.9); }
.badge {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Difference strip */
.diff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.diff-item {
  flex: 0 1 190px;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}
.diff-item:hover { transform: translateY(-6px); }
.diff-item .glyph {
  width: 84px; height: 84px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(61, 37, 87, 0.14);
  transition: transform 0.25s ease;
}
.diff-item:hover .glyph { transform: scale(1.06); }
.diff-item--bubble .glyph { background: radial-gradient(circle at 32% 28%, #ffffff 0%, var(--bubble) 70%); }
.diff-item--sparkle .glyph { background: radial-gradient(circle at 32% 28%, #fff8ec 0%, var(--sparkle) 75%); }
.diff-item--purple .glyph { background: radial-gradient(circle at 32% 28%, var(--purple-dark) 0%, var(--purple) 75%); }
.diff-item h3 { font-size: 1.2rem; letter-spacing: 0.01em; }

/* Areas */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1.5px solid rgba(61, 37, 87, 0.18);
  color: var(--purple);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.area-chip svg { width: 16px; height: 16px; }
.area-note { text-align: center; margin-top: 1.5rem; font-size: 0.92rem; opacity: 0.8; }

/* Testimonials carousel */
.review-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}
.review-track-wrap { flex: 1; overflow: hidden; }
.review-track {
  display: flex;
  transition: transform 0.4s ease;
}
.review-card {
  flex: 0 0 100%;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-sizing: border-box;
}
.review-card p.quote {
  font-style: italic;
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.review-card .who {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--sparkle);
  font-size: 0.9rem;
}
.carousel-arrow {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 37, 87, 0.25);
  background: var(--white);
  color: var(--purple);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover, .carousel-arrow:focus-visible {
  background: var(--purple);
  color: var(--white);
  transform: scale(1.06);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(61, 37, 87, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active { background: var(--purple); transform: scale(1.25); }
@media (max-width: 560px) {
  .review-carousel { gap: 0.5rem; }
  .carousel-arrow { width: 36px; height: 36px; }
}

/* About / personal */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about-grid p { font-size: 1.05rem; }
.stat-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 1.5rem 0 0;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Anton', sans-serif;
  color: var(--purple);
  font-size: 1.8rem;
}
.stat span { font-size: 0.85rem; opacity: 0.75; }

/* Contact / footer */
.contact {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 1rem;
}
.contact .section-head h2, .contact .section-eyebrow { color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,0.85); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}
.contact-card a {
  text-decoration: none;
  font-weight: 700;
  color: var(--sparkle);
  word-break: break-word;
}
.contact-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.6rem; }
.contact-card svg { width: 26px; height: 26px; margin-bottom: 0.6rem; color: var(--sparkle); }

.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 1.4rem var(--space);
  font-size: 0.85rem;
}
.site-footer a { color: var(--sparkle); text-decoration: none; }

/* Get-a-quote page: plain WhatsApp / email cards, no form */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  max-width: 780px;
  margin: 0 auto;
}
.quote-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.75rem) 1.75rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(61, 37, 87, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote-card:hover, .quote-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(61, 37, 87, 0.16);
}
.quote-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}
.quote-icon svg { width: 30px; height: 30px; }
.quote-card h2 {
  font-size: 1.3rem;
  margin: 0;
}
.quote-card p { margin: 0; font-weight: 600; }
.quote-cta {
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--purple);
  font-size: 0.92rem;
}

/* Floating WhatsApp CTA */
.float-cta {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  background: var(--purple);
  color: var(--white);
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(61, 37, 87, 0.35);
  transition: transform 0.2s ease;
}
.float-cta:hover { transform: translateY(-3px); }
.float-cta svg { width: 20px; height: 20px; }

/* ---------- Responsive nav ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem var(--space) 1.6rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(61,37,87,0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links .nav-cta { margin-top: 0.4rem; }
}

@media (max-width: 480px) {
  .float-cta span { display: none; }
  .float-cta { padding: 0.9rem; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
