/*
Theme Name: DARK Plumbing & Gas
Theme URI: https://darkplumbing.com.au
Author: DARK Plumbing & Gas
Description: Custom theme for darkplumbing.com.au. Content is edited in WordPress; the design is fixed. Ported from the Next.js build on 20 Oct 2026.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: dark
*/

/* ————————————————————————————————————————————————
   DARK Plumbing & Gas — royal blue, deep indigo, sunshine yellow.
   Bold, friendly Gold Coast trade site.
   ———————————————————————————————————————————————— */

:root {
  /* DARK premium: near-black night + metallic gold */
  --indigo: #14141b; /* night */
  --indigo-deep: #0c0c11;
  --royal: #b3873b; /* bronze gold */
  --royal-deep: #8e6a28;
  --yellow: #e8c766; /* bright gold */
  --yellow-deep: #caa33f;
  --red: #0f0f14;
  --white: #ffffff;
  --paper: #f5f3ed;
  --text: #2e2d33;
  --text-soft: #5d5b64;
  --line: #e4ddce;
  --gold-grad: linear-gradient(135deg, #f4dc92 0%, #d9b254 45%, #b3873b 100%);

  --radius-xl: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(12, 12, 20, 0.18);
  --shadow-sm: 0 8px 24px rgba(12, 12, 20, 0.12);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-archivo, system-ui), system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--indigo);
  color: var(--white);
}

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

::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: var(--royal);
  border: 2px solid var(--paper);
  border-radius: 8px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p a,
.seo-card a,
.why a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

[id] {
  scroll-margin-top: 110px;
}

/* ————— type ————— */

.disp {
  font-variation-settings: "wdth" 125;
  font-weight: 860;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--indigo);
  text-wrap: balance;
}

.on-dark .disp,
.disp--white {
  color: var(--white);
}

.kick {
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--yellow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* ————— layout ————— */

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

.sec {
  padding-block: clamp(56px, 8vw, 104px);
}

.sec--indigo {
  background: var(--indigo);
  color: var(--white);
}

.sec--paper {
  background: var(--paper);
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

/* decorative swoosh stroke */
.swoosh {
  position: absolute;
  pointer-events: none;
}

/* ————— skip ————— */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--indigo);
  color: var(--white);
  padding: 0.8rem 1.2rem;
}
.skip:focus-visible {
  left: 0;
}

/* ————— buttons ————— */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--gold-grad);
  color: #121212;
  font-weight: 800;
  font-variation-settings: "wdth" 116;
  font-size: 1.02rem;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.6rem 0.55rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(12, 12, 20, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    filter 0.25s var(--ease-out);
}
.pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 14px 30px rgba(12, 12, 20, 0.36);
}
.pill:active {
  transform: translateY(0);
}

.pill-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--indigo);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.pill:hover .pill-arrow {
  transform: translateX(4px);
  background: #000;
}
.pill-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  stroke-width: 2.2;
  fill: none;
}

.pill--on-dark {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

/* ————— topbar ————— */

.topbar {
  background: var(--indigo-deep);
  color: #e8e4d8;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 199, 102, 0.25);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar .stars {
  color: var(--yellow);
  letter-spacing: 0.1em;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.topbar-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--yellow);
  stroke-width: 1.8;
  fill: none;
}

@media (max-width: 760px) {
  .topbar .hide-m {
    display: none;
  }
}

/* ————— header ————— */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(43, 42, 114, 0.08);
}

.masthead-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.masthead-logo {
  display: flex;
  align-items: center;
}
.masthead-logo img {
  width: auto;
  height: 40px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.7rem);
}
.masthead-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--indigo);
  padding: 0.4rem 0.1rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.masthead-nav a:hover {
  border-bottom-color: var(--yellow);
  color: var(--royal-deep);
}

.callbox {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--gold-grad);
  color: #121212;
  padding: 0.6rem clamp(0.9rem, 2vw, 1.6rem);
  margin-right: calc(var(--gutter) * -1);
  padding-right: var(--gutter);
}
.callbox-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--indigo);
  display: grid;
  place-items: center;
  flex: none;
}
.callbox-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  stroke-width: 1.8;
  fill: none;
}
.callbox small {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.callbox b {
  display: block;
  font-weight: 860;
  font-variation-settings: "wdth" 118;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.1;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .masthead-nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .callbox small {
    display: none;
  }
}

/* ————— hero ————— */

.hero {
  position: relative;
  background: linear-gradient(175deg, var(--indigo) 0%, #2d3f94 45%, var(--royal) 125%);
  color: var(--white);
  text-align: center;
  padding-top: clamp(80px, 11vw, 150px);
  padding-bottom: clamp(150px, 17vw, 210px);
  overflow: clip;
}

.hero-bg {
  object-fit: cover;
  object-position: 50% 55%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 14, 0.82) 0%,
    rgba(10, 10, 18, 0.48) 45%,
    rgba(8, 8, 12, 0.7) 100%
  );
}

