/* =========================================================
   TECH REPAIR ZONE — "Neon Workshop" design system
   Plain CSS, no build step. Every color/spacing/type value
   below is a variable — change it once here, it updates
   the whole site.
   ========================================================= */

/* ---------- 1. Tokens (dark is the default look) ---------- */
:root {
  /* Color */
  --color-bg: #05070d;
  --color-bg-alt: #090d18;
  --color-surface: #0f1424;
  --color-surface-raised: #141a2e;
  --color-text: #eef1f8;
  --color-text-muted: #9aa3b8;
  --color-border: rgba(255, 255, 255, 0.09);
  --color-accent-blue: #3b82f6;
  --color-accent-blue-strong: #5b9dff;
  --color-accent-red: #ef3b4a;
  --color-accent-red-strong: #ff5464;
  --color-accent-blue-glow: rgba(59, 130, 246, 0.35);
  --color-accent-red-glow: rgba(239, 59, 74, 0.3);
  /* Darker than the tokens above on purpose — white button-label text on
     the base accent colors only reaches ~3.7:1, short of the 4.5:1 WCAG
     AA text minimum (button labels are bold but not quite large enough
     to qualify for the relaxed 3:1 large-text threshold). These pass at
     ~5.6–6.1:1 while still reading as the same blue-to-red brand gradient. */
  --btn-gradient-blue: #2358d6;
  --btn-gradient-red: #c9202f;
  /* Dedicated, more muted tokens for the animated page background only —
     kept separate from the glow tokens above so buttons/badges/icons
     elsewhere stay unaffected. */
  --site-bg-glow-blue: rgba(59, 130, 246, 0.16);
  --site-bg-glow-red: rgba(239, 59, 74, 0.13);
  --color-danger: #ef4444;
  --color-success: #22c55e;
  --color-on-accent: #ffffff;

  /* Type */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --leading-tight: 1.15;
  --leading-normal: 1.5;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Shape / elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 14px 40px rgba(0, 0, 0, 0.45);

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1180px;

  color-scheme: dark;
}

/* System preference, only when the visitor hasn't chosen yet (no JS / first
   paint before our inline script runs, and as a safety net if JS is off) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --color-bg: #f6f7fb;
    --color-bg-alt: #eef0f6;
    --color-surface: #ffffff;
    --color-surface-raised: #ffffff;
    --color-text: #12141c;
    --color-text-muted: #565c6c;
    --color-border: rgba(10, 14, 26, 0.1);
    --color-accent-blue: #2f6bff;
    --color-accent-blue-strong: #1d54e0;
    --color-accent-red: #e0273a;
    --color-accent-red-strong: #c11c2d;
    --color-accent-blue-glow: rgba(47, 107, 255, 0.18);
    --color-accent-red-glow: rgba(224, 39, 58, 0.14);
    --site-bg-glow-blue: rgba(47, 107, 255, 0.06);
    --site-bg-glow-red: rgba(224, 39, 58, 0.05);
    --color-on-accent: #ffffff;
    --shadow-card: 0 8px 24px rgba(20, 24, 40, 0.08);
    --shadow-card-hover: 0 14px 34px rgba(20, 24, 40, 0.12);
    color-scheme: light;
  }
}

/* Explicit choice (toggle button / saved preference) always wins */
:root[data-theme="light"] {
  --color-bg: #f6f7fb;
  --color-bg-alt: #eef0f6;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-text: #12141c;
  --color-text-muted: #565c6c;
  --color-border: rgba(10, 14, 26, 0.1);
  --color-accent-blue: #2f6bff;
  --color-accent-blue-strong: #1d54e0;
  --color-accent-red: #e0273a;
  --color-accent-red-strong: #c11c2d;
  --color-accent-blue-glow: rgba(47, 107, 255, 0.18);
  --color-accent-red-glow: rgba(224, 39, 58, 0.14);
  --site-bg-glow-blue: rgba(47, 107, 255, 0.06);
  --site-bg-glow-red: rgba(224, 39, 58, 0.05);
  --color-on-accent: #ffffff;
  --shadow-card: 0 8px 24px rgba(20, 24, 40, 0.08);
  --shadow-card-hover: 0 14px 34px rgba(20, 24, 40, 0.12);
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Respect reduced motion everywhere, not just the background */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible focus state everywhere — never remove outline without a
   replacement */
:focus-visible {
  outline: 2px solid var(--color-accent-blue-strong);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Off-screen until focused (Tab key), then jumps into view — lets
   keyboard users skip the header/nav and land straight on page content. */
.skip-link {
  position: absolute;
  top: -60px;
  left: 8px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--color-surface-raised);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  text-decoration: none;
  font-weight: 700;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 8px;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* ---------- 3. Animated background ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-bg);
  pointer-events: none;
}

