/* ==========================================================================
   Buildcare Waterproofing Solutions — shared design system
   Theme: Buildcare v2 (navy #06162F · blue #078BEE · cyan #16C8F2)
   Used by: index.html, terrace-waterproofing/index.html, service pages
   --------------------------------------------------------------------------
   01 Design tokens          10 Quote / enquiry form
   02 Base & reset           11 FAQ accordion
   03 Layout utilities      12 CTA band & footer
   04 Buttons & links       13 Sticky mobile action bar
   05 Header & navigation   14 Utilities, motion & print
   06 Hero
   07 Cards & photo blocks  15 Homepage-only components
   08 Lists, steps, methods
   09 Projects & gallery
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — exact specification colours */
  --brand-navy: #06162f;
  --brand-blue: #078bee;
  --brand-cyan: #16c8f2;
  --brand-silver: #c5cbd3;

  /* Navy ramp (derived from #06162F) */
  --navy-950: #04102a;
  --navy-900: #06162f;
  --navy-800: #0a2150;
  --navy-700: #0e2c63;
  --navy-600: #13387a;

  /* Blue ramp — #078BEE is the brand primary.
     Darker variants are used wherever text sits on a light background so
     that contrast still meets WCAG AA (white on #078BEE = 3.5:1, which is
     below the 4.5:1 threshold for body-size text). */
  --blue-800: #044b85;
  --blue-700: #0568b4;
  --blue-600: #0679d6;
  --blue-500: #078bee;
  --blue-300: #8ecdf7;
  --blue-200: #b9e3fa;
  --blue-100: #dcf0fd;
  --blue-50: #f2f9fe;

  /* Cyan ramp — accent only, never used for body text on white */
  --cyan-600: #0e9fbd;
  --cyan-500: #16c8f2;
  --cyan-200: #a8ecfa;
  --cyan-100: #d9f6fd;

  /* Neutrals */
  --slate-950: #0b1220;
  --slate-900: #16202f;
  --slate-800: #24344a;
  --slate-700: #3c4b63;
  --slate-600: #55657c;
  --slate-500: #71809a;
  --slate-400: #9aa7bb;
  --slate-300: #cbd4e1;
  --slate-200: #e3e8ef;
  --slate-100: #f1f4f8;
  --slate-50: #f7f9fc;
  --white: #ffffff;

  --green-700: #157347;
  --green-100: #ddf3e6;
  --red-700: #b42318;
  --red-100: #fde8e6;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI Semibold", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --space-8: 3.5rem;
  --space-9: 5rem;

  --section-y: clamp(3.25rem, 1.8rem + 4.6vw, 5.75rem);
  --container: 1200px;
  --container-narrow: 840px;
  --container-wide: 1360px;

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-xs: 0 1px 2px rgba(6, 22, 47, 0.06);
  --shadow-sm: 0 2px 8px rgba(6, 22, 47, 0.07);
  --shadow-md: 0 10px 26px -10px rgba(6, 22, 47, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(6, 22, 47, 0.32);
  --shadow-focus: 0 0 0 3px rgba(7, 139, 238, 0.35);

  --header-h: 76px;
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   02 Base & reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.45rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 1.02rem + 0.42vw, 1.3rem);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.15rem;
}

li {
  margin-bottom: var(--space-2);
}

li:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-700);
  text-decoration-color: var(--blue-300);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover {
  color: var(--blue-600);
  text-decoration-color: currentColor;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--slate-200);
  margin: var(--space-7) 0;
}

strong {
  color: var(--slate-900);
  font-weight: 600;
}

::selection {
  background: var(--blue-100);
  color: var(--navy-900);
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   03 Layout utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 0.6rem + 2.2vw, 2rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--slate-50);
}

.section--blue {
  background: var(--blue-50);
}

.section--navy {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
  color: var(--slate-300);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy a {
  color: var(--cyan-500);
}

.section--navy .section-head p {
  color: var(--slate-300);
}

.section-head {
  max-width: 64ch;
  margin-bottom: var(--space-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--slate-600);
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section--navy .eyebrow {
  background: rgba(22, 200, 242, 0.14);
  color: var(--cyan-500);
}

.lede {
  font-size: 1.1rem;
  color: var(--slate-700);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 599px) {
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .split--media {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .split--panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   04 Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
  box-shadow: 0 8px 20px -10px rgba(7, 139, 238, 0.9);
}

.btn--primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--white);
}

.btn--cyan {
  background: var(--cyan-500);
  color: var(--navy-900);
  border-color: var(--cyan-500);
}

.btn--cyan:hover {
  background: var(--cyan-600);
  border-color: var(--cyan-600);
  color: var(--white);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn--navy:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn--ghost:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--cyan-100);
  border-color: var(--cyan-100);
  color: var(--navy-900);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn-row--center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   05 Header & navigation
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy-900);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle__bars {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), top var(--transition);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) clamp(1.15rem, 0.6rem + 2.2vw, 2rem) var(--space-5);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0;
  color: var(--slate-800);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--slate-100);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-700);
}

