/* Pure Point Cleaning Auckland — demo concept by onlineinnotime.co.nz */

:root {
  --navy: #12357a;
  --blue: #1a7fd6;
  --blue-deep: #0f5fb0;
  --sky: #eaf4fc;
  --sky-2: #d6eafa;
  --green: #43a939;
  --green-deep: #2f8a2b;
  --ink: #1f2a3a;
  --muted: #56657a;
  --line: #d9e4ef;
  --white: #ffffff;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-sky { background: var(--sky); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  font-family: inherit;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }

/* Demo banner */
.demo-banner {
  background: var(--navy); color: #fff; text-align: center; font-size: .9rem;
  padding: .5rem 1rem; line-height: 1.4;
}
.demo-banner a { color: #9fd3ff; font-weight: 600; }
.demo-banner a:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-name { display: block; white-space: nowrap; font-weight: 800; font-size: 1.1rem; color: var(--navy); letter-spacing: -0.01em; }
.brand-name span { color: var(--green); }
.brand-sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--blue-deep); text-transform: uppercase; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .55rem .85rem; border-radius: 8px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .97rem; white-space: nowrap;
}
.nav-cta { display: none; }
.nav a:hover { background: var(--sky); color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-cta .btn { padding: .7rem 1.2rem; font-size: .95rem; }
.phone-link { color: var(--navy); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.phone-link svg { width: 1.1em; height: 1.1em; }
.phone-link:hover { color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--navy); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem);
}
.hero-tagline {
  font-family: var(--script); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--blue);
  margin: 0 0 .5rem; line-height: 1.2;
}
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 1.1em; height: 1.1em; color: var(--green); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px 28px 28px 120px;
  box-shadow: 0 30px 60px -30px rgba(18,53,122,.45);
}
.hero-badge {
  position: absolute; left: -1.25rem; bottom: 2.5rem; background: #fff; border-radius: 14px;
  padding: .9rem 1.1rem; box-shadow: 0 16px 40px -20px rgba(18,53,122,.5);
  display: flex; align-items: center; gap: .8rem; max-width: 260px;
}
.hero-badge-icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; flex: none;
}
.hero-badge-icon svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); }

/* Wave divider (brand motif) */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { display: block; width: 100%; height: clamp(50px, 8vw, 110px); }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; }

/* Trust row */
.trust { padding: 2.5rem 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue-deep);
  display: grid; place-items: center;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-item h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%);
  color: var(--green-deep); display: grid; place-items: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin: .25rem 0 0; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.service ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.service ul li { margin: .2rem 0; }
.services-more { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; color: var(--muted); }
.services-more a { font-weight: 600; }

/* Before / after sliders */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.ba-card { display: flex; flex-direction: column; gap: .65rem; }
.ba {
  position: relative; aspect-ratio: 744 / 340; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--sky-2); user-select: none; -webkit-user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff;
  transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(0,0,0,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312357a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 4 12l5 6M15 6l5 6-5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 22px;
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba input[type="range"]:focus-visible + .ba-handle { outline: 3px solid var(--green); outline-offset: -3px; }
.ba input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.ba input[type="range"]::-moz-range-thumb { width: 60px; height: 400px; border: 0; background: transparent; }
.ba-label {
  position: absolute; bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .02em; pointer-events: none; color: #fff; background: rgba(18,53,122,.85);
}
.ba-label-before { left: .75rem; }
.ba-label-after { right: .75rem; background: rgba(67,169,57,.92); }
.ba-card h3 { margin: 0; font-size: 1.1rem; }
.ba-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.ba-hint { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .95rem; margin-top: -1.25rem; margin-bottom: 2rem; }
.ba-hint svg { width: 1.2em; height: 1.2em; color: var(--blue); }

/* Videos */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.video-frame {
  border-radius: var(--radius); overflow: hidden; background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(18,53,122,.5);
}
.video-frame video { width: 100%; height: auto; }
.video-copy h2 { margin-bottom: .75rem; }
.video-copy p { color: var(--muted); }
.video-copy .btn { margin-top: .75rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.75rem 1.75rem 1.75rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.area-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; font-weight: 600; color: var(--navy); }
.area-list li.accent { background: var(--green); border-color: var(--green); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,127,214,.18); }
.field textarea { min-height: 140px; resize: vertical; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-footer small { color: var(--muted); }
.form-status { display: none; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.success { display: block; background: #e7f6e5; color: var(--green-deep); border: 1px solid #bfe6b8; }
.form-status.error { display: block; background: #fdecec; color: #a12a2a; border: 1px solid #f3c1c1; }

.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; }
.contact-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 1.25rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: #8fd0ff; margin-top: .15rem; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: #9fd3ff; }
.contact-list span { display: block; font-size: .9rem; color: #c5d8ef; }
.contact-card .socials { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-card .btn { width: 100%; }

.socials { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.socials p { margin: 0; font-size: .92rem; color: #c5d8ef; width: 100%; }
.social-link {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem .55rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid rgba(255,255,255,.15);
}
.social-link:hover { background: rgba(255,255,255,.2); color: #fff; }
.social-link svg { width: 22px; height: 22px; }
.social-link .fb { color: #fff; }

/* Footer */
.site-footer { position: relative; background: var(--navy); color: #c5d8ef; padding: 0 0 2rem; margin-top: 0; }
.site-footer .wave { background: var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding: 3rem 0 2.5rem; }
.footer-logo { background: #fff; border-radius: 16px; padding: 1rem; width: 190px; }
.footer-logo img { width: 100%; }
.footer-brand p { margin: 1.25rem 0 0; max-width: 40ch; font-size: .95rem; }
.footer-brand .tagline { font-family: var(--script); font-size: 1.3rem; color: #8fd0ff; margin-top: 1rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #c5d8ef; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: .75rem 2rem; font-size: .88rem;
}
.footer-bottom a { color: #9fd3ff; font-weight: 600; }

/* Mobile action bar */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff;
  border-top: 1px solid var(--line); padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  gap: .6rem; box-shadow: 0 -10px 30px -18px rgba(18,53,122,.4);
}
.mobile-bar .btn { flex: 1; padding: .8rem 1rem; font-size: .95rem; }

/* Responsive */
@media (max-width: 1200px) {
  .header-cta .phone-link { display: none; }
  .nav a { padding: .55rem .65rem; font-size: .93rem; }
}

@media (max-width: 1024px) {
  .services-grid, .steps, .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .header-cta { order: 3; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: .75rem 1.25rem 1.25rem; display: none; box-shadow: 0 20px 40px -20px rgba(18,53,122,.35);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: .15rem; }
  .nav a { padding: .8rem .75rem; font-size: 1.05rem; }
  .nav .nav-cta { margin-top: .75rem; display: grid; gap: .6rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; }
  .hero-visual img { aspect-ratio: 5 / 4; border-radius: 24px 24px 24px 90px; }
  .hero-badge { left: 1rem; bottom: 1rem; }
  .video-grid, .areas, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  .services-grid, .ba-grid, .steps, .trust-grid, .form, .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand img { height: 40px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3rem 0; }
  .contact-card { padding: 1.5rem; }
}
