/* ==========================================================================
   DJ Junk Solutions - site styles
   Edit this file, then run `npm run build:assets` to regenerate styles.min.css
   (the file the pages actually load).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --c-black: #050505;
  --c-charcoal: #15171a;
  --c-charcoal-2: #1d2126;
  --c-blue: #1674e8;
  --c-blue-bright: #238bff;
  --c-silver: #bfc5cc;
  --c-gray-soft: #edf1f5;
  --c-white: #ffffff;

  /* Derived surfaces */
  --surface-page: var(--c-white);
  --surface-muted: var(--c-gray-soft);
  --surface-dark: var(--c-black);
  --surface-dark-2: var(--c-charcoal);
  --surface-card: var(--c-white);

  /* Text */
  --text-strong: #0b0d0f;
  --text-body: #3d454e;
  --text-muted: #6a7480;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #aeb6c0;

  /* Lines */
  --line: #dde3ea;
  --line-dark: #2a2f36;

  /* Accents */
  --accent: var(--c-blue);
  --accent-hi: var(--c-blue-bright);
  --accent-grad: linear-gradient(135deg, #1674e8 0%, #238bff 100%);
  --accent-soft: rgba(22, 116, 232, 0.1);

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --wrap-narrow: 860px;
  --gutter: 20px;
  --section-y: clamp(60px, 8vw, 108px);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(5, 8, 12, 0.06), 0 2px 8px rgba(5, 8, 12, 0.05);
  --shadow: 0 6px 18px rgba(5, 8, 12, 0.09), 0 2px 6px rgba(5, 8, 12, 0.05);
  --shadow-lg: 0 22px 50px rgba(5, 8, 12, 0.16), 0 6px 16px rgba(5, 8, 12, 0.08);
  --shadow-blue: 0 12px 30px rgba(22, 116, 232, 0.32);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;

  /* Chrome */
  --header-h: 78px;
  --z-header: 100;
  --z-float: 90;
  --z-menu: 200;
  --z-lightbox: 300;
}

@media (min-width: 700px) {
  :root { --gutter: 28px; }
}

/* Honeycomb + tread textures, echoing the emblem. */
:root {
  --tex-honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cg fill='none' stroke='%231674e8' stroke-opacity='.16' stroke-width='1.1'%3E%3Cpath d='M28 0 L52 14 L52 42 L28 56 L4 42 L4 14 Z'/%3E%3Cpath d='M0 48 L24 62 L24 90 L0 104'/%3E%3Cpath d='M56 48 L32 62 L32 90 L56 104'/%3E%3C/g%3E%3C/svg%3E");
  --tex-tread: repeating-linear-gradient(
    -60deg,
    rgba(255, 255, 255, 0.05) 0 3px,
    rgba(255, 255, 255, 0) 3px 12px
  );
}

/* --------------------------------------------------------------------------
   3. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.35rem, 6.2vw, 4.35rem); letter-spacing: -0.004em; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.05rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.72rem); }
h4 { font-size: 1.16rem; }

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--accent-hi); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }

strong, b { color: var(--text-strong); font-weight: 650; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4rem 0;
}

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

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--c-blue);
  color: #fff;
  font-weight: 650;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 5.5vw, 72px); }

.section--muted { background: var(--surface-muted); }
.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--text-on-dark); }
.section--dark strong { color: #fff; }
.section--dark a { color: var(--accent-hi); }

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-honeycomb);
  opacity: 0.5;
  pointer-events: none;
}
.section--dark > * { position: relative; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.stack > * + * { margin-top: 1.1rem; }

/* Section headings ------------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.06rem; }
.sec-head .eyebrow { margin-bottom: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--accent-grad);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent-hi); }

.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
  line-height: 1.62;
  color: var(--text-body);
}
.section--dark .lede { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent-grad);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); color: #fff; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  border: 2px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}
/* Every dark surface: header bar, hero, page hero, CTA band, drawer. */
.section--dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.cta-band .btn--ghost,
.site-header .btn--ghost,
.mobile-nav .btn--ghost {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.site-header .btn--ghost:hover,
.mobile-nav .btn--ghost:hover {
  border-color: var(--accent-hi);
  background: rgba(35, 139, 255, 0.16);
  color: #fff;
}

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur) var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
  padding-block: 8px;
}
.brand img { width: 152px; height: auto; }
.brand__text { display: none; }

