/* ==========================================================================
   Ace Chem-Dry — Southern Highlands
   Design system mirrored from the Capital Chem-Dry benchmark.
   One green (#008752). Purple (#6b3fa0) is reserved for buttons only.
   ========================================================================== */

:root {
  /* Green — the single brand colour */
  --green: #008752;
  --green-dark: #005c37;
  --green-mid: #006b41;
  --green-tint: #f0faf4;
  --green-line: #d1e8db;
  --green-soft: #4a7a5e;

  /* Purple — action colour, buttons only */
  --purple: #6b3fa0;
  --purple-hover: #4a1d7a;

  /* Neutrals */
  --ink: #1a1a19;
  --body: #34322d;
  --muted: #858481;
  --surface: #f8f8f7;
  --white: #fff;

  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(26, 26, 25, 0.05);
  --shadow: 0 4px 16px rgba(26, 26, 25, 0.07);
  --shadow-lg: 0 12px 32px rgba(26, 26, 25, 0.1);
  --container: 1180px;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------- Reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--green);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.15em; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

strong { font-weight: 700; color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  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: -9999px;
  top: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

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

/* ------------------------------------------------------- Buttons (purple) */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 9999px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.btn:hover {
  text-decoration: none;
}

/* The only button treatment on the site. */
.btn-primary {
  background-color: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 63, 160, 0.35);
}

