/* ============================================================
   Meridian Climate Co. — shared stylesheet
   Fictional demo build by NorthPilot.ai
   Design language: precision + comfort. Cool→warm duality.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* color */
  --steel-900: #082A44;
  --steel: #0F3A5C;            /* primary deep steel blue */
  --steel-600: #17517D;
  --steel-500: #1F6398;
  --ice: #EAF3FA;              /* light background */
  --ice-2: #DCEAF5;
  --white: #FFFFFF;
  --amber: #F59E0B;            /* heat / CTA accent */
  --amber-600: #D97706;
  --amber-700: #B45309;
  --slate: #334155;            /* body text on light */
  --slate-500: #51617A;
  --line: #C9DBEA;
  --ok: #15803D;
  --err: #B91C1C;

  /* type */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.25rem);

  /* rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --wrap: 72.5rem;             /* 1160px */
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(8, 42, 68, .06), 0 4px 14px rgba(8, 42, 68, .07);
  --shadow-2: 0 2px 6px rgba(8, 42, 68, .08), 0 18px 44px rgba(8, 42, 68, .14);

  --ease: cubic-bezier(.33, 1, .55, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--steel);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 var(--space-2); }
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--steel-600); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s var(--ease); }
a:hover { color: var(--amber-700); }

ul { padding-left: 1.2rem; }

::selection { background: var(--amber); color: var(--steel-900); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--steel);
  color: var(--white);
  padding: .9rem 1.4rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible { left: 0; color: var(--white); }

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

.section { padding-block: var(--space-6); position: relative; }
.section--tight { padding-block: var(--space-5); }
.section--ice { background: var(--ice); }
.section--steel { background: var(--steel); color: var(--ice); }
.section--steel h2, .section--steel h3 { color: var(--white); }

.lead { font-size: var(--fs-lead); color: var(--slate-500); max-width: 40rem; }
.section--steel .lead { color: #B9D2E6; }

/* kicker: small overline label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin-bottom: var(--space-2);
}
.kicker::before {
  content: "";
  width: 2rem; height: 2px;
  background: linear-gradient(90deg, var(--steel-500), var(--amber));
  border-radius: 2px;
}
.section--steel .kicker { color: var(--amber); }

/* the duality rule — a signature blue→amber hairline */
.duality-rule {
  height: 4px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--steel) 0%, var(--steel-500) 42%, var(--amber) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;               /* touch target */
  padding: .8rem 1.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--amber {
  background: var(--amber);
  color: var(--steel-900);
  box-shadow: 0 6px 18px rgba(245, 158, 11, .35);
}
.btn--amber:hover { background: var(--amber-600); color: var(--steel-900); box-shadow: 0 8px 24px rgba(217, 119, 6, .4); transform: translateY(-2px); }

.btn--steel { background: var(--steel); color: var(--white); }
.btn--steel:hover { background: var(--steel-600); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-1); }

.btn--ghost { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn--ghost:hover { background: var(--steel); color: var(--white); }

.btn--ghost-ice { border-color: rgba(234,243,250,.55); color: var(--white); background: transparent; }
.btn--ghost-ice:hover { background: rgba(234,243,250,.12); color: var(--white); border-color: var(--ice); }

.btn--lg { padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--steel);
}
.brand__mark { flex: 0 0 auto; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .95rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--slate);
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--ice); color: var(--steel); }
.nav a[aria-current="page"] { background: var(--steel); color: var(--white); }

