:root{
  /* Core brand palette (from legacy build) */
  --navy:#1A1A35;      /* azul-900 */
  --orange:#DF2F20;    /* laranja-400 */
  --purple:#3C216E;    /* roxo-800 */
  --purple-2:#4D277A;  /* roxo-700 */
  --purple-3:#8F75B0;  /* roxo-300 */
  --purple-900:#2C1161;

  --gray-50:#F8F8F8;
  --gray-100:#E8E8E8;
  --gray-200:#D1D1D1;
  --gray-300:#B9B9B9;
  --gray-500:#8B8B8B;
  --gray-900:#2E2E2E;

  /* Theme tokens */
  --bg:var(--gray-50);
  --surface:#FFFFFF;
  --surface-2:var(--gray-100);
  --text:var(--gray-900);
  --muted:var(--gray-500);

  --primary:var(--orange);
  --primary-2:#E05434; /* used in legacy hover states */
  --accent:var(--purple);
  --accent-2:var(--purple-2);

  --border:rgba(26,26,53,.14);
  --shadow:0 14px 30px rgba(0,0,0,.12);
  --radius:16px;
  --max:1120px;
  --home-desktop-scale:.9;

  /* Scrollbar (light) */
  --scrollbar-track:rgba(26,26,53,.05);
  --scrollbar-thumb:rgba(29,78,216,.34);
  --scrollbar-thumb-hover:rgba(29,78,216,.48);
  --scrollbar-thumb-active:rgba(223,47,32,.42);
}

/* Dark theme */
body.dark-theme{
  --bg:#0F1419;
  --surface:#1A1F2E;
  --surface-2:#242B3A;
  --text:#E8EAED;
  --muted:#8B95A6;
  --border:rgba(29,78,216,.25);

  /* Scrollbar (dark) */
  --scrollbar-track:rgba(148,163,184,.08);
  --scrollbar-thumb:rgba(96,165,250,.34);
  --scrollbar-thumb-hover:rgba(96,165,250,.5);
  --scrollbar-thumb-active:rgba(248,113,113,.44);
}

html.dark,
html[data-theme="dark"]{
  --scrollbar-track:rgba(148,163,184,.08);
  --scrollbar-thumb:rgba(96,165,250,.34);
  --scrollbar-thumb-hover:rgba(96,165,250,.5);
  --scrollbar-thumb-active:rgba(248,113,113,.44);
}

body.dark-theme ::selection{
  background:rgba(29,78,216,.5);
  color:#E8EAED;
}


*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overflow-x:clip;
}

/* Global scrollbar (modern/minimal) */
html{
  scrollbar-width:thin;
  scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);
}
html::-webkit-scrollbar{
  width:14px;
  height:14px;
}
html::-webkit-scrollbar-track{
  background:linear-gradient(180deg, transparent, var(--scrollbar-track), transparent);
}
html::-webkit-scrollbar-thumb{
  border-radius:999px;
  border:4px solid transparent;
  background-clip:padding-box;
  background:
    linear-gradient(180deg, rgba(29,78,216,.24), rgba(223,47,32,.14)) padding-box,
    linear-gradient(180deg, var(--scrollbar-thumb), var(--scrollbar-thumb)) padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    0 1px 4px rgba(15,23,42,.08);
  min-height:42px;
}
html::-webkit-scrollbar-thumb:hover{
  background:
    linear-gradient(180deg, rgba(29,78,216,.28), rgba(223,47,32,.18)) padding-box,
    linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb-hover)) padding-box;
}
html::-webkit-scrollbar-thumb:active{
  background:
    linear-gradient(180deg, rgba(29,78,216,.24), rgba(223,47,32,.22)) padding-box,
    linear-gradient(180deg, var(--scrollbar-thumb-active), var(--scrollbar-thumb-active)) padding-box;
}
html::-webkit-scrollbar-corner{
  background:transparent;
}

body{
  font-family: "Garet", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color:var(--bg);
  background-image:
    /* Grid pattern */
    linear-gradient(90deg, rgba(29,78,216,.03) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.03) 1px, transparent 1px),
    /* Gradient radial azul */
    radial-gradient(900px 520px at 12% -8%, rgba(29,78,216,.14), transparent 60%),
    radial-gradient(900px 520px at 92% 0%, rgba(223,47,32,.12), transparent 55%),
    /* Fundo base com padrao azul sutil */
    radial-gradient(1200px 800px at 50% 100%, rgba(29,78,216,.08), transparent 80%);
  background-size:
    50px 50px,
    50px 50px,
    100% 100%,
    100% 100%,
    100% 100%;
  background-attachment:scroll;
  color:var(--text);
  line-height:1.5;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  overflow-x:clip;
}
main{flex:1 0 auto}

/* Prevent first-route CLS: hold footer until SPA content is rendered. */
body.route-loading .site-footer{
  display:none;
}

/* Reserve viewport space while the first route is loading. */
body.route-loading #app{
  min-height:70vh;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
iframe{display:block;max-width:100%}
.container{width:min(var(--max), calc(100% - 32px)); margin-inline:auto}
.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Desktop home layout tuned to match a 90% browser zoom look without user intervention. */
@media (min-width: 1200px){
  body.home-route{
    zoom:var(--home-desktop-scale);
    width:calc(100% / var(--home-desktop-scale));
    max-width:none;
    margin-left:calc((100% - (100% / var(--home-desktop-scale))) / 2);
  }
}

