/* ==========================================================================
   OMAX IT — design system and shared layout
   Direction: "Option A — Engineered" (chosen 14 Sep 2026).
   Shared by every page. Page-only styles live in their own file
   (e.g. home.css), passed to the layout as $pageStyles.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, see /assets/fonts/README.txt) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand colours — from the logo */
  --ink: #0b1b33;          /* navy: headings, dark sections */
  --ink-2: #12294a;
  --ink-deep: #07142a;     /* utility bar */
  --blue: #0b4fd0;         /* primary action, links */
  --blue-dark: #0940ab;
  --blue-tint: #e8effc;
  --blue-on-dark: #8fb0ff; /* accents on navy (8:1) */

  /* Neutrals */
  --text: #44546a;         /* body text, 7.7:1 on white */
  --muted: #5d6d82;        /* secondary text, 5.3:1 on white */
  --on-dark: #c3cfe0;      /* body text on navy */
  --on-dark-muted: #aebbd0;
  --line: #dde5ee;
  --line-soft: #e8edf4;
  --mist: #f2f6fa;         /* pale section background */
  --white: #ffffff;
  --chip-text: #3a4a60;

  /* Status */
  --success: #146c43;
  --success-bg: #e7f5ee;
  --success-line: #b7e0c9;
  --success-text: #0f5132;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --danger-line: #f5c2bd;
  --danger-text: #8a1c13;
  --on-danger: var(--white);   /* text on a solid red badge or button */
  --danger-hover: #912018;
  --warning: #8a5008;
  --warning-bg: #fdf5e9;
  --warning-line: #f1d9b0;
  --warning-text: #7a4607;
  --info-bg: #e8effc;
  --info-line: #c8d8f7;
  --info-text: #0a3a96;
  --quoted-bg: #efe8fb;
  --quoted-text: #4b2b8f;
  --admin-bg: #f4f6f9;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --stretch-wide: 116%;    /* the logo's wide lettering, for headings */
  --fs-display: clamp(2.25rem, 1.35rem + 3.1vw, 3.625rem);   /* 36 → 58px */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.625rem);        /* 26 → 42px */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);     /* 19 → 23px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);      /* 17 → 19px */
  --fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);       /* 16 → 17px */
  --fs-small: 0.9375rem;                                     /* 15px */
  --fs-mono: 0.78125rem;                                     /* 12.5px */

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-y: clamp(64px, 4rem + 3vw, 112px);
  --gutter: clamp(18px, 4vw, 40px);
  --maxw: 1200px;

  /* Shape */
  --r-sm: 6px;    /* chips, tags */
  --r: 10px;      /* buttons, inputs */
  --r-md: 14px;   /* tiles */
  --r-lg: 16px;   /* cards */
  --r-xl: 20px;   /* feature panels */
  --shadow-panel: 0 30px 60px -20px rgba(7, 20, 42, 0.45);
  --shadow-soft: 0 8px 24px rgba(11, 27, 51, 0.08);

  /* --- Light / dark mode ---------------------------------------------
     Everything below is redefined in the dark block further down. Colours
     used by both modes (the blue action band, white-on-blue buttons) are
     deliberately NOT in here. */
  --surface: #f8fbff;               /* the page itself, a hint off-white */
  --surface-2: #ffffff;             /* cards, header, inputs, action bar */
  --heading: var(--ink);            /* headings and strong text */
  --line-strong: #c9d4e2;           /* input and outline-button borders */
  --line-strong-hover: #8b9bb0;
  --masthead-bg: rgba(255, 255, 255, 0.97);
  --masthead-blur-bg: rgba(255, 255, 255, 0.9);
  --map-bg: #dfe6ef;
  --map-grid: rgba(11, 27, 51, 0.05);
  --on-primary: var(--white);       /* text on a blue button */
  --cta-bg: #0b4fd0;                /* closing band: the same strong blue in both modes */
  --selected-bg: var(--ink);        /* the chosen filter or tab */
  --selected-text: var(--white);
  --selected-muted: #b9c6da;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --shadow-card: 0 1px 2px rgba(11, 27, 51, 0.04);

  /* The page backdrop: a soft wash behind the content, not a flat white. */
  /* Aurora backdrop: very large, very soft pools of colour on an almost
     white page. No grid, no pattern — the headline stays the focus. */
  --wash-1: rgba(219, 244, 255, 0.85);   /* pale cyan   */
  --wash-2: rgba(223, 250, 247, 0.75);   /* pale mint   */
  --wash-3: rgba(232, 238, 255, 0.90);   /* pale blue   */
  --wash-4: rgba(238, 231, 255, 0.70);   /* pale lilac  */
  --page-backdrop:
    radial-gradient(1250px 820px at 6% -14%, var(--wash-1), transparent 62%),
    radial-gradient(1050px 720px at 98% -8%, var(--wash-3), transparent 60%),
    radial-gradient(1000px 700px at 74% 104%, var(--wash-4), transparent 62%),
    radial-gradient(820px 560px at 12% 92%, var(--wash-2), transparent 64%);
  --page-backdrop-size: auto;

  --focus: var(--blue);
  --tap: 48px;    /* minimum height of anything you press */
}

