/* ============================
   Survey48
   Global Stylesheet
   ============================ */

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #101827;
  --accent: #00e6a4;
  --accent-soft: #1fbf7a;
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #ef4444;
}

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

html {
  /* Stops iOS Safari auto-enlarging text when the phone is rotated to
     landscape, which otherwise throws off every size below. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  /* Belt-and-braces guard against any element (a long unbreakable word, a
     wide fixed-width child, etc.) pushing the page wider than the phone/
     tablet viewport and causing an awkward sideways scroll. */
  overflow-x: hidden;
}

/* Safety net so an image never overflows its container on a narrow
   screen, even before any page-specific sizing rules below apply. */
img {
  max-width: 100%;
  height: auto;
}

/* ============================
   HEADER
   ============================ */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  height: 64px;
  display: inline-flex;
  align-items: center;
  /* .brand-logo is now an <a> wrapping the logo image (linked to the
     homepage) rather than a plain <div> — reset link defaults so it
     still looks and lays out exactly like before. */
  text-decoration: none;
  outline-offset: 4px;
}

.brand-logo img {
  height: 64px;
  width: auto;
  display: block;
}

/* Navigation */

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

/* ============================
   LAYOUT
   ============================ */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.page {
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
}

.page:last-of-type {
  border-bottom: none;
}

.page h1 {
  /* Scales smoothly down to phone widths instead of staying a fixed
     2.2rem, which felt oversized and could wrap awkwardly on small
     screens. */
  font-size: clamp(1.6rem, 5vw + 0.5rem, 2.2rem);
  margin-bottom: 1.25rem;
}

/* ============================
   HOME PAGE
   ============================ */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3.4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
}

.hero-image {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Cards */

.cards-row {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
}


/* ============================
   TRUSTED SECTION
   ============================ */

.trusted-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.trusted-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.trusted-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.trusted-points {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* IMPORTANT: centre-align the text inside each point */
.trusted-point {
  flex: 1;
  text-align: center;
}

/* MOBILE OPTIMISATION FOR TRUSTED SECTION */
@media (max-width: 768px) {

  .trusted-section {
    padding: 40px 15px;
  }

  .trusted-lead {
    margin-bottom: 30px;
    padding: 0 10px;
    font-size: 1rem;
  }

  .trusted-points {
    flex-direction: column;
    gap: 30px;
  }

  .trusted-point {
    text-align: center;
    padding: 0 10px;
  }

  .trusted-point h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }

  .trusted-point p {
    font-size: 1rem;
    line-height: 1.5;
  }
}


/* ============================
   BUTTONS
   ============================ */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #020617;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.12);
}

.full-width {
  width: 100%;
}

/* ============================
   BOOKING PAGE
   ============================ */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.booking-info p,
.booking-info ul {
  color: var(--muted);
}

.booking-info ul {
  padding-left: 1.25rem;
}

.price {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent-soft);
}

/* Booking table */

.booking-table-wrapper {
  margin-top: 2.5rem;
}

.booking-table-wrapper h2 {
  margin-bottom: 1rem;
}

/* The comparison table has 3 columns of text and doesn't shrink well on
   phones/small tablets — rather than squashing it unreadably, let it
   scroll horizontally within its own wrapper instead of overflowing (and
   breaking) the page layout. */
.booking-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
}

.booking-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.booking-table th,
.booking-table td {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
}

.booking-table th {
  background: #020617;
  text-align: left;
}

.booking-table tr:nth-child(even) td {
  background: #0b1120;
}

.booking-table td {
  color: var(--muted);
}

/* Form cards */

.form-card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.form-card h2 {
  margin-top: 0;
}

/* Forms */

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--muted);
}

input,
select,
textarea {
  margin-top: 0.3rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
  /* Browsers don't inherit the page's font into form fields by default —
     textarea in particular tends to fall back to a monospace/serif UA
     font, which is what made the "Notes" box look different from every
     other field on the booking form. This makes all of them match body's
     font-family (system-ui, ...). */
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

/* Extra breathing room around the booking form's submit button — separates
   it from the total/fields above and gives it a bit more presence, without
   affecting the .full-width button used elsewhere (e.g. the contact form). */
#submitBookingBtn {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Purchase price input with £ */

.input-with-prefix {
  display: flex;
  align-items: center;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: #020617;
}

.input-prefix {
  padding: 0.6rem 0.75rem;
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.input-with-prefix input {
  border: none;
  margin-top: 0;
  width: 100%;
}

/* Messages */

.form-message {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--muted);
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--accent-soft);
}

/* ============================
   ABOUT PAGE
   ============================ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-grid p {
  color: var(--muted);
}

.about-image {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ============================
   CONTACT PAGE
   ============================ */

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

.contact-details p {
  color: var(--muted);
}

.contact-map iframe {
  width: 100%;
  min-height: 280px;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
}

/* Contact popup */

