/* Running Hot Plumbing Co. Brand colours and font from the Tradie Packs brand guidelines. */
:root {
  --red: #ce0b1c;
  --red-dark: #a50916;
  --black: #000000;
  --ink: #1a1a1a;
  --grey: #4a4a4a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --soft: #f6f6f6;
  --white: #ffffff;
  --max: 1160px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .65, .3, 1);
  --shadow: 0 12px 32px rgba(0, 0, 0, .10);
  --header-h: 88px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

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

a { color: var(--red); }

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--black);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
.h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Small red label above headings, with a short red line before it */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 8px 20px rgba(206, 11, 28, .25); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--white); color: var(--black); border-color: var(--white); box-shadow: none; }
.btn-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: none; }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover, .btn-white:focus-visible { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Text link with an arrow that nudges on hover */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span, a:hover .link-arrow span { transform: translateX(4px); }

/* ---------- Header: slim bar, logo left, links right, call button ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.is-scrolled .header-inner { height: 68px; }
.brand { flex: none; }
.brand img { width: 220px; transition: width .3s var(--ease); }
.is-scrolled .brand img { width: 180px; }
.brand .logo-on-red { display: none; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav li a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav li a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav li a:hover::after, .nav li a:focus-visible::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
.nav li a[aria-current="page"] { color: var(--red); }
.nav .menu-extra { display: none; }

.btn-call { padding: 12px 20px; font-size: 1rem; flex: none; }
.btn-call:hover svg { animation: ring .4s ease-in-out 1; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--black);
  transition: transform .25s var(--ease), opacity .25s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Red header option: same layout on brand red */
.header-red .site-header { background: var(--red); border-bottom-color: rgba(0, 0, 0, .15); }
.header-red .brand .logo-on-white { display: none; }
.header-red .brand .logo-on-red { display: block; }
.header-red .nav li a { color: var(--white); }
.header-red .nav li a::after { background: var(--white); }
.header-red .nav li a[aria-current="page"] { color: var(--white); }
.header-red .btn-call { background: var(--white); color: var(--red); border-color: var(--white); }
.header-red .btn-call:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.header-red .menu-toggle span { background: var(--white); }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 12px; }
  .is-scrolled .header-inner { height: 64px; }
  .brand img, .is-scrolled .brand img { width: 160px; }
  .btn-call { margin-left: auto; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .btn-call span { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: var(--header-h);
    background: var(--white);
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .menu-open .nav li { opacity: 1; transform: none; }
  .menu-open .nav li:nth-child(2) { transition-delay: 40ms; }
  .menu-open .nav li:nth-child(3) { transition-delay: 80ms; }
  .menu-open .nav li:nth-child(4) { transition-delay: 120ms; }
  .menu-open .nav li:nth-child(5) { transition-delay: 160ms; }
  .menu-open .nav li:nth-child(6) { transition-delay: 200ms; }
  .nav li a { font-size: 1.5rem; letter-spacing: 0; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--black); }
  .nav li a::after { display: none; }
  .nav .menu-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .nav .menu-extra .btn { width: 100%; }
  .menu-open { overflow: hidden; }
  .header-red .nav li a { color: var(--black); }
  .header-red .nav li a[aria-current="page"] { color: var(--red); }
}

