/*
Theme Name: Qorvex Tech
Theme URI: https://www.qorvextech.com
Author: Qorvex Tech
Author URI: https://www.qorvextech.com
Description: Custom theme for Qorvex Tech — Technology Beyond Expectations. Light brand-blue design with services, products, industries, portfolio and careers post types, a one-click content importer, and a built-in enquiry form.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qorvex
Tags: business, portfolio, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   Qorvex Tech — site.css
   Dark, high-contrast theme. Violet → cyan gradient system.
   Type: Space Grotesk (display) · Inter (body)
   ========================================================================== */

:root {
  --bg: #050b1c;
  --bg-2: #081228;
  --panel: #0b1631;
  --surface: #101d3d;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);

  --text: #eaf2ff;
  --muted: #93a6cb;
  --muted-2: #6d80a8;

  --violet: #0670d4;          /* brand mid blue */
  --cyan: #4fb0ff;            /* brand light blue */
  --grad: linear-gradient(115deg, #043b93 0%, #0670d4 50%, #0093fb 100%);
  --grad-soft: linear-gradient(115deg, rgba(6, 112, 212, .20), rgba(0, 147, 251, .12));

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gut: 24px;
  --pad-y: clamp(76px, 9vw, 132px);
  --r: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mark: url("img/logo-mark.png");
  --mark-light: url("img/logo-mark-light.png");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 780px;
  background:
    radial-gradient(52% 60% at 18% 20%, rgba(6, 112, 212, .30), transparent 68%),
    radial-gradient(46% 55% at 82% 12%, rgba(0, 147, 251, .20), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; margin: 0; letter-spacing: -0.035em; line-height: 1.03; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(6, 112, 212, .45); color: #fff; }

/* ---------- primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 1; }

.mono { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.h1 { font-size: clamp(2.85rem, 6.4vw, 5.1rem); line-height: .98; }
.h2 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; }
.h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }

.lede { font-size: clamp(1.08rem, 1.4vw, 1.28rem); color: var(--muted); line-height: 1.62; }
.muted { color: var(--muted); }
.max-60 { max-width: 60ch; }
.max-52 { max-width: 52ch; }

/* section label pill — replaces the old numbered rules */
.rule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  margin-bottom: 26px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rule::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(6, 112, 212, .9);
  flex: none;
}
.rule .idx { display: none; }

section { padding-block: var(--pad-y); position: relative; }
.tight { padding-block: clamp(56px, 6.5vw, 92px); }

.on-ink {
  background: linear-gradient(180deg, rgba(6, 112, 212, .07), rgba(0, 147, 251, .04)), var(--panel);
  border-block: 1px solid var(--line);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(6, 112, 212, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(6, 112, 212, .85); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.tlink { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--cyan); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.tlink:hover { border-color: var(--cyan); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 11, 28, .74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); background: rgba(5, 11, 28, .94); }
.nav { display: flex; align-items: center; gap: 30px; height: 92px; }

.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 50px; width: auto; }
.site-foot .brand-logo { height: 56px; }
.foot-tagline { color: var(--cyan); font-size: .88rem; font-weight: 500; letter-spacing: .02em; margin-top: 14px; }
@media (max-width: 640px) { .brand-logo { height: 36px; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-toggle-btn {
  font-size: .97rem; font-weight: 500; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .18s var(--ease);
}
.nav-links a:hover, .nav-toggle-btn:hover { color: var(--text); }
.nav-links a.current, .nav-links .nav-toggle-btn.current { color: var(--text); }
.caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }

.drop {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-8px);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 12px; min-width: 250px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transition: all .2s var(--ease);
}
.drop.wide { min-width: 500px; columns: 2; column-gap: 6px; left: 0; transform: translateX(0) translateY(-8px); }
.nav-links li:hover .drop, .nav-links li:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-links li:hover .drop.wide, .nav-links li:focus-within .drop.wide { transform: translateX(0) translateY(0); }
.drop a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .93rem; break-inside: avoid; color: var(--muted); }
.drop a:hover { background: var(--grad-soft); color: var(--text); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: rotate(45deg) translateY(0); }
.nav-open .burger span::after { transform: rotate(-45deg) translateY(-2px); }

.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(52px, 7vw, 104px) clamp(52px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-mark {
  position: absolute; left: -14%; top: 46%; transform: translateY(-50%);
  width: min(760px, 78vw); aspect-ratio: 240 / 226;
  background: var(--mark) center/contain no-repeat;
  opacity: .10; pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(38px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-bottom: 36px; max-width: 48ch; }

.schematic {
  background: linear-gradient(160deg, rgba(6, 112, 212, .14), rgba(0, 147, 251, .06)), var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 24px; padding: 30px 24px; position: relative; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(6, 112, 212, .6);
}
.schematic::before {
  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: 38px 38px;
}
.schematic > * { position: relative; }
.schematic-tag {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--muted-2); margin-bottom: 16px; font-size: .72rem;
}
.schematic-tag span:last-child { text-align: right; }
.schematic-tag b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

.sch-node { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .16); }
.sch-core { fill: rgba(6, 112, 212, .14); stroke: #0670d4; stroke-width: 1.5; }
.sch-txt { font-family: var(--ff-body); font-size: 12.5px; font-weight: 500; fill: #cfe0ff; }
.sch-txt.dim { fill: #4fb0ff; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; }
.sch-txt.core { fill: #fff; font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.sch-wire { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.25; }
.sch-pulse { fill: none; stroke: #0670d4; stroke-width: 2; stroke-dasharray: 12 220; animation: flow 3s linear infinite; }
.sch-pulse.out { stroke: #4fb0ff; }
@keyframes flow { from { stroke-dashoffset: 232; } to { stroke-dashoffset: 0; } }

.sch-mobile { display: none; }
.sch-col { display: grid; gap: 9px; }
.sch-chip { border: 1px solid var(--line-2); background: rgba(255,255,255,.05); border-radius: 10px; padding: 11px 14px; font-size: .82rem; font-weight: 500; color: #cfe0ff; text-align: center; }
.sch-chip.core { border-color: var(--violet); background: rgba(6, 112, 212, .18); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 1rem; padding: 16px; }
.sch-arrow { height: 30px; display: grid; place-items: center; }
.sch-arrow i { display: block; width: 2px; height: 100%; background: rgba(255,255,255,.14); position: relative; overflow: hidden; border-radius: 2px; }
.sch-arrow i::after { content: ""; position: absolute; left: 0; width: 2px; height: 12px; background: var(--violet); animation: drop 2.2s linear infinite; }
@keyframes drop { from { top: -14px; } to { top: 34px; } }

/* ---------- section headers ---------- */
.sec-head { margin-bottom: clamp(34px, 4.5vw, 54px); }
.sec-head .h2 { margin-bottom: 16px; }
.sec-top { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; justify-content: space-between; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  background: var(--grad-soft); opacity: 0; transition: opacity .22s var(--ease); pointer-events: none;
}
a.card:hover { border-color: rgba(6, 112, 212, .6); transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(6, 112, 212, .8); }
a.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card .ico {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 6px;
  border-radius: 13px; color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px -10px rgba(6, 112, 212, .9);
}
.card p { color: var(--muted); font-size: .98rem; line-height: 1.62; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px; }
.card .more { font-size: .86rem; font-weight: 600; color: var(--cyan); margin-top: auto; padding-top: 16px; }

/* steps — order is meaningful here */
.steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 22px; padding: 26px 28px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.step:hover { border-color: rgba(0, 147, 251, .45); transform: translateX(4px); }
.step .n {
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--muted); font-size: .98rem; }

/* value rows */
.rows { display: grid; gap: 4px; }
.row-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-item:last-child { border-bottom: 0; }
.row-item .k {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  color: var(--cyan); font-size: .82rem; font-weight: 700;
}
.row-item p { color: var(--muted); font-size: .97rem; margin-top: 5px; }
b.h4 { display: block; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 18px;
  font-size: .92rem; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, .04);
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 147, 251, .08); }

/* work cards */
.work .sector { color: var(--cyan); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* page hero (inner pages) */
.phero { padding-block: clamp(52px, 6.5vw, 92px) clamp(34px, 4vw, 56px); position: relative; overflow: hidden; }
.phero::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: min(420px, 42vw); aspect-ratio: 240 / 226;
  background: var(--mark) center/contain no-repeat;
  opacity: .09; pointer-events: none;
}
.phero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(255,255,255,.04); margin-bottom: 24px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.phero .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(124,92,255,.9); }
.phero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 22px; }
.crumbs { color: var(--muted-2); margin-bottom: 22px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a:hover { color: var(--cyan); }

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.sticky { position: sticky; top: 112px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(6, 112, 212, .22), rgba(0, 147, 251, .12)), var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 26px; padding: clamp(38px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(6, 112, 212, .45), transparent 66%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-mark {
  position: absolute; right: -40px; bottom: -70px;
  width: clamp(200px, 26vw, 330px); aspect-ratio: 240 / 226;
  background: var(--mark-light) center/contain no-repeat;
  opacity: .16; pointer-events: none; z-index: 0;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 52ch; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2); border-radius: 12px; font-size: 1rem; color: var(--text);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: rgba(6, 112, 212, .08); outline: none; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .86rem; color: var(--muted-2); }
.form-ok { display: none; border: 1px solid var(--cyan); background: rgba(0, 147, 251, .1); color: var(--cyan); padding: 16px 18px; border-radius: 12px; font-size: .95rem; }
.form-ok.show { display: block; }

/* accordion */
.acc { display: grid; gap: 12px; }
.acc details {
  border: 1px solid var(--line); border-radius: var(--r); padding: 4px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  transition: border-color .2s var(--ease);
}
.acc details[open] { border-color: rgba(6, 112, 212, .5); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; align-items: center; gap: 16px; font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; color: var(--cyan); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding-bottom: 22px; color: var(--muted); font-size: .98rem; max-width: 74ch; }

/* checklist */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; color: var(--muted); font-size: .99rem; align-items: start; }
.checks li::before {
  content: "✓"; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; margin-top: 3px;
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700;
}
.checks li b { color: var(--text); }

/* pricing */
.plan {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 18px;
}
.plan.feature { border-color: rgba(6, 112, 212, .6); background: linear-gradient(180deg, rgba(6, 112, 212, .18), rgba(0, 147, 251, .06)); box-shadow: 0 30px 60px -30px rgba(6, 112, 212, .9); }
.plan .price { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.plan .price small { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }

/* posts */
.post { display: flex; flex-direction: column; gap: 12px; }
.post .meta { display: flex; gap: 14px; color: var(--muted-2); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post h3 { font-size: 1.2rem; }

/* jobs */
.jobs { display: grid; gap: 12px; }
.job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.job:hover { border-color: rgba(0, 147, 251, .45); transform: translateX(4px); }
.job .meta { color: var(--muted); font-size: .84rem; font-weight: 500; letter-spacing: .04em; margin-top: 6px; }

/* footer */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(56px, 6vw, 88px) 30px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.site-foot h4 { font-family: var(--ff-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.site-foot li { margin-bottom: 11px; }
.site-foot a { font-size: .96rem; color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.foot-about { color: var(--muted); font-size: .96rem; max-width: 36ch; margin-top: 18px; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .82rem; }
.foot-bar a { color: var(--muted-2); font-size: .82rem; }

/* whatsapp float */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #05230f;
  display: grid; place-items: center; box-shadow: 0 14px 34px rgba(37, 211, 102, .45);
  transition: transform .2s var(--ease);
}
.wa:hover { transform: translateY(-3px) scale(1.05); }
.wa svg { width: 28px; height: 28px; }

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .sch-desktop { display: none; }
  .sch-mobile { display: block; }
  .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
  .step p { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .hero-grid, .split, .split.rev { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .sticky { position: static; }

  .mobile-nav {
    display: block; position: fixed; inset: 92px 0 0; background: var(--bg);
    padding: 26px var(--gut) 48px; overflow-y: auto; z-index: 50;
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .22s var(--ease);
  }
  .nav-open .mobile-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .mobile-nav h4 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 26px 0 12px; }
  .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; color: var(--muted); }
  .mobile-nav a:hover { color: var(--text); }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: 28px; color: #fff; }
}

@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; align-items: start; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
  .card { padding: 26px 22px; }
  .nav { height: 72px; }
  .mobile-nav { inset: 72px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   WordPress integration
   ========================================================================== */

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; padding: 0;
  position: absolute !important; white-space: nowrap;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto;
  background: var(--surface); color: var(--cyan); padding: 12px 20px;
  left: 12px; top: 12px; z-index: 200; border-radius: 8px;
}
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }

/* menus generated by wp_nav_menu() */
.nav-links .sub-menu {
  position: absolute; top: calc(100% + 18px); left: 0;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 12px; min-width: 250px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  list-style: none; margin: 0; z-index: 20;
}
.nav-links > li:hover > .sub-menu,
.nav-links > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .sub-menu li { margin: 0; }
.nav-links .sub-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .93rem; break-inside: avoid; color: var(--muted); }
.nav-links .sub-menu a:hover { background: var(--grad-soft); color: var(--text); }
.nav-links .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px);
}
.nav-links .menu-item-has-children.mega > .sub-menu { min-width: 500px; columns: 2; column-gap: 6px; }
.nav-links .current-menu-item > a, .nav-links .current_page_parent > a { color: var(--text); }

.mobile-nav .menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav .sub-menu { list-style: none; margin: 0 0 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.mobile-nav .sub-menu a { font-size: .94rem; }

/* editor / post content */
.entry-content { max-width: 74ch; }
.entry-content > * + * { margin-top: 22px; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 48px; }
.entry-content h3 { font-size: 1.35rem; margin-top: 34px; }
.entry-content p, .entry-content li { color: var(--muted); }
.entry-content strong { color: var(--text); font-weight: 600; }
.entry-content a { color: var(--cyan); border-bottom: 1px solid rgba(79, 176, 255, .35); }
.entry-content a:hover { border-bottom-color: var(--cyan); }
.entry-content ul, .entry-content ol { padding-left: 24px; display: grid; gap: 9px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 3px solid var(--cyan); padding: 6px 0 6px 22px; margin-left: 0;
  font-family: var(--ff-display); font-size: 1.15rem; color: var(--text);
}
.entry-content img, .entry-content figure { border-radius: var(--r); }
.entry-content figcaption, .wp-caption-text { font-size: .84rem; color: var(--muted-2); margin-top: 8px; }
.entry-content pre {
  background: var(--panel); color: #cfe0ff; padding: 20px; border-radius: var(--r);
  overflow-x: auto; font-size: .88rem; border: 1px solid var(--line);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.alignwide, .alignfull { width: 100%; }
.alignleft { float: left; margin: 6px 26px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 26px; }
.aligncenter { margin-inline: auto; }

.post-thumb { border-radius: var(--r); margin-bottom: 24px; width: 100%; height: auto; object-fit: cover; }
.card .post-thumb { margin: -30px -26px 6px; border-radius: var(--r) var(--r) 0 0; aspect-ratio: 16 / 9; }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 100px; font-size: .92rem; color: var(--muted);
}
.pagination .page-numbers:hover { border-color: var(--cyan); color: var(--cyan); }
.pagination .current { background: var(--grad); border-color: transparent; color: #fff; }

/* comments */
.comment-list { display: grid; gap: 22px; margin-top: 26px; }
.comment-body { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: rgba(255,255,255,.03); }
.comment-meta { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.comment-respond { margin-top: 44px; }
.comment-form { display: grid; gap: 16px; max-width: 640px; }
.comment-form input:not([type=submit]), .comment-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255,255,255,.04); color: var(--text);
}
.comment-form input[type=submit] {
  justify-self: start; background: var(--grad); color: #fff; border: 0;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; font-weight: 600;
}

/* enquiry form notices */
.form-msg { border-radius: 12px; padding: 16px 18px; font-size: .95rem; margin-bottom: 4px; }
.form-msg.ok { border: 1px solid var(--cyan); background: rgba(0, 147, 251, .12); color: var(--cyan); }
.form-msg.err { border: 1px solid #ff6b6b; background: rgba(255, 107, 107, .12); color: #ff9d9d; }
/* ==========================================================================
   LIGHT VARIANT — overrides the dark palette above
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f4f8fd;
  --panel: #f1f6fd;
  --surface: #ffffff;
  --line: rgba(8, 22, 55, .11);
  --line-2: rgba(8, 22, 55, .17);
  --text: #0a1733;
  --muted: #4f6180;
  --muted-2: #7b8ca9;
  --cyan: #0b63c9;
}

body { background: var(--bg); color: var(--text); }
body::before {
  background:
    radial-gradient(52% 60% at 18% 20%, rgba(6, 112, 212, .13), transparent 68%),
    radial-gradient(46% 55% at 82% 12%, rgba(0, 147, 251, .10), transparent 70%);
}
::selection { background: rgba(6, 112, 212, .22); color: #0a1733; }

.site-head { background: rgba(255, 255, 255, .80); }
.site-head.is-stuck { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); }
.drop, .burger, .mobile-nav { background: #fff; }
.mobile-nav a { color: var(--muted); }

.on-ink {
  background: linear-gradient(180deg, rgba(6, 112, 212, .05), rgba(0, 147, 251, .03)), var(--panel);
  border-block: 1px solid var(--line);
}

.rule, .phero .eyebrow, .chip, .btn-ghost { background: #fff; }
.btn-ghost { color: var(--text); }

.card, .step, .job, .plan, .acc details {
  background: #fff;
  box-shadow: 0 2px 12px rgba(8, 22, 55, .055);
}
a.card:hover { box-shadow: 0 26px 48px -24px rgba(6, 112, 212, .45); }
.plan.feature {
  background: linear-gradient(180deg, rgba(6, 112, 212, .10), rgba(0, 147, 251, .04)), #fff;
  box-shadow: 0 26px 50px -28px rgba(6, 112, 212, .6);
}
.row-item .k { background: rgba(6, 112, 212, .10); border-color: rgba(6, 112, 212, .22); color: var(--cyan); }

.field input, .field select, .field textarea { background: #fff; }
.field select option { background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { background: rgba(6, 112, 212, .05); }
.form-ok { background: rgba(6, 112, 212, .08); }

.hero-mark { opacity: .07; }
.phero::after { opacity: .07; }

/* the diagram and the closing band stay dark — they carry the brand */
.schematic {
  background: linear-gradient(160deg, rgba(6, 112, 212, .30), rgba(0, 147, 251, .10)), #0a1430;
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px -46px rgba(6, 112, 212, .75);
}
.schematic::before {
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
}
.schematic-tag { color: #92a5c9; }
.sch-chip { color: #dbe6ff; border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.sch-arrow i { background: rgba(255, 255, 255, .18); }

.cta-band {
  background: linear-gradient(120deg, rgba(6, 112, 212, .38), rgba(0, 147, 251, .16)), #0a1430;
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d9f7; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .28); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* footer stays light so the logo reads correctly */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.foot-about { color: var(--muted); }
.foot-bar { color: var(--muted-2); border-top-color: var(--line); }

/* WordPress pieces in the light palette */
.entry-content pre { background: #0b1631; color: #cfe0ff; border-color: transparent; }
.entry-content a { border-bottom-color: rgba(11, 99, 201, .3); }
.comment-body { background: #fff; box-shadow: 0 2px 12px rgba(8, 22, 55, .055); }
.comment-form input:not([type=submit]), .comment-form textarea { background: #fff; }
.nav-links .sub-menu { background: #fff; }
.pagination .page-numbers { background: #fff; }
.form-msg.ok { border-color: var(--cyan); background: rgba(11, 99, 201, .08); color: var(--cyan); }
.form-msg.err { border-color: #d94a4a; background: rgba(217, 74, 74, .08); color: #b02b2b; }
.skip-link:focus { background: #fff; }

/* product cards */
.card .sector { color: var(--cyan); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
