:root {
  --navy: #07111f;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --soft: #f4f6f9;
  --white: #fff;
  --orange: #f26a21;
  --orange-dark: #c94d0e;
  --green: #13795b;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  text-decoration: none;
  display: grid;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}
.brand span { color: var(--orange); font-size: 13px; font-weight: 700; }
.menu-toggle {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 24px;
}
.nav-links {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 68px;
  padding: 14px 16px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-links.is-open { display: grid; gap: 8px; }
.nav-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}
.phone-link { color: var(--orange-dark); }

.hero {
  background: linear-gradient(90deg, rgba(7,17,31,0.96), rgba(7,17,31,0.88)), url("/assets/fire-door-survey-hero.png") center right / cover no-repeat;
  color: var(--white);
}
.hero-inner, .section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero-inner {
  padding: 54px 0 34px;
  display: grid;
  gap: 28px;
}
.eyebrow {
  color: #f8b37e;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 11vw, 64px); max-width: 900px; }
h2 { font-size: clamp(26px, 7vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: #d9e2ef; max-width: 760px; }
.section .lead, .muted { color: var(--muted); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
}
.button.primary { background: var(--orange); color: var(--white); }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.button.dark { background: var(--navy); color: var(--white); }
.button.full { width: 100%; }

.hero-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.page-hero .hero-inner { grid-template-columns: 1fr; }
.pricing-hero .hero-inner {
  padding: 34px 0 24px;
}
.pricing-hero h1 {
  font-size: clamp(32px, 8vw, 52px);
}
.pricing-hero .lead {
  margin-bottom: 10px;
}
.booking-section {
  padding-top: 24px;
}
.quick-price {
  display: grid;
  gap: 12px;
}
label { font-weight: 800; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #b9c2cf;
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; gap: 12px; }
.upload-section {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}
.upload-section h2 {
  margin-bottom: 6px;
  font-size: 21px;
}
.attachment-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: var(--radius);
  background: var(--white);
}
.attachment-row label {
  margin-bottom: 0;
}
.attachment-row input[type="file"] {
  padding: 10px;
  background: #fff;
}
.file-name {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.attachment-add,
.attachment-remove {
  width: 100%;
}
.attachment-remove {
  min-height: 42px;
  font-size: 14px;
}
.price-result {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 14px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.price-line:last-child { border-bottom: 0; font-weight: 900; }
.notice {
  border-left: 4px solid var(--orange);
  background: #fff7ed;
  padding: 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.success-note {
  max-width: 780px;
  margin: 24px 0;
  padding: 18px;
  color: #f8fafc;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(248, 179, 126, 0.24);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.success-note p {
  color: #e5edf7;
}
.success-note p:first-child {
  color: var(--white);
  font-weight: 800;
}
.error { color: var(--danger); font-weight: 800; }
.success { color: var(--green); font-weight: 800; }

.section { padding: 48px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--navy); color: var(--white); }
.grid { display: grid; gap: 16px; }
.cards { display: grid; gap: 16px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}
.dark .card { background: #0c1a2c; border-color: #22324a; color: var(--white); }
.card p:last-child, .notice p:last-child { margin-bottom: 0; }
.report-preview {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f8fafc;
}
.report-preview > div {
  display: grid;
  gap: 2px;
}
.report-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.report-preview p {
  margin-bottom: 0;
}
.photo-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.photo-placeholders i {
  min-height: 54px;
  border: 1px dashed #a7b1c2;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8edf5, #f8fafc);
}
.split { display: grid; gap: 24px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}
.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 12px;
}

.booking-form {
  display: grid;
  gap: 18px;
}
.form-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}
.checkbox {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 600;
  margin: 12px 0;
}
.checkbox input { width: 20px; min-height: 20px; margin-top: 3px; }
.small { font-size: 14px; color: var(--muted); }
.step-actions { margin-top: 14px; }
.date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.date-option {
  min-height: 58px;
  border: 1px solid #b9c2cf;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 9px;
  text-align: left;
  cursor: pointer;
}
.date-option span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.date-option[disabled] {
  cursor: not-allowed;
  color: #7c8796;
  background: #e9edf3;
  border-color: #d3d9e3;
}
.date-option.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,106,33,0.18);
}
.form-step[hidden], [hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.booking-layout { display: grid; gap: 22px; align-items: start; }
.booking-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px;
}
.wizard-progress {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.wizard-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.wizard-progress strong {
  display: block;
  color: var(--ink);
  font-size: clamp(25px, 6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.wizard-progress span {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf3;
}
.wizard-progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 180ms ease;
}
.quantity-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(242,106,33,0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}
.quantity-card .small {
  margin-bottom: 0;
}
.quantity-label,
.quantity-total span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quantity-control {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
}
.quantity-button {
  min-width: 56px;
  min-height: 56px;
  border: 1px solid rgba(242,106,33,0.35);
  border-radius: 16px;
  background: var(--orange);
  color: var(--white);
  font: inherit;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(242,106,33,0.18);
}
.quantity-button:disabled {
  cursor: not-allowed;
  background: #d8dee8;
  color: #7c8796;
  border-color: #d8dee8;
  box-shadow: none;
}
.quantity-value {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}
.quantity-value input {
  width: 54px;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  text-align: right;
  box-shadow: none;
  appearance: textfield;
}
.quantity-value input::-webkit-outer-spin-button,
.quantity-value input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}
.quantity-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(216,222,232,0.9);
}
.quantity-total strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}
.wizard-panel { display: grid; gap: 14px; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wizard-actions .button { flex: 1 1 180px; }
.step-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}
.step-heading .button { flex: 0 0 auto; min-height: 44px; }
.summary-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  font-weight: 800;
}
.schedule-note {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: #fff7ed;
  color: #394150;
}
.schedule-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.compact-schedule-note {
  margin: 10px 0 12px;
  background: #fff;
}
.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.calendar-header {
  min-height: 54px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}
