/*
Theme Name: A1 Commercial Cleaning
Theme URI: https://www.a1co.co.nz
Author: The I.T. Bear
Author URI: https://www.theitbear.nz/
Description: Custom theme for A1 Commercial Cleaning. Brand colours from the live RocketSpark site.
Version: 0.11.9
Text Domain: a1co
*/

:root {
  --a1-green: #7ac142;
  /* Buttons / text on light: deep green for WCAG AA with white or soft. */
  --a1-green-btn: #337700;
  --a1-green-hover: #2a6600;
  --a1-green-deep: #337700;
  /* Eyebrows / accents on navy (light green fails AA on white). */
  --a1-green-on-dark: #8bcf4a;
  --a1-navy: #004785;
  --a1-charcoal: #333333;
  --a1-soft: #eeeeee;
  --a1-white: #ffffff;
  --a1-max: 72rem;
  --a1-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Room for sticky header on in-page anchors (#contact, etc.) */
  scroll-padding-top: 5.75rem;
}

body {
  margin: 0;
  font-family: var(--a1-font);
  color: var(--a1-charcoal);
  background: var(--a1-soft);
  line-height: 1.55;
  font-size: 1.05rem;
}

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

a {
  color: var(--a1-green-deep);
}

.a1-wrap {
  width: min(100% - 2rem, var(--a1-max));
  margin-inline: auto;
}

/* Header */
.a1-header {
  background: var(--a1-white);
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.a1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.a1-logo {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.a1-logo img {
  height: 48px;
  width: auto;
}

.a1-header-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.a1-header-phone {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--a1-navy);
  white-space: nowrap;
  margin-left: 0.25rem;
}

.a1-header-phone:hover {
  color: var(--a1-green-deep);
}

.a1-header-phone--mobile {
  display: none;
}

.a1-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(51, 51, 51, 0.18);
  border-radius: 0.3rem;
  background: var(--a1-white);
  color: var(--a1-navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.a1-nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.a1-nav-toggle[aria-expanded="true"] {
  background: var(--a1-soft);
}

.a1-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.a1-nav a {
  text-decoration: none;
  color: var(--a1-charcoal);
  font-size: 0.95rem;
  font-weight: 600;
}

.a1-nav a:hover,
.a1-nav a[aria-current="page"] {
  color: var(--a1-green-deep);
}

.a1-nav-cta {
  background: var(--a1-green-btn);
  color: var(--a1-white) !important;
  padding: 0.5rem 0.9rem;
  border-radius: 0.25rem;
}

.a1-nav-cta:hover {
  background: var(--a1-green-hover);
  color: var(--a1-white) !important;
}

.a1-nav-item--drop {
  position: relative;
}

.a1-nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.a1-nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.a1-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  margin: 0;
  /* Padding-top bridges the hit area so the panel stays open while moving down */
  padding: 0.55rem 0 0.45rem;
  list-style: none;
  background: var(--a1-white);
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: 0.35rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 30;
}

.a1-nav-panel a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.a1-nav-panel a:hover {
  background: var(--a1-soft);
  color: var(--a1-green-deep);
}

/* Industries dropdown — navy reverse of Services */
.a1-nav-panel--industries {
  background: var(--a1-navy);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 71, 133, 0.28);
}

.a1-nav-panel--industries a {
  color: #fff;
}

.a1-nav-panel--industries a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.a1-nav-item--drop:hover > .a1-nav-panel,
.a1-nav-item--drop:focus-within > .a1-nav-panel,
.a1-nav-item--drop.is-open > .a1-nav-panel {
  display: block;
}

@media (max-width: 900px) {
  .a1-header-phone--desktop {
    display: none;
  }

  .a1-header-phone--mobile {
    display: inline-block;
    margin-left: auto;
    margin-right: 0.35rem;
    font-size: 0.95rem;
  }

  .a1-nav-toggle {
    display: inline-flex;
  }

  .a1-header-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-left: 0;
    padding: 0.75rem 0 0.35rem;
    border-top: 1px solid rgba(51, 51, 51, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .a1-header.is-nav-open .a1-header-nav {
    display: flex;
  }

  .a1-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .a1-nav > li > a,
  .a1-nav-parent {
    display: flex;
    padding: 0.65rem 0.15rem;
  }

  .a1-nav-cta {
    text-align: center;
    justify-content: center;
  }

  .a1-nav-panel {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: 0.15rem 0 0.35rem 0.85rem;
    background: transparent;
  }

  .a1-nav-panel--industries {
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .a1-nav-panel--industries a {
    color: var(--a1-navy);
  }

  .a1-nav-panel--industries a:hover {
    background: var(--a1-soft);
    color: var(--a1-green-deep);
  }

  .a1-nav-item--drop.is-open > .a1-nav-panel {
    display: block;
  }

  .a1-nav-item--drop:not(.is-open) > .a1-nav-panel {
    display: none;
  }

  .a1-nav-item--drop:hover > .a1-nav-panel {
    display: none;
  }

  .a1-nav-item--drop.is-open:hover > .a1-nav-panel {
    display: block;
  }
}

.a1-nav-cta:hover {
  background: var(--a1-green-hover);
}

/* Hero split + rotate */
.a1-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 4.5rem);
  min-height: calc(100vh - 4.5rem);
  background: var(--a1-navy);
}

@media (max-width: 860px) {
  .a1-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.a1-hero-copy {
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  color: var(--a1-white);
  background: linear-gradient(145deg, var(--a1-navy) 0%, #003366 55%, var(--a1-green-deep) 160%);
}

.a1-hero-copy-inner {
  max-width: 34rem;
}

.a1-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--a1-green-on-dark);
  margin: 0 0 0.85rem;
}

.a1-hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.a1-hero-support {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0 0 1.75rem;
  opacity: 0.95;
  line-height: 1.45;
}

.a1-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.a1-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8em 1.2em;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-family: inherit;
}