.header-actions {
  display: none;
}

.header-actions__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
  background: var(--white);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition),
    background var(--transition);
}

.header-actions__icon svg {
  width: 20px;
  height: 20px;
}

.header-actions__icon:hover {
  border-color: var(--cyan-500);
  color: var(--blue-700);
  background: var(--blue-50);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-link--btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--slate-700);
  cursor: pointer;
}

.nav-link--btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item.is-open .nav-link--btn svg {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
}

.dropdown__inner {
  display: grid;
  gap: 0.25rem;
  padding: var(--space-3);
}

.dropdown__link {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.65rem !important;
  border: 0 !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.dropdown__link:hover {
  background: var(--blue-50);
}

.dropdown__link svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--blue-600);
}

.dropdown__link strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy-900);
  line-height: 1.35;
}

.dropdown__link span {
  font-size: 0.82rem;
  color: var(--slate-500);
  font-family: var(--font-sans);
  font-weight: 400;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block !important;
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .site-nav > ul {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.1rem + 1.3vw, 1.5rem);
  }

  .site-nav > ul > li > a,
  .nav-link--btn {
    padding: 0.25rem 0;
    font-size: 0.94rem;
    color: var(--slate-700);
    border: 0;
    position: relative;
    white-space: nowrap;
  }

  .site-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }

  .site-nav > ul > li > a:hover,
  .site-nav > ul > li > a[aria-current="page"] {
    color: var(--navy-900);
  }

  .site-nav > ul > li > a:hover::after,
  .site-nav > ul > li > a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-link--btn:hover {
    color: var(--navy-900);
  }

  .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: min(620px, 78vw);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition),
      visibility var(--transition);
  }

  .dropdown__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: var(--space-4);
  }

  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown,
  .nav-item.is-open .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem;
    border-radius: var(--radius-sm);
    background: var(--blue-700);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    transition: background var(--transition);
  }

  .header-cta:hover {
    background: var(--blue-800);
    color: var(--white);
  }

  .header-cta svg {
    width: 1.05em;
    height: 1.05em;
  }
}

/* --------------------------------------------------------------------------
   06 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, var(--navy-950) 0%, var(--navy-900) 52%, var(--navy-800) 100%);
  color: var(--slate-300);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 139, 238, 0.28), transparent 66%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 1rem + 4vw, 4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}

.hero__content {
  padding-block: clamp(2.75rem, 1.6rem + 5vw, 5rem);
}

.hero .eyebrow {
  background: rgba(22, 200, 242, 0.13);
  color: var(--cyan-500);
  border: 1px solid rgba(22, 200, 242, 0.32);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);
  font-weight: 500;
  color: var(--cyan-500);
  margin-bottom: var(--space-4);
}

.hero__lede {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.14rem);
  color: var(--slate-300);
  max-width: 58ch;
}

.hero__benefits {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
}

.hero__benefits li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 0.96rem;
}

.hero__benefits svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: rgba(22, 200, 242, 0.16);
  color: var(--cyan-500);
}

.hero__figure {
  position: relative;
  align-self: stretch;
}

.hero__figure img,
.hero__figure svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(6, 22, 47, 0.55) 0%, transparent 42%);
  pointer-events: none;
}

@media (min-width: 1000px) {
  .hero__figure img,
  .hero__figure svg {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
}

.hero__badge {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(6, 22, 47, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  max-width: 19rem;
}

.hero__badge svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--cyan-500);
}

.hero__badge span {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--slate-200);
}

.hero__badge strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

/* Supporting note under the hero copy */
.hero__note {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-300);
  max-width: 58ch;
}

.hero__note strong {
  color: var(--white);
  font-family: var(--font-display);
}

/* Compact stat row */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  margin: 0;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.92rem + 0.5vw, 1.25rem);
  font-weight: 700;
  color: var(--cyan-500);
  line-height: 1.25;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.45;
}

/* Trust ribbon */
.trust-ribbon {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.trust-ribbon__list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding: var(--space-5) 0;
}

