/* ==========================================================================
   ALVIS RENOVATIONS LLC — Investor renovation partner
   Design system built on the official brand manual (v1.0, 2026)
   Big Stone #12273F · Electric Lava #F94918 · Montserrat ExtraBold + Poppins
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand core */
  --navy: #12273f;
  --navy-900: #0b1a2b;
  --navy-800: #0f2136;
  --navy-700: #16304c;
  --navy-600: #1d3d5f;
  --steel: #4973a4;
  --ice: #9abde6;
  --orange: #f94918;
  --orange-600: #dd3a0d;
  --orange-100: #ffe8e1;
  --coral: #ff8f70;

  /* Neutrals */
  --white: #ffffff;
  --off: #f5f7fa;
  --off-2: #eceff4;
  --line: rgba(18, 39, 63, 0.12);
  --line-soft: rgba(18, 39, 63, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);
  --ink: #12273f;
  --muted: #55647a;
  --muted-dark: #a8bdd6;

  /* Type */
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  /* Rhythm */
  --container: 1220px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 118px);
  --radius: 4px;
  --radius-lg: 6px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 26, 43, 0.06), 0 4px 14px rgba(11, 26, 43, 0.06);
  --shadow-md: 0 2px 6px rgba(11, 26, 43, 0.08), 0 18px 42px rgba(11, 26, 43, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 26, 43, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. RESET & 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;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.1vw, 4.05rem); }
h2 { font-size: clamp(1.95rem, 3.7vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }

strong { font-weight: 600; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 5.5vw, 80px); }
.section--off { background: var(--off); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* --------------------------------------------------------------------------
   4. TYPE UTILITIES
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  flex: none;
}
.section--navy .eyebrow { color: var(--ice); }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.section--navy .lede { color: var(--muted-dark); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  max-width: none;
}

.accent { color: var(--orange); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  --btn-bd: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn:hover {
  --btn-bg: var(--orange-600);
  --btn-bd: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249, 73, 24, 0.28);
}
.btn:active { transform: translateY(0); }

.btn--navy { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--navy:hover {
  --btn-bg: var(--navy-700);
  --btn-bd: var(--navy-700);
  box-shadow: 0 10px 24px rgba(18, 39, 63, 0.24);
}

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(18,39,63,.28); }
.btn--ghost:hover {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  box-shadow: 0 10px 24px rgba(18, 39, 63, 0.18);
}

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--ghost-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-bd: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn--sm { padding: 12px 22px; font-size: 0.9rem; }
.btn--lg { padding: 19px 38px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--orange); }
.section--navy .link-arrow { color: #fff; }
.section--navy .link-arrow:hover { color: var(--coral); }

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

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: var(--muted-dark);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar__list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--coral); }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.header.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(11, 26, 43, 0.09);
}

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

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 46px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
  transition: color 0.18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}
.header__phone:hover { color: var(--orange); }
.header__phone svg { flex: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.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 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 8% 0%, rgba(73, 115, 164, 0.28), transparent 62%);
  pointer-events: none;
}

.hero__grid {
  /* Distance from the container's content edge to the viewport edge, so the
     media column can bleed off the right side without overflowing the page. */
  --bleed: calc((100vw - min(1440px, 100vw)) / 2 + var(--gutter));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 1;
}

.hero__copy {
  padding-block: clamp(56px, 7vw, 104px);
  padding-right: clamp(24px, 4vw, 64px);
  align-self: center;
  max-width: 640px;
}
.hero__copy .eyebrow { color: var(--ice); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.19rem);
  color: #cfdcec;
  max-width: 55ch;
  margin-bottom: 32px;
}

.hero__media {
  position: relative;
  min-height: 420px;
  margin-right: calc(-1 * var(--bleed));
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 39, 63, 0.85) 0%, rgba(18, 39, 63, 0.15) 32%, transparent 60%);
}

.hero__stamp {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  background: var(--orange);
  color: #fff;
  padding: 18px 26px;
  max-width: 300px;
}
.hero__stamp strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stamp span {
  display: block;
  font-size: 0.79rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 6px;
}

/* Trust bar */
.trustbar { background: var(--navy-800); border-top: 1px solid var(--line-dark); position: relative; z-index: 2; }
.trustbar__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 22px 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  border-right: 1px solid var(--line-dark);
}
.trustbar__item:last-child { border-right: 0; padding-right: 0; }
.trustbar__item:not(:first-child) { padding-left: 24px; }
.trustbar__item svg { flex: none; color: var(--orange); }

