/* ==========================================================================
   Cybergen — service pages (loaded after site.css)
   Brand palette only: navy #001534, card navy #071c42, Cybergen blue #005485,
   light blue #94d4f4, pale teal #cbe8e6, mist #ecf3f2, white.
   ========================================================================== */

.svc section[id] { scroll-margin-top: 90px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid rgba(148,212,244,.55); background: rgba(148,212,244,.08);
  color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.rule { width: 56px; height: 3px; border-radius: 2px; background: var(--accent); margin: 22px 0; }
.center .rule { margin-left: auto; margin-right: auto; }
.on-dark .h2 .hl, .svc-hero h1 .hl { color: var(--accent); }
.h2 .hl { color: var(--blue-2); }

/* ---------- Hero ---------- */
.svc-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 140px 0 90px; }
.svc-hero .hero-bg { position: absolute; inset: 0; }
.svc-hero .hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 78% 45%, #0a4a7c 0%, #06335f 20%, #03234b 40%, var(--navy) 70%);
}
.svc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
.svc-hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; margin: 24px 0 0; text-wrap: balance; }
.questions { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.questions li { display: flex; gap: 12px; align-items: baseline; color: var(--teal-pale); font-size: 17px; font-weight: 500; }
.questions li::before { content: "?"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(148,212,244,.55); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; transform: translateY(-1px); }
.svc-hero p.sub { color: rgba(255,255,255,.72); font-size: 17px; max-width: 580px; margin-bottom: 14px; }
.svc-hero .hero-ctas { margin-top: 30px; }

/* Illustrative intelligence feed */
.feed {
  background: rgba(7,28,66,.78); border: 1.5px solid rgba(148,212,244,.28); border-radius: 16px;
  backdrop-filter: blur(8px); box-shadow: 0 40px 80px rgba(0,0,0,.35); overflow: hidden;
}
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(148,212,244,.16); font-size: 12px; letter-spacing: .14em; font-weight: 600; color: var(--teal-pale); }
.feed-head .dot-pulse { margin-right: 8px; }
.feed-head small { letter-spacing: .06em; font-weight: 500; color: rgba(203,232,230,.6); }
.feed-list { position: relative; height: 372px; overflow: hidden; }
.feed-list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(7,28,66,.95)); pointer-events: none; }
.finding { padding: 16px 20px; border-bottom: 1px solid rgba(148,212,244,.1); display: grid; gap: 8px; transition: background .4s; }
.finding.is-new { animation: finding-in .7s var(--ease) both; background: rgba(148,212,244,.06); }
@keyframes finding-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.finding .f-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.finding .f-type { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.finding .f-time { font-size: 11px; color: rgba(203,232,230,.55); white-space: nowrap; }
.finding b { font-size: 15px; font-weight: 600; line-height: 1.35; color: #fff; }
.finding .f-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(203,232,230,.4); color: #fff; }
.chip-s.conf { display: inline-flex; align-items: center; gap: 6px; }
.chip-s.conf i { display: inline-flex; gap: 2px; }
.chip-s.conf i span { width: 5px; height: 9px; border-radius: 1px; background: rgba(148,212,244,.25); }
.chip-s.conf i span.on { background: var(--accent); }
.feed-foot { padding: 12px 20px; font-size: 12px; color: rgba(203,232,230,.6); border-top: 1px solid rgba(148,212,244,.12); }

/* ---------- Jump bar ---------- */
.jumpbar { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jumpbar nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.jumpbar nav::-webkit-scrollbar { display: none; }
.jumpbar a { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.jumpbar a:hover { color: var(--blue); background: var(--light); }
.jumpbar a.active { color: #fff; background: var(--blue); }

/* ---------- Decisions ---------- */
.decisions { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.decisions .lead + .lead { margin-top: 16px; }
.decisions .lead strong { color: var(--blue); }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.outcomes li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500; transition: border-color .25s, transform .25s; }
.outcomes li:hover { border-color: rgba(0,84,133,.35); transform: translateX(4px); }
.outcomes .ic { width: 38px; height: 38px; border-radius: 9px; background: rgba(148,212,244,.22); color: var(--blue); display: grid; place-items: center; }
.outcomes .ic svg { width: 19px; height: 19px; }
.question-card { margin-top: 28px; background: var(--navy); color: #fff; border-radius: 14px; padding: 26px 28px; position: relative; overflow: hidden; }
.question-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148,212,244,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,212,244,.06) 1px, transparent 1px); background-size: 27px 27px; }
.question-card > * { position: relative; }
.question-card small { display: block; font-size: 11px; letter-spacing: .16em; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.question-card p { font-size: 21px; font-weight: 600; line-height: 1.35; }

/* ---------- Services (sticky index + detail) ---------- */
.svc-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 56px; }
.svc-index { position: sticky; top: 140px; }
.svc-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.svc-index a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .2s, border-color .2s; }
.svc-index a:hover { color: var(--blue); }
.svc-index a.active { color: var(--blue); border-left-color: var(--blue-2); font-weight: 600; }
.svc-items { display: grid; gap: 22px; min-width: 0; }
.svc-item { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: #fff; scroll-margin-top: 140px; transition: border-color .3s, box-shadow .3s; }
.svc-item:hover { border-color: rgba(0,84,133,.3); box-shadow: 0 20px 44px rgba(0,21,52,.07); }
.svc-item header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.svc-item .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 11px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.svc-item .ic svg { width: 22px; height: 22px; }
.svc-item h3 { font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.3; text-wrap: balance; }
.svc-item .kicker { color: var(--blue); font-weight: 600; margin-top: 4px; font-size: 15px; }
.svc-item p { color: var(--muted); margin-top: 12px; }
.svc-item .label { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--navy); text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: #34445c; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.receive { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--mist); border-radius: 12px; padding: 16px 18px; }
.receive span { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue); padding-top: 3px; white-space: nowrap; }
.receive p { margin: 0; color: var(--navy); font-weight: 500; font-size: 15px; }

/* ---------- Tooling ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 48px; }
.tool { grid-column: span 2; background: rgba(7,28,66,.72); border: 1.5px solid rgba(148,212,244,.28); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s; }
.tool:nth-child(4), .tool:nth-child(5) { grid-column: span 3; }
.tool:hover { border-color: rgba(148,212,244,.6); transform: translateY(-4px); }
.tool .ic { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid rgba(148,212,244,.45); color: var(--accent); display: grid; place-items: center; }
.tool .ic svg { width: 21px; height: 21px; }
.tool h3 { font-size: 18px; font-weight: 700; }
.tool p { color: rgba(203,232,230,.85); font-size: 15px; }
.tool .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tool .chips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(203,232,230,.5); }
.cta-row { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Intelligence levels ---------- */
.levels { display: grid; gap: 14px; margin-top: 50px; }
.level { display: grid; grid-template-columns: 200px 1fr 220px; gap: 28px; align-items: center; padding: 22px 28px; border-radius: 14px; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, rgba(148,212,244,.28), rgba(148,212,244,.06)); transition: width 1.2s var(--ease); }
.level > * { position: relative; }
.level .tier { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.level h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.level p { color: var(--muted); font-size: 15px; }
.level .aud { font-size: 13px; color: var(--navy); font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.level .aud small { font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 600; }

/* ---------- Report anatomy ---------- */
.report-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.report { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.35); overflow: hidden; }
.report-head { background: var(--navy-card); color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 3px solid var(--accent); }
.report-head b { font-size: 14px; letter-spacing: .04em; }
.report-head span { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); border: 1px solid rgba(148,212,244,.5); padding: 3px 8px; border-radius: 99px; }
.report ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: q; }
.report li { counter-increment: q; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.report li:last-child { border-bottom: 0; }
.report li::before { content: counter(q); width: 30px; height: 30px; border-radius: 8px; background: var(--mist); color: var(--blue); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.report li b { display: block; font-size: 15px; color: var(--navy); }
.report li span { font-size: 14px; color: var(--muted); }
.report .conf-meter { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--blue); font-weight: 600; }
.report .conf-meter i { display: inline-flex; gap: 3px; }
.report .conf-meter i span { width: 14px; height: 6px; border-radius: 2px; background: var(--line); }
.report .conf-meter i span.on { background: var(--blue-2); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 54px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 25px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.process li { list-style: none; counter-increment: s; position: relative; text-align: left; }
.process li::before { content: counter(s); position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--blue); font-weight: 800; font-size: 18px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--white); }
.process h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process p { font-size: 14px; color: var(--muted); }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.model { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.model:hover { border-color: rgba(0,84,133,.35); box-shadow: 0 20px 44px rgba(0,21,52,.08); transform: translateY(-4px); }
.model .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(148,212,244,.22); color: var(--blue); display: grid; place-items: center; }
.model .ic svg { width: 21px; height: 21px; }
.model h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.model p { color: var(--muted); font-size: 15px; }
.model .focus { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--navy); }
.model .focus small { display: block; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.combine { text-align: center; color: var(--muted); margin-top: 26px; }

/* ---------- Why ---------- */
.why-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.why-item { border-top: 2px solid var(--accent); padding-top: 18px; }
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.why-item p { color: rgba(203,232,230,.85); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 140px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .25s; }
.faq details[open] { border-color: rgba(0,84,133,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; border-radius: 12px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.svc-final { position: relative; overflow: hidden; padding: 110px 0; text-align: center; }
.svc-final canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, #0a4a7c 0%, #06335f 20%, #03234b 40%, var(--navy) 70%); }
.svc-final .wrap { position: relative; z-index: 1; }
.svc-final h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.18; margin: 22px auto 0; max-width: 820px; text-wrap: balance; }
.svc-final h2 .hl { color: var(--accent); }
.svc-final p { color: var(--teal-pale); max-width: 620px; margin: 0 auto 12px; font-size: 17px; }
.svc-final .row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.svc-final .mail { margin-top: 22px; font-size: 15px; color: rgba(203,232,230,.8); }
.svc-final .mail a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-hero-grid, .decisions, .report-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-layout { grid-template-columns: 1fr; gap: 0; }
  .svc-index { display: none; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tool, .tool:nth-child(4), .tool:nth-child(5) { grid-column: span 1; }
  .tool:nth-child(5) { grid-column: span 2; }
  .level { grid-template-columns: 1fr; gap: 10px; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .process::before { display: none; }
  .models { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .faq-wrap > div:first-child { position: static; }
}
@media (max-width: 760px) {
  .svc-hero { padding: 116px 0 64px; }
  .feed-list { height: 300px; }
  .svc-item { padding: 22px; }
  .ticks { grid-template-columns: 1fr; }
  .receive { grid-template-columns: 1fr; gap: 6px; }
  .tools-grid, .models, .why-list, .process { grid-template-columns: 1fr; }
  .tool:nth-child(5) { grid-column: span 1; }
  .report li { padding: 12px 18px; }
}

/* Long labels must never push a column wider than the screen */
.svc-hero-grid > *, .decisions > *, .report-wrap > *, .faq-wrap > *, .svc-layout > * { min-width: 0; }

/* ==========================================================================
   Enquiry form (one per service page)
   ========================================================================== */
.enquiry { position: relative; overflow: hidden; padding: 110px 0; }
.enquiry::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, #0a4a7c 0%, #06335f 22%, #03234b 42%, var(--navy) 72%); }
.enquiry .grid-drift { opacity: .8; }
.enquiry-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.enquiry-grid > * { min-width: 0; }
.enquiry h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; line-height: 1.18; margin-top: 22px; text-wrap: balance; }
.enquiry h2 .hl { color: var(--accent); }
.enquiry .intro p { color: var(--teal-pale); font-size: 17px; margin-bottom: 14px; }
.enquiry .next-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.enquiry .next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: rgba(255,255,255,.85); font-size: 15px; }
.enquiry .next-steps li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(148,212,244,.55); color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.enquiry .next-steps b { color: #fff; display: block; }
.enquiry .direct { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(148,212,244,.18); font-size: 15px; color: var(--teal-pale); display: grid; gap: 6px; }
.enquiry .direct a { color: #fff; font-weight: 600; }

.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 34px; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.form-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); }
.form-card .form-sub { color: var(--muted); font-size: 14px; margin: 6px 0 24px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-field { display: grid; gap: 6px; min-width: 0; }
.f-field.full { grid-column: 1 / -1; }
.f-field label, .f-legend { font-size: 13px; font-weight: 600; color: var(--navy); }
.f-field label .opt, .f-legend .opt { font-weight: 400; color: var(--muted); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1.5px solid #d6dde7; border-radius: 9px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s;
}
.f-field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.f-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(148,212,244,.35); }
.f-field.invalid input, .f-field.invalid select, .f-field.invalid textarea { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,84,133,.12); }
.f-error { font-size: 12px; color: var(--blue); font-weight: 600; min-height: 0; }
.f-error:empty { display: none; }
.f-error::before { content: "! "; }
fieldset.f-field { border: 0; margin: 0; padding: 0; }
.f-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.f-options label { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1.5px solid #d6dde7; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; user-select: none; }
.f-options input { position: absolute; opacity: 0; pointer-events: none; }
.f-options label::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #b7c3d3; background: #fff; transition: all .2s; flex-shrink: 0; }
.f-options label:hover { border-color: var(--blue-2); }
.f-options label:has(input:checked) { border-color: var(--blue); background: rgba(148,212,244,.2); color: var(--navy); }
.f-options label:has(input:checked)::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--blue); }
.f-options label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(148,212,244,.6); }
.f-field label.f-consent { font-weight: 400; color: var(--muted); }
.f-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.f-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.f-consent a { color: var(--blue-2); text-decoration: underline; }
.f-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.f-actions .btn { background: var(--blue); color: #fff; }
.f-actions .btn:hover { background: var(--navy); }
.f-actions .btn[disabled] { opacity: .6; cursor: progress; }
.f-actions small { color: var(--muted); font-size: 12px; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done[hidden] { display: none; }
.form-done .tick { width: 64px; height: 64px; border-radius: 50%; background: rgba(148,212,244,.3); color: var(--blue); display: grid; place-items: center; margin: 0 auto 18px; }
.form-done .tick svg { width: 30px; height: 30px; }
.form-done h3 { margin-bottom: 8px; }
.form-done p { color: var(--muted); }
.form-fail { margin-top: 12px; font-size: 14px; color: var(--navy); background: var(--mist); border-radius: 9px; padding: 12px 14px; }
.form-fail[hidden] { display: none; }

@media (max-width: 1080px) { .enquiry-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) {
  .enquiry { padding: 80px 0; }
  .form-card { padding: 24px 18px; }
  .f-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Penetration testing extras
   ========================================================================== */
/* Illustrative attack path */
.attack { background: rgba(7,28,66,.78); border: 1.5px solid rgba(148,212,244,.28); border-radius: 16px; backdrop-filter: blur(8px); box-shadow: 0 40px 80px rgba(0,0,0,.35); padding: 6px 0 0; overflow: hidden; }
.attack ol { list-style: none; margin: 0; padding: 14px 20px 6px; position: relative; }
.attack ol::before { content: ""; position: absolute; left: 39px; top: 34px; bottom: 34px; width: 2px; background: rgba(148,212,244,.18); }
.attack .path-wrap { position: relative; }
.attack .path-fill { position: absolute; z-index: 1; left: 39px; top: 34px; width: 2px; height: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: height .9s var(--ease); }
.attack li { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; opacity: .45; transition: opacity .5s; }
.attack li.on { opacity: 1; }
.attack .node { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); border: 1.5px solid rgba(148,212,244,.35); color: var(--accent); display: grid; place-items: center; position: relative; z-index: 1; transition: border-color .4s, box-shadow .4s, background .4s; }
.attack li.on .node { border-color: #fff; box-shadow: 0 0 0 4px rgba(148,212,244,.18); }
.attack li.current .node { background: #fff; color: var(--navy); }
.attack .node svg { width: 18px; height: 18px; }
.attack b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.attack small { display: block; font-size: 12px; color: var(--teal-pale); margin-top: 2px; }
.sev { font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(203,232,230,.45); color: #fff; white-space: nowrap; }
.sev.hi { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.sev.goal { background: #fff; border-color: #fff; color: var(--navy); }

/* ATT&CK-style matrix */
.intel-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.intel-grid > * { min-width: 0; }
.matrix { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.matrix .col { display: grid; gap: 6px; align-content: start; }
.matrix .col > span:first-child { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; padding-bottom: 4px; min-height: 28px; line-height: 1.25; }
.matrix .cell { height: 22px; border-radius: 4px; background: rgba(148,212,244,.08); border: 1px solid rgba(148,212,244,.14); transition: background .5s, border-color .5s; }
.matrix .cell.hit { background: rgba(148,212,244,.55); border-color: var(--accent); }
.matrix-key { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--teal-pale); }
.matrix-key span { display: inline-flex; align-items: center; gap: 8px; }
.matrix-key i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; background: rgba(148,212,244,.08); border: 1px solid rgba(148,212,244,.2); }
.matrix-key i.hit { background: rgba(148,212,244,.55); border-color: var(--accent); }

/* Black / grey / white box */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.box-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.box-card .swatch { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid var(--navy); }
.box-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.box-card p { color: var(--muted); font-size: 15px; }
.info-meter { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.info-meter .bar { height: 8px; border-radius: 4px; background: var(--mist); margin-top: 8px; overflow: hidden; }
.info-meter .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 4px; }
.boxes-note { text-align: center; color: var(--muted); max-width: 720px; margin: 28px auto 0; }

/* Six-step process */
.process.six { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.process.six::before { display: none; }

/* Report contents with severity summary */
.sev-summary { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.sev-summary small { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.sev-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 10px 0 8px; gap: 2px; }
.sev-bar i { display: block; }
.sev-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.sev-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sev-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Comparison of assessment types */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.compare article { border: 1.5px solid rgba(148,212,244,.28); background: rgba(7,28,66,.72); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.compare article.this { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(148,212,244,.12); }
.compare .tag { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .14em; padding: 4px 9px; border-radius: 99px; background: var(--accent); color: var(--navy); }
.compare h3 { font-size: 19px; font-weight: 700; }
.compare p { color: rgba(203,232,230,.85); font-size: 15px; }
.compare .suited { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(148,212,244,.18); font-size: 14px; color: #fff; }
.compare .suited small { display: block; font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 4px; }

/* Assurance */
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.assure > * { min-width: 0; }
.frameworks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frameworks div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; font-weight: 600; color: var(--navy); font-size: 15px; display: flex; gap: 12px; align-items: center; }
.frameworks div svg { width: 20px; height: 20px; color: var(--blue-2); flex-shrink: 0; }
.scheme-note { margin-top: 22px; background: var(--mist); border-radius: 12px; padding: 18px 20px; color: var(--navy); font-size: 15px; }
.scheme-note b { display: block; margin-bottom: 4px; }

/* When to test */
.triggers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.triggers div { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 12px; font-weight: 500; color: var(--navy); transition: border-color .25s, transform .25s; }
.triggers div:hover { border-color: rgba(0,84,133,.35); transform: translateY(-3px); }
.triggers svg { width: 22px; height: 22px; color: var(--blue-2); }
.freq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.freq p { background: var(--mist); border-radius: 12px; padding: 18px 20px; color: var(--navy); font-size: 15px; }

@media (max-width: 1080px) {
  .intel-grid, .assure { grid-template-columns: 1fr; gap: 40px; }
  .boxes, .compare { grid-template-columns: 1fr 1fr; }
  .triggers { grid-template-columns: 1fr 1fr; }
  .process.six { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .boxes, .compare, .frameworks, .freq, .process.six { grid-template-columns: 1fr; }
  .triggers { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .attack li { grid-template-columns: 40px 1fr; }
  .attack .sev { grid-column: 2; justify-self: start; }
}

/* Per-service quote link */
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue-2); }
.svc-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.svc-link:hover { color: var(--blue); }
.svc-link:hover::after { transform: translateX(3px) rotate(-45deg); }
.svc-hero h1.long { font-size: clamp(34px, 4.3vw, 54px); }

/* ==========================================================================
   Services hub
   ========================================================================== */
/* Hero hub illustration: Cybergen at the centre, six ways we help around it */
.hub { --r: 172px; position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.hub svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .spin { transform-origin: 50% 50%; animation: spin 80s linear infinite; }
.hub .spin.rev { animation-direction: reverse; animation-duration: 120s; }
.hub .core { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; transform: translate(-50%, -50%); border-radius: 26px; background: var(--navy-card); border: 1.5px solid rgba(148,212,244,.6); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(148,212,244,.06), 0 0 60px rgba(11,106,163,.55); }
.hub .core img { width: 54px; height: 54px; }
.hub .hn { --icon: 50px; position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)) translate(-50%, calc(var(--icon) / -2)); transform-origin: 0 0; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 120px; text-align: center; }
.hub .hn i { width: 50px; height: 50px; border-radius: 14px; background: rgba(7,28,66,.9); border: 1.5px solid rgba(148,212,244,.4); color: var(--accent); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.hub .hn i svg { width: 22px; height: 22px; }
.hub .hn span { font-size: 12px; font-weight: 600; color: var(--teal-pale); line-height: 1.25; background: rgba(0,21,52,.88); padding: 3px 8px; border-radius: 6px; position: relative; z-index: 1; }
.hub .hn.on i { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 0 0 6px rgba(148,212,244,.18); }
.hub .hn.on span { color: #fff; }
.hub .beam { stroke: var(--accent); stroke-width: 1.5; opacity: 0; transition: opacity .4s; }
.hub .beam.on { opacity: .9; }

/* Six ways we help */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.pillar { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pillar:hover { border-color: rgba(0,84,133,.3); box-shadow: 0 22px 46px rgba(0,21,52,.09); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.pillar .ic svg { width: 23px; height: 23px; }
.pillar h3 { font-size: 21px; font-weight: 700; color: var(--navy); }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; padding: 0; border: 0; }
.pillar .tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--mist); color: var(--navy); }
.pillar .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--blue-2); display: inline-flex; align-items: center; gap: 8px; }
.pillar .go svg { width: 16px; height: 16px; transition: transform .25s; }
.pillar:hover .go svg { transform: translateX(4px); }

/* Directory of every service */
.dir-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; }
.dir-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(148,212,244,.35); color: #fff; font-size: 13px; font-weight: 600; transition: background .2s, border-color .2s; }
.dir-nav a:hover { background: rgba(148,212,244,.12); border-color: var(--accent); }
.dir-nav svg { width: 15px; height: 15px; color: var(--accent); }
.dir-group { margin-top: 46px; scroll-margin-top: 140px; }
.dir-group > header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(148,212,244,.18); }
.dir-group > header .ic { width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid rgba(148,212,244,.5); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.dir-group > header .ic svg { width: 20px; height: 20px; }
.dir-group h3 { font-size: 13px; letter-spacing: .16em; font-weight: 700; color: var(--accent); }
.dir-group header p { font-size: 14px; color: var(--teal-pale); margin-top: 2px; }
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dir-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 14px; background: rgba(7,28,66,.72); border: 1.5px solid rgba(148,212,244,.22); scroll-margin-top: 150px; transition: border-color .25s, background .25s, transform .25s; }
.dir-card:hover { border-color: rgba(148,212,244,.6); background: rgba(7,28,66,.95); transform: translateY(-3px); }
.dir-card:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(148,212,244,.2); }
.dir-card b { font-size: 16px; color: #fff; font-weight: 600; }
.dir-card p { font-size: 14px; color: rgba(203,232,230,.85); line-height: 1.55; }
.dir-card .more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.dir-card .more svg { width: 14px; height: 14px; transition: transform .2s; }
.dir-card:hover .more svg { transform: translateX(3px); }

/* Ways to work: three across */
.models.three { grid-template-columns: repeat(3, 1fr); }

/* Connected decisions */
.links3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.link-card { background: rgba(7,28,66,.72); border: 1.5px solid rgba(148,212,244,.28); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.link-card .from, .link-card .to { display: flex; align-items: center; gap: 12px; }
.link-card .from i, .link-card .to i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.link-card .from i { border: 1.5px solid rgba(148,212,244,.5); color: var(--accent); }
.link-card .to i { background: var(--accent); color: var(--navy); }
.link-card i svg { width: 18px; height: 18px; }
.link-card b { font-size: 15px; color: #fff; font-weight: 600; }
.link-card .arrow { margin-left: 18px; width: 2px; height: 22px; background: linear-gradient(var(--accent), rgba(148,212,244,.2)); position: relative; }
.link-card .arrow::after { content: ""; position: absolute; left: -4px; bottom: -2px; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.partner-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.partner-copy p { color: var(--teal-pale); font-size: 17px; margin-top: 14px; }

@media (max-width: 1080px) {
  .pillars, .dir-grid { grid-template-columns: 1fr 1fr; }
  .models.three, .links3 { grid-template-columns: 1fr; }
  .hub { width: min(400px, 100%); margin-top: 10px; --r: 150px; }
}
@media (max-width: 760px) {
  .pillars, .dir-grid { grid-template-columns: 1fr; }
  .hub { --r: 124px; }
  .hub .hn { width: 92px; --icon: 42px; }
  .hub .hn i { width: 42px; height: 42px; }
  .hub .hn span { font-size: 11px; }
  .hub .core { width: 80px; height: 80px; border-radius: 20px; }
  .hub .core img { width: 42px; height: 42px; }
}
