:root {
  --ink: #07111f;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --blue: #0b63ff;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo {
  font-weight: 750;
  font-size: 22px;
}

.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 56px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.95;
  margin: 0 0 20px;
  letter-spacing: -0.07em;
}

.hero-subtitle {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 42px;
  color: #182236;
}

.helper-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.08);
}

.helper-box label {
  display: block;
  font-weight: 650;
  margin-bottom: 12px;
}

.helper-input-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 14px;
  align-items: end;
}

textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
}

textarea::placeholder {
  color: #8892a0;
}

button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.prompt-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 24px;
}

.prompt-pills a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
}

.service-line {
  color: var(--muted);
  font-size: 18px;
}

.intro {
  border-top: 1px solid var(--line);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  text-align: center;
}

.intro h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.intro p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
  }

  .site-header nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    padding-top: 56px;
  }

  .helper-input-row {
    grid-template-columns: 1fr;
  }

  button {
    justify-self: end;
  }
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 24px;
}

.contact-hero {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
}

.contact-hero p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.08);
}

.contact-card form {
  display: grid;
  gap: 14px;
}

.contact-card label {
  font-weight: 650;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
}

.contact-card textarea {
  min-height: 160px;
}

.wide-button {
  width: 100%;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 18px 0 0;
}

.service-hero {
  max-width: 820px;
  margin-bottom: 56px;
}

.service-hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.065em;
  margin: 0 0 24px;
}

.service-hero p {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 750;
}

.primary-link {
  background: var(--blue);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
  margin-bottom: 44px;
}

.split-section h2,
.service-grid h2,
.faq-section h2,
.bottom-cta h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.split-section p,
.faq-row p,
.bottom-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.quiet-card,
.service-grid article,
.bottom-cta {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.quiet-card h3 {
  margin-top: 0;
}

.quiet-card li,
.service-grid li {
  margin-bottom: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 52px;
}

.faq-section {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-bottom: 44px;
}

.faq-row {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-row h3 {
  margin: 0 0 8px;
}

.bottom-cta {
  background: #f7f9fc;
  text-align: center;
}

@media (max-width: 780px) {
  .split-section,
  .service-grid {
    grid-template-columns: 1fr;
  }
}


/* Shared footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 44px 40px 28px;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.site-footer a:not(.footer-logo) {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--blue);
}

.footer-bottom {
  max-width: 1120px;
  margin: 36px auto 0 !important;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 780px) {
  .site-footer {
    padding: 36px 24px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Homepage polish */
.home-hero {
  padding-bottom: 72px;
}

.home-hero .eyebrow {
  margin: 0 0 18px;
}

.home-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px;
}

.home-intro,
.home-proof {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.home-intro h2,
.home-proof h2,
.section-heading h2,
.local-strip h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0;
}

.home-intro p,
.home-proof p,
.local-strip p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.055);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-card:hover {
  transform: translateY(-2px);
  border-color: #b9c4d3;
  box-shadow: 0 22px 55px rgba(7, 17, 31, 0.08);
}

.home-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.home-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.local-strip {
  max-width: 1080px;
  margin: 8px auto;
  padding: 44px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(11, 99, 255, 0.08), transparent 32%),
    #f8fafc;
}

.local-strip p {
  max-width: 780px;
  margin: 18px auto 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #182236;
  font-size: 18px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 750;
  color: var(--blue);
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

@media (max-width: 900px) {
  .home-intro,
  .home-proof {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 56px 20px;
  }

  .local-strip {
    margin: 0 20px;
  }
}


/* Dark homepage concept */
.dark-home {
  --hd-bg: #07111f;
  --hd-bg-2: #0b1728;
  --hd-card: rgba(13, 27, 48, 0.78);
  --hd-card-strong: rgba(16, 32, 57, 0.94);
  --hd-border: rgba(160, 181, 215, 0.18);
  --hd-text: #f7fbff;
  --hd-muted: #a8b6c9;
  --hd-blue: #4c75ff;
  --hd-blue-2: #2f63ff;
  --hd-green: #8de079;
  --hd-orange: #ff8b5f;
  --hd-purple: #a783ff;
  --hd-red: #ff6f6f;
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 111, 255, 0.22), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #081424 58%, #050b15 100%);
  color: var(--hd-text);
}

.dark-home a {
  color: inherit;
}

.dark-home .hd-dark-header {
  height: 74px;
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
  background: rgba(5, 11, 21, 0.42);
  backdrop-filter: blur(16px);
  color: var(--hd-text);
}