/* Header */
header{
  position:sticky;
  top:12px;
  z-index:60;
  background:transparent;
  border:0;
  box-shadow:none;
  padding-bottom:0;
}
header .container{
  position:relative;
  width:min(1360px, calc(100% - 24px));
}
.nav{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:18px;
  padding:10px 14px;
  border-radius:22px;
  border:1px solid rgba(26,26,53,.12);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 12px 34px rgba(8,18,40,.16);
}
.brand{display:flex;align-items:center;gap:12px;font-family:"League Spartan", system-ui, sans-serif; flex:0 0 auto}
header nav{min-width:0; padding:0 6px}
.brand img{height:34px;width:auto}
.brand-logo-full{
  width:123px;
  height:34px;
  object-fit:contain;
  display:block;
}
.brand-logo-icon{
  display:none;
  width:34px;
  height:34px;
  object-fit:contain;
}
.brand span{
  font-weight:700;
  letter-spacing:.2px;
  color:var(--navy);
  white-space:nowrap;
}
nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
header nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  color:rgba(26,26,53,.78);
  padding:8px 9px;
  border-radius:10px;
  transition:background .2s, color .2s, transform .2s;
}
header nav a[data-i18n="nav.home"]{min-width:92px}
header nav a[data-i18n="nav.services"]{min-width:78px}
header nav a[data-i18n="nav.solutions"]{min-width:84px}
header nav a[data-i18n="nav.clients"]{min-width:68px}
header nav a[data-i18n="nav.partners"]{min-width:86px}
header nav a[data-i18n="nav.location"]{min-width:98px}
header nav a[data-i18n="nav.contact"]{min-width:72px}
header nav a{white-space:nowrap}
header nav a:hover{background:rgba(26,26,53,.08); color:var(--navy)}
header nav a.active{color:#fff; background:rgba(223,47,32,.88)}
header nav a.active-section{color:#fff; background:rgba(223,47,32,.88)}
header nav a[data-i18n="nav.partners"]{
  border:1px solid rgba(223,47,32,.24);
  background:rgba(223,47,32,.08);
}
header nav a[data-i18n="nav.partners"]:hover{
  background:rgba(223,47,32,.14);
  border-color:rgba(223,47,32,.36);
}
header nav a[data-i18n="nav.partners"].active{
  color:var(--navy);
  background:rgba(223,47,32,.24);
  border-color:rgba(223,47,32,.44);
}
header nav a[data-i18n="nav.partners"].active-section{
  color:var(--navy);
  background:rgba(223,47,32,.24);
  border-color:rgba(223,47,32,.44);
}
.nav-right{display:flex;align-items:center;gap:9px; flex:0 0 auto; margin-left:18px}
.lang{
  background:rgba(26,26,53,.04);
  border:1px solid rgba(26,26,53,.14);
  color:var(--navy);
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}
.lang:hover{
  background:rgba(26,26,53,.08);
  border-color:rgba(26,26,53,.24);
}
.lang:focus{
  outline:none;
  border-color:rgba(223,47,32,.5);
  background:rgba(223,47,32,.08);
}
.lang option{
  background:var(--navy);
  color:#fff;
  padding:8px;
  border:none;
}
.lang option:hover{
  background:rgba(29,78,216,.8);
}
.theme-toggle{
  background:rgba(26,26,53,.04);
  border:1px solid rgba(26,26,53,.14);
  color:var(--navy);
  width:36px;
  height:36px;
  border-radius:10px;
  cursor:pointer;
  transition:all .3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.theme-toggle:hover{
  background:rgba(26,26,53,.1);
  border-color:rgba(26,26,53,.24);
  transform:rotate(20deg);
}
body.dark-theme .theme-toggle{
  color:var(--text);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  color:var(--navy);
  background:var(--surface);
  box-shadow:none;
  cursor:pointer;
  transition:transform .15s, background .2s, border-color .2s;
  font-weight:600;
  font-size:14px;
}
body.dark-theme .btn{
  color:var(--text);
  border-color:rgba(29,78,216,.3);
  background:linear-gradient(135deg, rgba(29,78,216,.12) 0%, rgba(29,78,216,.06) 100%);
}
.btn:hover{transform:translateY(-1px); border-color:rgba(26,26,53,.28)}
body.dark-theme .btn:hover{
  border-color:rgba(29,78,216,.5);
}
.btn.primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color:rgba(223,47,32,.75);
  color:#fff;
}
header .btn{
  border-color:rgba(26,26,53,.16);
  background:rgba(26,26,53,.04);
  color:var(--navy);
  font-size:12px;
  padding:8px 12px;
  transition:all .3s ease;
}
header .btn:hover{
  border-color:rgba(26,26,53,.26);
  background:rgba(26,26,53,.1);
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(223,47,32,.2);
}
header .btn.primary{
  border: none;
  background:linear-gradient(135deg, rgba(217, 32, 223, 0.753), rgba(223, 32, 143, 0.904));
  color:var(--navy);
  font-weight:600;
  letter-spacing:.01em;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.btn.primary.xguard-cta{
  display:inline-flex;
  align-items:center;
  gap:0;

  /* DIMENSÃO: alinhar com os controles da navbar (theme-toggle = 36x36) */
  width:36px;
  height:36px;
  min-width:36px;
  min-height:36px;
  justify-content:center;
  padding:0 8px;
  line-height:1;

  /* COR: roxo (sem vermelho) */
  border-color:rgba(77,39,122,.35);
  background:linear-gradient(135deg, rgba(77,39,122,1), rgba(109,63,191,1));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);

  /* mantém sua animação (não mexi) */
  transition:width .26s ease, padding .26s ease, border-color .26s ease, background .26s ease, box-shadow .26s ease;
}

.xguard-cta-icon{
  width:20px;
  height:20px;
  object-fit:contain;
  flex:0 0 auto;
  align-self:center;
}
.xguard-cta-text{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  max-width:0;
  height:100%;
  opacity:0;
  margin-left:0;
  white-space:nowrap;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size:12px;
  line-height:1;
  font-weight:700;
  color:#f3f5ff;
  transform-origin:left center;
  transition:max-width .26s ease, opacity .2s ease, margin-left .26s ease, transform .22s ease, letter-spacing .22s ease, color .22s ease;
}
@media (hover:hover){
  .btn.primary.xguard-cta:hover,
  .btn.primary.xguard-cta:focus-visible{
    color: white;
    width:168px;
    justify-content:flex-start;
    padding:0 13px 0 11px;

    /* COR: roxo (sem vermelho) */
    border-color:rgba(109,63,191,.55);
    background:linear-gradient(135deg, rgba(77,39,122,.92), rgba(109,63,191,.88));
    box-shadow:0 8px 16px rgba(77,39,122,.22);
  }

  .btn.primary.xguard-cta:hover .xguard-cta-text,
  .btn.primary.xguard-cta:focus-visible .xguard-cta-text{
    max-width:120px;
    opacity:1;
    margin-left:24px;
    transform:translateY(0);
    color:#ffffff;
  }
}
header .btn.primary::before{
  content:none;
}
header .btn.primary:hover::before{
  left:auto;
}
header .btn.primary:hover{
  border-color:rgba(223, 32, 137, 0.46);
  background:linear-gradient(135deg, rgba(223, 32, 207, 0.2), rgba(223, 32, 150, 0.12));
  box-shadow:0 8px 16px rgba(8,18,40,.16);
}

.burger{display:none}
.mobile-menu{
  display:none;
  margin-top:10px;
  padding:8px;
  border:1px solid rgba(26,26,53,.14);
  border-radius:16px;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 30px rgba(8,18,40,.18);
}
.mobile-menu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:rgba(26,26,53,.8);
}
.mobile-menu a:hover{background:rgba(26,26,53,.08); color:var(--navy)}
.mobile-menu a.active-section{
  background:rgba(223,47,32,.16);
  color:var(--primary);
  border:1px solid rgba(223,47,32,.28);
}

@media (max-width: 1400px){
  .nav-right .btn.primary:not(.xguard-cta){display:none}
}

@media (max-width: 1240px){
  header nav{display:none}
  .xguard-cta{display:none}
  .nav{
    grid-template-columns:auto 1fr auto;
  }
  .nav-right{
    margin-left:0;
    justify-self:end;
  }
  .burger{display:inline-flex}
  .mobile-menu.open{display:block}
}

@media (max-width: 640px){
  header{
    top:0;
    padding-bottom:0;
  }
  .nav{
    border-radius:0;
    padding:10px 0;
    border-left:0;
    border-right:0;
  }
  .brand{
    gap:0;
  }
  .brand-logo-full{
    display:none;
  }
  .brand-logo-icon{
    display:block;
  }
  .brand span{display:none}
  .lang{padding:7px 8px}
  .theme-toggle{width:34px;height:34px}
}

/* Hero */
.hero{
  padding:96px 0 28px;
  position:relative;
  overflow:visible;
}

/* Home hero: keep strong first fold without creating large empty area */
.hero--home{
  min-height:clamp(500px, 68vh, 620px);
  padding-bottom:28px;
}
.hero--home::before{
  bottom:-96px;
}
@media (min-width: 981px){
  .hero--home{
    margin-top:-74px;
    padding-top:170px;
  }
}
.hero::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(29,78,216,.055) 39px, rgba(29,78,216,.055) 40px),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(29,78,216,.055) 39px, rgba(29,78,216,.055) 40px),
    radial-gradient(780px 420px at 8% -14%, rgba(29,78,216,.16), transparent 72%),
    radial-gradient(740px 420px at 94% -8%, rgba(223,47,32,.12), transparent 70%);
  pointer-events:none;
  z-index:0;
}
.hero::after{
  content:'';
  position:absolute;
  width:380px;
  height:380px;
  right:-120px;
  top:84px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(29,78,216,.15), rgba(29,78,216,0) 70%);
  filter:blur(2px);
  pointer-events:none;
  z-index:0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
  position:relative;
  z-index:1;
}
.hero-brandline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
}
.hero-brand-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  background:none;
  color:var(--navy);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1;
}
.hero-brand-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--primary);
  flex:0 0 auto;
}
.hero-brand-badge::after{
  content:"|";
  color:rgba(63,75,96,.55);
  font-weight:600;
  margin-left:2px;
}
.hero-brand-desc{
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:600;
  opacity:.92;
}
.kicker{display:inline-flex; align-items:center; gap:10px; color:var(--muted); font-size:13px}
.kicker{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
}
.kicker:before{content:""; width:10px;height:10px;border-radius:50%; background:var(--primary)}
h1{
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:44px;
  line-height:1.05;
  margin:12px 0 10px;
  letter-spacing:-.5px;
  color:var(--navy);
}
.hero--home h1{
  font-size:clamp(36px, 3.9vw, 50px);
  line-height:1.04;
  margin:12px 0 14px;
  max-width:18ch;
  letter-spacing:-.02em;
}
body.dark-theme h1{
  color:var(--text);
}
body.dark-theme .hero-brand-badge{
  color:#eff6ff;
}
body.dark-theme .hero-brand-desc{
  color:#94a3b8;
}
body.dark-theme .hero-brand-badge::after{
  color:rgba(148,163,184,.62);
}
.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.52;
  max-width:60ch;
  margin:0 0 14px;
}
.hero--home .lead{
  max-width:54ch;
  font-size:clamp(17px, 1.28vw, 24px);
  line-height:1.48;
  color:#5c6476;
}
.hero-company-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 10px;
}
.hero-company-tag{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#3a4152;
  border:1px solid rgba(223,47,32,.28);
  background:linear-gradient(135deg, rgba(255,251,250,.84), rgba(255,240,236,.7));
  box-shadow:0 5px 12px rgba(223,47,32,.06);
}
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.hero-trust-item{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:#1f2f4f;
  border:1px solid rgba(26,26,53,.18);
  background:linear-gradient(135deg, rgba(255,255,255,.9), rgba(245,248,255,.75));
  box-shadow:0 8px 22px rgba(26,26,53,.08), inset 0 1px 0 rgba(255,255,255,.92);
}
.hero-card{
  border:1px solid rgba(29,78,216,.38);
  background:linear-gradient(135deg, #0f223f 0%, #153769 55%, #1d4ed8 100%);
  border-radius:var(--radius);
  box-shadow:0 10px 24px rgba(16,40,82,.16);
  overflow:hidden;
  color:#fff;
  animation:slideInUp .6s ease forwards;
  position:relative;
}
.hero-card::before{
  content:'';
  position:absolute;
  top:0; left:0;
  right:0; bottom:0;
  background:linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.hero-card::after{
  content:'';
  position:absolute;
  width:220px;
  height:220px;
  right:-84px;
  bottom:-84px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(59,130,246,.24) 0%, rgba(59,130,246,0) 68%);
  pointer-events:none;
}
@keyframes slideInUp{
  from{opacity:0; transform:translateY(20px)}
  to{opacity:1; transform:translateY(0)}
}
.hero-card .slide-caption{color:rgba(255,255,255,.78)}
.hero-card .slide-title{color:#fff}
.hero-card-inner{
  padding:28px;
  position:relative;
  z-index:1;
  min-height:200px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.slider{
  display:flex; gap:0;
  position:relative;
  min-height:140px;
  width:100%;
}
.slide{
  display:none;
  width:100%;
  opacity:0;
}
.slide.active{
  display:block;
  animation:fadeIn .5s ease forwards;
  width:100%;
}
@keyframes fadeIn{
  from{opacity:0; transform:translateY(4px)}
  to{opacity:1; transform:translateY(0)}
}
.slide-title{
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:24px;
  font-weight:700;
  margin:0 0 12px;
  word-wrap:break-word;
  letter-spacing:-.3px;
  color:#fff;
  line-height:1.3;
}
.slide-caption{
  color:rgba(255,255,255,.88);
  margin:0;
  word-wrap:break-word;
  line-height:1.6;
  font-size:15px;
}
.dots{
  display:flex;
  gap:6px;
  justify-content:center;
  margin-top:18px;
  padding-bottom:10px;
  position:relative;
  z-index:2;
}
.dot{
  width:44px;
  height:44px;
  border-radius:999px;
  background:transparent;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.dot::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background-color:rgba(203,213,225,.75);
  border:2px solid rgba(148,163,184,.45);
  transition:
    transform .28s ease,
    width .28s ease,
    border-radius .28s ease,
    background-color .28s ease,
    border-color .28s ease;
}
.dot:hover::before,
.dot:focus-visible::before{
  background-color:rgba(148,163,184,.95);
  transform:scale(1.2);
}
.dot:focus-visible{
  outline:2px solid rgba(29,78,216,.45);
  outline-offset:2px;
}
.dot.active::before{
  width:28px;
  border-radius:50px;
  background:linear-gradient(90deg, #1d4ed8, #1e40af);
  border-color:rgba(191,219,254,.85);
  transform:none;
}

.hero-art{
  position:relative;
  border-radius:22px;
  border:1.5px solid rgba(29,78,216,.44);
  background:
    linear-gradient(90deg, rgba(29,78,216,.045) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.045) 1px, transparent 1px),
    radial-gradient(360px 230px at 18% 24%, rgba(223,47,32,.24), transparent 66%),
    radial-gradient(300px 240px at 86% 20%, rgba(29,78,216,.26), transparent 64%),
    linear-gradient(145deg, rgba(250,252,255,.9), rgba(237,243,252,.72));
  background-size:
    40px 40px,
    40px 40px,
    100% 100%,
    100% 100%,
    100% 100%;
  overflow:hidden;
  min-height:346px;
  box-shadow:
    0 26px 70px rgba(29,78,216,.14),
    inset 0 1px 2px rgba(255,255,255,.34);
}
.hero-art::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.34), rgba(255,255,255,0) 44%);
  pointer-events:none;
  z-index:0;
}
.hero-art img.fog{
  position:absolute;
  right:-28px;
  bottom:-26px;
  width:120%;
  max-width:none;
  opacity:.22;
  filter:blur(.2px);
}
.hero-art-copy{
  position:absolute;
  left:24px;
  right:24px;
  top:84px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(29,78,216,.24);
  background:linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.12));
  backdrop-filter:blur(4px);
}
.hero-art-copy h3{
  margin:0 0 6px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:18px;
  line-height:1.2;
  color:var(--navy);
}
.hero-art-copy p{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#3f4b60;
}
.hero-art-value{
  position:absolute;
  left:24px;
  right:24px;
  top:202px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(29,78,216,.2);
  background:linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.1));
  backdrop-filter:blur(3px);
}
.hero-art-value h4{
  margin:0 0 8px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:15px;
  line-height:1.2;
  color:var(--navy);
}
.hero-art-list{
  margin:0;
  padding:0;
  list-style:none;
}
.hero-art-list li{
  margin:6px 0;
  padding-left:12px;
  position:relative;
  font-size:13px;
  line-height:1.4;
  color:#44526b;
}
.hero-art-list li::before{
  content:'-';
  position:absolute;
  left:0;
  color:var(--primary);
  font-weight:700;
}
.hero-art .tag{
  position:absolute; left:24px; top:306px;
  display:flex; flex-wrap:wrap; gap:9px;
}

/* Home hero (variant): reuse the hero-art visual style, but center a single block of content */
.hero-art--solo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.hero-art--solo .hero-art-copy{
  position:relative;
  left:auto;
  right:auto;
  top:auto;
  width:100%;
  max-width:520px;
}
.hero-art--solo .hero-art-copy h3,
.hero-art--solo .hero-art-copy p{
  text-align:left;
}

/* Home hero (variant): right panel with carousel text (no inner glass card) */
.hero-art--carousel{
  display:flex;
  align-items:stretch;
  justify-content:center;
  padding:30px 20px;
}
.hero-art.hero-art--carousel{
  min-height:356px;
}

.hero-art--carousel .hero-art-carousel{
  width:100%;
  max-width:560px;
  height:100%;
  padding:22px 18px 14px;
  border:1.5px solid rgba(29,78,216,.24);
  border-radius:18px;
  background:linear-gradient(140deg, rgba(255,255,255,.76), rgba(255,255,255,.44));
  box-shadow:0 16px 32px rgba(29,78,216,.12), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter:blur(4px);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.hero-art--carousel .slide-title{
  color:var(--navy);
  font-size:clamp(25px, 2vw, 31px);
  line-height:1.14;
  margin:0 0 12px;
  max-width:20ch;
}

.hero-art--carousel .slide-caption{
  color:#43506a;
  font-size:15px;
  line-height:1.6;
}
.hero-art--carousel .slider--horizontal{
  min-height:0;
  flex:0 0 auto;
  order:1;
}
.hero-art-meta{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid rgba(29,78,216,.2);
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
.hero-art-meta-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:10px;
  color:#26344f;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.24);
  background:linear-gradient(135deg, rgba(255,255,255,.84), rgba(241,246,255,.6));
  text-transform:uppercase;
  letter-spacing:.03em;
  font-weight:700;
  text-align:center;
  min-height:34px;
}
.hero-art-meta-item::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#1d4ed8;
  flex:0 0 auto;
}

/* Horizontal carousel mechanics */
.slider--horizontal{
  overflow:hidden;
  min-height:160px;
  width:100%;
}

.slider--horizontal .slider-track{
  display:flex;
  width:100%;
  transition:transform .55s ease;
  will-change:transform;
}

.slider--horizontal .slide{
  display:block;
  opacity:1;
  flex:0 0 100%;
}

.slider--horizontal .slide.active{
  animation:none;
}

.dots--subtle{
  justify-content:flex-start;
  margin-top:14px;
  padding-bottom:0;
}
.hero-art--carousel .hero-art-meta{
  margin-top:28px;
  order:2;
}
.hero-art--carousel .dots--subtle{
  margin-top:12px;
  order:3;
}
.dots--subtle .dot{
  width:44px;
  height:44px;
}
.dots--subtle .dot::before{
  width:10px;
  height:10px;
  border-width:1px;
  background:rgba(148,163,184,.44);
}
.dots--subtle .dot.active::before{
  width:34px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(223,47,32,.86), rgba(29,78,216,.9));
  border-color:rgba(255,255,255,.9);
}

/* Scroll hint */
.scroll-down{
  position:absolute;
  left:50%;
  /* Keep the hint visible on initial load even with the sticky header in flow */
  bottom:-18px;
  transform:translateX(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.28);
  background:rgba(255,255,255,.6);
  backdrop-filter:blur(10px) saturate(140%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(16,40,82,.12);
  transition:opacity .24s ease, transform .24s ease, box-shadow .24s ease;
  z-index: 99999;
}

.scroll-down.is-hidden{
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) translateY(8px);
}

@media (max-width: 1240px){
  .scroll-down{display:none}
}

.scroll-down:hover{
  transform:translateX(-50%) translateY(-1px);
}

.scroll-down-icon{
  font-size:18px;
  margin-bottom: 15px;
  line-height:1;
  color:var(--navy);
  animation:scrollHint 1.4s ease-in-out infinite;
}

@keyframes scrollHint{
  0%, 100%{ transform:translateY(0) }
  50%{ transform:translateY(6px) }
}
.pill{
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--navy);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(26,26,53,.16);
  background:rgba(255,255,255,.74);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

body.dark-theme .pill{
  color:#E8EAED;
  border-color:rgba(148,163,184,.42);
  background:rgba(51,65,85,.52);
  box-shadow:inset 0 1px 0 rgba(148,163,184,.15);
}

/* Sections */
section{
  padding:54px 0;
  position:relative;
}
#servicos{
  scroll-margin-top:104px;
}
#sobre-xmart{
  scroll-margin-top:104px;
}

body.home-at-top main .hero--home ~ section{
  opacity:0;
  pointer-events:none;
}

main > section:not(.hero--home){
  transition:opacity .28s ease;
}

.about-brief-section{
  padding-top:22px;
}