/* --------------------------------------------------------------------------
   8. PAGE HEADER (interior pages)
   -------------------------------------------------------------------------- */
.pagehead {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(52px, 6vw, 92px);
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 90% at 92% 0%, rgba(73, 115, 164, 0.3), transparent 60%);
}
.pagehead > * { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; margin-bottom: 18px; max-width: 18ch; }
.pagehead .lede { color: #cfdcec; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice);
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: 0.5; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   9. PAIN POINTS
   -------------------------------------------------------------------------- */
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.problem__media { position: relative; }
.problem__media img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.problem__cost {
  position: absolute;
  right: -18px;
  bottom: -26px;
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  max-width: 260px;
  box-shadow: var(--shadow-md);
}
.problem__cost strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
.problem__cost span { font-size: 0.88rem; color: var(--muted-dark); line-height: 1.5; display: block; }

.swap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.swap-list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.swap-list .swap-problem {
  color: var(--muted);
  font-size: 0.98rem;
  text-decoration: line-through;
  text-decoration-color: rgba(249, 73, 24, 0.55);
  text-decoration-thickness: 1.5px;
}
.swap-list .swap-arrow { color: var(--orange); flex: none; }
.swap-list .swap-fix { font-weight: 600; font-size: 1rem; color: var(--navy); }

/* --------------------------------------------------------------------------
   10. PROGRAM CARDS (core services)
   -------------------------------------------------------------------------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.program:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.program__media { position: relative; overflow: hidden; }
.program__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.program:hover .program__media img { transform: scale(1.045); }
.program__no {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 8px 14px;
}
.program__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.program__body h3 { margin-bottom: 10px; }
.program__body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.program__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

/* Scope list */
.scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.scope li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  font-weight: 500;
}
.scope li svg { flex: none; color: var(--orange); }
.section--navy .scope li { border-color: var(--line-dark); }

/* --------------------------------------------------------------------------
   11. PROCESS
   -------------------------------------------------------------------------- */
.process { counter-reset: step; }
.process__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
  position: relative;
}
.process__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 1px;
  background: var(--line-dark);
}
.step { position: relative; padding-top: 0; }
.step__no {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 22px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover .step__no { background: var(--orange); border-color: var(--orange); transform: translateY(-4px); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   12. BEFORE / AFTER
   -------------------------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.4vw, 52px); }

.project {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.section--navy .project { background: var(--navy-800); border-color: var(--line-dark); }

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--navy-800);
  cursor: ew-resize;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11, 26, 43, 0.18);
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 26, 43, 0.3);
}
.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  color: #fff;
  pointer-events: none;
}
.ba__tag--before { left: 14px; background: rgba(11, 26, 43, 0.78); }
.ba__tag--after { right: 14px; background: var(--orange); }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba__range:focus-visible + .ba__handle { box-shadow: 0 0 0 3px var(--orange); }

.project__body { padding: 24px 26px 28px; }
.project__body h3 { font-size: 1.22rem; margin-bottom: 6px; }
.project__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.specs {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.section--navy .specs { border-color: var(--line-dark); }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.91rem;
}
.section--navy .specs li { border-color: var(--line-dark); }
.specs dt,
.specs .spec-k {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  padding-top: 2px;
}
.section--navy .specs .spec-k { color: var(--ice); }
.specs .spec-v { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   13. BENEFITS
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.benefit {
  background: var(--navy);
  padding: 30px 26px 34px;
  transition: background-color 0.3s var(--ease);
}
.benefit:hover { background: var(--navy-700); }
.benefit__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
}
.benefit h3 { font-size: 1.06rem; margin-bottom: 8px; }
.benefit p { font-size: 0.91rem; color: var(--muted-dark); margin: 0; }

/* --------------------------------------------------------------------------
   14. SPLIT / FEATURE BLOCKS
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__media--tall img { aspect-ratio: 6 / 7; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.section--navy .stat-row { border-color: var(--line-dark); }
.stat__k {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 8px;
}
.section--navy .stat__k { color: #fff; }
.stat__l {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.section--navy .stat__l { color: var(--ice); }

/* --------------------------------------------------------------------------
   15. SERVICE AREA
   -------------------------------------------------------------------------- */