.dark-home .logo,
.dark-home .footer-logo {
  color: var(--hd-text);
}

.dark-home .site-header nav a {
  color: #dbe7f7;
}

.hd-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 24px 34px;
}

.hd-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.34) 0%, rgba(7, 17, 31, 0.70) 42%, rgba(7, 17, 31, 0.98) 88%),
    radial-gradient(circle at 50% 18%, rgba(76, 117, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 16% 52%, rgba(76, 117, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 84% 48%, rgba(62, 202, 255, 0.10), transparent 22rem),
    url("/assets/img/havant-harbour-local-area-bg.webp") center top / cover no-repeat;
}

.hd-hero-bg::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 68%;
  opacity: 0.18;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(160, 181, 215, 0.26) 49% 51%, transparent 52% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(160, 181, 215, 0.18) 49% 51%, transparent 52% 100%);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, transparent, black 40%, transparent);
}

.hd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hd-hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  color: var(--hd-text);
}

.hd-hero-sub {
  margin: 22px 0 0;
  font-size: clamp(22px, 3vw, 31px);
  color: #e3edf9;
}

.hd-hero-sub-2 {
  margin-top: 4px;
  color: #cad6e8;
}

.hd-diagnosis-box {
  max-width: 760px;
  margin: 34px auto 26px;
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(103, 133, 255, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 32, 57, 0.96), rgba(8, 18, 34, 0.94));
  box-shadow:
    0 0 0 1px rgba(103, 133, 255, 0.1) inset,
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 44px rgba(76, 117, 255, 0.2);
}

.hd-ai-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.hd-ai-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(103, 133, 255, 0.72);
  background: rgba(76, 117, 255, 0.18);
  color: #dce6ff;
  font-weight: 800;
}

.hd-ai-row label {
  display: block;
  color: var(--hd-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hd-ai-row p {
  margin: 4px 0 0;
  color: var(--hd-muted);
  line-height: 1.5;
}

.hd-input-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(160, 181, 215, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(2, 8, 18, 0.42);
}

.hd-input-row textarea {
  min-height: 78px;
  color: var(--hd-text);
  background: transparent;
  font-size: 17px;
}

.hd-input-row textarea::placeholder {
  color: #94a7c2;
}

.hd-input-row button {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-2));
  box-shadow: 0 14px 34px rgba(47, 99, 255, 0.32);
}

.hd-prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.hd-prompt-pills a {
  border: 1px solid rgba(160, 181, 215, 0.24);
  border-radius: 999px;
  padding: 9px 18px;
  color: #dce7f7;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.hd-hero-actions,
.hd-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hd-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(47, 99, 255, 0.28);
}

.hd-secondary-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #e5eefb;
  font-weight: 750;
}

.hd-timeline {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hd-line {
  position: absolute;
  top: 0;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(160, 181, 215, 0.38), transparent);
}

.hd-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
  min-height: 210px;
}

.hd-step::before {
  content: "";
  position: absolute;
  left: calc(50% - 9px);
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hd-blue);
  box-shadow: 0 0 0 7px rgba(76, 117, 255, 0.14), 0 0 28px rgba(76, 117, 255, 0.9);
}

.hd-step-card {
  min-height: 132px;
  border: 1px solid var(--hd-border);
  border-radius: 14px;
  background: var(--hd-card);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  padding: 30px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px 24px;
  align-items: center;
}

.hd-step-card span:not(.hd-icon) {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(160, 181, 215, 0.13);
}

.hd-icon {
  grid-row: span 3;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(160, 181, 215, 0.2);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 900;
  font-size: 25px;
}

.hd-icon-red { color: var(--hd-red); }
.hd-icon-blue { color: var(--hd-blue); }
.hd-icon-purple { color: var(--hd-purple); }
.hd-icon-orange { color: var(--hd-orange); }
.hd-icon-green { color: var(--hd-green); }

.hd-step-copy {
  max-width: 390px;
}

.hd-step-left .hd-step-copy {
  justify-self: end;
}

.hd-step-number {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 24px;
}

.hd-step-number.red { color: var(--hd-red); }
.hd-step-number.blue { color: var(--hd-blue); }
.hd-step-number.purple { color: var(--hd-purple); }
.hd-step-number.orange { color: var(--hd-orange); }
.hd-step-number.green { color: var(--hd-green); }