.about-brief{
  border-color:rgba(29,78,216,.22);
}

.about-brief-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-top:6px;
}

.about-brief-head .section-title{
  margin-bottom:0;
}

.about-brief-years{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(29,78,216,.24);
  background:rgba(29,78,216,.08);
  color:var(--navy);
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:8px 12px;
  white-space:nowrap;
}

.about-brief-points{
  margin:14px 0 0;
  padding-left:18px;
  color:var(--navy);
}

.about-brief-points li{
  margin:8px 0;
  line-height:1.5;
}

#home-about-certification {
  color: #1fa855;
}

#home-about-certification::marker {
  content: "✓";
  color: green;
  font-weight: 600;
}

section:nth-child(odd){
  background:
    linear-gradient(90deg, rgba(29,78,216,.02) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.02) 1px, transparent 1px),
    radial-gradient(1000px 600px at 50% 50%, rgba(29,78,216,.04), transparent 70%);
  background-size:60px 60px, 60px 60px, 100% 100%;
}
section:nth-child(even){
  background:
    linear-gradient(90deg, rgba(60,33,110,.02) 1px, transparent 1px),
    linear-gradient(rgba(60,33,110,.02) 1px, transparent 1px);
  background-size:70px 70px, 70px 70px;
}
.section-title{
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:28px;
  margin:0 0 12px;
  color:var(--navy);
}
body.dark-theme .section-title{
  color:var(--text);
}
.section-sub{color:var(--muted); margin:0 0 18px; max-width:80ch}
.section-title-sm{font-size:22px}
.page-hero{margin-bottom:24px}
.page-hero h1{margin-bottom:10px}
.proof-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.proof-item{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--navy);
  border:1px solid rgba(26,26,53,.14);
  background:rgba(255,255,255,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.section-intro{margin-bottom:14px}
.cta-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px}
.mt-10{margin-top:10px}
.mt-14{margin-top:14px}
.mt-16{margin-top:16px}
.mt-18{margin-top:18px}
.mt-24{margin-top:24px}
.mt-26{margin-top:26px}
.mt-32{margin-top:32px}
.no-top-margin{margin-top:0}
p, li, h1, h2, h3{overflow-wrap:anywhere}

.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:18px}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.card{
  border:1px solid rgba(29,78,216,.3);
  background:linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 100%);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.1),
    inset 0 1px 2px rgba(255,255,255,.8);
  backdrop-filter:blur(8px);
  transition:all .3s ease;
}
.card:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 12px 48px rgba(0,0,0,.15),
    inset 0 1px 2px rgba(255,255,255,.8);
  transform:translateY(-2px);
}
.card h3{margin:0 0 8px; font-family:"League Spartan", system-ui, sans-serif; font-size:18px; color:var(--navy)}
body.dark-theme .card h3{color:var(--text)}
.card p{margin:0; color:var(--muted)}
.card.card-image{
  padding:0;
  overflow:hidden;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  border-radius:0;
  transition:none;
}
.card.card-image:hover{
  border:0;
  background:transparent;
  box-shadow:none;
  transform:none;
}
.card.card-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform-origin:top center;
  will-change:transform;
}
.services-approach-showcase{
  display:grid;
  grid-template-columns:minmax(320px, 44%) 1fr;
  gap:22px;
  align-items:stretch;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(260px 160px at 18% 24%, rgba(29,78,216,.12), transparent 70%),
    radial-gradient(320px 180px at 30% 84%, rgba(223,47,32,.08), transparent 72%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,250,255,.88));
}
.services-approach-showcase::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(29,78,216,.045) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.045) 1px, transparent 1px);
  background-size:28px 28px;
  opacity:.34;
  pointer-events:none;
}
.services-approach-showcase::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:calc(44% + 11px);
  width:1px;
  background:linear-gradient(180deg, transparent, rgba(29,78,216,.2), transparent);
  pointer-events:none;
}
.services-approach-visual{
  border-radius:18px;
  padding:16px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:space-between;
  background:transparent;
}
.services-approach-visual::after{
  content:"";
  position:absolute;
  top:52%;
  left:50%;
  width:min(66%, 340px);
  aspect-ratio:1/1;
  transform:translate(-50%, -50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(29,78,216,.16) 0%, rgba(29,78,216,0) 70%);
  pointer-events:none;
  z-index:0;
}
.services-approach-heading{
  margin:0 0 10px;
  color:var(--navy);
  font-size:clamp(26px, 3.2vw, 34px);
  letter-spacing:-.02em;
}
.services-approach-title{
  margin:0 0 10px;
  font-size:16px;
  font-weight:500;
  line-height:1.45;
  color:#334155;
}
.services-approach-copy{
  margin:0;
  color:#475569;
  font-size:14px;
  line-height:1.6;
}
.services-approach-content{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:4px 2px;
  position:relative;
  z-index:1;
}
.services-approach-visual img{
  width:min(100%, 500px);
  margin:0 auto;
  height:auto;
  object-fit:contain;
  display:block;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 14px 26px rgba(15,23,42,.2));
}
.services-approach-visual .deteccao-360-img{
  transform:translate3d(0, 0, 0) scale(1) rotate(0deg);
  transform-origin:center center;
  backface-visibility:hidden;
  transition:
    transform 1.05s cubic-bezier(.45, .05, .2, 1),
    filter 1.05s cubic-bezier(.45, .05, .2, 1);
}
@media (hover:hover) and (pointer:fine){
  .services-approach-visual:hover .deteccao-360-img,
  .services-approach-visual:focus-within .deteccao-360-img{
    transform:translate3d(0, -2px, 0) scale(1.1) rotate(360deg);
    filter:drop-shadow(0 22px 36px rgba(15,23,42,.26));
  }
}
.services-approach-tags{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  position:relative;
  z-index:1;
}
.services-approach-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.2);
  background:rgba(255,255,255,.72);
  color:#1f3a8a;
  font-size:11px;
  font-weight:600;
  line-height:1;
}
.services-approach-tag::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#1d4ed8;
  flex:0 0 auto;
}
.services-approach-steps{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.services-approach-step{
  border:1px solid rgba(29,78,216,.16);
  border-radius:12px;
  background:rgba(255,255,255,.58);
  padding:10px 12px;
}
.services-approach-step h4{
  margin:0 0 5px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:14px;
  color:var(--navy);
}
.services-approach-step p{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:#475569;
}
.services-approach-step:last-child{
  grid-column:1 / -1;
}
.services-approach-cta{
  width:fit-content;
  margin-top:2px;
}
.services-tech-strip{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(29,78,216,.16);
}
.services-tech-title{
  margin:0 0 10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#334155;
}
.services-tech-logos{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top: 10px;
}
.services-tech-logo-box{
  min-height:54px;
  border:1px solid rgba(29,78,216,.2);
  border-radius:12px;
  background:rgba(255,255,255,.7);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
}
.services-tech-logo{
  max-width:100%;
  max-height:24px;
  width:auto;
  height:auto;
  object-fit:contain;
  opacity:.95;
}
.services-tech-logo-xguard{
  max-height:32px;
}
.services-tech-logo-box-xguard{
  padding:6px 10px;
}
.card.small{padding:14px}
.card-row{display:flex; gap:12px; align-items:flex-start}
#servicos .card-row .icon{
  width:60px;height:60px;border-radius:14px;
  border:1px solid rgba(21,46,92,.42);
  background:linear-gradient(145deg, rgba(18,37,74,.95), rgba(29,78,216,.88));
  box-shadow:
    0 8px 18px rgba(21,46,92,.22),
    inset 0 1px 2px rgba(255,255,255,.22);
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
  padding:10px;
}
#servicos .card-row .icon img{width:100%;height:100%;object-fit:contain}
#servicos .card-row .icon img.services-card-icon-sm{width:88%;height:88%}

.tagline{
  border:1px solid rgba(223,47,32,.28);
  background:rgba(223,47,32,.08);
  color:var(--text);
  border-radius:var(--radius);
  padding:16px;
}
.sequence{color:var(--muted); font-size:14px; line-height:1.7}
details{
  margin-top:12px;
}
details summary{
  list-style:none;
}
details summary::-webkit-details-marker{
  display:none;
}
details summary::before{
  content:'>';
  display:inline-block;
  margin-right:8px;
  transition:transform .3s ease;
  color:var(--primary);
  font-size:12px;
}
body.dark-theme details summary::before{
  color:var(--primary);
}
details[open] summary::before{
  transform:rotate(90deg);
}
.list-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:16px;
  padding:18px;
  background:linear-gradient(135deg, rgba(29,78,216,.05) 0%, rgba(60,33,110,.03) 100%);
  border-radius:12px;
  border:1px solid rgba(29,78,216,.15);
  animation:slideDown .3s ease forwards;
  max-height:600px;
  overflow-y:auto;
  word-break:break-word;
}
@keyframes slideDown{
  from{opacity:0; transform:translateY(-10px); max-height:0}
  to{opacity:1; transform:translateY(0); max-height:500px}
}
.bullets{
  margin:0;
  padding-left:20px;
  color:var(--muted);
  list-style:none;
}
.bullets li{
  margin:8px 0;
  line-height:1.6;
  font-size:14px;
  position:relative;
  padding-left:8px;
}
.bullets li::before{
  content:'-';
  position:absolute;
  left:-18px;
  color:var(--primary);
  font-weight:bold;
}

/* Steps */
.steps{display:grid; grid-template-columns: repeat(5, 1fr); gap:12px}
.step{
  border:1px solid rgba(29,78,216,.3);
  background:linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 100%);
  border-radius:14px;
  padding:14px;
  min-height:118px;
  transition:all .3s ease;
  box-shadow:
    0 4px 12px rgba(0,0,0,.08),
    inset 0 1px 2px rgba(255,255,255,.6);
}
.step:hover{
  border-color:rgba(29,78,216,.5);
  transform:translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0,0,0,.12),
    inset 0 1px 2px rgba(255,255,255,.6);
}
.step .k{font-family:"League Spartan", system-ui, sans-serif; margin:0 0 6px; font-weight:700; color:var(--navy)}
body.dark-theme .step .k{color:var(--text);}
.step .d{margin:0; color:var(--muted); font-size:14px}
.step.active{
  border-color:rgba(29,78,216,.6);
  background:linear-gradient(135deg, rgba(29,78,216,.15) 0%, rgba(29,78,216,.08) 100%);
}

/* Solutions cards */
.solutions-grid{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px}
.solution{
  cursor:pointer;
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
  gap:12px;
  border:1px solid rgba(29,78,216,.25);
  background:linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 100%);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:
    0 8px 24px rgba(0,0,0,.08),
    inset 0 1px 2px rgba(255,255,255,.8);
  position:relative;
  overflow:hidden;
}
.solution::before{
  content:'';
  position:absolute;
  top:-50%;
  right:-50%;
  width:200px;
  height:200px;
  background:radial-gradient(circle, rgba(29,78,216,.1), transparent);
  border-radius:50%;
  transition:all .3s ease;
  z-index:0;
}
.solution:hover{
  transform:translateY(-6px);
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 16px 48px rgba(29,78,216,.2),
    inset 0 1px 2px rgba(255,255,255,.8);
}
.solution:hover::before{
  top:-20%;
  right:-20%;
}
.solution img{
  width:60px;
  height:60px;
  object-fit:contain;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(21,46,92,.42);
  background:linear-gradient(145deg, rgba(18,37,74,.95), rgba(29,78,216,.88));
  box-shadow:
    0 8px 18px rgba(21,46,92,.22),
    inset 0 1px 2px rgba(255,255,255,.22);
  position:relative;
  z-index:1;
  transition:transform .3s ease;
}
.solution:hover img{
  transform:scale(1.1);
}
.solution .t{
  font-family:"League Spartan", system-ui, sans-serif;
  margin:0;
  font-weight:700;
  color:var(--navy);
  font-size:15px;
  position:relative;
  z-index:1;
}
body.dark-theme .solution .t{
  color:var(--text);
}
.solution .m{
  margin:0;
  color:var(--muted);
  font-size:12px;
  position:relative;
  z-index:1;
}