.calendar-nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekday {
  padding: 8px 2px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  border-bottom: 1px solid var(--line);
}
.calendar-day {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 6px 2px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.calendar-day strong { font-size: 16px; line-height: 1; }
.calendar-day span {
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}
.calendar-day:disabled {
  cursor: not-allowed;
  background: #eef1f5;
  color: #8a94a3;
}
.calendar-day:disabled span { color: #7c8796; }
.calendar-day--full span { color: var(--danger); }
.calendar-day--selected {
  background: #fff7ed;
  box-shadow: inset 0 0 0 3px var(--orange);
}
.calendar-day--selected span { color: var(--orange-dark); }
.review-box {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.review-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.review-box div:last-child { border-bottom: 0; background: var(--soft); }
.review-box span { color: var(--muted); }
.terms-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--soft);
}
.terms-summary details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.terms-summary summary { cursor: pointer; font-weight: 900; }
.compact-list { margin-top: 0; gap: 7px; }
.compact-list li { font-size: 14px; }
.terms-checkbox {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.footer {
  background: #050b14;
  color: #d9e2ef;
  padding: 40px 0 88px;
}
.footer a { color: #fff; }
.footer-grid { display: grid; gap: 22px; }
.sticky-cta {
  position: fixed;
  left: 10px;
  right: auto;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: calc(100vw - 20px);
  max-width: calc(100vw - 20px);
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  background: rgba(7,17,31,0.94);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(7,17,31,0.28);
  backdrop-filter: blur(14px);
}
.sticky-cta .button {
  min-width: 0;
  min-height: 52px;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.1;
  white-space: normal;
  text-align: center;
}
.sticky-cta .button.secondary {
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  border-color: transparent;
}
.booking-route-note {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(242,106,33,0.22);
  border-radius: var(--radius);
  background: rgba(242,106,33,0.08);
  color: #394150;
  font-weight: 700;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
}

@media (min-width: 760px) {
  .menu-toggle { display: none; }
  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .nav-links a { min-height: auto; font-size: 14px; }
  .hero-inner {
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;
    padding: 78px 0 54px;
  }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); }
  .booking-card { grid-column: 2; grid-row: 1; }
  .support-column { grid-column: 1; grid-row: 1; }
  .booking-card { padding: 22px; }
  .date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two, .split { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}

@media (max-width: 759px) {
  main { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
  .booking-section { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .booking-card {
    margin-inline: -2px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
  .wizard-progress {
    gap: 6px;
    margin-bottom: 16px;
  }
  .wizard-progress strong {
    font-size: 27px;
  }
  .step-heading { display: grid; }
  .step-heading .button { width: 100%; }
  .calendar-day { min-height: 54px; }
  .calendar-day span { font-size: 9px; }
}

/* Premium platform refresh */
.site-header {
  background: rgba(5, 11, 20, 0.96);
  border-bottom-color: rgba(255,255,255,0.1);
}
.brand, .nav-links a { color: var(--white); }
.nav-links { background: #050b14; border-bottom-color: rgba(255,255,255,0.1); }
.phone-link { color: #ffb37d !important; }
.menu-toggle { background: #111827; color: var(--white); border-color: rgba(255,255,255,0.18); }
.card {
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(7, 17, 31, 0.12);
  border-color: #c8d1de;
}
.premium-section { padding: 68px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.section-heading p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.cards.five {
  grid-template-columns: 1fr;
}
.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5,11,20,.99) 0%, rgba(7,17,31,.96) 52%, rgba(17,24,39,.92) 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(242,106,33,.22), transparent 28%);
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 54px 0 28px;
}
.home-hero-copy h1 {
  font-size: clamp(46px, 12vw, 86px);
  line-height: .96;
  max-width: 760px;
  margin-bottom: 18px;
}
.home-hero-copy h1 span {
  display: block;
  color: var(--orange);
}
.home-hero-copy .lead {
  max-width: 660px;
  font-size: clamp(18px, 3vw, 22px);
}
.hero-visual-panel {
  position: relative;
  min-height: 620px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 34px 90px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.operational-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,20,.06), rgba(5,11,20,.72)),
    linear-gradient(90deg, rgba(5,11,20,.65), transparent 45%),
    url("/assets/fire-door-survey-hero.png") center / cover no-repeat;
  transform: scale(1.03);
}
.operational-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(242,106,33,.26), transparent 22%),
    linear-gradient(180deg, transparent 0 56%, rgba(5,11,20,.88));
}
.visual-stat {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  max-width: 210px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(5,11,20,.74);
  backdrop-filter: blur(12px);
}
.visual-stat strong,
.visual-stat span {
  display: block;
}
.visual-stat strong {
  color: var(--white);
  font-size: 15px;
}
.visual-stat span {
  color: #d9e2ef;
  font-size: 13px;
}
.quick-booking-card {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  border: 1px solid rgba(255,255,255,.24);
}
.quick-booking-card .eyebrow { color: var(--orange-dark); }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-badges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #e6edf7;
  font-weight: 800;
  font-size: 14px;
}
.trust-badges span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.location-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(5, 11, 20, .86);
}
.location-strip .section-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 12px 0;
}
.location-strip span {
  color: #dbe5f2;
  font-size: 13px;
  font-weight: 800;
}
.location-strip span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--orange);
}
.icon-card {
  min-height: 100%;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff2e9;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 950;
}
.issue-card {
  overflow: hidden;
  padding: 0;
}
.issue-card h3,
.issue-card p {
  padding-inline: 16px;
}
.issue-card p {
  padding-bottom: 16px;
}
.issue-media {
  min-height: 185px;
  margin-bottom: 16px;
  position: relative;
}
.report-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}
.report-mockup {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, #101d2e, #334155);
  box-shadow: var(--shadow);
}
.report-window {
  min-height: 330px;
  border-radius: 16px;
  padding: 18px;
  background: #f8fafc;
  transform: rotate(-2deg);
}
.report-topline {
  width: 64%;
  height: 22px;
  border-radius: 6px;
  margin-bottom: 16px;
  background: var(--orange);
}
.report-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.report-table span {
  height: 18px;
  border-radius: 5px;
  background: #dfe6ef;
}
.report-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.report-photos i {
  min-height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c9d4e2, #fff);
  border: 1px solid #cbd5e1;
}
.dark-lead {
  color: var(--muted);
}
.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}
.feature-list span {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}
.feature-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 950;
}
.split-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(242,106,33,.15), transparent 25%),
    var(--navy);
}
.compliance-split {
  display: grid;
  gap: 18px;
  align-items: stretch;
}
.compliance-visual {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(5,11,20,.08), rgba(5,11,20,.72)),
    url("/assets/fire-door-survey-hero.png") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  position: relative;
}
.compliance-visual::after {
  content: "FDS";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
  letter-spacing: .08em;
}
.dark-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,.04);
}
.dark-card h2 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 44px);
}
.dark-card p,
.dark-card li {
  color: #d9e2ef;
}
.dark-card .check-list li::before {
  color: var(--orange);
}
.start-card {
  padding: 24px;
}
.primary-path {
  border-color: #f4c7a8;
  background: linear-gradient(180deg, #fff, #fff7ed);
}
.secondary-path {
  background: #f8fafc;
}
.simple-steps {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 18px 0 22px;
  font-weight: 800;
}
.final-cta {
  padding: 54px 0;
  color: var(--white);
  background: linear-gradient(135deg, #050b14, #111827);
}
.final-cta-inner {
  display: grid;
  gap: 18px;
  align-items: center;
}
.final-cta h2 {
  font-size: clamp(34px, 8vw, 58px);
  color: var(--white);
}
.final-cta p {
  color: #d9e2ef;
}
.premium-footer .footer-grid {
  gap: 26px;
}

@media (min-width: 760px) {
  .nav-links { background: transparent; }
  .home-hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(440px, .85fr);
    padding: 72px 0 40px;
  }
  .cards.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .report-layout {
    grid-template-columns: .82fr 1fr;
  }
  .feature-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .final-cta-inner {
    grid-template-columns: 1fr auto;
  }
  .compliance-split {
    grid-template-columns: minmax(0, .95fr) minmax(280px, .72fr) minmax(0, .95fr);
  }
  .premium-footer .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }
}

