/* RPC General Contracting, Inc. — brand stylesheet
   Navy #1B2A4A · Teal #01696F · Work Sans */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand */
  --navy: #1b2a4a;
  --navy-deep: #141f37;
  --navy-soft: #2c3d61;
  --teal: #01696f;
  --teal-hover: #0c4e54;
  --bg: #ffffff;
  --bg-offset: #f6f5f2;
  --bg-offset-2: #ece9e3;
  --text: #1b2a4a;
  --text-body: #3d4759;
  --text-muted: #6b7484;
  --rule: rgba(27, 42, 74, 0.14);
  --rule-strong: rgba(27, 42, 74, 0.26);

  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-md: 0 18px 40px -24px rgba(20, 31, 55, 0.35);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--bg-offset);
}

a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  color: var(--teal-hover);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.012em;
}
p {
  margin: 0 0 var(--space-4);
  max-width: 68ch;
}

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap--narrow {
  max-width: 880px;
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 5vw, var(--space-20));
}
.section--offset {
  background: var(--bg-offset);
}
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 200;
}
.skip:focus {
  left: var(--space-4);
  top: var(--space-2);
  color: #fff;
}

/* ---------- Eyebrow / rules ---------- */
.eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 var(--space-4);
}
.section--navy .eyebrow {
  color: #8fc3c5;
}
.lead {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--text-body);
  font-weight: 400;
  max-width: 40ch;
}
.section--navy .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--teal-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover {
  background: var(--navy-deep);
  color: #fff;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.btn--outline {
  border-color: var(--rule-strong);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(27, 42, 74, 0.04);
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
}
.textlink svg {
  transition: transform 0.25s var(--ease);
}
.textlink:hover svg {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  flex: 0 0 auto;
}
.logo svg {
  height: 40px;
  width: auto;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .logo-img {
    height: 44px;
  }
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2vw, var(--space-8));
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
}
.nav a:hover {
  color: var(--teal);
}
.nav a[aria-current='page'] {
  border-bottom-color: var(--teal);
  color: var(--teal);
}
.header .btn--phone {
  flex: 0 0 auto;
  background: var(--navy);
  color: #fff;
  min-height: 44px;
  padding-inline: var(--space-5);
  font-variant-numeric: tabular-nums;
}
.header .btn--phone:hover {
  background: var(--teal);
}
.nav .btn--phone-mobile {
  display: none;
}
.navtoggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 44px;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 21, 38, 0.86) 0%, rgba(14, 21, 38, 0.42) 45%, rgba(14, 21, 38, 0.18) 100%),
    linear-gradient(to right, rgba(14, 21, 38, 0.6) 0%, rgba(14, 21, 38, 0) 62%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}
.hero h1 {
  color: #fff;
  font-size: var(--text-3xl);
  font-weight: 700;
  max-width: 19ch;
  margin-bottom: var(--space-5);
}
.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-lg);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* page hero (interior) */
.pagehead {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(var(--space-16), 7vw, var(--space-24));
}
.pagehead h1 {
  color: #fff;
  max-width: 24ch;
}
.pagehead p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-lg);
  max-width: 52ch;
  margin: 0;
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--bg-offset);
  border-bottom: 1px solid var(--rule);
}
.trustbar ul {
  list-style: none;
  margin: 0;
  padding-block: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.trustbar li:not(:last-child)::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Section head (asymmetric) ---------- */
.sechead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8) var(--space-12);
  align-items: end;
  margin-bottom: var(--space-12);
}
.sechead h2 {
  margin: 0;
  max-width: 30ch;
}
.sechead__aside {
  padding-bottom: var(--space-1);
}
.sechead__aside p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46ch;
}
.section--navy .sechead__aside p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Services list ---------- */
.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.svc-list li {
  border-bottom: 1px solid var(--rule);
}
.svc-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) 1.5rem;
  gap: var(--space-6);
  align-items: baseline;
  padding-block: var(--space-6);
  color: var(--text-body);
  transition: background-color 0.25s var(--ease);
}
.svc-row:hover {
  background: rgba(1, 105, 111, 0.04);
  color: var(--text-body);
}
.svc-row .num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.svc-row h3 {
  margin: 0;
  font-size: var(--text-lg);
  transition: color 0.25s var(--ease);
}
.svc-row:hover h3 {
  color: var(--teal);
}
.svc-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 56ch;
}
.svc-row .arrow {
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.svc-row:hover .arrow,
.svc-row:focus-visible .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Service detail blocks ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  border-bottom: 1px solid var(--rule);
}
.svc-detail:last-of-type {
  border-bottom: 0;
}
.svc-detail--flip .svc-detail__media {
  order: -1;
}
.svc-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.svc-detail__body h2 {
  max-width: 24ch;
}
.svc-detail__body p {
  max-width: 54ch;
}
.svc-detail .kicker {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- Feature project grid (asymmetric) ---------- */
.feat {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-6);
}
.feat__stack {
  display: grid;
  gap: var(--space-6);
}
.card {
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-deep);
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover img {
  transform: scale(1.035);
}
.card--tall img {
  aspect-ratio: 4 / 5;
}
.card--wide img {
  aspect-ratio: 4 / 3;
}
.card__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(14, 21, 38, 0.9), rgba(14, 21, 38, 0));
  color: #fff;
}
.card__meta .type {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fcccd;
  margin-bottom: var(--space-2);
}
.card__meta h3 {
  color: #fff;
  font-size: var(--text-lg);
  line-height: 1.25;
  margin: 0 0 var(--space-1);
}
.card__meta p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
}
.gcard {
  display: flex;
  flex-direction: column;
}
.gcard__media {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-offset-2);
}
.gcard__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gcard:hover .gcard__media img {
  transform: scale(1.04);
}
.gcard .type {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: var(--space-5) 0 var(--space-2);
}
.gcard h3 {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.005em;
  max-width: 34ch;
}
.gcard p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.gcard .city {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.gcard--span2 {
  grid-column: span 2;
}
.gcard--span2 .gcard__media img {
  aspect-ratio: 16 / 9;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
  counter-reset: step;
}
.step {
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  padding-top: var(--space-5);
}
.step:nth-child(1) {
  border-top-color: #8fc3c5;
}
.step .n {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8fc3c5;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.step p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.74);
  max-width: 34ch;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-10) var(--space-8);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.quote:nth-child(2) {
  margin-top: var(--space-10);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.45;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.quote figcaption {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

/* ---------- Split panel ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.split__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.split__body {
  padding: clamp(var(--space-10), 6vw, var(--space-24)) clamp(var(--space-6), 5vw, var(--space-20));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__body p {
  max-width: 48ch;
}

/* ---------- Benefit / value trio ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8) var(--space-10);
}
.trio > div {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
}
.trio h3 {
  margin-bottom: var(--space-2);
}
.trio p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 38ch;
}
.section--navy .trio > div {
  border-top-color: rgba(255, 255, 255, 0.22);
}
.section--navy .trio p {
  color: rgba(255, 255, 255, 0.74);
}

.stat {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--space-2);
}

/* ---------- CTA band ---------- */
.ctaband {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(var(--space-16), 7vw, var(--space-24));
}
.ctaband__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-10) var(--space-16);
  align-items: center;
}
.ctaband h2 {
  color: #fff;
  margin: 0 0 var(--space-3);
  max-width: 20ch;
}
.ctaband p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 44ch;
}
.ctaband__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.ctaband__contact {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
}
.ctaband__contact a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}
.ctaband__contact a:hover {
  color: #9fcccd;
  border-bottom-color: #9fcccd;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-6);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  min-height: 48px;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(1, 105, 111, 0.14);
}
.form-note {
  grid-column: 1 / -1;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}