.trust-ribbon li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.trust-ribbon svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.16rem;
  color: var(--brand-blue);
}

@media (min-width: 720px) {
  .trust-ribbon__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: var(--space-4);
  font-size: 0.86rem;
  color: var(--blue-200);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(185, 227, 250, 0.55);
}

.breadcrumb a {
  color: var(--blue-200);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   07 Cards & photo blocks
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: var(--space-4);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card p {
  font-size: 0.97rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* Photo / image block — real photography slots are marked explicitly */
.photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--navy-800), var(--navy-700) 55%, var(--blue-800));
  isolation: isolate;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

.photo__caption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 22, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--slate-200);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.photo__caption svg {
  width: 13px;
  height: 13px;
}

.photo__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}

.photo__icon svg {
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.4);
}

.photo--4x3 {
  aspect-ratio: 4 / 3;
}

.photo--16x9 {
  aspect-ratio: 16 / 9;
}

.photo--1x1 {
  aspect-ratio: 1 / 1;
}

.photo--3x2 {
  aspect-ratio: 3 / 2;
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.service-card .photo {
  border-radius: 0;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: 0.94rem;
  color: var(--slate-600);
  margin-bottom: var(--space-4);
}

.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--blue-700);
  text-decoration: none;
}

.service-card__link svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

.service-card__status {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Feature panel (navy) */
.feature-panel {
  padding: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--slate-300);
  position: relative;
  overflow: hidden;
}

.feature-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 200, 242, 0.22), transparent 68%);
}

.feature-panel h2,
.feature-panel h3 {
  color: var(--white);
}

.feature-panel p {
  color: var(--slate-300);
}

.feature-panel .eyebrow {
  background: rgba(22, 200, 242, 0.14);
  color: var(--cyan-500);
}

.feature-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.feature-list li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.16rem;
  color: var(--cyan-500);
}

/* --------------------------------------------------------------------------
   08 Lists, steps, methods
   -------------------------------------------------------------------------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.checklist li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--blue-600);
}

.checklist strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
  margin-bottom: 0.1rem;
}

.checklist span {
  font-size: 0.95rem;
  color: var(--slate-600);
}

.section--navy .checklist li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--navy .checklist strong {
  color: var(--white);
}

.section--navy .checklist span {
  color: var(--slate-300);
}

.section--navy .checklist svg {
  color: var(--cyan-500);
}

.numbered {
  list-style: none;
  counter-reset: cause;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.numbered li {
  margin: 0;
  counter-increment: cause;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.numbered li::before {
  content: counter(cause);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

.numbered h3 {
  margin-bottom: var(--space-2);
}

.numbered p {
  color: var(--slate-600);
  margin-bottom: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: step;
}

.steps li {
  margin: 0;
  counter-increment: step;
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 56px);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--space-5);
  top: var(--space-5);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps h3 {
  margin-bottom: var(--space-2);
}

.steps p {
  color: var(--slate-600);
  margin-bottom: 0;
}

.steps__step-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.2rem;
}

.scenario {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand-blue);
}

.scenario__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.scenario h3 {
  margin-bottom: var(--space-3);
}

.scenario p {
  color: var(--slate-600);
}

.scenario__blocks {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.scenario__blocks div {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.scenario__blocks dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.scenario__blocks dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--slate-600);
}

/* Method / technical card */
.method {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.method:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.method__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.method__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--brand-blue);
  border: 1px solid var(--blue-100);
}

.method__icon svg {
  width: 22px;
  height: 22px;
}

.method h3 {
  margin: 0;
  font-size: 1.04rem;
}

.method p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

.method__tag {
  margin-top: var(--space-4);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* Note / callout */
.note {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius);
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  font-size: 0.96rem;
}

.note__icon {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--blue-700);
}

.note h3 {
  color: var(--navy-900);
  margin-bottom: var(--space-1);
  font-size: 1.02rem;
}

.note p {
  color: var(--slate-700);
}

.note--accent,
.note--amber {
  border-color: var(--cyan-200);
  background: #f0fdff;
}

.note--accent .note__icon,
.note--amber .note__icon {
  color: var(--cyan-600);
}

.note--green,
.note--success {
  border-color: #bfe3cd;
  background: #f2fbf6;
}

.note--green .note__icon,
.note--success .note__icon {
  color: var(--green-700);
}

.note a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   09 Projects & gallery
   -------------------------------------------------------------------------- */
.gallery {
  position: relative;
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 340px);
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
}

.gallery__track > * {
  scroll-snap-align: start;
}

@media (min-width: 760px) {
  .gallery__track {
    grid-auto-columns: min(45%, 400px);
  }
}