@media (max-width: 759px) {
  .home-hero-grid {
    min-height: auto;
    padding: 44px 0 28px;
  }
  .home-hero-copy h1 {
    font-size: clamp(42px, 14vw, 56px);
  }
  .trust-badges {
    display: grid;
  }
  .hero-visual-panel {
    min-height: 620px;
  }
  .quick-booking-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }
  .visual-stat {
    left: 16px;
    top: 16px;
  }
  .premium-section {
    padding: 46px 0;
  }
  .section-heading {
    text-align: left;
  }
  .cards.five,
  .cards.two,
  .cards.three {
    grid-template-columns: 1fr;
  }
  .report-window {
    min-height: 260px;
    transform: none;
  }
  .issue-media {
    min-height: 190px;
  }
  .location-strip .section-inner {
    justify-content: flex-start;
  }
}

/* Homepage visual polish pass */
.button.primary {
  box-shadow: 0 12px 28px rgba(242, 106, 33, 0.28);
}
.home-hero {
  background:
    radial-gradient(circle at 74% 18%, rgba(242,106,33,.24), transparent 24%),
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.07), transparent 24%),
    linear-gradient(135deg, #030812 0%, #07111f 44%, #111827 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 65%);
}
.home-hero-grid {
  min-height: 790px;
  gap: 46px;
}
.home-hero-copy {
  padding-top: 12px;
}
.home-hero-copy h1 {
  font-size: clamp(58px, 8.6vw, 102px);
  max-width: 820px;
  letter-spacing: -0.035em;
}
.home-hero-copy .lead {
  max-width: 700px;
  color: #e5edf7;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.45;
}
.home-hero .button {
  min-height: 58px;
  padding: 16px 22px;
  font-size: 17px;
}
.home-hero .button.secondary {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.96);
}
.trust-badges {
  margin-top: 30px;
}
.trust-badges span {
  min-height: 44px;
  padding: 10px 15px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-visual-panel {
  min-height: 690px;
  border-radius: 4px 4px 30px 30px;
  box-shadow: 0 44px 100px rgba(0,0,0,.54);
  border-color: rgba(255,255,255,.18);
  overflow: hidden;
}
.hero-visual-panel::before {
  content: "";
  position: absolute;
  inset: -18px -18px 42px 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px 4px 34px 34px;
  z-index: -1;
}
.operational-image {
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(5,11,20,.02), rgba(5,11,20,.76)),
    linear-gradient(90deg, rgba(5,11,20,.45), transparent 42%),
    url("/assets/fire-door-survey-hero.png") 62% center / cover no-repeat;
}
.operational-image::before {
  content: "";
  position: absolute;
  inset: 58px auto auto 42px;
  width: 170px;
  height: 330px;
  border-radius: 4px;
  background: linear-gradient(90deg, #281a12, #9c6b42 42%, #1c130e 43%);
  box-shadow: 0 28px 55px rgba(0,0,0,.42);
  opacity: .82;
}
.operational-image::after {
  background:
    radial-gradient(circle at 70% 23%, rgba(242,106,33,.32), transparent 20%),
    linear-gradient(180deg, transparent 0 48%, rgba(5,11,20,.88));
}
.visual-stat {
  left: 28px;
  top: 28px;
  max-width: 250px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(5,11,20,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.quick-booking-card {
  right: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}
.quick-booking-card h2 {
  font-size: clamp(30px, 3vw, 42px);
}
.quick-booking-card .price-result {
  background: #f8fafc;
}
.location-strip {
  background: #08111f;
}
.location-strip .section-inner {
  justify-content: flex-start;
  gap: 10px 20px;
  padding: 15px 0;
}
.location-strip strong {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.premium-section {
  padding: 86px 0;
}
.section-heading {
  margin-bottom: 36px;
}
.section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.025em;
}
.card {
  border-radius: 16px;
  border-color: rgba(216,222,232,.9);
}
.icon-card {
  padding: 24px;
}
.icon-card h3 {
  font-size: 22px;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(242,106,33,.16);
}
.issue-grid {
  align-items: stretch;
}
.issue-card {
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(7,17,31,.11);
}
.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(7,17,31,.18);
}
.issue-card h3 {
  font-size: 20px;
  padding-inline: 18px;
}
.issue-card p {
  min-height: 86px;
  padding-inline: 18px;
  padding-bottom: 20px;
  color: var(--muted);
}
.issue-media {
  min-height: 240px;
  margin-bottom: 20px;
}
.report-layout {
  gap: 54px;
}
.report-mockup {
  min-height: 470px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(242,106,33,.3), transparent 24%),
    linear-gradient(135deg, #07111f, #1f2a3a);
  box-shadow: 0 34px 90px rgba(7,17,31,.28);
}
.report-mockup img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
}
.report-window {
  width: min(100%, 520px);
  min-height: 380px;
  border-radius: 22px;
  padding: 24px;
  transform: rotate(-4deg);
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
  border: 8px solid #111827;
}
.report-topline {
  height: 30px;
  width: 72%;
}
.report-table {
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}
.report-table span {
  height: 24px;
}
.report-photos {
  gap: 12px;
  margin-top: 22px;
}
.report-photos i {
  min-height: 110px;
  background:
    linear-gradient(180deg, rgba(7,17,31,0), rgba(7,17,31,.25)),
    linear-gradient(135deg, #d7c3a9, #70472c);
}
.report-layout h2 {
  text-align: left;
  font-size: clamp(36px, 5vw, 58px);
}
.feature-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.split-dark {
  padding: 96px 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(242,106,33,.20), transparent 30%),
    linear-gradient(135deg, #050b14, #07111f 58%, #111827);
}
.compliance-split {
  gap: 24px;
}
.dark-card {
  padding: 32px;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.22);
}
.dark-card h2 {
  text-align: left;
  letter-spacing: -0.025em;
}
.dark-card .button {
  margin-top: 10px;
}
.compliance-visual {
  min-height: 460px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(5,11,20,.04), rgba(5,11,20,.76)),
    url("/assets/fire-door-survey-hero.png") 58% center / cover no-repeat;
}
.compliance-visual::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
}
.compliance-visual::after {
  right: 24px;
  bottom: 24px;
  width: 86px;
  height: 86px;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.start-paths {
  align-items: stretch;
}
.start-card {
  border-radius: 22px;
  padding: 34px;
}
.start-card h3 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
}
.primary-path {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(242,106,33,.34);
  background:
    radial-gradient(circle at 88% 12%, rgba(242,106,33,.18), transparent 24%),
    linear-gradient(180deg, #fff, #fff7ed);
  box-shadow: 0 28px 70px rgba(242,106,33,.16);
}
.primary-path::after {
  content: "ONLINE";
  position: absolute;
  right: 22px;
  top: 22px;
  color: rgba(242,106,33,.16);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: .05em;
}
.secondary-path {
  border-color: #dfe6ef;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.simple-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0;
  list-style: none;
  counter-reset: simple-step;
}
.simple-steps li {
  counter-increment: simple-step;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(242,106,33,.18);
}
.simple-steps li::before {
  content: counter(simple-step);
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
}
.final-cta {
  padding: 76px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242,106,33,.24), transparent 26%),
    linear-gradient(135deg, #030812, #07111f);
}
.final-cta h2 {
  letter-spacing: -0.035em;
}

