/* ===================================================================
   Semsons Tech — design system
   -------------------------------------------------------------------
   Brand colours are unchanged:  magenta #e2208c · ink #080808
   The former yellow accent (#ffe600) is replaced by brand blue.
   Display type: Lugrasimo.  UI/heading type: Syne.  Body: DM Sans.

   This file loads AFTER home.css and deliberately overrides parts of it
   (header positioning, hero sizing, section titles) — the legacy sheet
   was written for a single transparent-header landing page.
   =================================================================== */

/* ==================================================================
   1. TOKENS
   ================================================================== */
:root {
    /* Brand */
    --brand:          #e2208c;
    --brand-600:      #c9187a;
    --brand-700:      #a81264;
    --brand-tint:     #fdf2f8;
    --brand-tint-2:   #fce7f3;

    /* Blue accent — replaces the old yellow */
    --accent:         #1d4ed8;
    --accent-600:     #1e40af;
    --accent-bright:  #4f8cff;   /* for dark surfaces */
    --accent-tint:    #eff4ff;

    /* Neutrals */
    --ink:            #080808;
    --ink-900:        #14161c;
    --ink-800:        #1e222b;
    --ink-70:         #454a55;
    --ink-50:         #6b7280;
    --ink-40:         #8b909c;
    --surface:        #ffffff;
    --surface-2:      #f8f9fb;
    --surface-3:      #f1f3f7;
    --line:           #e6e8ee;
    --line-strong:    #d3d7e0;

    /* Type */
    --font-display:   "Lugrasimo", "Syne", cursive;
    --font-heading:   "Syne", sans-serif;
    --font-body:      "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Elevation */
    --sh-xs: 0 1px 2px rgba(8,8,8,.05);
    --sh-sm: 0 2px 8px rgba(8,8,8,.06);
    --sh-md: 0 10px 30px -8px rgba(8,8,8,.12);
    --sh-lg: 0 24px 60px -18px rgba(8,8,8,.22);
    --sh-brand: 0 12px 32px -10px rgba(226,32,140,.45);

    /* Layout */
    --header-h: 76px;
    --gutter: clamp(16px, 4vw, 32px);
}

@media (max-width: 991.98px) {
    :root { --header-h: 64px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink-70);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Scroll anchoring below the sticky header */
:target,
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--ink); color: #fff; padding: 12px 22px;
    font-family: var(--font-body); font-weight: 600;
    border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, summary, details)::-moz-focus-inner { border: 0; }
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

::selection { background: var(--brand); color: #fff; }

/* ==================================================================
   3. TYPOGRAPHY
   ================================================================== */

/* Lugrasimo ships a single 400 weight — never synthesise bold on it,
   and give it room: it has tall ascenders and deep descenders. */
.font-display,
.h-display,
.hero-title,
.section-title,
.prose h2,
.faq-item summary,
.cta-band h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.34;
    text-wrap: balance;
}

.h-display {
    font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.15rem);
    color: var(--ink);
    margin: 0 0 20px;
}
.section-ink .h-display,
.cta-band h2 { color: #fff; }

.h-sub {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
    line-height: 1.38;
    color: var(--ink);
    margin: 0 0 14px;
}
.section-ink .h-sub { color: #fff; }

/* Functional headings stay in Syne so model numbers and spec labels
   remain unambiguous. */
.s-card-title,
.footer-col-title,
.spec-table th,
.step-card h3,
.mobile-nav-heading {
    font-family: var(--font-heading);
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
    font-weight: 700; font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 16px;
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px;
    background: currentColor; border-radius: 2px;
}
.section-ink .eyebrow { color: var(--accent-bright); }

.lede {
    font-size: clamp(1rem, .96rem + .22vw, 1.12rem);
    line-height: 1.75;
    color: var(--ink-50);
    max-width: 66ch;
    margin: 0 0 8px;
}
.section-ink .lede { color: rgba(255,255,255,.72); }

/* Long-form article body */
.prose { font-size: 1.03rem; line-height: 1.8; color: var(--ink-70); max-width: 72ch; }
.prose > p { margin: 0 0 1.25em; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); color: var(--ink); margin: 2.2em 0 .7em; }
.prose h3 {
    font-family: var(--font-heading); font-weight: 700;
    font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem);
    color: var(--ink); margin: 1.9em 0 .55em; line-height: 1.35;
}
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brand-700); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
    margin: 1.8em 0; padding: 22px 26px;
    background: linear-gradient(135deg, var(--brand-tint), var(--accent-tint));
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--ink); font-size: 1.06rem; line-height: 1.7;
}
.prose .spec-table-wrap { margin: 1.8em 0; }
.prose .source-note { margin: 1.8em 0; }