/* Customers */
.accent{color:var(--primary); font-weight:800}
.link{color:#60a5fa; font-weight:800}

/* Location */
.loc-card{padding:0; overflow:hidden}
.loc-card img{width:100%; height:180px; object-fit:cover; background:rgba(0,0,0,.2)}
.loc-card .content{padding:14px 16px}
.loc-card .content p{margin:4px 0; color:var(--muted)}
.loc-card .content .city{margin:0; font-family:"League Spartan"; font-size:18px; color:var(--text); font-weight:700}
.location-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.location-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.location-panel h3{
  margin:10px 0 10px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:24px;
  line-height:1.2;
  color:var(--navy);
}
body.dark-theme .location-panel h3{
  color:var(--text);
}
.location-panel p{
  margin:0;
  color:var(--muted);
}
.location-badge{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.3px;
  text-transform:uppercase;
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
}

/* Contact hub */
.contact-hub h3{
  margin:0 0 8px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:24px;
  line-height:1.15;
  color:var(--navy);
}
body.dark-theme .contact-hub h3{
  color:var(--text);
}
.contact-hub p{
  font-size: 13px;
  margin:0;
  color:var(--muted);
}
.contact-channels{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.contact-channel{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:12px 13px;
  border-radius:14px;
  border:1px solid rgba(29,78,216,.22);
  background:linear-gradient(145deg, rgba(255,255,255,.62), rgba(255,255,255,.35));
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.contact-channel:hover{
  transform:translateY(-1px);
  border-color:rgba(29,78,216,.48);
  box-shadow:0 10px 20px rgba(17,28,51,.12);
}
body.dark-theme .contact-channel{
  border-color:rgba(148,163,184,.28);
  background:linear-gradient(145deg, rgba(17,28,51,.62), rgba(17,28,51,.44));
}
.contact-channel-label{
  font-size:11px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted-2);
  font-weight:700;
}
.contact-channel strong{
  color:var(--text);
  line-height:1.35;
  font-size:14px;
}
/* Form */
form{display:grid; gap:10px}
label{font-size:13px; color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
body.dark-theme input,
body.dark-theme textarea{
  border-color:rgba(29,78,216,.3);
  background:rgba(29,78,216,.06);
  color:var(--text);
}
body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder{
  color:rgba(232,234,237,.5);
}
textarea{min-height:120px; resize:vertical}
.hint{font-size:12px; color:var(--muted-2)}
.error{color:#fca5a5; font-size:12px}
.success{color:#86efac; font-size:12px}

/* Dialog */
dialog{
  border:none;
  border-radius:18px;
  padding:0;
  width:min(720px, calc(100% - 24px));
  background:var(--surface);
  color:var(--text);
  box-shadow:
    0 20px 60px rgba(0,0,0,.3),
    0 0 1px rgba(0,0,0,.1);
  overflow:hidden;
  animation:dialogSlide .3s ease forwards;
}
@keyframes dialogSlide{
  from{opacity:0; transform:scale(.95) translateY(-20px)}
  to{opacity:1; transform:scale(1) translateY(0)}
}
dialog::backdrop{
  background:rgba(0,0,0,.5);
  backdrop-filter:blur(4px);
}
.dialog-head{
  padding:24px;
  border-bottom:1px solid rgba(29,78,216,.2);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(135deg, rgba(29,78,216,.05) 0%, rgba(60,33,110,.03) 100%);
}
.dialog-body{
  padding:24px;
  line-height:1.8;
}
.dialog-actions{
  padding:0 24px 22px;
}
.dialog-datasheet-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  font-size:13px;
  border-color:rgba(29,78,216,.28);
  background:linear-gradient(135deg, rgba(29,78,216,.1) 0%, rgba(29,78,216,.04) 100%);
}
.dialog-datasheet-btn:hover{
  border-color:rgba(29,78,216,.52);
}
.dialog-body p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.dialog-title{
  margin:0;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:22px;
  font-weight:700;
  color:var(--navy);
  letter-spacing:-.3px;
}
body.dark-theme .dialog-title{
  color:var(--text);
}
.dialog-title-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.dialog-partners{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.dialog-partner-logo{
  height:24px;
  max-width:168px;
  width:auto;
  object-fit:contain;
  border-radius:6px;
  border:1px solid rgba(29,78,216,.22);
  background:rgba(255,255,255,.92);
  padding:2px 7px;
  opacity:1;
}
.dialog-partner-logo-xguard{
  height:28px;
  max-width:220px;
  padding:2px 7px;
  opacity:1;
  background:rgba(255,255,255,.92);
  border-color:rgba(29,78,216,.22);
}
body.dark-theme .dialog-partner-logo{
  border-color:rgba(148,163,184,.4);
  background:rgba(15,27,48,.78);
  opacity:1;
}
body.dark-theme .dialog-partner-logo-xguard{
  opacity:1;
  background:rgba(15,27,48,.78);
  border-color:rgba(148,163,184,.4);
}
.icon-btn{
  background:rgba(29,78,216,.1);
  border:1px solid rgba(29,78,216,.2);
  color:var(--navy);
  width:40px;
  height:40px;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon-btn:hover{
  background:rgba(29,78,216,.2);
  border-color:rgba(29,78,216,.4);
  transform:scale(1.1);
}

/* SDLC Timeline */
.sdlc-showcase{
  margin-top:18px;
  position:relative;
}
.sdlc-showcase::before,
.sdlc-showcase::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border-radius:999px;
  filter:blur(28px);
  opacity:.7;
}
.sdlc-showcase::before{
  width:180px;
  height:58px;
  top:34px;
  left:4%;
  background:rgba(29,78,216,.16);
}
.sdlc-showcase::after{
  width:160px;
  height:52px;
  top:54px;
  right:7%;
  background:rgba(223,47,32,.12);
}
.sdlc-showcase > *{
  position:relative;
  z-index:1;
}
.sdlc-timeline{
  --sdlc-node-size:86px;
  --sdlc-top-pad:14px;
  --sdlc-side-pad:10px;
  display:grid;
  grid-template-columns:repeat(8, 1fr);
  gap:10px;
  position:relative;
  margin:0;
  padding:var(--sdlc-top-pad) var(--sdlc-side-pad) 10px;
  border:1px solid rgba(29,78,216,.14);
  border-radius:20px;
  background:
    radial-gradient(520px 160px at 12% 0%, rgba(29,78,216,.08), transparent 70%),
    radial-gradient(460px 160px at 92% 100%, rgba(223,47,32,.07), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(247,250,255,.68));
  box-shadow:0 16px 28px rgba(8,18,40,.08);
  overflow:hidden;
  isolation:isolate;
}
body.dark-theme .sdlc-timeline{
  border-color:rgba(148,163,184,.22);
  background:
    radial-gradient(520px 160px at 12% 0%, rgba(29,78,216,.12), transparent 70%),
    radial-gradient(460px 160px at 92% 100%, rgba(223,47,32,.08), transparent 72%),
    linear-gradient(180deg, rgba(18,27,43,.78), rgba(16,23,36,.72));
  box-shadow:0 18px 32px rgba(0,0,0,.22);
}
.sdlc-timeline::before{
  content:'';
  position:absolute;
  top:calc(var(--sdlc-top-pad) + (var(--sdlc-node-size) / 2));
  left:calc(var(--sdlc-side-pad) + ((100% - (var(--sdlc-side-pad) + var(--sdlc-side-pad))) / 16));
  right:calc(var(--sdlc-side-pad) + ((100% - (var(--sdlc-side-pad) + var(--sdlc-side-pad))) / 16));
  height:2px;
  transform:translateY(-50%);
  border-radius:999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(29,78,216,.12) 0 10px,
      rgba(29,78,216,.03) 10px 20px
    ),
    linear-gradient(90deg, rgba(29,78,216,.25), rgba(29,78,216,.45), rgba(223,47,32,.22), rgba(29,78,216,.25));
  z-index:0;
  opacity:.95;
}
.sdlc-timeline::after{
  content:'';
  position:absolute;
  top:calc(var(--sdlc-top-pad) + (var(--sdlc-node-size) / 2));
  left:calc(var(--sdlc-side-pad) + ((100% - (var(--sdlc-side-pad) + var(--sdlc-side-pad))) / 16));
  right:calc(var(--sdlc-side-pad) + ((100% - (var(--sdlc-side-pad) + var(--sdlc-side-pad))) / 16));
  height:4px;
  transform:translateY(-50%) scaleX(0);
  transform-origin:left center;
  border-radius:999px;
  opacity:0;
  z-index:0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 16%, rgba(255,255,255,.08) 34%, transparent 54%),
    linear-gradient(90deg, rgba(223,47,32,.10), rgba(29,78,216,.92), rgba(223,47,32,.18));
  background-repeat:no-repeat;
  background-size:220% 100%, 100% 100%;
  background-position:110% 50%, 0 0;
  filter:drop-shadow(0 0 10px rgba(29,78,216,.35));
}
.timeline-item{
  --step-delay:0s;
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  min-width:0;
  padding-bottom:2px;
  opacity:0;
  transform:translateY(16px);
}
.timeline-item::before{
  content:"";
  position:absolute;
  top:calc(var(--sdlc-node-size) + 4px);
  width:1px;
  height:18px;
  background:linear-gradient(180deg, rgba(29,78,216,.34), rgba(29,78,216,0));
  opacity:.75;
  transition:opacity .25s ease;
}
.timeline-item:nth-child(1){ --step-delay:0s; }
.timeline-item:nth-child(2){ --step-delay:.08s; }
.timeline-item:nth-child(3){ --step-delay:.16s; }
.timeline-item:nth-child(4){ --step-delay:.24s; }
.timeline-item:nth-child(5){ --step-delay:.32s; }
.timeline-item:nth-child(6){ --step-delay:.40s; }
.timeline-item:nth-child(7){ --step-delay:.48s; }
.timeline-item:nth-child(8){ --step-delay:.56s; }
.sdlc-timeline.is-visible .timeline-item{
  animation:sdlcTimelineItemIn .6s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay:calc(.08s + var(--step-delay));
}
.timeline-number{
  width:var(--sdlc-node-size);
  height:var(--sdlc-node-size);
  border-radius:50%;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.9), rgba(255,255,255,.28) 32%, transparent 45%),
    linear-gradient(145deg, rgba(29,78,216,.18), rgba(29,78,216,.06));
  border:2px solid rgba(29,78,216,.34);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
  color:var(--navy);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 10px 22px rgba(29,78,216,.10);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  font-family:"League Spartan", system-ui, sans-serif;
}
.timeline-number::before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:50%;
  border:1px solid rgba(29,78,216,.14);
  background:radial-gradient(circle at 50% 35%, rgba(29,78,216,.07), transparent 72%);
}
.timeline-number::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:1px solid rgba(29,78,216,.18);
  opacity:0;
  transform:scale(.84);
}
body.dark-theme .timeline-number{
  color:var(--text);
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.28), rgba(255,255,255,.04) 34%, transparent 46%),
    linear-gradient(145deg, rgba(29,78,216,.20), rgba(29,78,216,.08));
  border-color:rgba(148,163,184,.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 24px rgba(0,0,0,.22);
}
body.dark-theme .timeline-number::before{
  border-color:rgba(148,163,184,.16);
  background:radial-gradient(circle at 50% 35%, rgba(29,78,216,.12), transparent 74%);
}
.sdlc-timeline.is-visible .timeline-number{
  animation:sdlcNodeFloat 6.2s ease-in-out infinite;
  animation-delay:calc(.7s + var(--step-delay));
}
.sdlc-timeline.is-visible .timeline-number::after{
  animation:sdlcNodePulse 6.2s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay:calc(.9s + var(--step-delay));
}
.timeline-item:hover .timeline-number{
  border-color:rgba(29,78,216,.8);
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.92), rgba(255,255,255,.32) 34%, transparent 46%),
    linear-gradient(145deg, rgba(29,78,216,.28), rgba(29,78,216,.10));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 12px 24px rgba(29,78,216,.22);
}
.timeline-content{
  text-align:center;
  margin-top:6px;
  width:100%;
}
.timeline-content p{
  margin:0;
  width:100%;
  min-height:46px;
  padding:10px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(29,78,216,.12);
  background:rgba(255,255,255,.74);
  box-shadow:0 10px 18px rgba(8,18,40,.05);
  font-size:13px;
  color:var(--navy);
  font-weight:600;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
body.dark-theme .timeline-content p{
  color:var(--text);
  border-color:rgba(148,163,184,.18);
  background:rgba(15,23,38,.62);
  box-shadow:0 10px 20px rgba(0,0,0,.16);
}
.timeline-item:hover .timeline-content p{
  border-color:rgba(29,78,216,.28);
  box-shadow:0 12px 20px rgba(29,78,216,.08);
}
.timeline-item:hover::before{
  opacity:1;
}
.sdlc-timeline.is-visible::after{
  animation:
    sdlcLineReveal .9s cubic-bezier(.22, 1, .36, 1) forwards,
    sdlcLineFlow 3.8s linear 1s infinite;
}
@keyframes sdlcTimelineItemIn{
  from{
    opacity:0;
    transform:translateY(16px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@keyframes sdlcLineReveal{
  from{
    opacity:0;
    transform:translateY(-50%) scaleX(0);
  }
  to{
    opacity:.92;
    transform:translateY(-50%) scaleX(1);
  }
}
@keyframes sdlcLineFlow{
  from{
    background-position:110% 50%, 0 0;
  }
  to{
    background-position:-110% 50%, 0 0;
  }
}
@keyframes sdlcNodeFloat{
  0%, 100%{
    transform:translateY(0);
  }
  35%{
    transform:translateY(-3px);
  }
  65%{
    transform:translateY(1px);
  }
}
@keyframes sdlcNodePulse{
  0%, 72%, 100%{
    opacity:0;
    transform:scale(.84);
  }
  10%{
    opacity:.34;
    transform:scale(.98);
  }
  22%{
    opacity:0;
    transform:scale(1.1);
  }
}
@media (prefers-reduced-motion: reduce){
  .timeline-item{
    opacity:1;
    transform:none;
  }
  .sdlc-timeline.is-visible .timeline-item{
    animation:none;
  }
  .sdlc-timeline::after{
    opacity:.85;
    transform:translateY(-50%) scaleX(1);
  }
  .sdlc-timeline.is-visible::after{
    animation:none;
  }
  .sdlc-timeline.is-visible .timeline-number,
  .sdlc-timeline.is-visible .timeline-number::after{
    animation:none;
  }
}

/* SDLC Timeline - Clean minimal relay pulse override */
.sdlc-showcase::before,
.sdlc-showcase::after{
  display:none;
}
.sdlc-timeline{
  --sdlc-relay-cycle:12s;
  gap:8px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  overflow:visible;
}
body.dark-theme .sdlc-timeline{
  border:0;
  background:transparent;
  box-shadow:none;
}
.sdlc-timeline::before{
  height:2px;
  opacity:.72;
  background:
    linear-gradient(90deg, rgba(29,78,216,.16), rgba(29,78,216,.28), rgba(29,78,216,.16)),
    repeating-linear-gradient(
      90deg,
      rgba(29,78,216,0) 0 14px,
      rgba(29,78,216,.18) 14px 26px,
      rgba(29,78,216,0) 26px 42px
    );
  background-repeat:no-repeat, repeat-x;
  background-size:100% 100%, 220px 100%;
  background-position:0 0, 0 0;
  box-shadow:0 0 10px rgba(29,78,216,.08);
}
body.dark-theme .sdlc-timeline::before{
  background:
    linear-gradient(90deg, rgba(148,163,184,.14), rgba(96,165,250,.24), rgba(148,163,184,.14)),
    repeating-linear-gradient(
      90deg,
      rgba(96,165,250,0) 0 14px,
      rgba(96,165,250,.16) 14px 26px,
      rgba(96,165,250,0) 26px 42px
    );
  background-repeat:no-repeat, repeat-x;
  background-size:100% 100%, 220px 100%;
  background-position:0 0, 0 0;
  box-shadow:0 0 12px rgba(96,165,250,.08);
}
.sdlc-timeline::after{
  display:block;
  height:8px;
  opacity:0;
  transform:translateY(-50%) scaleX(1);
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.10) 20%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.08) 72%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(29,78,216,.26) 52%, transparent 100%);
  background-repeat:no-repeat;
  background-size:170px 100%, 170px 100%;
  background-position:-180px 50%, -180px 50%;
  filter:blur(1px);
  pointer-events:none;
}
body.dark-theme .sdlc-timeline::after{
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 20%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 72%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(96,165,250,.26) 52%, transparent 100%);
  background-repeat:no-repeat;
  background-size:170px 100%, 170px 100%;
  background-position:-180px 50%, -180px 50%;
}
.timeline-item{
  --pulse-delay:0s;
  gap:10px;
  opacity:1;
  transform:none;
  padding-bottom:0;
}
.timeline-item::before{
  display:none;
}
.timeline-item:nth-child(1){ --pulse-delay:0s; }
.timeline-item:nth-child(2){ --pulse-delay:1.5s; }
.timeline-item:nth-child(3){ --pulse-delay:3s; }
.timeline-item:nth-child(4){ --pulse-delay:4.5s; }
.timeline-item:nth-child(5){ --pulse-delay:6s; }
.timeline-item:nth-child(6){ --pulse-delay:7.5s; }
.timeline-item:nth-child(7){ --pulse-delay:9s; }
.timeline-item:nth-child(8){ --pulse-delay:10.5s; }
.sdlc-timeline.is-visible .timeline-item{
  animation:none;
}
.timeline-number{
  border-width:1.5px;
  border-color:rgba(29,78,216,.20);
  background:rgba(29,78,216,.05);
  box-shadow:0 4px 12px rgba(8,18,40,.04);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.timeline-number::before{
  width:8px;
  height:8px;
  inset:auto;
  top:50%;
  left:50%;
  border:0;
  background:rgba(29,78,216,.34);
  border-radius:50%;
  transform:translate(-50%, -50%);
}
.timeline-number::after{
  inset:-7px;
  border:1px solid rgba(29,78,216,.20);
  opacity:0;
  transform:scale(.88);
}
body.dark-theme .timeline-number{
  border-color:rgba(148,163,184,.20);
  background:rgba(30,41,59,.52);
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}
body.dark-theme .timeline-number::before{
  background:rgba(96,165,250,.42);
}
.timeline-content{
  margin-top:2px;
}
.timeline-content p{
  min-height:40px;
  padding:8px 8px;
  border-radius:10px;
  border:1px solid rgba(26,26,53,.06);
  background:rgba(255,255,255,.54);
  box-shadow:none;
  font-size:12px;
  font-weight:400;
  line-height:1.2;
  color:rgba(26,26,53,.86);
  column-gap:4px;
}
body.dark-theme .timeline-content p{
  color:rgba(232,234,237,.92);
  border-color:rgba(148,163,184,.10);
  background:rgba(15,23,38,.34);
  box-shadow:none;
}
.timeline-label-index{
  font-weight:700;
}
.timeline-item:hover .timeline-number{
  border-color:rgba(29,78,216,.58);
  background:rgba(29,78,216,.12);
  box-shadow:
    0 0 0 4px rgba(29,78,216,.10),
    0 10px 22px rgba(29,78,216,.14);
}
body.dark-theme .timeline-item:hover .timeline-number{
  border-color:rgba(96,165,250,.54);
  background:rgba(59,130,246,.16);
  box-shadow:
    0 0 0 4px rgba(96,165,250,.10),
    0 10px 22px rgba(0,0,0,.24);
}
.timeline-item:hover .timeline-content p{
  border-color:rgba(29,78,216,.14);
  box-shadow:none;
}
.sdlc-timeline.is-visible .timeline-number{
  animation:sdlcRelayPulse var(--sdlc-relay-cycle) ease-in-out infinite both;
  animation-delay:var(--pulse-delay);
}
.sdlc-timeline.is-visible .timeline-number::before{
  animation:sdlcRelayDot var(--sdlc-relay-cycle) ease-in-out infinite both;
  animation-delay:var(--pulse-delay);
}
.sdlc-timeline.is-visible .timeline-number::after{
  animation:sdlcRelayRing var(--sdlc-relay-cycle) ease-out infinite both;
  animation-delay:var(--pulse-delay);
}
.sdlc-timeline.is-visible::after{
  animation:sdlcLineSoftSweep 5.8s ease-in-out infinite;
}
.sdlc-timeline.is-visible::before{
  animation:
    sdlcLineDrift 7.5s linear infinite,
    sdlcLineBreath 4.2s ease-in-out infinite;
}
@keyframes sdlcLineSoftSweep{
  0%{
    opacity:0;
    background-position:-220px 50%, -220px 50%;
  }
  12%{
    opacity:.16;
  }
  48%{
    opacity:.28;
  }
  100%{
    opacity:0;
    background-position:calc(100% + 220px) 50%, calc(100% + 220px) 50%;
  }
}
@keyframes sdlcLineDrift{
  from{
    background-position:0 0, 0 0;
  }
  to{
    background-position:0 0, 220px 0;
  }
}
@keyframes sdlcLineBreath{
  0%, 100%{
    opacity:.62;
    box-shadow:0 0 8px rgba(29,78,216,.06);
  }
  50%{
    opacity:.84;
    box-shadow:0 0 14px rgba(29,78,216,.10);
  }
}
@keyframes sdlcRelayPulse{
  0%, 13%, 100%{
    transform:scale(1);
    border-color:rgba(29,78,216,.22);
    background:rgba(29,78,216,.05);
    box-shadow:0 4px 12px rgba(8,18,40,.04);
  }
  4%{
    transform:scale(1.07);
    border-color:rgba(29,78,216,.44);
    background:rgba(29,78,216,.10);
    box-shadow:0 8px 16px rgba(29,78,216,.08);
  }
  8%{
    transform:scale(1.02);
    border-color:rgba(29,78,216,.30);
    background:rgba(29,78,216,.07);
  }
}
@keyframes sdlcRelayDot{
  0%, 13%, 100%{
    background:rgba(29,78,216,.34);
    transform:translate(-50%, -50%) scale(1);
    opacity:.92;
  }
  4%{
    background:rgba(29,78,216,.56);
    transform:translate(-50%, -50%) scale(1.22);
    opacity:1;
  }
  8%{
    background:rgba(29,78,216,.52);
    transform:translate(-50%, -50%) scale(1.08);
    opacity:.96;
  }
}
@keyframes sdlcRelayRing{
  0%, 2%, 13%, 100%{
    opacity:0;
    transform:scale(.88);
  }
  4.2%{
    opacity:.18;
    transform:scale(1);
  }
  10%{
    opacity:0;
    transform:scale(1.16);
  }
}
@media (prefers-reduced-motion: reduce){
  .sdlc-timeline::before,
  .sdlc-timeline.is-visible::before{
    animation:none;
    opacity:.7;
    background-position:0 0, 0 0;
  }
  .sdlc-timeline::after,
  .sdlc-timeline.is-visible::after{
    animation:none;
    opacity:.12;
    background-position:50% 50%, 50% 50%;
  }
  .sdlc-timeline.is-visible .timeline-number,
  .sdlc-timeline.is-visible .timeline-number::before,
  .sdlc-timeline.is-visible .timeline-number::after{
    animation:none;
  }
}

/* Home Partners Showcase */
.home-partners-showcase{
  margin-top:34px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(29,78,216,.22);
  background:
    radial-gradient(560px 220px at 10% 0%, rgba(223,47,32,.1), transparent 58%),
    radial-gradient(620px 260px at 88% 100%, rgba(29,78,216,.12), transparent 62%),
    rgba(255,255,255,.68);
  backdrop-filter:blur(6px);
}
.home-partners-head .section-title{
  font-size:24px;
  margin-bottom:8px;
}
.home-partners-head .section-sub{
  max-width:68ch;
  margin-bottom:14px;
}
.home-partners-marquee{
  overflow-x:auto;
  overflow-y:hidden;
  cursor:grab;
  touch-action:pan-y;
  scrollbar-width:none;
  -ms-overflow-style:none;
  mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.home-partners-marquee::-webkit-scrollbar{
  display:none;
}
.home-partners-track{
  display:flex;
  gap:14px;
  width:max-content;
  animation:homePartnersScroll 16s linear infinite;
  will-change:transform;
}
.home-partners-marquee:hover .home-partners-track{
  animation-play-state:paused;
}
.home-partners-marquee.is-dragging{
  cursor:grabbing;
  user-select:none;
}
.home-partners-marquee.is-dragging .home-partners-track{
  animation-play-state:paused;
}
.home-partners-marquee.is-dragging .home-partner-card{
  pointer-events:none;
}
@keyframes homePartnersScroll{
  from{transform:translateX(0)}
  to{transform:translateX(calc(-50% - 7px))}
}
.home-partner-card{
  width:min(520px, 86vw);
  min-height:196px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(29,78,216,.2);
  background:linear-gradient(150deg, rgba(255,255,255,.84), rgba(243,247,255,.7));
  box-shadow:0 10px 22px rgba(8,18,40,.08);
}
.home-partner-logo-box{
  height:52px;
  display:flex;
  align-items:center;
}
.home-partner-logo{
  max-height:42px;
  width:auto;
  object-fit:contain;
}
.home-partner-name{
  margin:4px 0 2px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:24px;
  line-height:1.1;
  color:var(--navy);
}
.home-partner-category{
  margin:0 0 7px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#586786;
  font-weight:700;
}
.home-partner-desc{
  margin:0;
  font-size:15px;
  line-height:1.45;
  color:#3f4b60;
}

/* Home laboratory showcase */
.lab-showcase{
  margin-top:18px;
  position:relative;
  overflow:hidden;
  border-color:rgba(29,78,216,.24);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(29,78,216,.08), transparent 62%),
    radial-gradient(420px 180px at 0% 100%, rgba(223,47,32,.05), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(249,251,255,.94) 100%);
}
.lab-showcase::before{
  content:"";
  position:absolute;
  top:0;
  left:18px;
  right:18px;
  height:1px;
  background:linear-gradient(90deg, rgba(29,78,216,.18), rgba(223,47,32,.12), transparent 85%);
  pointer-events:none;
}
.lab-showcase > *{
  position:relative;
  z-index:1;
}
.lab-showcase-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
}
.lab-showcase-copy{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0, 1.18fr) minmax(0, .82fr);
  grid-template-areas:
    "kicker tags"
    "title tags"
    "text tags";
  column-gap:22px;
  row-gap:6px;
  align-items:start;
}
.lab-showcase-copy > .kicker{
  grid-area:kicker;
  margin:0;
  align-self:start;
}
.lab-showcase-title{
  grid-area:title;
  margin:0;
  position:relative;
  padding-bottom:12px;
  color:var(--navy);
  font-size:clamp(36px, 3.2vw, 48px);
  line-height:1.02;
  letter-spacing:-.02em;
}
.lab-showcase-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:76px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(29,78,216,.92), rgba(223,47,32,.7));
}
.lab-showcase-title::before{
  content:"";
  position:absolute;
  left:82px;
  bottom:-1px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(29,78,216,.35);
}
.lab-showcase-text{
  grid-area:text;
  margin:2px 0 0;
  color:var(--muted);
  line-height:1.62;
  font-size:14px;
  max-width:70ch;
}
.lab-capabilities{
  grid-area:tags;
  list-style:none;
  margin:0;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(29,78,216,.12);
  background:rgba(255,255,255,.56);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 8px 18px rgba(8,18,40,.04);
  display:flex;
  flex-wrap:wrap;
  align-self:start;
  align-content:flex-start;
  gap:8px;
}
.lab-capability{
  margin:0;
  display:flex;
}
.lab-capability-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.14);
  background:rgba(255,255,255,.78);
  color:#334155;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.01em;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}
