/* =========================================================
   ClearFlow Plumbing — "DARK PRECISION"
   Industrial confidence × premium minimalism.
   ========================================================= */

:root {
  --bg:        #0A0F1E;   /* near-black navy */
  --surface:   #111827;   /* card / alt section */
  --accent:    #66e5ff;   /* the ONE accent */
  --accent-dk: #00BEE6;   /* primary hover (10% darker) */
  --accent-10: rgba(0,212,255,.10);
  --text:      #FFFFFF;
  --muted:     #94A3B8;
  --border:    #1E293B;

  --radius:    4px;
  --radius-lg: 12px;

  --maxw:      1200px;
  --gutter:    clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Bebas Neue', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 9vw, 120px); position: relative; }
.section--alt { background: var(--surface); }
.section--divider { border-top: 1px solid var(--border); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text); }
.h-display { font-size: clamp(3.2rem, 8vw, 7.5rem); line-height: 0.92; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: 0.6px; }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.4rem); }
/* DM Sans variant for card titles that should not be condensed caps */
.title-sans { font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: -0.01em; line-height: 1.25; }
p  { color: var(--muted); font-size: 1rem; line-height: 1.75; font-weight: 300; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--muted); font-weight: 300; }

/* eyebrow + signature cyan line */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;        /* 11px */
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; display: block; width: 60px; height: 2px; background: var(--accent); margin-bottom: 22px; }

