/* =========================================================================
   Redwood Construction — stylesheet
   Tokens → base → layout → components → sections → responsive
   ========================================================================= */

/* ------------------------------------------------------------ 1. tokens */
:root {
  /* Brand palette, carried over from the existing Redwood identity */
  --ink: #0e0f3b;
  --navy: #07407b;
  --steel: #274c77;
  --sky: #7fcdee;
  --orange: #f7931e;
  --orange-dark: #d97a0c;
  --smoke: #eef1f5;
  --paper: #ffffff;
  --body: #33384a;
  --muted: #667085;
  --line: #d9e0e8;

  --display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --text: 'Open Sans', 'Segoe UI', system-ui, sans-serif;

  /* Type scale — 1.25 ratio, fluid at the top end */
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.4vw + 1.2rem, 2.25rem);
  --fs-2xl: clamp(2rem, 2.4vw + 1.3rem, 3rem);
  --fs-3xl: clamp(2.5rem, 4vw + 1.2rem, 4.25rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --wrap: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 12px 34px rgba(14, 15, 59, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 15, 59, 0.22);
  --header-h: 84px;
}

/* -------------------------------------------------------------- 2. base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.015em;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

ul {
  margin: 0;
  padding: 0;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ------------------------------------------------------------ 3. layout */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

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

.section__head {
  max-width: 46rem;
  margin-bottom: var(--sp-7);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
}

.section__lead {
  font-size: var(--fs-md);
  color: var(--muted);
  margin-bottom: 0;
}

/* Signature: a tape-measure rule. Ticks are literal, not decorative —
   the trade this business lives in is measurement. */
.rule {
  display: block;
  height: 14px;
  background-image: repeating-linear-gradient(
    to right,
    var(--orange) 0 2px,
    transparent 2px 10px
  );
  border-bottom: 2px solid var(--orange);
  width: 110px;
}
.rule--inline {
  width: 34px;
  height: 9px;
  flex: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp-3);
}
.section__head--center .eyebrow {
  justify-content: center;
}
.cta .eyebrow {
  justify-content: center;
}

/* -------------------------------------------------------- 4. components */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--accent {
  --btn-bg: var(--orange);
  --btn-fg: var(--ink);
}
.btn--accent:hover {
  --btn-bg: var(--orange-dark);
  --btn-fg: #fff;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.btn--block {
  width: 100%;
}
.btn--phone {
  letter-spacing: 0.02em;
  font-size: var(--fs-base);
}
.btn__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.link-arrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.link-arrow::after {
  content: ' →';
}
.link-arrow:hover {
  color: var(--orange-dark);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--orange);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.brand {
  flex: none;
}
.brand img {
  width: 178px;
  height: auto;
}
.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding-block: 0.4rem;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.nav__link:hover,
.nav__link[aria-current='page'] {
  color: #fff;
  border-bottom-color: var(--orange);
}
.nav__toggle {
  display: none;
}
.nav__item--has-menu > .nav__toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0.2rem;
  cursor: pointer;
}
.nav__toggle svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease;
}
.nav__toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.subnav {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 16rem;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item--has-menu:hover .subnav,
.nav__item--has-menu:focus-within .subnav,
.nav__toggle[aria-expanded='true'] + .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav__link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: none;
}
.subnav__link:hover,
.subnav__link[aria-current='page'] {
  background: var(--smoke);
  color: var(--navy);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}
.menu-btn {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.menu-btn__bars {
  display: grid;
  gap: 4px;
  width: 22px;
}
.menu-btn__bars span {
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- cards & forms ---- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
}
.card--dark {
  background: var(--steel);
  color: rgba(255, 255, 255, 0.92);
}
.card--dark .card__title,
.card--dark .field__label,
.card--dark .field__consent {
  color: #fff;
}
.card--dark .field__consent a {
  color: var(--sky);
}
.card__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.card__note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: -0.5rem;
}

