/* =====================================================================
   Services explorer · Why Vantrex comparison · theme toggle
   ===================================================================== */

/* ---------- Theme toggle ---------- */
.theme-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .3s; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }

/* dark-theme fixes for things that used the near-black "inverse" colour */
:root[data-theme="dark"] .gx-cta-head { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .gx-logo .gx-mk, :root[data-theme="dark"] .logo-mark { background: #2a2926; box-shadow: inset 0 0 0 1px #3a3935; }
:root[data-theme="dark"] .gx-cta--ghost:hover { color: var(--paper); }
:root[data-theme="dark"] .fb-btn { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .gx-partners { background: #0b0b0a; border-block: 1px solid var(--line); }
:root[data-theme="dark"] .band, :root[data-theme="dark"] .cat-card.inv, :root[data-theme="dark"] .mk-card.home { background: #0b0b0a; border-color: var(--line); }
:root[data-theme="dark"] .gx-card .tag, :root[data-theme="dark"] .fb-chips li, :root[data-theme="dark"] .fb-stats { background: var(--surface); }
:root[data-theme="dark"] .gx-badge .mk-sm { background: #2a2926 !important; }
:root[data-theme="dark"] .gx-plist img { filter: brightness(0) invert(.82); }
:root[data-theme="dark"] .gx-hero h1, :root[data-theme="dark"] .gx-sub { text-shadow: 0 0 24px var(--surface); }

/* ---------- Services explorer ---------- */
.sv { padding: clamp(96px, 10vw, 192px) 0 0; }
.sv-in { width: min(1640px, 100% - clamp(32px, 6.25vw, 120px)); margin-inline: auto; }
.sv-head { max-width: 900px; }
.sv-head .sk-label { display: block; }
.sv-head h2 { margin-top: 18px; font: 500 clamp(34px, 4.17vw, 80px)/1.1 var(--font-display); color: var(--ink); }
.sv-head p { margin-top: 18px; font: 400 clamp(17px, 1.3vw, 23px)/1.5 var(--font-sans); color: var(--ink-2); max-width: 40em; }
.sv-grid { margin-top: clamp(40px, 4vw, 72px); display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(24px, 3vw, 56px); align-items: stretch; }

.sv-tabs { display: flex; flex-direction: column; gap: 6px; }
.sv-tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; text-align: left; padding: 20px 20px 22px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; overflow: hidden; transition: background .35s var(--ease-out), color .35s, border-color .35s; }
.sv-tab:hover { color: var(--ink); background: var(--surface-sunk); }
.sv-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-1); }
.sv-tab .n { font: 500 13px/1 var(--font-sans); letter-spacing: .14em; }
.sv-tab .tt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sv-tab b { font: 500 clamp(20px, 1.5vw, 26px)/1.15 var(--font-display); color: inherit; }
.sv-tab small { font: 400 14px/1.3 var(--font-sans); color: var(--muted); }
.sv-tab .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.sv-tab .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.sv-tab[aria-selected="true"] .bar i { animation: sv-progress var(--sv-dur, 7s) linear forwards; }
.sv-tabs.paused .sv-tab .bar i { animation-play-state: paused; }
@keyframes sv-progress { to { width: 100%; } }

.sv-panels { position: relative; min-height: clamp(520px, 38vw, 640px); }
.sv-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 56px); align-items: center; height: 100%; padding: clamp(24px, 2.6vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.sv-panel[hidden] { display: none; }
.sv-panel.on .sv-copy > *, .sv-panel.on .sv-vis { animation: sv-in .7s var(--ease-out) both; }
.sv-panel.on .sv-copy > :nth-child(2) { animation-delay: .04s; } .sv-panel.on .sv-copy > :nth-child(3) { animation-delay: .08s; }
.sv-panel.on .sv-copy > :nth-child(4) { animation-delay: .12s; } .sv-panel.on .sv-copy > :nth-child(5) { animation-delay: .16s; }
.sv-panel.on .sv-vis { animation-name: sv-in-vis; animation-duration: .9s; }
@keyframes sv-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sv-in-vis { from { opacity: 0; transform: translateY(20px) scale(.98); } }

.sv-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font: 500 13px/1 var(--font-sans); }
.sv-copy h3 { margin-top: 18px; font: 500 clamp(26px, 2.3vw, 42px)/1.12 var(--font-display); color: var(--ink); }
.sv-copy > p { margin-top: 14px; font: 400 clamp(16px, 1.1vw, 19px)/1.65 var(--font-sans); color: var(--ink-2); }
.sv-pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.sv-pts li { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.45 var(--font-sans); color: var(--ink); }
.sv-pts .ico { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 3; margin-top: 1px; }
.sv-tiers { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-tiers li { padding: 14px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.sv-tiers b { font: 500 19px/1 var(--font-display); color: var(--ink); }
.sv-tiers span { font: 400 13.5px/1.4 var(--font-sans); color: var(--ink-2); }
.sv-copy .fb-btn { margin-top: 28px; }

/* visuals */
.sv-vis { position: relative; height: 100%; min-height: 360px; overflow: hidden; background: var(--surface-sunk); }
.sv-vis > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-card { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); color: var(--ink); }
.sv-card--a { right: 6%; bottom: 7%; width: min(260px, 70%); padding: 16px 18px; }
.sv-card--a small { font: 500 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-ms { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sv-ms li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font: 500 14px/1.2 var(--font-sans); color: var(--muted); }
.sv-ms i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.sv-ms em { font-style: normal; font-size: 12px; }
.sv-ms .done { color: var(--ink); } .sv-ms .done i { background: var(--success); border-color: var(--success); } .sv-ms .done em { color: var(--success); }
.sv-ms .now { color: var(--ink); } .sv-ms .now i { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); } .sv-ms .now em { color: var(--accent); }
.sv-card--b { left: 6%; top: 8%; display: flex; gap: 12px; align-items: center; padding: 12px 16px; font: 400 14px/1.3 var(--font-sans); }
.sv-card--b b { display: block; font-weight: 600; } .sv-card--b small { color: var(--muted); }
.sv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 20%, transparent); }

.sv-vis--report { display: grid; place-items: center; padding: 6%; background: var(--surface-sunk) radial-gradient(var(--line) 1px, transparent 1px) 0 0 / 18px 18px; }
.sv-report { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 22px; }
.sv-rh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sv-rh b { font: 600 16px/1.2 var(--font-sans); color: var(--ink); }
.sv-rh small { font: 500 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; }
.sv-rk { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid var(--line); }
.sv-rk div { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.sv-rk div + div { border-left: 1px solid var(--line); }
.sv-rk small { font: 500 12px/1.2 var(--font-sans); color: var(--muted); }
.sv-rk b { font: 500 clamp(18px, 1.5vw, 24px)/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.sv-bars { height: 120px; margin-top: 18px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line); }
.sv-bars i { flex: 1; height: var(--h); background: var(--surface-sunk); border: 1px solid var(--line); border-bottom: 0; transform-origin: bottom; }
.sv-bars i.hi { background: var(--accent); border-color: var(--accent); }
.sv-panel.on .sv-bars i { animation: sv-bar .9s var(--ease-out) both; }
.sv-panel.on .sv-bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms + .2s); }
@keyframes sv-bar { from { transform: scaleY(0); } }
.sv-next { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 14px/1.3 var(--font-sans); color: var(--ink-2); }

