/* ============================================================
   CAMI CLEANING — Boutique residential cleaning, Perth
   Editorial hospitality aesthetic. No shadows, no gradients.
   ============================================================ */

:root {
  --forest: #2D4A3E;
  --cream-bg: #F5F1E8;
  --cream-surface: #FBF8F1;
  --charcoal: #1F1F1F;
  --gold: #B8945F;
  --muted: #7A7974;
  --hairline: #D4D1CA;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1180px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: var(--cream-bg);
  padding: 10px 16px; border-radius: 4px; font-family: var(--font-ui);
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin: 8px 0 0;
}
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.eyebrow-cream { color: var(--gold); }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; border-radius: 2px;
  padding: 15px 28px; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  min-height: 48px;
}
.btn-primary { background: var(--forest); color: var(--cream-bg); }
.btn-primary:hover { background: #24382f; }
.btn-primary:active { transform: translateY(1px); }
.btn-block { width: 100%; }

.btn-book-sm {
  background: var(--forest); color: var(--cream-bg);
  padding: 10px 20px; font-size: 14px; min-height: 40px;
  border-radius: 2px; text-decoration: none;
}
.btn-book-sm:hover { background: #24382f; }

.link-gold {
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  color: var(--forest); text-decoration: none; position: relative;
  padding-bottom: 3px; border-bottom: 1.5px solid var(--gold);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-gold:hover { color: var(--gold); }

.dot { color: var(--gold); margin: 0 .35em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.wordmark { color: var(--forest); text-decoration: none; flex-shrink: 0; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-ui); font-weight: 500; font-size: 14.5px;
  color: var(--charcoal); text-decoration: none; position: relative;
  padding: 4px 0; transition: color .2s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--forest); }
.main-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--cream-bg);
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
  min-height: 62vh;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { max-width: 560px; }
#hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--forest); margin: 18px 0 0;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6;
  color: var(--charcoal); margin: 22px 0 0; max-width: 480px;
}
.hero-ctas {
  display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap;
}
.hero-media img {
  width: 100%; border-radius: 3px; object-fit: cover;
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--cream-surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.trustbar p {
  margin: 0; text-align: center;
  font-family: var(--font-ui); font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cards (services / testimonials) ---------- */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.card {
  background: var(--cream-surface);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
}
.card-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.9rem; line-height: 1.1; color: var(--forest);
  margin: 0 0 12px;
}
.card-desc { margin: 0 0 22px; color: var(--charcoal); font-size: 16px; }
.card-list { margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.card-list li {
  position: relative; padding-left: 20px; font-size: 15px; color: var(--muted);
}
.card-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}
.card-foot {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-price {
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--charcoal);
}

/* ---------- How it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(40px, 6vw, 88px);
  counter-reset: none;
}
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-num {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1;
  color: var(--gold); flex-shrink: 0; min-width: 1.6em;
}
.step-title {
  font-family: var(--font-ui); font-weight: 600; font-size: 18px;
  color: var(--forest); margin: 6px 0 8px; line-height: 1.3;
}
.step-body p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream-surface); }
.table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
}
.price-table th, .price-table td {
  padding: 20px 18px; text-align: left; border-bottom: 1px solid var(--hairline);
}
.price-table thead th {
  font-family: var(--font-ui); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1.5px solid var(--gold);
}
.price-table tbody th {
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; color: var(--forest);
}
.price-table tbody td {
  font-family: var(--font-ui); font-weight: 500; font-size: 17px; color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: none; }
.footnote { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Why Cami ---------- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.why-left .section-title { max-width: 8em; }
.why-right { display: flex; flex-direction: column; gap: 36px; }
.why-label {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 8px;
}
.why-item p:last-child { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--charcoal); }

/* ---------- Full-bleed image ---------- */
.fullbleed-img { width: 100%; overflow: hidden; }
.fullbleed-img img {
  width: 100%; height: clamp(280px, 44vw, 560px); object-fit: cover;
}
.fullbleed-img--tall img { height: clamp(320px, 46vw, 600px); }

/* ---------- Service areas (forest band) ---------- */
.areas { background: var(--forest); color: var(--cream-bg); }
.areas .eyebrow { color: var(--gold); }
.areas-title { color: var(--cream-bg); }
.areas-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.areas-layout {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.suburb-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
.suburb-grid li {
  font-family: var(--font-ui); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--cream-bg); padding-bottom: 14px; border-bottom: 1px solid rgba(245,241,232,0.18);
}
.map-wrap { display: flex; justify-content: center; }
.area-map { width: 100%; max-width: 260px; height: auto; }
.areas-note {
  margin: clamp(32px, 5vw, 48px) 0 0; font-size: 15px;
  color: rgba(245,241,232,0.7); font-style: italic;
}

/* ---------- Testimonials ---------- */
.stars-line {
  margin: 16px 0 0; color: var(--gold); font-size: 18px; letter-spacing: 2px;
}
.stars-count {
  font-family: var(--font-ui); font-weight: 500; font-size: 13px;
  letter-spacing: 0; color: var(--muted); margin-left: 8px;
}
.testi-card {
  background: var(--cream-surface); border: 1px solid var(--hairline);
  border-radius: 3px; padding: clamp(28px, 3vw, 40px); margin: 0;
  display: flex; flex-direction: column;
}
.testi-card blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; line-height: 1.35; color: var(--forest);
  margin: 0 0 24px; quotes: '\201C' '\201D';
}
.testi-card blockquote::before { content: open-quote; color: var(--gold); }
.testi-card blockquote::after { content: close-quote; color: var(--gold); }
.testi-card figcaption {
  margin-top: auto; font-family: var(--font-ui); font-weight: 600;
  font-size: 14px; color: var(--muted); letter-spacing: 0.02em;
}