.btn-primary:hover {
  background-color: var(--purple-hover);
  color: #fff;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-lg {
  font-size: 0.85rem;
  padding: 0.95rem 1.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ------------------------------------------------------------- Top bar -- */

.top-bar {
  background-color: var(--green-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.top-bar__area {
  letter-spacing: 0.03em;
  opacity: 0.92;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  /* The number and the opening hours are gone from the strip, so the hit area is
     padded out to a comfortable tap target without making the strip any taller. */
  padding: 0.5rem;
  margin: -0.5rem;
}

.top-bar__phone:hover {
  color: #fff;
  opacity: 0.82;
  text-decoration: none;
}

.top-bar__phone svg {
  width: 17px;
  height: 17px;
}

/* -------------------------------------------------- Floating call button -- */

/* Mobile only. Fixed, so it travels with the visitor the whole way down the page
   and is always one tap from a call. */
.call-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 26, 25, 0.3);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.call-fab svg {
  width: 26px;
  height: 26px;
}

.call-fab:hover,
.call-fab:focus-visible {
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Shown only where the header's own call button is hidden. */
@media (max-width: 1023px) {
  .call-fab {
    display: flex;
  }
}

/* Get out of the way of the open menu. */
body:has(.mobile-nav.is-open) .call-fab {
  display: none;
}

/* -------------------------------------------------------------- Header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 26, 25, 0.09);
}

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

.brand {
  /* Height of the header lockup. The wordmark and the logo both derive from it,
     so the two can never drift apart at a breakpoint. */
  --brand-h: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

/* "Ace" — the business name set in the logo's own green (#008752, sampled from
   the artwork). The font size is chosen so the cap height matches the cap height
   of "ChemDry" (389/677 of the lockup, and Montserrat caps run 0.7em), and the
   nudge lifts it level with the wordmark rather than the tagline beneath it. */
.brand__ace {
  font-family: var(--font-display);
  font-weight: 900;
  /* 0.792 rather than 0.821: the text-stroke below adds 0.5px to the cap height,
     and the size is dialled back by exactly that much so the cap height still
     matches "ChemDry" in the logo. */
  font-size: calc(var(--brand-h) * 0.792);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  /* Condensed to 70% of its set width, at the client's request. Only the width
     narrows — the font size, and so the cap height that matches "ChemDry" in the
     logo, is untouched. */
  transform: translateY(calc(var(--brand-h) * -0.185)) scaleX(0.7);
  transform-origin: left center;
  /* scaleX does not reflow, so the 30% it gives back would otherwise open up as a
     gap between the wordmark and the logo. The span's advance width measures
     2.005em, so 30% of it is 0.6em — exactly what the scale releases. */
  margin-right: -0.6em;
  /* Montserrat Black carries less ink than the Chem-Dry logotype at the same cap
     height, and the condensing above takes another 30% off the stems. This brings
     the stroke weight up to the logo's: measured, the logo's strokes sit at 6.0px
     (90th percentile) and 4.5px (75th), and this puts Ace at the same 6.0 / 4.5. */
  -webkit-text-stroke: 0.0127em var(--green);
}

/* Header logo — sized to sit level with the content beside it: the 44px menu
   toggle on small screens, the 48px action buttons from 1024px up. */
.brand__logo {
  height: var(--brand-h);
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .brand {
    --brand-h: 48px;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a {
  color: var(--green-dark);
  padding: 0.55rem 0.7rem;
  border-radius: 0.35rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover {
  background: var(--green-tint);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--green-dark);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0.35rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > button:hover {
  background: var(--green-tint);
}

.nav-dropdown > button svg {
  width: 11px;
  height: 11px;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 0.35rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: none;
}

.nav-dropdown__menu a:hover {
  background: var(--green-tint);
  color: var(--green-dark);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--green-line);
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--green-line);
  background: #fff;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
}

.mobile-nav li {
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
  border-bottom: 1px solid var(--green-tint);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--green-tint);
  color: var(--green);
  text-decoration: none;
}

.mobile-nav__actions {
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header__actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 92, 55, 0.86), rgba(0, 135, 82, 0.66));
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 46rem;
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-hidden] {
  margin: 0 0.45rem;
  opacity: 0.6;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 0 1px 12px rgba(0, 60, 35, 0.25);
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.6rem;
  max-width: 40rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------- Sections -- */

.section {
  padding: 4.25rem 0;
}

.section--tint {
  background: var(--surface);
}

.section--mint {
  background: var(--green-tint);
}

.section--green {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.92);
}

.section--tight {
  padding: 3rem 0;
}

.section__head {
  max-width: 46rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section__head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.7rem;
}

.section--green .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section__head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.section--green .section__head p {
  color: rgba(255, 255, 255, 0.8);
}

/* Headings on a green background invert to a white reverse block. */
.section--green h2,
.section--green h3,
.hero h1,
.h2-reverse {
  color: #fff;
}

.h2-reverse {
  display: inline-block;
}

/* ------------------------------------------------------------ Video block */

.video-section {
  padding: 4rem 0;
  background: #fff;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  max-width: 980px;
  margin: 1rem auto 0;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

/* -------------------------------------------------------------- USP grid */

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
}

.usp-card {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

.usp-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Green circle matches the heading green exactly. */
.usp-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.05rem;
  flex-shrink: 0;
}

.usp-card__icon svg {
  width: 23px;
  height: 23px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

.usp-card h3 {
  font-size: 1.06rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.usp-card p {
  font-size: 0.92rem;
  color: var(--body);
  margin-bottom: 0;
}

/* --------------------------------------------------- Service card grid -- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease-out, transform 0.18s ease-out,
    border-color 0.18s ease-out;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--green);
}

.service-card h3 {
  color: var(--green);
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.service-card__link {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.service-card__link:hover {
  color: var(--purple-hover);
  text-decoration: none;
}

/* ---------------------------------------------------------- Split band -- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.25rem; }
  .split--reverse .split__media { order: -1; }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split__body h2 {
  margin-bottom: 0.5em;
}

/* --------------------------------------------------------- Process run -- */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.process-step {
  background: #fff;
  border: 1px solid var(--green-line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 0.7rem;
}

.process-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.process-step p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------- Pillar list -- */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.pillar h3 {
  color: var(--green);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------------- Reviews -- */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.review__stars {
  color: var(--green);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.review blockquote {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--body);
  flex-grow: 1;
}

.review__who {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-soft);
}

/* ----------------------------------------------------------------- FAQ -- */

.faq {
  max-width: 52rem;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq summary {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details[open] summary {
  border-bottom: 1px solid var(--green-line);
}

.faq__body {
  padding: 1.05rem 1.25rem 1.2rem;
  font-size: 0.94rem;
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------ CTA band -- */

.cta-band {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  color: #fff;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 40rem;
  margin: 0 auto 1.9rem;
  font-size: 1.02rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-row--left {
  justify-content: flex-start;
}

/* --------------------------------------------------------------- Info -- */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.info-card a {
  font-weight: 600;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------ Contact -- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--body);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--green-line);
  border-radius: 0.5rem;
  background: #fff;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 135, 82, 0.15);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ------------------------------------------------------- Suburb table -- */

.suburb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.suburb-table td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--green-tint);
  vertical-align: top;
  color: var(--body);
}

.suburb-table tr:last-child td {
  border-bottom: none;
}

/* -------------------------------------------------------------- Footer -- */

.site-footer {
  background: var(--green-dark);
  color: #fff;
  padding: 3.25rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-top: 0.3rem;
}

.footer-phone:hover {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
}

.footer-suburbs {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------- Scroll reveal -- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .usp-card, .service-card { transition: none; }
  .btn-primary:hover, .usp-card:hover, .service-card:hover { transform: none; }
}

/* ------------------------------------------------------------- Utility -- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.lead { font-size: 1.06rem; }

/* ------------------------------------------------------- Trust band ----- */
/* Four credibility badges, sitting directly above the service icon grid. */

.trust-band {
  background: #fff;
  border-top: 1px solid var(--green-line);
  padding: 2.75rem 0 2.25rem;
}

.trust-band__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  align-items: start;
}

@media (min-width: 760px) {
  .trust-band__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.trust-item {
  text-align: center;
}

.trust-item img {
  height: 92px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 0.85rem;
}

@media (min-width: 760px) {
  .trust-item img { height: 112px; }
}

.trust-item__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
}

/* -------------------------------------------------- Service icon grid --- */
/* Sits immediately above the footer on every page. */

.icon-grid-band {
  background: var(--green-tint);
  border-top: 1px solid var(--green-line);
  padding: 2.75rem 0 3rem;
}

.icon-grid__head {
  text-align: center;
  margin: 0 0 1.5rem;
}

.icon-grid__head .eyebrow {
  margin-bottom: 0;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  width: calc(33.333% - 0.75rem);
  padding: 0.9rem 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.16s ease-out, transform 0.16s ease-out,
    border-color 0.16s ease-out;
}

.icon-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--green);
  text-decoration: none;
}

.icon-tile img {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

.icon-tile__label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
  line-height: 1.35;
}

.icon-tile:hover .icon-tile__label {
  color: var(--green);
}

@media (min-width: 560px) {
  .icon-tile { width: calc(25% - 0.75rem); }
  .icon-tile img { width: 68px; height: 68px; }
}

@media (min-width: 1024px) {
  .icon-tile { width: calc(16.666% - 0.75rem); }
  .icon-tile img { width: 74px; height: 74px; }
  .icon-tile__label { font-size: 0.68rem; }
}
/* ------------------------------------------------ Inline CTA under USP --- */
/* Mirrors the reference site: a button row sitting directly beneath the
   benefits list, so the ask lands while the reader is still warm. Service
   pages only — the home and About pages have no breadcrumb and skip it. */

.cta-inline {
  background: #fff;
  border-top: 1px solid var(--green-line);
  padding: 2.4rem 0;
}

.cta-inline .cta-band__actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Local call to action and map. Added for the two pages built around the
   "carpet cleaning near me" intent: a full call-to-action band under the USP,
   with the Google Business Profile map directly beneath it. The map itself is
   a conversion aid; the address line under it is the part search engines read. */

.cta-inline--rich {
  padding: 3.4rem 0 3rem;
}

.cta-inline--rich .section__head {
  margin-bottom: 1.8rem;
}

.section--map {
  padding-top: 0;
  padding-bottom: 3.4rem;
}

/* The map is the local proof point on these pages, so it runs wider than the
   text column and taller than a default embed. */
.section--map .container {
  max-width: 1400px;
}

.map-embed {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  background: var(--green-tint);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-nap {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
}

.map-nap strong {
  font-family: var(--font-display);
  color: var(--green);
}

.map-nap a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.map-nap a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .map-embed {
    /* Narrow screens get a taller box again, so the map still reads as a map
       rather than a letterbox strip. */
    aspect-ratio: 1 / 1;
  }
}
/* Home page services grid: one image per service. The files are WebP at a 900px
   long edge, and every one is pulled to the card's top corners with the same
   negative offsets as the card's own padding. A fixed aspect box keeps the row
   even even though the source photos are all different shapes. */

.service-card__media {
  display: block;
  width: calc(100% + 3rem);
  margin: -1.6rem -1.5rem 1.2rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--green-tint);
}

/* ---------------------------------------------------------- Enquiry form --
   Two additions for the enquiry form: a honeypot a person never sees, and the
   message shown when a send did not go through. The form itself posts natively
   and the server answers with a redirect, so both survive JavaScript being off. */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6bdb9;
  border-left: 4px solid #b3261e;
  border-radius: 0.5rem;
  background: #fdf3f2;
  color: #6b1d18;
  font-size: 0.95rem;
}

.form-alert a {
  color: #6b1d18;
  font-weight: 600;
}
