/* ==========================================================================
   Advance Heating — primary site design system
   Palette: deep navy + hot orange. Cool blue is reserved for cooling cues.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #06111f;
  --navy-900: #0a1a2f;
  --navy-800: #0f2440;
  --navy-700: #16314f;
  --navy-600: #1d3f66;
  --navy-500: #2b5482;
  --steel-500: #4a5f80;
  --steel-400: #5b6e8c;
  --steel-300: #97a6bd;
  --steel-200: #c6d0de;

  /*
   * Orange splits by job. flame-500/400 are fills only — white text on them
   * fails WCAG AA, so anything sitting on them uses navy ink. flame-600/700
   * are the text-safe oranges (5.4:1 and up on white).
   */
  --flame-700: #8f3403;
  --flame-600: #b8450a;
  --flame-500: #ff6b1a;
  --flame-400: #ff8a4d;
  --flame-200: #ffd0b0;
  --flame-100: #fff0e5;

  --ice-600: #1f7fb4;
  --ice-500: #2e9bd6;
  --ice-100: #e6f4fb;

  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --paper-3: #eaeff5;
  --line: #e3e8f0;
  --danger: #c62828;
  --success: #1b7f4f;

  --focus: var(--flame-500);

  /* Type */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2.35rem, 5.2vw, 4.2rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.2rem);

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --container: 1220px;

  /* Shape */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 47, 0.06),
    0 2px 8px rgba(10, 26, 47, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 26, 47, 0.07),
    0 16px 32px -12px rgba(10, 26, 47, 0.14);
  --shadow-lg: 0 8px 24px rgba(10, 26, 47, 0.1),
    0 32px 64px -24px rgba(10, 26, 47, 0.22);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy-800);
  background: var(--paper);
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

/* ---- Layout primitives -------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

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

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--soft {
  background: var(--paper-2);
}

.section--navy {
  background: var(--navy-900);
  color: #fff;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame-600);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--flame-500);
}

.section--navy .eyebrow {
  color: var(--flame-400);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--steel-500);
}

.section--navy .lead {
  color: var(--steel-300);
}

.h2 {
  font-size: var(--fs-h2);
}

/* ---- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--flame-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px -6px rgba(255, 107, 26, 0.75);
}

.btn--primary:hover {
  background: var(--flame-400);
  box-shadow: 0 12px 26px -8px rgba(255, 107, 26, 0.8);
}

.btn--navy {
  background: var(--navy-900);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-700);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  box-shadow: inset 0 0 0 2px var(--steel-200);
}

.btn--outline:hover {
  color: var(--flame-600);
  box-shadow: inset 0 0 0 2px var(--flame-400);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--flame-600);
  text-decoration: none;
}

.textlink svg {
  width: 1em;
  height: 1em;
  transition: transform 0.18s var(--ease);
}

.textlink:hover svg {
  transform: translateX(4px);
}

/* ---- Top bar ------------------------------------------------------------ */

.topbar {
  background: var(--navy-950);
  color: var(--steel-300);
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.35rem;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.topbar a:hover {
  color: #fff;
}

.topbar svg {
  width: 15px;
  height: 15px;
  color: var(--flame-500);
}

.topbar__emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45d483;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #45d483;
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 860px) {
  .topbar__item--secondary {
    display: none;
  }
}

@media (max-width: 620px) {
  .topbar__emergency {
    display: none;
  }
}

/* ---- Logo --------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-900);
}

.logo__mark {
  width: 46px;
  height: 31px;
  flex: none;
}

.logo__mark .chev-lead {
  color: var(--flame-500);
}

.logo__text {
  display: grid;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.logo__sub {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-top: 0.28rem;
}

.logo--light,
.logo--light .logo__name {
  color: #fff;
}

.logo--light .logo__sub {
  color: var(--steel-300);
}

.logo--sm .logo__mark {
  width: 38px;
  height: 26px;
}

.logo--sm .logo__name {
  font-size: 1.1rem;
}

/* ---- Header ------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}

.header.is-stuck {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav__link:hover {
  color: var(--flame-600);
  background: var(--flame-100);
}

.nav__link[aria-current='page'] {
  color: var(--flame-600);
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--flame-500);
}

.nav__item {
  position: relative;
}

.nav__caret {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}

.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 250px;
  padding: 0.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.nav__menu a:hover {
  background: var(--paper-2);
  color: var(--flame-600);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header__phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.header__phone span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.header__phone strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-900);
}

.header__phone:hover strong {
  color: var(--flame-600);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: #fff;
}

.burger svg {
  width: 22px;
  height: 22px;
}

.burger__close {
  display: none;
}

.burger[aria-expanded='true'] .burger__open {
  display: none;
}

.burger[aria-expanded='true'] .burger__close {
  display: block;
}

@media (max-width: 1080px) {
  .nav,
  .header__phone {
    display: none;
  }

  .burger {
    display: grid;
    margin-left: auto;
  }

  .header__actions .btn {
    display: none;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(400px, 88vw);
  padding: 1.5rem;
  overflow-y: auto;
  background: var(--navy-900);
  color: #fff;
  transform: translateX(100%);
  /* visibility keeps the offscreen links out of the tab order. Hiding is
   * delayed until the slide-out finishes; revealing is immediate so the
   * drawer can take focus straight away. */
  visibility: hidden;
  transition: transform 0.32s var(--ease), visibility 0s linear 0.32s;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s var(--ease), visibility 0s;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
}