.infoblock {
  background: var(--bg-offset);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}
.infoblock dl {
  margin: 0;
}
.infoblock dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}
.infoblock dd {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--navy);
  font-weight: 500;
}
.infoblock dd:last-child {
  margin-bottom: 0;
}
.infoblock a {
  color: var(--navy);
  border-bottom: 1px solid var(--rule-strong);
}
.infoblock a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.bigphone {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Prose ---------- */
.prose p {
  font-size: var(--text-base);
  max-width: 62ch;
}
.finelist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.finelist li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
}
.finelist li svg {
  flex: 0 0 auto;
  color: var(--teal);
  margin-top: 4px;
}
.fineprint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 70ch;
}

/* ---------- Footer ---------- */
.footer {
  background: #ffffff;
  color: var(--text-body);
  padding-block: var(--space-16) var(--space-10);
  font-size: var(--text-sm);
  border-top: 1px solid var(--bg-offset-2);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: var(--space-10) var(--space-16);
}
.footer__logo svg {
  height: 44px;
  width: auto;
  color: var(--navy);
  margin-bottom: var(--space-5);
}
.footer__logo .logo-img--card {
  height: auto;
  width: 300px;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: var(--space-6);
  display: block;
}
.footer p {
  margin: 0 0 var(--space-1);
  max-width: 34ch;
  color: var(--text-body);
}
.footer__nav {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.footer h2 {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
  font-weight: 600;
}
.footer a {
  color: var(--navy);
}
.footer a:hover {
  color: var(--teal);
}
.footer__contact {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--bg-offset-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feat,
  .split,
  .contact-grid,
  .ctaband__inner,
  .svc-detail {
    grid-template-columns: 1fr;
  }
  .svc-detail--flip .svc-detail__media {
    order: 0;
  }
  .steps,
  .quotes,
  .trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote:nth-child(2) {
    margin-top: 0;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .split__media img {
    max-height: 420px;
  }
}

@media (max-width: 860px) {
  .nav,
  .header .btn--phone {
    display: none;
  }
  .navtoggle {
    display: inline-flex;
  }
  .header[data-open='true'] .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: var(--space-2) var(--space-6) var(--space-6);
    margin: 0;
  }
  .header[data-open='true'] .nav a {
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--rule);
    font-size: var(--text-base);
  }
  .header[data-open='true'] .nav .btn--phone-mobile {
    display: inline-flex;
    margin-top: var(--space-4);
    border-bottom: 0;
  }
  .nav .btn--phone-mobile {
    display: none;
  }
  .sechead {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .svc-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-2) var(--space-4);
    row-gap: var(--space-2);
  }
  .svc-row p {
    grid-column: 2;
  }
  .svc-row .arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .steps,
  .quotes,
  .trio,
  .gallery,
  .form-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .gcard--span2 {
    grid-column: auto;
  }
  .gcard--span2 .gcard__media img {
    aspect-ratio: 4 / 3;
  }
  .hero {
    min-height: 74vh;
  }
  .trustbar ul {
    justify-content: flex-start;
    gap: var(--space-2) var(--space-4);
  }
  .trustbar li:not(:last-child)::after {
    display: none;
  }
  .trustbar li {
    gap: 0;
  }
  .card--tall img,
  .card--wide img {
    aspect-ratio: 4 / 3;
  }
}

@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;
  }
}