/* ---------- Home hero: headline left, real photo right ---------- */
.hero-split { padding: 72px 0 88px; overflow: hidden; }
.hero-split .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  min-height: min(calc(100vh - var(--header-h) - 160px), 620px);
}
.hero-split h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: .4em; }
.hero-intro { font-size: 1.3rem; color: #333; margin: 0; }
.hero-split .btn-row { margin-top: 2em; }
.hero-trust {
  margin: 28px 0 0;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-trust span { color: var(--red); margin: 0 8px; }
.no-trust .hero-trust { display: none; }
.hero-media { position: relative; margin: 0 24px 24px 0; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--red);
  z-index: 0;
}
.hero-media .frame { position: relative; z-index: 1; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-media figcaption {
  position: absolute;
  z-index: 2;
  left: -20px;
  bottom: 28px;
  background: var(--white);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .9rem;
  font-weight: 500;
}
@media (max-width: 860px) {
  .hero-split { padding: 24px 0 64px; }
  .hero-split .wrap { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-media { order: -1; margin: 0 16px 16px 0; }
  .hero-media::before { inset: 16px -16px -16px 16px; }
  .hero-media .frame { aspect-ratio: 3 / 2; max-height: 42vh; width: 100%; }
  .hero-media figcaption { left: 12px; bottom: 12px; }
}

/* Inner page tops: left-aligned and easy to read */
.page-hero { background: var(--soft); padding: 72px 0 56px; }
.page-hero .wrap > * { max-width: 44em; }
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero p { color: #333; font-size: 1.2rem; margin: 0; }
@media (max-width: 860px) { .page-hero { padding: 48px 0 40px; } }
/* Page top with a photo on the right */
.page-hero-split .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero-split .wrap > * { max-width: none; }
.page-hero-media { position: relative; margin: 0 20px 20px 0; }
.page-hero-media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; background: var(--red); }
.page-hero-media img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
@media (max-width: 860px) {
  .page-hero-split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media { order: -1; margin: 0 14px 14px 0; }
  .page-hero-media::before { inset: 14px -14px -14px 14px; }
}

/* Services: row of jump buttons that stays under the header */
.chip-nav { position: sticky; top: 68px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.chip-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.chip-nav .wrap::-webkit-scrollbar { display: none; }
.chip-nav a {
  flex: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip-nav a:hover { border-color: var(--red); color: var(--red); }
.chip-nav a.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
@media (max-width: 1023px) { .chip-nav { top: 64px; } }
.service .link-arrow { margin-top: 14px; }
.service .link-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.service .link-row .link-arrow { margin-top: 4px; }

/* Service pages: breadcrumb trail and links to the other services */
.breadcrumb { margin-bottom: 18px; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--ink); }
.chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-list a {
  padding: 10px 18px;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip-list a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.service { scroll-margin-top: 150px; }

/* ---------- Sections and rhythm ---------- */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--black); color: #d6d6d6; padding: 120px 0; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 40em; margin: 0 auto 48px; text-align: center; }
@media (max-width: 860px) { .section, .section-dark { padding: 64px 0; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media-first { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split, .split-media-first { grid-template-columns: 1fr; gap: 32px; } }

/* Photos, with a slow zoom on hover */
.photo { width: 100%; object-fit: cover; border-radius: 2px; }
.split .photo { aspect-ratio: 4 / 3; }
.card-media { overflow: hidden; border-radius: 2px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a:hover .card-media img, .service:hover .card-media img, .card-media:hover img { transform: scale(1.05); }

/* Home services grid: photo cards that lift on hover */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: block;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .card-media { aspect-ratio: 3 / 2; }
.service-card .card-body { padding: 20px 20px 24px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .6em; }
.section-cta { text-align: center; margin-top: 48px; }
@media (max-width: 960px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-cards { grid-template-columns: 1fr; } }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}
.ticks-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin-top: 28px; }
.section-dark .ticks li { color: var(--white); }
@media (max-width: 560px) { .ticks-2col { grid-template-columns: 1fr; } }

/* Number counters */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid #333; }
.counter { padding: 24px 16px 0 0; }
.counter + .counter { padding-left: 20px; border-left: 1px solid #333; }
.counter-num { display: block; font-size: 3rem; font-weight: 500; line-height: 1; color: var(--white); }
.counter-label { display: block; margin-top: 8px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #a8a8a8; }
@media (max-width: 560px) { .counter-num { font-size: 2.2rem; } .counter + .counter { padding-left: 12px; } }

/* How it works: numbered steps joined by a red line */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps::before {
  content: "";
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  display: inline-block;
  position: relative;
  padding-right: 16px;
  background: var(--white);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--grey); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 28px; }
  .steps::before { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .steps.is-visible::before { transform: scaleY(1); }
  .step-num { font-size: 2rem; margin-bottom: 8px; padding-right: 0; }
}

/* Review prompt */
.quote-mark { width: 64px; height: 64px; fill: var(--red); margin: 0 auto 16px; }
.review-band { text-align: center; max-width: 40em; margin: 0 auto; }
.review-band .btn-row { justify-content: center; align-items: center; gap: 20px; }

/* Suburb tags with a pin icon */
.area-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #ddd; border-radius: 4px; padding: 7px 14px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.area-list li::before {
  content: "";
  width: 10px; height: 10px;
  border: 2px solid var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.area-list li:hover { border-color: var(--red); color: var(--red); }

/* FAQs */
.faq-list { max-width: 820px; }
.faq-group { margin: 48px 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.faq-group:first-child { margin-top: 0; }
.faq { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq h3 { margin-bottom: 0.4em; }
.faq p { margin: 0; color: var(--grey); }
/* FAQ page: topics pinned on the left, questions on the right */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.faq-topics { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.faq-topics a { padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; transition: color .2s, border-color .2s; }
.faq-topics a:hover, .faq-topics a.is-active { color: var(--red); border-left-color: var(--red); }
.faq-group { scroll-margin-top: 100px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-topics { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } .faq-topics .eyebrow { width: 100%; } .faq-topics a { border: 1px solid #ddd; border-radius: 999px; padding: 6px 14px; } }

/* Home: questions open and close */
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: 1.2rem; font-weight: 500; color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.8rem; font-weight: 300; line-height: 1; color: var(--red);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--grey); max-width: 46em; }

/* ---------- Red call to action band with a slowly drifting running man ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: -20%; right: -6%;
  width: 46%; height: 140%;
  background: url("../images/symbol-black.png") no-repeat center / contain;
  opacity: .12;
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-24px); } }
.cta .wrap { position: relative; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, .9); }
.cta a { color: var(--white); }
.cta .btn-row { justify-content: center; }
.cta .btn { background: var(--white); color: var(--red); border-color: var(--white); }
.cta .btn:hover { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: none; }
.cta .btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.cta .btn-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* Services page */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.service .photo { aspect-ratio: 4 / 3; margin-bottom: 18px; transition: transform .6s var(--ease); }
.service .photo-wrap { overflow: hidden; border-radius: 2px; margin-bottom: 18px; }
.service .photo-wrap .photo { margin: 0; }
.service:hover .photo-wrap .photo { transform: scale(1.05); }
.service h2 { margin-bottom: 0.4em; }
.service p { color: var(--grey); margin: 0; }
@media (max-width: 960px) { .service-grid { gap: 36px 20px; } }
@media (max-width: 680px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Cards (About) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.card { background: var(--white); padding: 24px; border: 1px solid var(--line); border-radius: 2px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--grey); }

/* About */
.dark-card { background: var(--black); color: var(--white); padding: 40px; border-radius: 2px; }
.dark-card-num { display: block; font-size: 4rem; font-weight: 500; line-height: 1; color: var(--white); }
.dark-card .counter-label { margin-bottom: 28px; }
.dark-card .ticks li { color: var(--white); }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { position: relative; background: var(--white); padding: 32px 28px; border-radius: 2px; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.value-card.is-visible::before { transform: scaleX(1); }
.value-card .step-num { background: none; padding: 0; }
.value-card p { color: var(--grey); margin: 0; }
.cred-big { font-size: 1.6rem; font-weight: 500; color: var(--black) !important; margin-bottom: 4px !important; }
.credential-row .card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.credential-row .mpsa-feature { height: 80px; margin-top: 4px; }
@media (max-width: 860px) { .value-cards { grid-template-columns: 1fr; } .dark-card { padding: 28px; } }

/* Reviews page */
.review-empty {
  text-align: center;
  max-width: 40em;
  margin: 0 auto;
  padding: 48px 32px;
  border-top: 4px solid var(--red);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { margin-bottom: 18px; }
.contact-list .label { display: block; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-list a { font-size: 1.3rem; font-weight: 500; text-decoration: none; }

.contact-split { align-items: start; }
.contact-split h2.h3 { margin-top: 1.4em; }
.contact-tiles { display: grid; gap: 12px; }
.contact-tile {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--black);
  text-decoration: none;
  font-size: 1.2rem; font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red); }
.contact-tile svg { width: 28px; height: 28px; fill: var(--red); flex: none; }
.contact-tile .label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form { background: var(--white); padding: 40px; border-top: 4px solid var(--red); box-shadow: 0 12px 40px rgba(0, 0, 0, .08); }
.form label { display: block; font-weight: 500; margin: 0 0 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea {
  width: 100%;
  padding: 14px;
  font: 300 1rem "Barlow", Arial, sans-serif;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(206, 11, 28, .15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { width: 100%; }
.form .req { color: var(--red); }
.form .hidden { position: absolute; left: -9999px; }
.form-note { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 560px) { .form { padding: 28px 20px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #cfcfcf;
  padding: 64px 0 28px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--white); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px; transition: background-size .3s var(--ease); }
.site-footer a:hover { background-size: 100% 1px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; }
.mpsa-box { display: inline-flex; align-items: center; gap: 18px; background: var(--white); padding: 10px 16px; border-radius: 4px; margin-top: 18px; }
.mpsa { height: 64px; width: auto; }
.mpsa-feature { height: 110px; width: auto; margin-top: 12px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { width: 220px; margin-bottom: 16px; }
.social { display: flex; gap: 14px; margin-top: 14px; }
.site-footer .social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #555; border-radius: 50%; background: none; transition: background-color .2s, border-color .2s; }
.site-footer .social a:hover { border-color: var(--red); background: var(--red); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base {
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: #9a9a9a;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Phones: call and enquire bar fixed to the bottom ---------- */
.mobile-callbar { display: none; }
@media (max-width: 767px) {
  .mobile-callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--black);
    transform: translateY(100%);
    transition: transform .3s var(--ease);
  }
  .mobile-callbar.is-shown { transform: none; }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 60px;
    color: var(--white); text-decoration: none; font-weight: 500; font-size: 1.05rem;
  }
  .mobile-callbar a:first-child { background: var(--red); }
  .mobile-callbar svg { width: 18px; height: 18px; fill: currentColor; }
  body.has-callbar { padding-bottom: 60px; }
}

/* ---------- Movement: sections glide in as you scroll ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .reveal-left { transform: translateX(-32px); }
html.js .reveal-right { transform: translateX(32px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero photo wipes in from the right when the page loads */
html.js .hero-media .frame { clip-path: inset(0 0 0 100%); animation: wipe 1.1s cubic-bezier(.77, 0, .18, 1) .2s forwards; }
html.js .hero-media img { transform: scale(1.08); animation: settle 1.6s var(--ease) .2s forwards; }
html.js .hero-media::before { opacity: 0; animation: fade .6s var(--ease) 1s forwards; }
@keyframes wipe { to { clip-path: inset(0); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .hero-media .frame { clip-path: none; }
  html.js .hero-media img { transform: none; }
  html.js .hero-media::before { opacity: 1; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