.hd-step h2 {
  margin: 0 0 12px;
  color: var(--hd-text);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hd-step p:not(.hd-step-number) {
  margin: 0;
  color: var(--hd-muted);
  line-height: 1.6;
  font-size: 17px;
}

.hd-services-panel,
.hd-local-panel,
.hd-cta-panel {
  max-width: 1180px;
  margin: 28px auto;
  border: 1px solid var(--hd-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 32, 57, 0.9), rgba(8, 18, 34, 0.86));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.hd-services-panel {
  padding: 32px;
  text-align: center;
}

.hd-services-panel h2,
.hd-local-panel h2,
.hd-cta-panel h2 {
  margin: 0;
  color: var(--hd-text);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.045em;
}

.hd-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 28px;
}

.hd-services-grid a {
  padding: 8px 18px;
  border-left: 1px solid rgba(160, 181, 215, 0.12);
}

.hd-services-grid a:first-child {
  border-left: 0;
}

.hd-services-grid span {
  display: block;
  color: var(--hd-blue);
  font-size: 34px;
  margin-bottom: 12px;
}

.hd-services-grid strong {
  display: block;
  color: var(--hd-text);
  margin-bottom: 8px;
}

.hd-services-grid p {
  margin: 0;
  color: var(--hd-muted);
  line-height: 1.45;
}

.hd-local-panel {
  padding: 30px;
  text-align: center;
}

.hd-local-panel .hd-pin {
  margin: 0 0 10px;
  color: #b9c8ff;
  font-size: 28px;
}

.hd-local-panel p:last-child {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--hd-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hd-cta-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  margin-bottom: 36px;
}

.hd-cta-panel p {
  color: var(--hd-muted);
  font-size: 18px;
}

.hd-lighthouse {
  height: 120px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 32% 28%, rgba(185, 200, 255, 0.8), transparent 4px),
    linear-gradient(90deg, transparent 34%, rgba(185, 200, 255, 0.28) 35% 37%, transparent 38%),
    linear-gradient(135deg, transparent 0 48%, rgba(185, 200, 255, 0.22) 49% 51%, transparent 52% 100%),
    radial-gradient(circle at 20% 70%, rgba(76, 117, 255, 0.18), transparent 50%);
  border: 1px solid rgba(160, 181, 215, 0.12);
}

.dark-home .hd-dark-footer {
  color: var(--hd-muted);
  background: rgba(3, 8, 15, 0.62);
  border-top: 1px solid rgba(160, 181, 215, 0.12);
}

.dark-home .hd-dark-footer h2,
.dark-home .hd-dark-footer .footer-logo {
  color: var(--hd-text);
}

.dark-home .hd-dark-footer a {
  color: #c8d5e8;
}

.dark-home .footer-bottom {
  color: #8797ad;
}

@media (max-width: 900px) {
  .hd-hero {
    padding-top: 56px;
  }

  .hd-input-row,
  .hd-step,
  .hd-cta-panel {
    grid-template-columns: 1fr;
  }

  .hd-line,
  .hd-step::before {
    display: none;
  }

  .hd-step {
    gap: 18px;
    min-height: auto;
    margin: 34px 0;
  }

  .hd-step-left .hd-step-copy {
    justify-self: start;
  }

  .hd-step-left .hd-step-copy {
    order: 2;
  }

  .hd-step-left .hd-step-card {
    order: 1;
  }

  .hd-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hd-services-grid a {
    border-left: 0;
    border-top: 1px solid rgba(160, 181, 215, 0.12);
    padding: 22px 12px;
  }

  .hd-services-grid a:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .dark-home .hd-dark-header {
    padding: 0 18px;
  }

  .hd-diagnosis-box {
    padding: 18px;
  }

  .hd-ai-row {
    gap: 12px;
  }

  .hd-ai-row label {
    font-size: 19px;
  }

  .hd-services-grid {
    grid-template-columns: 1fr;
  }

  .hd-services-grid a:nth-child(-n+2) {
    border-top: 1px solid rgba(160, 181, 215, 0.12);
  }

  .hd-services-grid a:first-child {
    border-top: 0;
  }

  .hd-services-panel,
  .hd-local-panel,
  .hd-cta-panel {
    margin-left: 18px;
    margin-right: 18px;
  }
}
/* End dark homepage concept */


/* Homepage hero local area background override */
.dark-home .hd-hero-bg {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.20) 0%, rgba(7, 17, 31, 0.60) 44%, rgba(7, 17, 31, 0.98) 92%),
    radial-gradient(circle at 50% 15%, rgba(76, 117, 255, 0.16), transparent 34rem),
    url("/assets/img/havant-harbour-local-area-bg.webp") center top / cover no-repeat !important;
}

.dark-home .hd-hero-bg::before {
  opacity: 0.06;
}