/* ---------- 1b. Dark mode ----------
   Applied when <html> carries data-theme="dark". The one-line script in the
   page head sets that from the visitor's saved choice, or from their device
   setting the first time. Only the tokens change — no component is restyled,
   so a new component is dark automatically. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ink: #14203a;            /* dark bands: footer, feature panel */
  --ink-2: #1b2a46;
  --ink-deep: #080f1d;       /* utility bar */
  --blue: #6ea8ff;           /* links and accents, 7.6:1 on the page */
  --blue-dark: #9cc4ff;      /* hover goes lighter, not darker */
  --blue-tint: rgba(110, 168, 255, 0.15);
  --blue-on-dark: #a8c6ff;

  --surface: #070e1b;
  --surface-2: #0f1a2c;
  --heading: #eef3fb;
  --text: #bfcde2;           /* 11.5:1 on the page */
  --muted: #9dafc8;          /* 7.3:1 on the page */
  --line: #223049;
  --line-soft: #1a2640;
  --line-strong: #32425f;
  --line-strong-hover: #4a5c7c;
  --mist: #0c1526;           /* pale section becomes a slightly raised band */
  --chip-text: #c3d1e6;

  --masthead-bg: rgba(7, 14, 27, 0.96);
  --masthead-blur-bg: rgba(7, 14, 27, 0.78);
  --map-bg: #0d1828;
  --map-grid: rgba(142, 176, 226, 0.07);
  --on-primary: #06101f;     /* dark text on the light blue button */
  --selected-bg: var(--blue);
  --selected-text: #06101f;
  --selected-muted: #1e3150;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef3fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-panel: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);

  --success: #5fd39a;
  --success-bg: rgba(20, 108, 67, 0.25);
  --success-line: rgba(95, 211, 154, 0.45);
  --success-text: #8ee6bb;
  --danger: #ff9c92;
  --danger-bg: rgba(180, 35, 24, 0.25);
  --danger-line: rgba(255, 156, 146, 0.45);
  --danger-text: #ffb8b0;
  --on-danger: #3d0b06;
  --danger-hover: #ffbdb5;
  --warning: #f0c076;
  --warning-bg: rgba(138, 80, 8, 0.28);
  --warning-line: rgba(240, 192, 118, 0.45);
  --warning-text: #f3cd93;
  --info-bg: rgba(110, 168, 255, 0.16);
  --info-line: rgba(110, 168, 255, 0.45);
  --info-text: #aecdff;
  --quoted-bg: rgba(139, 92, 246, 0.2);
  --quoted-text: #cdb6fd;
  --admin-bg: #070e1b;

  --wash-1: rgba(96, 165, 250, 0.10);
  --wash-2: rgba(94, 234, 212, 0.06);
  --wash-3: rgba(124, 58, 237, 0.10);
  --wash-4: rgba(124, 58, 237, 0.10);
  --grid-line: rgba(142, 176, 226, 0.045);
  --page-backdrop:
    radial-gradient(1100px 620px at 10% -10%, var(--wash-1), transparent 62%),
    radial-gradient(860px 520px at 94% 2%, var(--wash-3), transparent 58%),
    radial-gradient(760px 500px at 64% 98%, var(--wash-2), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  --page-backdrop-size: auto, auto, auto, 64px 64px, 64px 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Phones: the same aurora, dialled back, so the page stays calm on a small
   screen. Dark mode is untouched — its block wins on specificity. */
@media (max-width: 767px) {
  :root {
    --wash-1: rgba(219, 244, 255, 0.55);
    --wash-2: rgba(223, 250, 247, 0.45);
    --wash-3: rgba(232, 238, 255, 0.60);
    --wash-4: rgba(238, 231, 255, 0.45);
    --page-backdrop:
      radial-gradient(760px 520px at 0% -8%, var(--wash-1), transparent 64%),
      radial-gradient(680px 460px at 100% 2%, var(--wash-3), transparent 62%),
      radial-gradient(620px 440px at 70% 102%, var(--wash-4), transparent 66%);
  }
}

/* The page backdrop: a soft wash of brand colour and a faint grid, fixed
   behind the content so scrolling stays smooth. Sections and cards paint
   their own solid colour on top, so text contrast is never affected. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--surface);
  background-image: var(--page-backdrop);
  background-size: var(--page-backdrop-size);
  background-repeat: no-repeat;
}

/* Anything marked hidden stays hidden, even when a class sets display. */
[hidden] { display: none !important; }

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}
p, ul, ol, dl, figure, address, blockquote { margin: 0; }
p { text-wrap: pretty; }
address { font-style: normal; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
#main:focus { outline: none; }

::selection { background: var(--blue-tint); color: var(--heading); }

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

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--r);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--mist {
  background-color: var(--mist);
  background-image: radial-gradient(900px 420px at 88% 0%, var(--wash-1), transparent 62%);
}
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--rule { border-top: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }

/* Dark backgrounds: headings go white, accents go light blue */
.on-dark, .section--ink, .utility-bar, .site-footer { --focus: var(--blue-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.on-dark a:not(.btn), .section--ink a:not(.btn) { color: var(--white); }

.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack--lg { gap: var(--space-5); }

.grid { display: grid; gap: var(--space-5); }
/* Grid columns may shrink below their longest word, so an unbroken product code or
   pasted web address wraps instead of widening the page on a phone. */
:where(.grid, .form, .form__row, .shop-layout, .reserve-layout, .product-layout, .service-layout, .contact-layout, .home-shop, .home-visit) > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- 4. Typography helpers ---------- */
.display {
  font-size: var(--fs-display);
  font-stretch: var(--stretch-wide);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.h2 { font-size: var(--fs-h2); font-stretch: var(--stretch-wide); letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); font-stretch: var(--stretch-wide); }
.lead { font-size: var(--fs-lead); }
.small { font-size: var(--fs-small); }
.muted { color: var(--muted); }

/* Small uppercase label above a heading, in the mono face */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}
.on-dark .eyebrow, .section--ink .eyebrow { color: var(--blue-on-dark); }

/* Section heading block: eyebrow + heading, optional intro beside it */
.section-head {
  display: grid;
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-7);
}
.section-head__title { display: flex; flex-direction: column; gap: var(--space-4); }
.section-head__intro { font-size: var(--fs-lead); max-width: 60ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-h3); font-stretch: var(--stretch-wide); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--blue); color: var(--on-primary); }
.btn--primary:hover { background: var(--blue-dark); color: var(--on-primary); }
.btn--outline { border-color: var(--line-strong); color: var(--heading); background: var(--surface-2); }
.btn--outline:hover { border-color: var(--heading); color: var(--heading); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn--white { background: #ffffff; color: #0b1b33; }
.btn--white:hover { background: #e8effc; color: #0b1b33; }
.btn--sm { min-height: var(--tap); padding: 0 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 520px) {
  .btn-row--stack-mobile { flex-direction: column; }
  .btn-row--stack-mobile .btn { width: 100%; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font-weight: 600;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- 6. Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--mist); color: var(--chip-text);
  padding: 7px 11px; border-radius: var(--r-sm); line-height: 1.3;
}

/* ---------- 7. Cards, tiles, rows ---------- */
.card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 36px);
}
.card__head { display: flex; align-items: center; gap: 14px; }
.card__title { font-size: var(--fs-h3); font-stretch: var(--stretch-wide); }
.card__foot { margin-top: auto; }

.icon-badge {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--blue-tint); color: var(--blue);
}
.icon-badge--neutral { background: var(--mist); color: var(--heading); }
.icon-badge--lg { width: 56px; height: 56px; border-radius: var(--r-md); }
.icon-badge--lg .icon { width: 28px; height: 28px; }

