/* QRI Tech Park. Material Design 3 on plain CSS. Mobile first, light and dark. */
:root {
  --cyan: #01aeed;
  --blue-deep: #08436a;
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-2: #eef3f9;
  --ink: #12202f;
  --ink-2: #4a5b6c;
  --line: #d9e2ec;
  --outline: #73828f;
  --accent: #0b6eab;
  --accent-ink: #fff;
  --primary-container: #d2e8f8;
  --on-primary-container: #04304d;
  --err: #b3261e;
  --err-container: #fbe7e5;
  --on-err-container: #5c1410;
  --ok: #0f7a4d;
  --ok-container: #d6f2e4;
  --glass: rgba(255, 255, 255, .8);
  --e1: 0 1px 2px rgba(10, 25, 40, .3), 0 1px 3px 1px rgba(10, 25, 40, .12);
  --e2: 0 1px 2px rgba(10, 25, 40, .3), 0 2px 6px 2px rgba(10, 25, 40, .12);
  --e3: 0 4px 8px 3px rgba(10, 25, 40, .12), 0 1px 3px rgba(10, 25, 40, .3);
  --radius: 16px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --font: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b141d;
  --surface: #121f2c;
  --surface-2: #172737;
  --ink: #e6eff7;
  --ink-2: #a2b5c5;
  --line: #263a4d;
  --outline: #7f93a4;
  --accent: #52c8f7;
  --accent-ink: #04202f;
  --primary-container: #0d4468;
  --on-primary-container: #cfe9fa;
  --err: #ffb4ab;
  --err-container: #4a1d1a;
  --on-err-container: #ffdad6;
  --ok: #6ee0a8;
  --ok-container: #0f4a31;
  --glass: rgba(11, 20, 29, .8);
  --e1: 0 1px 2px rgba(0, 0, 0, .5), 0 1px 3px 1px rgba(0, 0, 0, .3);
  --e2: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 6px 2px rgba(0, 0, 0, .3);
  --e3: 0 4px 8px 3px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--font); overflow-x: hidden; transition: background-color .2s, color .2s; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.18; margin: 0 0 .6em; color: var(--ink); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; z-index: 100; background: var(--surface); padding: 10px 16px; }