/* Image-led homepage polish: keep these as realistic photo panels until final commissioned assets are added. */
.operational-image {
  background:
    linear-gradient(180deg, rgba(5,11,20,.02), rgba(5,11,20,.76)),
    linear-gradient(90deg, rgba(5,11,20,.42), rgba(5,11,20,.04) 48%, rgba(5,11,20,.24)),
    url("/assets/fire-door-survey-hero.png") 70% center / cover no-repeat;
}
.operational-image::before {
  content: none;
}
.operational-image::after {
  background:
    linear-gradient(180deg, rgba(5,11,20,0) 0 44%, rgba(5,11,20,.88)),
    linear-gradient(90deg, rgba(242,106,33,.16), transparent 36%);
}
.issue-media {
  isolation: isolate;
  overflow: hidden;
  background: #111827;
}
.issue-media::before,
.issue-media::after {
  content: none;
}
.issue-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform .28s ease;
}
.issue-card:hover .issue-media img {
  transform: scale(1.045);
}
.report-mockup {
  background:
    radial-gradient(circle at 25% 15%, rgba(242,106,33,.24), transparent 26%),
    linear-gradient(145deg, #050b14, #101d2e 48%, #263647);
  border: 1px solid rgba(7,17,31,.08);
}
.report-window {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f8fafc 0 68%, #e8edf5 68%),
    #f8fafc;
  outline: 1px solid rgba(255,255,255,.18);
}
.report-window::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 54px;
  height: 5px;
  border-radius: 99px;
  background: #27313f;
  transform: translateX(-50%);
}
.report-window::after {
  content: "FD-001";
  position: absolute;
  right: 22px;
  top: 54px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff2e9;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
}
.report-topline {
  margin-top: 28px;
  background: linear-gradient(90deg, #07111f 0 72%, var(--orange) 72%);
}
.report-table span:nth-child(3n) {
  background: #ffe1cf;
}
.report-table span:nth-child(4n) {
  background: #cdd7e5;
}
.report-photos i {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,17,31,0), rgba(7,17,31,.34)),
    linear-gradient(90deg, #f8fafc 0 18%, #b78052 18% 68%, #e5e7eb 68%);
}
.report-photos i::after {
  content: "";
  position: absolute;
  inset: 14px 30% 14px auto;
  width: 18%;
  border-radius: 3px;
  background: #1f2937;
}
.compliance-visual {
  background:
    linear-gradient(180deg, rgba(5,11,20,.02), rgba(5,11,20,.78)),
    linear-gradient(90deg, rgba(5,11,20,.42), transparent 46%),
    url("/assets/fire-door-survey-hero.png") 74% center / cover no-repeat;
}
.compliance-visual::after {
  content: "On-site checks";
  right: 22px;
  bottom: 22px;
  width: auto;
  height: auto;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(5,11,20,.78);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  letter-spacing: 0;
}
.certificate-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(242,106,33,.10), transparent 28%),
    linear-gradient(180deg, #fff, #f8fafc);
}
.certificate-layout {
  display: grid;
  gap: 34px;
  align-items: center;
}
.certificate-layout h2 {
  text-align: left;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.025em;
}
.certificate-layout p:not(.eyebrow) {
  max-width: 680px;
}
.certificate-preview-card {
  padding: 16px;
  border: 1px solid rgba(216,222,232,.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(7,17,31,.18);
}
.certificate-preview-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid #d8dee8;
}
.certificate-sample-card {
  overflow: hidden;
}
.certificate-mini-preview {
  display: block;
  margin: 12px 0;
  padding: 8px;
  border: 1px solid rgba(216,222,232,.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(7,17,31,.10);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.certificate-mini-preview:hover,
.certificate-mini-preview:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242,106,33,.58);
  box-shadow: 0 20px 42px rgba(7,17,31,.16);
  outline: none;
}
.certificate-mini-preview:focus-visible {
  box-shadow: 0 0 0 3px rgba(242,106,33,.22), 0 20px 42px rgba(7,17,31,.16);
}
.certificate-mini-preview img {
  width: 100%;
  display: block;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #d8dee8;
  border-radius: 10px;
}