/* Whole-tile link, e.g. a shop category */
.tile {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--surface-2); color: var(--heading);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px;
  font-weight: 600;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tile:hover { color: var(--heading); text-decoration: none; border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.tile > .icon { width: 32px; height: 32px; color: var(--blue); }
.tile__label { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.tile__label .icon { width: 18px; height: 18px; color: var(--muted); }

/* List of link rows with icon, title, description and chevron */
.link-list { list-style: none; padding: 0; }
.link-row {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--heading);
}
.link-row:hover { color: var(--heading); text-decoration: none; background: var(--mist); }
.link-row > .icon:first-child { color: var(--blue); }
.link-row__text { flex-grow: 1; min-width: 0; }
.link-row__title { display: block; font-weight: 600; }
.link-row__desc { display: block; font-size: var(--fs-small); color: var(--muted); }
.link-row__chevron { width: 18px; height: 18px; color: var(--muted); }

/* Short fact / feature: label on top, sentence below */
.facts { display: grid; gap: var(--space-5) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact__text { font-size: var(--fs-small); }

/* Numbered steps */
.steps { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); padding: 0; list-style: none; counter-reset: step; }
.step { border-top: 2px solid var(--heading); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.875rem; color: var(--blue);
}
.step__title { font-size: 1.25rem; }
.step p { font-size: 1rem; }

/* Callout band, e.g. "walk-in repairs are at Tech Repair Zone" */
.callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5) var(--space-6);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px);
}
.callout__body { flex: 1 1 360px; display: flex; flex-direction: column; gap: 4px; }
.callout__title { font-size: 1.25rem; }

/* Dark feature panel with image */
.feature-panel {
  display: grid; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-xl);
}
.feature-panel__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.feature-panel__media { position: relative; min-height: 240px; background: var(--ink-2); }
.feature-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .feature-panel { grid-template-columns: 1fr 1fr; }
  .feature-panel__media { min-height: 380px; }
}

/* Ticked list, e.g. "What this covers" */
.checklist {
  display: grid; gap: 10px var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  list-style: none; padding: 0;
}
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--heading); }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); stroke-width: 2; }

/* Closing call to action band */
.cta-band { background: var(--cta-bg); padding-block: clamp(56px, 7vw, 80px); --focus: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-7); }
.cta-band__copy { max-width: 640px; }
.cta-band__text { color: #e6edfd; }   /* 5.0:1 on the blue band */
.cta-band .btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); }

/* Click-to-load map */
.map-embed {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--map-bg);
  background-image:
    linear-gradient(var(--map-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-embed__placeholder {
  /* In the flow (not pinned to the box) so it can grow when text is enlarged. */
  position: relative; min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); padding: var(--space-5); text-align: center;
}
.map-embed__pin { width: 44px; height: 44px; color: var(--blue); }
.map-embed__address { font-weight: 600; color: var(--heading); }
.map-embed .muted { color: var(--text); } /* 6:1 on the map's grey-blue */
.map-embed__link { display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: 8px; font-weight: 600; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.no-js [data-map-load] { display: none; }

/* ---------- 8. Forms ---------- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 600; color: var(--heading); }
.field__req { color: var(--danger); }
.field__optional { font-weight: 400; color: var(--muted); font-size: var(--fs-small); }
.field__hint { font-size: var(--fs-small); color: var(--muted); }
.field__error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-small); font-weight: 600; color: var(--danger); }
.field__error .icon { width: 18px; height: 18px; margin-top: 2px; }

.input, .select, .textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--surface-2);
  border: 1.5px solid var(--line-strong); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong-hover); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 79, 208, 0.22);
}
.field--invalid .input, .field--invalid .select, .field--invalid .textarea { border-color: var(--danger); }

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

.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fieldset > legend { padding: 0; margin-bottom: 12px; }
.fieldset--boxed { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--mist); }
.fieldset--boxed > legend { float: left; width: 100%; margin-bottom: 16px; }
.fieldset--boxed > legend + * { clear: both; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: var(--tap); padding: 0 18px 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r);
  cursor: pointer; color: var(--heading); font-weight: 500;
}
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.error-list { margin: 6px 0 0; padding-left: 1.2em; }
.error-list a { color: inherit; text-decoration: underline; }
.reference-code { font-family: var(--font-mono); font-stretch: normal; letter-spacing: 0.04em; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input {
  width: 22px; height: 22px; margin: 2px 0 0; flex: none;
  accent-color: var(--blue);
}

/* Spam trap: hidden from people, visible to form-filling robots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 9. Messages ---------- */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r);
  border: 1px solid transparent;
  font-size: var(--fs-small);
}
.alert .icon { margin-top: 1px; }
.alert__title { display: block; font-weight: 700; margin-bottom: 2px; }
.alert--success { background: var(--success-bg); border-color: var(--success-line); color: var(--success-text); }
.alert--error { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger-text); }
.alert--info { background: var(--info-bg); border-color: var(--info-line); color: var(--info-text); }
.alert--warning { background: var(--warning-bg); border-color: var(--warning-line); color: var(--warning-text); }