@media (min-width: 1100px) {
  .gallery__track {
    grid-auto-columns: min(31%, 380px);
  }
}

.gallery__controls {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-4);
}

.gallery__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.gallery__btn:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--blue-700);
}

.gallery__btn svg {
  width: 18px;
  height: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 100%;
}

.project-card .photo {
  border-radius: 0;
}

.project-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.project-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10 Quote / enquiry form
   -------------------------------------------------------------------------- */
.quote-panel {
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.quote-panel--navy {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
}

.quote-panel--navy h2 {
  color: var(--white);
}

.quote-panel--navy .form-field label {
  color: var(--slate-200);
}

.quote-panel--navy .form-field input,
.quote-panel--navy .form-field select,
.quote-panel--navy .form-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.quote-panel--navy .form-field input::placeholder,
.quote-panel--navy .form-field textarea::placeholder {
  color: rgba(197, 203, 211, 0.7);
}

.quote-panel--navy .form-field select option {
  color: var(--slate-900);
}

.quote-panel--navy .form-consent {
  color: var(--slate-300);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field--full {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
}

.form-field label .req {
  color: var(--red-700);
}

.quote-panel--navy .form-field label .req {
  color: #ff9b91;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 118px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--shadow-focus);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-400);
}

.form-field .field-error {
  font-size: 0.82rem;
  color: var(--red-700);
  min-height: 1.1em;
}

.quote-panel--navy .form-field .field-error {
  color: #ff9b91;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--red-700);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--brand-blue);
}

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: var(--green-100);
  border: 1px solid #b7e2c8;
  color: var(--green-700);
}

.form-status--error {
  background: var(--red-100);
  border: 1px solid #f4c4c0;
  color: var(--red-700);
}

.form-note {
  margin-top: var(--space-3);
  font-size: 0.82rem;
  color: var(--slate-500);
}

.quote-panel--navy .form-note {
  color: var(--slate-400);
}

/* --------------------------------------------------------------------------
   11 FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 62rem;
  margin-inline: auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq details[open] {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq summary:hover {
  background: var(--slate-50);
}

.faq__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  transition: transform var(--transition), background var(--transition);
}

.faq__icon svg {
  width: 14px;
  height: 14px;
}

.faq details[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--blue-600);
  color: var(--white);
}

.faq__body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--slate-600);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   12 CTA band & footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 340px at 10% 120%, rgba(7, 139, 238, 0.34), transparent 62%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: var(--slate-300);
  padding-block: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.cta-band p {
  color: var(--slate-300);
  max-width: 58ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.contact-list li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list li:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.contact-list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  color: var(--cyan-500);
}

.contact-list a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding-block: var(--space-8) var(--space-6);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
}

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

@media (min-width: 1040px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: var(--space-7);
  }
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer li {
  margin: 0;
}

.site-footer a {
  color: var(--slate-300);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-4);
}

.footer-brand .brand__name {
  color: var(--white);
}

.footer-brand .brand__tag {
  color: var(--slate-400);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  margin-top: 0.3rem;
  color: var(--cyan-500);
}

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   13 Sticky mobile action bar
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--slate-200);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -6px 22px -10px rgba(6, 22, 47, 0.5);
}

.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.action-bar a svg {
  width: 1.05rem;
  height: 1.05rem;
}

.action-bar a.is-primary {
  background: var(--blue-700);
  color: var(--white);
}

.action-bar a.is-primary:hover {
  background: var(--blue-800);
  color: var(--white);
}

@media (min-width: 860px) {
  .action-bar {
    display: none;
  }
}

@media (max-width: 859px) {
  body {
    padding-bottom: 58px;
  }
}

/* --------------------------------------------------------------------------
   14 Utilities, motion & print
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.muted {
  color: var(--slate-600);
}

.small {
  font-size: 0.9rem;
}

.stack-sm > * + * {
  margin-top: var(--space-2);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.tag-list li {
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-size: 0.88rem;
  color: var(--slate-700);
}

.tag-list--dark li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--slate-200);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill--accent,
.pill--amber {
  background: var(--cyan-100);
  color: var(--cyan-600);
}

.pill--green {
  background: var(--green-100);
  color: var(--green-700);
}

.anchor-target {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose {
  max-width: 72ch;
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h3 {
  margin-top: var(--space-6);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .action-bar,
  .cta-band,
  .quote-panel,
  .gallery__controls {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
  }
}

/* --------------------------------------------------------------------------
   15 Homepage-only components
   -------------------------------------------------------------------------- */

/* Property-type cards on the navy band */
.property-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

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

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: var(--space-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
}

.property-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.property-card > * {
  position: relative;
  z-index: 1;
}

.property-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.property-card p {
  color: var(--slate-300);
  font-size: 0.93rem;
  margin-bottom: 0;
}

.property-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(22, 200, 242, 0.14);
  color: var(--cyan-500);
  margin-bottom: var(--space-4);
}