.lab-capability-tag--featured{
  border-color:rgba(223,47,32,.22);
  background:
    linear-gradient(135deg, rgba(223,47,32,.07), rgba(29,78,216,.05)),
    rgba(255,255,255,.86);
  color:var(--navy);
  box-shadow:
    0 4px 12px rgba(223,47,32,.08),
    0 2px 8px rgba(15,23,42,.04);
}
.lab-capability-tag--featured::before{
  width:7px;
  height:7px;
  background:#df2f20;
  box-shadow:0 0 0 3px rgba(223,47,32,.1);
}
.lab-capability-tag::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:linear-gradient(135deg, #df2f20, #1d4ed8);
  flex:0 0 auto;
}
.lab-tech-strip{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(26,26,53,.1);
}
.lab-tech-strip-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 12px;
  margin-bottom:10px;
}
.lab-tech-strip-kicker{
  margin:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#64748b;
}
.lab-tech-marquee{
  overflow:hidden;
  mask-image:linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.lab-tech-track{
  display:flex;
  width:max-content;
  animation:labTechScroll 24s linear infinite;
  will-change:transform;
}
.lab-tech-marquee:hover .lab-tech-track{
  animation-play-state:paused;
}
@keyframes labTechScroll{
  from{transform:translateX(0)}
  to{transform:translateX(-33.333333%)}
}
.lab-tech-sequence{
  --lab-tech-gap:30px;
  display:flex;
  align-items:center;
  gap:var(--lab-tech-gap);
  padding-right:var(--lab-tech-gap);
  flex:0 0 auto;
  min-width:max-content;
  margin: 12px 0;
}
.lab-tech-logo{
  display:block;
  height:clamp(22px, 2.1vw, 32px);
  width:auto;
  object-fit:contain;
  flex:0 0 auto;
  opacity:.9;
  filter:saturate(.96);
}

@media (max-width: 860px){
  .lab-showcase-copy{
    grid-template-columns:1fr;
    grid-template-areas:
      "kicker"
      "title"
      "text"
      "tags";
    row-gap:8px;
  }
  .lab-capabilities{
    gap:7px;
    padding:10px;
    margin-top:2px;
  }
}

@media (max-width: 640px){
  .lab-showcase{
    margin-top:16px;
  }
  .lab-showcase-title{
    font-size:32px;
    padding-bottom:10px;
  }
  .lab-showcase-title::after{width:58px; height:2px}
  .lab-showcase-title::before{
    left:64px;
    width:6px;
    height:6px;
    bottom:-2px;
  }
  .lab-showcase-text{
    font-size:13px;
    line-height:1.58;
  }
  .lab-capability-tag{
    font-size:10.5px;
    padding:7px 9px;
  }
  .lab-tech-strip{
    margin-top:14px;
    padding-top:12px;
  }
  .lab-tech-strip-title{
    font-size:13px;
  }
  .lab-tech-track{
    animation-duration:20s;
  }
  .lab-tech-sequence{
    --lab-tech-gap:22px;
  }
  .lab-tech-logo{
    height:22px;
  }
}

@media (prefers-reduced-motion: reduce){
  .lab-tech-track{
    animation-duration:40s;
  }
}

body.dark-theme .lab-capability-tag{
  border-color:rgba(148,163,184,.2);
  background:rgba(15,23,42,.58);
  color:#dbe7ff;
}
body.dark-theme .lab-capability-tag--featured{
  border-color:rgba(248,113,113,.24);
  background:
    linear-gradient(135deg, rgba(223,47,32,.14), rgba(29,78,216,.1)),
    rgba(15,23,42,.62);
  color:#eef3ff;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
body.dark-theme .lab-capability-tag--featured::before{
  background:#f87171;
  box-shadow:0 0 0 3px rgba(248,113,113,.12);
}
body.dark-theme .lab-showcase{
  border-color:rgba(29,78,216,.28);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(29,78,216,.14), transparent 62%),
    radial-gradient(420px 180px at 0% 100%, rgba(223,47,32,.08), transparent 60%),
    linear-gradient(135deg, rgba(24,31,47,.98) 0%, rgba(23,30,46,.95) 100%);
}
body.dark-theme .lab-showcase::before{
  background:linear-gradient(90deg, rgba(96,165,250,.24), rgba(248,113,113,.14), transparent 85%);
}
body.dark-theme .lab-showcase-title::after{
  background:linear-gradient(90deg, rgba(96,165,250,.9), rgba(248,113,113,.7));
}
body.dark-theme .lab-showcase-title::before{
  background:rgba(148,163,184,.45);
}
body.dark-theme .lab-capabilities{
  border-color:rgba(148,163,184,.16);
  background:rgba(15,23,42,.36);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body.dark-theme .lab-tech-strip{
  border-top-color:rgba(148,163,184,.16);
}
body.dark-theme .lab-tech-strip-kicker{
  color:#9fb3d8;
}

body.dark-theme .lab-tech-logo{
  opacity:.96;
  filter:none;
}
footer{
  padding:24px 0;
  border-top:1px solid rgba(26,26,53,.12);
  background:#0f1724;
  color:#fff;
  margin-top:auto;
}
.site-footer{
  padding:28px 0 16px;
}
.site-footer-shell{
  padding:0;
}
.site-footer-top{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr);
  gap:32px;
  align-items:start;
}
/* Footer should be clean columns, not boxed cards */
.site-footer-top > section{
  background:transparent;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
  border-radius:0;
  padding:0;
}
.site-footer-brand-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.site-footer-links-card,
.site-footer-contact-card{
  min-width:0;
}
.site-footer-logo{
  display:inline-flex;
  align-items:center;
  width:fit-content;
}
.site-footer-logo img{
  width:min(220px, 100%);
  height:auto;
  display:block;
  object-fit:contain;
}
.site-footer-tagline{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.55;
  font-size:14px;
  max-width:46ch;
  min-height:4.65em;
}
.site-footer-title{
  margin:0 0 10px;
  color:rgba(255,255,255,.96);
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.site-footer-nav{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}
.site-footer-nav a{
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.4;
  padding:2px 0;
  width:fit-content;
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
}
.site-footer-nav a:hover{
  color:#fff;
  border-bottom-color:rgba(255,255,255,.28);
}
.site-footer-contact-list{
  display:grid;
  gap:8px;
}
.site-footer-contact-item{
  display:grid;
  gap:2px;
  padding:0;
  border:0;
  background:transparent;
  transition:none;
}
.site-footer-contact-item:hover{
  background:transparent;
  border:0;
  transform:none;
}
.site-footer-contact-label{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.52);
  font-weight:700;
}
.site-footer-contact-item strong{
  color:rgba(255,255,255,.88);
  font-size:14px;
  line-height:1.35;
  font-weight:500;
  overflow-wrap:anywhere;
}
.site-footer-contact-item:hover strong{
  color:#fff;
}
.site-footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 14px;
}
.site-footer-copy{
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:12px;
  line-height:1.45;
}
.footer-grid{display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between}
.footer-meta{color:rgba(255,255,255,.74); font-size:13px}
.footer-phone-subtle{
  opacity:.72;
  font-size:12px;
}
.footer-links{display:flex; gap:10px; flex-wrap:wrap}
.footer-links a{
  color:rgba(255,255,255,.86);
  font-size:13px;
  padding:6px 8px;
  border-radius:10px;
  border:1px solid transparent;
}
.footer-links a:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
@media (max-width: 980px){
  .site-footer-top{
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .site-footer-brand-card{
    grid-column:1 / -1;
  }
}
@media (max-width: 640px){
  .site-footer{
    padding:24px 0 14px;
  }
  .site-footer-top{
    grid-template-columns:1fr;
    gap:18px;
  }
  .site-footer-brand-card{
    grid-column:auto;
  }
  .site-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:54px;
  height:54px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
  background:linear-gradient(135deg, #25D366, #1fa855);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 12px 24px rgba(0,0,0,.24);
  z-index:80;
}
.wa-float img{
  width:36px;
  height:36px;
  object-fit:contain;
}
.wa-float:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 28px rgba(0,0,0,.28);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; }
  h1{font-size:36px}
  .hero--home h1{font-size:36px}
  .page-hero{margin-bottom:20px}
  .hero-trust{margin-bottom:16px}
  .hero-art--carousel{
    padding:22px 16px;
  }
  .hero-art--carousel .hero-art-carousel{
    max-width:100%;
    padding:18px 16px 12px;
  }
  .hero-art--carousel .hero-art-meta{
    margin-top:22px;
  }
  .hero-art-copy{top:82px}
  .hero-art-value{top:196px}
  .solutions-grid{grid-template-columns: repeat(2, 1fr)}
  .steps{grid-template-columns:1fr; }
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .services-approach-showcase{grid-template-columns:1fr}
  .services-approach-showcase::after{display:none}
  .services-approach-visual img{width:min(100%, 430px)}
  .location-layout{grid-template-columns:1fr}
  .sdlc-showcase::before,
  .sdlc-showcase::after{opacity:.45}
  .sdlc-timeline{
    --sdlc-node-size:74px;
    --sdlc-top-pad:12px;
    --sdlc-side-pad:12px;
    grid-template-columns:repeat(4, 1fr);
    gap:18px 14px;
    margin-top:30px;
    padding:12px;
  }
  .sdlc-timeline::before,
  .sdlc-timeline::after{display:none}
  .timeline-item{opacity:1; transform:none}
  .timeline-item::before{display:none}
  .timeline-number{font-size:18px}
  .timeline-content p{
    min-height:54px;
    padding:9px 8px;
    font-size:11.5px;
  }
  .home-partners-showcase{margin-top:28px}
  main iframe{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/9;
  }
}