.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav__list li { margin: 0; }

.primary-nav a {
  position: relative;
  display: block;
  padding: 10px 13px;
  color: #e8ecf1;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: #fff; }

/* Dropdown ---------------------------------------------------------------- */
.has-sub { position: relative; }
.has-sub__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.has-sub__toggle svg { transition: transform var(--dur) var(--ease); }
.has-sub[data-open="true"] .has-sub__toggle svg { transform: rotate(180deg); }

.sub-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #101317;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}
.has-sub[data-open="true"] .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-nav a {
  padding: 9px 12px;
  font-size: 1rem;
  letter-spacing: 0.045em;
  color: #cfd6de;
}
.sub-nav a::after { display: none; }
.sub-nav a:hover { background: rgba(35, 139, 255, 0.14); color: #fff; }

.header-cta { display: none; flex: none; gap: 10px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), top 0.2s var(--ease);
}
.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); }

/* Mobile drawer ----------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--c-black);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav[data-open="true"] { visibility: visible; opacity: 1; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav__body {
  overflow-y: auto;
  padding: 22px var(--gutter) 40px;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(14px);
}
.mobile-nav[data-open="true"] li {
  animation: navItemIn 0.42s var(--ease) forwards;
}
@keyframes navItemIn {
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a,
.mobile-nav .has-sub__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav .sub-nav {
  position: static;
  display: none;
  min-width: 0;
  margin: 0 0 12px;
  padding: 0 0 0 14px;
  background: none;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-nav .has-sub[data-open="true"] .sub-nav { display: block; }
.mobile-nav .sub-nav li { border-bottom: 0; }
.mobile-nav .sub-nav a {
  padding: 9px 2px;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--c-silver);
  letter-spacing: 0.04em;
}
.mobile-nav__cta { display: grid; gap: 12px; margin-top: 26px; }
.mobile-nav__meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .header-cta { display: flex; }
  .brand img { width: 168px; }
}
@media (max-width: 1079px) {
  .primary-nav { display: none; }
}

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-black);
  color: #fff;
  padding-block: clamp(56px, 9vw, 112px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.72) 38%, rgba(5, 5, 5, 0.94) 100%),
    linear-gradient(100deg, rgba(5, 5, 5, 0.96) 12%, rgba(5, 5, 5, 0.42) 62%, rgba(22, 116, 232, 0.26) 100%);
}
.hero__tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--tex-honeycomb);
  opacity: 0.42;
  pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: 0.34em; }
.hero h1 .accent {
  background: linear-gradient(120deg, #238bff 0%, #7fc0ff 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__inner { max-width: 760px; }
.hero__logo {
  width: clamp(190px, 30vw, 296px);
  margin-bottom: clamp(18px, 3vw, 30px);
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.6));
}
.hero__sub {
  max-width: 620px;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.6;
  color: #d7dde5;
}
.hero .btn-row { margin-top: clamp(22px, 3vw, 34px); }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: clamp(26px, 3.6vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}
.hero__chips li {
  margin: 0;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e3e8ee;
  backdrop-filter: blur(4px);
}

/* Ambient hero motion ----------------------------------------------------- */
.hero__sweep {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 55%;
  height: 180%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(35, 139, 255, 0.13) 45%, transparent 100%);
  filter: blur(28px);
  animation: heroSweep 11s var(--ease) infinite;
  pointer-events: none;
}
@keyframes heroSweep {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(190%); opacity: 1; }
}
.hero__motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__motes span {
  position: absolute;
  bottom: -12px;
  width: 5px;
  height: 5px;
  background: rgba(191, 197, 204, 0.5);
  border-radius: 1px;
  animation: mote linear infinite;
}
@keyframes mote {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.75; }
  100% { transform: translate3d(58px, -104vh, 0) rotate(340deg); opacity: 0; }
}