/* Remove old generated grid overlay now the Havant harbour image is used */
.dark-home .hd-hero-bg::before {
  content: none !important;
  display: none !important;
}

/* Homepage diagnosis box glow and submit button polish */
.dark-home .hd-diagnosis-box {
  position: relative;
  border-color: rgba(108, 144, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.22) inset,
    0 0 28px rgba(76, 117, 255, 0.34),
    0 0 80px rgba(76, 117, 255, 0.18),
    0 28px 90px rgba(0, 0, 0, 0.42);
}

.dark-home .hd-diagnosis-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(120, 152, 255, 0.9), transparent 28%, transparent 72%, rgba(59, 130, 246, 0.75));
  opacity: 0.55;
  filter: blur(8px);
  z-index: -1;
}

.dark-home .hd-input-row {
  align-items: center;
}

.dark-home .hd-input-row textarea {
  resize: none;
  min-height: 82px;
  line-height: 1.45;
  padding: 2px 0;
}

.dark-home .hd-input-row button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
  font-size: 0;
  background: linear-gradient(135deg, #4f7cff, #2362ff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 34px rgba(47, 99, 255, 0.42),
    0 0 22px rgba(76, 117, 255, 0.32);
}

.dark-home .hd-input-row button::before {
  content: "→";
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.dark-home .hd-input-row button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 16px 40px rgba(47, 99, 255, 0.52),
    0 0 32px rgba(76, 117, 255, 0.42);
}

/* Softer pulsing diagnosis glow and cleaner send button */
.dark-home .hd-diagnosis-box {
  animation: hd-soft-glow 4.8s ease-in-out infinite;
}

@keyframes hd-soft-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(124, 156, 255, 0.18) inset,
      0 0 18px rgba(76, 117, 255, 0.18),
      0 24px 80px rgba(0, 0, 0, 0.40);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(124, 156, 255, 0.26) inset,
      0 0 26px rgba(76, 117, 255, 0.30),
      0 28px 90px rgba(0, 0, 0, 0.44);
  }
}

.dark-home .hd-diagnosis-box::before {
  opacity: 0.22 !important;
  filter: blur(10px);
}

.dark-home .hd-input-row button {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 999px;
  font-size: 0;
  background: linear-gradient(180deg, #3f83ff, #1f6fff);
}

.dark-home .hd-input-row button::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4l7 7-1.4 1.4L13 7.8V20h-2V7.8l-4.6 4.6L5 11z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4l7 7-1.4 1.4L13 7.8V20h-2V7.8l-4.6 4.6L5 11z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .dark-home .hd-diagnosis-box {
    animation: none;
  }
}

/* ChatGPT-style input actions and clearer soft pulse */
.dark-home .hd-diagnosis-box {
  animation: hd-diagnosis-border-pulse 3.2s ease-in-out infinite !important;
}

@keyframes hd-diagnosis-border-pulse {
  0%, 100% {
    border-color: rgba(108, 144, 255, 0.58);
    box-shadow:
      0 0 0 1px rgba(124, 156, 255, 0.14) inset,
      0 0 18px rgba(76, 117, 255, 0.20),
      0 0 46px rgba(76, 117, 255, 0.10),
      0 28px 90px rgba(0, 0, 0, 0.42);
  }

  50% {
    border-color: rgba(125, 160, 255, 0.98);
    box-shadow:
      0 0 0 1px rgba(150, 176, 255, 0.28) inset,
      0 0 34px rgba(76, 117, 255, 0.46),
      0 0 78px rgba(76, 117, 255, 0.20),
      0 30px 96px rgba(0, 0, 0, 0.46);
  }
}

.dark-home .hd-input-row {
  position: relative;
  display: block !important;
  min-height: 126px;
  padding: 18px 130px 20px 20px;
}

.dark-home .hd-input-row textarea {
  width: 100%;
  min-height: 84px;
  padding: 0;
  resize: none;
  line-height: 1.5;
}