.hero-inner {
  text-shadow: 0 2px 24px rgba(20, 20, 60, 0.45);
}
.hero-inner .pill {
  text-shadow: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-top: 0.6rem;
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 62ch;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.hero-cta {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  justify-content: center;
}

/* rotating badge */
.badge24 {
  position: absolute;
  top: clamp(90px, 12vw, 150px);
  right: clamp(12px, 6vw, 110px);
  width: clamp(110px, 14vw, 190px);
  aspect-ratio: 1;
  z-index: 3;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}
.badge24-core {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: var(--gold-grad);
  border: 4px solid #0c0c11;
  display: grid;
  place-items: center;
  text-align: center;
  color: #121212;
}
.badge24-core b {
  display: block;
  font-weight: 860;
  font-variation-settings: "wdth" 118;
  font-size: clamp(0.82rem, 1.5vw, 1.45rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
}
.badge24-core span {
  display: block;
  margin-top: 0.15em;
  font-weight: 800;
  font-size: clamp(0.42rem, 0.75vw, 0.68rem);
  letter-spacing: 0.14em;
}
.badge24-ring {
  position: absolute;
  inset: 0;
  animation: spin 14s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .badge24-ring {
    animation: none;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.badge24-ring text {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2.2px;
  fill: var(--yellow);
}
.badge24-ring .ringbg {
  fill: #0c0c11;
  stroke: rgba(232, 199, 102, 0.5);
  stroke-width: 1;
}

@media (max-width: 900px) {
  .badge24 {
    top: auto;
    bottom: 70px;
    right: 14px;
  }
}

/* ————— service tabs ————— */

.tabs-band {
  position: relative;
  z-index: 4;
  margin-top: clamp(-110px, -8vw, -80px);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1vw, 16px);
  align-items: end;
}
.tab {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 1.1rem 0.8rem 1.2rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  color: var(--indigo);
  font-size: clamp(0.78rem, 1vw, 0.98rem);
  white-space: nowrap;
  box-shadow: 0 -10px 30px rgba(20, 24, 70, 0.18);
  transition: transform 0.25s var(--ease-out);
}
.tab:hover {
  transform: translateY(-6px);
}
.tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(232, 199, 102, 0.5);
}
.tab-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--yellow);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 980px) {
  .tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tab {
    border-radius: 14px;
    white-space: normal;
    min-height: 74px;
  }
  .tabs .tab:last-child {
    grid-column: 1 / -1;
  }
  .tabs-band {
    margin-top: -60px;
  }
}

/* ————— trust medals ————— */

.trust-band {
  background: radial-gradient(120% 140% at 50% 0%, #1b1b25 0%, var(--indigo-deep) 60%);
  color: var(--white);
  padding-block: clamp(56px, 7vw, 92px);
  border-top: 1px solid rgba(232, 199, 102, 0.25);
  border-bottom: 1px solid rgba(232, 199, 102, 0.25);
}

.trust-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.trust-head .disp {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  color: var(--white);
}
.trust-head p {
  margin-top: 0.7rem;
  color: #b9b4a3;
  font-weight: 600;
}

.medals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  justify-items: center;
}

.medal {
  width: clamp(160px, 16vw, 215px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 7px;
  background: conic-gradient(
    from 210deg,
    #8e6a28,
    #f4dc92 18%,
    #b3873b 38%,
    #f0d27a 58%,
    #8e6a28 78%,
    #d9b254 100%
  );
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 199, 102, 0.3);
  display: block;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
a.medal:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 199, 102, 0.5);
}

