/*
  MJ Labs — styles for the new home page at /v2 (views/v2/page.php)
  ========================================
  @author    Jimmy Lindmark
  @copyright MJ STRATEGI TECH SOLUTIONS SL
  @license   All Rights Reserved

  This file belongs to /v2 only. The live front page has its own stylesheet, home.css.
*/
/* Brand tokens, the same values as the live site */
:root {
  --blue: #0c5adb; --blue-d: #0a46ad; --navy: #0b1f4d; --navy-2: #14306b;
  --peach: #fff8f4; --amber: #ffc34d; --ink: #1d2433; --muted: #5d6678; --line: #ecdfd8;
  --r: 22px; --shadow: 0 18px 44px rgba(11, 31, 77, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Roboto, system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: Roboto, sans-serif; font-weight: 700; line-height: 1.1; color: var(--navy); }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 32px); }
section { padding: clamp(56px, 9vw, 104px) 0; }
.eyebrow { font-family: Roboto, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.head { display: grid; gap: 12px; max-width: 700px; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 { font-size: clamp(32px, 4.2vw, 46px); }
.lead { font-size: 19px; color: var(--muted); }

/* Buttons: pill shape, a visible press and focus state */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border: 2px solid transparent; border-radius: 999px; font: 700 17px/1 Roboto, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background-color .12s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(12, 90, 219, .28); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #ffb21f; color: var(--navy); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 16px; box-shadow: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--navy); font: 700 26px/1 Roboto, sans-serif; letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue); }

/* Hero */
.hero { background: var(--peach); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.03; }
.hero .lead { font-size: 20px; max-width: 540px; }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--navy); }
.ticks svg { flex: none; }
.hero-media { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.hero-media::before { content: ""; position: absolute; inset: -6% -10% auto auto; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); opacity: .55; }
.hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.call { position: relative; margin: -84px 0 0 -8%; width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 6px; box-shadow: 0 22px 48px rgba(11, 31, 77, .18); }
.call-top { display: flex; align-items: center; gap: 14px; }
.call-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; }
.call h2 { font-size: 27px; }
.call p { font-size: 15px; color: var(--muted); }
.call-number { display: inline-flex; align-items: center; min-height: 44px; font: 700 32px/1 Roboto, sans-serif; color: var(--blue); text-decoration: none; }

/* Cards with a photo on top */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.card h3 { font-size: 25px; }
.card p { font-size: 16px; color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-weight: 700; }