.dark-home .hd-action-buttons {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dark-home .hd-action-buttons button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.dark-home .hd-mic-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.dark-home .hd-mic-button::before {
  content: "";
  width: 22px;
  height: 22px;
  background: #eef5ff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dark-home .hd-mic-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dark-home .hd-send-button {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #38bdf8, #2563eb) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 32px rgba(37, 99, 235, 0.44),
    0 0 28px rgba(56, 189, 248, 0.28) !important;
}

.dark-home .hd-send-button::before {
  content: "";
  width: 25px;
  height: 25px;
  background: #ffffff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dark-home .hd-send-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 16px 38px rgba(37, 99, 235, 0.54),
    0 0 36px rgba(56, 189, 248, 0.38) !important;
}

@media (max-width: 620px) {
  .dark-home .hd-input-row {
    padding-right: 20px;
    padding-bottom: 84px;
  }

  .dark-home .hd-action-buttons {
    right: 18px;
    bottom: 16px;
  }
}

/* Make mic a plain icon, keep send as the only circular action button */
.dark-home .hd-mic-button,
.dark-home .hd-mic-button:hover,
.dark-home .hd-mic-button:focus {
  width: 34px !important;
  height: 56px !important;
  min-width: 34px !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.dark-home .hd-mic-button::before {
  width: 25px !important;
  height: 25px !important;
  background: #f4f7fb !important;
}

.dark-home .hd-action-buttons {
  gap: 14px;
}

.dark-home .hd-send-button {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 999px !important;
  background: #2fa84f !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 32px rgba(47, 168, 79, 0.34),
    0 0 24px rgba(47, 168, 79, 0.28) !important;
}

.dark-home .hd-send-button:hover {
  background: #34b75a !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 16px 38px rgba(47, 168, 79, 0.44),
    0 0 34px rgba(47, 168, 79, 0.36) !important;
}

/* Final homepage input icon fix: plain mic + blue send button */
.dark-home .hd-action-buttons {
  right: 20px !important;
  bottom: 18px !important;
  gap: 16px !important;
}

.dark-home .hd-action-buttons .hd-mic-button,
.dark-home .hd-action-buttons .hd-mic-button:hover,
.dark-home .hd-action-buttons .hd-mic-button:focus {
  width: 34px !important;
  height: 58px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.dark-home .hd-action-buttons .hd-mic-button::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  background: #f4f7fb !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.dark-home .hd-action-buttons .hd-send-button {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #3f83ff, #1f6fff) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 32px rgba(37, 99, 235, 0.44),
    0 0 28px rgba(56, 189, 248, 0.28) !important;
}

.dark-home .hd-action-buttons .hd-send-button::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  background: #ffffff !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Dark service pages */
.hd-service-body {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.18) 0%, rgba(7, 17, 31, 0.88) 380px, #06101d 720px),
    #06101d;
}

.hd-service-main {
  color: var(--hd-text);
}

.hd-service-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 74px;
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
}

.hd-service-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.22) 0%, rgba(7, 17, 31, 0.62) 58%, rgba(7, 17, 31, 0.98) 100%),
    url("/assets/img/havant-harbour-local-area-bg.webp") center 24% / cover no-repeat;
  opacity: 0.82;
}

.hd-service-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.hd-service-eyebrow {
  margin: 0 0 22px;
  color: #8db0ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hd-service-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--hd-text);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hd-service-hero p:not(.hd-service-eyebrow) {
  max-width: 780px;
  margin: 26px 0 0;
  color: #d3deef;
  font-size: 21px;
  line-height: 1.55;
}

.hd-service-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hd-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(160, 181, 215, 0.28);
  border-radius: 10px;
  background: rgba(5, 11, 21, 0.42);
  color: #e8f1ff;
  font-weight: 800;
}

.hd-service-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 24px;
}

.hd-service-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: start;
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
}

.hd-service-section h2,
.hd-mini-diagnosis h2 {
  margin: 0 0 22px;
  color: var(--hd-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hd-service-section p {
  color: var(--hd-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hd-service-card {
  border: 1px solid rgba(108, 144, 255, 0.35);
  border-radius: 20px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(16, 32, 57, 0.90), rgba(8, 18, 34, 0.82));
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.08) inset,
    0 24px 70px rgba(0, 0, 0, 0.22);
}

.hd-fit-card {
  margin-top: 18px;
}

.hd-card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(108, 144, 255, 0.35);
  background: rgba(76, 117, 255, 0.14);
  color: #9ab6ff;
  font-weight: 900;
}

.hd-two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hd-check-list,
.hd-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hd-check-list li {
  position: relative;
  padding-left: 34px;
  color: #d8e4f6;
  line-height: 1.55;
}

.hd-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(76, 117, 255, 0.22);
  color: #9ab6ff;
  font-size: 13px;
  font-weight: 900;
}

.hd-step-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: #d8e4f6;
  line-height: 1.55;
}

.hd-step-list span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(76, 117, 255, 0.22);
  color: #9ab6ff;
  font-size: 13px;
  font-weight: 900;
}

.hd-faq-section {
  border-top: 1px solid rgba(160, 181, 215, 0.12);
}

