/* ==========================================================================
   JerrySoft.com — global stylesheet
   Palette: teal (primary), graphite (text/structure), white (surface),
   muted blue (secondary), warm ember (emergency accent).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand */
  --teal-800: #075252;
  --teal-700: #0b6f6f;
  --teal-600: #0e8585;
  --teal-500: #12a0a0;
  --teal-100: #d3ecec;
  --teal-50: #eef8f8;

  --graphite-900: #141b22;
  --graphite-800: #1f2933;
  --graphite-700: #2c3a46;
  --graphite-600: #3e4c59;
  --graphite-400: #6b7a89;
  --graphite-300: #97a3b0;

  --blue-700: #33517a;
  --blue-600: #3e5f8a;
  --blue-500: #4f7cac;
  --blue-50: #eff4fa;

  --ember-700: #a8360a;
  --ember-600: #c2410c;
  --ember-500: #e2661c;
  --ember-50: #fdf1e8;

  /* Surfaces */
  --white: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f7f8;
  --surface-sunken: #eaeff2;
  --border: #dde5ea;
  --border-strong: #c6d2da;

  /* Type */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    sans-serif;
  --font-mono: "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  /* Rhythm */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gutter: 1.5rem;
  --section-y: 5rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20, 27, 34, 0.06),
    0 1px 3px rgba(20, 27, 34, 0.08);
  --shadow-md: 0 2px 4px rgba(20, 27, 34, 0.05),
    0 8px 20px rgba(20, 27, 34, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 27, 34, 0.14);

  --transition: 160ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the sticky header. */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--graphite-900);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem);
}

h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal-800);
}

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.4em;
}

strong {
  color: var(--graphite-900);
  font-weight: 650;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */

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

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

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

.section--alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section--tight {
  padding-block: 3.25rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.75rem;
}

.section-head p {
  font-size: 1.075rem;
  color: var(--graphite-600);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--graphite-900);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

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

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--teal-800);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--graphite-800);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--surface-alt);
  border-color: var(--graphite-300);
  color: var(--graphite-900);
}

.btn--emergency {
  background: var(--ember-600);
  color: var(--white);
}

.btn--emergency:hover {
  background: var(--ember-700);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--graphite-900);
  font-weight: 700;
  font-size: 1.075rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--teal-700);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__name .brand__tld {
  color: var(--teal-600);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--graphite-600);
  font-weight: 550;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.site-nav a:hover {
  color: var(--graphite-900);
  background: var(--surface-alt);
}

.site-nav a[aria-current="page"] {
  color: var(--teal-700);
}

.site-nav .btn {
  margin-left: 0.5rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
  /* Needs to out-specify `.site-nav a` above. */
  color: var(--white);
  background: var(--teal-700);
}

.site-nav .btn:hover {
  background: var(--teal-800);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite-800);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

@media (max-width: 860px) {
  /* Baseline (no JavaScript): the nav simply wraps onto its own row and stays
     visible, so every link is reachable. JS adds .js-nav to collapse it. */
  .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
  }

  .site-nav {
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .site-nav .btn {
    margin-left: 0;
  }

  .js-nav .site-header__inner {
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .js-nav .nav-toggle {
    display: inline-flex;
  }

  .js-nav .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .js-nav .site-nav.is-open {
    display: flex;
  }

  .js-nav .site-nav a {
    padding: 0.75rem 0.6rem;
    font-size: 1rem;
  }

  .js-nav .site-nav .btn {
    margin: 0.5rem 0 0;
    padding: 0.8rem 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 4.25rem 4.5rem;
  background: linear-gradient(168deg, #f7fafb 0%, #eef5f6 55%, #e6eff2 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::after {
  /* Soft teal wash behind the artwork; decorative only. */
  content: "";
  position: absolute;
  top: -25%;
  right: -12%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 133, 133, 0.11) 0%,
    rgba(14, 133, 133, 0) 68%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--graphite-600);
  max-width: 38rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
  font-size: 0.9rem;
  color: var(--graphite-600);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__meta svg {
  flex: none;
  color: var(--teal-600);
}

.hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--graphite-800);
}

.hero__figure img {
  width: 100%;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding-block: 3rem 3.25rem;
  }
}

/* Highlight panel — remote / emergency / projects */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.25rem;
  position: relative;
  z-index: 1;
}

.highlight {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.highlight--emergency {
  border-top-color: var(--ember-600);
}

.highlight--projects {
  border-top-color: var(--blue-600);
}

.highlight__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.highlight--emergency .highlight__icon {
  background: var(--ember-50);
  color: var(--ember-600);
}

.highlight--projects .highlight__icon {
  background: var(--blue-50);
  color: var(--blue-600);
}

.highlight h2,
.highlight h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.highlight p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--graphite-600);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .highlights {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
  }
}

/* --------------------------------------------------------------------------
   7. Service cards
   -------------------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 9px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.13rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--graphite-600);
  margin-bottom: 1.15rem;
}

.service-card__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

/* Non-breaking space keeps the arrow glued to the last word when the label
   wraps onto a second line. */
