/* ============================================================
   SourceTX — Modern Design System
   Deep Navy + Electric Teal/Violet · Sora + Inter
   ============================================================ */

:root {
  --navy-950: #061220;
  --navy-900: #0A1B31;
  --navy-800: #10253F;
  --navy-700: #173255;
  --ink: #0F1F36;
  --teal: #14C8B5;
  --teal-600: #0FB7A5;
  --violet: #7B5CFF;
  --violet-600: #6A48F5;
  --grad: linear-gradient(120deg, #14C8B5, #7B5CFF);
  --grad-soft: linear-gradient(120deg, rgba(20, 200, 181, 0.12), rgba(123, 92, 255, 0.10));
  --sky: #E7F9F5;
  --soft: #F3F6FB;
  --line: #DCE4EE;
  --muted: #5B6E84;
  --white: #fff;
  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 22px rgba(10, 27, 49, 0.07);
  --shadow: 0 18px 50px rgba(10, 27, 49, 0.12);
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.025em; }
h1 { font-size: clamp(42px, 6.5vw, 72px); letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -0.035em; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: 8px;
}
.skip:focus { left: 10px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 23px;
  letter-spacing: -0.03em; color: #fff; line-height: 1;
}
.wordmark .tx {
  background: linear-gradient(120deg, #3AE2CF, #9C7BFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 10px; background: var(--grad);
  color: #fff; padding: 14px 26px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 8px 24px rgba(20, 200, 181, 0.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 200, 181, 0.38); filter: brightness(1.03); }
.btn-small { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-gradient { background: var(--grad); }
.btn-teal { background: linear-gradient(120deg, #12BFAE, #0EA896); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.65); box-shadow: none; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; filter: none; }
.btn-outline-dark { background: transparent; border: 1.5px solid #BFCDDD; color: var(--ink); box-shadow: none; }
.btn-outline-dark:hover { background: var(--soft); box-shadow: none; filter: none; }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }
.btn-white:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26); filter: none; }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
  font-weight: 800; color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.dark { color: var(--teal-600); }
.lead { font-size: 19px; color: var(--muted); }
.lead.light, .section-dark .lead, .service-hero .lead, .solution-hero .lead { color: #C8D7E6; }
.light { color: #D3E0EC; }
.light-link { color: #8FDDF4; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(8, 23, 41, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.site-header nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.site-header nav a:not(.btn) {
  padding: 10px 14px; border-radius: 9px; color: #C7D3E0;
  transition: color .2s, background .2s;
}
.site-header nav a:not(.btn):hover, .site-header nav a.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-header nav a.active { color: #fff; }
.site-header nav .btn { margin-left: 8px; }
.menu {
  display: none; border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; border-radius: 10px; padding: 12px; cursor: pointer;
}
.menu-bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }
.menu[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 720px; position: relative; display: flex; align-items: center;
  background: url("../pictures/hero-technology-professional.jpg") center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 19, 34, 0.96) 0%, rgba(9, 29, 52, 0.88) 46%, rgba(9, 29, 52, 0.55) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 18% 26%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(2px 2px at 62% 18%, rgba(255, 255, 255, 0.28) 50%, transparent 51%),
    radial-gradient(2px 2px at 84% 62%, rgba(255, 255, 255, 0.25) 50%, transparent 51%),
    radial-gradient(2px 2px at 38% 74%, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
    radial-gradient(2px 2px at 72% 84%, rgba(255, 255, 255, 0.2) 50%, transparent 51%);
  background-size: 300px 300px;
  opacity: 0.5;
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 181, 0.35), transparent 65%);
  top: -180px; right: -120px; pointer-events: none; filter: blur(10px);
}
.hero-glow.glow-violet { background: radial-gradient(circle, rgba(123, 92, 255, 0.30), transparent 65%); top: auto; right: 8%; bottom: -220px; }
.hero-content, .page-hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 20px; max-width: 660px; color: #DCE7F0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.trust-row span {
  padding: 8px 15px; border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px; font-weight: 600; font-size: 13px; color: #E6EEF5;
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(4px);
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; }
.hero-stats strong { font-family: var(--font-head); font-size: 30px; display: block; background: linear-gradient(120deg, #3AE2CF, #9C7BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13px; color: #BFCDDA; }

/* Page hero */
.page-hero {
  min-height: 430px; position: relative; display: flex; align-items: center;
  background-color: var(--navy-900); background-image: var(--hero, url("../pictures/hero-technology-professional.jpg"));
  background-position: center; background-size: cover; color: #fff; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 19, 34, 0.95) 0%, rgba(9, 29, 52, 0.86) 52%, rgba(9, 29, 52, 0.5) 100%); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 19px; max-width: 660px; color: #DCE7F0; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #C8D7E6; }
.section-tint { background: linear-gradient(180deg, #fff, var(--sky) 130%); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 640px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Stats band ---------- */
.stats { margin-top: -58px; position: relative; z-index: 5; }
.stat-grid {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line);
}
.stat-grid > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat-grid > div:last-child { border: 0; }
.stat-grid strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--navy-800); margin-bottom: 6px; }
.stat-grid strong em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-grid span { font-size: 14px; color: var(--muted); }

/* ---------- Split / photos ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.service-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-split.reverse > :first-child { order: 2; }
.service-split.reverse > :last-child { order: 1; }
.photo { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo.short { height: 400px; }
.photo-frame { position: relative; }
.photo-frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius); border: 2px solid transparent;
  background: var(--grad) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; pointer-events: none;
}

/* ---------- Grids ---------- */
.mini-grid, .cards, .process, .industries, .offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offices { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 30px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.section-dark .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.section-dark .card p { color: #C8D7E6; }

/* ---------- Checklist / quote ---------- */
.checklist { list-style: none; padding: 0; margin: 26px 0; }
.checklist li { margin: 12px 0; padding-left: 30px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  background-color: var(--teal);
}
.quote {
  padding: 30px 32px; border-left: 4px solid var(--teal);
  background: var(--sky); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 19px; font-weight: 600; color: var(--navy-800); line-height: 1.5;
}

/* ---------- Service pages ---------- */
.service-hero, .solution-hero {
  position: relative; background: linear-gradient(120deg, #071526 0%, #0A2B4A 58%, #0E3A63 100%);
  color: #fff; padding: 90px 0 84px; overflow: hidden;
}
.service-hero::before, .solution-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 600px at 88% -10%, rgba(20, 200, 181, 0.22), transparent 60%),
    radial-gradient(520px 520px at 8% 110%, rgba(123, 92, 255, 0.20), transparent 60%);
}
.service-hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.service-hero h1, .solution-hero h1 { margin-bottom: 20px; }
.service-hero p, .solution-hero p { font-size: 19px; color: #C8D7E6; max-width: 640px; }
.animated-visual { width: 100%; border-radius: 20px; box-shadow: 0 26px 70px rgba(2, 12, 22, 0.45); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }

/* Sticky service sub-nav */
.service-nav-wrap { padding: 16px 0; position: sticky; top: 78px; z-index: 40; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.service-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.service-nav a { padding: 9px 16px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 700; color: var(--navy-800); border: 1px solid transparent; transition: all .2s ease; }
.service-nav a:hover { background: var(--sky); color: var(--teal-600); border-color: rgba(20, 200, 181, 0.4); }
.service-nav a.current { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(20, 200, 181, 0.35); }

/* Service family cards */
.service-family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-family {
  position: relative; display: block; min-height: 330px; padding: 34px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease;
}
.service-family::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-family:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-family:hover::after { transform: scaleX(1); }
.service-number { position: absolute; right: 26px; top: 22px; font-family: var(--font-head); font-size: 46px; font-weight: 800; color: #EAF1F6; }
.service-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: var(--grad); color: #fff; font-size: 26px; margin-bottom: 26px; box-shadow: 0 8px 20px rgba(20, 200, 181, 0.3); }
.service-family h3 { margin-bottom: 12px; }
.service-family p { color: var(--muted); font-size: 15px; }
.text-link { display: inline-block; margin-top: 16px; color: var(--teal-600); font-weight: 700; font-size: 14px; transition: color .2s; }
.text-link:hover { color: var(--violet); }
.service-detail { overflow: hidden; }
.offering-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.two-col-list { columns: 2; column-gap: 34px; }
.two-col-list li { break-inside: avoid; }

/* Capability pills */
.capability-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.capability-pills span { padding: 9px 15px; border: 1px solid #C9D7E3; background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy-800); }
.section-dark .capability-pills span { background: rgba(255, 255, 255, 0.05); color: #E4EDF4; border-color: rgba(255, 255, 255, 0.2); }

/* Visual stack + floating badges */
.visual-stack { position: relative; }
.floating-badge {
  position: absolute; background: #fff; padding: 10px 16px; border-radius: 999px;
  box-shadow: var(--shadow); font-weight: 800; font-size: 13px; color: var(--navy-800);
  border: 1px solid var(--line); animation: badgeFloat 4.5s ease-in-out infinite;
}
.badge-one { top: 12%; left: -4%; }
.badge-two { top: 46%; right: -5%; animation-delay: 0.9s; }
.badge-three { bottom: 8%; left: 9%; animation-delay: 1.8s; }

/* Solution cards (service detail "capabilities") */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.solution-card > span { font-family: var(--font-head); font-size: 34px; font-weight: 800; background: linear-gradient(120deg, #B9C8D8, #93A8BC); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.solution-card h3 { margin-bottom: 10px; }
.solution-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Quote card */
.quote-card { padding: 38px; background: linear-gradient(135deg, var(--navy-900), #0E3A63); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.quote-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 200, 181, 0.3), transparent 65%); bottom: -90px; right: -70px; }
.quote-card strong { font-family: var(--font-head); font-size: 26px; display: block; margin-bottom: 14px; position: relative; z-index: 1; }
.quote-card p { color: #C8D7E6; font-size: 17px; margin: 0; position: relative; z-index: 1; }

/* Delivery models */
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.delivery-card { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); transition: transform .25s ease, background .25s ease; }
.delivery-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); }
.delivery-card h3 { font-size: 18px; }
.delivery-card p { color: #AFC2D4; font-size: 14.5px; }
.delivery-card strong, .delivery-card span { display: block; }
.delivery-card strong { color: var(--teal); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 18px; }
.delivery-card span { font-size: 14px; color: #D3E0EC; }

/* Managed grid */
.managed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.managed-card { padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, #F0FAF7); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.managed-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.managed-card span { display: block; font-family: var(--font-head); font-size: 38px; font-weight: 800; background: linear-gradient(120deg, #14C8B5, #7B5CFF); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.managed-card h3 { font-size: 18px; }
.managed-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.center-link { text-align: center; margin-top: 34px; }

/* Compact grid (ways to engage) */
.compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compact-card { padding: 26px; border-top: 4px solid var(--teal); background: #fff; border-radius: var(--radius-sm); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compact-card h3 { font-size: 18px; margin-bottom: 8px; }
.compact-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Industry strip */
.industry-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-strip span { padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; color: var(--navy-800); box-shadow: var(--shadow-sm); }

/* Home capabilities */
.home-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-capability { display: block; padding: 28px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.home-capability::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.home-capability:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.home-capability:hover::before { transform: scaleY(1); }
.home-capability span { font-family: var(--font-head); font-weight: 800; color: var(--teal-600); font-size: 13px; letter-spacing: 0.1em; }
.home-capability h3 { margin: 10px 0 8px; font-size: 19px; }
.home-capability p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Jobs ---------- */
.search-panel {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px;
  padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.search-panel input, .search-panel select, .panel input, .panel select, .panel textarea {
  width: 100%; border: 1px solid #C9D7E3; border-radius: 10px; padding: 13px 15px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.search-panel input:focus, .search-panel select:focus, .panel input:focus, .panel select:focus, .panel textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 200, 181, 0.18);
}
.jobs { display: grid; gap: 16px; }
.job-card {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(20, 200, 181, 0.5); }
.job-card h3 { margin-bottom: 10px; }
.job-card h3 a:hover { color: var(--teal-600); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12px; font-weight: 700; background: var(--sky); color: #0C8579; padding: 6px 11px; border-radius: 999px; }
.job-actions { display: flex; align-items: center; }
.job-count { font-weight: 700; color: var(--muted); margin-bottom: 18px; }

.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
.job-detail article { max-width: 760px; }
.job-detail ul { padding-left: 22px; }
.job-detail li { margin: 8px 0; }
.sidebar { position: sticky; top: 100px; align-self: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.panel label { display: block; font-weight: 700; margin-bottom: 16px; font-size: 14.5px; color: var(--navy-800); }
.panel small { font-weight: 400; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.form-status { min-height: 24px; margin: 12px 0 0; font-weight: 700; }
.form-status.success { color: #15803D; }
.form-status.error { color: #C2410C; }
.notice { background: #FFF6DF; border: 1px solid #F0D488; padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.notice strong { color: #8A5B00; }

/* ---------- Contact / employers ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card strong { display: block; font-family: var(--font-head); margin-bottom: 6px; color: var(--navy-800); }
.contact-card a { color: var(--teal-600); font-weight: 600; }
.contact-card a:hover { color: var(--violet); }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta {
  padding: 56px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #071526 0%, #0A2B4A 55%, #123B66 100%);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.cta::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 200, 181, 0.32), transparent 65%); top: -140px; right: -60px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: #C8D7E6; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #AFC2D4; padding: 70px 0 26px; border-top: 4px solid transparent; border-image: var(--grad) 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 44px; }
.footer-brand .wordmark { font-size: 25px; }
.footer-brand p { color: #93A8BC; font-size: 14.5px; max-width: 320px; margin-top: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer-contact a { color: #D3E0EC; font-size: 14.5px; font-weight: 600; }
.footer-contact a:hover { color: var(--teal); }
.footer-col strong { display: block; color: #fff; font-family: var(--font-head); font-size: 15px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a, .footer-col span { display: block; margin-bottom: 10px; color: #93A8BC; font-size: 14px; }
.footer-col a:hover { color: var(--teal); }
.copyright {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 52px; padding-top: 22px;
  font-size: 13px; color: #6E86A0;
}
.copyright a:hover { color: var(--teal); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose a { color: var(--teal-600); text-decoration: underline; }
.prose a:hover { color: var(--violet); }

/* ---------- Misc ---------- */
.empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed #AFC2D4; border-radius: var(--radius); color: var(--muted); }
.hidden { display: none !important; }
.admin { width: min(1180px, calc(100% - 40px)); margin: 40px auto; }
.table-wrap { overflow: auto; }
.admin table { border-collapse: collapse; width: 100%; background: #fff; }
.admin th, .admin td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.admin-card { border: 1px solid var(--line); padding: 18px; margin: 12px 0; border-radius: 10px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin .btn { padding: 8px 12px; font-size: 13px; }
.error-404 { text-align: center; padding: 90px 0; }
.error-404 h1 { font-size: clamp(60px, 10vw, 120px); margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 p { color: var(--muted); max-width: 460px; margin: 0 auto 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes badgeFloat { 50% { transform: translateY(-10px); } }

/* ---------- Responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-badge { animation: none; }
  .btn, .card, .service-family, .solution-card, .job-card, .home-capability { transition: none; }
}

@media (max-width: 1000px) {
  .service-family-grid, .solution-grid, .home-capabilities { grid-template-columns: repeat(2, 1fr); }
  .managed-grid, .delivery-grid, .compact-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hero-grid, .service-split { grid-template-columns: 1fr; gap: 42px; }
  .service-split.reverse > :first-child, .service-split.reverse > :last-child { order: initial; }
  .service-nav-wrap { position: static; }
  .offices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    background: rgba(10, 27, 49, 0.98); padding: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow); border-radius: 14px; flex-direction: column; align-items: stretch; gap: 4px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a:not(.btn) { padding: 12px 14px; }
  .site-header nav .btn { margin: 8px 0 0; }
  .menu { display: block; }
  .hero { min-height: 640px; }
  .split, .form-layout, .job-detail { grid-template-columns: 1fr; }
  .photo { height: 420px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div:nth-child(2) { border-right: 0; }
  .stat-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mini-grid, .cards, .process, .industries { grid-template-columns: 1fr 1fr; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { min-height: 600px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .stat-grid, .mini-grid, .cards, .process, .industries, .offices, .two, .search-panel, .contact-cards { grid-template-columns: 1fr; }
  .stat-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-grid > div:last-child { border-bottom: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .job-card { grid-template-columns: 1fr; }
  .job-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; }
  .cta { padding: 34px; }
  .page-hero { min-height: 380px; }
  .photo { height: 320px; }
  .service-hero, .solution-hero { padding: 64px 0; }
  .service-hero h1, .solution-hero h1 { font-size: 38px; }
  .floating-badge { font-size: 12px; padding: 8px 12px; }
  .service-family { min-height: 0; }
  .two-col-list { columns: 1; }
}