.area__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px 32px;
}
.area-card + .area-card { margin-top: 20px; }
.area-card h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.area-card h3 span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
}
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.city-list li {
  font-size: 0.86rem;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: var(--off);
}
.section--navy .city-list li { border-color: var(--line-dark); background: var(--navy-700); color: #d7e3f1; }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
}
.map-wrap svg { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------------
   16. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 18px; }
.quote blockquote {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}
.quote figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.quote figcaption strong { display: block; color: var(--navy); font-size: 0.96rem; margin-bottom: 2px; }

.placeholder-note {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-100);
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   17. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 85% 50%, rgba(249, 73, 24, 0.22), transparent 62%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(52px, 6vw, 88px);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cfdcec; max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }
.cta-band__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ice);
}
.cta-band__phone a { color: #fff; font-weight: 600; font-size: 1.05rem; }
.cta-band__phone a:hover { color: var(--coral); }

/* --------------------------------------------------------------------------
   18. FORM
   -------------------------------------------------------------------------- */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 42px);
  box-shadow: var(--shadow-sm);
}
.form-card__head { margin-bottom: 26px; }
.form-card__head h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); margin-bottom: 8px; }
.form-card__head p { color: var(--muted); font-size: 0.96rem; margin: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.field label .req { color: var(--orange); }
.field .hint { font-size: 0.76rem; color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--off);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
  appearance: none;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2355647a' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:hover,
.field select:hover,
.field textarea:hover { background: var(--off-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy);
}
.field input::placeholder,
.field textarea::placeholder { color: #93a2b6; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: var(--orange); background: #fff6f3; }
.field .error { font-size: 0.78rem; color: var(--orange-600); font-weight: 500; display: none; }
.field[data-invalid="true"] .error { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.radio-chip span {
  display: block;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.18s var(--ease);
}
.radio-chip input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.radio-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.form-foot {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-legal { font-size: 0.79rem; color: var(--muted); line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: 15px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #eaf6ee; color: #1c6b38; border: 1px solid #bfe4cc; }
.form-status--err { background: #fff1ec; color: #a9310c; border: 1px solid #f7ccbc; }

/* Aside next to form */
.form-aside__list { list-style: none; margin: 26px 0 0; padding: 0; }
.form-aside__list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.form-aside__list li svg { flex: none; color: var(--orange); margin-top: 3px; }
.form-aside__list strong { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.form-aside__list span { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  cursor: pointer;
}
.faq__q:hover { color: var(--orange); }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--orange);
  transition: transform 0.25s var(--ease);
}
.faq__icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq__icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { color: var(--muted); font-size: 0.98rem; padding-bottom: 26px; max-width: 78ch; }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: #b9cade; padding-top: clamp(52px, 6vw, 84px); font-size: 0.94rem; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer__logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer__tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer h3 {
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: var(--coral); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 4px; color: var(--steel); }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #7f95ae;
}
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   21. MOBILE STICKY CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -8px 24px rgba(11, 26, 43, 0.22);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.mobile-cta a + a { background: var(--orange); }
.mobile-cta svg { flex: none; }

/* --------------------------------------------------------------------------
   22. MOTION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { 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; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .trustbar__list { grid-template-columns: repeat(3, 1fr); }
  .trustbar__item { border-bottom: 1px solid var(--line-dark); }
  .trustbar__item:nth-child(3n) { border-right: 0; }
  .trustbar__item:nth-last-child(-n + 2) { border-bottom: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .process__track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process__track::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 22px;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--orange); }
  .nav .btn { margin-top: 16px; }

  .nav-toggle { display: flex; }
  .header__phone { display: none; }
  .header__actions .btn { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-right: 0; padding-bottom: 40px; max-width: none; }
  .hero__media { margin-inline: calc(50% - 50vw); min-height: 340px; aspect-ratio: 16 / 10; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(18, 39, 63, 0.55) 0%, transparent 45%);
  }
  .hero__stamp { max-width: none; width: 100%; }

  .problem__grid,
  .split,
  .area__grid,
  .form-shell,
  .cta-band__inner { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--tall img { aspect-ratio: 3 / 2; }
  .programs { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .problem__cost { position: static; max-width: none; margin-top: 16px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }

  body { padding-bottom: 62px; }
  .mobile-cta { display: grid; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item { padding: 16px 16px 16px 0; font-size: 0.86rem; }
  .trustbar__item:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .trustbar__item:nth-child(2n) { border-right: 0; }
  .trustbar__item:not(:first-child) { padding-left: 16px; }
  .trustbar__item:nth-child(2n + 1) { padding-left: 0; }
  .trustbar__item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .benefits { grid-template-columns: 1fr; }
  .process__track { grid-template-columns: 1fr; row-gap: 30px; }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start; }
  .step__no { width: 56px; height: 56px; font-size: 1.1rem; margin-bottom: 0; }
  .scope { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .swap-list li { grid-template-columns: 1fr; gap: 6px; }
  .swap-list .swap-arrow { transform: rotate(90deg); width: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .topbar__list li:not(:first-child) { display: none; }
}

@media print {
  .header, .footer, .mobile-cta, .cta-band, .topbar { display: none !important; }
  body { color: #000; }
}

/* --------------------------------------------------------------------------
   24. PROJECT SHOWCASE + GALLERY + LIGHTBOX
   -------------------------------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery li { margin: 0; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy-800);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.gallery li:first-child img { aspect-ratio: 1 / 1; }
.gallery button:hover img { transform: scale(1.05); opacity: 0.92; }

.project-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px 32px;
  background: var(--white);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.section--navy .project-sheet { background: var(--navy-800); border-color: var(--line-dark); }
.project-sheet h3 { font-size: 1.35rem; margin-bottom: 8px; }
.project-sheet .specs { margin-top: 20px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag-row li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--off);
  border: 1px solid var(--line);
  color: var(--muted);
}
.section--navy .tag-row li { background: var(--navy-700); border-color: var(--line-dark); color: #d7e3f1; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(28px, 3vw, 40px); }
.filters button {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 18, 30, 0.94);
  padding: clamp(16px, 4vw, 48px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  color: #cfdcec;
  font-size: 0.88rem;
  padding-inline: 60px;
}
.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

.note-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  background: var(--orange-100);
  color: #8f2f0d;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-top: 20px;
}
.note-strip svg { flex: none; margin-top: 2px; }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; }
  .project-sheet { position: static; }
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery li:first-child { grid-column: span 2; grid-row: auto; }
  .gallery li:first-child img { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   25. CREDENTIALS BAND
   -------------------------------------------------------------------------- */
.creds { background: var(--white); }
.creds__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.creds__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.creds__stats li {
  background: var(--off);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.25s var(--ease);
}
.creds__stats li:hover { background: var(--white); }
.creds__stats .stat__k {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 34px;
  color: var(--navy);
}
.creds__stats .stat__k svg { color: var(--orange); }

@media (max-width: 960px) {
  .creds__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .creds__stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   26. ONE STOP SHOP — two markets, one contract
   -------------------------------------------------------------------------- */
.onestop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(32px, 4vw, 48px);
}

.onestop__market {
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--navy-800);
}

.onestop__state {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.onestop__city {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.onestop__towns {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted-dark);
  margin-top: 4px;
}

.onestop__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 22px;
  background: var(--navy-700);
  border-inline: 1px solid var(--line-dark);
  text-align: center;
}
.onestop__link span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  max-width: 8ch;
  line-height: 1.4;
}
.onestop__link svg { color: var(--orange); flex: none; }

@media (max-width: 760px) {
  .onestop { grid-template-columns: 1fr; }
  .onestop__link {
    border-inline: 0;
    border-block: 1px solid var(--line-dark);
    flex-direction: row;
    padding: 16px;
  }
  .onestop__link span { max-width: none; }
  .onestop__link svg { transform: rotate(90deg); }
}

/* --------------------------------------------------------------------------
   27. COVER HERO — full-bleed photograph with overlaid copy
   Own block (not .hero) so the two never fight in the cascade.
   -------------------------------------------------------------------------- */
.cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(84vh, 820px);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: -2;
}