.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .35rem .9rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--steel);
  text-decoration: none;
  border-radius: 999px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.header-phone:hover { color: var(--amber-700); background: var(--ice); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ice);
  color: var(--steel);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color .18s var(--ease);
}
.nav-toggle:hover { background: var(--ice-2); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 1rem 1.25rem 1.4rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 48px; font-size: 1.05rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 32rem at 112% -12%, rgba(245,158,11,.14), transparent 62%),
    radial-gradient(60rem 40rem at -18% 110%, rgba(31,99,152,.16), transparent 60%),
    linear-gradient(160deg, var(--ice) 0%, var(--white) 74%);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-6) var(--space-6);
}
.hero__copy h1 span.warm { color: var(--amber-600); }
.hero__copy .lead { margin-block: var(--space-3); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.hero__note { font-size: .9rem; color: var(--slate-500); margin-top: var(--space-2); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

/* trust bar overlapping the hero seam */
.trustbar {
  position: relative;
  z-index: 5;
  margin-top: -2.4rem;
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--white);
  padding: 1.1rem 1.4rem;
}
.trustbar__item svg { flex: 0 0 auto; }
.trustbar__item strong { font-family: var(--font-head); font-weight: 600; color: var(--steel); display: block; font-size: .98rem; }
.trustbar__item span { font-size: .84rem; color: var(--slate-500); }

/* ---------- Services offset grid (home) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3) var(--space-3);
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  overflow: clip;
}
.svc-card::after {                 /* airflow trace along top edge */
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--steel-500), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--ice-2); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--ice);
  margin-bottom: var(--space-2);
}
.svc-card h3 a { color: var(--steel); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; } /* full-card link */
.svc-card:hover h3 a { color: var(--steel-600); }
.svc-card p { color: var(--slate-500); font-size: .96rem; margin-bottom: .4rem; }
.svc-card__more { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--amber-700); }
/* staggered rhythm: cards 2 & 4 ride lower on desktop */
@media (min-width: 60rem) {
  .svc-grid { gap: var(--space-4); }
  .svc-card:nth-child(even) { transform: translateY(2.2rem); }
  .svc-card:nth-child(even):hover { transform: translateY(calc(2.2rem - 5px)); }
  .svc-grid { padding-bottom: 2.2rem; }
}

/* split heading row used across sections */
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.split-head h2 { margin-bottom: 0; max-width: 34rem; }

/* ---------- Why us (thermostat split) ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-5);
  align-items: center;
}
.why__art { position: relative; }
.why__art::before {              /* off-grid ice slab behind the dial */
  content: "";
  position: absolute;
  inset: 10% -14% -10% 12%;
  background: linear-gradient(150deg, rgba(23,81,125,.35), rgba(245,158,11,.22));
  border-radius: var(--radius-lg);
  z-index: 0;
}
.why__art svg { position: relative; z-index: 1; }
.why-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-3); }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.why-list svg { margin-top: .2rem; }
.why-list strong { font-family: var(--font-head); font-weight: 600; color: var(--white); display: block; margin-bottom: .15rem; }
.why-list p { color: #B9D2E6; font-size: .95rem; margin: 0; }

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(234,243,250,.18);
}
.stats div strong {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--amber);
  display: block;
  line-height: 1;
}
.stats div span { font-size: .86rem; color: #B9D2E6; }

/* ---------- Pricing tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tier--featured {
  background: var(--steel);
  color: var(--ice);
  border-color: var(--steel);
  box-shadow: var(--shadow-2);
  position: relative;
}
@media (min-width: 60rem) { .tier--featured { transform: scale(1.045); } .tier--featured:hover { transform: scale(1.045) translateY(-4px); } }
.tier--featured h3, .tier--featured .tier__price { color: var(--white); }
.tier__flag {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--steel-900);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { margin-bottom: .2rem; }
.tier__tag { font-size: .88rem; color: var(--slate-500); }
.tier--featured .tier__tag { color: #B9D2E6; }
.tier__price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--steel); margin-block: var(--space-2) 0; line-height: 1; }
.tier__price small { font-size: .95rem; font-weight: 500; color: inherit; opacity: .7; }
.tier ul { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: .55rem; flex: 1; }
.tier li { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; }
.tier li::before { content: "•"; color: var(--amber); font-weight: 700; }

/* ---------- Service area ---------- */
.area {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--space-5);
  align-items: center;
}
.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: var(--space-3) 0 0; list-style: none; }
.area-tags li {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 500;
  color: var(--steel);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.area-tags li:hover { border-color: var(--amber); background: #FFF9EE; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--steel-900) 0%, var(--steel) 55%, var(--steel-600) 100%);
  color: var(--ice);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-3);
  align-items: center;
  overflow: clip;
}
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: #B9D2E6; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; }
.cta-band > svg.flow-bg { position: absolute; right: -4rem; bottom: -5rem; width: 26rem; opacity: .16; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-900); color: #B9D2E6; margin-top: var(--space-6); }
.site-footer a { color: #DCEAF5; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-4);
}
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.footer-brand p { font-size: .92rem; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid rgba(234,243,250,.14);
  padding-block: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  font-size: .8rem;
  color: #7FA3C2;
}
.footer-bottom a { color: #9FC0DC; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Sub-page hero ---------- */
.page-hero {
  background:
    radial-gradient(46rem 24rem at 108% 0%, rgba(245,158,11,.12), transparent 60%),
    linear-gradient(155deg, var(--ice) 0%, var(--white) 78%);
  padding-block: var(--space-5) var(--space-5);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 var(--space-2); font-size: .85rem; }
.breadcrumb li { display: flex; gap: .35rem; align-items: center; color: var(--slate-500); }
.breadcrumb li + li::before { content: "→"; color: var(--amber-600); }
.breadcrumb a { color: var(--slate-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--steel); text-decoration: underline; }
.page-hero .lead { margin-top: var(--space-2); }

/* ---------- Services page ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-5);
  align-items: start;
  padding-block: var(--space-5);
  scroll-margin-top: 6rem;
}
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc-detail:nth-of-type(even) .svc-detail__aside { order: 2; }
.svc-detail__aside {
  background: var(--ice);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  position: sticky;
  top: 6rem;
}
.svc-detail__aside svg { margin-bottom: var(--space-2); }
.svc-detail__aside dl { margin: 0; display: grid; gap: .7rem; }
.svc-detail__aside dt { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-600); }
.svc-detail__aside dd { margin: 0 0 .3rem; font-size: .95rem; }
.svc-detail h2 { scroll-margin-top: 6rem; }
.svc-detail ul.checks { list-style: none; padding: 0; display: grid; gap: .55rem; }
.svc-detail ul.checks li { display: flex; gap: .65rem; align-items: baseline; }
.svc-detail ul.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* process rail */
.process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.process li { position: relative; counter-increment: step; padding-top: var(--space-3); }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -.4rem; left: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel-500);
  opacity: .55;
}
.process li strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--steel); margin-bottom: .25rem; }
.process li p { font-size: .92rem; color: var(--slate-500); margin: 0; }