/* ==================================================================
   4. LAYOUT
   ================================================================== */
.section        { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight  { padding: clamp(34px, 5vw, 64px) 0; }
.section-2      { background: var(--surface-2); }
.section-alt    { background: var(--surface-2); }
.section-ink {
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-900) 55%, #101826 100%);
    color: #fff;
    position: relative;
}
.section-ink::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(60% 80% at 88% 0%, rgba(29,78,216,.20), transparent 62%),
      radial-gradient(50% 70% at 0% 100%, rgba(226,32,140,.16), transparent 60%);
}
.section-ink > * { position: relative; z-index: 1; }

.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Breadcrumbs */
.breadcrumbs { padding: 20px 0 0; font-size: .82rem; color: var(--ink-40); }
.breadcrumbs ol {
    list-style: none; display: flex; flex-wrap: wrap;
    align-items: center; gap: 8px; margin: 0; padding: 0;
}
.breadcrumbs a { color: var(--ink-40); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ==================================================================
   5. HEADER  — sticky and solid.
   Overrides the legacy absolutely-positioned transparent header, which
   was the cause of the hero overlapping the navigation.
   ================================================================== */
header.header,
#sticky-header {
    position: sticky !important;
    top: 0; left: auto; right: auto;
    width: 100%;
    z-index: 200;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0 !important;
    transition: box-shadow .25s ease, background .25s ease;
}
/* .is-sticky is applied on scroll by the legacy main.js; .is-stuck is
   accepted too so this works if that script is ever removed. */
header.header.is-sticky,
header.header.is-stuck { box-shadow: var(--sh-sm); background: rgba(255,255,255,.95); }

.header-inner {
    min-height: var(--header-h);
    padding: 0 var(--gutter) !important;
    gap: 16px;
}
.header-brand { flex: 0 0 auto; }
.header-brand img {
    height: clamp(28px, 4.4vw, 38px);
    width: auto;
}

/* Primary nav */
.primary-nav > ul { gap: clamp(14px, 1.6vw, 28px) !important; }
.primary-nav .nav-link-top {
    position: relative;
    font-family: var(--font-body);
    font-weight: 600; font-size: .93rem;
    color: var(--ink-70); text-decoration: none;
    padding: 26px 0; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 5px;
    transition: color .2s ease;
}
.primary-nav .nav-link-top::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 20px;
    height: 2px; background: var(--brand); border-radius: 2px;
    transition: right .28s cubic-bezier(.4,0,.2,1);
}
.primary-nav .nav-link-top:hover,
.primary-nav .nav-link-top.is-active { color: var(--ink); }
.primary-nav .nav-link-top:hover::after,
.primary-nav .nav-link-top.is-active::after { right: 0; }
.primary-nav .nav-link-top svg { transition: transform .25s ease; opacity: .55; }
.nav-has-children:hover .nav-link-top svg { transform: rotate(180deg); }

.nav-has-children { position: relative; }
.nav-dropdown {
    position: absolute; top: 100%; left: -18px;
    min-width: 310px; padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 210;
}
.nav-has-children:hover > .nav-dropdown,
.nav-has-children:focus-within > .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
    display: block; padding: 11px 14px; border-radius: var(--r-sm);
    font-size: .89rem; font-weight: 500; color: var(--ink-70);
    text-decoration: none; transition: background .18s ease, color .18s ease;
}
.nav-dropdown a:hover { background: var(--brand-tint); color: var(--brand-700); }
.nav-dropdown-divider { height: 1px; background: var(--line); margin: 8px 12px; }