.service-card__link::after {
  content: "\00a0\2192";
  display: inline-block;
  transition: transform var(--transition);
}

.service-card__link:hover {
  text-decoration: underline;
}

.service-card__link:hover::after {
  transform: translateX(3px);
}

.service-card--urgent {
  border-color: #f0d3c1;
  background: linear-gradient(180deg, var(--ember-50) 0%, var(--white) 45%);
}

.service-card--urgent .service-card__icon {
  background: var(--ember-50);
  color: var(--ember-600);
}

.service-card--urgent .service-card__link {
  color: var(--ember-700);
}

/* --------------------------------------------------------------------------
   8. Process steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--graphite-800);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--graphite-600);
}

.step__hint {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.88rem;
  color: var(--graphite-400);
}

/* Response-mode chooser under the process steps */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.mode {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.mode--onsite {
  border-left-color: var(--blue-600);
}

.mode--emergency {
  border-left-color: var(--ember-600);
}

.mode h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.mode p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--graphite-600);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Emergency callout
   -------------------------------------------------------------------------- */

.emergency-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--graphite-900), var(--graphite-700));
  color: #e8edf1;
  box-shadow: var(--shadow-md);
}

.emergency-callout__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(226, 102, 28, 0.18);
  color: var(--ember-500);
}

.emergency-callout__body {
  flex: 1 1 22rem;
}

.emergency-callout h2,
.emergency-callout h3 {
  margin: 0 0 0.3rem;
  color: var(--white);
  font-size: 1.2rem;
}

.emergency-callout p {
  margin: 0;
  font-size: 0.96rem;
  color: #c4ced7;
}

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--graphite-900);
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--teal-700);
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  content: "\2013";
}

.faq__item summary:hover {
  color: var(--teal-700);
}

.faq__answer {
  padding: 0 0 1.35rem;
  max-width: 58rem;
  color: var(--graphite-600);
}

/* --------------------------------------------------------------------------
   11. Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

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

.contact-form {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite-800);
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--graphite-900);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(18, 160, 160, 0.18);
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.83rem;
  color: var(--graphite-400);
}

fieldset {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

fieldset legend {
  padding: 0;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite-800);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.radio-chip:hover {
  border-color: var(--teal-500);
}

.radio-chip input {
  accent-color: var(--teal-600);
  margin: 0;
}

.radio-chip:has(input:checked) {
  border-color: var(--teal-600);
  background: var(--teal-50);
  color: var(--graphite-900);
  font-weight: 600;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-800);
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  background: var(--ember-50);
  border-color: #f0d3c1;
  color: var(--ember-700);
}

/* Contact details panel */
.contact-details {
  padding: 1.75rem;
  background: var(--graphite-900);
  color: #d8e0e6;
  border-radius: var(--radius);
}

.contact-details h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.contact-details a {
  color: var(--teal-100);
}

.contact-details a:hover {
  color: var(--white);
}

.detail-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.detail-list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-list dt,
.detail-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-100);
}

.detail-value {
  font-size: 1rem;
  color: var(--white);
  word-break: break-word;
}

/* Marks details the owner still needs to fill in before launch. */
.placeholder-value {
  display: inline-block;
  font-size: 0.95rem;
  color: #a9b6c0;
  font-style: italic;
}

.contact-details__emergency {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(226, 102, 28, 0.14);
  border: 1px solid rgba(226, 102, 28, 0.4);
  font-size: 0.92rem;
  color: #f4d9c6;
}

.contact-details__emergency strong {
  color: #ffd7bd;
  display: block;
  margin-bottom: 0.2rem;
}

/* --------------------------------------------------------------------------
   12. Service page pieces
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: 3.25rem;
  background: linear-gradient(168deg, #f7fafb 0%, #eaf2f4 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero--urgent {
  background: linear-gradient(168deg, #fdf6f1 0%, #fbeade 100%);
}

.page-hero--urgent .eyebrow {
  color: var(--ember-700);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.page-hero__lede {
  font-size: 1.1rem;
  color: var(--graphite-600);
}

.page-hero__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.breadcrumb {
  padding-top: 1.1rem;
  font-size: 0.87rem;
  color: var(--graphite-400);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--graphite-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

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

.prose h3 {
  margin-top: 1.75rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.sidebar-card {
  position: sticky;
  top: 5.75rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.05rem;
}

.sidebar-card p {
  font-size: 0.93rem;
  color: var(--graphite-600);
}

.sidebar-card .btn {
  width: 100%;
}

.sidebar-card .btn + .btn {
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .sidebar-card {
    position: static;
  }
}

/* Checklist of "what's included" items */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-top: 0.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b6f6f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

/* "Related services" strip */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.related-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}

.related-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--graphite-900);
}

.related-card span {
  font-size: 0.89rem;
  color: var(--graphite-600);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 3rem 2rem;
  background: var(--graphite-900);
  color: #aab6c0;
  font-size: 0.93rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand:hover {
  color: var(--teal-100);
}

.site-footer h2 {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer p {
  margin-top: 0.9rem;
  max-width: 26rem;
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-list a {
  color: #aab6c0;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.87rem;
  color: #8b98a4;
}