@media (max-width: 640px){
  .contact-channels{grid-template-columns:1fr}
  .about-brief-head{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .solutions-grid{grid-template-columns: 1fr}
  .sdlc-showcase::before,
  .sdlc-showcase::after{display:none}
  .sdlc-timeline{
    --sdlc-node-size:62px;
    --sdlc-side-pad:10px;
    grid-template-columns:repeat(2, 1fr);
    gap:14px 10px;
    border-radius:16px;
    padding:10px;
  }
  .timeline-number{font-size:16px}
  .timeline-content p{
    min-height:48px;
    font-size:11.25px;
    line-height:1.2;
  }
  .home-partners-showcase{padding:14px}
  .home-partners-head .section-title{font-size:21px}
  .home-partner-card{width:min(360px, 84vw)}
  .home-partner-name{font-size:19px}
  .home-partners-track{animation-duration:17s}
  .services-approach-heading{font-size:24px}
  .services-approach-title{font-size:14px}
  .services-approach-copy{font-size:13px}
  .services-tech-logos{grid-template-columns:1fr 1fr}
  .hero-art-meta{
    grid-template-columns:1fr 1fr;
  }
  .hero-art-meta-item:last-child{
    grid-column:1 / -1;
  }
  .hero-brand-badge{font-size:11px}
  .hero-brand-desc{font-size:10px}
}

@media (max-width: 520px){
  .container{width:min(var(--max), calc(100% - 20px))}
  section{padding:42px 0}
  .card{padding:14px}
  h1{font-size:30px}
  .hero--home h1{font-size:30px}
  .section-title{font-size:24px}
  .hero{padding:44px 0 22px}
  .proof-strip{gap:6px}
  .proof-item{font-size:11px; padding:6px 9px}
  .section-title-sm{font-size:20px}
  .hero-trust{
    gap:6px;
    margin-bottom:14px;
  }
  .hero-trust-item{
    font-size:11px;
    padding:6px 9px;
  }
  .hero-card-inner{padding:18px}
  .hero-art-copy{
    top:76px;
    left:16px;
    right:16px;
    padding:10px 12px;
  }
  .hero-art-value{
    left:16px;
    right:16px;
    top:180px;
    padding:10px 12px;
  }
  .hero-art .tag{
    left:16px;
    top:286px;
  }
  .hero-art-value h4{font-size:14px}
  .hero-art-list li{font-size:12px; margin:5px 0}
  .hero-art--carousel{
    padding:14px 12px;
  }
  .hero-art--carousel .hero-art-carousel{
    padding:14px 12px 10px;
    gap:10px;
  }
  .hero-art--carousel .slider--horizontal{
    min-height:120px;
  }
  .hero-art--carousel .slide-title{
    font-size:22px;
    margin-bottom:8px;
  }
  .hero-art--carousel .slide-caption{
    font-size:13px;
  }
  .hero-art-meta{
    grid-template-columns:1fr;
  }
  .hero-art--carousel .hero-art-meta{
    margin-top:16px;
  }
  .hero-art-meta-item:last-child{
    grid-column:auto;
  }
  .hero-art-copy h3{font-size:16px}
  .hero-art-copy p{font-size:12px}
  .slide-title{font-size:20px}
  .dots{margin-top:18px}
  .hero-brandline{gap:8px}
  .hero-brand-badge{
    font-size:10px;
    padding:0;
  }
  .hero-brand-desc{
    font-size:10px;
  }
  .services-approach-showcase{gap:14px}
  .services-approach-visual{padding:12px}
  .services-approach-title{
    font-size:13px;
    line-height:1.4;
  }
  .services-approach-steps{grid-template-columns:1fr}
  .services-approach-step:last-child{grid-column:auto}
  .services-approach-tag{
    font-size:10px;
    padding:5px 8px;
  }
  .services-tech-strip{padding-top:12px}
  .services-tech-title{font-size:11px}
  .services-tech-logo-box{min-height:50px}
  .services-tech-logo{max-height:20px}
  .services-tech-logo-xguard{max-height:26px}
  .home-partners-showcase{
    margin-top:22px;
    border-radius:16px;
    padding:12px;
  }
  .home-partners-head .section-title{font-size:20px}
  .home-partners-head .section-sub{font-size:13px}
  .home-partner-card{
    width:min(320px, 88vw);
    min-height:176px;
    padding:12px;
  }
  .home-partner-logo-box{height:46px}
  .home-partner-logo{max-height:36px}
  .home-partner-name{font-size:18px}
  .home-partner-category{font-size:10px}
  .home-partner-desc{font-size:13px}
  .home-partners-track{gap:10px}
  .dialog-title-wrap{gap:6px}
  .dialog-partners{gap:6px}
  .dialog-partner-logo{height:21px; max-width:142px}
  .dialog-partner-logo-xguard{height:24px; max-width:176px}
  .footer-grid{gap:10px}
  .footer-links a{font-size:12px}
  .wa-float{
    right:14px;
    bottom:14px;
    width:50px;
    height:50px;
  }
}


/* Legacy-like accents */
.span-accent{background-color:var(--accent);color:#fff;padding:0 8px 3px;border-radius:5px}
a.link-accent{color:var(--accent-2)}
a.link-accent:hover{color:var(--accent)}

/* Dark theme adjustments */
body.dark-theme{
  --header-bg:rgba(15,20,25,.98);
}

body.dark-theme header{
  background:transparent;
  border-bottom-color:transparent;
}

body.dark-theme .nav{
  border-color:rgba(148,163,184,.25);
  background:rgba(15,20,25,.86);
  box-shadow:0 14px 34px rgba(0,0,0,.45);
}

body.dark-theme .brand span{
  color:#E8EAED;
}

body.dark-theme header nav a{
  color:rgba(232,234,237,.78);
}

body.dark-theme header nav a:hover{
  background:rgba(148,163,184,.16);
  color:#E8EAED;
}

body.dark-theme .lang,
body.dark-theme .theme-toggle,
body.dark-theme header .btn{
  background:rgba(148,163,184,.12);
  border-color:rgba(148,163,184,.28);
  color:#E8EAED;
}

body.dark-theme .lang:hover,
body.dark-theme .theme-toggle:hover,
body.dark-theme header .btn:hover{
  background:rgba(148,163,184,.2);
  border-color:rgba(148,163,184,.38);
}

body.dark-theme .mobile-menu{
  border-color:rgba(148,163,184,.25);
  background:rgba(15,20,25,.95);
}

body.dark-theme .mobile-menu a{
  color:rgba(232,234,237,.78);
}

body.dark-theme .mobile-menu a:hover{
  background:rgba(148,163,184,.16);
  color:#E8EAED;
}
body.dark-theme .mobile-menu a.active-section{
  background:rgba(223,47,32,.2);
  color:#fff;
  border:1px solid rgba(223,47,32,.38);
}

body.dark-theme header nav a[data-i18n="nav.partners"]{
  border-color:rgba(223,47,32,.28);
  background:rgba(223,47,32,.14);
}

body.dark-theme header nav a[data-i18n="nav.partners"]:hover{
  background:rgba(223,47,32,.2);
  border-color:rgba(223,47,32,.4);
}
body.dark-theme header nav a[data-i18n="nav.partners"].active,
body.dark-theme header nav a[data-i18n="nav.partners"].active-section{
  color:#fff;
  background:rgba(223,47,32,.3);
  border-color:rgba(223,47,32,.52);
}

body.dark-theme input,
body.dark-theme textarea{
  background:rgba(255,255,255,.08);
  border-color:rgba(29,78,216,.3);
  color:#E8EAED;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder{
  color:rgba(255,255,255,.4);
}

body.dark-theme .card{
  background:linear-gradient(135deg, rgba(26,31,46,.98) 0%, rgba(26,31,46,.95) 100%);
  border-color:rgba(29,78,216,.3);
  box-shadow:
    0 8px 24px rgba(0,0,0,.4),
    inset 0 1px 2px rgba(255,255,255,.05);
}

body.dark-theme .card:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 12px 48px rgba(29,78,216,.25),
    inset 0 1px 2px rgba(255,255,255,.05);
}

body.dark-theme .card.card-image,
body.dark-theme .card.card-image:hover{
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  transform:none;
  border-radius:0;
}
body.dark-theme .services-approach-showcase{
  background:
    radial-gradient(220px 120px at 22% 18%, rgba(37,99,235,.22), transparent 70%),
    radial-gradient(260px 160px at 28% 84%, rgba(223,47,32,.14), transparent 72%),
    linear-gradient(140deg, rgba(26,31,46,.98), rgba(23,28,42,.95));
}
body.dark-theme .services-approach-showcase::before{
  background:
    linear-gradient(90deg, rgba(96,165,250,.12) 1px, transparent 1px),
    linear-gradient(rgba(96,165,250,.12) 1px, transparent 1px);
  background-size:28px 28px;
  opacity:.22;
}
body.dark-theme .services-approach-showcase::after{
  background:linear-gradient(180deg, transparent, rgba(96,165,250,.28), transparent);
}
body.dark-theme .services-approach-visual::after{
  background:radial-gradient(circle, rgba(96,165,250,.2) 0%, rgba(96,165,250,0) 70%);
}
body.dark-theme .services-approach-copy{
  color:#94a3b8;
}
body.dark-theme .services-approach-step{
  border-color:rgba(96,165,250,.28);
  background:rgba(30,41,59,.62);
}
body.dark-theme .services-approach-step h4{
  color:#dbeafe;
}
body.dark-theme .services-approach-step p{
  color:#cbd5e1;
}
body.dark-theme .services-approach-title{
  color:#cbd5e1;
}
body.dark-theme .services-approach-visual img{
  filter:drop-shadow(0 10px 22px rgba(2,8,23,.55));
}
@media (hover:hover) and (pointer:fine){
  body.dark-theme .services-approach-visual:hover .deteccao-360-img,
  body.dark-theme .services-approach-visual:focus-within .deteccao-360-img{
    filter:drop-shadow(0 20px 34px rgba(2,8,23,.62));
  }
}
body.dark-theme .services-approach-tag{
  border-color:rgba(96,165,250,.3);
  background:rgba(30,41,59,.68);
  color:#dbeafe;
}
body.dark-theme .services-approach-tag::before{
  background:#60a5fa;
}
body.dark-theme .services-tech-strip{
  border-top-color:rgba(96,165,250,.24);
}
body.dark-theme .services-tech-title{
  color:#cbd5e1;
}
body.dark-theme .services-tech-logo-box{
  border-color:rgba(96,165,250,.3);
  background:rgba(30,41,59,.65);
}
body.dark-theme .services-tech-logo{
  filter:brightness(1.08);
}

body.dark-theme .solution{
  background:linear-gradient(135deg, rgba(26,31,46,.98) 0%, rgba(26,31,46,.95) 100%);
  border-color:rgba(29,78,216,.3);
}

body.dark-theme .solution:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 16px 48px rgba(29,78,216,.25),
    inset 0 1px 2px rgba(255,255,255,.05);
}
body.dark-theme .solution img{
  border-color:rgba(148,163,184,.26);
  background:linear-gradient(135deg, rgba(148,163,184,.12), rgba(148,163,184,.04));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.08);
}
body.dark-theme #servicos .card-row .icon{
  border-color:rgba(148,163,184,.26);
  background:linear-gradient(135deg, rgba(148,163,184,.12), rgba(148,163,184,.04));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.08);
}