.property-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Article cards */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.article-card .photo {
  border-radius: 0;
}

.article-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.article-card h3 {
  font-size: 1.04rem;
  margin-bottom: 0;
}

.article-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

.article-card__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* Service-area map panel */
.area-panel {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 560px) {
  .area-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.area-map {
  width: 200px;
  height: 200px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-50), var(--white) 70%);
  border: 1px solid var(--slate-200);
  display: grid;
  place-items: center;
  position: relative;
}

.area-map svg {
  width: 78%;
  height: 78%;
}

.area-map__pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 6px rgba(7, 139, 238, 0.18);
}

.section-cta {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}
/* --------------------------------------------------------------------------
   16. Full-bleed hero slider (light variant)
   White base, full-width background images cross-fading on a 3 second cycle,
   medium-contrast white veil, black bold copy on top.
   -------------------------------------------------------------------------- */
.hero--light {
  background: var(--white);
  color: var(--slate-700);
  padding-block: 0;
  min-height: clamp(520px, 78vh, 780px);
  display: flex;
  align-items: stretch;
}

.hero--light .hero__grid {
  position: relative;
  z-index: 3;
  width: 100%;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: clamp(1.5rem, 0.8rem + 2vw, 2.5rem);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* A slide whose image failed to load is hidden entirely. */
.hero__slide.is-missing {
  display: none;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Medium-contrast veil â€” the photograph stays visible while black text keeps
   a readable contrast ratio. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.72) 34%,
    rgba(255, 255, 255, 0.42) 58%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

@media (max-width: 899px) {
  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.78) 45%,
      rgba(255, 255, 255, 0.42) 78%,
      rgba(255, 255, 255, 0.28) 100%
    );
  }
}

.hero--light h1 {
  color: #0b1220;
  font-weight: 700;
}

.hero--light h1 .h1-accent {
  color: var(--blue-700);
}

.hero--light .hero__headline {
  color: var(--blue-700);
  font-weight: 600;
}

.hero--light .hero__lede {
  color: #16202f;
  font-weight: 600;
}

.hero--light .eyebrow {
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}

.hero--light .hero__benefits li {
  color: #16202f;
}

.hero--light .hero__benefits svg {
  background: var(--blue-100);
  color: var(--blue-700);
}

.hero--light .hero__note {
  color: var(--slate-600);
  border-top-color: var(--slate-200);
}

.hero--light .hero__note strong {
  color: #16202f;
}

.hero--light .hero__stat-num {
  color: var(--blue-700);
}

.hero--light .hero__stat-label {
  color: var(--slate-600);
}

.hero--light .hero__figure {
  display: none;
}

/* Breadcrumb on the light hero */
.breadcrumb--light {
  color: var(--slate-600);
}

.breadcrumb--light li + li::before {
  color: var(--slate-400);
}

.breadcrumb--light a {
  color: var(--blue-700);
}

.breadcrumb--light a:hover {
  color: var(--navy-900);
}

.hero--light .btn--outline-light {
  color: var(--navy-900);
  border-color: var(--slate-300);
  background: rgba(255, 255, 255, 0.75);
}

.hero--light .btn--outline-light:hover {
  background: var(--white);
  border-color: var(--navy-900);
  color: var(--navy-900);
}

/* Slide controls */
.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 0.4rem + 1.6vw, 2rem);
  z-index: 4;
}

.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__dots li {
  margin: 0;
}

.hero__dot {
  display: block;
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(11, 18, 32, 0.24);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero__dot[aria-current="true"] {
  background: var(--blue-700);
  width: 52px;
}

.hero__arrows {
  display: flex;
  gap: 0.5rem;
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--slate-300);
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-900);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.hero__arrow:hover {
  background: var(--white);
  border-color: var(--navy-900);
}

.hero__arrow svg {
  width: 17px;
  height: 17px;
}

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

/* --------------------------------------------------------------------------
   17. Brand logo
   -------------------------------------------------------------------------- */
.brand__mark {
  width: auto;
  height: 52px;
  flex: none;
}

.brand__mark img,
.brand__mark svg {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: 232px;
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer-brand {
  margin-bottom: 0;
}