.skip:focus { left: 16px; top: 8px; }
.eyebrow { display: inline-block; padding: 5px 14px; margin-bottom: 18px; border-radius: 8px; background: var(--primary-container); color: var(--on-primary-container); font: 500 .8rem/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Buttons: filled, tonal, outlined, text. State layers and ripple follow Material. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border: 1px solid transparent; border-radius: 99px; font: 500 .95rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: box-shadow .2s, transform .15s; }
.btn::after { content: ''; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .15s; pointer-events: none; }
.btn:hover::after { opacity: .08; }
.btn:active::after, .btn:focus-visible::after { opacity: .12; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: var(--e1); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-ghost { border-color: var(--outline); color: var(--accent); background: transparent; }
.btn-text { padding-inline: 14px; color: var(--accent); background: transparent; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: ' \2192'; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.spinner { display: none; position: absolute; width: 22px; height: 22px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .btn-label { visibility: hidden; }
.btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Top app bar */
.topbar { background: var(--blue-deep); color: #d6eaf6; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 6px 0; }
.topbar-text { margin: 0; font-weight: 500; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { display: flex; gap: 22px; margin-left: auto; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { flex: none; width: 15px; height: 15px; }
@media (max-width: 760px) {
  .topbar-text { display: none; }
  .topbar-links { justify-content: space-between; width: 100%; gap: 12px; margin-left: 0; }
}
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--e2); }
/* The blur sits on a layer behind the header. Putting it on the header itself would trap the fixed mobile menu inside it. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.logo { display: inline-flex; margin-right: auto; border-radius: 10px; }
.logo img { width: 118px; height: 50px; object-fit: contain; }
:root[data-theme="dark"] .logo { background: #fff; padding: 2px 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s; }
.icon-btn:hover { background: var(--primary-container); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); padding: 76px 16px 28px; overflow-y: auto; background: var(--surface); border-radius: 28px 0 0 28px; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: 60; box-shadow: var(--e3); }
.nav.open { transform: none; visibility: visible; }
.nav-close { position: absolute; top: 14px; right: 16px; }
.nav-scrim { position: fixed; inset: 0; background: rgba(5, 20, 30, .55); z-index: 55; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 8px 16px; border: 0; border-radius: 99px; background: none; color: var(--ink); font: 500 1rem var(--font); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-trigger:hover { background: var(--primary-container); }
.nav-link[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { display: none; padding: 4px 0 12px 16px; }
.nav-trigger[aria-expanded="true"] + .mega { display: block; }
.mega h3 { font: 700 .9rem var(--font); margin: 12px 0 4px; }
.mega h3 a { color: var(--ink); text-decoration: none; }
.mega li a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.mega a:hover { color: var(--accent); }
.nav-cta { margin-top: 18px; width: 100%; }
.header-cta { display: none; }

/* Banner */
.banner { position: relative; overflow: hidden; color: #fff; background: #06223a; }
.banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(1, 174, 237, .5), transparent 60%), radial-gradient(50% 70% at 5% 100%, rgba(11, 110, 171, .7), transparent 60%); pointer-events: none; }
.banner::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; padding: clamp(44px, 8vw, 96px) 0 clamp(96px, 12vw, 130px); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.active { opacity: 1; visibility: visible; }
.slide h1, .slide .slide-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); max-width: 17ch; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .6em; }
.slide .lead { color: #d3e8f5; }
.slide .eyebrow { background: rgba(255, 255, 255, .14); color: #cdeefc; }
.slide .btn-primary { background: #fff; color: var(--blue-deep); }
.slide .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.slide-art { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.slide-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; border: 6px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); background: #fff; }
.chip { position: absolute; padding: 8px 14px; border-radius: 8px; background: var(--surface); color: var(--ink); font: 500 .82rem/1 var(--font); box-shadow: var(--e2); }
.chip::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #1fc77e; }
.chip-a { left: -4px; bottom: 22px; }
.chip-b { right: -4px; top: 20px; }
.banner-ui { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.banner-ui .wrap { display: flex; align-items: center; gap: 12px; padding: 0 0 clamp(30px, 5vw, 44px); }
.dots { display: flex; gap: 8px; }
/* The visible bar is 6px; the button around it stays a comfortable 44px to tap. */
.dot { position: relative; width: 36px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::before { content: ''; position: absolute; inset: 19px 0; border-radius: 99px; background: rgba(255, 255, 255, .3); }
.dot[aria-current="true"]::before { background: #fff; }
.banner-btn { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1rem; }
.banner-btn:hover { background: rgba(255, 255, 255, .15); }
.banner-ui .spacer { flex: 1; }

/* Trust strip, bento, steps */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin: 0; padding: 20px 0; font-weight: 500; font-size: .94rem; color: var(--ink-2); }
.strip li::before { content: '\2713'; margin-right: 8px; color: var(--accent); font-weight: 700; }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; color: inherit; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.tile-no { font: 500 .85rem var(--font); color: var(--accent); margin-bottom: 14px; }
.tile h3 { font-size: 1.3rem; font-weight: 700; }
.tile p { color: var(--ink-2); margin-bottom: 18px; }
.tile .link-arrow { margin-top: auto; color: var(--accent); }
.tile-feature { background: linear-gradient(145deg, #0b6eab, #08436a); border-color: transparent; color: #fff; }
.tile-feature h3, .tile-feature .tile-no, .tile-feature .link-arrow { color: #fff; }
.tile-feature p { color: #d3e8f5; }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 1rem var(--font); }
.steps h3 { margin-bottom: .3em; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* Payment gateways */
.gw-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.gw-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.gw-card h3 { margin: 0; font-weight: 700; }
.gw-card p { flex: 1; margin: 0 0 14px; color: var(--ink-2); font-size: .94rem; }
.gw-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 16px; background: var(--primary-container); color: var(--on-primary-container); font: 700 1.3rem var(--font); }
.gw-card .btn { width: 100%; min-height: 60px; padding-inline: 14px; text-align: center; }
.gw-foot { margin: 24px 0 0; }

/* Page header */
.page-head { position: relative; overflow: hidden; padding: clamp(34px, 5vw, 64px) 0; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.page-head::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 174, 237, .22), transparent 68%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); margin-bottom: .4em; max-width: 24ch; }
.page-head .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--ink-2); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; height: 100%; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.card h3 { margin-bottom: .45em; font-weight: 700; }
.card p { color: var(--ink-2); margin-bottom: 14px; }
.card-more { margin-top: auto; color: var(--accent); font-weight: 500; }
.card-more::after { content: ' \2192'; }
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); transition: transform .4s; }
.card-media:hover img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.card-title { font-size: 1.2rem; }
.tag { align-self: flex-start; padding: 4px 12px; margin-bottom: 10px; border-radius: 8px; background: var(--primary-container); color: var(--on-primary-container); font-size: .78rem; font-weight: 500; }

/* Content */
.split { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 72ch; min-width: 0; overflow-wrap: anywhere; font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose iframe, .prose video, .prose embed { display: block; max-width: 100%; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); }
.feature-img { width: 100%; border-radius: var(--radius); margin-bottom: 26px; background: #fff; }
.aside-box { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-box h2 { font-size: 1.25rem; }
.aside-stack { display: grid; gap: 18px; align-content: start; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.link-list li:last-child a { border-bottom: 0; }
.help-box { background: linear-gradient(145deg, #0b6eab, #08436a); border-color: transparent; color: #fff; }
.help-box h2 { color: #fff; }
.help-box p { color: #d3e8f5; }
.help-box .btn-primary { background: #fff; color: var(--blue-deep); }
.enquire-bar { margin-top: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 20px 24px; background: var(--primary-container); color: var(--on-primary-container); border-radius: 20px; }
.enquire-bar p { margin: 0; flex: 1 1 260px; }
.enquire-bar strong { display: block; font-size: 1.1rem; }
.enquire-bar span { opacity: .85; font-size: .94rem; }

/* Pricing */
.segmented { display: inline-flex; margin-bottom: 28px; border: 1px solid var(--outline); border-radius: 99px; overflow: hidden; background: var(--surface); }
.segmented button { min-height: 44px; padding: 0 22px; border: 0; background: transparent; color: var(--ink); font: 500 .94rem var(--font); cursor: pointer; }
.segmented button + button { border-left: 1px solid var(--outline); }
.segmented button[aria-selected="true"] { background: var(--primary-container); color: var(--on-primary-container); }
.segmented button[aria-selected="true"]::before { content: '\2713'; margin-right: 8px; }
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; transition: box-shadow .2s; }
.plan:hover { box-shadow: var(--e2); }
.plan h3 { font: 500 .8rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.plan-price { font: 700 2.4rem/1.1 var(--font); letter-spacing: -.02em; margin-bottom: 8px; }
.plan-meta { align-self: flex-start; margin-bottom: 18px; padding: 3px 12px; border-radius: 8px; background: var(--primary-container); color: var(--on-primary-container); font-size: .82rem; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: .94rem; color: var(--ink-2); }
.plan li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: '\2713'; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }
.plan details { margin-bottom: 18px; font-size: .94rem; }
.plan summary { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--accent); font-weight: 500; min-height: 44px; }
.plan summary::before { content: '\25B8'; }
.plan details[open] summary::before { content: '\25BE'; }
.plan details ul { margin: 8px 0 0; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare th, .compare td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.compare thead th { background: var(--surface-2); vertical-align: bottom; }
.compare thead .btn { margin-top: 12px; min-height: 40px; padding: 6px 20px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: var(--surface-2); }
.p-name { display: block; font: 500 .8rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.p-price { display: block; font: 700 1.6rem/1.2 var(--font); }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--ink-2); opacity: .55; }

/* Forms: outlined text fields with floating labels */
.form-card { padding: clamp(20px, 3.5vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--e1); }
.form-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
.field { position: relative; display: flex; flex-direction: column; min-width: 0; padding-top: 8px; }
.field input, .field textarea { width: 100%; min-height: 56px; padding: 16px; border: 1px solid var(--outline); border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: 400 1rem var(--font); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 124px; resize: vertical; }
.field label { position: absolute; left: 12px; top: 24px; padding: 0 4px; border-radius: 4px; background: var(--surface); color: var(--ink-2); font-size: 1rem; line-height: 1.2; pointer-events: none; transition: top .15s, font-size .15s, color .15s; }
.field input:focus + label, .field textarea:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: .78rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field input:focus + label, .field textarea:focus + label { color: var(--accent); }
.field.valid input, .field.valid textarea { border-color: var(--ok); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.field.invalid label { color: var(--err); }
.field .opt { opacity: .75; }
.field-msg { min-height: 1.4em; margin: 4px 16px 4px; color: var(--ink-2); font-size: .8rem; line-height: 1.4; }
.field.invalid .field-msg { color: var(--err); font-weight: 500; }
.field.invalid .field-msg::before { content: '!'; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 6px; border-radius: 50%; background: var(--err); color: var(--surface); font: 700 .7rem/1 sans-serif; vertical-align: 1px; }
.field-file label { position: static; padding: 0 0 6px; background: none; font-size: .9rem; font-weight: 500; color: var(--ink); }
.field-file input { padding: 12px; }
.hp { position: absolute; left: -9999px; }
.field-select { margin-bottom: 16px; }
.field-select label { display: block; margin-bottom: 6px; font-weight: 500; }
.field-select select { width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--outline); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 1rem var(--font); }
.form-note { margin: 12px 0 0; color: var(--ink-2); font-size: .84rem; }
.form-summary { display: none; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; background: var(--err-container); color: var(--on-err-container); font-size: .94rem; }
.form-summary.show { display: block; }
.form-summary strong { display: block; }
.form-summary ul { margin: 6px 0 0; padding-left: 18px; }
.form-summary a { color: inherit; font-weight: 700; }
.form-success { text-align: center; padding: 18px 8px 8px; }
.form-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; background: var(--ok-container); color: var(--ok); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.success-icon svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success-title { font-size: 1.6rem; font-weight: 700; margin-bottom: .3em; }
.success-ref { padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: .94rem; }
.form-success .btn-row { justify-content: center; }
.form-success [data-close] { display: none; }
.drawer .form-success [data-close] { display: inline-flex; }

/* Enquiry side sheet and floating button */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px 0 18px; border: 0; border-radius: 16px; background: var(--primary-container); color: var(--on-primary-container); font: 500 .98rem var(--font); text-decoration: none; cursor: pointer; box-shadow: var(--e3); transform: translateY(90px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; }
.fab.show { transform: none; opacity: 1; visibility: visible; }
.fab svg { width: 22px; height: 22px; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 440px); max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; border-radius: 28px 0 0 28px; background: var(--surface); color: var(--ink); box-shadow: var(--e3); overflow-y: auto; }
.drawer::backdrop { background: rgba(5, 20, 30, .55); }
.drawer[open] { animation: drawer-in .28s ease; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.drawer-inner { padding: 24px 24px 30px; }
.drawer-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.drawer-head h2 { font-size: 1.45rem; margin-bottom: .2em; }
.drawer-head p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.drawer-head .icon-btn { margin-left: auto; flex: none; }
.drawer .form-card { padding: 0; border: 0; box-shadow: none; background: none; }
.drawer .btn-row { margin-top: 12px; }
.drawer [type="submit"] { width: 100%; }
.plan-chip { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 4px 4px 4px 16px; border-radius: 99px; background: var(--primary-container); color: var(--on-primary-container); font-size: .92rem; }
.plan-chip span { flex: 1; }
.plan-chip .icon-btn { width: 36px; height: 36px; }
.plan-chip .icon-btn svg { width: 18px; height: 18px; }
.plan-chip[hidden] { display: none; }

/* CTA + footer */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #08436a, #0b6eab 60%, #01aeed); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 60px); }
.cta::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #dff2fb; max-width: 56ch; }
.cta .btn-primary { background: #fff; color: var(--blue-deep); }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-section { padding-bottom: 0; }
.site-footer { margin-top: clamp(48px, 7vw, 80px); padding: 56px 0 22px; background: #07192a; color: #b3c7d6; font-size: .95rem; }
.site-footer h2 { color: #fff; font: 500 .8rem var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #d6e6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
@media (max-width: 1023px) {
  .site-footer li { padding: 0; }
  .site-footer li a, .site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
}
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.foot-logo { display: inline-block; background: #fff; padding: 4px 10px; border-radius: 10px; margin-bottom: 12px; }
.foot-logo img { width: 112px; height: 47px; object-fit: contain; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; margin-top: 36px; padding-top: 18px; border-top: 1px solid #1b3a50; font-size: .86rem; }
.notfound { text-align: center; padding: clamp(60px, 10vw, 110px) 0; }
.notfound .code { font: 700 clamp(4.5rem, 16vw, 8rem)/1 var(--font); color: var(--accent); margin: 0; }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }
.form-wrap { max-width: 820px; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s, transform .55s; }
.js .reveal.seen { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .field-wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4, .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento .tile { grid-column: span 2; }
  .bento .tile-wide { grid-column: span 3; }
  .slide { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .split { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
  .split .aside-stack { position: sticky; top: 96px; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}
@media (min-width: 1080px) {
  .menu-btn, .nav-close, .nav-scrim, .nav-cta { display: none; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 8px 24px; }
  .logo { margin-right: 18px; }
  .nav { position: static; width: auto; padding: 0; margin-right: auto; overflow: visible; background: none; border-radius: 0; transform: none; visibility: visible; box-shadow: none; }
  .nav > ul { display: flex; gap: 2px; }
  .nav > ul > li { position: relative; }
  .nav-link, .nav-trigger { width: auto; min-height: 44px; padding: 8px 16px; font-size: .95rem; gap: 6px; }
  .mega { position: absolute; left: 0; top: 100%; padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--e3); min-width: 260px; }
  .mega-wide { display: none; grid-template-columns: repeat(3, 215px); gap: 8px 24px; }
  .nav-trigger[aria-expanded="true"] + .mega-wide { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .topbar, .site-footer, .cta, .fab, .drawer, .enquire-bar { display: none; }
}

/* Services marquee */
.marquee-section { overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.m-chip { flex: none; margin-right: 14px; padding: 14px 26px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.m-chip:hover, .m-chip:focus-visible { background: var(--primary-container); border-color: var(--accent); color: var(--on-primary-container); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .marquee-track .m-chip { margin-right: 0; }
  .m-chip[aria-hidden="true"] { display: none; }
}

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-item summary { position: relative; padding: 18px 56px 18px 22px; font-weight: 500; cursor: pointer; list-style: none; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] { box-shadow: var(--e1); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

/* About page */
.about-intro { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.fact-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--e1); }
.fact-card h2 { font-size: 1.25rem; margin-bottom: 16px; }
.fact-card dl { margin: 0; }
.fact-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.fact-card dt { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fact-card dd { margin: 2px 0 0; font-weight: 500; }
.pillar .tile-no { font-size: 1rem; }
.pillar p { margin: 0; font-size: 1.04rem; }
@media (min-width: 960px) { .about-intro { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 56px; } }

/* Extra text at the end of a blog article */
.seo-more { margin-top: 2em; padding: 22px 26px; border-radius: 20px; background: var(--primary-container); color: var(--on-primary-container); }
.seo-more h2 { margin-top: 0; font-size: 1.3rem; color: inherit; }
.seo-more p:last-child { margin-bottom: 0; }
.seo-more a { color: inherit; font-weight: 500; }

/* Blog */
.post-meta { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
.post-gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.post-tags .tag { margin: 0; }
.preview-note { margin: 0; padding: 10px 16px; text-align: center; font-weight: 500; background: var(--primary-container); color: var(--ink); }