body.dark-theme .step{
  background:linear-gradient(135deg, rgba(29,78,216,.12) 0%, rgba(29,78,216,.06) 100%);
  border-color:rgba(29,78,216,.3);
  box-shadow:
    0 4px 12px rgba(0,0,0,.2),
    inset 0 1px 2px rgba(255,255,255,.05);
}

body.dark-theme .step:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 8px 24px rgba(29,78,216,.2),
    inset 0 1px 2px rgba(255,255,255,.05);
}

body.dark-theme dialog{
  background:linear-gradient(135deg, rgba(26,31,46,.98) 0%, rgba(26,31,46,.95) 100%);
  box-shadow:
    0 20px 60px rgba(0,0,0,.6),
    0 0 1px rgba(0,0,0,.1);
}

body.dark-theme .dialog-head{
  background:linear-gradient(135deg, rgba(29,78,216,.15) 0%, rgba(60,33,110,.1) 100%);
  border-bottom-color:rgba(29,78,216,.3);
}

body.dark-theme .icon-btn{
  background:rgba(29,78,216,.15);
  border-color:rgba(29,78,216,.3);
  color:#f8fafc;
}

body.dark-theme .icon-btn:hover{
  background:rgba(29,78,216,.25);
  border-color:rgba(29,78,216,.5);
  color:#ffffff;
}