@media (min-width: 760px) {
  .cards.two.start-paths {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  }
  .certificate-layout {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  }
  .certificate-mini-preview img {
    max-height: 310px;
  }
}

@media (max-width: 759px) {
  html,
  body {
    overflow-x: hidden;
  }
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .certificate-section {
    scroll-margin-top: 76px;
    padding-bottom: calc(128px + env(safe-area-inset-bottom));
  }
  .certificate-preview-card {
    padding: 10px;
    border-radius: 18px;
  }
  .certificate-preview-card img {
    border-radius: 10px;
  }
  .certificate-mini-preview img {
    max-height: 300px;
  }
  .home-hero-copy {
    min-width: 0;
  }
  .home-hero-copy h1 {
    font-size: clamp(42px, 14vw, 56px);
    max-width: 100%;
  }
  .home-hero-copy .lead {
    max-width: 100%;
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  .home-hero .button {
    width: 100%;
  }
  .hero-visual-panel {
    min-height: 700px;
    border-radius: 22px;
    overflow: hidden;
  }
  .operational-image::before {
    left: 24px;
    top: 64px;
    height: 270px;
  }
  .quick-booking-card {
    padding: 18px;
  }
  .issue-media {
    min-height: 230px;
  }
  .report-mockup {
    min-height: 360px;
    padding: 18px;
  }
  .report-window {
    min-height: 300px;
    transform: none;
  }
  .compliance-visual {
    min-height: 330px;
  }
  .simple-steps {
    grid-template-columns: 1fr;
  }
  .primary-path::after {
    font-size: 34px;
  }
}