/* Page hero (interior pages) --------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-black);
  color: #fff;
  padding-block: clamp(44px, 6.5vw, 88px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.78) 60%, rgba(5, 5, 5, 0.95) 100%),
    linear-gradient(95deg, rgba(5, 5, 5, 0.95) 10%, rgba(5, 5, 5, 0.5) 70%, rgba(22, 116, 232, 0.28) 100%);
}
.page-hero__tex {
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--tex-honeycomb);
  opacity: 0.38;
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero__sub { max-width: 660px; color: #cfd6df; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.page-hero .btn-row { margin-top: 26px; }

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs { margin-bottom: 18px; font-size: 0.9rem; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 7px; color: #9aa3ad; }
.breadcrumbs li + li::before { content: "/"; color: #5c646e; }
.breadcrumbs a { color: #c6ced7; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-hi); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Quick contact strip
   -------------------------------------------------------------------------- */
.quickbar {
  position: relative;
  background: var(--c-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.quickbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tex-tread);
  opacity: 0.5;
}
.quickbar__grid {
  position: relative;
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.07);
}
.quickbar__item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px var(--gutter);
  background: var(--c-charcoal);
  color: #fff;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.quickbar__item:hover { background: #1f242a; color: #fff; }
.quickbar__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.quickbar__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-silver);
}
.quickbar__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  word-break: break-word;
}
@media (min-width: 760px) {
  .quickbar__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c8d2de; }

.card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-charcoal);
  aspect-ratio: 4 / 3;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.card:hover .card__media::after { opacity: 1; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__body h3 { margin-bottom: 0.42em; }
.card__body p { color: var(--text-body); font-size: 1rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 16px; }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card__index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(22, 116, 232, 0.12);
  pointer-events: none;
}

/* Dark variants ----------------------------------------------------------- */
.section--dark .card {
  background: var(--c-charcoal);
  border-color: var(--line-dark);
  box-shadow: none;
}
.section--dark .card:hover { border-color: rgba(35, 139, 255, 0.5); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5); }
.section--dark .card__body p { color: var(--text-on-dark-muted); }
.section--dark .card__icon { background: rgba(35, 139, 255, 0.15); color: var(--accent-hi); }
.section--dark .card__index { color: rgba(255, 255, 255, 0.07); }