.medal-in {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(130% 130% at 30% 20%, #23232e 0%, #101016 55%);
  border: 1px solid rgba(232, 199, 102, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.15rem;
  padding: 1rem;
  position: relative;
}

.medal-laurel {
  position: absolute;
  top: 2%;
  left: -7%;
  width: 114%;
  height: 96%;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.5;
  opacity: 0.4;
}

.medal-value,
.medal-label,
.medal-sub {
  position: relative;
  z-index: 1;
}
.medal-label,
.medal-sub {
  max-width: 76%;
}

.medal-value {
  font-variation-settings: "wdth" 110;
  font-weight: 860;
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.medal-value .star {
  font-size: 0.7em;
}

.medal-label {
  font-weight: 800;
  font-size: clamp(0.62rem, 0.85vw, 0.78rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.35;
}

.medal-sub {
  font-weight: 600;
  font-size: clamp(0.56rem, 0.75vw, 0.68rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9a492;
}

@media (max-width: 920px) {
  .medals {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }
  .medal {
    width: clamp(150px, 38vw, 200px);
  }
}

/* ————— split sections ————— */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split--rev > :first-child {
  order: 2;
}

.split h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.split .body p {
  margin-top: 1rem;
  color: var(--text);
}
.on-dark .split .body p,
.sec--indigo p {
  color: #d9ddf2;
}

.split .pill {
  margin-top: 1.6rem;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--rev > :first-child {
    order: 0;
  }
  .photo-frame {
    max-width: 560px;
  }
}

/* ————— white curved card over indigo ————— */

.curve-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow);
}

/* ————— wide photo band ————— */

.band-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-bottom: 10px solid var(--royal);
}
.band-photo img {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
  object-position: 50% 30%;
}

/* ————— seo text card ————— */

.seo-card h2,
.seo-card h3 {
  font-variation-settings: "wdth" 122;
  font-weight: 860;
  color: var(--indigo);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  margin-top: 1.8em;
}
.seo-card h2:first-child,
.seo-card h3:first-child {
  margin-top: 0;
}
.seo-card p {
  margin-top: 0.9rem;
}
.seo-card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.seo-card li::marker {
  color: var(--royal);
}

/* ————— why checks ————— */

.checks {
  list-style: none;
  padding: 0;
  margin-top: 1.6rem;
}
.checks li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
}
.checks svg {
  width: 22px;
  height: 22px;
  stroke: var(--yellow);
  stroke-width: 2;
  fill: none;
  flex: none;
  margin-top: 2px;
}

/* ————— reviews ————— */

.rev-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.rev-head .disp {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}
.rev-score {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--text-soft);
}
.rev-score .stars {
  color: var(--yellow-deep);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.rev-slider {
  position: relative;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
.rev-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 6px 18px;
  margin: -6px;
}
.rev-track::-webkit-scrollbar {
  display: none;
}
.rev-card {
  flex: 0 0 clamp(270px, 31%, 410px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.rev-stars {
  display: flex;
  gap: 0.25rem;
}
.rev-stars svg {
  width: 17px;
  height: 17px;
  fill: var(--yellow-deep);
}
.rev-card blockquote {
  font-weight: 800;
  font-variation-settings: "wdth" 110;
  color: var(--indigo);
  font-size: 1.1rem;
  line-height: 1.3;
}
.rev-detail {
  font-size: 0.93rem;
  color: var(--text-soft);
  flex: 1;
}
.rev-card footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  font-size: 0.88rem;
}
.rev-card footer b {
  color: var(--indigo);
}
.rev-card footer a {
  color: var(--royal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.rev-card--more {
  background: var(--indigo);
  color: var(--white);
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}
.rev-more-num {
  font-weight: 860;
  font-variation-settings: "wdth" 122;
  font-size: 3rem;
  line-height: 1;
}
.rev-card--more p:not(.rev-more-num) {
  color: #d9ddf2;
  font-size: 0.95rem;
}
.rev-card--more .pill {
  margin-top: 0.8rem;
}
.rev-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.6rem;
}
.rev-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--royal);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.rev-nav button:hover {
  background: var(--indigo);
  transform: translateY(-2px);
}
.rev-nav svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* ————— area map ————— */

.area-map {
  height: clamp(340px, 46vw, 480px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 0;
  position: relative;
}
.area-map .leaflet-tooltip {
  font-family: inherit;
  font-weight: 700;
  color: var(--indigo);
}

.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.area-chip {
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}
.area-chip--soft {
  background: transparent;
  box-shadow: none;
  border: 2px dashed var(--royal);
  color: var(--royal-deep);
}

/* ————— contact ————— */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.contact-copy p {
  margin-top: 1rem;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  font-weight: 860;
  font-variation-settings: "wdth" 120;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--indigo);
}
.contact-phone .callbox-icon {
  width: 54px;
  height: 54px;
}
.contact-meta {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text-soft);
}
.contact-meta b {
  color: var(--indigo);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3.5vw, 44px);
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ————— form ————— */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field--wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--indigo);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232e81c4' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}
.field textarea {
  resize: vertical;
  min-height: 104px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9aa6bd;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(46, 129, 196, 0.18);
}
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.3rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 38ch;
}
.form-msg {
  grid-column: 1 / -1;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.form-msg--ok {
  background: var(--indigo);
  color: var(--white);
}
.form-msg--err {
  border: 2px solid var(--red);
  color: var(--red);
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field--wide {
    grid-column: auto;
  }
}

/* ————— footer ————— */

.footer {
  background: var(--paper);
  padding-top: clamp(48px, 7vw, 84px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(32px, 5vw, 56px);
}
.footer-brand img {
  width: min(240px, 60vw);
  height: auto;
}
.footer-brand p {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--indigo);
  font-style: italic;
}
.footer h4 {
  font-variation-settings: "wdth" 120;
  font-weight: 860;
  color: var(--indigo);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-soft);
}
.footer ul a:hover {
  color: var(--royal-deep);
  text-decoration: underline;
}
.footer .f-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer .f-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--royal);
  stroke-width: 1.9;
  fill: none;
  flex: none;
  margin-top: 3px;
}
.licence-box {
  border: 2px solid var(--royal);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  background: var(--white);
}
.licence-box ul {
  gap: 0.65rem;
}
.licence-box .f-item svg {
  stroke: var(--royal);
}
.footer-wave {
  display: block;
  width: 100%;
  height: 54px;
  fill: var(--royal);
}
.footer-base {
  background: var(--royal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-base .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem;
}
@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ————— sticky mobile bar ————— */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  box-shadow: 0 -6px 24px rgba(43, 42, 114, 0.16);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar.on {
  transform: translateY(0);
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--indigo);
}
.sticky-bar a:first-child {
  background: var(--yellow);
}
.sticky-bar a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
@media (max-width: 1080px) {
  .sticky-bar {
    display: grid;
  }
  body {
    scroll-padding-bottom: 60px;
  }
}