/* Header actions */
.header-actions { flex: 0 0 auto; gap: 10px; }

.btn-enquire {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--brand); color: #fff !important; text-decoration: none;
    font-family: var(--font-body); font-weight: 700; font-size: .88rem;
    padding: 12px 22px; border-radius: 999px; line-height: 1;
    white-space: nowrap; border: 0;
    box-shadow: 0 6px 18px -8px rgba(226,32,140,.6);
    transition: background .2s ease, transform .18s ease, box-shadow .2s ease;
}
.btn-enquire:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: var(--sh-brand); }

/* Legacy "Let's Talk" pill — restyled, not removed */
.header .contact-link {
    margin-right: 0 !important;
    padding: 11px 18px !important;
    font-size: .88rem !important;
    font-weight: 700;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink) !important;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.header .contact-link:hover {
    background: var(--ink); border-color: var(--ink); color: #fff !important;
}

.nav-toggle {
    width: 44px; height: 44px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); border: 0; border-radius: var(--r-sm);
    padding: 0 !important; cursor: pointer;
}
.nav-toggle:hover { background: var(--ink-800); }

/* Mobile nav */
.mobile-nav {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    box-shadow: var(--sh-md);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
    display: block; padding: 13px 2px;
    font-weight: 500; font-size: .96rem; color: var(--ink-70);
    text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav a:active, .mobile-nav a:hover { color: var(--brand); }
.mobile-nav-heading {
    font-weight: 700; font-size: .7rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ink-40);
    padding: 16px 2px 6px;
}
.mobile-nav-sep { height: 8px; }
.mobile-nav-cta {
    background: var(--brand); color: #fff !important;
    text-align: center; border-radius: 999px;
    font-weight: 700; border-bottom: 0 !important;
    margin-top: 14px; padding: 15px !important;
}

/* ==================================================================
   6. HERO  — the section that was sitting under the header
   ================================================================== */
.hero-section {
    position: relative;
    padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px);
    background:
      radial-gradient(70% 90% at 92% 8%, rgba(29,78,216,.09), transparent 60%),
      radial-gradient(60% 80% at 4% 96%, rgba(226,32,140,.09), transparent 62%),
      linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
    overflow: hidden;
}

/* Override the legacy 80px / 64px-line-height rule, which clipped
   Lugrasimo's ascenders and broke on small screens. */
.hero-title,
h1.hero-title {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-size: clamp(2.05rem, 1.05rem + 4.4vw, 4.15rem) !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    color: var(--ink);
    margin: 0 0 22px;
    text-wrap: balance;
}
.hero-title .accent-word { color: var(--brand); }

/* -------------------------------------------------------------
   Brand circle flourish.
   The legacy rule paints a SOLID 120px magenta disc at top:0 left:0 —
   sized for 80px Syne Bold. Against Lugrasimo's very different metrics
   it lands as a stray dot over the first letter. Re-centred on the word
   and softened to a halo, in em units so it tracks the type scale.
   ------------------------------------------------------------- */
.hero-title .circle-shape,
.footer .section-title .footer-shape { position: relative; z-index: 1; }

.hero-title .circle-shape::before,
.footer .section-title .footer-shape::before {
    top: 50% !important;
    left: 50% !important;
    width: 1.6em !important;
    height: 1.6em !important;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(226,32,140,.28) 0%,
        rgba(226,32,140,.12) 52%,
        rgba(226,32,140,0) 72%) !important;
    border-radius: 50%;
    z-index: -1;
}
.footer .section-title .footer-shape::before {
    background: radial-gradient(circle,
        rgba(79,140,255,.42) 0%,
        rgba(79,140,255,.16) 52%,
        rgba(79,140,255,0) 72%) !important;
}

