/* ShoreMate — landing page (option 3a). Design tokens from the go-live handoff. */

:root {
  --navy: #0F2A44;      /* Harbour Navy  */
  --mustard: #D4A017;   /* Dune Mustard  */
  --cream: #E6E0D3;     /* Soft Sand (was Shell Cream #F5EFE6) */
  --slate: #3D4A5C;     /* Jetty Slate   */
  --white: #FFFFFF;
  --border: #EDE6D9;
  --input: #D9D2C2;
  --muted: #6B7280;
  --faint: #9CA3AF;
  --scrim-light: #DCE4EC;
  --line: #E3DAC7;
  --content: 1280px;
  --radius-card: 12px;
  --radius-panel: 16px;
  --radius-btn: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.015em;
}

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

h1, h2, h3 { letter-spacing: -0.015em; }

/* ---- Accessibility (shared across all pages) ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus for all interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

/* Section spacing helpers */
.band { padding: 48px 56px; }
.band-navy { background: var(--navy); }
.band-white { background: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--mustard); color: var(--navy); }
.btn-navy   { background: var(--navy);   color: var(--white); }

/* Eyebrow / caps labels */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--mustard);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--content); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 40px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 26px; height: 26px; }
.brand-name { font-size: 17px; font-weight: 600; color: var(--navy); }
.site-nav {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex: 1; min-width: 0; flex-wrap: wrap;
}
.site-nav a { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.site-nav a:hover { color: var(--mustard); }
.header-cta { font-size: 13.5px; padding: 11px 18px; flex-shrink: 0; }

/* ============ HERO ============ */
.hero { position: relative; height: 480px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 18s infinite; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade { 0% { opacity: 0; } 3% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:nth-child(1) { opacity: 1; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,42,68,.9), rgba(15,42,68,.05) 65%);
  display: flex; align-items: flex-end;
}
.hero-copy {
  max-width: 660px; padding: 40px 56px;
  display: flex; flex-direction: column; gap: 12px;
}
/* Navy reads sharper than mustard against the warm, golden hero photo */
.hero-copy .eyebrow { color: var(--navy); }
.hero-copy h1 {
  margin: 0; font-size: 36px; font-weight: 600; color: var(--white); line-height: 1.15;
}
.hero-copy p { margin: 0; font-size: 15px; color: var(--scrim-light); line-height: 1.6; }
.hero-copy .btn { align-self: flex-start; font-size: 15px; padding: 14px 26px; }

/* ============ PROCESS STRIP ============ */
.process { padding: 40px 56px; }
.process-row { position: relative; display: flex; align-items: flex-start; }
.process-line {
  position: absolute; top: 20px; left: 12%; right: 12%; height: 2px; background: var(--line);
}
.process-step {
  flex: 1; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mustard); color: var(--navy); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-label { font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ============ SERVICES ============ */
.section-title {
  text-align: center; font-size: 24px; font-weight: 600; color: var(--navy); margin: 0;
}
.services { padding: 24px 56px 48px; display: flex; flex-direction: column; gap: 28px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  scroll-margin-top: 90px; background: var(--white);
  border-radius: var(--radius-card); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.accent-bar { width: 36px; height: 4px; background: var(--mustard); border-radius: 2px; }
.service-card h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--navy); }
.service-card p  { margin: 0; font-size: 13.5px; color: var(--slate); line-height: 1.6; }
.uses { font-size: 12px; color: var(--muted); }
.card-link { font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.card-link:hover { color: var(--mustard); }

/* ============ ABOUT ============ */
.about {
  scroll-margin-top: 90px; padding: 48px 56px; background: var(--white);
  display: flex; gap: 40px; align-items: center;
}
.about-photo { flex: 1; height: 320px; border-radius: 14px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.about-copy .eyebrow { letter-spacing: 0.15em; }
.about-copy h2 { margin: 0; font-size: 24px; font-weight: 600; color: var(--navy); }
.about-copy p  { margin: 0; font-size: 14.5px; color: var(--slate); line-height: 1.7; }

/* ============ STANDARD (navy band) ============ */
.standard h2 { text-align: center; font-size: 24px; font-weight: 600; color: var(--white); margin: 0 0 28px; }
.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standard-col { display: flex; flex-direction: column; gap: 6px; }
.standard-col h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--mustard); }
.standard-col p  { margin: 0; font-size: 12.5px; color: var(--scrim-light); line-height: 1.6; }

/* ============ RECENT WORK ============ */
.work { padding: 48px 56px; display: flex; flex-direction: column; gap: 20px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.work-tile { height: 200px; border-radius: 10px; overflow: hidden; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FAQ ============ */
.faq { scroll-margin-top: 90px; padding: 48px 56px; background: var(--white); }
.faq h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 16px; }
.faq-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.faq-row:last-child { border-bottom: 1px solid var(--border); }
.faq-num { font-size: 14px; font-weight: 700; color: var(--mustard); flex-shrink: 0; }
.faq-q { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.faq-a { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.6; }

/* ============ SERVICE AREAS ============ */
.areas { scroll-margin-top: 90px; padding: 48px 56px; background: var(--white); }
.areas .section-title { margin-bottom: 10px; }
.areas-lead {
  text-align: center; font-size: 14.5px; color: var(--slate);
  margin: 0 auto 24px; max-width: 620px; line-height: 1.7;
}
.areas-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.areas-list li {
  font-size: 13.5px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px;
}
.areas-note {
  max-width: 720px; margin: 28px auto 0;
  background: #fff; border-left: 4px solid var(--mustard); border-radius: 10px;
  padding: 16px 20px; font-size: 13.5px; color: var(--slate); line-height: 1.75;
}
.areas-note strong { color: var(--navy); }
.areas-note a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.areas-note a:hover { color: var(--mustard); }

/* ============ SUBURB LANDING PAGES ============ */
.sub-hero { background: var(--navy); padding: 36px 56px 44px; }
.sub-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sub-hero h1 { margin: 0; font-size: 32px; font-weight: 600; color: #fff; line-height: 1.15; max-width: 720px; }
.sub-hero p { margin: 0; font-size: 15px; color: var(--scrim-light); line-height: 1.7; max-width: 680px; }
.sub-hero .btn { margin-top: 4px; font-size: 15px; padding: 13px 24px; }
.crumbs { font-size: 12.5px; color: var(--scrim-light); }
.crumbs a { color: var(--mustard); }
.crumbs span { opacity: .5; margin: 0 5px; }

.sub-body { padding: 44px 56px 52px; background: var(--white); }
.sub-body h2 { font-size: 21px; font-weight: 600; color: var(--navy); margin: 36px 0 12px; }
.sub-body h2:first-of-type { margin-top: 28px; }
.sub-lead { font-size: 15.5px; color: var(--slate); line-height: 1.8; margin: 0; }
.sub-list { margin: 0; padding-left: 20px; color: var(--slate); font-size: 14.5px; line-height: 1.95; }
.sub-gallery { margin-top: 6px; }
.sub-back { margin-top: 18px; font-size: 13.5px; }
.sub-back a, .areas-list li a { color: var(--navy); font-weight: 600; }
.sub-back a { text-decoration: underline; }
.sub-back a:hover, .areas-list li a:hover { color: var(--mustard); }

/* Suburb links on the homepage */
.areas-links { margin: 22px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.areas-links a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.areas-links a:hover { color: var(--mustard); }

/* ============ CLOSING CTA ============ */
.closing {
  padding: 44px 56px; background: var(--mustard);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.closing-head { font-size: 22px; font-weight: 600; color: var(--navy); }
.closing-sub  { font-size: 14px; color: var(--slate); margin-top: 4px; }
.closing .btn { font-size: 15px; padding: 14px 28px; }

/* ============ REVIEW ASK (link for phones, QR for computers) ============ */
.review-band { padding: 48px 56px; }
.review-card {
  max-width: 720px; margin: 0 auto; padding: 32px; border-radius: var(--radius-panel);
  background: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.review-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.review-copy h2 { margin: 0; font-size: 26px; font-weight: 600; color: var(--white); }
.review-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--scrim-light); }
.review-copy .btn { margin-top: 4px; font-size: 15px; padding: 14px 28px; }
.review-qr { margin: 0; flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.review-qr img { width: 148px; height: 148px; border-radius: var(--radius-card); background: var(--white); }
.review-qr figcaption { font-size: 13px; color: var(--scrim-light); opacity: .8; }
@media (hover: none) and (pointer: coarse) { .review-qr { display: none; } }
@media (max-width: 900px) { .review-band { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 640px) {
  .review-card { flex-direction: column; align-items: flex-start; padding: 24px; }
  .review-copy { width: 100%; }
  .review-copy .btn { align-self: stretch; text-align: center; white-space: normal; }
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 40px 56px; background: var(--navy); color: var(--scrim-light);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-name { font-size: 14px; font-weight: 600; color: var(--white); }
.footer-tag  { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mustard); }
.footer-contact { font-size: 12.5px; text-align: left; line-height: 1.7; }
.footer-contact a:hover { color: var(--mustard); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-inner, .band, .process, .services, .about, .work, .faq, .closing, .site-footer,
  .areas, .sub-hero, .sub-body { padding-left: 24px; padding-right: 24px; }
  .sub-hero h1 { font-size: 26px; }
  .site-nav { display: none; }              /* keep header clean on small screens */
  .card-grid { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; align-items: stretch; }
  .about-photo { height: 240px; }
  .hero { height: 440px; }
  .hero-copy { padding: 28px 24px; }
  .hero-copy h1 { font-size: 30px; }
}

@media (max-width: 560px) {
  .process-row { flex-wrap: wrap; gap: 20px; }
  .process-line { display: none; }
  .process-step { flex: 0 0 calc(50% - 10px); }
  .standard-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .closing { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}

/* ============================================================
   MULTI-PAGE NAV, FOOTER COLUMNS & SERVICE-PAGE BITS (restructure v2)
   ============================================================ */

/* --- Dropdown nav (desktop default) --- */
.nav-toggle, .nav-sub-toggle { display: none; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; min-width: 0; flex-wrap: wrap; }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-top { font-size: 13.5px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.nav-top:hover { color: var(--mustard); }
.nav-group > .nav-top::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: .7; }
.nav-drop {
  position: absolute; top: 100%; left: 0; margin-top: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15,42,68,.14); padding: 8px; min-width: 230px;
  display: flex; flex-direction: column; gap: 2px; z-index: 40;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease, visibility .12s;
}
.nav-group:hover > .nav-drop, .nav-group:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { padding: 9px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.nav-drop a:hover { background: var(--cream); color: var(--mustard); }

/* --- Footer in columns --- */
.site-footer { display: block; }
.footer-cols { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-h { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--mustard); margin-bottom: 2px; }
.footer-col a { font-size: 13px; color: var(--scrim-light); }
.footer-col a:hover { color: var(--mustard); }
.footer-brandcol .footer-contact { margin-top: 14px; }
.footer-assur { margin-top: 14px; font-size: 12px; color: var(--mustard); line-height: 1.6; }

/* --- Service pages --- */
.svc-steps { counter-reset: st; list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-steps li { counter-increment: st; position: relative; padding-left: 42px; font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.svc-steps li::before { content: counter(st); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); color: var(--navy); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.sub-para { font-size: 14.5px; color: var(--slate); line-height: 1.8; margin: 0; }
.svc-links { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.svc-links a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.svc-links a:hover { color: var(--mustard); }
.sub-body .btn { display: inline-block; margin-top: 4px; }
.about-photo-wide { width: 100%; height: 340px; border-radius: 14px; overflow: hidden; margin: 10px 0; }
.about-photo-wide img { width: 100%; height: 100%; object-fit: cover; }

/* "What do you need done" row on the home page */
.do-row { text-align: center; font-size: 13.5px; color: var(--muted); line-height: 2.1; }
.do-row strong { color: var(--navy); }
.do-row a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.do-row a:hover { color: var(--mustard); }

/* Standard block: 6 cards, and a light-background variant for the About page */
.standard-grid-6 { grid-template-columns: repeat(3, 1fr); }
.standard-on-light { display: grid; gap: 20px; margin: 8px 0; }
.standard-on-light .standard-col h3 { color: var(--navy); }
.standard-on-light .standard-col p { color: var(--slate); }

/* --- Mobile nav (accordion) --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; background: none; border: 1px solid var(--input);
    border-radius: 8px; cursor: pointer; order: 3;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-inner { position: relative; flex-wrap: nowrap; gap: 10px; }
  .brand { margin-right: auto; }
  .header-cta { order: 2; }

  .site-nav {
    display: none; order: 4; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap;
    background: #fff; border-top: 1px solid var(--border); box-shadow: 0 16px 40px rgba(15,42,68,.14);
    padding: 6px 20px 16px; max-height: calc(100vh - 70px); overflow-y: auto; z-index: 40;
  }
  .site-nav.open { display: flex; }
  .nav-group { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .site-nav > .nav-top { padding: 14px 2px; border-bottom: 1px solid var(--border); }
  .nav-group > .nav-top { flex: 1; padding: 14px 2px; }
  .nav-group > .nav-top::after { content: ""; }
  .nav-sub-toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 48px;
    background: none; border: none; cursor: pointer; color: var(--navy);
  }
  .nav-sub-toggle::before { content: "+"; font-size: 20px; line-height: 1; }
  .nav-group.open .nav-sub-toggle::before { content: "–"; }
  .nav-drop {
    position: static; opacity: 1; visibility: visible; transform: none; margin: 0 0 8px;
    box-shadow: none; border: none; padding: 0 0 4px 12px; min-width: 0; width: 100%; display: none;
  }
  .nav-group.open > .nav-drop { display: flex; }
  .nav-drop a { white-space: normal; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .standard-grid-6 { grid-template-columns: 1fr; }
}

/* ============ SOCIAL ICONS (header + footer) ============ */
.social-ic { display: inline-flex; align-items: center; justify-content: center; }
.social-ic svg { width: 20px; height: 20px; display: block; }
.header-social { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-social .social-ic { color: var(--navy); transition: color .15s ease, transform .15s ease; }
.header-social .social-ic:hover, .header-social .social-ic:focus-visible { color: var(--mustard); transform: translateY(-1px); }
.footer-social { display: flex; align-items: center; gap: 13px; margin-top: 16px; }
.footer-social-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--mustard); }
.footer-social .social-ic { color: var(--scrim-light); transition: color .15s ease, transform .15s ease; }
.footer-social .social-ic:hover, .footer-social .social-ic:focus-visible { color: var(--mustard); transform: translateY(-1px); }
@media (max-width: 900px) { .header-social { order: 1; } }
@media (max-width: 560px) { .header-social { display: none; } } /* footer keeps them on phones */

/* --- Footer legal bar --- */
.footer-legal {
  max-width: var(--content); margin: 30px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(220,228,236,.16);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--scrim-light);
}
.footer-legal a { color: var(--scrim-light); }
.footer-legal a:hover { color: var(--mustard); }
@media (max-width: 560px) { .footer-legal { justify-content: flex-start; } }

/* --- Legal / policy page --- */
.legal p { color: var(--slate); line-height: 1.7; margin: 0 0 14px; }
.legal h2 { margin-top: 30px; }
.legal a { color: var(--navy); text-decoration: underline; }
.legal a:hover { color: var(--mustard); }

/* --- Middot separators between top-nav items (desktop only) --- */
@media (min-width: 901px) {
  .site-nav > * + *::before {
    content: "·"; margin-right: 18px; color: #b3bdc9; vertical-align: middle;
  }
  .site-nav > .nav-top:hover::before { color: #b3bdc9; }
}

/* ---- Before / after gallery (before-after.js) --------------------------------
   Reusable across service pages. The card shows two panels side by side with
   corner labels and a caption. Rendered only for items that have BOTH photos, and
   the whole section hides itself when there are none — so it is never half-built
   on a live page. Fill the data-items list on the page to switch it on. */
.ba-gallery{margin:26px 0}
.ba-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.ba-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 20px -12px rgba(15,42,68,.25)}
.ba-pair{display:grid;grid-template-columns:1fr 1fr}
.ba-panel{position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--cream)}
.ba-panel img{width:100%;height:100%;object-fit:cover;display:block}
.ba-panel+.ba-panel{border-left:2px solid #fff}
.ba-tag{position:absolute;top:9px;left:9px;font:600 11px/1 'Poppins',sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#fff;background:rgba(15,42,68,.82);padding:5px 9px;border-radius:6px}
.ba-panel.after .ba-tag{background:rgba(212,160,23,.95);color:var(--navy)}
.ba-cap{padding:11px 14px;font-size:14px;color:var(--slate)}
.ba-cap b{color:var(--navy);font-weight:600}
/* Standalone before/after/coating showcase (not inside .ba-grid) */
.ba-solo{max-width:820px;margin:24px 0}
.ba-trio{grid-template-columns:1fr 1fr 1fr}
.ba-panel.coat .ba-tag{background:rgba(15,122,138,.94)}
@media (max-width:520px){.ba-grid{grid-template-columns:1fr}}
@media (max-width:640px){.ba-trio{grid-template-columns:1fr}.ba-trio .ba-panel+.ba-panel{border-left:0;border-top:2px solid #fff}}