.site-bg__grid {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-image: radial-gradient(var(--color-border) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: 0.8;
  will-change: transform;
  animation: bg-grid-drift 50s linear infinite alternate;
}

.site-bg__glow {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}

.site-bg__glow--blue {
  top: -10%;
  left: -10%;
  background: radial-gradient(
    circle,
    var(--site-bg-glow-blue) 0%,
    transparent 70%
  );
  animation: bg-glow-blue 26s ease-in-out infinite;
}

.site-bg__glow--red {
  bottom: -15%;
  right: -10%;
  background: radial-gradient(
    circle,
    var(--site-bg-glow-red) 0%,
    transparent 70%
  );
  animation: bg-glow-red 32s ease-in-out infinite;
}

.site-bg__noise {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes bg-grid-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-56px, -56px, 0);
  }
}

@keyframes bg-glow-blue {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8%, 12%, 0) scale(1.15);
  }
}

@keyframes bg-glow-red {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.1);
  }
  50% {
    transform: translate3d(-10%, -6%, 0) scale(0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg__grid,
  .site-bg__glow--blue,
  .site-bg__glow--red {
    animation: none;
  }
}

/* ---------- 4. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-lg);
  text-decoration: none;
}

.brand__mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: none;
  gap: var(--space-4);
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--duration-fast) var(--ease-out);
}

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

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Show sun in dark mode (click to go light), moon in light mode */
.theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-lift: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  transform: translateY(var(--btn-lift));
}

.btn-primary {
  color: var(--color-on-accent);
  background: linear-gradient(
    135deg,
    var(--btn-gradient-blue) 0%,
    var(--btn-gradient-red) 100%
  );
  box-shadow: 0 8px 24px var(--color-accent-blue-glow);
}

.btn-primary:hover {
  --btn-lift: -2px;
  box-shadow: 0 14px 30px var(--color-accent-blue-glow);
}

.btn-secondary {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  --btn-lift: -2px;
  border-color: var(--color-accent-blue-strong);
}

/* ---------- 6. Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent-blue-strong);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-glow),
    var(--color-accent-red-glow)
  );
}

/* Drawn icons sit at roughly the optical size of the emoji in the other
   tiles, so a mixed row still looks even. */
.card__icon svg {
  width: 27px;
  height: 27px;
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.card__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- 7. Layout sections ---------- */
.hero {
  padding: var(--space-8) var(--space-4) var(--space-7);
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent-blue-strong);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  font-weight: 800;
  max-width: 20ch;
  margin-inline: auto;
}

@media (min-width: 700px) {
  .hero__title {
    font-size: var(--text-4xl);
  }
}

.hero__title .accent {
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-strong),
    var(--color-accent-red-strong)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: var(--space-4) auto 0;
  max-width: 55ch;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.hero__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.section {
  padding: var(--space-7) var(--space-4);
}

.section__heading {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-6);
}

.section__title {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.section__subtitle {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Trust bar */
/* Columns are worked out from the available width rather than fixed at a
   set number, so adding or removing a trust item still fills each row
   evenly instead of leaving a gap at the end. */
.trust-bar {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: var(--space-4);
  max-width: var(--max-width);
  margin-inline: auto;
}

.trust-bar__item {
  text-align: center;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

/* Light mode: a flat white box on a near-white page reads as bland, so
   give these a visible brand-coloured wash and border instead of relying
   on a transparency trick that barely shows against a light page. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .trust-bar__item {
    background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.1),
      rgba(239, 59, 74, 0.07)
    );
    border: 1.5px solid rgba(47, 107, 255, 0.3);
    box-shadow: 0 10px 24px rgba(47, 107, 255, 0.14);
  }
}

:root[data-theme="light"] .trust-bar__item {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(239, 59, 74, 0.07)
  );
  border: 1.5px solid rgba(47, 107, 255, 0.3);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.14);
}

.trust-bar__stat {
  font-size: var(--text-2xl);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-strong),
    var(--color-accent-red-strong)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-bar__label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* Placeholder tag used until real content/photos replace it */
.placeholder-tag {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  color: var(--color-accent-red-strong);
  background: var(--color-accent-red-glow);
}

/* Scroll-reveal: hidden until IntersectionObserver adds .is-visible.
   If JS never runs, the fallback below still shows the content. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* No JS at all → never leave content invisible */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 8. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-4) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.site-footer .container {
  display: grid;
  gap: var(--space-4);
}

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

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

.site-footer__brand {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  text-align: center;
}

.site-footer__bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  text-align: center;
}

/* ---------- 9. Internal page hero (smaller than the homepage hero) ---------- */
.page-hero {
  padding: var(--space-7) var(--space-4) var(--space-6);
  text-align: center;
}

.page-hero__title {
  font-size: var(--text-3xl);
  font-weight: 800;
}

.page-hero__subtitle {
  margin: var(--space-3) auto 0;
  max-width: 60ch;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* ---------- 10. Repair category blocks ---------- */
.repair-category {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.repair-category:last-child {
  border-bottom: none;
}

.repair-category__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.repair-category__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-glow),
    var(--color-accent-red-glow)
  );
  flex-shrink: 0;
}