.a1-btn-primary {
  background: var(--a1-green-btn);
  color: var(--a1-white);
}

.a1-btn-primary:hover {
  background: var(--a1-green-deep);
}

.a1-btn-ghost {
  background: transparent;
  color: var(--a1-white);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.a1-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.a1-hero-media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #222;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}

.a1-hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--a1-green), var(--a1-navy));
  pointer-events: none;
}

@media (max-width: 860px) {
  .a1-hero-media {
    min-height: 16rem;
    order: -1;
  }
}

.a1-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.a1-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.a1-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s ease-out;
}

.a1-hero-slide.is-active img {
  transform: scale(1);
}

@media (max-width: 860px) {
  .a1-hero-media {
    clip-path: none;
  }
  .a1-hero-media::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 5px;
    background: linear-gradient(90deg, var(--a1-green), var(--a1-navy));
  }
}

@media (prefers-reduced-motion: reduce) {
  .a1-hero-slide img {
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a1-hero-slide {
    transition: none;
  }
}

/* Sections */
.a1-section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  background: var(--a1-white);
}

.a1-section-alt {
  background: var(--a1-soft);
}

#work.a1-section {
  padding-top: 0;
}

.a1-section-navy {
  background: var(--a1-navy);
  color: var(--a1-white);
}

.a1-section-green {
  background: var(--a1-green-btn);
  color: var(--a1-white);
}

.a1-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  color: var(--a1-navy);
  letter-spacing: -0.02em;
}

.a1-section-navy h2,
.a1-section-green h2 {
  color: var(--a1-white);
}

/* Match hero title indent; title vertically centred in the white band */
.a1-section-intro {
  display: grid;
  align-items: center;
  justify-items: start;
  min-height: 5.25rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  max-width: none;
  background: var(--a1-white);
  box-sizing: border-box;
}

.a1-section-intro h2 {
  margin: 0;
  padding: 0;
  line-height: 1.15;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  align-self: center;
}

.a1-lede {
  margin: 0 0 2rem;
  color: #565656;
  max-width: 40rem;
  font-size: 1.08rem;
}

.a1-section-navy .a1-lede,
.a1-section-green .a1-lede {
  color: rgba(255, 255, 255, 0.88);
}

/* Service split rows */
.a1-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 20rem;
  height: 20rem;
  text-decoration: none;
  color: inherit;
  /* Image stays put; copy flies in on .is-in */
}

@media (max-width: 800px) {
  .a1-service {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
}

.a1-service-copy {
  display: flex;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--a1-navy);
  color: var(--a1-white);
  /* Panel colour stays put; only .a1-service-copy-inner flies in */
  overflow: hidden;
}

