/* ============================================
   Hartley Plumbing — site styles
   ============================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }

:root {
  --navy: #0A2540;
  --navy-deep: #061A2E;
  --orange: #EE5A24;
  --orange-deep: #D04A18;
  --orange-soft: #FFF1EA;
  --paper: #F7F3EC;
  --paper-2: #EFE9DD;
  --white: #FFFFFF;
  --ink: #0A2540;
  --ink-soft: rgba(10, 37, 64, 0.72);
  --line: rgba(10, 37, 64, 0.14);
  --line-light: rgba(247, 243, 236, 0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; }

.eyebrow {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}
.lead-large {
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 50ch;
}
.muted { color: var(--ink-soft); }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .container { padding: 0 20px; }
}
.cream { background: var(--paper); }
.cream-2 { background: var(--paper-2); }
.white { background: var(--white); }
.navy { background: var(--navy); color: var(--paper); }
.navy-deep { background: var(--navy-deep); color: var(--paper); }
.navy h1, .navy h2, .navy h3, .navy h4,
.navy-deep h1, .navy-deep h2, .navy-deep h3, .navy-deep h4 { color: var(--paper); }
.navy .muted, .navy-deep .muted { color: rgba(247, 243, 236, 0.72); }
.navy .lede, .navy-deep .lede { color: rgba(247, 243, 236, 0.85); }
.text-orange { color: var(--orange); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.15s, transform 0.08s, box-shadow 0.15s;
  min-height: 58px;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 3px 0 var(--orange-deep);
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 0 0 var(--orange-deep); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--paper); }
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(247, 243, 236, 0.4);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; min-height: 0; font-size: 0.9rem; border-radius: 8px; }

/* --- Top banner (seasonal promo) — edit HTML in each page to swap message --- */
.top-banner {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 16px;
  line-height: 1.35;
  letter-spacing: 0.005em;
}
.top-banner a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.top-banner a:hover { text-decoration-thickness: 2px; }
@media (max-width: 520px) {
  .top-banner { font-size: 0.82rem; padding: 8px 14px; }
}

/* --- Header --- */
.site-header {
  background: var(--navy);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: #fff;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-top: 3px;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 28px; font-weight: 700; font-size: 0.95rem; }
.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a.active { border-color: var(--orange); color: var(--paper); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--paper);
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}
.header-phone:hover { background: rgba(255, 255, 255, 0.12); }
.header-phone .phone-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.header-phone .phone-icon svg { width: 18px; height: 18px; color: #fff; }
@media (max-width: 900px) { .main-nav { display: none; } }
@media (max-width: 560px) {
  .header-phone .phone-icon { width: 40px; height: 40px; }
  .header-phone .phone-icon svg { width: 20px; height: 20px; }
  .header-phone .phone-num { display: none; }
  .header-phone { padding: 6px; border-radius: 50%; }
  .brand-name small { display: none; }
}

/* --- Hero (home) --- */
.hero { position: relative; background: var(--navy); color: var(--paper); overflow: hidden; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(238, 90, 36, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
  position: relative;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 90, 36, 0.14);
  color: var(--orange);
  border: 1px solid rgba(238, 90, 36, 0.3);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(238, 90, 36, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 90, 36, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(238, 90, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 90, 36, 0); }
}
.hero h1 { color: var(--paper); margin-bottom: 22px; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { color: rgba(247, 243, 236, 0.86); margin-bottom: 32px; max-width: 36ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 243, 236, 0.14);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.92);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .check {
  width: 20px; height: 20px;
  background: var(--orange);
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex: none;
}
.hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-callout {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-callout .ico {
  width: 32px; height: 32px;
  background: var(--orange);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  flex: none;
}
.hero-callout .ico svg { width: 16px; height: 16px; }
.hero-callout .lbl { display: block; font-size: 0.7rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-callout .num { font-weight: 900; font-size: 1rem; color: var(--navy); }

/* --- Section heads --- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 720px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* --- Service cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.1);
  border-color: var(--navy);
}
.service-card .icon {
  width: 52px;
  height: 52px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.service-card .icon svg { width: 28px; height: 28px; stroke-width: 2.2; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }
.service-card .arrow {
  margin-top: 6px;
  font-weight: 800;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}
.service-card .arrow svg { width: 16px; height: 16px; transition: transform 0.15s; }
.service-card:hover .arrow svg { transform: translateX(3px); }

/* --- Areas (homepage teaser) --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.area-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.area-chip .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}
.area-chip.base {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.area-chip.base .dot { background: var(--orange); box-shadow: 0 0 0 3px rgba(238, 90, 36, 0.2); }

/* --- Areas (full /areas page) --- */
.area-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  .area-cols { grid-template-columns: 1fr; gap: 20px; }
}
.area-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 32px 32px 28px;
}
.area-card.alt {
  background: var(--paper-2);
  border-color: transparent;
}
.area-card h2 {
  font-size: 1.55rem;
  margin: 6px 0 12px;
  max-width: 22ch;
}
.area-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0 0 18px;
  max-width: 48ch;
}
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}
.area-list li {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 480px) {
  .area-list { grid-template-columns: 1fr; }
}

.how-far {
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 820px;
}
.how-far h2 {
  font-size: 1.4rem;
  margin: 6px 0 12px;
  max-width: 38ch;
}
.how-far p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
  max-width: 62ch;
}