.repair-category__title {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.repair-category__body {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .repair-category__body {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

.fault-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.fault-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Holds the category's "Book this repair" button: a plain wrapper, so the
   button lines up with the top of the description in the right-hand column
   on wide screens, and sits full-width underneath it on narrow ones. */
.repair-meta {
  height: fit-content;
}

/* ---------- 11. Image slider (portrait, social-clip friendly) ---------- */
.slider {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding: var(--space-2) var(--space-4) var(--space-4);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slider__item {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  background: linear-gradient(
    160deg,
    var(--color-accent-blue-glow),
    var(--color-surface) 60%
  );
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  overflow: hidden;
  position: relative;
}

.slider__item .emoji {
  font-size: 48px;
}

.slider__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--text-sm);
  text-align: center;
}

/* ---------- 12. Reviews CTA ---------- */
.reviews-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  max-width: 640px;
  margin-inline: auto;
}

.reviews-cta__stars {
  font-size: var(--text-2xl);
  letter-spacing: 2px;
  color: #f5b400;
}

/* ---------- 13. Map embed ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ---------- 14. Prose (legal pages) ---------- */
.prose {
  max-width: 72ch;
  margin-inline: auto;
}

.prose h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.prose p,
.prose li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.3em;
  list-style: disc;
}

.prose strong {
  color: var(--color-text);
}

/* ---------- 15. Contact page ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.contact-method:hover {
  border-color: var(--color-accent-blue-strong);
  transform: translateY(-2px);
}

.contact-method__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-glow),
    var(--color-accent-red-glow)
  );
  flex-shrink: 0;
  font-size: 20px;
}

/* ---------- 16. Booking form ---------- */
.booking-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-1);
  max-width: 720px;
  margin: 0 auto var(--space-6);
  overflow-x: auto;
  padding: 0 var(--space-2);
}

.booking-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  flex: 1 1 0;
  min-width: 64px;
  position: relative;
}

.booking-progress__step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.booking-progress__step:first-child::before {
  display: none;
}

.booking-progress__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  z-index: 1;
  transition: border-color var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}

.booking-progress__label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
}

.booking-progress__step.is-active .booking-progress__circle,
.booking-progress__step.is-done .booking-progress__circle {
  border-color: var(--color-accent-blue-strong);
  color: var(--color-on-accent);
  background: linear-gradient(
    135deg,
    var(--btn-gradient-blue),
    var(--btn-gradient-red)
  );
}

.booking-progress__step.is-active .booking-progress__label {
  color: var(--color-text);
  font-weight: 700;
}

.form-step {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-7);
}

.form-step__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: var(--text-base);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.field-error {
  font-size: var(--text-xs);
  color: var(--color-danger);
  margin-top: var(--space-1);
  font-weight: 600;
}

.option-cards {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .option-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__body {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
  font-weight: 700;
}

.option-card input:checked + .option-card__body {
  border-color: var(--color-accent-blue-strong);
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-glow),
    var(--color-accent-red-glow)
  );
}

.option-card:hover .option-card__body {
  transform: translateY(-2px);
}

.option-card input:focus-visible + .option-card__body {
  outline: 2px solid var(--color-accent-blue-strong);
  outline-offset: 2px;
}

.chip-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip-checkbox {
  position: relative;
  cursor: pointer;
}

