/* ============================================================
   PROFCLEAN — MAIN.CSS
   Design System: Warm White + Navy + Teal + Eco Green + Clay
   Industry: Commercial & Residential Cleaning (NZ)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── Design Tokens ───────────────────────────────────────── */
:root {
  --bg:          #FAFAF8;
  --bg-alt:      #F3F8FC;
  --bg-white:    #FFFFFF;
  --card:        #FFFFFF;
  --navy:        #0C2340;
  --navy-light:  #1A3A5C;
  --teal:        #0EA5E9;
  --teal-dark:   #0369A1;
  --teal-pale:   #E0F2FE;
  --green:       #059669;
  --green-pale:  #D1FAE5;
  --clay:        #D4A574;
  --clay-dark:   #C49060;
  --amber:       #F59E0B;
  --text:        #374151;
  --text-dark:   #111827;
  --muted:       #6B7280;
  --muted-light: #9CA3AF;
  --border:      #E5E7EB;
  --border-teal: rgba(14,165,233,0.25);
  --font-heading:'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;
  --section-py:  80px;
  --section-sm:  48px;
  --container:   1200px;
  --container-sm:960px;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.12);
  --ease:        cubic-bezier(0.16,1,0.3,1);
  --dur:         300ms;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--teal-dark); }

/* ─── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
.display-1 { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 800; }
.display-2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; }
h1,.h1 { font-size: clamp(1.75rem,3.5vw,2.5rem); }
h2,.h2 { font-size: clamp(1.4rem,3vw,2rem); }
h3,.h3 { font-size: clamp(1rem,2vw,1.25rem); }
.lead { font-size: clamp(1rem,2vw,1.15rem); color: var(--muted); line-height: 1.75; }

.text-teal   { color: var(--teal); }
.text-green  { color: var(--green); }
.text-clay   { color: var(--clay); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-white  { color: #fff; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-label--green { color: var(--green); }
.section-label--clay  { color: var(--clay); }

.heading-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.heading-underline--center::after { left: 50%; transform: translateX(-50%); }
.heading-underline--green::after  { background: var(--green); }
.heading-underline--clay::after   { background: var(--clay); }
.heading-underline--wide::after   { width: 72px; }

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--sm { max-width: var(--container-sm); }

.section        { padding: var(--section-py) 0; }
.section--sm    { padding: var(--section-sm) 0; }
.section--white { background: var(--bg-white); }
.section--alt   { background: var(--bg-alt); }
.section--bg    { background: var(--bg); }

.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 28px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.section-header        { margin-bottom: 48px; }
.section-header--center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark); border-color: var(--teal-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,0.3);
}
.btn--secondary {
  background: var(--clay); color: #fff; border-color: var(--clay);
}
.btn--secondary:hover {
  background: var(--clay-dark); border-color: var(--clay-dark); color: #fff;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy); color: #fff; transform: translateY(-2px);
}
.btn--outline-teal {
  background: transparent; color: var(--teal); border-color: var(--teal);
}
.btn--outline-teal:hover {
  background: var(--teal); color: #fff; transform: translateY(-2px);
}
.btn--phone {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn--phone:hover {
  background: #1a3a5c; border-color: #1a3a5c; color: #fff; transform: translateY(-2px);
}
.btn--lg { padding: 18px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }

.btn-group {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

/* ─── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  font-size: 0.75rem; font-weight: 600; font-family: var(--font-heading);
  border-radius: 100px; line-height: 1.4;
}
.badge--teal  { background: var(--teal-pale); color: var(--teal-dark); }
.badge--green { background: var(--green-pale); color: var(--green); }
.badge--clay  { background: #FDF3E8; color: var(--clay-dark); }
.badge--navy  { background: #E8EFF8; color: var(--navy); }

.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area-tag {
  padding: 6px 14px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem; color: var(--text); font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.area-tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

/* ─── Tick lists ──────────────────────────────────────────── */
.tick-list { display: flex; flex-direction: column; gap: 10px; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem; color: var(--text); line-height: 1.5;
}
.tick-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.tick-list--teal li::before { background-color: var(--teal); }
.tick-list--clay li::before { background-color: var(--clay); }
.tick-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }

