/* traQpro — site stylesheet (dark default, light optional) */

/* Self-hosted fonts */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }


:root,
:root[data-theme="dark"] {
  --bg: #0A1322;
  --bg-2: #0E1A2D;
  --surface: #12213A;
  --surface-2: #172944;
  --line: rgba(150, 175, 215, .14);
  --line-strong: rgba(150, 175, 215, .26);
  --text: #E8EEF7;
  --muted: #98A8C0;
  --red: #EE5A3E;
  --red-ink: #FFFFFF;
  --blue: #4EA3FF;
  --green: #3DD68C;
  --stage: #E8EDF4;
  --stage-2: #D9E1EC;
  --map-road: rgba(120, 150, 200, .22);
  --map-grid: rgba(120, 150, 200, .07);
  --map-water: rgba(78, 163, 255, .16);
  --header: rgba(10, 19, 34, .78);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F3F6FA;
  --bg-2: #E9EEF5;
  --surface: #FFFFFF;
  --surface-2: #F6F8FB;
  --line: rgba(16, 36, 70, .10);
  --line-strong: rgba(16, 36, 70, .2);
  --text: #0F1B2D;
  --muted: #56667E;
  --red: #CF4630;
  --red-ink: #FFFFFF;
  --blue: #1D6FE0;
  --green: #14A363;
  --stage: #FFFFFF;
  --stage-2: #EEF2F7;
  --map-road: rgba(40, 70, 120, .16);
  --map-grid: rgba(40, 70, 120, .06);
  --map-water: rgba(29, 111, 224, .12);
  --header: rgba(243, 246, 250, .82);
  --shadow: 0 20px 50px -24px rgba(20, 40, 80, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px;
  font-weight: 600; font-size: .97rem; line-height: 1.1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-red:hover { background: color-mix(in srgb, var(--red) 86%, #fff); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { color: var(--blue); font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-word {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.45rem;
  letter-spacing: -.03em; color: var(--text);
}
.brand-word b { color: var(--red); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-drop > button {
  padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background-color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"], .nav-drop.current > button { color: var(--text); }
.nav > a[aria-current="page"], .nav-drop.current > button { background: var(--surface); }
.nav-drop { position: relative; }
.nav-drop > button i { font-size: .7rem; transition: transform .2s; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 300px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.drop-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover > button i, .nav-drop.open > button i { transform: rotate(180deg); }
.drop-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.drop-menu a:hover { background: var(--surface-2); }
.drop-menu i { color: var(--red); width: 20px; margin-top: 4px; text-align: center; }
.drop-menu strong { display: block; font-weight: 600; font-size: .95rem; }
.drop-menu span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; display: grid; place-items: center; cursor: pointer;
  color: var(--text); transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface); }
.theme-toggle .fa-sun { display: none; }
:root[data-theme="light"] .theme-toggle .fa-sun { display: inline; }
:root[data-theme="light"] .theme-toggle .fa-moon { display: none; }
.menu-btn { display: none; }

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .header-actions .login-btn { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 24px; background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--bg); }
  .nav > a, .nav-drop > button { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; width: 100%; justify-content: space-between; }
  .drop-menu {
    position: static; translate: none; transform: none; min-width: 0;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 8px;
    display: none; opacity: 1; visibility: visible;
  }
  .nav-drop:hover .drop-menu { display: none; }
  .nav-drop.open .drop-menu { display: block; }
  .nav .mobile-login { display: flex; margin-top: 12px; }
}
.nav .mobile-login { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .line2 { color: var(--muted); font-weight: 700; }
.hero .lede { margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--green); }

.live-map {
  position: relative; aspect-ratio: 5 / 5.2; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow);
}
.live-map svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .grid line { stroke: var(--map-grid); stroke-width: 1; }
.map .road { fill: none; stroke: var(--map-road); stroke-width: 2.2; stroke-linecap: round; }
.map .road.thin { stroke-width: 1.2; }
.map .river { fill: none; stroke: var(--map-water); stroke-width: 9; stroke-linecap: round; }
.map .route-bg { fill: none; stroke: var(--blue); stroke-opacity: .18; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map .route {
  fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.6s .3s cubic-bezier(.6,.1,.3,1) forwards;
}
.map .pin-ring { fill: var(--red); opacity: .25; transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.map .pin { fill: var(--red); stroke: var(--surface); stroke-width: 3; }
.map .pin.end { fill: var(--blue); }
.map .vehicle { fill: #fff; stroke: var(--blue); stroke-width: 4; }
.map .lbl { font: 600 13px "IBM Plex Sans", sans-serif; fill: var(--text); }
.map .lbl-sub { font: 400 11.5px "IBM Plex Sans", sans-serif; fill: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }

.map-card {
  position: absolute; left: 18px; bottom: 18px; max-width: 250px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  font-size: .86rem; opacity: 0; transform: translateY(10px);
  animation: rise .6s 2.4s ease forwards;
}
.map-card .status { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.map-card p { margin: 0; color: var(--muted); line-height: 1.45; }
@keyframes rise { to { opacity: 1; transform: none; } }

.phone {
  position: absolute; right: 18px; top: 18px; width: 34%; max-width: 190px;
  border-radius: 26px; padding: 7px; background: #05080F;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transform: translateY(16px) rotate(2deg);
  animation: phoneIn .8s 1.2s cubic-bezier(.2,.8,.2,1) forwards;
}
.phone img { border-radius: 20px; width: 100%; }
@keyframes phoneIn { to { opacity: 1; transform: rotate(2deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .live-map { aspect-ratio: 1 / 1; max-width: 560px; }
}
@media (max-width: 480px) {
  .phone { width: 38%; right: 12px; top: 12px; }
  .map-card { left: 12px; bottom: 12px; right: 12px; max-width: none; }
}

/* ---------- Stats strip ---------- */
.stats-strip { border-block: 1px solid var(--line); }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .stats-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- Capability list (home) ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cap { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.cap:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.cap i { font-size: 1.35rem; color: var(--red); margin-bottom: 18px; display: block; }
.cap h3 { margin-bottom: .35em; }
.cap p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .caps { grid-template-columns: 1fr 1fr; }
  .cap, .cap:not(:nth-child(3n+1)) { padding: 26px 20px 28px 0; border-left: 0; }
  .cap:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
  .cap:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.p-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: border-color .2s;
}
.p-card:hover { border-color: var(--line-strong); }
.p-stage {
  position: relative; aspect-ratio: 4 / 3; margin: 8px; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 30%, var(--stage) 55%, var(--stage-2));
  display: grid; place-items: center; overflow: hidden;
}
.p-stage img { width: 78%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.p-card:hover .p-stage img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .76rem; font-weight: 600;
}
.p-body { padding: 14px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-model { color: var(--blue); font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.p-body h3 { font-size: 1.22rem; margin-bottom: 12px; }
.p-feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; color: var(--muted); font-size: .93rem; }
.p-feats li { display: flex; gap: 10px; align-items: baseline; }
.p-feats li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; translate: 0 -2px; }
.p-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.p-actions .btn { flex: 1; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.p-card.hide { display: none; }

/* ---------- Solutions band ---------- */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s;
}
.sol:hover { border-color: var(--red); }
.sol i.ic { font-size: 1.3rem; color: var(--blue); }
.sol h3 { margin: 6px 0 0; font-size: 1.1rem; }
.sol p { color: var(--muted); font-size: .93rem; margin: 0; }
.sol .go { margin-top: auto; padding-top: 10px; color: var(--text); font-weight: 600; font-size: .9rem; }
@media (max-width: 960px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .solutions { grid-template-columns: 1fr; } }

/* ---------- Platform showcase ---------- */
.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.show-tabs { display: flex; flex-direction: column; gap: 4px; }
.show-tab {
  text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
  background: none; cursor: pointer; display: grid; grid-template-columns: 26px 1fr; gap: 4px 12px;
}
.show-tab i { color: var(--muted); margin-top: 4px; grid-row: span 2; }
.show-tab strong { font-weight: 600; }
.show-tab span { color: var(--muted); font-size: .88rem; line-height: 1.4; display: none; }
.show-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); }
.show-tab[aria-selected="true"] i { color: var(--red); }
.show-tab[aria-selected="true"] span { display: block; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-bar span { margin-left: 10px; font-size: .8rem; color: var(--muted); background: var(--bg-2); padding: 3px 12px; border-radius: 999px; }
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .show-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .show-tab { grid-template-columns: auto auto; white-space: nowrap; align-items: center; }
  .show-tab i { grid-row: auto; margin: 0; }
  .show-tab[aria-selected="true"] span { display: none; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quote {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 22px;
  padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
}
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.quote blockquote::before { content: "\201C"; display: block; font-family: "Bricolage Grotesque", serif; font-size: 3.2rem; line-height: .6; color: var(--red); margin-bottom: 14px; }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: top; }
.who strong { display: block; }
.who span { color: var(--muted); font-size: .88rem; }
@media (min-width: 1100px) { .quotes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(36px, 6vw, 64px); background: var(--red); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .9; max-width: 54ch; }
.cta-band .btn-light { background: #fff; color: #1a0f0c; }
.cta-band .btn-light:hover { background: #ffe9e4; }
.cta-band .btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-band .btn-outline-light:hover { border-color: #fff; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 60px rgba(255,255,255,.05), 0 0 0 120px rgba(255,255,255,.04);
  pointer-events: none;
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-size: .65rem; align-self: center; opacity: .6; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pd-stage {
  position: sticky; top: 96px; aspect-ratio: 1 / 1; border-radius: 28px;
  background: radial-gradient(110% 90% at 50% 35%, var(--stage) 55%, var(--stage-2));
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line);
}
.pd-stage img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.pd-model { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 15%, transparent); color: var(--blue); font-weight: 600; font-size: .88rem; margin-bottom: 16px; }
.pd h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pd-desc { color: var(--muted); font-size: 1.07rem; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.checks li i { color: var(--green); margin-top: 5px; font-size: .85rem; }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }
.docs { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; }
.docs h2 { font-size: 1rem; font-family: "IBM Plex Sans", sans-serif; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.doc-list { display: flex; flex-wrap: wrap; gap: 10px; }
.doc {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: .93rem; transition: border-color .2s;
}
.doc:hover { border-color: var(--blue); }
.doc i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); font-size: .85rem; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-stage { position: relative; top: 0; aspect-ratio: 4 / 3; }
}

.tabs { margin-top: clamp(48px, 7vw, 80px); }
.tab-list {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button {
  padding: 10px 20px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.tab-list button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tab-panel { padding-top: 34px; }
.tab-panel[hidden] { display: none; }

/* Long-form text inside tabs and legal pages */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.6rem; margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.specs-table { width: 100%; max-width: 860px; border-collapse: collapse; font-size: .97rem; }
.specs-table th, .specs-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-table th { width: 38%; color: var(--muted); font-weight: 500; }
.specs-table tr:hover td, .specs-table tr:hover th { background: var(--surface); }
@media (max-width: 560px) {
  .specs-table, .specs-table tbody, .specs-table tr, .specs-table th, .specs-table td { display: block; width: 100%; }
  .specs-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .specs-table th, .specs-table td { border: 0; padding: 2px 0; }
  .specs-table th { font-size: .85rem; }
}

.support-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; max-width: none; }
.support-card { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.support-card h3 { margin: 0 0 8px; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.support-card h3 i { color: var(--red); }
.support-card p { font-size: .93rem; }
.support-card a { color: var(--blue); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-size: .93rem; }

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); font-size: 1.1rem; margin-bottom: 20px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.card li { margin-bottom: .5em; }
.card li::marker { color: var(--red); }
.card li strong { color: var(--text); font-weight: 600; }

.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.video-card div { padding: 18px 22px 22px; }
.video-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.video-card p { color: var(--muted); margin: 0; font-size: .94rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.svc .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 15%, transparent); color: var(--blue); font-size: 1.15rem; margin-bottom: 20px; }
.svc h3 { font-size: 1.25rem; }
.svc p { color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.svc li { display: flex; gap: 10px; font-size: .95rem; }
.svc li i { color: var(--green); margin-top: 5px; font-size: .8rem; }
.svc .btn { margin-top: auto; align-self: flex-start; }

/* Application page */
.app-block { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.app-block.mobile { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) { .app-block, .app-block.mobile { grid-template-columns: 1fr; } }
.shots { display: grid; gap: 14px; }
.shots .browser img { aspect-ratio: auto; }
.shots-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phones { display: flex; gap: 14px; justify-content: center; }
.phones .ph { flex: 1; max-width: 220px; border-radius: 26px; padding: 7px; background: #05080F; box-shadow: var(--shadow); }
.phones .ph img { border-radius: 20px; }
.phones .ph:nth-child(2) { translate: 0 30px; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 520px) { .feat-list { grid-template-columns: 1fr; } }
.feat { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat i { color: var(--red); margin-top: 5px; grid-row: span 2; }
.feat strong { font-weight: 600; }
.feat span { color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 0; }
.info { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info:first-child { padding-top: 0; }
.info .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--red); }
.info h3 { font-size: 1rem; margin: 0 0 4px; font-family: "IBM Plex Sans", sans-serif; letter-spacing: 0; font-weight: 600; }
.info p { margin: 0; color: var(--muted); }
.info a:hover { color: var(--blue); }
.form-card { padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.6rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.field[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--text); font-size: .93rem; }
.form-status[hidden] { display: none; }
.map-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
:root[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
.map-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.map-head h2 { margin: 0; }

/* Support / FAQ */
.faq-tools { display: flex; gap: 12px; margin-bottom: 26px; }
.search { position: relative; flex: 1; max-width: 520px; }
.search i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.search input:focus { outline: none; border-color: var(--blue); }
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: "Bricolage Grotesque", sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font: 400 1.2rem/1 "IBM Plex Sans", sans-serif; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--surface); }
.faq .answer { padding: 0 0 24px; }
.faq-empty { color: var(--muted); padding: 24px 0; }
.faq-empty[hidden] { display: none; }

/* Legal */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: .92rem; border-left: 1px solid var(--line); }
.toc a { color: var(--muted); padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--red); }
.legal section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.legal section:last-child { border-bottom: 0; }
.legal .note { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); margin: 16px 0; }
.legal .note p { margin: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h3 { font-family: "IBM Plex Sans", sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid ul a { color: var(--muted); font-size: .94rem; word-break: break-word; }
.foot-grid ul a:hover { color: var(--text); }
.foot-about p { color: var(--muted); font-size: .94rem; max-width: 40ch; margin: 16px 0 20px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.socials a:hover { color: var(--text); border-color: var(--line-strong); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.foot-bottom nav { display: flex; gap: 18px; }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Cookie notice */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 380px;
  padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); font-size: .92rem;
}
.consent[hidden] { display: none; }
.consent strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.consent p { color: var(--muted); margin: 0 0 14px; }
.consent .btn-row { gap: 8px; }
@media (max-width: 520px) { .consent { left: 12px; right: 84px; bottom: 12px; max-width: none; padding: 16px; } }

/* Reveal (single, subtle) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .map .route { stroke-dashoffset: 0; }
  .map .vehicle { display: none; }
}