/* Two stacked scrims: one pulls the left side down for legibility,
   one seats the bottom edge into the strip below. */
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(11, 26, 43, 0.94) 0%,
      rgba(11, 26, 43, 0.88) 26%,
      rgba(11, 26, 43, 0.6) 48%,
      rgba(11, 26, 43, 0.18) 72%,
      rgba(11, 26, 43, 0.04) 100%
    ),
    linear-gradient(180deg, rgba(11, 26, 43, 0.5) 0%, rgba(11, 26, 43, 0) 26%, rgba(11, 26, 43, 0.42) 100%);
}

.cover__inner {
  position: relative;
  width: 100%;
  padding-block: clamp(88px, 11vw, 150px);
}

.cover__copy { max-width: 660px; }
.cover .eyebrow { color: var(--ice); }
.cover h1 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(6, 15, 26, 0.45);
}
.cover h1 em { font-style: normal; color: var(--coral); }
.cover__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.19rem);
  color: #dbe6f2;
  max-width: 55ch;
  margin-bottom: 32px;
  text-shadow: 0 1px 16px rgba(6, 15, 26, 0.5);
}

/* Positioning strip that seats the hero into the trust bar */
.cover-strip {
  background: var(--orange);
  color: #fff;
  position: relative;
  z-index: 2;
}
.cover-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding-block: 15px;
}
.cover-strip strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  letter-spacing: -0.015em;
}
.cover-strip span {
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (max-width: 860px) {
  .cover { min-height: min(76vh, 640px); align-items: center; }
  .cover::before {
    background:
      linear-gradient(180deg, rgba(11, 26, 43, 0.62) 0%, rgba(11, 26, 43, 0.78) 55%, rgba(11, 26, 43, 0.92) 100%);
  }
  .cover__copy { max-width: none; }
}

@media (max-width: 560px) {
  .cover .btn-row { flex-direction: column; align-items: stretch; }
  .cover .btn-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   28. PROJECT CAROUSEL
   Native scroll-snap: touch and trackpad swipe come free, arrows and dots
   drive the same scroll container so the three stay in sync.
   -------------------------------------------------------------------------- */
.carousel {
  --per-view: 1;
  --card-gap: 20px;
}
@media (min-width: 700px)  { .carousel { --per-view: 2; --card-gap: 24px; } }
@media (min-width: 1040px) { .carousel { --per-view: 3; --card-gap: 28px; } }

.carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}
.carousel__head .section-head { margin-bottom: 0; }

.carousel__nav { display: flex; gap: 10px; flex: none; }

.carousel__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.carousel__btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.carousel__btn:disabled { opacity: 0.3; cursor: default; }

.carousel__track {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Room for the card hover lift so it isn't clipped by the scroll box. */
  padding-block: 6px 10px;
  margin-block: -6px -10px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--card-gap)) / var(--per-view));
  scroll-snap-align: start;
  min-width: 0;
}