.a1-service--flip .a1-service-copy {
  order: 2;
  background: var(--a1-green-deep);
}

.a1-service-copy-inner {
  opacity: 0;
  transform: translateX(-2.5rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
  width: 100%;
}

.a1-service--flip .a1-service-copy-inner {
  transform: translateX(2.5rem);
}

.a1-service.is-in .a1-service-copy-inner {
  opacity: 1;
  transform: none;
}

@media (max-width: 800px) {
  .a1-service--flip .a1-service-copy {
    order: 0;
  }
  .a1-service-media {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a1-service-copy-inner,
  .a1-service--flip .a1-service-copy-inner,
  .a1-service.is-in .a1-service-copy-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.a1-service-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.a1-service-copy p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.95;
}

.a1-service-copy .a1-btn {
  background: var(--a1-white);
  color: var(--a1-navy);
}

.a1-service-copy .a1-btn:hover {
  background: var(--a1-soft);
}

.a1-service-media {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

.a1-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 800px) {
  .a1-service-media {
    min-height: 14rem;
    height: 14rem;
  }
}

.a1-other-services {
  padding: 2.25rem clamp(1.25rem, 4vw, 3.5rem) 0.75rem;
}

.a1-other-label {
  margin: 0 0 1rem;
  font-weight: 800;
  color: var(--a1-navy);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.a1-other-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

@media (max-width: 900px) {
  .a1-other-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .a1-other-list {
    grid-template-columns: 1fr;
  }
}

.a1-btn-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85em 1em;
  border-radius: 0.35rem;
  background: var(--a1-navy);
  color: var(--a1-white);
  border: none;
  min-height: 3.1rem;
}

.a1-btn-sm:nth-child(even) {
  background: var(--a1-green-btn);
}

.a1-btn-sm:hover {
  filter: brightness(1.08);
  color: var(--a1-white);
}

/* Why points */
.a1-points {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

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

.a1-points li {
  background: var(--a1-white);
  border-radius: 0.35rem;
  padding: 1.75rem 1.5rem;
  border-top: 5px solid var(--a1-green);
  color: var(--a1-charcoal);
}

.a1-points strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--a1-navy);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.a1-points p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #444;
}

/* Testimonials — bolder band + seamless marquee */
.a1-section-testimonials {
  background: var(--a1-navy);
  color: var(--a1-white);
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.a1-section-testimonials h2 {
  color: var(--a1-white);
}

.a1-section-testimonials .a1-lede {
  color: rgba(255, 255, 255, 0.88);
}

.a1-slider-wrap {
  overflow: hidden;
  margin-top: 1.25rem;
  width: 100%;
}

.a1-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .a1-slider-track {
    flex-wrap: wrap;
    width: auto;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem;
    transform: none !important;
  }
  .a1-slider-track .a1-snip[aria-hidden="true"] {
    display: none;
  }
}

.a1-snip {
  flex: 0 0 20rem;
  height: 13.5rem;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #ffffff 0%, #f3f8ec 100%);
  border: 2px solid rgba(122, 193, 66, 0.55);
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--a1-charcoal);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.a1-snip:hover,
.a1-snip:focus-visible {
  border-color: var(--a1-green);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.a1-snip-quote {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--a1-navy);
  overflow: hidden;
}

.a1-snip-who {
  display: block;
  margin: auto 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  color: var(--a1-navy);
  flex: 0 0 auto;
}

.a1-snip-hint {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--a1-green-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

/* FAQ */
.a1-faq details {
  background: var(--a1-white);
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: 0.35rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
}

.a1-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--a1-navy);
  font-size: 1.05rem;
}

.a1-faq details p {
  margin: 0.7rem 0 0;
}