/* ---------- 10. Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { background: var(--mist); color: var(--heading); font-weight: 600; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* .table--stack: on phones each row becomes a card, every value under its column name (cells need data-label). */
@media (max-width: 599px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack tr + tr { border-top: 1px solid var(--line); }
  .table--stack td { border: 0; padding-block: 6px; }
  .table--stack tr td:first-child { padding-top: 16px; }
  .table--stack tr td:last-child { padding-bottom: 16px; }
  .table--stack td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- 11. Breadcrumbs and page head ---------- */
.crumbs { font-size: var(--fs-small); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs [aria-current="page"] { color: var(--heading); }

.page-head {
  background-color: var(--mist);
  background-image:
    radial-gradient(760px 340px at 6% -40%, var(--wash-1), transparent 64%),
    radial-gradient(620px 300px at 92% -30%, var(--wash-3), transparent 60%);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(40px, 5vw, 72px);
}
.page-head__inner { display: flex; flex-direction: column; gap: var(--space-4); max-width: 820px; }

/* ---------- 12. Utility bar ---------- */
.utility-bar { background: var(--ink-deep); color: #b9c6da; font-size: 0.875rem; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); min-height: 40px; }
.utility-bar__group { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.utility-bar a { color: #b9c6da; }
.utility-bar a:hover { color: var(--white); }
.utility-bar .utility-bar__strong { color: var(--white); font-weight: 600; }
@media (max-width: 899px) { .utility-bar { display: none; } }

/* ---------- 13. Masthead and navigation ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--masthead-bg);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(8px)) {
  .masthead { background: var(--masthead-blur-bg); backdrop-filter: saturate(1.4) blur(8px); }
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 84px; }
.brand { display: block; flex: none; padding-block: 6px; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--heading); font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--blue); text-decoration: none; }
.site-nav__list a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.site-nav__cta { min-height: 46px; padding: 0 22px; white-space: nowrap; }
.site-nav__mobile-only { display: none; }

.nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: var(--tap); min-width: var(--tap); padding: 0 12px;
  margin-right: -12px;
  background: none; border: 0; border-radius: var(--r);
  font: inherit; font-weight: 600; color: var(--heading); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1179px) {
  .masthead__inner { min-height: 68px; flex-wrap: wrap; row-gap: 0; }
  .brand { display: flex; align-items: center; min-height: 68px; padding-block: 0; }
  .brand img { height: 32px; }

  /* Without JavaScript the menu simply shows underneath the logo */
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-4); padding-bottom: var(--space-5); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-top: 1px solid var(--line-soft); }
  .site-nav__list a { width: 100%; min-height: 54px; font-size: 1.0625rem; border-bottom: 0; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
  .site-nav__cta { min-height: 52px; }
  .site-nav__mobile-only { display: block; }
  .site-nav__contact { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--fs-small); color: var(--muted); }
  .site-nav__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--heading); font-weight: 600; font-size: 1rem; }
  .site-nav__contact a .icon { color: var(--blue); }

  /* With JavaScript it becomes a toggled panel */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; }
  .js .site-nav.is-open { display: flex; }
  /* The open menu scrolls on its own; the page behind stays put and is dimmed. */
  .nav-open { overflow: hidden; }
  .nav-open .masthead { background: var(--surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 100vmax rgba(11, 27, 51, 0.45); }
}
@media (min-width: 1180px) and (max-width: 1320px) {
  .site-nav__list a { font-size: 0.9375rem; }
}

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-small); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }
.site-footer .eyebrow { color: var(--white); margin-bottom: 4px; }
.site-footer__grid {
  display: grid; gap: var(--space-6) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  padding-block: clamp(48px, 6vw, 72px) var(--space-6);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; grid-column: 1 / -1; max-width: 420px; }