.hd-faq-item {
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
  padding: 22px 0;
}

.hd-faq-item h3 {
  margin: 0 0 10px;
  color: var(--hd-text);
  font-size: 19px;
}

.hd-faq-item p {
  margin: 0;
}

.hd-mini-diagnosis {
  max-width: 920px;
  margin: 22px auto 72px;
  padding: 34px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(108, 144, 255, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 32, 57, 0.96), rgba(8, 18, 34, 0.94));
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.16) inset,
    0 0 28px rgba(76, 117, 255, 0.22),
    0 26px 80px rgba(0, 0, 0, 0.34);
}

.hd-mini-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(108, 144, 255, 0.28);
  background: rgba(76, 117, 255, 0.10);
  color: #9ab6ff;
  font-size: 34px;
}

.hd-mini-diagnosis p {
  margin: 0 0 18px;
  color: var(--hd-muted);
  font-size: 17px;
}

.hd-mini-form {
  position: relative;
  border: 1px solid rgba(160, 181, 215, 0.22);
  border-radius: 13px;
  background: rgba(2, 8, 18, 0.58);
  padding: 16px 124px 16px 18px;
}

.hd-mini-form textarea {
  width: 100%;
  min-height: 54px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hd-text);
  font: inherit;
}

.hd-mini-actions {
  position: absolute;
  right: 16px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hd-mini-actions .hd-mic-button,
.hd-mini-actions .hd-send-button {
  position: relative;
}

.hd-mini-actions .hd-mic-button {
  width: 30px !important;
  height: 54px !important;
  min-width: 30px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hd-mini-actions .hd-send-button {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #3f83ff, #1f6fff) !important;
}

@media (max-width: 760px) {
  .hd-service-split,
  .hd-two-cards,
  .hd-mini-diagnosis {
    grid-template-columns: 1fr;
  }

  .hd-service-hero {
    padding-top: 64px;
  }

  .hd-mini-form {
    padding-right: 18px;
    padding-bottom: 82px;
  }

  .hd-mini-actions {
    right: 16px;
    bottom: 14px;
  }
}
/* End dark service pages */

/* Fix compact diagnosis box icons on service pages */
.hd-mini-icon {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
}

.hd-mini-actions {
  right: 18px !important;
  bottom: 16px !important;
  gap: 14px !important;
}

.hd-mini-actions .hd-mic-button,
.hd-mini-actions .hd-mic-button:hover,
.hd-mini-actions .hd-mic-button:focus {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 52px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.hd-mini-actions .hd-mic-button::before {
  content: "" !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  background: #f4f7fb !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.hd-mini-actions .hd-send-button,
.hd-mini-actions .hd-send-button:hover,
.hd-mini-actions .hd-send-button:focus {
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #3f83ff, #1f6fff) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 32px rgba(37, 99, 235, 0.44),
    0 0 28px rgba(56, 189, 248, 0.28) !important;
}

.hd-mini-actions .hd-send-button::before {
  content: "" !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  background: #ffffff !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

@media (max-width: 760px) {
  .hd-mini-form {
    padding-right: 18px !important;
    padding-bottom: 82px !important;
  }
}

/* Website helper chat page */
.hd-helper-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.10) 0%, rgba(7, 17, 31, 0.86) 340px, #06101d 760px),
    #06101d;
}

.hd-helper-main {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  padding: 34px 24px 64px;
}

.hd-helper-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.36) 0%, rgba(7, 17, 31, 0.78) 46%, rgba(7, 17, 31, 0.98) 100%),
    url("/assets/img/havant-harbour-local-area-bg.webp") center top / cover no-repeat;
  opacity: 0.52;
  mask-image: linear-gradient(to bottom, black 0%, black 46%, transparent 88%);
}

.hd-helper-intro,
.hd-chat {
  position: relative;
  z-index: 1;
}

.hd-helper-intro {
  max-width: 1040px;
  margin: 0 auto;
}

.hd-back-link {
  display: inline-flex;
  margin: 0 0 22px;
  color: #76a2ff;
  font-weight: 750;
}