.contact-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.contact-popup {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.contact-popup h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-popup p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ============================
   FOOTER
   ============================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  background: #020617;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  text-align: right;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  main {
    padding-inline: 1.75rem;
  }

  .top-bar {
    padding-inline: 1.75rem;
  }

  .hero-grid,
  .booking-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  main {
    padding-inline: 1.25rem;
  }

  .hero-image img {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    height: 260px;
  }

  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-bar {
    padding-inline: 1rem;
  }

  main {
    padding-inline: 1rem;
  }

  /* Cards/form panels keep their roomy desktop padding by default —
     tighten it on phones so more of the actual content fits on screen. */
  .card,
  .form-card,
  .contact-popup {
    padding: 1.25rem;
  }

  .booking-table th,
  .booking-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
}

.footer-large {
  padding: 60px 20px;
  background: #111;
  color: #fff;
}

.footer-large .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h3 {
  margin-bottom: 10px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

.cta-banner {
  background: #0a0a0a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-banner .btn-large {
  padding: 15px 30px;
  font-size: 1.2rem;
}


/* ============================
   BOOKING CALENDAR (survey date picker)
   ============================ */

/* Wraps the entire booking form (not just the date picker) so script.js
   can switch the whole thing off in one line when there's no availability
   at all — a plain <fieldset> has its own default border/padding/min-width
   that would otherwise break the form's layout, so those are reset here. */
.booking-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.booking-fieldset:disabled {
  opacity: 0.55;
}

.booking-fieldset:disabled .booking-calendar,
.booking-fieldset:disabled input,
.booking-fieldset:disabled select,
.booking-fieldset:disabled textarea,
.booking-fieldset:disabled button {
  cursor: not-allowed;
}

.calendar-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.calendar-field-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.booking-calendar {
  background: #020617;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.booking-calendar .calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.booking-calendar .calendar-month-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.booking-calendar .btn-secondary.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.booking-calendar .btn-secondary.btn-sm:hover { background: rgba(34, 197, 94, 0.12); }
.booking-calendar .btn-secondary.btn-sm:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-day {
  aspect-ratio: 1 / 1;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
}

.calendar-day-blank { visibility: hidden; border: none; }

.calendar-day-off { opacity: 0.35; }

.calendar-day-available {
  color: var(--text);
  border-color: var(--accent);
  cursor: pointer;
}
.calendar-day-available:hover { background: rgba(0, 230, 164, 0.12); }

.calendar-day-selected {
  background: var(--accent);
  color: #020617;
  font-weight: 700;
  border-color: var(--accent);
}

@media (max-width: 480px) {
  .calendar-day { min-height: 32px; font-size: 0.75rem; }
}


/* ====================================================================
   HOMEPAGE REFRESH
   Layout and component styling inspired by a modern "survey platform"
   look: centred hero, eyebrow labels, rounded service cards with chips,
   icon feature grid, explainer list and a multi-column footer.
   Colour variables (:root) are unchanged. All new rules are scoped to
   new class names or to .home, so other pages are unaffected.
   ==================================================================== */

html { scroll-behavior: smooth; }

body { line-height: 1.55; }

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

.top-bar { gap: 1.5rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--accent); }

/* ---------- Shared homepage pieces ---------- */

.home { max-width: 1160px; padding-top: 0; }

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 164, 0.35);
  background: rgba(0, 230, 164, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section { padding: 4.5rem 0 1rem; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  line-height: 1.15;
  margin: 0.9rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p { color: var(--muted); margin: 0; }

.btn-large { padding: 0.9rem 2rem; font-size: 1rem; }

.btn-primary { transition: transform 0.15s ease, filter 0.15s ease; }
.btn-primary:hover { transform: translateY(-1px); }

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

.hero {
  text-align: center;
  padding: 4.5rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw + 0.5rem, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 1.25rem auto 1.25rem;
}

.hero-accent { color: var(--accent); }

.hero-lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
}

.hero-badges {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-badges li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.hero-banner {
  margin-top: 3rem;
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 230, 164, 0.25);
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 164, 0.5);
}

.service-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 230, 164, 0.08), var(--card) 40%);
}

.service-card-featured::before {
  content: "Most detailed";
  position: absolute;
  top: -0.8rem;
  left: 1.75rem;
  background: var(--accent);
  color: #020617;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.service-tag {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.01em;
}

.service-price {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.service-text { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.25rem; }

.service-for-label {
  margin: auto 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.chips {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.78rem;
}

.service-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.service-actions .btn-primary,
.service-actions .btn-secondary {
  flex: 1 1 auto;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

/* ---------- Help banner ---------- */

.help-banner {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 230, 164, 0.12), var(--card));
}

.help-banner h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.help-banner p { margin: 0; color: var(--muted); }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0, 230, 164, 0.12);
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.feature h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Survey types explained ---------- */

.explain-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.explain-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}

.explain-mark {
  flex: none;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.explain-item h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.explain-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Areas ---------- */

.area-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-pills li {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- CTA banner ---------- */

.home .cta-banner {
  margin-top: 4.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 230, 164, 0.35);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 230, 164, 0.2), transparent 60%),
    var(--bg-alt);
  padding: 4rem 1.5rem;
}

.home .cta-banner h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.home .cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 1.75rem; }

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

.footer-large {
  background: #020617;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2rem;
}

.footer-large .footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-large .footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-large .footer-col p { margin: 0; }