/* --- About page --- */
.about-image {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.value-list { display: grid; gap: 18px; margin-top: 24px; }
.value-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.value-item .check {
  width: 32px; height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex: none;
}
.value-item strong { display: block; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.value-item p { color: var(--ink-soft); font-size: 0.98rem; }
.navy .value-item strong { color: var(--paper); }
.navy .value-item p { color: rgba(247, 243, 236, 0.8); }

.credentials-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  text-align: center;
}
.credentials-line .dot {
  color: var(--orange);
  font-weight: 900;
  font-size: 1.1rem;
}
@media (max-width: 560px) {
  .credentials-line { gap: 10px; padding: 18px 20px; font-size: 0.95rem; }
  .credentials-line .dot { display: none; }
}

/* --- CTA strip --- */
.cta-strip { background: var(--navy); color: var(--paper); padding: 64px 0; }
.cta-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-strip h2 { color: var(--paper); margin: 0; max-width: 18ch; }
.cta-strip h2 .accent { color: var(--orange); }
.cta-strip .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-strip .small {
  display: block;
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.7);
  margin-top: 6px;
  font-weight: 600;
}

/* --- Contact page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-card {
  background: var(--navy);
  color: var(--paper);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.contact-card h2 { color: var(--paper); margin-bottom: 6px; }
.contact-card .sub { color: rgba(247, 243, 236, 0.78); margin-bottom: 22px; }
.contact-phone {
  display: block;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  font-weight: 900;
  color: var(--orange);
  margin: 8px 0 28px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.contact-phone:hover { color: #fff; }
.contact-meta { display: flex; flex-direction: column; gap: 18px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-light); }
.contact-meta .row { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-meta .row .ico { color: var(--orange); flex: none; margin-top: 2px; }
.contact-meta .row .ico svg { width: 22px; height: 22px; }
.contact-meta .row strong { display: block; font-weight: 800; }
.contact-meta .row span { color: rgba(247, 243, 236, 0.7); font-size: 0.95rem; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
}
@media (max-width: 600px) { .form, .contact-card { padding: 28px 22px; } }
.form h2 { margin-bottom: 6px; }
.form .lede { margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.form-foot .btn { width: 100%; }
.form-foot .small { font-size: 0.85rem; color: var(--ink-soft); }
.form-success, .form-error {
  padding: 16px 18px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}
.form-success { background: #E8F4EA; color: #1A5C2A; border: 1.5px solid #1A5C2A; }
.form-error { background: #FBE8E2; color: #8A2410; border: 1.5px solid #8A2410; }
.form-success.show, .form-error.show { display: block; }

.field-hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  line-height: 1.4;
}
.field-hint::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}

/* --- Routing banner (above contact form) --- */
.routing-banner {
  background: var(--orange-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.routing-msg {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.routing-msg strong {
  font-weight: 800;
  color: var(--navy);
}
@media (max-width: 600px) {
  .routing-msg { font-size: 1rem; }
}

/* --- Services detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: none; padding-top: 0; }
.service-detail .icon {
  width: 56px; height: 56px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 12px;
  display: grid; place-items: center;
  flex: none;
}
.service-detail .icon svg { width: 28px; height: 28px; stroke-width: 2.2; }
.service-detail h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service-detail p.desc {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.55;
}
.service-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-facts .fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.service-facts .fact::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 2px;
  flex: none;
}
@media (max-width: 600px) {
  .service-detail { grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; }
  .service-detail .icon { width: 48px; height: 48px; border-radius: 10px; }
  .service-detail .icon svg { width: 24px; height: 24px; }
  .service-detail h3 { font-size: 1.25rem; }
  .service-detail p.desc { font-size: 1rem; }
  .service-facts .fact { font-size: 0.82rem; padding: 6px 12px; }
}

/* --- Page header (sub-pages) --- */
.page-head { padding: 72px 0 56px; background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.page-head::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(238, 90, 36, 0.1), transparent 50%);
  pointer-events: none;
}
.page-head .container { position: relative; }
.page-head h1 { color: var(--paper); max-width: 16ch; margin-bottom: 16px; }
.page-head .lede { color: rgba(247, 243, 236, 0.85); max-width: 56ch; }
.page-head .eyebrow { color: var(--orange); margin-bottom: 14px; display: inline-block; }
.breadcrumb { font-size: 0.85rem; color: rgba(247, 243, 236, 0.7); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }

/* --- Footer --- */
.site-footer { background: var(--navy-deep); color: var(--paper); padding: 64px 0 32px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand-blurb { color: rgba(247, 243, 236, 0.7); font-size: 0.95rem; max-width: 32ch; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h4 {
  color: var(--orange);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 800;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 9px; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid .phone-link { color: var(--paper); font-weight: 800; font-size: 1.05rem; }
.footer-grid .phone-link:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.6);
}
.footer-bottom .lic { font-weight: 700; color: rgba(247, 243, 236, 0.85); }
.footer-bottom .demo-note { font-style: italic; color: rgba(247, 243, 236, 0.78); width: 100%; }

/* --- Mobile call bar (sticky) --- */
.mobile-call { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 84px; }
  .mobile-call {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 100;
    background: var(--orange);
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
  }
  .mobile-call svg { width: 22px; height: 22px; flex: none; }
  .mobile-call .pulse {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    animation: pulse 2.4s ease-out infinite;
  }
  /* When the form's submit button is on-screen, slide the sticky call bar
     down and out of the way so the user can actually tap "Send" one-handed. */
  .mobile-call.form-visible {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.18s ease;
  }
  .mobile-call { transition: transform 0.22s ease, opacity 0.18s ease; }
}

/* --- Phone link inside body copy (not the big buttons) --- */
a.phone-inline {
  font-weight: 800;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
a.phone-inline:hover { text-decoration-thickness: 2.5px; }
.contact-meta a.phone-inline { color: var(--paper); }
.contact-meta a.phone-inline:hover { color: var(--orange); }

/* Make the hero "Call us now" badge itself the tap target. */
a.hero-callout { color: var(--navy); }
a.hero-callout:hover .num { color: var(--orange); }

/* --- Utilities --- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 12px; }