/* Contact */
.a1-contact-band {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .a1-contact-band {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.a1-form {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.a1-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.a1-form--dark label {
  color: #fff;
}

.a1-form input,
.a1-form textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(51, 51, 51, 0.25);
  border-radius: 0.25rem;
  background: var(--a1-white);
}

.a1-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.a1-form .a1-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.a1-form-note {
  font-size: 0.88rem;
  color: #565656;
  margin: 0.5rem 0 0;
}

.a1-form-note--on-dark {
  color: rgba(255, 255, 255, 0.85);
}

.a1-form-note--on-dark a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.a1-form-flash {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.35rem;
  background: #e8f5dc;
  color: var(--a1-green-deep);
  font-weight: 600;
}

.a1-form-flash--dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.a1-contact-panel-title {
  margin: 0 0 1rem;
  color: var(--a1-navy);
  font-size: 1.25rem;
}

.a1-contact-phones {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.a1-contact-phones a {
  color: var(--a1-navy);
  font-weight: 700;
  text-decoration: none;
}

.a1-contact-phones a:hover {
  color: var(--a1-green-deep);
}

.a1-contact-phones-label {
  display: inline-block;
  min-width: 3.5rem;
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
}

.a1-contact-postal {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.a1-lede-plain {
  color: #555;
  max-width: 40rem;
}

.a1-why-lede {
  max-width: none;
  width: 100%;
}

.a1-hub-heading {
  margin: 2.25rem 0 1rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-hub-heading--industries {
  margin-top: 3.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 71, 133, 0.14);
}

.a1-hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .a1-hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.a1-hub-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 5.5rem;
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  background: var(--a1-soft);
  color: var(--a1-navy);
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.a1-hub-card:hover,
.a1-hub-card:focus-visible {
  background: #fff;
  border-color: var(--a1-green);
  box-shadow: 0 6px 18px rgba(0, 71, 133, 0.08);
  outline: none;
}

/* Industries — cooler wash so the block reads separate from Services */
.a1-hub-card--industry {
  background: #e4eef6;
  color: var(--a1-navy);
}

.a1-hub-card--industry:hover,
.a1-hub-card--industry:focus-visible {
  background: #d5e6f4;
  border-color: var(--a1-navy);
  box-shadow: 0 6px 18px rgba(0, 71, 133, 0.12);
}

.a1-hub-card--industry .a1-hub-card-go {
  color: var(--a1-navy);
}

.a1-hub-card-media {
  flex: 0 0 auto;
  order: 0;
  width: 5.5rem;
  height: 3.85rem;
  border-radius: 0.3rem;
  overflow: hidden;
  background: #d8d8d8;
}

.a1-hub-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a1-hub-card-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.a1-hub-card-go {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--a1-green-deep);
  font-size: 1.25rem;
  line-height: 1;
}

@media (min-width: 560px) {
  .a1-hub-card {
    min-height: 6.25rem;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    gap: 1rem;
  }

  .a1-hub-card-label {
    font-size: 1.12rem;
  }

  .a1-hub-card-media {
    width: 7.5rem;
    height: 4.75rem;
  }
}

.a1-hub-cta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 71, 133, 0.12);
}

/* Inner service pages (carpet, windows, …) */
.a1-service-hero {
  background: var(--a1-soft);
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid rgba(0, 71, 133, 0.08);
}

.a1-service-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .a1-service-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.a1-service-hero-copy h1 {
  margin: 0 0 1rem;
  color: var(--a1-navy);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.a1-service-hero-support {
  margin: 0 0 1.35rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #444;
  max-width: 36rem;
}

.a1-service-hero-media {
  border-radius: 0.4rem;
  overflow: hidden;
  background: #ccc;
  min-height: 14rem;
  box-shadow: 0 10px 28px rgba(0, 71, 133, 0.1);
}

.a1-service-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  max-height: 22rem;
  object-fit: cover;
}

.a1-service-body h2 {
  margin: 2rem 0 0.75rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-service-body h2:first-child {
  margin-top: 0;
}

.a1-service-body p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-service-related {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: #666;
}

.a1-service-related a {
  color: var(--a1-green-deep);
  font-weight: 700;
  text-decoration: none;
}

.a1-service-related a:hover {
  text-decoration: underline;
}

.a1-inline-link {
  color: var(--a1-green-deep);
  font-weight: 700;
  text-decoration: underline;
}

.a1-hs-block h2 {
  margin: 0 0 0.85rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-hs-block p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-hs-block p:last-child {
  margin-bottom: 0;
}

.a1-service-list {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-service-list li {
  margin: 0.35rem 0;
}

.a1-floor-places h2 {
  margin: 0 0 1.25rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-floor-place-grid {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 720px) {
  .a1-floor-place-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .a1-floor-place-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.a1-floor-place {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--a1-white);
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid rgba(0, 71, 133, 0.08);
  box-shadow: 0 4px 14px rgba(0, 71, 133, 0.06);
}

.a1-floor-place-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d8d8;
}

.a1-floor-place-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a1-floor-place-label {
  padding: 0 0.75rem 0.85rem;
  color: var(--a1-navy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Job photo + copy band (e.g. Commercial washrooms) */
.a1-job-band-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 800px) {
  .a1-job-band-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
  }
}

.a1-job-band-media {
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid rgba(0, 71, 133, 0.1);
  background: #d8d8d8;
}

.a1-job-band-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.a1-job-band-copy h2 {
  margin: 0 0 0.85rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-job-band-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

/* Service Areas / About owners — centred mid-width (wider than narrow, not full site) */
.a1-wrap-owners {
  width: min(100% - 2rem, 54rem);
  margin-inline: auto;
  text-align: center;
}

.a1-wrap-owners > p,
.a1-wrap-owners .a1-service-list,
.a1-wrap-owners .a1-service-related,
.a1-wrap-owners .a1-areas-services-note {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
  text-align: left;
}

.a1-wrap-owners > h2 {
  text-align: center;
}

.a1-areas-cover h2,
.a1-areas-do h2,
.a1-about-owners h2 {
  margin: 0 0 0.85rem;
  color: var(--a1-navy);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

/* Pills share the same column width as the copy above */
.a1-areas-place-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  width: 100%;
}

@media (min-width: 720px) {
  .a1-areas-place-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.a1-areas-place {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--a1-white);
  border: 1px solid rgba(0, 71, 133, 0.12);
  border-radius: 0.35rem;
  color: var(--a1-navy);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.a1-areas-place:hover,
.a1-areas-place:focus-visible {
  border-color: var(--a1-green);
  color: var(--a1-green-deep);
  outline: none;
}

.a1-areas-services-note {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  color: #555;
}

/* About — How a clean works + Products (two-col) */
.a1-about-split-grid {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .a1-about-split-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .a1-about-split-col + .a1-about-split-col {
    border-left: 1px solid rgba(0, 71, 133, 0.12);
    padding-left: 3rem;
  }
}

.a1-about-split-col h2 {
  margin: 0 0 0.85rem;
  color: var(--a1-navy);
  font-size: 1.35rem;
}

.a1-about-split-col p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-about-split-col p:last-child {
  margin-bottom: 0;
}

/* About — Kevin / Dean soft rows inside Local owners */
.a1-about-owners .a1-wrap-owners > p {
  text-align: left;
}

/* Giving back — dark island */
.a1-about-local {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--a1-soft);
}

.a1-local-island {
  text-align: left;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 0.5rem;
  background: var(--a1-navy);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(0, 71, 133, 0.18);
}

.a1-local-island h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.a1-local-island-sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--a1-green-on-dark);
}

.a1-local-island p:last-child {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
}

.a1-about-stories-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  text-align: left;
  border-top: 1px solid rgba(0, 71, 133, 0.12);
}

@media (min-width: 800px) {
  .a1-about-stories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }
}

.a1-owner-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (min-width: 800px) {
  .a1-owner-card + .a1-owner-card {
    border-left: 1px solid rgba(0, 71, 133, 0.12);
    padding-left: 2.5rem;
  }
}

.a1-owner-avatar {
  flex: 0 0 auto;
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  border: 2px solid rgba(0, 71, 133, 0.12);
}

.a1-owner-card:first-child .a1-owner-avatar {
  /* Kevin — keep more of the top of the head in the circle */
  object-position: center 6%;
}

.a1-owner-copy h3 {
  margin: 0 0 0.55rem;
  color: var(--a1-navy);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.a1-owner-copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 520px) {
  .a1-owner-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.a1-service-hero .a1-btn-ghost {
  background: transparent;
  color: var(--a1-navy);
  border: 2px solid var(--a1-navy);
}

.a1-service-hero .a1-btn-ghost:hover {
  background: var(--a1-navy);
  color: var(--a1-white);
}

/* Industry pages — navy hero wash (option A) */
.a1-service-hero--industry {
  background: var(--a1-navy);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.a1-service-hero--industry .a1-eyebrow {
  color: var(--a1-green-on-dark);
}

.a1-service-hero--industry .a1-service-hero-copy h1,
.a1-service-hero--industry .a1-service-hero-support {
  color: #fff;
}

.a1-service-hero--industry .a1-service-hero-support {
  color: rgba(255, 255, 255, 0.9);
}

.a1-service-hero--industry .a1-btn-ghost {
  color: #fff;
  border-color: #fff;
}

.a1-service-hero--industry .a1-btn-ghost:hover {
  background: #fff;
  color: var(--a1-navy);
}

/* Service-page Get a quote band (homepage keeps original #contact layout) */
.a1-quote-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.65rem;
}

.a1-quote-band-head h2 {
  margin: 0;
  flex: 1 1 auto;
}

.a1-quote-band-call {
  margin-left: auto;
  flex: 0 0 auto;
}

.a1-quote-band-experts {
  margin: 0 0 1.5rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

.a1-quote-band-experts a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.a1-quote-band-form {
  max-width: 34rem;
  margin: 0 auto;
}

.a1-quote-band-form .a1-form {
  width: 100%;
}

/* Inner pages */
.a1-wrap-narrow {
  max-width: 42rem;
}

.a1-stub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.a1-page .a1-btn-ghost {
  background: transparent;
  color: var(--a1-navy);
  border: 2px solid var(--a1-navy);
}

.a1-page .a1-btn-ghost:hover {
  background: var(--a1-navy);
  color: var(--a1-white);
}

.a1-page h1 {
  margin: 0 0 1.25rem;
  color: var(--a1-navy);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
}

.a1-page-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-page-body p {
  margin: 0 0 1rem;
}

.a1-page-body a {
  color: var(--a1-green-deep);
  font-weight: 600;
}

.a1-legal h2 {
  margin: 1.75rem 0 0.75rem;
  color: var(--a1-navy);
  font-size: 1.25rem;
}

.a1-legal p,
.a1-legal li {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.a1-legal p {
  margin: 0 0 1rem;
}

.a1-legal-updated {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #666;
}

.a1-legal-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.2rem;
}

.a1-legal-list li {
  margin: 0.35rem 0;
}

.a1-legal a {
  color: var(--a1-green-deep);
  font-weight: 600;
}

/* Footer */
.a1-footer {
  background: var(--a1-charcoal);
  color: #ccc;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}

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

.a1-footer a:hover {
  text-decoration: underline;
}

.a1-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.a1-footer-col strong {
  display: block;
  color: var(--a1-white);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.a1-footer-place {
  margin: 0 0 0.65rem;
}

.a1-footer-quote {
  font-weight: 700;
}

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

.a1-footer-list li {
  margin: 0 0 0.4rem;
}

.a1-footer-list a {
  color: #ddd;
  font-size: 0.92rem;
}

.a1-footer-list a:hover {
  color: var(--a1-green);
}

@media (max-width: 900px) {
  .a1-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .a1-footer-grid {
    grid-template-columns: 1fr;
  }
}

.a1-credit {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.a1-credit a {
  color: var(--a1-white);
  text-decoration: underline;
}

/* Modal */
.a1-modal[hidden] {
  display: none;
}

.a1-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 71, 133, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.a1-modal-box {
  position: relative;
  background: var(--a1-white);
  color: var(--a1-charcoal);
  max-width: 38rem;
  width: 100%;
  border-radius: 0.45rem;
  padding: 2rem 1.75rem 1.6rem;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.a1-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--a1-green), var(--a1-navy));
  border-radius: 0.45rem 0.45rem 0 0;
}

.a1-modal-mark {
  margin: 0 0 0.35rem;
  font-size: 3.5rem;
  line-height: 0.75;
  color: var(--a1-green-deep);
  font-weight: 700;
}

.a1-modal-body {
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.a1-modal-body mark {
  background: rgba(122, 193, 66, 0.28);
  color: var(--a1-navy);
  font-weight: 700;
  padding: 0 0.12em;
  border-radius: 0.15em;
}

.a1-modal-signoff {
  margin: 0 0 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 71, 133, 0.15);
  font-weight: 700;
  font-style: italic;
  color: var(--a1-navy);
  font-size: 1rem;
}

.a1-modal-close {
  margin-top: 0;
}