.drawer__close svg {
  width: 20px;
  height: 20px;
}

.drawer__list {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 2rem;
}

.drawer__list a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer__list a:hover {
  color: var(--flame-400);
}

.drawer__list .is-sub {
  padding-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel-300);
}

.drawer__cta {
  display: grid;
  gap: 0.65rem;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 17, 31, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      110% 90% at 88% 8%,
      rgba(255, 107, 26, 0.32) 0%,
      transparent 58%
    ),
    radial-gradient(
      80% 70% at 6% 96%,
      rgba(46, 155, 214, 0.24) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
}

/* Angled louver texture, echoing the chevrons in the logo. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 22px
  );
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.hero__eyebrow b {
  padding: 0.15rem 0.55rem;
  color: var(--navy-950);
  background: var(--flame-500);
  border-radius: 999px;
  font-size: 0.7rem;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--flame-400);
}

.hero__tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel-300);
}

.hero__tagline li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.hero__tagline li:not(:last-child)::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--flame-500);
  border-radius: 50%;
}

.hero__copy > p {
  max-width: 52ch;
  margin-bottom: 2rem;
  color: var(--steel-300);
  font-size: var(--fs-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--steel-300);
}

.hero__trust svg {
  width: 17px;
  height: 17px;
  color: var(--flame-400);
  flex: none;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Quote form card ---------------------------------------------------- */

.quote-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  color: var(--navy-800);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.quote-card__head {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.quote-card__head h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.quote-card__head p {
  font-size: 0.9rem;
  color: var(--steel-400);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  .form-grid--2 {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.field .req {
  color: var(--flame-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-size: 0.98rem;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364789a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 17px;
  padding-right: 2.6rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--flame-500);
  box-shadow: 0 0 0 4px var(--flame-100);
  outline: none;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--danger);
}

.field__error {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--danger);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--steel-400);
  text-align: center;
}

.form-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7f1d1d;
  background: #fef2f2;
  border-left: 3px solid var(--danger);
  border-radius: var(--r-xs);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Intro split -------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split__body > p + p {
  margin-top: 1.1rem;
}

.split__body p {
  color: var(--steel-500);
  font-size: 1.02rem;
}

.split__aside {
  position: relative;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.pull-quote {
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  background: var(--flame-100);
  border-left: 4px solid var(--flame-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}

/* ---- Service cards ------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flame-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.svc-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--flame-600);
  background: var(--flame-100);
  border-radius: var(--r-md);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.svc-card__icon svg {
  width: 26px;
  height: 26px;
}

.svc-card:hover .svc-card__icon {
  color: #fff;
  background: var(--flame-500);
}

.svc-card__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 0.45rem;
}

.svc-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}

.svc-card__list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--steel-500);
}

.svc-card__list li {
  display: flex;
  gap: 0.6rem;
}

.svc-card__list svg {
  width: 16px;
  height: 16px;
  margin-top: 0.3rem;
  color: var(--flame-500);
  flex: none;
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.svc-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.svc-card:hover .svc-card__more {
  color: var(--flame-600);
}

.svc-card:hover .svc-card__more svg {
  transform: translateX(4px);
}

/* ---- Stat strip --------------------------------------------------------- */

.stats {
  background: var(--navy-900);
  color: #fff;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.stat {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.stat__suffix {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--flame-500);
}

.stat__label {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--steel-300);
}

@media (max-width: 620px) {
  .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:first-child {
    border-top: 0;
  }
}

/* ---- Value props -------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.value {
  position: relative;
  padding-top: 1.5rem;
  border-top: 3px solid var(--line);
  transition: border-color 0.22s var(--ease);
}

.value:hover {
  border-top-color: var(--flame-500);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  color: var(--navy-900);
  background: var(--paper-3);
  border-radius: 50%;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.value__icon svg {
  width: 22px;
  height: 22px;
}

.value:hover .value__icon {
  color: #fff;
  background: var(--navy-900);
}

.value h3 {
  font-size: 1.14rem;
  margin-bottom: 0.6rem;
}

.value p {
  font-size: 0.94rem;
  color: var(--steel-500);
}

/* ---- Quote CTA band ----------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* Deep enough that white body copy clears AA across the whole sweep. */
  background: linear-gradient(
    100deg,
    var(--flame-700) 0%,
    var(--flame-600) 55%,
    #c24a06 100%
  );
  isolation: isolate;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.09) 0 1px,
    transparent 1px 26px
  );
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  color: #fff;
  margin-bottom: 0.85rem;
}