/* ---------- FAQ ---------- */
.accordion { border-top: 1px solid var(--hairline); }
.acc-item { border-bottom: 1px solid var(--hairline); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: none; border: none; text-align: left;
  padding: 26px 4px; font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--forest);
}
.acc-icon {
  position: relative; flex-shrink: 0; width: 18px; height: 18px;
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }
.acc-panel {
  overflow: hidden; max-height: 0;
  transition: max-height .35s var(--ease);
}
.acc-panel p {
  margin: 0; padding: 0 4px 28px; color: var(--charcoal);
  font-size: 16px; line-height: 1.6; max-width: 62ch;
}

/* ---------- Booking ---------- */
.booking { background: var(--cream-bg); }
.booking-card {
  background: var(--forest); color: var(--cream-bg);
  border-radius: 4px; padding: clamp(36px, 5vw, 72px);
  max-width: 860px; margin: 0 auto;
}
.booking-head { max-width: 560px; margin-bottom: 36px; }
.booking-title { color: var(--cream-bg); }
.booking-sub { margin: 16px 0 0; color: rgba(245,241,232,0.82); font-size: 16.5px; }

.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; color: rgba(245,241,232,0.85);
}
.field input, .field select {
  font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
  background: var(--cream-surface); border: 1px solid transparent;
  border-radius: 2px; padding: 14px 16px; min-height: 50px; width: 100%;
  transition: border-color .2s var(--ease);
}
.field input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold);
}
.lead-form .btn-block { grid-column: 1 / -1; margin-top: 6px;
  background: var(--gold); color: var(--forest); }
.lead-form .btn-block:hover { background: #a37f4b; }

.booking-cta-wrap { margin-top: 28px; display: flex; justify-content: center; }
.booking-cta-wrap .btn-block {
  background: var(--gold); color: var(--forest);
  max-width: 360px; width: 100%;
}
.booking-cta-wrap .btn-block:hover { background: #a37f4b; }

.form-success {
  margin: 24px 0 0; padding: 18px 20px;
  background: rgba(184,148,95,0.16); border: 1px solid var(--gold);
  border-radius: 3px; color: var(--cream-bg);
  font-family: var(--font-ui); font-weight: 500; font-size: 15.5px;
}
.booking-contact {
  margin: 28px 0 0; font-size: 15px; color: rgba(245,241,232,0.82);
}
.booking-contact a { color: var(--cream-bg); text-decoration: underline; text-underline-offset: 3px; }
.booking-contact a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-bg);
  border-top: 1px solid var(--gold);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand { max-width: 280px; }
.footer-tag { margin: 18px 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.socials { display: flex; gap: 14px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--hairline);
  border-radius: 50%; color: var(--forest);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h3 {
  font-family: var(--font-ui); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14.5px; color: var(--charcoal); text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--forest); }
.footer-abn { font-size: 13px; color: var(--muted); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 46vh; object-fit: cover; }
  .cards-3 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .areas-layout { grid-template-columns: 1fr; }
  .map-wrap { order: -1; }
  .area-map { max-width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .lead-form { grid-template-columns: 1fr; }
  .suburb-grid { grid-template-columns: 1fr; }
  .trustbar p { font-size: 11px; letter-spacing: 0.06em; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { gap: 18px; }
  .booking-card { padding: 32px 24px; }
}
