/* =====================================================
   MJR Commercials: shared stylesheet
   ===================================================== */

/* --- Custom properties ----------------------------- */
:root {
  --blue-primary: #1a3a6b;
  --blue-dark:    #0f2347;
  --blue-ticker:  #152f59;
  --red:          #b81e26;
  --white:        #ffffff;
  --grey-light:   #e8edf4;
  --grey-mid:     #b0bac8;
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.16);
  --shadow-soft:  0 4px 18px rgba(15, 35, 71, 0.12);

  --surface:            #f2efe8;
  --surface-elevated:   #faf8f3;
  --ink:                #172336;
  --ink-muted:          #49566b;
  --accent:             var(--red);
  --accent-hover:       #9c1a21;

  --radius-sm: 6px;
  --radius-md: 10px;
  --space-section: clamp(3rem, 6vw, 4.5rem);

  --nav-bar-height: 76px;

  /* Safe areas (needs viewport-fit=cover on meta viewport) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  --font-heading: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Segoe UI', sans-serif;
  --focus-ring:   2px solid var(--white);
  --focus-offset: 3px;
  --focus-ring-ink: 2px solid var(--accent);
}

.label-caps {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Reset ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html {
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.0625rem);
  line-height: 1.7;
  color: var(--white);
  background: var(--blue-dark);
  padding-top: calc(var(--nav-bar-height) + var(--safe-top) + 38px + 12px);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }

/* Keyboard focus (skip mouse-only :focus ring noise) */
.site-nav a.logo:focus-visible,
.nav-links a:focus-visible,
.hamburger:focus-visible,
.hero-cta:focus-visible,
.hero-cta--secondary:focus-visible,
.btn:focus-visible,
.footer-nav a:focus-visible,
.footer-brand a:focus-visible,
.call-banner .cta-number:focus-visible,
.contact-hero .phone-number:focus-visible,
.contact-hero .contact-hero-enquiry:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.section--paper a:focus-visible {
  outline: var(--focus-ring-ink);
  outline-offset: var(--focus-offset);
}

.section--paper .btn:focus-visible {
  outline: var(--focus-ring-ink);
  outline-offset: var(--focus-offset);
}

/* SVG icons (referenced from icons.svg; no emoji) */
svg.svg-ref {
  display: block;
  flex-shrink: 0;
  color: inherit;
}
svg.svg-ref use {
  pointer-events: none;
}

.hero-cta > svg.svg-ref:first-child {
  width: 1.35rem;
  height: 1.35rem;
}
.hero-cta.hero-cta--secondary > svg.svg-ref:first-child {
  width: 1rem;
  height: 1rem;
}

.btn > svg.svg-ref:first-child {
  display: inline-block;
  vertical-align: -0.2em;
  margin-right: 0.38em;
  width: 1.06em;
  height: 1.06em;
}

/* =====================================================
   NAV
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-top: var(--safe-top);
  background: var(--blue-primary);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(1.25rem, var(--safe-right)) 0 max(1.25rem, var(--safe-left));
  height: var(--nav-bar-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 6px;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: none;
  border-radius: var(--radius-sm);
  transition: background 0.18s, box-shadow 0.18s;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
}

/* Hamburger button (44px minimum tap target; bars stay 28×20 inside padding) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: content-box;
  width: 28px;
  height: 20px;
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-primary);
    padding: 0.75rem 0 max(1rem, var(--safe-bottom));
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem max(1.5rem, var(--safe-right)) 0.75rem max(1.5rem, var(--safe-left));
    border-radius: 0;
    font-size: 1rem;
    min-height: 48px;
  }
  body { padding-top: calc(var(--nav-bar-height) + var(--safe-top) + 38px + 4px); }
}

/* =====================================================
   TICKER
   ===================================================== */
.ticker-bar {
  position: fixed;
  top: calc(var(--nav-bar-height) + var(--safe-top));
  left: 0;
  right: 0;
  z-index: 999;
  height: 38px;
  background: var(--blue-ticker);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 56s linear infinite;
}

.ticker-track.is-paused {
  animation-play-state: paused;
}

