/*
 * FILE: styles.css
 * PURPOSE: Public website stylesheet.
 * RESPONSIBILITIES: Controls brand tokens, layouts, responsive behaviour, service cards, contact cards, enquiry dialog and draft-preview banner.
 * See DEVELOPER_GUIDE.md for the full project map.
 */

/* Section: Brand colour, typography and reusable design tokens. */
:root {
  color-scheme: dark;
  --navy-950: #020713;
  --navy-900: #071a2f;
  --navy-850: #0b1f36;
  --blue-500: #087cf0;
  --cyan-400: #00cbe8;
  --accent-text: #35dff5;
  --warm-400: #ffb020;
  --warm-text: #ffc45b;
  --text: #f6f9ff;
  --muted: #a9b8cb;
  --line: rgba(170, 211, 255, 0.14);
  --surface: rgba(9, 22, 41, 0.72);
  --max-width: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-950);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

h3 {
  margin-bottom: .85rem;
  font-size: 1.35rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: .5rem;
  background: white;
  color: #00162e;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

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

/* Section: Public header, navigation and mobile menu. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(2, 7, 19, .72);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(2, 7, 19, .94);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  width: 218px;
  position: relative;
  isolation: isolate;
}

.brand img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 14px rgba(0, 157, 255, .14));
}

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

.site-nav a {
  color: #dbe9f9;
  text-decoration: none;
  font-weight: 650;
  font-size: .94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--accent-text); }

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

.site-nav .nav-quote-button {
  position: relative;
  overflow: hidden;
  padding: .58rem 1rem;
  border: 1px solid rgba(114, 231, 255, .55);
  border-radius: .7rem;
  background: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  color: white;
  box-shadow: 0 .6rem 1.7rem rgba(0, 139, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.site-nav .nav-quote-button::after,
.button-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .24) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}

.site-nav .nav-quote-button:hover,
.site-nav .nav-quote-button:focus-visible {
  color: white;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 .9rem 2rem rgba(0, 160, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.site-nav .nav-quote-button:hover::after,
.site-nav .nav-quote-button:focus-visible::after,
.button-quote:hover::after,
.button-quote:focus-visible::after { transform: translateX(120%); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: rgba(255,255,255,.035);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: white;
}

/* Section: Shared Light/Dark switch in the desktop and mobile headers. */
.nav-controls { display: none; }

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem .72rem;
  border: 1px solid rgba(170, 211, 255, .24);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .055);
  color: #eef7ff;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(0, 215, 245, .65);
  background: rgba(0, 142, 255, .14);
  transform: translateY(-1px);
}

.theme-toggle-compact {
  width: 44px;
  min-width: 44px;
  padding-inline: 0;
}

.theme-toggle-compact .theme-toggle-label { display: none; }
.theme-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }

/* Section: Hero layout, decorative glow and primary calls to action. */
.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  padding: 7.25rem 0 2.75rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 215, 245, .42), transparent);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  top: 2%;
  right: -10%;
  width: min(700px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 151, 255, .19), transparent 66%);
}

.hero-glow-two {
  bottom: -35%;
  left: -18%;
  width: 650px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 215, 245, .08), transparent 64%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .72fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow,
.section-label {
  margin-bottom: 1rem;
  color: var(--accent-text);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  box-shadow: 0 1rem 2.5rem rgba(0, 135, 255, .2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.035);
}

.button-secondary:hover { border-color: rgba(0, 215, 245, .5); }

.button-quote {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  color: white;
  box-shadow: 0 1rem 2.5rem rgba(0, 160, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.contact-quote-mobile { display: none; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  margin-top: 2.2rem;
  color: #c4d0df;
  font-size: .9rem;
}

.trust-row span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 .6rem .1rem 0;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 12px rgba(0, 215, 245, .8);
}

.hero-panel {
  position: relative;
  min-height: min(70svh, 680px);
}

.support-bot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: min(76svh, 720px);
  max-width: none;
  transform: translate(-50%, -49%);
  filter: drop-shadow(0 1.5rem 2.2rem rgba(0, 121, 255, .2));
  pointer-events: none;
}

.section {
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 10vw, 8.5rem) 0;
}

.section > .container { width: min(calc(100% - 2.5rem), var(--max-width)); }

/* Section: About content and customer-benefit presentation. */
.about-section { background: linear-gradient(180deg, rgba(7, 16, 31, .56), rgba(2, 7, 19, 0)); }

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy {
  padding-top: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-copy p:last-child { margin-bottom: 0; }

/* Section: Service category tabs, service cards and assurance row. */
.services-section {
  min-height: calc(100svh - 78px);
  align-items: flex-start;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-block: 1px solid var(--line);
  background: rgba(7, 16, 31, .68);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading > p {
  max-width: 390px;
  margin-bottom: .55rem;
  color: var(--muted);
}

.service-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.service-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: 1rem;
  padding: .55rem;
  border: 1px solid rgba(155, 205, 255, .12);
  border-radius: 1.25rem;
  background: rgba(1, 8, 19, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.service-category-tab {
  position: relative;
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  background: transparent;
  color: #dce9f8;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-category-tab:hover {
  border-color: rgba(0, 215, 245, .25);
  background: rgba(10, 42, 72, .45);
  transform: translateY(-2px);
}

.service-category-tab.is-active {
  border-color: rgba(0, 215, 245, .5);
  background: linear-gradient(145deg, rgba(0, 118, 255, .24), rgba(0, 215, 245, .08));
  color: white;
  box-shadow: 0 .8rem 2rem rgba(0, 101, 221, .14), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.category-tab-icon,
.service-option-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 215, 245, .22);
  background: rgba(0, 160, 255, .09);
  color: var(--cyan-400);
}

.category-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: .75rem;
}

.category-tab-icon svg,
.service-option-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category-tab strong,
.service-category-tab small {
  display: block;
}

.service-category-tab strong {
  font-size: .9rem;
  line-height: 1.25;
}

.service-category-tab small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}