.hero-visual {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: linear-gradient(150deg, #fff, var(--surface-3));
    border: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: clamp(14px, 2.5vw, 28px);
}
.hero-visual img { width: 100%; border-radius: var(--r-lg); }

.hero-badge {
    position: absolute; left: 16px; bottom: 16px;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px; padding: 9px 16px;
    font-size: .78rem; font-weight: 700; color: var(--ink);
    box-shadow: var(--sh-sm);
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-badge::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px rgba(29,78,216,.18);
}

/* ==================================================================
   7. BUTTONS
   ================================================================== */
.btn-accent, .btn-ghost, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    padding: 15px 30px; border-radius: 999px;
    text-decoration: none; line-height: 1; white-space: nowrap;
    transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-accent {
    background: var(--accent); color: #fff !important; border: 0;
    box-shadow: 0 8px 24px -10px rgba(29,78,216,.75);
}
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }

.btn-ghost {
    background: transparent; color: #fff !important;
    border: 1.5px solid rgba(255,255,255,.34);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); }

.btn-outline {
    background: transparent; color: var(--ink) !important;
    border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff !important; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: .89rem;
    color: var(--brand); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { color: var(--brand-700); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==================================================================
   8. CARDS & GRIDS
   ================================================================== */
.card-grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.s-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(20px, 2.4vw, 30px);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
/* Fill the grid cell only when used as a card-grid item — a lone .s-card
   dropped into a flex row (e.g. a sidebar or a standalone callout) would
   otherwise inherit a stretched, near-viewport-height cross size from the
   Bootstrap row's align-items:stretch default. */
.card-grid > .s-card { height: 100%; }
.s-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    opacity: 0; transition: opacity .25s ease;
}
.s-card:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); transform: translateY(-4px); }
.s-card:hover::before { opacity: 1; }

.section-ink .s-card {
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.12);
}
.section-ink .s-card:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.24); }
.section-ink .s-card-title { color: #fff; }
.section-ink .s-card-text { color: rgba(255,255,255,.68); }

.s-card-title {
    font-weight: 700; font-size: 1.1rem; line-height: 1.35;
    color: var(--ink); margin: 0 0 10px;
}
.s-card-title a { color: inherit; text-decoration: none; }
.s-card-title a:hover { color: var(--brand); }
.s-card-text { font-size: .93rem; line-height: 1.68; color: var(--ink-50); margin: 0 0 16px; }
.s-card-meta {
    font-family: var(--font-body); font-weight: 700; font-size: .68rem;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--brand); margin: 0 0 10px;
}
.section-ink .s-card-meta { color: var(--accent-bright); }
.s-card-foot { margin-top: auto; padding-top: 12px; }

/* Chips */
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.spec-chip {
    font-size: .78rem; font-weight: 600;
    background: var(--accent-tint); color: var(--accent-600);
    border: 1px solid rgba(29,78,216,.16);
    padding: 7px 13px; border-radius: 999px;
}
.section-ink .spec-chip {
    background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.16);
}

/* Stat band */
.stat-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(50%, 150px), 1fr));
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden;
}
.stat-cell { background: var(--surface); padding: clamp(18px, 2.6vw, 30px) 16px; text-align: center; }
.stat-value {
    font-family: var(--font-heading); font-weight: 800;
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
    line-height: 1; margin: 0 0 8px;
    background: linear-gradient(120deg, var(--brand), var(--accent));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--brand);
}
.stat-label { font-size: .8rem; line-height: 1.45; color: var(--ink-40); margin: 0; }
.section-ink .stat-band { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.section-ink .stat-cell { background: rgba(255,255,255,.03); }
.section-ink .stat-label { color: rgba(255,255,255,.6); }

/* ==================================================================
   9. TABLES
   ================================================================== */
.spec-table-wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
/* Fade hint that the table scrolls sideways on narrow screens */
.spec-table-wrap::after {
    content: ""; position: sticky; right: 0; top: 0; float: right;
    width: 28px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.92));
    pointer-events: none;
}
.spec-table {
    width: 100%; min-width: 520px;
    border-collapse: collapse;
    font-size: .91rem;
}
.spec-table caption {
    caption-side: top; text-align: left;
    padding: 20px 22px 4px;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.02rem; color: var(--ink);
}
.spec-table th, .spec-table td {
    padding: 13px 20px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.spec-table thead th {
    background: var(--surface-3);
    font-weight: 700; font-size: .74rem;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--ink); white-space: nowrap;
    position: sticky; top: 0; z-index: 2;
}
.spec-table tbody th { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.spec-table td { color: var(--ink-50); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--accent-tint); }
.compare-table td.is-best {
    background: var(--brand-tint); color: var(--brand-700); font-weight: 700;
}