/* Service card with full-bleed media -------------------------------------- */
.svc-card { text-decoration: none; color: inherit; }
.svc-card:hover { color: inherit; }
.svc-card .card__body h3 { color: var(--text-strong); transition: color var(--dur) var(--ease); }
.svc-card:hover .card__body h3 { color: var(--accent); }
.section--dark .svc-card .card__body h3 { color: #fff; }
.section--dark .svc-card:hover .card__body h3 { color: var(--accent-hi); }

/* Feature list ------------------------------------------------------------ */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231674e8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .feature-list li::before {
  background-color: rgba(35, 139, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23238bff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   10. Split media sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.35;
  z-index: -1;
}

.media-badge {
  position: absolute;
  left: -8px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 78%;
  padding: 14px 20px;
  background: var(--c-black);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}
.media-badge span { font-size: 0.86rem; color: var(--c-silver); }

/* --------------------------------------------------------------------------
   11. Process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.section--dark .step { background: var(--c-charcoal); border-color: var(--line-dark); box-shadow: none; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
}
.step h3 { margin-top: 14px; font-size: 1.24rem; }
.step p { font-size: 0.98rem; margin: 0; }
.section--dark .step p { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   12. Stat / trust row
   -------------------------------------------------------------------------- */
.trust-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.trust {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}
.trust svg { flex: none; color: var(--accent-hi); }
.trust h3 { font-size: 1.16rem; margin-bottom: 0.3em; }
.trust p { margin: 0; font-size: 0.96rem; color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   13. Gallery
   -------------------------------------------------------------------------- */
.gallery-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 780px;
  margin: 0 auto clamp(28px, 3.4vw, 42px);
  padding: 16px 20px;
  background: var(--accent-soft);
  border: 1px solid rgba(22, 116, 232, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  color: var(--text-body);
}
.gallery-note svg { flex: none; color: var(--accent); margin-top: 2px; }
.section--dark .gallery-note {
  background: rgba(35, 139, 255, 0.1);
  border-color: rgba(35, 139, 255, 0.32);
  border-left-color: var(--accent-hi);
  color: var(--text-on-dark-muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.filter {
  padding: 9px 18px;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--text-body);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter[aria-pressed="true"] {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-charcoal);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.88));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.gallery-item:hover .gallery-item__cap { transform: translateY(0); opacity: 1; }
.gallery-item__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.68);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--dur) var(--ease);
}
.gallery-item:hover .gallery-item__zoom,
.gallery-item:focus-visible .gallery-item__zoom { opacity: 1; transform: scale(1); }
.gallery-item[hidden] { display: none; }

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(3, 4, 6, 0.96);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), visibility 0.26s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  color: var(--c-silver);
  font-size: 0.92rem;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(12px, 6vw, 76px);
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.lightbox__foot {
  padding: 16px var(--gutter) 28px;
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox__btn:hover { background: var(--accent); transform: scale(1.06); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--prev { left: clamp(6px, 2vw, 20px); }
.lightbox__nav--next { right: clamp(6px, 2vw, 20px); }

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[data-open="true"] { border-color: rgba(22, 116, 232, 0.42); box-shadow: var(--shadow); }
.section--dark .faq__item { background: var(--c-charcoal); border-color: var(--line-dark); }
.section--dark .faq__item[data-open="true"] { border-color: rgba(35, 139, 255, 0.5); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1.9vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.section--dark .faq__q { color: #fff; }
.faq__q svg { flex: none; color: var(--accent); transition: transform var(--dur) var(--ease); }
.faq__item[data-open="true"] .faq__q svg { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; margin: 0; }
.faq__a p + p { padding-top: 12px; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.4vw, 44px);
}
.form-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 15px 18px;
  background: var(--surface-muted);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
}
.form-note svg { flex: none; color: var(--accent); margin-top: 2px; }

fieldset { margin: 0 0 26px; padding: 0; border: 0; }
fieldset:last-of-type { margin-bottom: 18px; }
legend {
  padding: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.field-grid { display: grid; gap: 18px; }
@media (min-width: 700px) {
  .field-grid--2 { grid-template-columns: 1fr 1fr; }
  .field-grid--2 .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: 0.03em;
  color: var(--text-strong);
}
.field .req { color: #cf2b2b; }
.field .hint { font-size: 0.84rem; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1.6px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a7480' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 116, 232, 0.18);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #cf2b2b;
  box-shadow: 0 0 0 3px rgba(207, 43, 43, 0.14);
}
.field__error {
  min-height: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b81f1f;
}
.field__error:empty { display: none; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
}
.consent input {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  accent-color: var(--c-blue);
}
.consent label { cursor: pointer; }

/* Honeypot - kept out of view and out of the tab order. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-size: 0.98rem;
}
.form-status:empty { display: none; padding: 0; border: 0; }
.form-status[data-state="error"] { background: #fdf0f0; border-color: #cf2b2b; color: #7d1717; }
.form-status[data-state="ok"] { background: #eefaf1; border-color: #1e9e4a; color: #10592b; }
.form-status[data-state="busy"] { background: var(--surface-muted); border-color: var(--accent); color: var(--text-body); }
.form-status a { font-weight: 650; }

.btn[data-busy="true"] { pointer-events: none; opacity: 0.72; }
.btn__spinner {
  width: 17px;
  height: 17px;
  border: 2.4px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Photo upload ------------------------------------------------------------ */
.dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 26px 20px;
  background: var(--surface-muted);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.dropzone:hover,
.dropzone.is-drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { color: var(--accent); }
.dropzone strong { font-family: var(--font-display); font-size: 1.16rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dropzone span { font-size: 0.86rem; color: var(--text-muted); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 0; list-style: none; }
.thumbs li { position: relative; margin: 0; }
.thumbs img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.thumbs button {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 50%;
  background: var(--c-black);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.thumbs button:hover { background: #cf2b2b; }

/* --------------------------------------------------------------------------
   16. Contact detail cards
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.25em; }
.contact-card p { margin: 0; font-size: 0.98rem; word-break: break-word; }
.contact-card .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}

.pending-note {
  padding: 18px 20px;
  background: var(--surface-muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.94rem;
}
.pending-note strong { color: var(--text-body); }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-black);
  color: #fff;
  padding-block: clamp(52px, 7vw, 88px);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -3; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 20%, rgba(5, 5, 5, 0.72) 60%, rgba(22, 116, 232, 0.4) 100%);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--tex-honeycomb);
  opacity: 0.4;
}
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { max-width: 56ch; color: #d3dae2; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--c-charcoal);
  color: var(--text-on-dark-muted);
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 3px solid var(--accent);
  font-size: 0.97rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-honeycomb);
  opacity: 0.35;
  pointer-events: none;
}
.site-footer > * { position: relative; }
.site-footer h3 {
  font-size: 1.14rem;
  letter-spacing: 0.11em;
  color: #fff;
  margin-bottom: 1.1em;
}
.site-footer a { color: #c4ccd6; text-decoration: none; }
.site-footer a:hover { color: var(--accent-hi); }

.footer-grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
  padding-bottom: clamp(34px, 4vw, 52px);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.6em; }

.footer-contact { display: grid; gap: 14px; }
.footer-contact a,
.footer-contact div { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--accent-hi); margin-top: 3px; }
.footer-contact .value { display: block; color: #fff; font-weight: 600; }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all var(--dur) var(--ease);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
/* Build credit, sitting alongside the copyright line. */
.footer-credit {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}
.footer-credit a {
  color: #d3dae3;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-credit a:hover {
  color: var(--accent-hi);
  border-bottom-color: var(--accent-hi);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-bottom li { margin: 0; }

/* --------------------------------------------------------------------------
   19. Floating conversion buttons
   -------------------------------------------------------------------------- */
.float-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.float-btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 36px rgba(22, 116, 232, 0.44); }
.float-btn--dark { background: var(--c-black); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
.float-btn--dark:hover { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5); }
.float-btn--icon { width: 54px; padding: 0; justify-content: center; }

.to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }

/* Mobile action bar - phone, quote, email pinned to the safe area. */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-float);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.34);
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  padding: 8px 6px;
  background: var(--c-black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}
.action-bar a:nth-child(2) { background: var(--accent-grad); }
.action-bar a:active { filter: brightness(1.2); }

@media (max-width: 767px) {
  body { padding-bottom: 62px; }
  .float-dock { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .float-btn:not(.to-top) { display: none; }
}
@media (min-width: 768px) {
  .action-bar { display: none; }
}

/* --------------------------------------------------------------------------
   20. Legal / long-form content
   -------------------------------------------------------------------------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.24rem; }
.prose ul { padding-left: 1.35em; }

.admin-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 1.4em 0;
  padding: 16px 20px;
  background: #fff8e8;
  border: 1px solid #f0d79a;
  border-left: 4px solid #d99b18;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
  color: #6b4c0c;
}
.admin-note svg { flex: none; margin-top: 2px; color: #b8830f; }
.admin-note strong { color: #6b4c0c; }

.toc {
  padding: 20px 24px;
  margin-bottom: 2.4em;
  background: var(--surface-muted);
  border-radius: var(--radius);
}
.toc h2 { margin: 0 0 0.7em; font-size: 1.16rem; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 0.35em; }

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 68vh;
  padding-block: clamp(48px, 8vw, 100px);
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 700;
  line-height: 0.85;
  background: linear-gradient(150deg, #238bff 0%, #1674e8 45%, #bfc5cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   23. Reduced motion and low-power devices
   -------------------------------------------------------------------------- */
@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; }
  .hero__sweep,
  .hero__motes { display: none; }
}

/* Devices that report few cores get the ambient effects switched off in JS. */
.low-power .hero__sweep,
.low-power .hero__motes { display: none; }
.low-power .card:hover,
.low-power .btn:hover { transform: none; }

@media print {
  .site-header, .float-dock, .action-bar, .mobile-nav, .lightbox { display: none !important; }
  body { padding-bottom: 0; }
  .section--dark, .hero, .page-hero, .cta-band { background: #fff !important; color: #000 !important; }
}