/* ————————————————————————————————————————————————
   Service pages (/services/[slug])
   Reuses the night + gold vocabulary from the home page: dark bands for the
   hero and the enquiry block, paper for the reading column in between.
   ———————————————————————————————————————————————— */

.svc-head {
  background: var(--indigo);
  color: var(--white);
  padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.svc-head .disp {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-top: 0.6rem;
}
.svc-head .lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 62ch;
  margin-top: 1.1rem;
}

.crumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.4rem;
}
.crumbs a {
  color: var(--yellow);
}
.crumbs [aria-current] {
  color: rgba(255, 255, 255, 0.82);
}

.svc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.pill--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.38);
}
.pill--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--yellow);
  color: var(--yellow);
}

.svc-trust {
  list-style: none;
  padding: 0;
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem 1.6rem;
}
.svc-trust li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.svc-trust svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
}

/* Lift the photo over the seam between the dark hero and the paper body. */
.svc-photo {
  background: linear-gradient(
    to bottom,
    var(--indigo) 0%,
    var(--indigo) 50%,
    var(--paper) 50%,
    var(--paper) 100%
  );
}
.svc-photo .photo-frame {
  max-height: 420px;
}

.svc-body {
  background: var(--paper);
  padding-block: clamp(48px, 7vw, 88px);
}
.svc-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.svc-main h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-top: 2.8rem;
}
.svc-main h2:first-child {
  margin-top: 0;
}
.svc-main p {
  margin-top: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.svc-main a:not(.pill) {
  color: var(--royal-deep);
  text-decoration: underline;
}

/* .checks is authored for dark bands; on paper it needs its own rules. */
.svc-main .checks li {
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.55;
}
.svc-main .checks li:last-child {
  border-bottom: none;
}
.svc-main .checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--royal);
  stroke-width: 2;
}

.svc-step {
  margin-top: 1.9rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--yellow);
}
.svc-step h3 {
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  font-size: 1.12rem;
  color: var(--indigo);
}

.faqs {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding-block: 1.05rem;
  font-weight: 800;
  font-variation-settings: "wdth" 110;
  color: var(--indigo);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--royal);
  flex: none;
}
.faq[open] summary::after {
  content: "–";
}
.faq p {
  padding-bottom: 1.2rem;
  margin-top: 0;
  color: var(--text-soft);
}