.source-note {
    font-size: .86rem; line-height: 1.68; color: var(--ink-50);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0;
    margin-top: 18px;
}
.source-note strong { color: var(--ink); }

/* ==================================================================
   10. FAQ
   ================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
    padding: 22px 2px; cursor: pointer; list-style: none;
    font-size: clamp(1rem, .96rem + .3vw, 1.14rem);
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; flex: 0 0 auto;
    width: 22px; height: 22px; margin-top: 4px;
    background:
      linear-gradient(var(--brand), var(--brand)) center/100% 2px no-repeat,
      linear-gradient(var(--brand), var(--brand)) center/2px 100% no-repeat;
    transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-answer {
    padding: 0 2px 26px;
    font-size: .97rem; line-height: 1.78; color: var(--ink-50);
    max-width: 76ch;
}

/* ==================================================================
   11. PROCESS STEPS
   ================================================================== */
.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(22px, 2.6vw, 32px);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card-grid > .step-card { height: 100%; }
.step-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.step-card.is-highlight {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(226,32,140,.07), var(--sh-sm);
}
.step-num {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: .92rem;
    background: var(--ink); color: #fff; margin-bottom: 18px;
}
.step-card.is-highlight .step-num {
    background: linear-gradient(135deg, var(--brand), var(--accent));
}
.step-items { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; }
.step-items li {
    font-size: .76rem; color: var(--ink-50);
    background: var(--surface-3); border-radius: 999px; padding: 6px 12px;
}
.section-ink .step-items li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }

/* ==================================================================
   12. FORMS
   ================================================================== */
.enquiry-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(22px, 3vw, 40px);
    box-shadow: var(--sh-md);
}
.form-row {
    display: grid; gap: 16px; margin-bottom: 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--brand); }
.field .hint { font-size: .78rem; color: var(--ink-40); margin: 7px 0 0; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font-body); font-size: 1rem; /* 16px stops iOS zoom */
    color: var(--ink); background: var(--surface);
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    padding: 13px 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
    -webkit-appearance: none; appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(226,32,140,.12);
}
.field [aria-invalid="true"] { border-color: #d92d20 !important; box-shadow: 0 0 0 4px rgba(217,45,32,.1) !important; }
.field-error { font-size: .8rem; color: #d92d20; margin: 7px 0 0; }

.consent-row { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; }
.consent-row input {
    width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto;
    accent-color: var(--brand);
}
.consent-row label { font-size: .86rem; font-weight: 400; color: var(--ink-50); line-height: 1.6; }
.consent-row a { color: var(--brand); font-weight: 600; }

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

.btn-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--brand); color: #fff; border: 0;
    font-family: var(--font-body); font-weight: 700; font-size: 1rem;
    padding: 16px 36px; border-radius: 999px; cursor: pointer;
    box-shadow: 0 8px 24px -10px rgba(226,32,140,.7);
    transition: background .2s ease, transform .18s ease;
}
.btn-submit:hover:not(:disabled) { background: var(--brand-600); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-alert { border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; font-size: .92rem; line-height: 1.6; }
.form-alert-error   { background: #fef3f2; border: 1px solid #fecdc9; color: #912018; }
.form-alert-success { background: #ecfdf3; border: 1px solid #abefc6; color: #085d3a; }

/* ==================================================================
   13. CTA BAND
   ================================================================== */
.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(28px, 4.5vw, 58px);
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--ink) 0%, #141a26 55%, #0f1b33 100%);
    color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(50% 120% at 100% 0%, rgba(29,78,216,.28), transparent 60%),
      radial-gradient(45% 110% at 0% 100%, rgba(226,32,140,.22), transparent 62%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,.74); margin: 0; max-width: 54ch; line-height: 1.7; }

/* ==================================================================
   14. FOOTER
   ================================================================== */
.footer {
    background: linear-gradient(180deg, var(--ink) 0%, #0c1016 100%) !important;
    padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3vw, 48px) !important;
}
.footer .section-title,
.footer h2.section-title {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem) !important;
    line-height: 1.32 !important;
    letter-spacing: 0 !important;
}
.footer-grid { gap: clamp(18px, 2.4vw, 28px) !important; }
.service-contact-card-footer {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    padding: clamp(20px, 2.4vw, 28px);
    gap: 20px;
}
.service-contact-card-footer h3 { font-family: var(--font-heading); font-size: 1.02rem; line-height: 1.45; margin: 0; }