.site-footer__brand img { height: 38px; width: auto; }
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { display: inline-block; padding-block: 2px; }
.site-footer__visit span { white-space: nowrap; }
/* Phones: footer links become full thumb-sized rows. */
@media (max-width: 767px) {
  .site-footer__col { gap: 0; }
  .site-footer__col .eyebrow, .site-footer__col address { margin-bottom: 6px; }
  .site-footer__visit { grid-column: 1 / -1; }
  .site-footer__col a, .site-footer__legal nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .site-footer__legal nav { flex-wrap: wrap; column-gap: var(--space-5); row-gap: 0; }
}
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--space-5) var(--space-6);
  font-size: 0.84375rem;
}
.site-footer__legal nav { display: flex; gap: var(--space-5); }

/* ---------- 15. Phone action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body.has-action-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11, 27, 51, 0.08);
    transition: transform .25s ease;
  }
  .action-bar.is-tucked { transform: translateY(110%); }
  .action-bar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 54px; border-radius: var(--r);
    border: 1px solid var(--line);
    color: var(--heading); font-size: 0.8125rem; font-weight: 600;
  }
  .action-bar__item:hover { text-decoration: none; color: var(--heading); background: var(--mist); }
  .action-bar__item .icon { width: 20px; height: 20px; }
  .action-bar__item--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
  .action-bar__item--primary:hover { background: var(--blue-dark); color: var(--white); }
  .nav-open .action-bar { display: none; }
}
/* Phones held sideways: a slimmer bar, so the page keeps most of the short screen. */
@media (max-width: 767px) and (max-height: 480px) {
  body.has-action-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .action-bar { padding: 6px max(14px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .action-bar__item { flex-direction: row; gap: 8px; min-height: 46px; }
}
@media (max-width: 1179px) and (max-height: 480px) {
  .masthead__inner, .brand { min-height: 56px; }
  .js .site-nav { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
}

/* ---------- 16. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 17. Print ---------- */
@media print {
  .utility-bar, .masthead, .site-footer, .action-bar, .skip-link { display: none !important; }
  body::before { display: none !important; }
  body { padding: 0 !important; color: #000; }
  a { color: #000; }
}

/* ---------- 18. Light / dark switch ---------- */
/* Both logos are in the page; CSS shows the one that suits the mode. */
.brand { display: flex; align-items: center; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }

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

.theme-toggle {
  display: inline-grid; place-items: center;
  width: var(--tap); height: var(--tap);
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--heading);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.theme-toggle:hover { background: var(--mist); border-color: var(--line-strong); color: var(--blue); }
.theme-toggle .icon { width: 20px; height: 20px; }
/* Sun in light mode, moon in dark: the icon shows the mode you are in. */
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }
.no-js .theme-toggle { display: none; }

@media (min-width: 1180px) {
  .brand { order: 1; }
  .site-nav { order: 2; margin-left: auto; }
  .masthead__side { order: 3; }
}
@media (max-width: 1179px) {
  /* The switch sits beside the Menu button on phones and tablets. */
  .masthead__side { min-height: 68px; }
}
@media (max-width: 1179px) and (max-height: 480px) {
  .masthead__side { min-height: 56px; }
}

/* ---------- 19. Floating WhatsApp button ----------
   Phones get WhatsApp in the action bar instead, so this starts at 768px.
   The green is WhatsApp's darker brand green: the white mark needs 3:1
   against it, and their bright green only reaches 2:1. */
.wa-float { display: none; }
@media (min-width: 768px) {
  .wa-float {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 45;
    display: inline-flex; align-items: center; gap: 0;
    height: 60px; padding: 0 18px;
    border-radius: 999px;
    background: #128c7e;
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(7, 20, 42, 0.55);
    text-decoration: none;
    transition: gap .2s ease, background-color .15s ease, box-shadow .2s ease;
  }
  .wa-float:hover, .wa-float:focus-visible {
    background: #0f7d70;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 38px -10px rgba(7, 20, 42, 0.65);
  }
  .wa-float__mark { width: 30px; height: 30px; flex: none; }
  /* The wording unrolls on hover, so the button is a quiet circle at rest. */
  .wa-float__label {
    max-width: 0; overflow: hidden; white-space: nowrap;
    font-weight: 600; opacity: 0;
    transition: max-width .25s ease, opacity .2s ease, margin-left .25s ease;
  }
  .wa-float:hover .wa-float__label,
  .wa-float:focus-visible .wa-float__label {
    max-width: 180px; opacity: 1; margin-left: 10px;
  }
  .wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
}
/* Solid icons (brand marks) fill instead of stroke. */
.icon--solid { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float__label { transition: none; }
}
@media print {
  .wa-float { display: none !important; }
}