/* Partner Cards */
.partner-card{
  border:1px solid rgba(29,78,216,.3);
  background:linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 100%);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.1),
    inset 0 1px 2px rgba(255,255,255,.8);
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
}
.partner-card:hover{
  transform:translateY(-4px);
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 16px 48px rgba(29,78,216,.15),
    inset 0 1px 2px rgba(255,255,255,.8);
}
.partner-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.partner-logo-box{
  width:100px;
  height:70px;
  border:1px solid rgba(29,78,216,.2);
  border-radius:12px;
  background:rgba(29,78,216,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
body.dark-theme header .btn.primary{
  color:#f3f5ff;
  border-color:rgba(223,47,32,.4);
  background:linear-gradient(135deg, rgba(223, 32, 166, 0.rgba(223, 32, 198, 0.18),.18));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
body.dark-theme .xguard-cta-icon{
  filter:drop-shadow(0 0 3px rgba(223, 32, 182, 0.45));
}
body.dark-theme .xguard-cta{
  border-color:rgba(148,163,184,.42);
  background:linear-gradient(135deg, rgba(216, 29, 160, 0.16), rgba(216, 29, 175, 0.08));
  box-shadow:inset 0 1px 0 rgba(148,163,184,.12);
}
@media (hover:hover){
  body.dark-theme .xguard-cta:hover,
  body.dark-theme .xguard-cta:focus-visible{
    border-color:rgba(223, 32, 175, 0.62);
    background:linear-gradient(135deg, rgba(223, 32, 159, 0.38), rgba(223, 32, 166, 0.24));
  }
  body.dark-theme .xguard-cta:hover .xguard-cta-text{
    color:#fff2ef;
  }
  body.dark-theme .xguard-cta:focus-visible .xguard-cta-text{
    color:#fff2ef;
  }
}
body.dark-theme header .btn.primary:hover{
  border-color:rgba(223, 32, 137, 0.52);
  background:linear-gradient(135deg, rgba(223, 32, 182, 0.rgba(223, 32, 175, 0.22),.22));
  box-shadow:0 10px 20px rgba(0,0,0,.35);
}
.partner-logo{
  max-height:60px;
  width:auto;
  object-fit:contain;
}
.partner-badge{
  display:inline-block;
  padding:4px 12px;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.partner-card-secondary{
  border-color:rgba(29,78,216,.22);
  background:linear-gradient(135deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.9) 100%);
}
.partner-badge-secondary{
  background:linear-gradient(135deg, rgba(26,26,53,.72), rgba(26,26,53,.58));
  border:1px solid rgba(255,255,255,.22);
}
.partner-name{
  margin:0 0 6px;
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:22px;
  font-weight:700;
  color:var(--navy);
}
body.dark-theme .partner-name{
  color:var(--text);
}
.partner-category{
  margin:0 0 12px;
  font-size:13px;
  font-weight:600;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.5px;
}
.partner-desc{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  flex:1;
}
.feature-list{margin-top:16px}
.feature-item{
  display:flex;
  gap:8px;
  margin-bottom:10px;
  font-size:13px;
  color:var(--muted);
}
.feature-item:last-child{margin-bottom:0}
.feature-check{
  color:var(--primary);
  font-weight:700;
}
.partner-cta{
  margin-top:18px;
  width:100%;
  text-align:center;
}
.partner-datasheet-btn{
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  padding:6px 10px;
  min-height:32px;
  white-space:nowrap;
  border-color:rgba(29,78,216,.34);
  background:linear-gradient(135deg, rgba(29,78,216,.12), rgba(29,78,216,.06));
}
.highlight-card{
  margin-top:32px;
  padding:24px;
  border-left:4px solid var(--primary);
}
.client-brand-mark{
  opacity:.95;
  max-width:260px;
  width:100%;
  height:auto;
}
.clients-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:16px;
  align-items:center;
}
.client-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height:80px;
  border:1px solid rgba(29,78,216,.2);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.client-logo span{
  color:var(--muted);
  font-size:13px;
}
.clients-sectors{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.partner-card:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 16px 48px rgba(29,78,216,.15),
    inset 0 1px 2px rgba(255,255,255,.8);
}
body.dark-theme .partner-card{
  border-color:rgba(29,78,216,.3);
  background:linear-gradient(135deg, rgba(26,31,46,.98) 0%, rgba(26,31,46,.95) 100%);
  box-shadow:
    0 8px 32px rgba(0,0,0,.2),
    inset 0 1px 2px rgba(255,255,255,.05);
}
body.dark-theme .partner-card:hover{
  border-color:rgba(29,78,216,.5);
  box-shadow:
    0 16px 48px rgba(29,78,216,.2),
    inset 0 1px 2px rgba(255,255,255,.05);
}
body.dark-theme .partner-logo-box{
  border-color:rgba(29,78,216,.3);
  background:rgba(29,78,216,.08);
}
body.dark-theme .partner-card-secondary{
  border-color:rgba(148,163,184,.25);
  background:linear-gradient(135deg, rgba(26,31,46,.94) 0%, rgba(26,31,46,.9) 100%);
}
body.dark-theme .partner-badge-secondary{
  background:linear-gradient(135deg, rgba(100,116,139,.62), rgba(71,85,105,.56));
  border-color:rgba(148,163,184,.3);
}
body.dark-theme .dialog-datasheet-btn{
  border-color:rgba(148,163,184,.42);
  background:linear-gradient(135deg, rgba(29,78,216,.24), rgba(29,78,216,.12));
}
body.dark-theme .partner-datasheet-btn{
  border-color:rgba(148,163,184,.44);
  background:linear-gradient(135deg, rgba(29,78,216,.26), rgba(29,78,216,.14));
}
body.dark-theme .proof-item{
  color:#e8eaed;
  border-color:rgba(148,163,184,.38);
  background:rgba(15,27,48,.52);
  box-shadow:inset 0 1px 0 rgba(148,163,184,.15);
}
body.dark-theme .feature-item{
  color:#c6cfdd;
}
body.dark-theme .client-logo{
  border-color:rgba(29,78,216,.34);
  background:rgba(29,78,216,.08);
}

body.dark-theme .list-cols{
  background:linear-gradient(135deg, rgba(29,78,216,.1) 0%, rgba(60,33,110,.06) 100%);
  border-color:rgba(29,78,216,.3);
}

body.dark-theme .hero-card{
  background:linear-gradient(135deg, rgba(12,27,53,.96) 0%, rgba(20,58,114,.88) 100%);
  border-color:rgba(29,78,216,.3);
  box-shadow:0 14px 30px rgba(3,10,24,.42);
}

body.dark-theme .hero-art{
  background:
    linear-gradient(90deg, rgba(29,78,216,.045) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.045) 1px, transparent 1px),
    radial-gradient(360px 230px at 18% 24%, rgba(223,47,32,.2), transparent 66%),
    radial-gradient(300px 240px at 86% 20%, rgba(29,78,216,.24), transparent 64%),
    linear-gradient(145deg, rgba(12,20,36,.96), rgba(14,26,46,.86));
  background-size:40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%;
  border-color:rgba(96,165,250,.42);
  box-shadow:0 26px 60px rgba(2,8,24,.5), inset 0 1px 2px rgba(255,255,255,.05);
}
body.dark-theme .hero-art::before{
  background:linear-gradient(120deg, rgba(148,163,184,.12), rgba(15,23,42,0) 44%);
}
body.dark-theme .hero-art-copy{
  border-color:rgba(148,163,184,.28);
  background:linear-gradient(135deg, rgba(15,27,48,.62), rgba(15,27,48,.36));
}
body.dark-theme .hero-art-value{
  border-color:rgba(148,163,184,.25);
  background:linear-gradient(135deg, rgba(15,27,48,.58), rgba(15,27,48,.34));
}
body.dark-theme .hero-art-value h4{
  color:#e8eaed;
}
body.dark-theme .hero-art-list li{
  color:#c7d0df;
}
body.dark-theme .hero-trust-item{
  color:#e8eaed;
  border-color:rgba(148,163,184,.42);
  background:linear-gradient(140deg, rgba(15,27,48,.78), rgba(30,41,59,.62));
  box-shadow:0 10px 20px rgba(2,8,24,.26), inset 0 1px 0 rgba(148,163,184,.15);
}
body.dark-theme .hero-company-tag{
  color:#dbe4ff;
  border-color:rgba(223,47,32,.34);
  background:linear-gradient(135deg, rgba(48,26,30,.64), rgba(74,35,32,.52));
  box-shadow:0 4px 12px rgba(0,0,0,.22);
}
body.dark-theme .hero-art-copy h3{
  color:#e8eaed;
}
body.dark-theme .hero-art-copy p{
  color:#c6cfdd;
}

body.dark-theme .hero-art--carousel .slide-title{
  color:#e8eaed;
}

body.dark-theme .hero-art--carousel .slide-caption{
  color:#c6cfdd;
}
body.dark-theme .hero-art--carousel .hero-art-carousel{
  border-color:rgba(96,165,250,.34);
  background:linear-gradient(145deg, rgba(15,27,48,.78), rgba(15,23,42,.62));
  box-shadow:0 16px 32px rgba(0,0,0,.34), inset 0 1px 0 rgba(148,163,184,.18);
}
body.dark-theme .hero-art-meta{
  border-top-color:rgba(96,165,250,.26);
}
body.dark-theme .hero-art-meta-item{
  color:#dbe4ff;
  border-color:rgba(96,165,250,.34);
  background:linear-gradient(140deg, rgba(30,41,59,.7), rgba(15,23,42,.58));
}
body.dark-theme .hero-art-meta-item::before{
  background:#60a5fa;
}
body.dark-theme .dots--subtle .dot::before{
  background:rgba(148,163,184,.35);
  border-color:rgba(148,163,184,.4);
}
body.dark-theme .dots--subtle .dot.active::before{
  border-color:rgba(191,219,254,.9);
}

body.dark-theme .scroll-down{
  background:rgba(15,27,48,.55);
  border-color:rgba(148,163,184,.34);
  box-shadow:0 10px 24px rgba(0,0,0,.26);
}

body.dark-theme .scroll-down-icon{
  color:#e8eaed;
}
body.dark-theme .about-brief-years{
  border-color:rgba(148,163,184,.42);
  background:rgba(148,163,184,.14);
  color:#e2e8f0;
}
body.dark-theme .about-brief-points{
  color:#dbe7ff;
}
body.dark-theme .home-partners-showcase{
  border-color:rgba(29,78,216,.34);
  background:
    radial-gradient(560px 220px at 10% 0%, rgba(223,47,32,.12), transparent 58%),
    radial-gradient(620px 260px at 88% 100%, rgba(29,78,216,.16), transparent 62%),
    rgba(16,24,39,.72);
}
body.dark-theme .home-partner-card{
  border-color:rgba(29,78,216,.36);
  background:linear-gradient(150deg, rgba(15,27,48,.74), rgba(18,36,66,.66));
  box-shadow:0 10px 22px rgba(0,0,0,.32);
}
body.dark-theme .home-partner-name{
  color:#e6ecff;
}
body.dark-theme .home-partner-category{
  color:#9fb3d8;
}
body.dark-theme .home-partner-desc{
  color:#c8d3ea;
}

@media (prefers-reduced-motion: reduce){
  .home-partners-track{
    animation-duration:40s;
  }
  .services-approach-visual .deteccao-360-img{
    transition:none;
    transform:none;
  }
}

body.dark-theme footer{
  background:#0b1220;
  border-top-color:rgba(148,163,184,.2);
}
body.dark-theme .wa-float{
  border-color:rgba(148,163,184,.42);
  box-shadow:0 14px 30px rgba(0,0,0,.45);
}

/* Not found page */
body.not-found-route #app{
  display:flex;
}
body.not-found-route .not-found-page{
  flex:1 0 auto;
}

.not-found-page{
  --nf-available-height:calc(100svh - 112px);
  position:relative;
  height:var(--nf-available-height);
  min-height:var(--nf-available-height);
  max-height:var(--nf-available-height);
  padding:clamp(8px, 1.8vw, 20px) 0;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.not-found-page::before{
  content:"";
  position:absolute;
  inset:-18% -10% -14%;
  background:
    radial-gradient(760px 380px at 12% 8%, rgba(29,78,216,.12), transparent 72%),
    radial-gradient(700px 360px at 90% 4%, rgba(223,47,32,.12), transparent 74%);
  pointer-events:none;
}
.not-found-container{
  position:relative;
  z-index:1;
  height:100%;
  display:flex;
}
.not-found-stage{
  flex:1;
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(220px, .8fr);
  align-items:center;
  gap:clamp(10px, 2vw, 28px);
}
.not-found-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(9px, 1.2vw, 14px);
  animation:nf-fade-up .55s cubic-bezier(.22, 1, .36, 1) both;
}
.not-found-kicker{
  margin:0;
  color:#6e7482;
  font-size:11px;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.not-found-title{
  margin:0;
  display:grid;
  gap:1px;
}
.not-found-code{
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:clamp(58px, 10.2vw, 112px);
  line-height:.84;
  letter-spacing:-.04em;
  color:var(--navy);
}
.not-found-title-text{
  font-family:"League Spartan", system-ui, sans-serif;
  font-size:clamp(24px, 3.2vw, 42px);
  line-height:1;
  letter-spacing:-.02em;
  color:var(--navy);
}
.not-found-desc{
  margin:0;
  max-width:56ch;
  color:#545d70;
  font-size:15px;
  line-height:1.54;
}
.not-found-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:2px;
}
.not-found-actions .btn.primary{
  min-height:40px;
  padding:10px 16px;
}
.not-found-secondary-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#3c4b6a;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  transition:color .2s ease, transform .2s ease;
}
.not-found-secondary-link::after{
  content:"\2192";
  font-size:14px;
  line-height:1;
}
.not-found-secondary-link:hover{
  color:var(--primary);
  transform:translateX(2px);
}

.not-found-visual-panel{
  min-width:0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.not-found-visual{
  --nf-tilt-x:0deg;
  --nf-tilt-y:0deg;
  --nf-pointer-x:50%;
  --nf-pointer-y:50%;
  position:relative;
  width:min(300px, 100%);
  aspect-ratio:1 / 1;
  transform:perspective(980px) rotateX(var(--nf-tilt-x)) rotateY(var(--nf-tilt-y));
  transition:transform .2s ease;
  animation:nf-fade-up .58s cubic-bezier(.22, 1, .36, 1) .08s both;
}
.not-found-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(42px);
  opacity:.78;
}
.not-found-glow--one{
  inset:14% 20% 24% 10%;
  background:radial-gradient(circle at var(--nf-pointer-x) var(--nf-pointer-y), rgba(29,78,216,.5), rgba(29,78,216,.1) 62%, rgba(29,78,216,0) 78%);
}
.not-found-glow--two{
  inset:26% 8% 12% 30%;
  background:radial-gradient(circle, rgba(223,47,32,.36), rgba(223,47,32,.08) 58%, rgba(223,47,32,0) 78%);
}
.not-found-particle{
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(26,26,53,.42);
  animation:nf-float 4.8s ease-in-out infinite;
}
.not-found-particle--one{
  top:18%;
  right:22%;
}
.not-found-particle--two{
  bottom:24%;
  left:20%;
  animation-delay:.55s;
}
.not-found-particle--three{
  top:52%;
  right:12%;
  animation-delay:1.05s;
}

@keyframes nf-fade-up{
  from{
    opacity:0;
    transform:translateY(14px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@keyframes nf-float{
  0%,
  100%{
    transform:translateY(0);
    opacity:.5;
  }
  50%{
    transform:translateY(-9px);
    opacity:1;
  }
}

body.dark-theme .not-found-kicker{
  color:#9aa8c2;
}
body.dark-theme .not-found-code,
body.dark-theme .not-found-title-text{
  color:#edf3ff;
}
body.dark-theme .not-found-desc{
  color:#c7d3e8;
}
body.dark-theme .not-found-secondary-link{
  color:#adc2e6;
}
body.dark-theme .not-found-secondary-link:hover{
  color:#fda49d;
}
body.dark-theme .not-found-glow--one{
  background:radial-gradient(circle at var(--nf-pointer-x) var(--nf-pointer-y), rgba(96,165,250,.5), rgba(96,165,250,.12) 62%, rgba(96,165,250,0) 78%);
}
body.dark-theme .not-found-glow--two{
  background:radial-gradient(circle, rgba(248,113,113,.34), rgba(248,113,113,.08) 58%, rgba(248,113,113,0) 78%);
}
body.dark-theme .not-found-particle{
  background:rgba(203,213,225,.58);
}

@media (max-width: 980px){
  .not-found-stage{
    grid-template-columns:1fr;
  }
  .not-found-visual-panel{
    order:-1;
    justify-content:flex-end;
    min-height:108px;
  }
  .not-found-visual{
    width:160px;
  }
}
@media (max-width: 640px){
  .not-found-page{
    --nf-available-height:calc(100svh - 98px);
    padding:8px 0 12px;
  }
  .not-found-main{
    gap:8px;
  }
  .not-found-kicker{
    font-size:10px;
  }
  .not-found-code{
    font-size:clamp(50px, 17vw, 76px);
  }
  .not-found-title-text{
    font-size:clamp(20px, 6.8vw, 28px);
  }
  .not-found-desc{
    font-size:13px;
    line-height:1.42;
  }
  .not-found-actions{
    gap:10px;
  }
  .not-found-actions .btn.primary{
    min-height:38px;
    padding:8px 12px;
    font-size:13px;
  }
  .not-found-secondary-link{
    font-size:13px;
  }
  .not-found-visual{
    width:132px;
  }
}
@media (max-width: 640px) and (max-height: 760px){
  .not-found-page{
    --nf-available-height:calc(100svh - 92px);
    padding:6px 0 8px;
  }
  .not-found-main{
    gap:6px;
  }
  .not-found-kicker{
    font-size:9px;
    letter-spacing:.07em;
  }
  .not-found-code{
    font-size:clamp(42px, 14vw, 62px);
  }
  .not-found-title-text{
    font-size:clamp(17px, 5.8vw, 24px);
  }
  .not-found-desc{
    font-size:12px;
    line-height:1.34;
    max-width:52ch;
  }
  .not-found-actions{
    gap:8px;
  }
  .not-found-actions .btn.primary{
    min-height:34px;
    padding:7px 10px;
    font-size:12px;
  }
  .not-found-secondary-link{
    font-size:12px;
  }
  .not-found-visual-panel{
    min-height:78px;
  }
  .not-found-visual{
    width:108px;
  }
}
@media (max-width: 900px) and (max-height: 500px){
  .not-found-stage{
    grid-template-columns:minmax(0, 1fr) minmax(120px, .62fr);
    gap:10px;
  }
  .not-found-visual-panel{
    order:0;
    justify-content:center;
    min-height:0;
  }
  .not-found-visual{
    width:min(140px, 100%);
  }
  .not-found-main{
    gap:6px;
  }
  .not-found-desc{
    max-width:48ch;
  }
}
@media (prefers-reduced-motion: reduce){
  .not-found-main,
  .not-found-visual{
    animation:none;
  }
  .not-found-particle{
    animation:none;
  }
}