/* Blue replaces the old yellow highlight */
.footer .text-warning,
.footer-accent {
    color: var(--accent-bright) !important;
    text-decoration: none;
    word-break: break-word;
}
.footer-accent:hover { color: #fff !important; }

.footer-links { border-top: 1px solid rgba(255,255,255,.1); }
.footer-col-title {
    font-weight: 700; font-size: .72rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--accent-bright); margin: 0 0 16px;
}
.footer-link-list li { margin-bottom: 11px; }
.footer-link-list a {
    font-size: .89rem; color: rgba(255,255,255,.66);
    text-decoration: none; transition: color .18s ease;
}
.footer-link-list a:hover { color: #fff; }
.footer-address { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.5); font-style: normal; margin-top: 18px; }
.footer-address strong { color: rgba(255,255,255,.82); }
.footer-social-link { font-size: .9rem; text-decoration: none; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); }
.copyright p { font-size: .88rem !important; margin: 0; }
#scrollUp { text-decoration: none; font-size: .88rem; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 150;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px -8px rgba(37,211,102,.65);
    transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ==================================================================
   15. UTILITIES
   ================================================================== */
.text-brand  { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.bg-brand-tint { background: var(--brand-tint); }
.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;
}

/* ==================================================================
   16. RESPONSIVE
   ================================================================== */

/* Tablet and below */
@media (max-width: 991.98px) {
    .header-inner { min-height: var(--header-h); }
    .hero-section { padding-top: 32px; text-align: left; }
    .hero-visual { margin-top: 32px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .cta-band .cta-actions { width: 100%; }
    .sidebar-sticky { position: static !important; }
}

/* Phone */
@media (max-width: 767.98px) {
    .section { padding: 44px 0; }
    .section-tight { padding: 30px 0; }

    .lede { font-size: 1rem; }
    .prose { font-size: 1rem; }

    .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }

    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions > * { width: 100%; }

    .btn-accent, .btn-ghost, .btn-outline, .btn-submit { padding: 15px 24px; width: 100%; }
    .btn-enquire { width: auto; }

    .enquiry-shell { padding: 20px; border-radius: var(--r-lg); }
    .form-row { grid-template-columns: 1fr; gap: 14px; }

    .faq-item summary { padding: 18px 2px; gap: 14px; }
    .spec-table th, .spec-table td { padding: 12px 16px; }

    .footer-links [class*="col-"] { margin-bottom: 26px; }
    .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }

    .breadcrumbs { font-size: .78rem; }
}

/* Small phone — keep the stat band two-up; one column made it very tall */
@media (max-width: 359.98px) {
    .stat-band { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .header .contact-link { display: none !important; }
}

/* Large desktop */
@media (min-width: 1400px) {
    .container { max-width: 1280px; }
}

/* ==================================================================
   17. MOTION & PRINT
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media print {
    .header, .wa-float, .mobile-nav, .cta-band, .enquiry-shell { display: none !important; }
    .section, .section-tight { padding: 12px 0; }
    body { color: #000; }
}