.footer-large .footer-col h3 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-large .footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-large .footer-col a:hover { color: var(--accent); }

.footer-large .footer-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  color: var(--accent);
}

.footer-bottom {
  max-width: 1160px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-large .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card-featured::before { left: 1.75rem; }
}

@media (max-width: 720px) {
  .header-actions { width: 100%; justify-content: space-between; }
  .hero { padding-top: 3rem; }
  .hero-banner img { height: 280px; }
  .section { padding-top: 3.5rem; }
  .help-banner { padding: 1.5rem; }
  .help-banner .btn-primary { width: 100%; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-large .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-actions .btn-large { width: 100%; }
  .explain-item { padding: 1.25rem; }
}


/* ====================================================================
   INNER PAGES (about, booking, contact, faq, common defects, legal,
   confirmation pages). Scoped to main.inner so the homepage and any
   page not using it are unaffected. Colour variables unchanged.
   ==================================================================== */

.inner { max-width: 1160px; padding-top: 1rem; }

.inner .page {
  border-bottom: none;
  padding: 3rem 0 1.5rem;
}

.page-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.inner .page-hero h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 1rem 0 0;
}

.inner .cta-banner {
  margin-top: 3.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 230, 164, 0.35);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 230, 164, 0.2), transparent 60%),
    var(--bg-alt);
  padding: 4rem 1.5rem;
}

.inner .cta-banner h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.inner .cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 1.75rem; }

/* ---------- Cards (common defects) ---------- */

.inner .cards-row {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.inner .card {
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.inner .card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 164, 0.5);
}

.inner .card h2 { font-size: 1.2rem; letter-spacing: -0.01em; }
.inner .card p { font-size: 0.95rem; line-height: 1.65; }

.page-common-defects > p {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: -1rem auto 2.5rem;
  line-height: 1.7;
}

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

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] { border-color: rgba(0, 230, 164, 0.5); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 0;
  padding: 0 1.6rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Legal pages (privacy, GDPR, complaints) ---------- */

.page-privacy,
.page-gdpr,
.page-complaints {
  max-width: 820px;
  margin: 0 auto;
}

.page-privacy h2,
.page-gdpr h2,
.page-complaints h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
  letter-spacing: -0.01em;
}

.page-privacy p,
.page-gdpr p,
.page-complaints p,
.page-privacy li,
.page-gdpr li {
  color: var(--muted);
  line-height: 1.7;
}

.page-privacy ul,
.page-gdpr ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.page-privacy li::marker,
.page-gdpr li::marker { color: var(--accent); }

.page-privacy strong,
.page-gdpr strong,
.page-complaints strong { color: var(--text); }

/* ---------- About ---------- */

.inner .about-grid { gap: 3rem; align-items: start; }
.inner .about-grid p { line-height: 1.75; }

.inner .about-image {
  border-radius: 1.75rem;
  position: sticky;
  top: 7rem;
}

.inner .about-image img { height: 460px; }

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

.inner .contact-details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
}

.inner .contact-details p:first-child { margin-top: 0; line-height: 1.7; }
.inner .contact-details strong { color: var(--text); }
.inner .contact-map iframe { border-radius: 1.5rem; min-height: 320px; }

/* ---------- Forms, booking and confirmation panels ---------- */

.inner .form-card {
  border-radius: 1.5rem;
  padding: 2rem;
}

.page-booking .booking-info h2,
.page-contact .form-card h2 { letter-spacing: -0.01em; }

.page-booking .booking-info > h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.05rem;
  color: var(--text);
}

.page-booking .form-card h3 {
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

.page-confirmation .form-card {
  max-width: 720px;
  margin: 0 auto;
}

.page-confirmation .form-card p { color: var(--muted); line-height: 1.7; }
.page-confirmation .form-card strong { color: var(--text); }
.page-confirmation .form-card a { color: var(--accent); }

@media (max-width: 1024px) {
  .inner .about-image { position: static; }
  .inner .about-image img { height: 320px; }
}

@media (max-width: 480px) {
  .inner .form-card,
  .inner .contact-details { padding: 1.25rem; }
  .inner .cards-row { grid-template-columns: minmax(0, 1fr); }
  .faq-item summary { padding: 1.1rem 1.2rem; }
  .faq-item p { padding: 0 1.2rem 1.25rem; }
}


/* ====================================================================
   SITE FOOTER (black, with the booking call-to-action built in)
   ==================================================================== */

.site-footer {
  background: #000;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid #2a2a2a;
  padding-top: 4rem;
  margin-top: 3rem;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0; }

.sf-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

.sf-cta {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.sf-cta h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.4rem);
  letter-spacing: -0.02em;
}

.sf-cta p { margin-bottom: 1.75rem; font-size: 1rem; }

.site-footer .sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #5ff7cf 100%);
  color: #021a13;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: transform 0.15s ease;
}

.site-footer .sf-btn:hover {
  color: #021a13;
  transform: translateY(-2px);
  box-shadow: none;
}

.sf-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid #1f1f1f;
}

.sf-col { display: flex; flex-direction: column; gap: 0.55rem; }

.sf-col h3 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-col .footer-logo { width: 140px; margin-bottom: 0.5rem; }