.chip-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-checkbox__body {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.chip-checkbox input:checked + .chip-checkbox__body {
  border-color: var(--color-accent-blue-strong);
  color: var(--color-text);
  background: var(--color-accent-blue-glow);
}

.file-drop {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--color-accent-blue-strong);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.file-preview__item {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.file-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.review-summary {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4);
}

.review-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.review-summary__row:last-child {
  border-bottom: none;
}

.review-summary__label {
  color: var(--color-text-muted);
}

.review-summary__value {
  font-weight: 700;
  text-align: right;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.consent-field input {
  margin-top: 4px;
}

.booking-confirmation {
  text-align: center;
  padding: var(--space-7) var(--space-4);
}

.booking-confirmation__ref {
  display: inline-block;
  margin: var(--space-4) 0;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* JS-enhanced stepper: only shown once JS confirms it can drive it.
   Without JS, .form-step never gets is-hidden, so every step stays
   visible and the form is just one long page. */
.js .form-step.is-hidden {
  display: none;
}

/* ---------- 17. Shop ---------- */
.shop-filter-bar {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: var(--space-6);
}

@media (min-width: 700px) {
  .shop-filter-bar {
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: end;
  }
}

.shop-filter-bar .field {
  margin-bottom: 0;
}

.shop-filter-bar select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}

.product-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent-blue-strong);
}

.product-card__photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 56px;
  background: linear-gradient(
    160deg,
    var(--color-accent-blue-glow),
    var(--color-surface) 70%
  );
}

.product-card__body {
  padding: var(--space-4);
}

.product-card__title {
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.product-card__meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grade-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-accent-blue-glow);
  color: var(--color-accent-blue-strong);
}

.price-tag {
  font-weight: 800;
  font-size: var(--text-lg);
  background: linear-gradient(
    135deg,
    var(--color-accent-blue-strong),
    var(--color-accent-red-strong)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.empty-state {
  text-align: center;
  padding: var(--space-7) var(--space-4);
  color: var(--color-text-muted);
}

/* Product detail */
.product-gallery__main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  font-size: 96px;
  background: linear-gradient(
    160deg,
    var(--color-accent-blue-glow),
    var(--color-surface) 70%
  );
  margin-bottom: var(--space-3);
}

.product-gallery__thumbs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.product-gallery__main {
  position: relative;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface) 85%, transparent);
  backdrop-filter: blur(6px);
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.product-gallery__nav:hover {
  background: var(--color-surface);
  transform: translateY(-50%) scale(1.06);
}

.product-gallery__nav--prev {
  left: var(--space-3);
}

.product-gallery__nav--next {
  right: var(--space-3);
}

.product-gallery__thumb {
  display: block;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.product-gallery__thumb:hover {
  opacity: 1;
}

.product-gallery__thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--color-accent-blue);
}

.product-gallery__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
  display: block;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.product-specs li:last-child {
  border-bottom: none;
}

.product-specs .label {
  color: var(--color-text-muted);
}

.product-specs .value {
  font-weight: 700;
}

.product-detail-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.enquiry-success {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-success);
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

/* ---------- 18. Admin ---------- */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.admin-nav {
  display: none;
  gap: var(--space-4);
}

.admin-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.admin-nav a.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent-blue-strong);
}

@media (min-width: 800px) {
  .admin-nav {
    display: flex;
  }
}

.admin-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-4);
  padding-bottom: 96px;
}

@media (min-width: 800px) {
  .admin-content {
    padding-bottom: var(--space-6);
  }
}

.admin-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

@media (min-width: 800px) {
  .admin-bottom-nav {
    display: none;
  }
}

.admin-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0;
}

.admin-bottom-nav a.is-active {
  color: var(--color-accent-blue-strong);
}

.admin-bottom-nav__icon {
  font-size: 20px;
}

.admin-stat-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--space-6);
}

@media (min-width: 700px) {
  .admin-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.admin-stat-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.admin-stat-card__value {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.admin-stat-card__label {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
}

.admin-row__main {
  min-width: 0;
}

.admin-row__title {
  font-weight: 700;
}

.admin-row__meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: 2px;
}

.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
}

.status-new { background: rgba(59, 130, 246, 0.15); color: var(--color-accent-blue-strong); }
.status-confirmed { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.status-in_progress { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-ready { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.status-collected { background: rgba(100, 116, 139, 0.15); color: var(--color-text-muted); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--color-danger); }

.admin-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.admin-photo-item {
  position: relative;
  width: 90px;
}

.admin-photo-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.admin-photo-item__actions {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}

.admin-photo-item__actions button {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-size: 11px;
  padding: 2px 6px;
  cursor: pointer;
}

.admin-login {
  max-width: 380px;
  margin: 10vh auto 0;
  padding: var(--space-6) var(--space-4);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
}

/* ---------- 19. Invoices ---------- */
.invoice-item-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

@media (min-width: 640px) {
  .invoice-item-row {
    grid-template-columns: 1fr 90px 120px;
  }
}

.invoice-item-row input {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  width: 100%;
}

.invoice-summary {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.invoice-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: var(--text-sm);
}

.invoice-summary__row.total {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  font-weight: 800;
  font-size: var(--text-lg);
}