.sv-vis--design { background: var(--surface-sunk); }
.sv-browser { position: absolute; left: 6%; top: 10%; width: 78%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.sv-browser .bb { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.sv-browser .bb i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.sv-browser .bb span { margin-left: 10px; padding: 3px 10px; background: var(--surface-sunk); font: 500 11px/1.2 var(--font-sans); color: var(--muted); }
.sv-browser img { display: block; width: 100%; aspect-ratio: 594 / 400; object-fit: cover; object-position: top; }
.sv-phone { position: absolute; right: 6%; bottom: 6%; width: 24%; aspect-ratio: 9 / 19.5; background: #0b0b0a; border-radius: 14% / 6.5%; padding: 4px; box-shadow: var(--shadow-2); }
.sv-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11.5% / 5.3%; display: block; }

/* ---------- Why Vantrex comparison ---------- */
.cx-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: end; }
.cx-head .sk-head { max-width: none; }
.cx-lead { font: 400 clamp(16px, 1.2vw, 20px)/1.6 var(--font-sans); color: var(--ink-2); max-width: 34em; }
.cx-grid { margin-top: clamp(40px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 16px; align-items: stretch; }
.cx-grid-2 { grid-template-columns: 1fr 1.2fr; max-width: 880px; margin-left: auto; margin-right: auto; }
.cx-col { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2vw, 32px); }
.cx-col header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cx-ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface-sunk); color: var(--ink-2); }
.cx-col h3 { margin-top: 16px; font: 500 clamp(22px, 1.7vw, 30px)/1.1 var(--font-display); color: var(--ink); }
.cx-col header p { margin-top: 8px; font: 400 15px/1.45 var(--font-sans); color: var(--muted); }
.cx-col ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cx-col li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 3px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cx-col li:last-child { border-bottom: 0; }
.cx-col li::before { content: ""; grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: center / 12px no-repeat; }
.cx-col li small { font: 500 12px/1.3 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cx-col li span { font: 500 16px/1.35 var(--font-sans); color: var(--ink); }
.cx-col li.y::before { background-color: color-mix(in srgb, var(--success) 16%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cx-col li.m::before { background-color: color-mix(in srgb, var(--warning) 16%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6100' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.cx-col li.n::before { background-color: color-mix(in srgb, var(--danger) 14%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c1352b' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.cx-col:not(.cx-us) li span { color: var(--ink-2); }

.cx-us { background: #0b0b0a; border-color: #0b0b0a; color: #f3f1ed; box-shadow: 0 30px 70px -30px rgba(21, 20, 18, .55); transform: translateY(-14px); }
.cx-us header { border-color: rgba(255, 255, 255, .12); }
.cx-us .cx-ic { background: #f3f1ed; color: #0b0b0a; }
.cx-us h3 { color: #fff; }
.cx-us header p { color: #a7a29a; }
.cx-us li { border-color: rgba(255, 255, 255, .12); }
.cx-us li small { color: #a7a29a; }
.cx-us li span { color: #fff; }
.cx-us li.y::before { background-color: var(--indigo); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cx-badge { position: absolute; top: clamp(22px, 2vw, 32px); right: clamp(22px, 2vw, 32px); padding: 7px 11px; background: var(--indigo); color: #fff; font: 500 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.cx-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font: 500 16px/1 var(--font-display); }
.cx-cta .ico { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.cx-cta:hover .ico { transform: translateX(4px); }
:root[data-theme="dark"] .cx-us { background: #f3f1ed; border-color: #f3f1ed; color: #151412; }
:root[data-theme="dark"] .cx-us h3, :root[data-theme="dark"] .cx-us li span, :root[data-theme="dark"] .cx-cta { color: #151412; }
:root[data-theme="dark"] .cx-us header p, :root[data-theme="dark"] .cx-us li small { color: #6b6760; }
:root[data-theme="dark"] .cx-us header, :root[data-theme="dark"] .cx-us li, :root[data-theme="dark"] .cx-cta { border-color: #e4e1da; }
:root[data-theme="dark"] .cx-us .cx-ic { background: #151412; color: #f3f1ed; }
:root[data-theme="dark"] .cx-us li.y::before { background-color: #4650d8; }


/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .sv-tabs::-webkit-scrollbar { display: none; }
  .sv-tab { flex: none; min-width: 240px; }
  .sv-panel { grid-template-columns: 1fr; }
  .sv-vis { min-height: 320px; }
  .cx-grid { grid-template-columns: 1fr 1fr; }
  .cx-grid-2 { grid-template-columns: 1fr 1fr; }
  .cx-us { grid-column: 1 / -1; transform: none; order: -1; }
  .cx-grid-2 .cx-us { grid-column: auto; }
  .cx-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sv-in { width: calc(100% - 32px); }
  .sv-tab { min-width: 210px; padding: 16px; }
  .sv-panel { padding: 18px; }
  .sv-tiers { grid-template-columns: 1fr; }
  .cx-grid { grid-template-columns: 1fr; }
  .cx-grid-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-panel.on .sv-copy > *, .sv-panel.on .sv-vis, .sv-panel.on .sv-bars i { animation: none; }
  .sv-tab .bar { display: none; }
}

/* small phones: keep the header on one line (Book a call lives in the menu) */
@media (max-width: 520px) {
  .gx-head-in { gap: 10px; }
  .gx-right { gap: 6px; }
  .gx-cta-head { display: none; }
  .theme-btn, .lang-btn, .menu-btn { width: 40px; height: 40px; }
  .lang-btn { width: auto; }
}

/* ---------- one button system across the site: square corners, Clash Display 500 ---------- */
.gx-cta, .gx-cta-head, .fb-btn, .mx-btn, .lab-by-go, .tc .tc-go, .rsl-btn, .tour-skip, .sk-btn, .cx-cta { border-radius: 0 !important; }
.fb-btn, .mx-btn, .lab-by-go, .tc .tc-go, .rsl-btn, .tour-skip { font-family: var(--font-display) !important; font-weight: 500 !important; letter-spacing: 0 !important; }