.ticker-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(176, 186, 200, 0.92);
  padding: 0 2.5rem;
}
.ticker-track span::before {
  content: '•';
  margin-right: 2.5rem;
  color: rgba(176, 186, 200, 0.45);
}
.ticker-track span:first-child::before { display: none; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-bar {
    height: auto;
    min-height: 38px;
    overflow: visible;
    padding: 0.45rem max(0.75rem, var(--safe-right)) 0.45rem max(0.75rem, var(--safe-left));
    align-items: flex-start;
  }
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    gap: 0.25rem 1.75rem;
  }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--blue-dark);
  border-top: 2px solid var(--blue-primary);
  padding: 2.5rem max(1.25rem, var(--safe-right)) max(1.5rem, var(--safe-bottom)) max(1.25rem, var(--safe-left));
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.25rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--grey-mid);
  line-height: 1.55;
}

.footer-seo-note {
  font-size: 0.82rem;
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.footer-seo-note a {
  color: var(--grey-mid);
  font-weight: 500;
}

.footer-seo-note a:hover {
  color: var(--white);
}

.footer-brand a {
  color: var(--grey-light);
  font-weight: 600;
}
.footer-brand a:hover { color: var(--white); text-decoration: underline; }

.footer-nav {
  display: flex;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  list-style: none;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--grey-mid);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  font-size: 0.8rem;
  color: var(--grey-mid);
  text-align: center;
}

/* =====================================================
   UTILITIES / SHARED
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(1.25rem, var(--safe-right)) 0 max(1.25rem, var(--safe-left));
}

.section { padding: var(--space-section) 0; }
.section-alt { background: var(--blue-primary); }

.section--paper {
  background: var(--surface);
  color: var(--ink);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.22;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--grey-mid);
  margin-bottom: 2.5rem;
}

.section--paper .section-heading {
  color: var(--ink);
}

.section--paper .section-sub {
  color: var(--ink-muted);
}

/* Service detail: FAQ block (heading + intro + accordion share one centred column) */
.section:has(.faq-list) .section-heading {
  text-align: center;
}
.section:has(.faq-list) > .container > .section-sub {
  text-align: center;
}

/* Service detail: middle prose band (not “Other services”, which uses .service-related-list) */
.section.section-alt:has(.section-sub):not(:has(.service-related-list)) .section-heading,
.section.section-alt:has(.section-sub):not(:has(.service-related-list)) .section-sub {
  text-align: center;
}

.faq-list {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  text-align: left;
}

.faq-item {
  padding: 0.75rem 0;
  padding-inline-start: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  list-style-position: inside;
}

.faq-item summary::-webkit-details-marker {
  color: var(--grey-mid);
}