.form {
  display: grid;
  gap: var(--sp-4);
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field__label {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.field__label span {
  color: var(--orange);
}
.field__input {
  font: inherit;
  font-size: var(--fs-sm);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--body);
  width: 100%;
}
.field__input:focus {
  border-color: var(--navy);
}
.field__input--select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%),
    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px),
    calc(100% - 13px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}
.field__check {
  margin-top: 0.35rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--orange);
}
.field__consent {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
}
.field--check .field__error {
  grid-column: 1 / -1;
}
.field__error {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #c0392b;
}
.card--dark .field__error {
  color: #ffd0c6;
}
.field__input[aria-invalid='true'] {
  border-color: #c0392b;
  background: #fff7f6;
}
.form__status {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__status[data-state='ok'] {
  color: #1c7c4a;
}
.form__status[data-state='error'] {
  color: #c0392b;
}
.card--dark .form__status[data-state='ok'] {
  color: #b7f0d0;
}

/* --------------------------------------------------------- 5. sections */

/* ---- hero ---- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/texture-dark.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 15, 59, 0.94) 0%,
    rgba(7, 64, 123, 0.82) 55%,
    rgba(7, 64, 123, 0.55) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
  padding-block: var(--sp-8);
}
.hero__eyebrow {
  color: var(--sky);
}
.hero__title {
  color: #fff;
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.hero__title em {
  font-style: normal;
  color: var(--orange);
}
.hero__lead {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.86);
  max-width: 36rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}
.hero__meta strong {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-lg);
  color: #fff;
}
.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Compact hero used on interior pages */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/texture-dark.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 59, 0.85), rgba(7, 64, 123, 0.9));
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-8);
  max-width: 48rem;
}
.page-hero__title {
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.page-hero__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-md);
  margin-bottom: 0;
}
.page-hero .eyebrow {
  color: var(--sky);
}

/* ---- intro band ---- */
.section--intro {
  background: var(--smoke);
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.intro__title {
  font-size: var(--fs-xl);
}

/* ---- service cards ---- */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-5);
  list-style: none;
}
.service {
  grid-column: span 2;
}
/* A 5-item grid leaves a hole on the second row; widen the last two instead. */
.services--five .service:nth-child(4),
.services--five .service:nth-child(5) {
  grid-column: span 3;
}
.service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sky);
}
.service__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--smoke);
}
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service:hover .service__media img {
  transform: scale(1.04);
}
.service__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service__title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.service__text {
  font-size: var(--fs-sm);
  color: var(--muted);
  flex: 1;
}
.service__link {
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.service__link::after {
  content: ' →';
}

/* ---- feature (image + copy, alternating) ---- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.feature + .feature {
  margin-top: var(--sp-9);
}
.feature--flip .feature__media {
  order: 2;
}
.feature__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}
.feature__title {
  font-size: var(--fs-xl);
}

/* ---- checklists ---- */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: var(--fs-sm);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.checklist--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--sp-5);
}

/* ---- promises (why choose) ---- */
.section--why {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
.section--why .section__title {
  color: #fff;
}
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  list-style: none;
}
.promise {
  background: var(--steel);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  border: 1px solid rgba(127, 205, 238, 0.25);
}
.promise__num {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto var(--sp-4);
  border: 2px solid var(--sky);
  border-radius: 50%;
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--sky);
}
.promise__title {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* ---- review ---- */
.section--review {
  background: var(--smoke);
}
.review {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--sp-8);
  align-items: center;
}
.review__number {
  font-family: var(--display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.review__number span {
  font-size: var(--fs-lg);
  color: var(--muted);
}
.stars {
  display: block;
  color: var(--orange);
  font-size: var(--fs-lg);
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-4);
}
.review__headline {
  font-size: var(--fs-xl);
}
.review__quote blockquote {
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-5);
  border-left: 3px solid var(--orange);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--body);
}
.review__quote figcaption {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
}