/* ─── Divider ─────────────────────────────────────────────── */
.divider { width: 56px; height: 3px; background: var(--teal); border-radius: 2px; margin: 14px 0; }
.divider--center { margin-left: auto; margin-right: auto; }
.divider--green  { background: var(--green); }
.divider--clay   { background: var(--clay); }

/* ─── Stats grid ──────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.stat-item {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-alt); }
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; background: var(--teal); border-radius: 2px 2px 0 0;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.stat-item:hover::after { opacity: 1; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800;
  color: var(--navy); line-height: 1; display: block;
}
.stat-suffix { color: var(--teal); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ─── Testimonials ────────────────────────────────────────── */
.testimonial-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease); position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 24px;
  font-family: Georgia, serif; font-size: 5rem; color: var(--teal-pale);
  line-height: 1; pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-teal); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.testimonial-stars span { font-size: 0.9rem; color: var(--amber); }
.testimonial-text { font-size: 0.93rem; line-height: 1.75; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.testimonial-avatar--green { background: var(--green); }
.testimonial-avatar--clay  { background: var(--clay); }
.testimonial-avatar--navy  { background: var(--navy); }
.testimonial-name  { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testimonial-role  { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ─── CTA section ─────────────────────────────────────────── */
.cta-section {
  background: var(--bg-alt); border-top: 3px solid var(--teal);
  padding: var(--section-py) 0;
}
.cta-section--green { border-top-color: var(--green); }

/* ─── Trust badges ────────────────────────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; color: var(--navy); font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}
.trust-icon { font-size: 0.95rem; }

/* ─── Pricing table ───────────────────────────────────────── */
.pricing-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.pricing-table th {
  background: var(--navy); color: #fff;
  padding: 14px 20px;
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; text-align: left;
}
.pricing-table th:last-child { text-align: right; }
.pricing-table td {
  padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); color: var(--text);
}
.pricing-table td:last-child {
  text-align: right; font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1rem;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: #F0F8FF; }

/* ─── FAQ accordion ───────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 8px; }
.faq-item.is-open { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,233,0.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--navy);
  cursor: pointer; background: var(--card); user-select: none;
  transition: background var(--dur) var(--ease);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-pale); display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease), background var(--dur);
  color: var(--teal); font-size: 1.2rem; font-weight: 300; line-height: 1;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); background: var(--bg-white); }
.faq-answer-inner { padding: 0 20px 20px; font-size: 0.92rem; line-height: 1.75; color: var(--text); }

/* ─── Process steps ───────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 28px; }
.process-step {
  text-align: center; padding: 32px 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.process-step__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.process-step__text  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── Marquee ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; background: var(--navy);
  padding: 13px 0; border-top: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
}
.marquee-track { display: flex; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 28px;
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.marquee-item::before { content: '✦'; color: var(--teal); font-size: 0.65rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
  padding: 100px 0 44px; position: relative; overflow: hidden; margin-top: 72px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 14px;
}
.page-hero__breadcrumb a { color: var(--teal); }
.page-hero__breadcrumb span { color: var(--muted-light); }

/* ─── Page load ───────────────────────────────────────────── */
@keyframes page-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
body { animation: page-in 0.3s var(--ease) both; }

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* ─── Focus ───────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width:1024px) {
  :root { --section-py: 64px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .stats-grid .stat-item:nth-child(3) { border-bottom: none; }
}
@media (max-width:768px) {
  :root { --section-py: 48px; }
  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .tick-list--grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-item { padding: 24px 16px; }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { width: 100%; justify-content: center; }
}
@media (max-width:480px) {
  :root { --section-py: 40px; }
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid .stat-item:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; }
  .tick-list--grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; } }