.faq-item p {
  margin: 0.85rem 0 0;
  font-size: 0.96rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

.hub-services-intro {
  padding: 2rem 1.25rem 0;
  max-width: 48rem;
  margin: 0 auto;
}

.hub-services-intro p {
  font-size: 1.05rem;
  color: var(--grey-mid);
  line-height: 1.65;
}

.hub-services-intro .text-link-inline {
  color: var(--grey-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hub-services-intro .text-link-inline:hover {
  color: var(--white);
}

.section--paper .hub-services-intro {
  padding: 0;
}

.section--paper .hub-services-intro p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.section--paper .hub-services-intro .text-link-inline {
  color: var(--blue-primary);
}

.section--paper .hub-services-intro .text-link-inline:hover {
  color: var(--blue-dark);
}

.section-map > .container {
  text-align: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: filter 0.18s, transform 0.12s;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.btn-call {
  background: var(--white);
  color: var(--blue-primary);
}

.service-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
@media (max-width: 480px) {
  .service-cta-row .btn-call {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }
}
.service-cta-row .btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.btn-enquiry {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.42);
}

.btn.btn-enquiry {
  font-size: 0.88rem;
  padding: 0.62rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn.btn-enquiry > svg.svg-ref:first-child {
  display: block;
  margin-right: 0;
  vertical-align: unset;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-photo-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  filter: brightness(0.96) saturate(1.10);
}

.hero-photo-dot {
  position: absolute;
  width: clamp(240px, 36vw, 480px);
  height: clamp(160px, 24vw, 320px);
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 52px rgba(0, 0, 0, 0.60);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease-in-out, left 1s ease-in-out, top 1s ease-in-out;
}

.hero-photo-dot.hero-photo-dot--js {
  transition: none;
  will-change: transform, opacity;
  transform: translate(-50%, -50%) translateZ(0);
}

.hero-photo-slot {
  overflow: hidden;
}

.hero-photo-slot .hero-photo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}

.hero-photo-dot.is-visible {
  opacity: 0.42;
}

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

  .hero-photo-dot.is-visible {
    opacity: 0.39;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 26, 52, 0.32) 0%, rgba(15, 35, 71, 0.74) 100%),
    radial-gradient(130% 70% at 50% -15%, rgba(255, 255, 255, 0.07), transparent 52%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.25rem;
  max-width: min(900px, calc(100% - 2.5rem));
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-heading {
  display: grid;
  gap: 0.65rem;
  color: var(--white);
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-h1-topic {
  display: block;
  order: -1;
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 2.1vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 32rem;
  margin-inline: auto;
}

.hero-script {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-wordmark {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .hero-photo-dot {
    width: clamp(150px, 52vw, 240px);
    height: clamp(100px, 35vw, 160px);
  }

  .hero-heading {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }

  .hero-h1-topic {
    font-size: 0.8rem;
    letter-spacing: 0.015em;
  }

  .hero-script {
    font-size: clamp(2.65rem, 14vw, 3.85rem);
  }

  .hero-wordmark {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    letter-spacing: 0.045em;
  }
}

.hero-sub {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3.2vw, 1.85rem);
  font-weight: 700;
  padding: 0.88rem 1.85rem;
  background: var(--accent);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
  transition: filter 0.18s, transform 0.12s, background 0.18s;
}
.hero-cta:hover {
  filter: brightness(1.05);
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-cta--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.hero-cta--secondary:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

.hero-cta.hero-cta--secondary {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  gap: 0.45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* =====================================================
   SERVICES GRID (homepage)
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

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

.service-card {
  background: var(--blue-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.55rem 1.65rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.service-card .icon {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card .icon svg.svg-ref {
  width: 2.55rem;
  height: 2.55rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--grey-mid);
}

/* =====================================================
   PHOTO STRIP
   ===================================================== */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

.photo-strip-tile {
  position: relative;
  overflow: hidden;
}

.photo-strip-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: clamp(300px, 45vw, 520px);
  text-decoration: none;
  color: var(--white);
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.photo-strip-img {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.photo-strip-card::before {
  content: "";
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 71, 0.35) 0%,
    rgba(15, 35, 71, 0.72) 100%
  );
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.photo-strip-title {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
  z-index: 2;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}

@media (hover: hover) {
  .photo-strip-card:hover::before,
  .photo-strip-card:hover .photo-strip-title,
  .photo-strip-card:focus-visible::before,
  .photo-strip-card:focus-visible .photo-strip-title {
    opacity: 1;
  }
}

@media (hover: none) {
  .photo-strip-card::before {
    opacity: 0.42;
  }

  .photo-strip-title {
    opacity: 1;
  }
}

.photo-strip-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: no-preference) {
  .photo-strip-img {
    transition: transform 0.35s ease;
  }

  @media (hover: hover) {
    .photo-strip-card:hover .photo-strip-img,
    .photo-strip-card:focus-visible .photo-strip-img {
      transform: scale(1.02);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-strip-card::before,
  .photo-strip-title,
  .photo-strip-img {
    transition: none;
  }

  .photo-strip-card:hover .photo-strip-img,
  .photo-strip-card:focus-visible .photo-strip-img {
    transform: none;
  }
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
/* Hide homepage testimonials for now. Remove this rule to show the block again. */
.home-testimonials {
  display: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--accent);
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-card blockquote {
  position: relative;
  font-size: 1.05rem;
  font-style: normal;
  color: var(--grey-light);
  margin-bottom: 1rem;
  line-height: 1.7;
  padding-left: 0.15rem;
}

.testimonial-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 0.35rem;
}

.testimonial-card cite {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  font-style: normal;
  display: block;
  letter-spacing: 0.02em;
}

/* =====================================================
   MAP PREVIEW
   ===================================================== */
.map-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.map-wrap iframe {
  width: 100%;
  display: block;
  border: none;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  height: auto;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.service-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-section:last-child { border-bottom: none; }

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .service-section-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .service-section-inner.reverse { direction: rtl; }
  .service-section-inner.reverse > * { direction: ltr; }
}

.service-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--white);
}
.service-section h2 a {
  color: inherit;
  text-decoration: none;
}
.service-section h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-hub-more-wrap {
  margin: 0 0 1.15rem;
}
.service-hub-more {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--grey-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.08rem;
  transition: color 0.18s, border-color 0.18s;
}
.service-hub-more:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}
.service-hub-more:focus-visible {
  outline: 2px solid var(--grey-light);
  outline-offset: 3px;
  border-radius: 2px;
}

a.service-hub-thumb {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.18s, box-shadow 0.18s;
}
a.service-hub-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
a.service-hub-thumb:focus-visible {
  outline: 2px solid var(--grey-light);
  outline-offset: 4px;
}
a.service-hub-thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.about-text .about-services-intro a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.about-text .about-services-intro a:hover {
  text-decoration-color: var(--white);
}
.about-text .about-services-intro a:focus-visible {
  outline: 2px solid var(--grey-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.about-cap-strong {
  color: var(--white);
}

.service-section ul {
  list-style: none;
  margin-bottom: 1.75rem;
}
.service-section ul:has(+ .service-hub-more-wrap) {
  margin-bottom: 1rem;
}

.service-section ul li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  font-size: 1rem;
  color: var(--grey-light);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 1.05em;
  height: 1.05em;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.service-section img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.service-section.section--paper {
  background: var(--surface);
  border-bottom-color: rgba(23, 35, 54, 0.1);
}

.service-section.section--paper h2 {
  color: var(--ink);
}

.service-section.section--paper h2 a {
  color: inherit;
}

.service-section.section--paper h2 a:hover {
  color: var(--blue-primary);
}

.service-section.section--paper ul li {
  color: var(--ink-muted);
  border-bottom-color: rgba(23, 35, 54, 0.1);
}

.service-section.section--paper ul li::before {
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a6b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.service-section.section--paper .service-hub-more {
  color: var(--blue-primary);
  border-bottom-color: rgba(26, 58, 107, 0.5);
}

.service-section.section--paper .service-hub-more:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.service-section.section--paper .service-hub-more:focus-visible {
  outline-color: var(--accent);
}

.service-section.section--paper .service-hub-thumb {
  border: 1px solid rgba(23, 35, 54, 0.14);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.about-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--grey-light);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.about-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.65;
  border-bottom: none;
}

.about-points li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-points li::before {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.53em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.about-points-text {
  flex: 1;
  min-width: 0;
}

.about-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-photo-bottom {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

.about-photo-bottom img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.section--paper .about-text p {
  color: var(--ink-muted);
}

.section--paper .about-cap-strong {
  color: var(--ink);
}

.section--paper .about-text .about-services-intro a {
  color: var(--blue-primary);
  text-decoration-color: rgba(26, 58, 107, 0.35);
}

.section--paper .about-text .about-services-intro a:hover {
  color: var(--blue-dark);
  text-decoration-color: var(--blue-dark);
}

.section--paper .about-text .about-services-intro a:focus-visible {
  outline-color: var(--accent);
}

.section--paper .about-points li {
  color: var(--ink-muted);
}

.section--paper .about-points li:not(:last-child) {
  border-bottom-color: rgba(23, 35, 54, 0.1);
}

.section--paper .about-points li::before {
  background: rgba(26, 58, 107, 0.35);
  box-shadow: 0 0 0 1px rgba(26, 58, 107, 0.12);
}

.section--paper .about-text .about-points + p {
  margin-top: 1.35rem;
  margin-bottom: 0.85rem;
}

.section--paper .about-text > .service-cta-row {
  margin-top: 0;
}

.section--paper .about-photo {
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 35, 54, 0.12);
  box-shadow: var(--shadow-soft);
}

.section--paper .about-photo-bottom img {
  border: 1px solid rgba(23, 35, 54, 0.12);
}

/* =====================================================
   DIRECTIONS PAGE
   ===================================================== */
.directions-address {
  background: var(--blue-primary);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.directions-address h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.directions-address p {
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.65;
}

.directions-note {
  font-size: 0.92rem;
  color: var(--grey-mid);
  margin-top: 0.5rem;
  font-style: italic;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
  text-align: center;
  padding: clamp(2.75rem, 6vw, 3.75rem) 1.35rem clamp(2.25rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--blue-primary) 0%, #152f59 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

.contact-hero .service-breadcrumbs {
  margin-bottom: 0.65rem;
}

.contact-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.85rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.contact-hero-intro {
  font-size: 0.98rem;
  color: var(--grey-mid);
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  line-height: 1.5;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.contact-hero .phone-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  margin-bottom: 0;
  transition: background 0.18s, filter 0.18s;
}
.contact-hero .phone-number svg.svg-ref-phone {
  width: clamp(1.6rem, 4vw, 2.4rem);
  height: clamp(1.6rem, 4vw, 2.4rem);
  flex-shrink: 0;
}
.contact-hero .phone-number:hover {
  background: var(--accent-hover);
  filter: brightness(1.03);
}

.contact-hero .contact-hero-enquiry {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 2.75vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  transition: background 0.18s, transform 0.12s, border-color 0.18s;
}
.contact-hero .contact-hero-enquiry svg.svg-ref {
  width: 1.08em;
  height: 1.08em;
  flex-shrink: 0;
}
.contact-hero .contact-hero-enquiry:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.contact-hero .text-back {
  font-size: 1rem;
  color: var(--grey-mid);
}

/* Contact form */
.contact-form {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.contact-form-collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s ease;
}

.contact-form-collapse-inner {
  overflow: hidden;
  min-height: 0;
}

.contact-form--sent .contact-form-collapse {
  grid-template-rows: 0fr;
}

.contact-form--sent .contact-form-status--success {
  margin-bottom: 0.5rem;
}

.contact-form-reset {
  margin: 0.35rem auto 0;
  padding: 0.35rem 0.5rem;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--blue-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.contact-form-reset:hover {
  color: var(--blue-dark);
}

.contact-form-reset:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-collapse {
    transition: none;
  }
}

.form-group--honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.contact-form-status {
  min-height: 1.5em;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-form-status--success {
  color: #1a5426;
}

.contact-form-status--error {
  color: #b42318;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 0.5rem;
  color: var(--grey-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.88rem 1.05rem;
  background: var(--surface-elevated);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.18s, background 0.18s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); }
.form-group input:focus,
.form-group input:focus-visible,
.form-group textarea:focus,
.form-group textarea:focus-visible {
  border-color: var(--blue-primary);
  background: var(--white);
}

.section--paper .contact-form .form-group label {
  color: var(--ink);
}

.label-optional {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.92em;
}

.section--paper .contact-form .form-group input,
.section--paper .contact-form .form-group textarea {
  background: var(--surface-elevated);
  border-color: rgba(23, 35, 54, 0.22);
  color: var(--ink);
}

.section--paper .contact-form .form-group input:focus,
.section--paper .contact-form .form-group input:focus-visible,
.section--paper .contact-form .form-group textarea:focus,
.section--paper .contact-form .form-group textarea:focus-visible {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 1px rgba(26, 58, 107, 0.15);
}

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

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--blue-primary) 0%, #152f59 100%);
  padding: clamp(2.65rem, 6vw, 3.85rem) max(1.35rem, var(--safe-right)) clamp(2.35rem, 5vw, 3rem) max(1.35rem, var(--safe-left));
  text-align: center;
  border-bottom: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1.15;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-block;
  max-width: min(52rem, 100%);
}

.page-hero p {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  color: rgba(176, 186, 200, 0.95);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.service-breadcrumbs {
  font-size: 0.9rem;
  color: rgba(176, 186, 200, 0.88);
  margin: 0 auto 1.1rem;
  max-width: 42rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  align-items: center;
}
.service-breadcrumbs a {
  color: rgba(232, 237, 244, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-breadcrumbs a:hover { color: var(--white); }
.service-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}
.service-breadcrumbs [aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.service-related-list {
  list-style: none;
  margin: 1rem auto 0;
  max-width: 36rem;
  padding: 0;
}
.section:has(.service-related-list) .section-heading {
  text-align: center;
}
.service-related-list li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-related-list a {
  display: block;
  padding: 0.65rem 0;
  color: var(--grey-light);
  text-decoration: none;
}
.service-related-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Card links (homepage What We Do) */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.service-card:focus-visible {
  outline: 2px solid var(--grey-light);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

/* =====================================================
   CALL BANNER
   ===================================================== */
.call-banner {
  background: var(--blue-dark);
  padding: 2.25rem max(1.25rem, var(--safe-right)) 2.25rem max(1.25rem, var(--safe-left));
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.call-banner .cta-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.85rem;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  transition: background 0.18s, filter 0.18s;
}
.call-banner .cta-number:hover {
  background: var(--accent-hover);
  filter: brightness(1.04);
}
.call-banner .cta-number svg.svg-ref {
  width: 1.08em;
  height: 1.08em;
  flex-shrink: 0;
}

.call-banner p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--grey-mid);
}