.site-footer .sf-contact-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  color: var(--accent);
}

.sf-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid #1f1f1f;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .sf-cols { grid-template-columns: minmax(0, 1fr); }
  .site-footer .sf-btn { width: 100%; }
}


/* ====================================================================
   BOOKING PAGE
   Split layout: survey information on the left, a light form panel on
   the right. Form fields, ids and script hooks are unchanged.
   ==================================================================== */

.inner .page-booking { padding-top: 1.5rem; }

.bk-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ---------- Left: information ---------- */

.bk-info {
  padding: 3rem 2.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(0, 230, 164, 0.2), transparent 55%),
    #0b1020;
}

.bk-head h1 {
  font-size: clamp(2rem, 3.2vw + 0.5rem, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.75rem;
}

.bk-lead { color: var(--muted); line-height: 1.65; margin: 0; }

.bk-more { margin-top: 1.75rem; }

.bk-more h2 {
  font-size: 1rem;
  margin: 1.75rem 0 0.75rem;
  letter-spacing: 0;
}

.bk-more > h2:first-of-type { margin-top: 0; }

.option-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease;
}

.option-card:hover { border-color: rgba(0, 230, 164, 0.5); }
.option-card h3 { margin: 0 0 0.15rem; font-size: 1rem; color: var(--text); }
.option-card p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.opt-price { flex: none; color: var(--accent); font-weight: 700; white-space: nowrap; }

.bk-more .booking-table-wrapper { margin-top: 1.75rem; }
.bk-more .booking-table-wrapper h2 { margin-top: 0; }
.bk-more .booking-table-scroll { border-radius: 1rem; }

.page-booking .booking-table { min-width: 0; border-radius: 1rem; }

.page-booking .booking-table th {
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #020617;
  white-space: nowrap;
}

.page-booking .booking-table th:not(:first-child),
.page-booking .booking-table td:not(:first-child) { text-align: center; }

.page-booking .booking-table td { color: var(--text); padding: 0.75rem 1rem; }

.tick { color: var(--accent); font-weight: 700; }
.dash { color: var(--muted); opacity: 0.6; }

.help-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 230, 164, 0.3);
  background: linear-gradient(90deg, rgba(0, 230, 164, 0.1), var(--card));
}

.help-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.help-card p { margin: 0; line-height: 1.6; font-size: 0.93rem; color: var(--text); }
.help-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.help-card a:hover { text-decoration: underline; }

/* ---------- Right: light form panel ---------- */

.bk-formpane {
  background: #f8fafc;
  color: #0f172a;
  padding: 3rem 2.75rem;
}

.bk-form-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.bk-formpane .booking-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
  counter-reset: step;
}

.bk-formpane .booking-fieldset > * { grid-column: 1 / -1; }

/* survey type + region, and telephone + email, sit side by side */
.bk-formpane .booking-fieldset > label:has(select),
.bk-formpane .booking-fieldset > label:has(input[type="tel"]),
.bk-formpane .booking-fieldset > label:has(input[type="email"]) {
  grid-column: auto;
}

/* numbered step headings */
.bk-formpane h3 {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 1.05rem;
  color: #0f172a;
}

.bk-formpane h3.form-step { margin-top: 0; padding-top: 0; border-top: none; }