.service-panels {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(145, 205, 255, .16);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 140, 255, .14), transparent 30rem),
    linear-gradient(145deg, rgba(9, 23, 43, .94), rgba(3, 12, 27, .96));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.service-panel[hidden] { display: none; }

.service-panel.is-active { animation: service-panel-in .28s ease both; }

@keyframes service-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.service-panel-heading > div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.service-panel-heading span {
  color: var(--accent-text);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.service-panel-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.service-panel-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  text-align: right;
}

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.service-option {
  min-width: 0;
  min-height: 158px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid rgba(159, 208, 255, .13);
  border-radius: 1rem;
  background: rgba(5, 17, 34, .82);
  color: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.service-option:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 215, 245, .48);
  background: rgba(8, 37, 65, .94);
  box-shadow: 0 1rem 2.5rem rgba(0, 82, 170, .16), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.service-option-icon {
  width: 40px;
  height: 40px;
  grid-row: 1 / span 2;
  border-radius: .7rem;
}

.service-option-copy {
  min-width: 0;
  display: block;
}

.service-option-copy strong,
.service-option-copy small {
  display: block;
}

.service-option-price {
  display: inline-flex;
  align-self: flex-start;
  margin-top: .48rem;
  padding: .25rem .5rem;
  border: 1px solid rgba(255, 191, 90, .3);
  border-radius: 999px;
  color: #ffd68f;
  background: rgba(255, 191, 90, .08);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
}

.service-category-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  border: 1px dashed rgba(160, 201, 244, .22);
  border-radius: 1rem;
  color: var(--muted);
  text-align: center;
}

.site-preview-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  max-width: 390px;
  gap: .18rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(0, 215, 245, .48);
  border-radius: .85rem;
  background: rgba(3, 13, 27, .96);
  color: white;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.38);
}
.site-preview-banner strong { color: var(--accent-text); }
.site-preview-banner span { color: #b9c9da; font-size: .8rem; }
.site-preview-banner a { margin-top: .25rem; color: white; font-size: .8rem; font-weight: 800; }

.service-option-copy strong {
  margin-bottom: .5rem;
  font-size: 1rem;
  line-height: 1.3;
}

.service-option-copy small {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.service-option-arrow {
  color: var(--cyan-400);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .2s ease;
}

.service-option:hover .service-option-arrow { transform: translate(2px, -2px); }

.service-option-featured {
  border-color: rgba(0, 215, 245, .35);
  background: linear-gradient(145deg, rgba(0, 109, 235, .25), rgba(0, 215, 245, .07));
}

.services-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 1.6rem;
  padding-top: 1.25rem;
  color: #bdcad9;
  font-size: .8rem;
  font-weight: 700;
}

.services-assurance span::before {
  content: "✓";
  margin-right: .45rem;
  color: var(--cyan-400);
}

body.modal-open { overflow: hidden; }

/* Section: Service enquiry modal, fields, validation and success state. */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.service-modal[hidden] { display: none; }

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 14, .82);
  backdrop-filter: blur(10px);
}

.service-modal-dialog {
  position: relative;
  width: min(100%, 820px);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  padding: clamp(1.35rem, 4vw, 2.35rem);
  border: 1px solid rgba(0, 215, 245, .28);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 145, 255, .2), transparent 24rem),
    #071224;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: white;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.service-modal-dialog > h2 {
  margin-bottom: 1.1rem;
  padding-right: 3rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.selected-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .05rem 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(0, 215, 245, .22);
  border-radius: .9rem;
  background: rgba(0, 142, 255, .08);
}

.selected-service > span {
  grid-row: 1 / span 2;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(0, 215, 245, .13);
  color: var(--accent-text);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.selected-service strong { line-height: 1.3; }
.selected-service small { color: var(--muted); }

.enquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.service-enquiry-form label {
  display: grid;
  gap: .4rem;
  color: #dce8f6;
  font-size: .83rem;
  font-weight: 700;
}

.service-enquiry-form label > span { color: var(--accent-text); }

.service-enquiry-form input,
.service-enquiry-form select,
.service-enquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .72rem .85rem;
  border: 1px solid rgba(164, 207, 255, .18);
  border-radius: .7rem;
  background: rgba(1, 8, 19, .75);
  color: white;
  font: inherit;
}

.service-enquiry-form textarea {
  min-height: 112px;
  resize: vertical;
}

.service-enquiry-form input:hover,
.service-enquiry-form select:hover,
.service-enquiry-form textarea:hover { border-color: rgba(0, 215, 245, .35); }

.service-enquiry-form input:focus,
.service-enquiry-form select:focus,
.service-enquiry-form textarea:focus {
  outline: 2px solid rgba(0, 215, 245, .72);
  outline-offset: 1px;
  border-color: transparent;
}

.enquiry-message { margin-top: .9rem; }

.turnstile-wrap {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: .7rem;
}

.turnstile-wrap #turnstile-widget { width: 100%; }

.service-enquiry-form .enquiry-consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: .9rem;
  color: var(--muted);
  font-weight: 500;
}

.service-enquiry-form .enquiry-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: .16rem;
  accent-color: var(--cyan-400);
}

.service-enquiry-form .enquiry-consent span { color: inherit; }

.enquiry-status {
  margin: 1rem 0 0;
  padding: .8rem .95rem;
  border: 1px solid rgba(0, 215, 245, .28);
  border-radius: .75rem;
  background: rgba(0, 148, 222, .1);
  color: #dffbff;
  font-size: .82rem;
  font-weight: 700;
}