.hd-helper-intro h1 {
  margin: 0;
  text-align: center;
  color: var(--hd-text);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hd-helper-intro p {
  max-width: 680px;
  margin: 22px auto 0;
  text-align: center;
  color: #d3deef;
  font-size: 22px;
  line-height: 1.55;
}

.hd-chat {
  max-width: 1040px;
  margin: 38px auto 0;
}

.hd-chat-row {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 28px;
}

.hd-chat-row-user {
  justify-content: flex-end;
}

.hd-chat-row > div {
  max-width: min(640px, 82%);
}

.hd-chat-name {
  margin: 0 0 10px;
  color: #f5f9ff;
  font-weight: 800;
}

.hd-chat-row-user .hd-chat-name {
  text-align: right;
}

.hd-chat-bubble {
  border: 1px solid rgba(108, 144, 255, 0.36);
  border-radius: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(16, 32, 57, 0.86), rgba(8, 18, 34, 0.78));
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.07) inset,
    0 22px 70px rgba(0, 0, 0, 0.22);
}

.hd-user-bubble {
  background:
    linear-gradient(180deg, rgba(22, 45, 82, 0.92), rgba(15, 33, 62, 0.86));
  border-color: rgba(108, 144, 255, 0.74);
}

.hd-chat-bubble p {
  margin: 0 0 14px;
  color: #f5f9ff;
  font-size: 19px;
  line-height: 1.55;
}

.hd-chat-bubble p:last-of-type {
  margin-bottom: 0;
}

.hd-chat-bubble time {
  display: block;
  margin-top: 14px;
  color: #9dafc7;
  font-size: 14px;
}

.hd-short-bubble {
  max-width: 330px;
}

.hd-link-bubble a {
  color: #8bb2ff;
  text-decoration: underline;
}

.hd-result-bubble ul {
  display: grid;
  gap: 11px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.hd-result-bubble li {
  position: relative;
  padding-left: 34px;
  color: #f5f9ff;
  font-size: 18px;
  line-height: 1.4;
}

.hd-result-bubble li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hd-chat-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hd-chat-buttons a,
.hd-chat-buttons button {
  width: auto;
  height: auto;
  min-height: 50px;
  border-radius: 10px;
  padding: 0 22px;
  font: inherit;
  font-weight: 850;
}

.hd-chat-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3f83ff, #1f6fff);
  color: #fff;
}

.hd-chat-buttons button {
  border: 1px solid rgba(160, 181, 215, 0.34);
  background: rgba(2, 8, 18, 0.44);
  color: #fff;
}

.hd-chat-input {
  position: relative;
  margin: 34px 0 0;
  border: 1px solid rgba(108, 144, 255, 0.48);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(16, 32, 57, 0.92), rgba(8, 18, 34, 0.86));
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.10) inset,
    0 18px 60px rgba(0, 0, 0, 0.26);
  padding: 22px 124px 22px 24px;
}

.hd-chat-input textarea {
  width: 100%;
  min-height: 58px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hd-text);
  font: inherit;
  font-size: 19px;
}

.hd-chat-input textarea::placeholder {
  color: #9dafc7;
}

.hd-chat-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hd-chat-actions .hd-mic-button,
.hd-chat-actions .hd-mic-button:hover {
  width: 34px !important;
  height: 58px !important;
  min-width: 34px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hd-chat-actions .hd-mic-button::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  background: #f4f7fb !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.hd-chat-actions .hd-send-button {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #3f83ff, #1f6fff) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 32px rgba(37, 99, 235, 0.44),
    0 0 28px rgba(56, 189, 248, 0.28) !important;
}

.hd-chat-actions .hd-send-button::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  background: #ffffff !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4 5.5 10.5 7 12l4-4v12h2V8l4 4 1.5-1.5L12 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.hd-helper-privacy {
  text-align: center;
  color: var(--hd-muted);
  font-size: 17px;
  margin: 28px 0 0;
}

.hd-helper-privacy a {
  color: #8bb2ff;
}

@media (max-width: 720px) {
  .hd-helper-main {
    padding: 24px 18px 50px;
  }

  .hd-chat-row > div {
    max-width: 94%;
  }

  .hd-chat-input {
    padding-right: 20px;
    padding-bottom: 88px;
  }

  .hd-chat-actions {
    right: 18px;
    bottom: 16px;
  }

  .hd-helper-intro h1 {
    text-align: left;
  }

  .hd-helper-intro p {
    text-align: left;
    margin-left: 0;
  }
}
/* End Website helper chat page */

/* Standard page layout rescue pass */
.dark-home.hd-standard-body .hd-standard-main {
  color: var(--hd-text);
}

.dark-home.hd-standard-body .hd-standard-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 76px !important;
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
}

.dark-home.hd-standard-body .hd-standard-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.22) 0%, rgba(7, 17, 31, 0.72) 58%, rgba(7, 17, 31, 0.98) 100%),
    url("/assets/img/havant-harbour-local-area-bg.webp") center 22% / cover no-repeat;
  opacity: 0.72;
}