/* Navy section: connect or replace */
.navy { background: var(--navy); color: #d5def2; }
.navy h2, .navy h3 { color: #fff; }
.navy .eyebrow { color: var(--amber); }
.navy .lead { color: #d5def2; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin-top: 28px; }
.choices { display: grid; gap: 24px; }
.choice { background: var(--navy-2); border-radius: var(--r); padding: 32px; display: grid; gap: 12px; }
.choice h3 { font-size: 28px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
.num { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 26px/1 Roboto, sans-serif; display: grid; place-items: center; }
.steps h3 { font-size: 26px; margin-bottom: 4px; }
.steps p { font-size: 16px; color: var(--muted); }
.steps-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }

/* Prices */
.peach { background: var(--peach); }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px; display: grid; gap: 18px; align-content: start; }
.price.pick { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price h3 { font-size: 28px; }
.amount { font: 700 46px/1 Roboto, sans-serif; color: var(--navy); }
.amount span { font: 600 17px/1 Roboto, system-ui, sans-serif; color: var(--muted); white-space: nowrap; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; }
.list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.list svg { margin-top: 2px; }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Terms */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.term { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.term strong { display: block; font: 700 23px/1.2 Roboto, sans-serif; color: var(--navy); margin-bottom: 4px; }
.term p { color: var(--muted); }

/* Contact */
.contact { background: var(--blue); color: #fff; }
.contact h2 { color: #fff; font-size: clamp(32px, 4.2vw, 46px); }
.contact-text { display: grid; gap: 16px; justify-items: start; }
.contact-text p { font-size: 19px; }
.contact-number { display: inline-flex; align-items: center; min-height: 44px; font: 700 34px/1 Roboto, sans-serif; color: #fff; text-decoration: none; }
.contact-number:hover { color: var(--amber); }
.form { background: #fff; border-radius: var(--r); padding: clamp(22px, 4vw, 34px); display: grid; gap: 16px; color: var(--ink); box-shadow: 0 22px 48px rgba(6, 26, 77, .28); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; color: var(--navy); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8a94a8; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { resize: vertical; }
.form small { font-size: 14px; color: var(--muted); }

/* Footer */
.foot { background: var(--navy); color: #d5def2; padding: 40px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot strong { display: block; font: 700 22px/1.2 Roboto, sans-serif; letter-spacing: .04em; color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }

/* Tablets */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
/* Phones */
@media (max-width: 760px) {
  .hero .wrap, .split, .terms { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 380px; }
  .call { margin-left: 0; }
  .split-photo { margin-top: 20px; }
  .steps-photo { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { width: 100%; }
  .brand { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Small helpers */
.nowrap { white-space: nowrap; }
.ticks svg, .list svg, .term svg { color: var(--blue); }
.call-icon svg { color: var(--navy); }
.head-tight { margin-bottom: 0; }
.note-strong { font-size: 18px; font-weight: 600; color: var(--navy); }

/* Header: brand, menu, languages, call button, menu button (phones) */
.top.is-stuck { box-shadow: 0 6px 20px rgba(11, 31, 77, .08); }
.nav { margin-left: auto; }
.langs { display: flex; gap: 2px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; }
.langs a.active { background: var(--peach); color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--peach); color: var(--navy); cursor: pointer; place-items: center; }
.menu-toggle:active { transform: scale(.96); }

/* Contact form: hidden spam trap, status line and the send button's states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-msg { margin: 0; min-height: 1.5em; font-size: 15px; font-weight: 600; }
.lead-msg.is-ok { color: #0a6b3d; }
.lead-msg.is-err { color: #b3261e; }
.btn[disabled] { cursor: default; }
.btn.is-busy::before { content: ""; width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer details and the back-to-top button */
.foot #legal-email a { display: inline; min-height: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top:hover { color: var(--amber); }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Narrow screens: the menu folds into a panel under the header */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px clamp(16px, 5vw, 32px) 16px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(11, 31, 77, .10); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { min-height: 48px; font-size: 18px; }
  .langs { margin-left: auto; }
  .menu-toggle { display: grid; }
}
@media (max-width: 560px) {
  .top .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-busy::before { animation-duration: 2s; }
  .to-top { transition: none; }
}

/* Footer: the row of policy links under the company details */
.foot-legal { flex-basis: 100%; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }

/* ==========================================================================
   /v2 — the sections that are new on this page
   Everything above this line was copied from the live page's stylesheet on
   2026-11-11, so that the kept hero looks the same. From here on the two
   files live their own lives.
   ========================================================================== */
:root { --mist: #f4f6fb; --edge: #e3e8f2; --soft: #5b7299; --ok: #0a6b3d; --no: #b3261e; }

/* Fade-in when a block scrolls into view. Only with script, so nothing stays hidden without it */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

.mist { background: var(--mist); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.tile { width: 52px; height: 52px; border-radius: 14px; background: #e8eefb; color: var(--blue); display: grid; place-items: center; }
.more { gap: 8px; margin-top: 0; }
.btn svg { flex: none; }

/* Draft: the bar at the top and the dashed boxes that name missing facts */
.draftbar { background: #fff3cd; color: #5c4400; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; border-bottom: 1px solid #f0d98a; }
.todo { border: 2px dashed #c9961a; background: #fffaea; border-radius: var(--r); padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.todo-label { justify-self: start; font: 700 12px/1 Roboto, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: #8a6100; color: #fff; padding: 5px 10px; border-radius: 999px; }
.todo strong { font: 700 22px/1.2 Roboto, sans-serif; color: var(--navy); }
.todo p { font-size: 15px; color: #5c4400; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

/* Team: one card per person, the round photo to the left of the name. The columns keep their width when there is one card only */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); }
.person-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.person-text { display: grid; gap: 4px; justify-items: start; }
.person h3 { font-size: 26px; }
.person-role { font-weight: 700; color: var(--blue); }
.person-facts { font-size: 15px; color: var(--muted); }
.trust, .voices { padding: 28px 0; }
.trust { border-bottom: 1px solid var(--line); }

/* The promise: text and check list on the left, the promise card on the right */
.promise { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.promise-text { display: grid; gap: 20px; justify-items: start; }
.promise h2 { font-size: clamp(34px, 4.6vw, 52px); }
.promise h2 span { display: block; color: var(--soft); }
.checks { gap: 12px; font-size: 17px; }
.promise .cta-row { align-items: center; gap: 14px 26px; }
.promise-card { background: #fff; border: 1px solid var(--edge); border-radius: 28px; padding: clamp(26px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(11, 31, 77, .12); }
.promise-card h3 { font-size: 30px; }
.promise-card blockquote { margin: 0; font-size: 19px; font-style: italic; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-top: 20px; border-top: 1px solid var(--edge); }
.stats strong { display: block; font: 700 34px/1.05 Roboto, sans-serif; color: var(--navy); }
.stats span { font-size: 15px; color: var(--muted); }

/* Three steps as cards with a number on the corner */
.steps3 { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 42px 28px 30px; display: grid; gap: 10px; align-content: start; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); }
.step .num { position: absolute; top: -22px; left: 24px; width: 48px; height: 48px; font-size: 23px; background: var(--navy); border: 4px solid #fff; }
.step h3 { font-size: 26px; }
.step p { font-size: 16px; color: var(--muted); }

/* The customer's way through the business: six steps to choose between, and a calculator */
.journey { display: grid; gap: 24px; }
.jbox, .calc { background: var(--navy-2); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.jtrack { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.jstep { width: 100%; min-height: 68px; padding: 8px 2px; border: 2px solid rgba(255, 255, 255, .2); border-radius: 14px; background: transparent; color: #d5def2; font: 700 15px/1.2 Roboto, system-ui, sans-serif; cursor: pointer; display: grid; gap: 4px; justify-items: center; align-content: center; transition: background-color .15s, border-color .15s, transform .12s; }
.jstep b { font: 700 20px/1 Roboto, sans-serif; color: var(--amber); }
.jstep:hover { border-color: var(--amber); }
.jstep:active { transform: scale(.96); }
.jstep[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.jstep[aria-selected="true"] b { color: var(--navy); }
.jpanel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.jpanel:last-child { margin-bottom: 0; }
.jpanel h3 { grid-column: 1 / -1; font-size: 26px; }
html.js .jpanel { margin-bottom: 0; }
html.js .jpanel:not(.is-active) { display: none; }
.jside { border-radius: 16px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.jside.today { background: rgba(255, 255, 255, .07); }
.jside.with { background: #fff; color: var(--ink); }
.jside small { font: 700 14px/1 Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.jside.with small { color: var(--blue); }
.jside p { font-size: 17px; }
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; align-items: end; }
.calc h3, .calc-result, .calc > small { grid-column: 1 / -1; }
.calc h3 { font-size: 26px; }
.calc label { display: grid; gap: 4px; font-size: 15px; font-weight: 600; color: #d5def2; }
.calc-row { display: flex; align-items: center; gap: 12px; }
.calc input[type="range"] { flex: 1; min-width: 0; min-height: 36px; accent-color: var(--amber); cursor: pointer; }
.calc output { min-width: 3ch; text-align: right; font: 700 22px/1 Roboto, sans-serif; color: #fff; }
.calc-result { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 17px; color: #d5def2; }
.calc-result strong { margin: 0 6px; font: 700 60px/1 Roboto, sans-serif; color: var(--amber); vertical-align: -6px; }
.calc small { font-size: 14px; color: #b9c5e0; }

/* Services: four groups, each with its tasks as small labels */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.group { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 28px 24px; display: grid; gap: 12px; align-content: start; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); }
.group h3 { font-size: 25px; }
.group p { font-size: 16px; color: var(--muted); }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; color: var(--navy); background: var(--mist); border: 1px solid var(--edge); border-radius: 999px; padding: 6px 12px; }
.not { margin-top: 28px; display: grid; gap: 14px; }
.not-box { border-left: 4px solid var(--amber); background: var(--peach); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; }
.not-box strong { display: block; font: 700 23px/1.2 Roboto, sans-serif; color: var(--navy); margin-bottom: 4px; }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; gap: 14px; align-content: start; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); max-width: 560px; }
.tag { justify-self: start; font: 700 13px/1 Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #e8eefb; padding: 7px 12px; border-radius: 999px; }
.case-number { font: 700 52px/1 Roboto, sans-serif; color: var(--navy); }
.case-number span { display: block; margin-top: 4px; font: 600 16px/1.4 Roboto, system-ui, sans-serif; color: var(--muted); }
.case h3 { font-size: 25px; }
.ba { display: grid; gap: 10px; margin: 0; }
.ba div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.ba dt { font: 700 14px/1.8 Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ba dd { margin: 0; }
.ba .after dt { color: var(--ok); }

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.who-item { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 24px 20px; display: grid; gap: 10px; align-content: start; }
.who-item h3 { font-size: 22px; }
.who-item p { font-size: 15px; color: var(--muted); }

/* Pricing: the recommended plan, and what is and isn't included */
.price { position: relative; grid-template-rows: auto auto 1fr auto; }
.price .btn { width: 100%; }
.price .list { align-content: start; }
.price .amount span { display: block; margin-top: 8px; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font: 700 13px/1 Roboto, system-ui, sans-serif; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.incl-box { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 26px 28px; display: grid; gap: 14px; align-content: start; }
.incl-box h3 { font-size: 23px; }
.list.out svg { color: var(--no); }
.list.dep svg { color: var(--soft); }
.note a { font-weight: 700; }

/* Questions: each one opens and closes */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--edge); border-radius: 16px; }
.qa[open] { border-color: #cfd8ea; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 22px; font: 700 21px/1.25 Roboto, sans-serif; color: var(--navy); border-radius: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font: 700 22px/1 Roboto, system-ui, sans-serif; color: var(--blue); transition: transform .12s; }
.qa[open] summary::after { content: "\2013"; }
.qa summary:active::after { transform: scale(.9); }
.qa summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.qa p { padding: 0 22px 20px; color: var(--muted); }

/* The audit: what you get on the left, the form on the right */
.contact .split { align-items: start; }
.contact .eyebrow { color: var(--amber); }
.audit-text { display: grid; gap: 16px; justify-items: start; align-content: start; }
.audit-text > p { font-size: 19px; }
.audit-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: audit; }
.audit-steps li { counter-increment: audit; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; font-size: 17px; }
.audit-steps li::before { content: counter(audit); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font: 700 18px/1 Roboto, sans-serif; }
.audit-text .or-call { margin-top: 8px; font-size: 16px; }
.contact .todo { margin-top: 20px; }

/* Wide tablets and small laptops */
@media (max-width: 1160px) {
  .nav { gap: 18px; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Tablets */
@media (max-width: 980px) {
  .promise, .incl, .calc { grid-template-columns: minmax(0, 1fr); }
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .prices { margin-inline: auto; }
}
/* Phones */
@media (max-width: 760px) {
  .jtrack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .groups, .who, .jpanel { grid-template-columns: minmax(0, 1fr); }
  .stats strong { font-size: 28px; }
  .calc-result strong { font-size: 52px; }
  .promise .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .jstep, .qa summary::after { transition: none; }
}

/* ==========================================================================
   Service, industry and "nothing up front" pages (views/v2/sub.php)
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); }
.sub-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; }
.sub-hero .hero-text { gap: 18px; }
.facts-card h2 { font-size: 30px; }
.facts { margin: 0; display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--edge); }
.facts div { display: grid; gap: 2px; }
.facts dt { font: 700 14px/1.3 Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--navy); }

/* What you get: one card per thing */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.items-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.item { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); padding: 26px 24px; display: grid; gap: 8px; align-content: start; box-shadow: 0 10px 30px rgba(11, 31, 77, .06); }
.item h3 { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 24px; }
.item h3 svg { margin-top: 3px; color: var(--blue); }
.item p { font-size: 16px; color: var(--muted); }

/* What changes: today on the left, with us on the right */
.pairs { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.faq-link { margin-top: 8px; text-align: center; }
.related-sec { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.related-sec .head { margin-bottom: 20px; }
.related-sec .head h2 { font-size: 30px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff; border: 1px solid var(--edge); border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--navy); text-decoration: none; transition: border-color .12s, transform .12s; }
.related a:hover { border-color: var(--blue); color: var(--blue); }
.related a:active { transform: scale(.97); }

/* Arrow links under the cards on the home page, and the row of pages in the footer */
.card-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 2px; }
.card-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; }
.foot-pages { flex-basis: 100%; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }

@media (max-width: 980px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .items, .items-2, .pair { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .related a { transition: none; }
}

/* ==========================================================================
   /v3: the same pages with photos, and the switch between the versions
   ========================================================================== */
.draft-switch { display: inline-flex; gap: 6px; margin-left: 8px; vertical-align: middle; }
.draft-switch a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid #c9961a; border-radius: 999px; color: #5c4400; font-weight: 700; text-decoration: none; }
.draft-switch a:active { transform: scale(.97); }
.draft-switch a[aria-current] { background: #8a6100; border-color: #8a6100; color: #fff; }

/* A card with a photo: the photo reaches the edges of the card, the text keeps its padding */
.has-photo { padding-top: 0; overflow: hidden; }
.has-photo .photo, .has-photo .photo-fill { width: calc(100% + 48px); max-width: none; margin: 0 -24px 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.who-item.has-photo .photo, .who-item.has-photo .photo-fill { width: calc(100% + 40px); margin: 0 -20px 6px; }
/* Stands in where no photo fits the card */
.photo-fill { display: grid; place-items: center; background: #e8eefb; color: var(--blue); }

/* Service and industry pages: the photo with the "In short" card over its lower edge, like the hero of the home page */
.sub-media img { aspect-ratio: 3 / 2; }
.facts-card.over { position: relative; margin: -44px 0 0 -8%; width: min(400px, 100%); padding: 24px 26px; gap: 12px; box-shadow: 0 22px 48px rgba(11, 31, 77, .18); }
.facts-card.over .tile { display: none; }
.facts-card.over h2 { font-size: 26px; }
.facts-card.over .facts { gap: 12px; padding-top: 14px; }
@media (max-width: 760px) {
  .facts-card.over { margin-left: 0; }
}