.enquiry-status[hidden] { display: none; }

.enquiry-status.is-error {
  border-color: rgba(255, 112, 112, .42);
  background: rgba(180, 35, 35, .14);
  color: #ffd7d7;
}

.enquiry-actions .button:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.enquiry-actions .button {
  width: auto;
  border: 1px solid transparent;
  color: white;
  font: inherit;
  cursor: pointer;
}

.enquiry-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.55;
}

.enquiry-success {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(66, 227, 144, .3);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 50% 0, rgba(43, 211, 126, .14), transparent 15rem),
    rgba(4, 26, 31, .72);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.enquiry-success[hidden] { display: none; }

.enquiry-success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(119, 255, 183, .45);
  border-radius: 50%;
  background: linear-gradient(145deg, #39dd8a, #159758);
  color: white;
  box-shadow: 0 0 0 9px rgba(49, 213, 130, .08), 0 1rem 2.5rem rgba(18, 151, 86, .2);
}

.enquiry-success-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.enquiry-success-kicker {
  margin: 0 0 .4rem;
  color: #65eba5;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.enquiry-success h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.2;
}

.enquiry-success > p:not(.enquiry-success-kicker) {
  max-width: 540px;
  margin: .8rem auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.enquiry-reference {
  width: min(100%, 420px);
  display: grid;
  gap: .25rem;
  margin: 1.35rem auto;
  padding: .9rem 1rem;
  border: 1px solid rgba(101, 235, 165, .28);
  border-radius: .8rem;
  background: rgba(0, 0, 0, .2);
}

.enquiry-reference span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.enquiry-reference strong {
  color: #8fffc3;
  font-size: clamp(.95rem, 3vw, 1.18rem);
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.enquiry-success .button {
  min-width: 140px;
  border: 0;
  color: white;
  font: inherit;
  cursor: pointer;
}

.contact-intro {
  max-width: 700px;
  margin-bottom: 2rem;
}

/* Section: Direct contact and social-media cards. */
.contact-section {
  min-height: calc(100svh - 78px);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.contact-intro > p:last-child {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: white;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 215, 245, .48);
  background: rgba(10, 38, 68, .8);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: .75rem;
  color: white;
  box-shadow: 0 .7rem 1.5rem rgba(0, 0, 0, .16);
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-icon-whatsapp { background: linear-gradient(135deg, #2bdf73, #128c4a); }
.contact-icon-phone { background: linear-gradient(135deg, #6a7df5, #4055d8); }
.contact-icon-email { background: linear-gradient(135deg, #16a9f5, #0874dc); }
.contact-icon-facebook { background: linear-gradient(135deg, #2d8cff, #0b57c4); }
.contact-icon-instagram {
  background: radial-gradient(circle at 30% 105%, #ffd66b 0 18%, #f03d58 38%, #b62bc2 62%, #4c63d2 100%);
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.contact-card strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.arrow { color: var(--accent-text); font-size: 1.2rem; }

.site-footer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  background: #01050d;
}

/* Section: Light theme. The header and footer remain navy for logo contrast. */
html[data-theme="light"] {
  --navy-950: #f4f8fc;
  --navy-900: #eaf2f9;
  --navy-850: #ffffff;
  --accent-text: #006bb6;
  --warm-text: #8a5800;
  --text: #10243a;
  --muted: #546b82;
  --line: rgba(32, 72, 111, .18);
  --surface: rgba(255, 255, 255, .9);
}

html[data-theme="light"] body {
  background: #f4f8fc;
  color: var(--text);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(22, 62, 103, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 62, 103, .04) 1px, transparent 1px);
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header.scrolled {
  --accent-text: #35dff5;
  border-bottom-color: rgba(170, 211, 255, .12);
  background: #020713;
}
html[data-theme="light"] .button-primary { color: white; }
html[data-theme="light"] .button-secondary { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .trust-row,
html[data-theme="light"] .services-assurance { color: #50677e; }
html[data-theme="light"] .about-section { background: linear-gradient(180deg, rgba(217, 232, 247, .76), transparent); }
html[data-theme="light"] .services-section { background: rgba(222, 235, 247, .72); }
html[data-theme="light"] .service-category-tabs { background: rgba(255, 255, 255, .82); border-color: var(--line); box-shadow: 0 .8rem 2rem rgba(24, 61, 98, .06); }
html[data-theme="light"] .service-category-tab { color: var(--text); }
html[data-theme="light"] .service-category-tab:hover { background: #edf6ff; }
html[data-theme="light"] .service-category-tab.is-active { background: linear-gradient(145deg, rgba(0, 118, 255, .16), rgba(0, 215, 245, .08)); color: #09223c; }
html[data-theme="light"] .service-panels { background: radial-gradient(circle at 100% 0, rgba(0, 140, 255, .12), transparent 30rem), #ffffff; box-shadow: 0 1.5rem 4rem rgba(32, 68, 104, .1); }
html[data-theme="light"] .service-option { background: #f7fbff; color: var(--text); }
html[data-theme="light"] .service-option:hover { background: #eef8ff; box-shadow: 0 1rem 2.5rem rgba(36, 79, 121, .1); }
html[data-theme="light"] .service-option-featured { background: linear-gradient(145deg, rgba(0, 109, 235, .13), rgba(0, 215, 245, .06)); }
html[data-theme="light"] .service-option-price { color: #8a5800; background: #fff8e8; }
html[data-theme="light"] .service-modal-backdrop { background: rgba(14, 35, 56, .64); }
html[data-theme="light"] .service-modal-dialog { background: radial-gradient(circle at 100% 0, rgba(0, 145, 255, .12), transparent 24rem), #ffffff; box-shadow: 0 2rem 6rem rgba(21, 50, 79, .28); }
html[data-theme="light"] .service-modal-close { background: #edf5fc; color: var(--text); }
html[data-theme="light"] .service-enquiry-form label { color: #29445f; }
html[data-theme="light"] .service-enquiry-form input,
html[data-theme="light"] .service-enquiry-form select,
html[data-theme="light"] .service-enquiry-form textarea { background: #f8fbfe; color: var(--text); }
html[data-theme="light"] .enquiry-status { color: #114b5b; }
html[data-theme="light"] .enquiry-status.is-error { color: #8a2330; }
html[data-theme="light"] .enquiry-success { background: radial-gradient(circle at 50% 0, rgba(43, 211, 126, .13), transparent 15rem), #f2fff8; }
html[data-theme="light"] .enquiry-success h3 { color: var(--text); }
html[data-theme="light"] .enquiry-reference { background: #ffffff; }
html[data-theme="light"] .enquiry-reference strong { color: #08783f; }
html[data-theme="light"] .contact-card { color: var(--text); box-shadow: 0 .8rem 2rem rgba(28, 64, 100, .06); }
html[data-theme="light"] .contact-card:hover { background: #f2f9ff; }
html[data-theme="light"] .site-footer { --accent-text: #35dff5; --muted: #a9b8cb; color: #f6f9ff; }

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  width: 190px;
  filter: drop-shadow(0 0 14px rgba(0, 157, 255, .1));
}

.footer-content p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 4px;
}

/* Section: Responsive layout adjustments for tablet and mobile screens. */
@media (max-width: 900px) {
  .service-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { width: 100%; max-width: 650px; min-height: 735px; margin-inline: auto; }
  .support-bot { height: min(84vh, 750px); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Switch the primary navigation before tablet widths become crowded. */
@media (max-width: 860px) {
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .section > .container { width: min(calc(100% - 2rem), var(--max-width)); }

  .nav-wrap { min-height: 70px; }
  .brand { width: 185px; }
  .nav-controls { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
  .theme-toggle-mobile { display: inline-flex; }
  .theme-toggle-desktop { display: none; }
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(3, 10, 23, .98);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,.42);
  }

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

  .site-nav a {
    padding: .85rem 1rem;
    border-radius: .6rem;
  }

  .site-nav a:hover { background: rgba(255,255,255,.05); }

  .site-nav .nav-quote-button {
    margin-top: .35rem;
    text-align: center;
  }

  .hero { min-height: auto; padding: 8.6rem 0 5.5rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .hero-actions { align-items: stretch; }
  .contact-quote-mobile {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 1.25rem;
  }
  .button { width: 100%; }
  .hero-panel { min-height: clamp(590px, 162vw, 715px); }
  .support-bot {
    top: 50%;
    width: min(118vw, 525px);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
  }

  .about-grid { grid-template-columns: 1fr; gap: .5rem; }
  .about-copy { padding-top: 0; }

  .section-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .section-heading > p { margin-top: 1.2rem; }
  .service-category-tabs { gap: .55rem; }
  .service-category-tab { min-height: 82px; }
  .service-panel-heading {
    display: block;
    margin-bottom: 1.2rem;
  }
  .service-panel-heading p {
    margin-top: .6rem;
    text-align: left;
  }
  .service-options-grid { grid-template-columns: 1fr; }
  .service-option { min-height: 0; }
  .enquiry-form-grid { grid-template-columns: 1fr; }
  .enquiry-actions { display: grid; }
  .enquiry-actions .button { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
  }
}

@media (max-width: 480px) {
  .service-category-tabs { padding: .4rem; }
  .service-category-tab {
    min-height: 74px;
    gap: .6rem;
    padding: .7rem;
  }
  .category-tab-icon {
    width: 36px;
    height: 36px;
  }
  .category-tab-icon svg { width: 20px; height: 20px; }
  .service-category-tab strong { font-size: .78rem; }
  .service-category-tab small { display: none; }
  .service-panels { padding: 1rem; }
  .service-option {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem;
  }
  .service-option-arrow { display: none; }
  .selected-service {
    display: block;
  }
  .selected-service > span {
    display: inline-block;
    margin-bottom: .55rem;
  }
  .selected-service strong,
  .selected-service small { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   2026 public-site redesign
   These components were added from the director questionnaire. They are kept
   below the original component rules so future developers can find, modify or
   remove the redesign without disturbing the Admin and Team portals.
   ========================================================================== */

/* Section: Stronger hero hierarchy and concise price-led positioning. */
.hero h1 { max-width: 820px; font-size: clamp(3rem, 6.2vw, 5.7rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-actions .button-primary { color: #fff; }

/* Section: Business facts directly beneath the hero. */
.proof-strip { border-bottom: 1px solid var(--line); background: rgba(4, 14, 29, .82); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-width: 0; padding: 1.25rem 1.5rem; border-left: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: #f4f9ff; font-size: .95rem; }
.proof-grid span { margin-top: .18rem; color: var(--muted); font-size: .78rem; }

/* Section: Service matcher. */
.matcher-section { min-height: auto; background: radial-gradient(circle at 14% 40%, rgba(0, 140, 255, .14), transparent 28rem); }
.matcher-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.matcher-intro > p:not(.section-label) { max-width: 520px; color: var(--muted); font-size: 1.08rem; }
.matcher-promise { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--cyan-400); background: rgba(0, 215, 245, .06); color: var(--muted); }
.matcher-promise strong { color: var(--text); }
.matcher-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: radial-gradient(circle at 100% 0, rgba(0, 153, 255, .15), transparent 22rem), var(--surface); box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, .18); }
.matcher-card label { display: block; margin-bottom: 1rem; color: #d8e6f5; font-size: .88rem; font-weight: 750; }
.matcher-card label span { display: block; margin-bottom: .45rem; }
.matcher-card select { width: 100%; min-height: 50px; padding: .72rem .85rem; border: 1px solid var(--line); border-radius: .72rem; background: rgba(1, 9, 21, .72); color: var(--text); font: inherit; }
.matcher-card .button { width: 100%; margin-top: .2rem; color: #fff; font: inherit; cursor: pointer; }
.matcher-result { margin-top: 1rem; padding: 1.15rem; border: 1px solid rgba(0, 215, 245, .3); border-radius: .8rem; background: rgba(0, 185, 226, .08); }
.matcher-result strong, .matcher-result span { display: block; }
.matcher-result span { margin: .35rem 0 1rem; color: var(--muted); }
.matcher-result .button { margin-top: 0; }

/* Section: Transparent pricing cards. */
.pricing-section { min-height: auto; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 16, 31, .82), rgba(7, 22, 39, .56)); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: 1.2rem; background: rgba(7, 21, 40, .88); box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .12); }
.price-card-featured { border-color: rgba(0, 215, 245, .48); background: radial-gradient(circle at 100% 0, rgba(0, 215, 245, .13), transparent 18rem), rgba(7, 24, 44, .95); }
.price-badge { position: absolute; top: 1rem; right: 1rem; padding: .3rem .55rem; border-radius: 999px; background: rgba(255, 176, 32, .13); color: var(--warm-text); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.price-kicker { margin-bottom: .75rem; color: var(--warm-text); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price-card h3 { margin-bottom: 1rem; color: var(--warm-text); font-size: clamp(2rem, 4vw, 3rem); }
.price-card h3 span { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.price-card h3 strong { font: inherit; }
.price-card > p:not(.price-kicker) { color: var(--muted); }
.price-card ul { flex: 1; margin: .5rem 0 1.5rem; padding: 0; list-style: none; }
.price-card li { position: relative; margin: .65rem 0; padding-left: 1.4rem; color: #cfdbeb; font-size: .9rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 900; }
.price-card .button { width: 100%; border-color: var(--line); color: inherit; font: inherit; cursor: pointer; }
.price-card .button-primary { color: #fff; }
.pricing-disclaimer { max-width: 900px; margin: 1.4rem auto 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* Section: Booking process and geographic coverage checker. */
.process-section { min-height: auto; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: steps; }
.process-grid article { padding: 1.5rem; border-top: 2px solid var(--cyan-400); border-radius: 0 0 1rem 1rem; background: var(--surface); }
.process-grid article > span { display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 1.1rem; border-radius: .7rem; background: rgba(0, 215, 245, .1); color: var(--accent-text); font-size: .8rem; font-weight: 850; }
.process-grid p { margin: 0; color: var(--muted); }
.coverage-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; margin-top: 1rem; padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.2rem; background: radial-gradient(circle at 0 100%, rgba(0, 140, 255, .12), transparent 24rem), var(--surface); }
.coverage-card h3 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.coverage-card p { margin-bottom: 0; color: var(--muted); }
#coverage-checker > label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 750; }
#coverage-checker > div { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
#coverage-checker input { min-width: 0; min-height: 50px; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: .72rem; background: rgba(1, 9, 21, .72); color: var(--text); font: inherit; }
#coverage-checker .button { min-height: 50px; color: inherit; font: inherit; cursor: pointer; }
#coverage-result { min-height: 1.5em; margin-top: .7rem; color: var(--accent-text); font-size: .82rem; font-weight: 700; }

/* Section: Helpful content cards. */
.guides-section { min-height: auto; border-block: 1px solid var(--line); background: rgba(7, 16, 31, .5); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.guide-grid article > span { color: var(--accent-text); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.guide-grid h3 { margin-top: .75rem; }
.guide-grid p { margin-bottom: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 1.4rem; color: var(--accent-text); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Section: Accessible FAQ accordion. */
.faq-section { min-height: auto; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.faq-intro { color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; color: var(--text); font-size: 1.02rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 1rem; right: .3rem; color: var(--accent-text); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 2rem; color: var(--muted); }

/* Section: Expanded legal and contact footer. */
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding-bottom: 2rem; }
.footer-grid > div:first-child p { max-width: 310px; color: var(--muted); font-size: .86rem; }
.footer-grid h2 { margin: 0 0 .8rem; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { display: block; margin: .38rem 0; color: var(--muted); font-size: .84rem; text-decoration: none; }
.footer-grid a:hover { color: var(--accent-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(170, 211, 255, .12); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-bottom div { display: flex; gap: 1rem; }
.footer-bottom a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.mobile-action-bar { display: none; }

/* Section: Light-mode treatments. Header and footer intentionally stay navy. */
html[data-theme="light"] .proof-strip { background: #0b182a; }
html[data-theme="light"] .matcher-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .process-grid article,
html[data-theme="light"] .coverage-card,
html[data-theme="light"] .guide-grid article { background-color: #fff; box-shadow: 0 1rem 2.8rem rgba(22, 60, 98, .07); }
html[data-theme="light"] .matcher-card label { color: #29445f; }
html[data-theme="light"] .matcher-card select,
html[data-theme="light"] #coverage-checker input { background: #f7fbff; color: var(--text); }
html[data-theme="light"] .price-card li { color: #445e77; }
html[data-theme="light"] .pricing-section,
html[data-theme="light"] .guides-section { background: rgba(222, 235, 247, .72); }
html[data-theme="light"] .price-card-featured { background: radial-gradient(circle at 100% 0, rgba(0, 156, 222, .11), transparent 18rem), #fff; }

@media (max-width: 1000px) {
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .86rem; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 1.4rem; }
}

@media (max-width: 800px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(3), .proof-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .matcher-layout, .coverage-card, .faq-layout { grid-template-columns: 1fr; }
  .process-grid, .guide-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .hero { padding-top: 7.3rem; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.3rem); }
  .hero-panel { min-height: clamp(430px, 122vw, 590px); }
  .proof-grid div { padding: 1rem; }
  .proof-grid div:nth-child(odd) { border-left: 0; }
  .proof-grid div:nth-child(even) { border-right: 0; }
  .matcher-card { padding: 1rem; }
  #coverage-checker > div { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:not(:first-child) { padding-top: .7rem; border-top: 1px solid rgba(170, 211, 255, .1); }
  .footer-bottom { flex-direction: column; }
  .mobile-action-bar { position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: .75fr 1.2fr 1fr; padding: .45rem max(.45rem, env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) max(.45rem, env(safe-area-inset-left)); border-top: 1px solid rgba(170, 211, 255, .18); background: rgba(2, 7, 19, .97); backdrop-filter: blur(14px); box-shadow: 0 -1rem 2.5rem rgba(0, 0, 0, .28); }
  .mobile-action-bar a { display: grid; min-height: 46px; place-items: center; border-radius: .65rem; color: #dcecff; font-size: .75rem; font-weight: 800; text-decoration: none; }
  .mobile-action-bar .mobile-action-primary { background: linear-gradient(120deg, #13a954, #25d366); color: #fff; }
}

/* Section: Full pricing catalogue page. */
.pricing-catalogue-link { display: flex; justify-content: center; margin-top: 1.2rem; }
.pricing-catalogue-link .button { width: auto; }
.pricing-section { scroll-margin-top: 84px; }
.price-unit { margin: -.4rem 0 .8rem; color: var(--accent-text); font-size: .78rem; font-weight: 750; }
.catalogue-page h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 5.8rem); }
.catalogue-hero { padding: 10rem 0 5rem; background: radial-gradient(circle at 80% 20%, rgba(0, 153, 255, .16), transparent 34rem); }
.catalogue-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.catalogue-hero-grid > div > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.16rem; }
.catalogue-hero aside { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.catalogue-hero aside strong { color: var(--accent-text); }
.catalogue-hero aside p { margin: .5rem 0 0; color: var(--muted); font-size: .88rem; }
.catalogue-hero aside img { float: right; width: 92px; height: 128px; margin: -1.1rem -.7rem .25rem .75rem; object-fit: contain; object-position: bottom; }
.catalogue-group-intro { max-width: 850px; margin: -1rem 0 1.3rem; color: var(--muted); }
.catalogue-static-summary { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .76rem; }
.catalogue-static-summary strong { width: 100%; color: var(--text); }
.catalogue-static-summary span { padding: .42rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.catalogue-toolbar { position: sticky; top: 78px; z-index: 20; padding: .8rem 0; border-block: 1px solid var(--line); background: rgba(2, 7, 19, .94); backdrop-filter: blur(16px); }
.catalogue-toolbar .container { display: grid; grid-template-columns: auto minmax(220px, 1fr) 2fr; gap: .8rem; align-items: center; }
.catalogue-toolbar label { color: #dbe9f9; font-size: .78rem; font-weight: 800; }
.catalogue-toolbar input { min-width: 0; min-height: 44px; padding: .6rem .8rem; border: 1px solid rgba(170, 211, 255, .2); border-radius: .65rem; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.catalogue-filters { display: flex; justify-content: flex-end; gap: .4rem; overflow-x: auto; }
.catalogue-filters button { min-height: 40px; padding: .5rem .72rem; border: 1px solid rgba(170, 211, 255, .15); border-radius: .6rem; background: transparent; color: #b9cbe0; font: inherit; font-size: .76rem; font-weight: 780; white-space: nowrap; cursor: pointer; }
.catalogue-filters button.is-active { border-color: rgba(0, 215, 245, .55); background: rgba(0, 180, 235, .13); color: #fff; }
.catalogue-section { min-height: auto; align-items: start; }
.catalogue-plans-section { border-block: 1px solid var(--line); background: rgba(7, 16, 31, .62); }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.catalogue-card { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.catalogue-card:hover { transform: translateY(-3px); border-color: rgba(0, 215, 245, .4); }
.catalogue-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.catalogue-card-top > span { color: var(--accent-text); font-size: .69rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.catalogue-price { color: var(--warm-text); font-size: 1.45rem; line-height: 1; text-align: right; white-space: nowrap; }
.catalogue-price small { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.catalogue-price em { margin-left: .18rem; color: var(--muted); font-size: .65rem; font-style: normal; }
.catalogue-price-text { font-size: .85rem; }
.catalogue-card h3 { margin: 1rem 0 .45rem; font-size: 1.25rem; }
.catalogue-unit { margin-bottom: 1rem; color: var(--muted); font-size: .8rem; }
.catalogue-included { flex: 1; color: var(--muted); font-size: .88rem; }
.catalogue-card details { margin-top: auto; border-top: 1px solid var(--line); }
.catalogue-card summary { padding: .8rem 0; color: var(--accent-text); font-size: .78rem; font-weight: 800; cursor: pointer; }
.catalogue-scope { padding-bottom: .55rem; }
.catalogue-scope p { margin: .5rem 0; color: var(--muted); font-size: .78rem; }
.catalogue-scope strong { display: block; color: var(--text); font-size: .7rem; text-transform: uppercase; }
.catalogue-enquire { display: grid; min-height: 44px; place-items: center; margin-top: .75rem; border: 1px solid rgba(0, 215, 245, .32); border-radius: .65rem; background: rgba(0, 174, 224, .08); color: var(--text); font-size: .8rem; font-weight: 850; text-decoration: none; }
.catalogue-enquire:hover { background: rgba(0, 174, 224, .16); }
.catalogue-empty { grid-column: 1 / -1; padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; color: var(--muted); text-align: center; }
.catalogue-terms { padding: clamp(4rem, 8vw, 7rem) 0; }
.catalogue-terms-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 6rem); }
.catalogue-terms-grid p { color: var(--muted); }
html[data-theme="light"] .catalogue-plans-section { background: rgba(222, 235, 247, .72); }
html[data-theme="light"] .catalogue-card,
html[data-theme="light"] .catalogue-hero aside { background: #fff; box-shadow: 0 1rem 2.6rem rgba(22, 60, 98, .06); }
html[data-theme="light"] .catalogue-toolbar { background: rgba(2, 7, 19, .97); }

@media (max-width: 940px) {
  .catalogue-toolbar .container { grid-template-columns: auto 1fr; }
  .catalogue-filters { grid-column: 1 / -1; justify-content: flex-start; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .pricing-catalogue-link .button { width: 100%; }
  .catalogue-hero { padding: 8rem 0 3.6rem; }
  .catalogue-hero-grid, .catalogue-terms-grid { grid-template-columns: 1fr; }
  .catalogue-toolbar { top: 70px; }
  .catalogue-toolbar .container { grid-template-columns: 1fr; }
  .catalogue-toolbar label { display: none; }
  .catalogue-filters { grid-column: auto; }
  .catalogue-grid { grid-template-columns: 1fr; }
}

/* Section: Privacy, terms and printable checklist pages. */
.legal-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(2.5rem, 8vw, 7rem); padding-top: 10rem; padding-bottom: 7rem; }
.legal-layout aside { position: sticky; top: 7rem; align-self: start; }
.legal-layout aside h1 { margin-bottom: .8rem; font-size: clamp(3rem, 7vw, 5rem); }
.legal-layout aside > p:not(.eyebrow), .legal-layout aside a { color: var(--muted); font-size: .88rem; }
.legal-layout aside a { color: var(--accent-text); font-weight: 800; text-decoration: none; }
.legal-layout article { padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.2rem; background: var(--surface); }
.legal-layout article > p:first-child { color: var(--text); font-size: 1.08rem; }
.legal-layout article h2 { margin: 2.1rem 0 .65rem; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-layout article p { color: var(--muted); }
.legal-layout article a { color: var(--accent-text); }
.legal-nav { margin-left: auto; }
.checklist-actions { display: flex; gap: .6rem; align-items: center; }
.checklist-actions .button { min-height: 42px; width: auto; color: #fff; font-size: .82rem; cursor: pointer; }
.checklist-layout { padding-top: 10rem; padding-bottom: 6rem; }
.checklist-title { max-width: 820px; margin-bottom: 3rem; }
.checklist-title h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.checklist-title > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.checklist-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.checklist-grid article > span { color: var(--accent-text); font-size: .72rem; font-weight: 850; }
.checklist-grid h2 { margin: .55rem 0 1rem; font-size: 1.3rem; }
.checklist-grid label { display: flex; gap: .7rem; margin: .7rem 0; color: var(--muted); font-size: .9rem; }
.checklist-grid input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--cyan-400); }
.checklist-contact { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(0, 215, 245, .38); border-radius: 1.1rem; background: rgba(0, 174, 224, .08); }
.checklist-contact h2 { margin-bottom: .5rem; font-size: 1.7rem; }
.checklist-contact p { max-width: 650px; margin: 0; color: var(--muted); }
.checklist-contact .button { width: auto; flex: 0 0 auto; color: #fff; }
.checklist-mascot { width: 88px; height: 118px; flex: 0 0 auto; object-fit: contain; object-position: bottom; }
html[data-theme="light"] .legal-layout article,
html[data-theme="light"] .checklist-grid article { background: #fff; box-shadow: 0 1rem 2.6rem rgba(22, 60, 98, .06); }

@media (max-width: 720px) {
  .legal-layout { grid-template-columns: 1fr; padding-top: 8rem; }
  .legal-layout aside { position: static; }
  .legal-nav { display: none; }
  .checklist-actions .button { display: none; }
  .checklist-layout { padding-top: 8rem; }
  .checklist-grid { grid-template-columns: 1fr; }
  .checklist-contact { display: block; }
  .checklist-contact .button { width: 100%; margin-top: 1rem; }
}

@media print {
  .checklist-page { padding: 0; background: #fff; color: #111; }
  .checklist-page .site-header, .checklist-page .site-footer, .checklist-contact { display: none; }
  .checklist-layout { width: 100%; padding: 0; }
  .checklist-title { margin-bottom: 1.5rem; }
  .checklist-title h1 { font-size: 30pt; }
  .checklist-title p, .checklist-grid label { color: #333; }
  .checklist-grid { gap: .4rem; }
  .checklist-grid article { break-inside: avoid; padding: .8rem; border: 1px solid #bbb; background: #fff; }
}

/* Section: Search-focused landing pages and genuine customer-review presentation. */
.announcement-bar { position: relative; z-index: 45; padding: .65rem 1rem; background: #00aedd; color: #02101e; text-align: center; font-size: .84rem; font-weight: 850; }
.seo-hero { padding: 10rem 0 5rem; background: radial-gradient(circle at 78% 18%, rgba(0, 174, 224, .16), transparent 31rem); }
.seo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.seo-hero h1 { max-width: 820px; font-size: clamp(2.8rem, 6.7vw, 5.6rem); }
.seo-hero-copy > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.seo-hero-visual { display: grid; min-height: 430px; place-items: end center; overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: linear-gradient(150deg, rgba(0, 174, 224, .11), rgba(247, 164, 66, .08)); }
.seo-hero-visual img { width: min(100%, 430px); max-height: 520px; object-fit: contain; object-position: bottom; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .76rem; }
.breadcrumb a { color: var(--accent-text); text-decoration: none; }
.seo-section { min-height: auto; }
.seo-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.seo-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.seo-card h3 { margin-bottom: .65rem; }
.seo-card p, .seo-card li { color: var(--muted); }
.seo-card a { color: var(--accent-text); font-weight: 800; }
.landing-cta { display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.7rem); border: 1px solid rgba(0, 215, 245, .38); border-radius: 1.2rem; background: rgba(0, 174, 224, .08); }
.landing-cta p { margin-bottom: 0; color: var(--muted); }
.landing-cta .hero-actions { margin: 0; }
.segment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.segment-card { position: relative; display: flex; min-height: 245px; flex-direction: column; padding: 1.4rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); color: var(--text); text-decoration: none; }
.segment-card::after { content: '→'; margin-top: auto; color: var(--accent-text); font-size: 1.4rem; }
.segment-card h3 { margin: .75rem 0 .45rem; }
.segment-card p { color: var(--muted); font-size: .88rem; }
.segment-card span { color: var(--accent-text); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.reviews-section { min-height: auto; overflow: hidden; }
.review-heading { display: grid; grid-template-columns: 1fr minmax(180px, 300px); gap: 2rem; align-items: end; }
.review-rating { display: flex; gap: 1rem; align-items: center; justify-content: flex-end; }
.review-rating img { width: 92px; height: 120px; object-fit: contain; }
.review-rating strong { display: block; color: var(--warm-text); font-size: 2rem; }
.review-rating [data-rating-stars], .review-stars { color: #f7a442; letter-spacing: .08em; }
.review-rating small { display: block; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.review-card, .review-empty { padding: 1.45rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.review-card blockquote { margin: 1rem 0; color: var(--text); font-size: 1rem; line-height: 1.7; }
.review-card > p { margin: 0; color: var(--muted); font-size: .82rem; }
.review-empty { grid-column: 1 / -1; text-align: center; }
.review-empty p { color: var(--muted); }
html[data-theme="light"] .seo-card, html[data-theme="light"] .segment-card, html[data-theme="light"] .review-card, html[data-theme="light"] .review-empty { background: #fff; box-shadow: 0 1rem 2.6rem rgba(22, 60, 98, .06); }

/* Section: Lightweight, private, rule-based public help assistant. */
.mate-chat { position: fixed; z-index: 75; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
.mate-chat-launch { display: flex; min-height: 52px; gap: .65rem; align-items: center; padding: .55rem 1rem .55rem .55rem; border: 1px solid rgba(0, 215, 245, .45); border-radius: 999px; background: #07172a; color: #fff; box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, .32); cursor: pointer; }
.mate-chat-launch > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #00d7f5, #008cd2); color: #02101e; font-size: 1.15rem; font-weight: 950; }
.mate-chat-panel { position: absolute; right: 0; bottom: 64px; width: min(370px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid rgba(0, 215, 245, .28); border-radius: 1.15rem; background: #071526; color: #f2f8ff; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .48); }
.mate-chat-panel header { display: flex; gap: .7rem; align-items: center; min-height: 76px; padding: .65rem 1rem; border-bottom: 1px solid rgba(170, 211, 255, .13); }
.mate-chat-panel header img { width: 48px; height: 62px; object-fit: contain; object-position: bottom; }
.mate-chat-panel header div { flex: 1; }
.mate-chat-panel header strong, .mate-chat-panel header small { display: block; }
.mate-chat-panel header small { margin-top: .15rem; color: #9eb4cb; font-size: .7rem; }
.mate-chat-panel header button { border: 0; background: transparent; color: #dcecff; font-size: 1.5rem; cursor: pointer; }
.mate-chat-body { max-height: 390px; overflow-y: auto; padding: 1rem; }
.mate-chat-message, .mate-chat-answer { padding: .8rem; border-radius: .75rem; background: rgba(255, 255, 255, .06); color: #dcecff; font-size: .84rem; line-height: 1.55; }
.mate-chat-options { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.mate-chat-options button { padding: .52rem .68rem; border: 1px solid rgba(0, 215, 245, .28); border-radius: 999px; background: rgba(0, 174, 224, .08); color: #eaf7ff; font: inherit; font-size: .75rem; font-weight: 780; cursor: pointer; }
.mate-chat-answer { margin-top: .8rem; }
.mate-chat-answer p { margin-top: 0; }
.mate-chat-answer a { display: inline-block; margin-right: .8rem; color: #54e7ff; font-weight: 800; text-decoration: none; }
.mate-chat-panel footer { padding: .8rem 1rem; border-top: 1px solid rgba(170, 211, 255, .13); }
.mate-chat-panel footer a { color: #55e98d; font-size: .78rem; font-weight: 850; text-decoration: none; }
.mate-chat-panel footer span { display: block; margin-top: .3rem; color: #8299b2; font-size: .65rem; }
@media (max-width: 900px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } .seo-card-grid, .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .seo-hero { padding: 8rem 0 3.5rem; } .seo-hero-grid, .review-heading, .landing-cta { grid-template-columns: 1fr; }
  .seo-hero-visual { min-height: 330px; } .seo-card-grid, .review-grid, .segment-grid { grid-template-columns: 1fr; }
  .review-rating { justify-content: flex-start; } .mate-chat { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mate-chat-launch strong { display: none; } .mate-chat-launch { padding-right: .55rem; }
}