/* comparison table */
.plan-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.plan-table { border-collapse: collapse; width: 100%; min-width: 44rem; background: var(--white); font-size: .95rem; }
.plan-table caption { text-align: left; padding: 1.1rem 1.4rem .4rem; font-family: var(--font-head); font-weight: 600; color: var(--steel); }
.plan-table th, .plan-table td { padding: .85rem 1.4rem; text-align: left; border-top: 1px solid var(--line); }
.plan-table thead th { border-top: 0; background: var(--steel); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.plan-table thead th:nth-child(3) { background: var(--steel-600); }
.plan-table tbody th { font-weight: 500; color: var(--slate); }
.plan-table td { text-align: center; }
.plan-table td .yes { color: var(--ok); font-weight: 700; }
.plan-table td .no { color: #94A3B8; }
.plan-table tbody tr:hover { background: var(--ice); }

/* ---------- About page ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.value-card {
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3);
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.value-card:nth-child(even) { border-left-color: var(--steel-500); }
.value-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.value-card p { font-size: .93rem; color: var(--slate-500); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.team-card { text-align: center; }
.team-card svg { margin-inline: auto; margin-bottom: var(--space-2); border-radius: 24px; box-shadow: var(--shadow-1); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.team-card:hover svg { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-2); }
.team-card strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--steel); }
.team-card span { font-size: .86rem; color: var(--slate-500); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem; top: .4rem; bottom: .4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--steel-500), var(--amber));
}
.timeline li { position: relative; padding: 0 0 var(--space-4) 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: .35rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--steel-500);
}
.timeline li:last-child::before { border-color: var(--amber); }
.timeline time { font-family: var(--font-head); font-weight: 700; color: var(--amber-700); font-size: .9rem; letter-spacing: .06em; }
.timeline strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--steel); margin: .15rem 0; }
.timeline p { font-size: .94rem; color: var(--slate-500); margin: 0; max-width: 34rem; }

.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.cert {
  display: flex; gap: .9rem; align-items: center;
  background: rgba(234,243,250,.07);
  border: 1px solid rgba(234,243,250,.16);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.cert strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--white); }
.cert span { font-size: .8rem; color: #9FC0DC; }

/* ---------- Projects page ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.proj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.proj-card__banner { background: linear-gradient(135deg, var(--steel) 0%, var(--steel-600) 70%); padding: var(--space-3); }
.proj-card__banner svg { width: 100%; height: auto; }
.proj-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.proj-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .74rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--ice);
  color: var(--steel-600);
}
.chip--warm { background: #FEF3D8; color: var(--amber-700); }
.proj-card h3 { margin-bottom: 0; }
.proj-card p { font-size: .95rem; color: var(--slate-500); margin: 0; }
.proj-stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .8rem;
  align-items: center;
  background: var(--ice);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
}
.proj-stats > div { text-align: center; }
.proj-stats .label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); font-weight: 600; }
.proj-stats .val { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--steel); }
.proj-stats .val--after { color: var(--amber-700); }
.proj-stats .arrow { color: var(--amber-600); }
/* full-width feature card */
@media (min-width: 60rem) {
  .proj-card--wide { grid-column: 1 / -1; flex-direction: row; }
  .proj-card--wide .proj-card__banner { flex: 0 0 42%; display: grid; place-items: center; }
  .proj-card--wide .proj-card__body { padding: var(--space-4); }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: var(--space-4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { margin-bottom: var(--space-2); }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--steel);
  margin-bottom: .35rem;
}
.field label .req { color: var(--amber-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .95rem;
  font: inherit;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-500); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(31, 99, 152, .18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .12);
}
.field .error-msg {
  display: none;
  margin-top: .35rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--err);
}
.field.has-error .error-msg { display: block; }
.form-note { font-size: .84rem; color: var(--slate-500); margin-top: var(--space-2); }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-4) var(--space-2);
}
.form-success.is-visible { display: block; }
.form-success svg { margin: 0 auto var(--space-2); }
.form-card form.is-hidden { display: none; }