/* ---- areas ---- */
.areas {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-8);
  align-items: center;
}
.areas__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.areas__list li {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--smoke);
  color: var(--ink);
}
.areas__note {
  color: var(--muted);
  margin-bottom: var(--sp-5);
}
.areas__map img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}
.areas__map {
  margin: 0;
}

/* ---- CTA band ---- */
.section--cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding-block: var(--sp-8);
}
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/texture-dark.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.cta {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta__title {
  color: #fff;
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.cta__body {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--sp-5);
}
.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---- contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-details {
  display: grid;
  gap: var(--sp-5);
}
.detail {
  border-left: 3px solid var(--orange);
  padding-left: var(--sp-4);
}
.detail__label {
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-1);
}
.detail p,
.detail address {
  margin: 0;
  font-style: normal;
  font-size: var(--fs-md);
  color: var(--ink);
}
.contact-map img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  margin-top: var(--sp-6);
}

/* ---- legal pages ---- */
.legal {
  max-width: 52rem;
}
.legal h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-7);
}
.legal h2:first-of-type {
  margin-top: var(--sp-5);
}
.legal ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: var(--sp-4);
}
.legal li {
  margin-bottom: 0.35rem;
}
.legal__meta {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---- footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--sp-8);
  border-top: 3px solid var(--orange);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.site-footer__logo {
  width: 190px;
  margin-bottom: var(--sp-4);
}
.site-footer__blurb {
  font-size: var(--fs-sm);
  max-width: 22rem;
}
.site-footer__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--sp-4);
}
.site-footer address {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.9;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--orange);
  text-decoration: underline;
}
.site-footer__hours {
  list-style: none;
  font-size: var(--fs-sm);
  display: grid;
  gap: 0.3rem;
}
.site-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: 14rem;
}
.site-footer__flag {
  margin-top: var(--sp-4);
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.site-footer__links {
  list-style: none;
  font-size: var(--fs-sm);
  display: grid;
  gap: 0.4rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
}
.site-footer__legal p {
  margin: 0;
}
.site-footer__legal span {
  margin-inline: 0.5rem;
}

/* ---------------------------------------------------- 6. motion + reveal */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

/* ------------------------------------------------------- 7. breakpoints */
@media (max-width: 1020px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .service,
  .services--five .service:nth-child(4),
  .services--five .service:nth-child(5) {
    grid-column: span 1;
  }
  .promises {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }
  .menu-btn {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--ink);
    border-bottom: 3px solid var(--orange);
    padding: var(--sp-4) 1.25rem var(--sp-6);
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    display: block;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .nav__link {
    padding-block: 0.95rem;
    font-size: var(--fs-base);
    border-bottom: 0;
  }
  .nav__toggle {
    padding: 0.75rem;
  }
  .subnav {
    position: static;
    width: 100%;
    order: 3;
    box-shadow: none;
    border-top: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0 0 var(--sp-3) var(--sp-4);
  }
  .nav__item--has-menu:hover .subnav {
    display: none;
  }
  .nav__toggle[aria-expanded='true'] + .subnav {
    display: block;
  }
  .subnav__link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.55rem 0;
  }
  .subnav__link:hover,
  .subnav__link[aria-current='page'] {
    background: transparent;
    color: var(--orange);
  }
  .site-header__actions .btn--phone span {
    display: none;
  }
  .site-header__actions .btn--phone {
    padding-inline: 0.9rem;
  }

  .hero__inner,
  .intro,
  .feature,
  .review,
  .areas,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .feature--flip .feature__media {
    order: 0;
  }
  .section {
    padding-block: var(--sp-8);
  }
}

@media (max-width: 620px) {
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    grid-column: span 1;
  }
  .promises {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .checklist--two {
    grid-template-columns: 1fr;
  }
  .hero__meta {
    gap: var(--sp-4);
  }
  .card {
    padding: var(--sp-5);
  }
}