.cta-band p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-band .btn--navy:hover {
  background: var(--navy-950);
}

.cta-band .btn--outline {
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.cta-band .btn--outline:hover {
  color: var(--flame-700);
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

/* Navy button sits on the orange band; keep its own hover legible. */
.cta-band .btn--navy {
  color: #fff;
}

@media (max-width: 860px) {
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
}

/* ---- Process ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--flame-600);
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--steel-500);
}

/* ---- Service area ------------------------------------------------------- */

.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.area-chip svg {
  width: 16px;
  height: 16px;
  color: var(--flame-500);
  flex: none;
}

.area-chip:hover {
  transform: translateY(-2px);
  color: var(--flame-600);
  border-color: var(--flame-400);
}

/* ---- Testimonials ------------------------------------------------------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.review__stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1.1rem;
  color: var(--flame-500);
}

.review__stars svg {
  width: 17px;
  height: 17px;
}

.review blockquote {
  flex: 1;
  font-size: 0.98rem;
  color: var(--navy-700);
}

.review__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-900);
  background: var(--paper-3);
  border-radius: 50%;
  flex: none;
}

.review__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy-900);
}

.review__meta {
  font-size: 0.8rem;
  color: var(--steel-400);
}

.placeholder-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  margin-top: 1.75rem;
  font-size: 0.87rem;
  color: #78350f;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: var(--r-sm);
}

.placeholder-note svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 0.15rem;
}

/* ---- Gallery ------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.15rem;
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
}

.shot--wide {
  grid-column: span 2;
}

@media (max-width: 700px) {
  .shot--wide {
    grid-column: span 1;
  }
}

.shot img,
.shot svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.shot:hover img,
.shot:hover svg {
  transform: scale(1.04);
}

.shot__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 1.15rem 1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 17, 31, 0.88), transparent);
}

.shot__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-xs);
}

/* ---- FAQ ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: var(--flame-400);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--flame-600);
  transition: transform 0.24s var(--ease);
}

.faq details[open] summary svg {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 1.35rem 1.35rem;
  font-size: 0.96rem;
  color: var(--steel-500);
}

/* ---- Page hero (inner pages) -------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  color: #fff;
  background: var(--navy-900);
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      90% 120% at 85% 0%,
      rgba(255, 107, 26, 0.28),
      transparent 60%
    ),
    repeating-linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 22px
    );
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  color: #fff;
}

.page-hero p {
  max-width: 58ch;
  margin-top: 1.15rem;
  font-size: var(--fs-lead);
  color: var(--steel-300);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.83rem;
  color: var(--steel-300);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--flame-400);
}

.crumbs svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

.crumbs [aria-current] {
  color: #fff;
  font-weight: 600;
}

/* ---- Prose -------------------------------------------------------------- */

.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.prose p,
.prose li {
  color: var(--steel-500);
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose ul {
  display: grid;
  gap: 0.6rem;
  margin: 1.15rem 0;
  padding-left: 1.25rem;
}

.prose a {
  color: var(--flame-600);
  font-weight: 500;
}

/* ---- Capability list ---------------------------------------------------- */

.caps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.cap {
  padding: 1.5rem;
  background: var(--paper-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--flame-500);
}

.cap h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cap p {
  font-size: 0.93rem;
  color: var(--steel-500);
}

/* ---- Contact ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.contact-row {
  display: flex;
  gap: 1rem;
  text-decoration: none;
}

.contact-row__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--r-md);
}

.contact-row__icon svg {
  width: 21px;
  height: 21px;
}

.contact-row dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.contact-row dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

a.contact-row:hover dd {
  color: var(--flame-600);
}

/* ---- Footer ------------------------------------------------------------- */

.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  color: var(--steel-300);
  background: var(--navy-950);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__about p {
  max-width: 38ch;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.footer h3 {
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.92rem;
}

.footer__list a {
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.footer__list a:hover {
  color: var(--flame-400);
}

.footer__contact {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  font-size: 0.94rem;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--flame-500);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
}

.footer__bar a {
  text-decoration: none;
}

.footer__bar a:hover {
  color: #fff;
}

/* ---- Sticky mobile call bar --------------------------------------------- */

.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 24px rgba(6, 17, 31, 0.2);
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--navy-900);
}

.callbar a + a {
  background: var(--flame-500);
}

.callbar svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 700px) {
  .callbar {
    display: grid;
  }

  .footer {
    padding-bottom: 56px;
  }
}

/* ---- Reveal on scroll --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Status / error pages ----------------------------------------------- */

.status-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: var(--section-y);
  text-align: center;
}

.status-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--flame-200);
}

.status-page h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.status-page p {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--steel-500);
}

.status-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.check-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
}

.check-badge svg {
  width: 38px;
  height: 38px;
}
