/* =========================================================
   Cognisys — design tokens
   ========================================================= */
:root{
  --red:        #DA251D;
  --red-dark:   #A61710;
  --red-tint:   #FCEAE9;
  --dark-green: #08e46a;
  --ink:        #14161A;
  --ink-soft:   #3B3E44;
  --slate:      #6B6F76;
  --slate-light:#9DA0A6;
  --paper:      #FFFFFF;
  --mist:       #F8F8F6;
  --panel:      #FBFBFA;
  --line:       #EBEAE6;

  --font-display: "Montserrat", sans-serif;
  --font-body:    "Montserrat", sans-serif;
  --font-mono:    "Montserrat", sans-serif;

  --container-max: 1180px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; overflow-x: hidden; }

body{
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection{ background: var(--red); color: #fff; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

p{ color: var(--ink-soft); line-height: 1.65; }

a{ text-decoration: none; }

.container-cog{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}

/* -------------------------------------------------------
   Eyebrow / mono labels — the recurring "system" motif
   ------------------------------------------------------- */
.eyebrow{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: var(--dark-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.eyebrow.on-dark{ color: #6FCF9A; text-decoration-color: #6FCF9A; }

/* -------------------------------------------------------
   Buttons
   ------------------------------------------------------- */
.btn-cog{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-cog:hover{ transform: translateY(-2px); }

.btn-cog-primary{
  background: var(--red);
  color: #fff;
}
.btn-cog-primary:hover{ background: var(--red-dark); color: #fff; }

.btn-cog-outline{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-cog-outline:hover{ background: var(--ink); color: #fff; }

.btn-cog-outline-light{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-cog-outline-light:hover{ background: #fff; color: var(--ink); border-color: #fff; }

.btn-cog-arrow{ transition: transform .18s ease; }
.btn-cog:hover .btn-cog-arrow{ transform: translateX(4px); }

/* -------------------------------------------------------
   Nav
   ------------------------------------------------------- */
.cog-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.cog-nav.scrolled{
  box-shadow: 0 4px 24px rgba(20,22,26,.06);
}
.cog-nav .container-cog{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.cog-nav img{ height: 26px; width: auto; }

/* Shared link styling — used by both the desktop row and the mobile panel */
.cog-nav-links-desktop a,
.cog-nav-links a{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.cog-nav-links-desktop a::after,
.cog-nav-links a::after{
  content:"";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--red);
  transition: right .22s ease;
}
.cog-nav-links-desktop a:hover,
.cog-nav-links a:hover{ color: var(--ink); }
.cog-nav-links-desktop a:hover::after,
.cog-nav-links a:hover::after{ right: 0; }

/* Desktop inline nav — plain flex row, part of the navbar itself */
.cog-nav-links-desktop{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-toggle{
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 44px; height: 40px;
  position: relative;
  z-index: 1002;
  flex: none;
  box-shadow: 0 1px 2px rgba(20,22,26,.04);
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover{ border-color: var(--red); }
.nav-toggle.open{ background: var(--ink); border-color: var(--ink); }
.nav-toggle span{
  position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease, background .2s ease;
}
.nav-toggle.open span{ background: #fff; }
.nav-toggle span:nth-child(1){ top: 13px; }
.nav-toggle span:nth-child(2){ top: 19px; }
.nav-toggle span:nth-child(3){ top: 25px; }
.nav-toggle.open span:nth-child(1){ top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ top: 19px; transform: rotate(-45deg); }

/* Dimmed backdrop shown behind the open mobile menu — a top-level sibling
   of <nav>, not nested inside it. */
.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(20,22,26,.32);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.nav-overlay.open{ opacity: 1; visibility: visible; }

/* Mobile menu panel — also a top-level sibling of <nav>, never nested
   inside another position:fixed element (see the HTML comment above it).
   Hidden completely above the mobile breakpoint. */
.cog-nav-links{
  display: none;
}

@media (max-width: 991px){
  .cog-nav-links-desktop{ display: none; }
  .nav-toggle{ display: block; }

  .cog-nav-links{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    list-style: none;
    margin: 0;
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 3px solid var(--red);
    padding: 12px 24px 30px;
    gap: 0;
    box-shadow: 0 16px 32px rgba(20,22,26,.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .cog-nav-links.open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .cog-nav-links li{ width: 100%; border-bottom: 1px solid var(--line); }
  .cog-nav-links li:last-child{ border-bottom: none; padding-top: 18px; }
  .cog-nav-links a{
    display: block;
    font-size: .92rem;
    letter-spacing: .04em;
    padding: 16px 2px;
    color: var(--ink);
  }
  .cog-nav-links a::after{ display: none; }
  .cog-nav-links li:last-child a{
    display: inline-flex;
    padding: 13px 26px;
  }
}

/* -------------------------------------------------------
   Hero
   ------------------------------------------------------- */
.hero{
  position: relative;
  padding: 168px 0 96px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
  color: var(--ink);
  overflow: hidden;
}
.hero-photo{
  position: absolute; inset: 0;
  background-image: url("../img/stock-office-building.jpg?v=2");
  background-size: cover;
  background-position: center;
  opacity: .10;
  filter: grayscale(55%) contrast(1.05);
  pointer-events: none;
}
.hero-photo::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.7) 45%, var(--mist) 100%);
}
.hero-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,22,26,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,22,26,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, black 10%, transparent 75%);
  pointer-events: none;
}
.hero-glow{
  position: absolute;
  top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(218,37,29,.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero .row{ position: relative; z-index: 2; }

.hero h1{
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  color: var(--ink);
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
}
.hero .lede{
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 75ch;
  margin: 22px 0 34px;
}
.hero-ctas{ display:flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-tags{
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.platform-chip{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.platform-chip::before{
  content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}

/* Logo badges — real Workday / ServiceNow marks on a crisp white chip */
.logo-badge{
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 16px;
  height: 70px;
}
.logo-badge img{ height: 100%; width: auto; display: block; }
.logo-badge.badge-workday img{ height: 17px; }
.logo-badge.badge-servicenow img{ height: 17px; }

/* -------------------------------------------------------
   Photo treatments — path cards, HRO, console
   ------------------------------------------------------- */
.path-card-photo{
  margin: -40px -34px 24px;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.path-card-photo img{
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: transform .5s ease, filter .5s ease;
}
.path-card:hover .path-card-photo img{ transform: scale(1.05); filter: grayscale(0%); }
.path-card-photo::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,26,0) 55%, rgba(20,22,26,.5) 100%);
}

.section-photo{
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.section-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(10%);
}
.section-photo-tag{
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  color: #fff;
  background: rgba(20,22,26,.72);
  padding: 7px 12px;
  border-radius: 2px;
}

.console-pane-logo{
  display: inline-flex; align-items: center;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 18px;
  margin-bottom: 22px;
  /*height: 40px; */
}


.console-pane-logo img{ height: 100%; width: auto; display: block; }
.console-pane-logo.logo-workday img{ height: 60px; }
.console-pane-logo.logo-servicenow img{ height: 40px; }

.advisory-photo{
  border-radius: 4px;
  overflow: hidden;
  margin-top: 26px;
  aspect-ratio: 16 / 8;
}
.advisory-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(10%); }

/* hero side panel — mock console card, the signature motif preview */
.hero-panel{
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 44px rgba(20,22,26,.06);
  border-radius: 4px;
  padding: 26px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.hero-panel-head{
  display:flex; align-items:center; justify-content: space-between;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 18px;
}
.hero-panel-head .dot{ width: 7px; height: 7px; border-radius: 50%; background: #24A85B; box-shadow: 0 0 0 3px rgba(36,168,91,.16);}
.hero-metric{ display:flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.hero-metric:last-child{ border-bottom: none; }
.hero-metric .label{ font-size: .74rem; color: var(--slate); letter-spacing: .04em;}
.hero-metric .value{ font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.hero-metric .value span{ color: var(--red); }

/* -------------------------------------------------------
   Section shell
   ------------------------------------------------------- */
section{ padding: 65px 0; }
.section-alt{ background: var(--mist); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
.section-head p{ margin-top: 16px; font-size: 1.05rem; }

/* -------------------------------------------------------
   Two-path (intro) cards
   ------------------------------------------------------- */
.path-card{
  border: 1px solid var(--line);
  background: #fff;
  padding: 40px 34px;
  height: 100%;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.path-card:hover{ border-color: var(--red); transform: translateY(-4px); }
.path-index{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .76rem; color: var(--slate-light);
  margin-bottom: 22px; display:block;
}
.path-card h3{ font-size: 1.4rem; margin-bottom: 14px; }
.path-card p{ margin-bottom: 20px; }
.path-card .btn-cog{ padding: 10px 18px; font-size: .74rem; }

/* -------------------------------------------------------
   Pillars (4-up)
   ------------------------------------------------------- */
.pillar{
  padding: 10px 26px;
  border-top: 2px solid var(--red);
  height: 100%;
}
.pillar .num{
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red);
  font-size: 1.0rem;
  display: block;
  margin-bottom: 18px;
}
.pillar h4{ font-size: 1.15rem; margin-bottom: 10px; }
.pillar p{ font-size: .93rem; }

/* -------------------------------------------------------
   Platform console switcher (signature element)
   ------------------------------------------------------- */
.console{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.console-bar{
  display:flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.console-tab{
  flex: 1 1 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.console-tab .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--slate-light); transition: background .2s ease;}
.console-tab:hover{ color: var(--ink); }
.console-tab.active{ color: var(--ink); border-bottom-color: var(--red); background: #fff; }
.console-tab.active .dot{ background: var(--red); box-shadow: 0 0 0 4px rgba(218,37,29,.18); }

.console-body{ padding: 48px; }
.console-pane{ display: none; }
.console-pane.active{ display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn{ from{ opacity: 0; transform: translateY(6px);} to{ opacity: 1; transform: translateY(0);} }

.console-sub-nav{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.console-sub-btn{
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .04em;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: all .18s ease;
}
.console-sub-btn:hover{ border-color: var(--red); color: var(--red); }
.console-sub-btn.active{ background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 480px){
  .console-sub-btn{ min-width: 100%; }
}

.console-block{ display: none; }
.console-block.active{ display: block; animation: fadeIn .3s ease; }

.stack-tags{ display:flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.stack-tag{
  font-family: var(--font-mono);
  font-weight: 600; font-size: .72rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 7px 12px; border-radius: 2px; color: var(--ink-soft);
}

.service-list{ list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.service-list li{
  font-size: .95rem; color: var(--ink-soft);
  padding-left: 20px; position: relative;
}
.service-list li::before{
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 2px; background: var(--red);
}

.advisory-highlight{
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 26px 28px;
  margin-top: 26px;
}
.advisory-highlight h5{ font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 10px; }
.advisory-highlight p{ margin: 0; font-size: .94rem; }

/* -------------------------------------------------------
   HRO section
   ------------------------------------------------------- */
.hro-stat{
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}
.hro-stat + p{ font-family: var(--font-mono);
  font-weight: 600; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-top: 8px;}

/* -------------------------------------------------------
   The Cognisys Way — process
   ------------------------------------------------------- */
.way-track{
  position: relative;
}
.way-track::before{
  content:"";
  position: absolute;
  left: 27px; top: 6px; bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
}
@media (min-width: 992px){
  .way-track::before{
    left: 0; right: 0; top: 27px; bottom: auto; height: 1px; width: auto;
    background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
  }
}
.way-step{ position: relative; padding-left: 74px; padding-bottom: 44px; }
.way-step:last-child{ padding-bottom: 0; }
@media (min-width: 992px){
  .way-step{ padding-left: 0; padding-top: 74px; padding-bottom: 0; }
}
.way-step .badge-num{
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
@media (min-width: 992px){
  .way-step .badge-num{ left: 0; top: 0; }
}
.way-step h4{ font-size: 1.05rem; margin-bottom: 8px; }
.way-step p{ font-size: .9rem; }

/* -------------------------------------------------------
   Contact
   ------------------------------------------------------- */
.contact-shell{
  background: var(--mist);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(20,22,26,.05);
  border-radius: 6px;
}
.contact-toggle{
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 34px;
}
.contact-toggle button{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 11px 22px;
  background: var(--mist); border: none; color: var(--slate);
  cursor: pointer; transition: all .18s ease;
}
.contact-toggle button.active{ background: var(--red); color: #fff; }

.form-cog label{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px; display: block;
}
.form-cog .form-control, .form-cog .form-select{
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: .92rem;
}
.form-cog .form-control::placeholder{ color: var(--slate-light); }
.form-cog .form-control:focus, .form-cog .form-select:focus{
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
  color: var(--ink);
}
.form-cog .form-select option{ color: var(--ink); }
.field-hint{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .03em;
  color: var(--slate);
  margin: 8px 0 0;
}

/* -------------------------------------------------------
   Custom multi-select — compact closed trigger (matches
   .form-select), opens a checkbox panel. Scales cleanly as
   options are added, unlike a native <select multiple>.
   ------------------------------------------------------- */
.multiselect{ position: relative; }
.multiselect-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 2px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.multiselect-trigger-text{ color: var(--ink); }
.multiselect-trigger.is-placeholder .multiselect-trigger-text{ color: var(--slate-light); }
.multiselect-trigger-arrow{
  font-size: .7rem;
  color: var(--slate);
  transition: transform .18s ease;
  flex: none;
}
.multiselect.open .multiselect-trigger-arrow{ transform: rotate(180deg); }
.multiselect-trigger:focus-visible,
.multiselect.open .multiselect-trigger{
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
  outline: none;
}

.multiselect-panel{
  display: none;
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(20,22,26,.14);
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 40;
}
.multiselect.open .multiselect-panel{ display: block; animation: fadeIn .15s ease; }

.multiselect-option{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 2px;
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease;
}
.multiselect-option:hover{ background: var(--mist); }
.multiselect-option input[type="checkbox"]{
  flex: none;
  width: 16px; height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  vertical-align: bottom;
}

.multiselect-option input[type="checkbox"] ~ span{ margin-left: 10px; }

.multiselect-option input[type="checkbox"]:checked ~ span{ color: var(--red); font-weight: 600;  }
.contact-pane{ display: none; }
.contact-pane.active{ display: block; animation: fadeIn .3s ease; }

.mail-status{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem;
  color: var(--slate);
  margin: 4px 0 0;
  min-height: 1em;
}
.mail-status.is-visible{ color: #1E8E4F; }

.google-form-link{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.google-form-link:hover{ color: var(--ink); border-color: var(--ink); }

/* -------------------------------------------------------
   Clients marquee — auto-scrolling logo strip
   ------------------------------------------------------- */
.clients-marquee{
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients-track{
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: clients-scroll 34s linear infinite;
}
.clients-marquee:hover .clients-track,
.clients-marquee:focus-within .clients-track{ animation-play-state: paused; }

.client-logo{
  flex: none;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 4px;
  filter: grayscale(100%);
  opacity: .55;
  transition: filter .2s ease, opacity .2s ease;
}
.client-logo svg{ display: block; height: 28px; width: auto; }
.client-logo img{ display: block; height: 32px; width: auto; border-radius: 3px; }
.client-logo span{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
}
.client-logo:hover{
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes clients-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .clients-track{ animation: none; }
  .clients-marquee{ overflow-x: auto; }
}

/* -------------------------------------------------------
   Footer
   ------------------------------------------------------- */
footer{
  background: var(--mist);
  color: var(--slate);
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
footer img{ height: 20px; opacity: .95; }
.footer-links{ display: flex; flex-wrap: wrap; row-gap: 10px; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.footer-links a{ font-family: var(--font-mono);
  font-weight: 600; font-size: .74rem; color: var(--slate); }
.footer-links a:hover{ color: var(--ink); }

/* -------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------
   Responsive
   ------------------------------------------------------- */
@media (max-width: 991px){
  .console-tab{ font-size: .7rem; padding: 14px 8px; }
  .console-body{ padding: 30px 22px; }
  .service-list{ grid-template-columns: 1fr; }
}

@media (max-width: 575px){
  section{ padding: 76px 0; }
  .hero{ padding: 140px 0 70px; }
  footer .container-cog{ text-align: center; justify-content: center; }
  .footer-links{ justify-content: center; column-gap: 16px; row-gap: 8px; }
}

.visually-hidden {
	visibility: hidden;
}

.text-bold {
	font-weight: bold;
}

.margin-bottom-0 {
    margin-bottom: 0px !important;
}

.w-100 {
    max-width: 100% !important;
}

.background-color-black {
	background-color: #000;
}