/* ---- Card ---- */
.pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.pcard__media { position: relative; overflow: hidden; }
.pcard__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.pcard__type {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.pcard__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcard__place {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.pcard__place svg { flex: none; color: var(--steel); }
.pcard .btn { margin-top: auto; align-self: flex-start; }

/* ---- Closing CTA card ---- */
.pcard--cta {
  background: var(--navy);
  border-color: var(--navy);
  justify-content: center;
  padding: 34px 30px;
  min-height: 100%;
}
.pcard--cta:hover { transform: translateY(-5px); border-color: var(--navy); }
.pcard--cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.pcard--cta p { color: var(--muted-dark); font-size: 0.94rem; margin-bottom: 24px; }
.pcard--cta .pcard__type { color: var(--coral); }

/* ---- Dots ---- */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: clamp(24px, 3vw, 34px);
}
.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 39, 63, 0.2);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), width 0.25s var(--ease);
}
.carousel__dot[aria-current="true"] { background: var(--orange); width: 26px; border-radius: 100px; }

@media (max-width: 700px) {
  .carousel__head { flex-direction: column; align-items: flex-start; }
  .carousel__nav { display: none; }
}

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

.carousel__nav[hidden],
.carousel__dots[hidden] { display: none; }

/* --------------------------------------------------------------------------
   29. FORM SUCCESS STATE
   Replaces the form inside the same card once a request goes through.
   -------------------------------------------------------------------------- */
.form-success { text-align: center; padding: 12px 0 8px; }

.form-success__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.form-success h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  margin-bottom: 10px;
  max-width: 22ch;
  margin-inline: auto;
}

.form-success p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }

.form-success__alt {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.form-success__alt a {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
}
.form-success__alt a:hover { color: var(--orange); }