.bk-formpane h3::before {
  content: counter(step);
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.bk-formpane label,
.bk-formpane .calendar-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

.bk-formpane input,
.bk-formpane select,
.bk-formpane textarea {
  margin-top: 0.45rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background-color: #fff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.15s ease;
}

.bk-formpane input:hover,
.bk-formpane select:hover,
.bk-formpane textarea:hover { border-color: #94a3b8; }

.bk-formpane input:focus,
.bk-formpane select:focus,
.bk-formpane textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.bk-formpane input::placeholder,
.bk-formpane textarea::placeholder { color: #94a3b8; }

.bk-formpane #bookingForm textarea[name="notes"]::placeholder {
  color: #94a3b8;
}

.bk-formpane select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 1rem;
}

.bk-formpane textarea { min-height: 7rem; line-height: 1.5; }

.bk-formpane .muted,
.bk-formpane .form-message { color: #64748b; }
.bk-formpane .form-message.error { color: var(--danger); }
.bk-formpane .form-message a { color: #047857; font-weight: 600; }

/* purchase price with the pound prefix */
.bk-formpane .input-with-prefix {
  margin-top: 0.45rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  overflow: hidden;
}

.bk-formpane .input-with-prefix:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.bk-formpane .input-with-prefix input,
.bk-formpane .input-with-prefix input:focus {
  outline: none;
  border: none;
  margin-top: 0;
  border-radius: 0;
}

.bk-formpane .input-prefix {
  padding: 0.8rem 0.95rem;
  border-right-color: #cbd5e1;
  color: #64748b;
  font-size: 0.95rem;
}

/* Google address autocomplete: light to match the panel.
   (These sit above the dark rules in booking.html's own <style>.) */
.bk-formpane .address-autocomplete { margin-top: 0.45rem; }

.bk-formpane .address-autocomplete gmp-place-autocomplete {
  background-color: #fff;
  color: #0f172a;
  border-color: #cbd5e1;
  border-radius: 0.75rem;
  color-scheme: light;
}

.bk-formpane .address-autocomplete gmp-place-autocomplete:focus-within { border-color: var(--accent); }

.bk-formpane .address-autocomplete gmp-place-autocomplete::part(input) {
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
  color: #0f172a;
}

.bk-formpane .address-autocomplete gmp-place-autocomplete::part(input)::placeholder { color: #94a3b8; }

.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-list) {
  background-color: #fff;
  border-color: #cbd5e1;
}

.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-item) {
  background-color: #fff;
  color: #0f172a;
}

.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-item-selected) { background-color: #f1f5f9; }
.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-item-main-text) { color: #0f172a; }
.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-item-secondary-text) { color: #64748b; }
.bk-formpane .address-autocomplete gmp-place-autocomplete::part(prediction-item-match) { color: #047857; }

/* calendar */
.bk-formpane .booking-calendar {
  margin-top: 0.1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border-color: #e2e8f0;
}

.bk-formpane .calendar-month-label { color: #0f172a; }

.bk-formpane .booking-calendar .btn-secondary.btn-sm {
  border-color: #0f172a;
  color: #0f172a;
}

.bk-formpane .booking-calendar .btn-secondary.btn-sm:hover { background: #f1f5f9; }

.bk-formpane .calendar-weekdays { color: #64748b; }

.bk-formpane .calendar-day {
  border-radius: 0.65rem;
  border-color: #e2e8f0;
  color: #94a3b8;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bk-formpane .calendar-day-available {
  color: #0f172a;
  border-color: #34d399;
  background: #ecfdf5;
}

.bk-formpane .calendar-day-available:hover { background: #d1fae5; }

.bk-formpane .calendar-day-selected,
.bk-formpane .calendar-day-selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #021a13;
}

/* total (shown by script.js), booking details and submit */
.bk-formpane .booking-total {
  margin-top: 0.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #a7f3d0;
  border-left: 5px solid var(--accent);
  border-radius: 1rem;
  background: #ecfdf5;
}

.bt-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #047857;
}

.bt-list { margin: 0.5rem 0 0.6rem; }

.bt-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #b7ebd6;
  font-size: 0.92rem;
}

.bt-list dt { color: #4b6b62; flex: none; }

.bt-list dd {
  margin: 0;
  min-width: 0;
  text-align: right;
  font-weight: 600;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.bt-list dd.empty { font-weight: 400; font-style: italic; color: #64748b; }

.bk-formpane .booking-total-row { margin-top: 0.4rem; }
.bk-formpane .booking-total-label { color: #0f172a; }
.bk-formpane .booking-total-value { font-size: 2rem; color: #047857; }
.bk-formpane .booking-total-note { color: #4b6b62; }
.bk-formpane .booking-total-note:empty { display: none; }

.bk-formpane #submitBookingBtn {
  margin-top: 0.25rem;
  padding: 1.15rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 0.9rem;
  background: #0f172a;
  color: #fff;
  letter-spacing: 0.01em;
}

.bk-formpane #submitBookingBtn::after {
  content: "\2192";
  margin-left: 0.7rem;
  color: var(--accent);
}

.bk-formpane #submitBookingBtn:hover:not(:disabled) { background: #1e293b; }

.bk-formpane #submitBookingBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 1024px) {
  /* form first, then the extra information underneath */
  .bk-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .bk-info { display: contents; }

  .bk-head { order: 1; padding: 0.5rem 0.25rem 0; }

  .bk-formpane { order: 2; border-radius: 1.75rem; }

  .bk-more {
    order: 3;
    margin: 0;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 1.75rem;
    background:
      radial-gradient(circle at 0 0, rgba(0, 230, 164, 0.14), transparent 55%),
      #0b1020;
  }
}

@media (max-width: 560px) {
  .bk-formpane { padding: 1.75rem 1.25rem; }
  .bk-more { padding: 1.5rem 1.15rem; }
  .bk-formpane .booking-fieldset { grid-template-columns: minmax(0, 1fr); }
  .option-card { flex-direction: column; gap: 0.35rem; }
}


/* ====================================================================
   HEADER REFRESH
   Black info strip above a slimmer main bar.
   ==================================================================== */

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 3rem;
  background: #000;
  border-bottom: 1px solid #1f2937;
  font-size: 0.78rem;
  color: var(--muted);
}

.top-strip a {
  color: #e5e7eb;
  text-decoration: none;
}

.top-strip a:hover { color: var(--accent); }

.top-strip-contact { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.top-strip .sep { color: #4b5563; }

.top-bar {
  padding-block: 0.9rem;
}

.brand-logo,
.brand-logo img {
  height: 50px;
}

.nav a.active { color: var(--accent); }

@media (max-width: 1024px) {
  .top-strip { padding-inline: 1.75rem; }
}

@media (max-width: 720px) {
  .top-strip { justify-content: center; padding: 0.45rem 1rem; }
  .top-strip-areas { display: none; }
  .top-bar { padding-block: 0.8rem; }
  .brand-logo,
  .brand-logo img { height: 44px; }
}

@media (max-width: 480px) {
  .top-strip { padding-inline: 1rem; }
}


/* ====================================================================
   HOMEPAGE: survey types explained (comparison table)
   ==================================================================== */

.comparison-wrap { max-width: 860px; margin: 0 auto; }

.comparison-wrap .booking-table-scroll { border-radius: 1.25rem; }
.comparison-wrap .booking-table { border-radius: 1.25rem; min-width: 0; }

.comparison-wrap .booking-table td { padding: 0.9rem 1.25rem; color: var(--text); font-size: 0.95rem; }

.comparison-wrap .booking-table th:not(:first-child),
.comparison-wrap .booking-table td:not(:first-child) { text-align: center; width: 28%; }

/* header cells carry the survey name, price and a short description */
.rich-table th {
  padding: 1.25rem 1.25rem 1.1rem;
  vertical-align: top;
  background: #020617;
  color: var(--text);
}

.rich-table th.first-col {
  vertical-align: bottom;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rich-table th.hl { background: linear-gradient(180deg, rgba(0, 230, 164, 0.14), #020617); }

.sv-name { display: block; font-size: 1.02rem; font-weight: 700; }
.sv-price { display: block; margin: 0.2rem 0; color: var(--accent); font-weight: 700; }
.sv-desc { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 400; line-height: 1.45; }

.commercial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(90deg, rgba(0, 230, 164, 0.1), var(--card));
}

.commercial-banner h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.commercial-banner p { margin: 0; color: var(--muted); font-size: 0.93rem; max-width: 560px; }
.commercial-banner .btn-secondary { flex: none; }

.comparison-actions { margin-top: 1.75rem; text-align: center; }

@media (max-width: 720px) {
  .rich-table { min-width: 520px; }
  .commercial-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .comparison-wrap .booking-table td { padding: 0.7rem 0.8rem; font-size: 0.85rem; }
  .rich-table th { padding: 1rem 0.8rem; }
}

/* ====================================================================
   LIVE CHAT LINKS (replace the phone number in the top strip and header)
   ==================================================================== */

.top-strip .top-strip-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
}
.top-strip .top-strip-chat:hover { text-decoration: underline; }
.top-strip .top-strip-chat .chat-ico { width: 14px; height: 14px; }

/* Online / offline indicator, filled in by assets/chat-widget.js */
.top-strip .top-strip-chat .chat-state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.2rem;
  padding-left: 0.6rem;
  border-left: 1px solid #374151;
  font-size: 0.74rem;
  font-weight: 600;
}
.top-strip .top-strip-chat .chat-state::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6b7280;
}
.top-strip .top-strip-chat[data-state="online"] .chat-state { color: #34d399; }
.top-strip .top-strip-chat[data-state="online"] .chat-state::before {
  background: #00e6a4;
  box-shadow: 0 0 0 0 rgba(0, 230, 164, 0.6);
  animation: chat-state-pulse 2s infinite;
}
.top-strip .top-strip-chat[data-state="offline"] { color: #9ca3af; }
.top-strip .top-strip-chat[data-state="offline"]:hover { color: var(--accent); }
.top-strip .top-strip-chat[data-state="offline"] .chat-state { color: #9ca3af; }
.top-strip .top-strip-chat[data-state="offline"] .chat-state::before { background: #f59e0b; }
@keyframes chat-state-pulse {
  70% { box-shadow: 0 0 0 0.4rem rgba(0, 230, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 164, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .top-strip .top-strip-chat[data-state="online"] .chat-state::before { animation: none; }
}
@media (max-width: 400px) {
  .top-strip .top-strip-chat .chat-state { margin-left: 0; padding-left: 0.45rem; }
}

.header-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.header-chat .chat-ico { width: 17px; height: 17px; flex: 0 0 auto; }


/* ====================================================================
   POSTCODE FIELDS + BOOKING FORM TEXT (booking form)
   ==================================================================== */
/* One text look for every box on the form: same family, size and bold weight,
   for typed text and for placeholders (this matches the address boxes). */
.bk-formpane input,
.bk-formpane select,
.bk-formpane textarea {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: normal;
}
.bk-formpane input::placeholder,
.bk-formpane textarea::placeholder {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  color: #94a3b8;
  opacity: 1;
}
.bk-formpane .address-autocomplete gmp-place-autocomplete {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}
.bk-formpane .address-autocomplete gmp-place-autocomplete::part(input) {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}
.bk-formpane .address-autocomplete gmp-place-autocomplete::part(input)::placeholder {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  color: #94a3b8;
  opacity: 1;
}

/* Address box with the postcode joined on the right */
.bk-formpane .req-mark { color: #dc2626; }
.bk-formpane .lbl-text { display: block; }
.bk-formpane .addr-joined {
  display: flex;
  align-items: stretch;
  margin-top: 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease;
}
.bk-formpane .addr-joined:hover { border-color: #94a3b8; }
.bk-formpane .addr-joined:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.bk-formpane .addr-joined.pc-invalid { border-color: #dc2626; }
.bk-formpane .addr-joined.pc-invalid:focus-within { outline-color: #dc2626; }
.bk-formpane .addr-joined .address-autocomplete { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.bk-formpane .addr-joined .address-autocomplete gmp-place-autocomplete {
  border: none;
  background: transparent;
  border-radius: 0.75rem 0 0 0.75rem;
  outline: none;
}
.bk-formpane .addr-joined .address-autocomplete gmp-place-autocomplete:focus-within { border: none; }
.bk-formpane .addr-joined .pc-cell,
.bk-formpane .addr-joined .pc-cell:hover,
.bk-formpane .addr-joined .pc-cell:focus {
  flex: 0 0 8.5rem;
  width: 8.5rem;
  min-width: 0;
  margin-top: 0;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-radius: 0 0.75rem 0.75rem 0;
  background: #f8fafc;
  outline: none;
  text-transform: uppercase;
}
.bk-formpane .addr-joined .pc-cell::placeholder { text-transform: none; }
.bk-formpane .pc-msg { margin-top: 0.35rem; color: #dc2626; font-size: 0.8rem; font-weight: 600; }
.bk-formpane .pc-msg[hidden] { display: none; }
@media (max-width: 480px) {
  .bk-formpane .addr-joined { flex-direction: column; }
  .bk-formpane .addr-joined .address-autocomplete gmp-place-autocomplete { border-radius: 0.75rem 0.75rem 0 0; }
  .bk-formpane .addr-joined .pc-cell,
  .bk-formpane .addr-joined .pc-cell:hover,
  .bk-formpane .addr-joined .pc-cell:focus {
    flex: 0 0 auto;
    width: 100%;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 0.75rem 0.75rem;
  }
}


/* ====================================================================
   BOOKING PAGE: step-by-step layout (survey & date, details, property)
   ==================================================================== */

.bkw { max-width: 1120px; margin: 0 auto; }

.bkw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  scroll-margin-top: 7rem;
}
.bkw-head h1 { margin: 0.6rem 0 0; font-size: clamp(1.9rem, 3vw + 0.6rem, 2.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.bkw-head-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* progress */
.bkw-progress { list-style: none; display: flex; gap: 0.65rem; margin: 0 0 1.5rem; padding: 0; }
.bkw-progress li { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.bkw-progress li::before { content: ""; order: 0; height: 6px; border-radius: 999px; background: #26384a; transition: background 0.2s ease; }
.bkw-progress li.is-current::before,
.bkw-progress li.is-done::before { background: var(--accent); }
.bkw-pstep {
  all: unset;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9fb0c2;
  line-height: 1.3;
}
.bkw-progress li.is-current .bkw-pstep { color: #fff; font-weight: 700; }
.bkw-progress li.is-done .bkw-pstep { color: #e5e7eb; cursor: pointer; }
.bkw-progress li.is-done .bkw-pstep:hover { color: var(--accent); }
.bkw-pstep:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* layout: form card + summary */
.bkw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }

.bkw-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* steps */
.bk-formpane .bkw-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}
.bk-formpane .bkw-step[hidden] { display: none; }
.bk-formpane .bkw-step > * { grid-column: 1 / -1; }
.bk-formpane .bkw-step > label:has(input[type="tel"]),
.bk-formpane .bkw-step > label:has(input[type="email"]) { grid-column: auto; }

.bkw-step-title { margin: 0; font-size: 1.65rem; letter-spacing: -0.01em; color: #0f172a; outline: none; }
.bkw-step-lead { margin: 0.5rem 0 0; font-size: 0.95rem; line-height: 1.55; color: #475569; }
.bk-formpane .bkw-step-lead a { color: #047857; font-weight: 600; }

.bkw-date-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.95rem; font-weight: 700; color: #0f172a; }
.bkw-date-label small { font-size: 0.8rem; font-weight: 400; color: #64748b; }
.bk-formpane .choice-label { font-size: 0.95rem; font-weight: 700; }
.bk-formpane .calendar-field { gap: 0.55rem; }

.bkw-err { margin: 0; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.9rem; font-weight: 600; }
.bkw-err[hidden] { display: none; }

/* what's included */
.bkw-compare { margin-top: 0.9rem; border: 1px solid #e2e8f0; border-radius: 0.9rem; background: #fff; }
.bkw-compare > summary { cursor: pointer; padding: 0.8rem 1rem; font-size: 0.9rem; font-weight: 600; color: #047857; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bkw-compare > summary::-webkit-details-marker { display: none; }
.bkw-compare > summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.bkw-compare[open] > summary::after { content: "\2212"; }
.bkw-compare .booking-table-scroll { padding: 0 0.75rem 0.75rem; }
.bkw-compare .booking-table { min-width: 0; background: #fff; border-color: #e2e8f0; }
.bkw-compare .booking-table th { background: #f1f5f9; color: #475569; border-bottom: 1px solid #e2e8f0; }
.bkw-compare .booking-table td { color: #0f172a; font-size: 0.88rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid #f1f5f9; }
.bkw-compare .booking-table tr:nth-child(even) td { background: #f8fafc; }
.bkw-compare .tick { color: #047857; }
.bkw-compare .dash { color: #94a3b8; }

/* back / continue */
.bkw-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; margin-top: 0.25rem; }
.bkw-nav-note { font-size: 0.9rem; color: #475569; }
.bkw-back { all: unset; cursor: pointer; font-size: 0.95rem; font-weight: 700; color: #475569; padding: 0.7rem 0.25rem; }
.bkw-back:hover { color: #0f172a; }
.bkw-back:focus-visible { outline: 2px solid var(--accent); border-radius: 0.4rem; }
.bkw-card .bkw-next,
.bkw-card #submitBookingBtn {
  width: auto;
  margin: 0;
  padding: 1rem 1.9rem;
  border-radius: 0.9rem;
  background: var(--accent);
  color: #04201a;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  gap: 0.6rem;
}
.bkw-card .bkw-next:hover:not(:disabled),
.bkw-card #submitBookingBtn:hover:not(:disabled) { background: var(--accent); filter: brightness(1.05); }
.bkw-card #submitBookingBtn::after { content: none; }
.bkw-card .bkw-next:disabled { opacity: 0.45; cursor: not-allowed; }
.bkw-nav-main { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.bkw-hint { font-size: 0.82rem; color: #475569; text-align: right; }

/* summary column */
.bkw-side { position: sticky; top: 6.5rem; display: flex; flex-direction: column; gap: 1rem; }
.bkw-summary { background: #0c2236; border: 1px solid #1e3a52; border-radius: 1.25rem; padding: 1.6rem; color: #fff; }
.bkw-summary .booking-total { margin: 0; padding: 0; border: none; }
.bkw-summary .bt-title { color: var(--accent); }
.bkw-summary .bt-list > div { border-bottom: 1px solid #1e3a52; padding: 0.7rem 0; font-size: 0.92rem; }
.bkw-summary .bt-list dt { color: #b6c2d1; }
.bkw-summary .bt-list dd { color: #fff; }
.bkw-summary .bt-list dd.empty { color: #9fb0c2; font-style: normal; font-weight: 400; }
.bkw-summary .booking-total-row { margin-top: 0.9rem; }
.bkw-summary .booking-total-label { color: #b6c2d1; font-weight: 500; }
.bkw-summary .booking-total-value { color: #fff; font-size: 2.1rem; letter-spacing: -0.02em; }
.bkw-summary .booking-total-note { color: #9fb0c2; }
.bkw-summary .booking-total-note:empty { display: none; }
.bkw-summary-empty { margin: 0; color: #b6c2d1; font-size: 0.92rem; line-height: 1.55; display: none; }
.bkw-summary .booking-total[hidden] ~ .bkw-summary-empty { display: block; }
.bkw-side-note { margin: 1rem 0 0; color: #9fb0c2; font-size: 0.82rem; line-height: 1.55; }
.bkw-summary .booking-total[hidden] ~ .bkw-side-note { display: none; }

.bkw-chat { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.4rem; background: #0c2236; border: 1px solid #1e3a52; border-radius: 1.25rem; color: #fff; text-decoration: none; }
.bkw-chat:hover { border-color: var(--accent); }
.bkw-chat-ico { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: #04201a; display: flex; align-items: center; justify-content: center; }
.bkw-chat-txt { display: flex; flex-direction: column; font-size: 0.85rem; color: #b6c2d1; line-height: 1.4; min-width: 0; }
.bkw-chat-txt strong { color: #fff; font-size: 0.95rem; }
.bkw-chat .chat-state { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #9ca3af; font-size: 0.74rem; font-weight: 700; }
.bkw-chat .chat-state::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #6b7280; }
.bkw-chat[data-state="online"] .chat-state { color: #34d399; }
.bkw-chat[data-state="online"] .chat-state::before { background: var(--accent); }
.bkw-chat[data-state="offline"] .chat-state::before { background: #f59e0b; }

@media (max-width: 900px) {
  .bkw-layout { grid-template-columns: minmax(0, 1fr); }
  .bkw-side { position: static; order: 2; }
  .bkw-card { order: 1; }
  .bkw-card { padding: 1.75rem 1.25rem; }
}

@media (max-width: 560px) {
  .bkw-progress { gap: 0.4rem; }
  .bkw-pstep { font-size: 0.7rem; }
  .bk-formpane .bkw-step { grid-template-columns: minmax(0, 1fr); }
  .bkw-step-title { font-size: 1.4rem; }
  .bkw-nav { flex-direction: column-reverse; align-items: stretch; }
  .bkw-nav-main { align-items: stretch; }
  .bkw-hint { text-align: center; }
  .bkw-card .bkw-next,
  .bkw-card #submitBookingBtn { width: 100%; justify-content: center; }
  .bkw-back { text-align: center; }
  .bkw-nav-note { display: none; }
}


/* booking steps: refinements */
.bkw-chat { flex-wrap: wrap; }
.bkw-chat-txt { display: block; margin: 0; flex: 1 1 12rem; font-size: 0.88rem; line-height: 1.5; }
.bkw-chat-txt strong { display: block; margin-bottom: 0.2rem; }
.bkw-chat-txt a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.bkw-chat .chat-state { margin-left: 3.4rem; }
@media (min-width: 901px) {
  .bkw { max-width: 1240px; zoom: 0.88; }
}