.section-head { max-width: 760px; }
.section-head h2 { margin-top: 0; }
.section-head p { margin-top: 1.2rem; }
.section-head--center { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.82rem; line-height: 1;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn--ghost, .btn--outline, .btn--ghost-light { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover, .btn--outline:hover, .btn--ghost-light:hover { background: var(--accent-10); }
.btn--lg { padding: 17px 38px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .3px;
  transition: gap .2s var(--ease);
}
.textlink:hover { gap: .75em; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-stuck {
  background: rgba(10,15,30,.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 1px; color: #fff; line-height: 1; padding-top: 4px; }
.brand span { position: relative; }
.brand span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.1rem; height: 2px; background: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: .9rem; }

/* dropdown */
.nav__dd { position: relative; }
.nav__dd-toggle { display: inline-flex; align-items: center; gap: .4em; background: none; border: none; }
.nav__dd-toggle .caret { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.nav__dd.is-open .nav__dd-toggle .caret { transform: rotate(180deg); }
.nav__dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: rgba(17,24,39,.98); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 8px; padding-top: 22px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.nav__dd.is-open .nav__dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dd-item { display: flex; flex-direction: column; gap: 3px; padding: 0.7rem 0.9rem; border-radius: var(--radius); transition: background .15s var(--ease); }
.nav__dd-item:hover { background: var(--bg); }
.nav__dd-item strong { font-size: 0.92rem; font-weight: 600; color: #fff; }
.nav__dd-item span { font-size: 0.8rem; color: var(--muted); font-weight: 300; }

/* burger → X */
.nav__burger { display: none; flex-direction: column; gap: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; z-index: 210; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav.is-mobile-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-mobile-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-mobile-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,15,30,.92) 0%, rgba(10,15,30,.75) 100%); }
.hero__inner { flex: 1; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); }
.hero__content { max-width: 700px; }
.hero h1 { color: #fff; font-size: clamp(3.5rem, 9vw, 6rem); line-height: 0.9; letter-spacing: 1px; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { color: var(--muted); font-size: 1.125rem; max-width: 520px; margin-top: 1.8rem; line-height: 1.7; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.6rem; }
.hero__eyebrow { color: var(--accent); }

/* hero trust strip */
.hero__trust { border-top: 1px solid var(--border); }
.hero__trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.htrust { padding: 1.6rem 0; padding-inline: clamp(1rem, 3vw, 2.2rem); border-left: 1px solid var(--border); }
.htrust:first-child { border-left: none; padding-left: 0; }
.htrust__top { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: #fff; font-size: 0.95rem; }
.htrust__top .ico { color: var(--accent); }
.htrust__desc { color: var(--muted); font-size: 0.82rem; font-weight: 300; margin-top: .15rem; }

/* =========================================================
   GRID
   ========================================================= */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.mt-grid { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Service cards ---------- */
.scard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 1.9rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.scard:hover { transform: translateY(-4px); border-color: var(--accent); }
.scard__marker { width: 8px; height: 8px; background: var(--accent); margin-bottom: 1.6rem; }
.scard h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; color: #fff; margin-bottom: .65rem; }
.scard p { font-size: 0.9rem; flex: 1; margin-bottom: 1.4rem; }

/* ---------- Feature blocks ---------- */
.feature { display: flex; gap: 1.3rem; padding: 1.9rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); transition: border-color .25s var(--ease); }
.section--alt .feature { background: var(--bg); }
.feature:hover { border-color: var(--accent); }
.feature__ico { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.feature h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.1rem; letter-spacing: -0.01em; color: #fff; margin-bottom: .45rem; line-height: 1.3; }
.feature p { font-size: 0.92rem; }

/* =========================================================
   SPLIT
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.split__body p + p { margin-top: 1.1rem; }
.split__body .btn, .split__body .textlink { margin-top: 1.9rem; }

/* =========================================================
   STATS — the ONE cyan takeover
   ========================================================= */
.statsband { background: var(--accent); }
.statsband .stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.statsband .stat { text-align: center; padding: clamp(2.5rem,5vw,3.5rem) 1rem; border-left: 1px solid rgba(10,15,30,.16); }
.statsband .stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; color: var(--bg); letter-spacing: 1px; }
.stat__label { margin-top: .7rem; color: rgba(10,15,30,.72); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================================
   TEAM
   ========================================================= */
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease); }
.tcard:hover { border-color: var(--accent); }
.tcard__photo { aspect-ratio: 1; background: var(--bg); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: filter .3s var(--ease); }
.tcard:hover .tcard__photo img { filter: grayscale(0%); }
.tcard__body { padding: 1.6rem 1.6rem 1.8rem; }
.tcard__role { font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.tcard h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.2rem; letter-spacing: -0.01em; color: #fff; margin: .55rem 0 .7rem; }
.tcard p { font-size: 0.9rem; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gitem { position: relative; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; background: var(--surface); border: 1px solid var(--border); }
.gallery-grid .gitem { aspect-ratio: 1; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s var(--ease); filter: grayscale(20%); }
.gitem:hover img { transform: scale(1.05); filter: grayscale(0%); }
.gitem__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(10,15,30,.92));
  color: #fff; font-size: 0.85rem; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gitem:hover .gitem__cap { opacity: 1; transform: translateY(0); }

/* masonry (gallery page) */
.masonry { columns: 4; column-gap: 1rem; }
.masonry .gitem { display: inline-block; width: 100%; margin-bottom: 1rem; break-inside: avoid; }
.masonry .gitem img { height: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,8,14,.95); display: none; align-items: center; justify-content: center; padding: 4vw; opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(6px); }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.lightbox__cap { position: absolute; bottom: 5vh; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.95rem; font-weight: 500; letter-spacing: .3px; }
.lightbox__close { position: absolute; top: 4vh; right: 5vw; width: 48px; height: 48px; border-radius: 50%; background: transparent; border: 1px solid var(--border); color: #fff; font-size: 1.4rem; display: grid; place-items: center; transition: border-color .2s var(--ease), color .2s; }
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: transparent; border: 1px solid var(--border); color: #fff; font-size: 1.3rem; display: grid; place-items: center; transition: border-color .2s var(--ease), color .2s; }
.lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }

/* filter pills */
.filters { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.4rem; }
.filter { padding: 0.62rem 1.4rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); transition: all .2s var(--ease); }
.filter:hover { border-color: var(--accent); color: #fff; }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 2.4rem 2rem 2rem; display: flex; flex-direction: column; }
.quote::before { content: "\201C"; position: absolute; top: -0.35em; right: 0.2em; font-family: var(--font-display); font-size: 7.5rem; line-height: 1; color: var(--accent); opacity: 0.3; pointer-events: none; }
.quote__stars { color: var(--accent); letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 1.1rem; }
.quote__text { position: relative; color: #fff; font-size: 1.25rem; line-height: 1.55; font-weight: 400; font-style: italic; flex: 1; }
.quote__by { margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.quote__by strong { color: #fff; font-weight: 600; font-style: normal; }
.quote__by .dash { color: var(--accent); }

/* =========================================================
   BOOKING / CONTACT
   ========================================================= */
.contact-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: #fff;
  padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field select option { background: var(--surface); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #52617A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-10); }
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #FF5A5F; box-shadow: 0 0 0 3px rgba(255,90,95,.12); }
.field__err { font-size: 0.78rem; color: #FF7479; font-weight: 500; display: none; }
.field.has-error .field__err { display: block; }
.form__note { font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.form-success { display: none; padding: 1rem 1.2rem; background: var(--accent-10); border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.form-success.is-visible { display: block; }

.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem 2rem; }
.contact-info h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; color: #fff; margin-bottom: 1.6rem; font-size: 1.2rem; letter-spacing: -.01em; }
.cinfo { display: flex; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--border); }
.cinfo:first-of-type { border-top: none; padding-top: 0; }
.cinfo .ico { font-size: 1.1rem; flex: 0 0 auto; }
.cinfo__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: .25rem; }
.cinfo__val { color: #fff; font-weight: 400; font-size: 0.98rem; }
.cinfo__val a:hover { color: var(--accent); }
.map-strip { margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; height: 160px; border: 1px solid var(--border); }
.map-strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%) brightness(.8); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); border-top: 1px solid var(--border); color: var(--muted); padding-top: clamp(56px, 7vw, 84px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer .brand { color: #fff; font-size: 1.9rem; }
.footer__tag { margin-top: 1.2rem; max-width: 330px; color: var(--muted); font-size: 0.95rem; font-weight: 300; }
.footer__col h4 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; color: #fff; font-size: 0.72rem; letter-spacing: 2px; margin-bottom: 1.2rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer__col a { color: var(--muted); font-size: 0.92rem; font-weight: 300; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.8rem; font-size: 0.82rem; color: #52617A; font-weight: 300; }

/* =========================================================
   PAGE HERO (subpages)
   ========================================================= */
.page-hero { position: relative; min-height: clamp(440px, 60vh, 600px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,15,30,.92) 0%, rgba(10,15,30,.72) 100%); }
.page-hero__content { padding-block: clamp(48px, 7vw, 90px); padding-top: calc(var(--nav-h) + 40px); max-width: 780px; }
.page-hero h1 { color: #fff; }
.page-hero__desc { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-top: 1.4rem; max-width: 620px; font-weight: 300; }
.page-hero .btn { margin-top: 2.2rem; }
.breadcrumb { display: flex; gap: .55rem; align-items: center; font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: #3A4760; }

.prose { max-width: 780px; }
.prose h2 { margin-bottom: 1.2rem; }
.prose p + p { margin-top: 1.1rem; }

.steps { display: grid; gap: 1rem; margin-top: 2rem; }
.step { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.5rem 1.7rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color .25s var(--ease); }
.step:hover { border-color: var(--accent); }
.step__num { flex: 0 0 auto; width: 46px; height: 46px; font-family: var(--font-display); border-radius: 50%; background: transparent; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; padding-top: 3px; }
.step h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.08rem; letter-spacing: -.01em; color: #fff; margin-bottom: .35rem; line-height: 1.3; }
.step p { font-size: 0.92rem; }

.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-top: 1.8rem; }
.includes li { display: flex; gap: .8rem; align-items: flex-start; font-size: 0.98rem; color: #fff; font-weight: 400; }
.includes .check { color: var(--accent); font-weight: 700; flex: 0 0 auto; }

.priceguide { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 1.9rem 2rem; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 1rem; }
.priceguide__amt { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); color: var(--accent); letter-spacing: 1px; line-height: 1; }
.priceguide__txt { color: var(--muted); font-weight: 300; flex: 1; min-width: 240px; font-size: 0.95rem; }

.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.faq__q .plus { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq__q .plus::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq__q .plus::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); transition: opacity .3s var(--ease); }
.faq__item.is-open .plus::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; }

.subsection { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.subsection-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.subsection-label::before { content: ""; display: block; width: 60px; height: 2px; background: var(--accent); margin-bottom: 18px; }

/* CTA block */
.ctablock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; color: #fff; }
.ctablock .eyebrow { display: inline-block; }
.ctablock .eyebrow::before { margin-inline: auto; }
.ctablock h2 { color: #fff; }
.ctablock p { color: var(--muted); margin: 1.2rem auto 2rem; max-width: 560px; }
.ctablock .btn { margin-inline: .4rem; margin-bottom: .5rem; }

/* values */
.vcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.8rem; transition: border-color .25s var(--ease); }
.vcard:hover { border-color: var(--accent); }
.vcard__marker { width: 8px; height: 8px; background: var(--accent); margin-bottom: 1.5rem; }
.vcard h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.15rem; letter-spacing: -.01em; color: #fff; margin-bottom: .55rem; }
.vcard p { font-size: 0.92rem; }

/* certifications */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cert { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem; background: var(--surface); transition: border-color .25s var(--ease); }
.cert:hover { border-color: var(--accent); }
.cert__badge { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 1.1rem; border-radius: var(--radius); background: transparent; border: 1.5px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 1.5px; margin-bottom: 1.2rem; }
.cert h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; margin-bottom: .4rem; }
.cert p { font-size: 0.9rem; }

/* hiring banner */
.hiring { background: var(--accent); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 3.5rem); color: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hiring h2 { color: var(--bg); }
.hiring p { color: rgba(10,15,30,.78); margin-top: 1rem; max-width: 540px; font-weight: 400; }
.hiring .btn { background: var(--bg); color: var(--accent); border-color: var(--bg); }
.hiring .btn:hover { background: #000; border-color: #000; }

/* =========================================================
   MOBILE STICKY BAR
   ========================================================= */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; padding: 12px var(--gutter); gap: 10px; background: rgba(10,15,30,.96); backdrop-filter: blur(20px); border-top: 1px solid var(--border); }
.mobile-bar .btn { flex: 1; padding: 14px 10px; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .stat__label { letter-spacing: 1.5px; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .contact-split { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .statsband .stats { grid-template-columns: repeat(2, 1fr); }
  .statsband .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(10,15,30,.16); }
  .statsband .stat:nth-child(odd) { border-left: none; }
  .hero__trust-inner { grid-template-columns: repeat(2, 1fr); }
  .htrust:nth-child(odd) { border-left: none; padding-left: 0; }
  .htrust { border-top: 1px solid var(--border); }
  .htrust:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }

  /* solid background when menu is open */
  .nav.is-mobile-open { background: rgba(10,15,30,.95); backdrop-filter: blur(20px); border-bottom-color: var(--border); }

  /* slide-in panel — full viewport height, content starts flush below nav bar */
  .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; 
    width: min(80vw, 340px);
    height: 100vh;
    background: var(--bg); border-left: 1px solid var(--border);
    padding: var(--nav-h) 2rem 2rem;
    transform: translateX(100%); transition: transform .35s var(--ease);
    z-index: 190; overflow-y: auto;
  }
  .nav.is-mobile-open .nav__links { transform: translateX(0); }

  /* flex-shrink: 0 prevents items from compressing inside the scrollable panel */
  .nav__link { flex-shrink: 0; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
  .nav__link.is-active::after { display: none; }
  .nav__dd { width: 100%; flex-shrink: 0; }
  .nav__dd-toggle { flex-shrink: 0; padding: 1rem 0; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--border); }

  /* reset desktop absolute positioning and the translateX(-50%) that overflows on mobile */
  .nav__dd-menu { position: static; opacity: 1; visibility: visible; transform: none; border: none; padding: .4rem 0 .4rem 1rem; min-width: 0; width: 100%; box-sizing: border-box; background: transparent; display: none; }
  /* must also override transform on the open rule — desktop open rule has higher specificity (0,2,0) */
  .nav__dd.is-open .nav__dd-menu { display: block; transform: none; }
  .nav__dd-item { padding: .7rem 0; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
  .statsband .stats { grid-template-columns: 1fr; }
  .statsband .stat { border-left: none; border-bottom: 1px solid rgba(10,15,30,.16); }
  .hero__trust-inner { grid-template-columns: 1fr; }
  .htrust { border-left: none; padding-left: 0; }
  .hero__cta .btn { flex: 1; }

}