.dark-home.hd-standard-body .hd-standard-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  margin: 0 auto !important;
}

.dark-home.hd-standard-body .hd-standard-hero h1 {
  max-width: 850px;
  margin: 0 !important;
  color: var(--hd-text);
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.dark-home.hd-standard-body .hd-standard-hero p:not(.hd-service-eyebrow) {
  max-width: 760px;
  margin: 26px 0 0 !important;
  color: #d3deef;
  font-size: 21px;
  line-height: 1.55;
}

.dark-home.hd-standard-body .hd-contact-layout,
.dark-home.hd-standard-body .hd-work-grid,
.dark-home.hd-standard-body .hd-legal-content {
  width: min(1040px, calc(100vw - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.dark-home.hd-standard-body .hd-contact-layout {
  padding: 64px 0 84px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) !important;
  gap: 24px !important;
  align-items: start;
}

.dark-home.hd-standard-body .hd-work-grid {
  padding: 64px 0 36px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.dark-home.hd-standard-body .hd-service-card {
  width: auto !important;
  min-width: 0 !important;
}

.dark-home.hd-standard-body .hd-contact-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin-top: 24px !important;
}

.dark-home.hd-standard-body .hd-contact-form label {
  display: block !important;
  margin: 0 !important;
  color: #e8f1ff;
  font-weight: 800;
}

.dark-home.hd-standard-body .hd-contact-form input,
.dark-home.hd-standard-body .hd-contact-form textarea {
  display: block !important;
  width: 100% !important;
  border: 1px solid rgba(160, 181, 215, 0.22) !important;
  border-radius: 12px !important;
  padding: 15px 16px !important;
  background: rgba(2, 8, 18, 0.58) !important;
  color: var(--hd-text) !important;
  font: inherit !important;
}

.dark-home.hd-standard-body .hd-contact-form textarea {
  min-height: 170px !important;
}

.dark-home.hd-standard-body .hd-contact-submit {
  width: fit-content !important;
  min-width: 170px !important;
  height: 52px !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

.dark-home.hd-standard-body .hd-legal-content {
  max-width: 850px;
  padding: 58px 0 84px !important;
}

.dark-home.hd-standard-body .hd-legal-section {
  border-bottom: 1px solid rgba(160, 181, 215, 0.12);
  padding: 28px 0;
}

.dark-home.hd-standard-body .hd-legal-section h2 {
  margin: 0 0 12px !important;
  color: var(--hd-text);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.dark-home.hd-standard-body .hd-legal-section p {
  margin: 0 !important;
  color: var(--hd-muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .dark-home.hd-standard-body .hd-contact-layout,
  .dark-home.hd-standard-body .hd-work-grid {
    grid-template-columns: 1fr !important;
  }

  .dark-home.hd-standard-body .hd-standard-hero {
    padding-top: 66px !important;
  }
}

/* Case studies / work page polish */
.dark-home.hd-standard-body .hd-work-grid {
  max-width: 1040px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

.dark-home.hd-standard-body .hd-work-grid .hd-service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dark-home.hd-standard-body .hd-work-grid .hd-card-icon {
  margin-bottom: 28px;
}

.dark-home.hd-standard-body .hd-work-grid h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.dark-home.hd-standard-body .hd-work-grid p {
  color: var(--hd-muted);
  font-size: 17px;
  line-height: 1.6;
}

.dark-home.hd-standard-body .hd-work-grid .hd-text-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  .dark-home.hd-standard-body .hd-work-grid {
    grid-template-columns: 1fr !important;
  }

  .dark-home.hd-standard-body .hd-work-grid .hd-service-card {
    min-height: auto;
  }
}

/* Website helper mic listening state */
.hd-chat-actions .hd-mic-button.is-listening::before,
.hd-mini-actions .hd-mic-button.is-listening::before,
.hd-action-buttons .hd-mic-button.is-listening::before {
  background: #7dd3fc !important;
}

.hd-chat-actions .hd-mic-button.is-listening,
.hd-mini-actions .hd-mic-button.is-listening,
.hd-action-buttons .hd-mic-button.is-listening {
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.8));
}

/* Website helper lead conversion panel */
.hd-lead-panel {
  border-color: rgba(125, 160, 255, 0.76) !important;
  box-shadow:
    0 0 0 1px rgba(124, 156, 255, 0.18) inset,
    0 0 28px rgba(76, 117, 255, 0.26),
    0 24px 80px rgba(0, 0, 0, 0.32) !important;
}