.contact-aside { display: grid; gap: var(--space-3); }
.info-card {
  background: var(--ice);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.info-card--steel { background: var(--steel); color: var(--ice); }
.info-card--steel h3 { color: var(--white); }
.info-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.info-card .big-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--amber);
  text-decoration: none;
  display: inline-block;
}
.info-card .big-phone:hover { color: var(--amber-600); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .94rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .4rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 500; color: var(--steel); }

/* ---------- PPC landing page ---------- */
.lp-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.lp-header .site-header__inner { min-height: 4.2rem; }

.lp-hero {
  background:
    radial-gradient(50rem 30rem at 100% -20%, rgba(245,158,11,.18), transparent 60%),
    linear-gradient(160deg, var(--steel-900), var(--steel) 65%);
  color: var(--ice);
  padding-block: var(--space-5);
}
.lp-hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.lp-hero h1 .warm { color: var(--amber); }
.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-4);
  align-items: center;
}
.lp-benefits { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: .8rem; }
.lp-benefits li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.02rem; color: #DCEAF5; }
.lp-benefits svg { flex: 0 0 auto; margin-top: .2rem; }
.lp-benefits strong { color: var(--white); }

.lp-form-card {
  background: var(--white);
  color: var(--slate);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(4, 20, 34, .45);
  padding: var(--space-4) var(--space-3);
  border-top: 5px solid var(--amber);
}
.lp-form-card h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.lp-form-card .sub { font-size: .9rem; color: var(--slate-500); margin-bottom: var(--space-2); }

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: center;
  padding-block: var(--space-3);
}
.lp-trust span { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--steel); }

.lp-steps { text-align: center; }
.lp-steps .process { grid-template-columns: repeat(3, 1fr); text-align: left; max-width: 56rem; margin-inline: auto; }

.lp-final { text-align: center; }
.lp-final .big-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--amber);
  text-decoration: none;
}
.lp-final .big-phone:hover { color: var(--amber-600); }

/* sticky mobile call button */
.sticky-call {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 56px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--steel-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(180, 83, 9, .45);
}
.sticky-call:hover { background: var(--amber-600); color: var(--steel-900); }
@media (max-width: 48rem) {
  .sticky-call { display: inline-flex; }
  .lp-footer-pad { padding-bottom: 5.5rem; }
}

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal[data-delay="1"].in-view { transition-delay: .1s; }
.reveal[data-delay="2"].in-view { transition-delay: .2s; }
.reveal[data-delay="3"].in-view { transition-delay: .3s; }

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

/* airflow drift animation for hero art (disabled by reduced-motion above) */
@keyframes drift {
  from { stroke-dashoffset: 240; }
  to   { stroke-dashoffset: 0; }
}
.flow-line { stroke-dasharray: 120 120; animation: drift 7s linear infinite; }
.flow-line--slow { animation-duration: 11s; }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); }
}

@media (max-width: 60rem) {
  .section { padding-block: var(--space-5); }
  .hero__grid { grid-template-columns: 1fr; padding-block: var(--space-5); }
  .hero__art { max-width: 30rem; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: var(--space-4); }
  .why__art { max-width: 24rem; margin-inline: auto; }
  .tiers { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; }
  .area { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .cta-band__actions { justify-content: flex-start; }
  .svc-detail, .svc-detail:nth-of-type(even) { grid-template-columns: 1fr; }
  .svc-detail:nth-of-type(even) .svc-detail__aside { order: 0; }
  .svc-detail__aside { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lp-steps .process { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-strip { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