.svc-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.2rem;
}
.svc-card {
  padding: 1.6rem;
}
.svc-card h3 {
  font-weight: 860;
  font-variation-settings: "wdth" 118;
  font-size: 1.15rem;
  color: var(--indigo);
}
.svc-card p {
  margin-top: 0.7rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.svc-card .pill {
  margin-top: 1.1rem;
}
.svc-card .form-note {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}
/* Prose links only. The call button is a .pill and the service list is
   .svc-links; both carry their own styling and must not be underlined. */
.svc-card p a {
  color: var(--royal-deep);
  text-decoration: underline;
}
.svc-links {
  list-style: none;
  padding: 0;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.1rem;
}
.svc-links li {
  border-bottom: 1px solid var(--line);
}
.svc-links li:last-child {
  border-bottom: none;
}
.svc-links a {
  display: block;
  padding-block: 0.7rem;
  font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
}
.svc-links a:hover {
  color: var(--royal-deep);
}

.svc-enquire {
  background: var(--indigo);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 88px);
}
.svc-enquire .disp {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
.svc-enquire .lead {
  color: rgba(255, 255, 255, 0.84);
  margin-top: 0.9rem;
  max-width: 56ch;
}
.svc-enquire .lead a {
  color: var(--yellow);
}
.svc-enquire .form-card {
  margin-top: 2rem;
  max-width: 760px;
}

@media (max-width: 1000px) {
  .svc-cols {
    grid-template-columns: 1fr;
  }
  .svc-aside {
    position: static;
  }
}

/* ————————————————————————————————————————————————
   Header navigation: Services dropdown (desktop) + disclosure menu (mobile)
   Both are plain HTML, so they open before hydration and without JS.
   ———————————————————————————————————————————————— */

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-drop-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.caret {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: transform 0.2s var(--ease-out);
}
.nav-drop:hover .caret,
.nav-drop:focus-within .caret {
  transform: rotate(180deg);
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  min-width: 248px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: grid;
  /* Hidden without display:none, so it can animate and stay focusable. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out),
    visibility 0.18s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-menu a {
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border-bottom: none;
  white-space: nowrap;
}
.nav-drop-menu a:hover {
  background: var(--paper);
  color: var(--royal-deep);
  border-bottom: none;
}

/* ————— mobile disclosure ————— */

.nav-mobile {
  display: none;
  align-items: center;
}
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
}
.nav-mobile > summary::-webkit-details-marker {
  display: none;
}
.nav-burger {
  display: grid;
  gap: 4px;
  width: 20px;
}
.nav-burger i {
  display: block;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}
.nav-mobile[open] > summary {
  background: var(--indigo);
}
.nav-mobile[open] .nav-burger i {
  background: var(--white);
}

.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem var(--gutter) 1.6rem;
  display: grid;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
}
.nav-mobile-panel a {
  padding: 0.85rem 0;
  font-weight: 700;
  color: var(--indigo);
  border-bottom: 1px solid var(--line);
}
.nav-mobile-panel a:last-child {
  border-bottom: none;
}
.nav-mobile-head {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
  margin-top: 1rem;
}
.nav-mobile-head:first-child {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .nav-mobile {
    display: flex;
  }
}

/* 404 service list */
.nf-links {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}
.nf-links a {
  display: block;
  padding: 1rem 1.2rem;
  font-weight: 700;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--indigo);
}
.nf-links a:hover {
  box-shadow: var(--shadow);
  color: var(--royal-deep);
}

/* ————————————————————————————————————————————————
   WordPress port additions. Everything above is the original stylesheet,
   unchanged. These rules replace behaviour next/image and React provided.
   ———————————————————————————————————————————————— */

/* next/image "fill" positioned the hero photo; plain <img> needs it spelled out. */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Variable font via Google Fonts instead of next/font. */
:root {
  --font-archivo: "Archivo", system-ui, sans-serif;
}

/* Tabular digits for the big review number. */
.figures {
  font-variant-numeric: tabular-nums;
}

/* Logged-in admin bar sits above the sticky header. */
.admin-bar .masthead {
  top: var(--wp-admin--admin-bar--height, 32px);
}

/* WordPress core expects these to exist. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }

/* Generic page template (Privacy, Terms, anything new) uses the reading column. */
.page-prose { max-width: 72ch; }
.page-prose h2, .page-prose h3 { margin-top: 1.8em; color: var(--indigo); }
.page-prose p, .page-prose ul, .page-prose ol { margin-top: 1rem; }
