/* ============================================
   TENEO d.o.o. — Modern Minimalist Redesign
   Inspired by DynamicsSquare
   ============================================ */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0F1728;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---- DESIGN TOKENS ---- */
:root {
  --navy:        #0F1728;
  --navy-mid:    #1B2B5E;
  --blue:        #1D4ED8;
  --orange:      #2596be;
  --orange-h:    #1a7fa8;
  --white:       #FFFFFF;
  --off-white:   #F9FAFB;
  --border:      #E5E7EB;
  --muted:       #6B7280;
  --light:       #F3F4F6;
  --green:       #059669;

  --r-sm:  6px;
  --r:     10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);

  --ease: .22s ease;
}

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 56px 0; }
.section--alt { background: var(--off-white); }
.section--dark {
  background: var(--navy);
  color: var(--white);
}


/* ---- TYPOGRAPHY SCALE ---- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.eyebrow--light { color: rgba(255,255,255,.55); }

h1, .h1 {
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--navy);
}
h2, .h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--navy);
}
h3, .h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
p.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 560px;
}

.sec-head { margin-bottom: 36px; }
.sec-head .h2 { margin-bottom: 14px; }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 580px; }
.sec-head--center { text-align: center; }
.sec-head--center p { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn--lg { padding: 17px 38px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  letter-spacing: .01em;
}
.btn-primary:hover {
  background: var(--orange-h);
  border-color: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,150,190,.32);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--off-white);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ============================================
   TOP ANNOUNCEMENT BAR
   ============================================ */
.topbar {
  background: var(--navy-mid);
  padding: 9px 0;
  text-align: center;
}
.topbar p {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.topbar strong { color: #fff; }
.topbar a {
  color: var(--orange);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid;
  padding: 6px 2px;
  margin: -6px -2px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: var(--shadow); border-color: transparent; }

.header__inner {
  display: flex;
  align-items: center;
  height: 84px;
  gap: 12px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon { width: 52px; height: 52px; }
.logo__img  { height: 74px; width: auto; display: block; margin-top: 10px; margin-bottom: 10px;}
.logo__img--footer { filter: brightness(0) invert(1); }
.logo__text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy);
}
.logo__dot { color: var(--orange); }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__mobile-cta { display: none; }

@media (max-width: 768px) {
  .header__inner { height: 72px; }
  .logo__icon { width: 40px; height: 40px; }
  .logo__img { height: 44px; }
  .logo { gap: 8px; }
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--light); }
.nav__link .chevron {
  width: 14px; height: 14px;
  opacity: .5;
  transition: transform var(--ease);
  flex-shrink: 0;
}
.nav__item:hover .chevron { transform: rotate(180deg); opacity: .8; }

/* Mega dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: flex;
  gap: 8px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
/* Invisible bridge to keep hover state when moving from nav link to dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
.dropdown--sm { min-width: 200px; flex-direction: column; padding: 10px; }
.nav__item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown__col { flex: 1; }
.dropdown__head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px 10px;
}
.dd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: #374151;
  transition: all var(--ease);
}
.dd-link:hover { background: var(--off-white); color: var(--navy); }
.dd-link__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dd-link__icon svg { width: 15px; height: 15px; }
.dd-link span { font-size: 13px; font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.header__phone-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: none;
}
@media (min-width: 1100px) { .header__phone-link { display: block; } }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    background: #fff;
    overflow-y: auto;
    padding: 20px 28px 40px;
    gap: 0;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .nav.open .nav__list { flex-direction: column; width: 100%; }
  .nav.open .nav__link {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Accordion dropdowns on mobile */
  .nav.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    padding: 4px 0 12px 12px;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav.open .nav__item.dropdown-open .dropdown { display: flex; }
  .nav.open .nav__item.dropdown-open .chevron { transform: rotate(180deg); }
  .nav.open .dropdown__col { margin-bottom: 4px; }
  .nav.open .dropdown__head { padding: 8px 0 4px; }
  .nav.open .dd-link { padding: 8px 0; }
  .nav.open .dd-link__icon { display: none; }
  .nav.open .dd-link span { font-size: 14px; color: var(--muted); }

  /* Mobile CTA */
  .nav__mobile-cta { display: none; }
  .nav.open .nav__mobile-cta {
    display: flex;
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav.open {
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 52px 0 28px;
  background: #fbfcff;
  position: relative;
  overflow: hidden;
}

/* Subtle background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .34;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 58% at 78% 26%, rgba(47,99,255,.14) 0%, transparent 66%),
    radial-gradient(ellipse 38% 44% at 62% 77%, rgba(20,184,166,.07) 0%, transparent 72%);
  pointer-events: none;
}

.hero .container { max-width: 1742px; padding: 0 48px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(680px, 760px) minmax(760px, 1fr);
  gap: 86px;
  align-items: start;
}

.hero__left { max-width: 760px; padding-top: 2px; }

.hero__ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 20px 9px 10px;
  margin-bottom: 46px;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.ms-squares { display: grid; grid-template-columns: repeat(2, 9px); gap: 3px; }
.ms-sq {
  width: 9px; height: 9px;
  border-radius: 0;
}
.ms-sq--r  { background: #F35325; }
.ms-sq--g  { background: #81BC06; }
.ms-sq--b  { background: #05A6F0; }
.ms-sq--y  { background: #FFBA08; }
.hero__ms-badge span {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.hero h1 {
  margin-bottom: 34px;
  font-size: clamp(62px, 5.35vw, 98px);
  line-height: .965;
  letter-spacing: -.055em;
  color: #080d1b;
}
.hero h1 em {
  font-style: normal;
  color: #2f63ff;
}

.hero__sub {
  font-size: 22px;
  color: #6b7280;
  line-height: 1.46;
  margin-bottom: 48px;
  max-width: 690px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 76px; }

.hero .btn {
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
}
.hero .btn--lg { padding: 22px 30px; min-height: 70px; }
.hero .btn-primary {
  position: relative;
  gap: 14px;
  background: #2f63ff;
  border-color: #2f63ff;
  box-shadow: none;
}
.hero .btn-primary::after {
  content: '→';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: 24px;
  line-height: 1;
}
.hero .btn-primary:hover {
  background: #2454ed;
  border-color: #2454ed;
  box-shadow: 0 12px 30px rgba(47,99,255,.24);
}
.hero .btn-outline {
  color: #235cff;
  border-color: #2f63ff;
  background: rgba(255,255,255,.7);
  padding-left: 34px;
  padding-right: 34px;
}
.hero .btn-outline:hover {
  color: #fff;
  border-color: #2f63ff;
  background: #2f63ff;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}
.hero-stat__num span { color: var(--orange); }
.hero-stat__lbl { font-size: 13px; color: var(--muted); margin-top: 3px; }
.meta-sep { width: 1px; height: 40px; background: var(--border); }

.hero__trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  max-width: 760px;
}
.hero__trust-tags span {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 104px;
  font-size: 14px;
  font-weight: 500;
  color: #101828;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.hero__trust-tags span svg {
  width: 66px;
  height: 66px;
  padding: 18px;
  border-radius: 50%;
  color: #2f63ff;
  background: rgba(47,99,255,.035);
  border: 1px solid rgba(47,99,255,.22);
}

/* Hero right – dashboard mockup */
.hero__right { position: relative; }

.hero-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.03);
}

.mockup-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #FF5F57; }
.dot--y { background: #FFBD2E; }
.dot--g { background: #28C840; }
.mockup-url {
  flex: 1;
  background: var(--border);
  border-radius: 4px;
  height: 20px;
  margin: 0 8px;
}

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.mockup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.mockup-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.mockup-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(5,150,105,.1);
  color: var(--green);
  padding: 3px 9px;
  border-radius: 100px;
}

/* KPI cards row */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  background: var(--off-white);
  border-radius: var(--r-sm);
  padding: 12px;
  border: 1px solid var(--border);
}
.kpi__label { font-size: 10px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.kpi__value { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.kpi__delta {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 2px;
}

/* Chart bar */
.chart-area { background: var(--off-white); border-radius: var(--r-sm); padding: 14px; border: 1px solid var(--border); }
.chart-label { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--border);
  animation: barGrow .8s ease forwards;
  transform-origin: bottom;
}
.bar--active { background: var(--blue); }
.bar--accent  { background: var(--orange); }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Status list */
.status-list { display: flex; flex-direction: column; gap: 8px; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.status-row__left { display: flex; align-items: center; gap: 10px; }
.status-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.status-icon svg { width: 13px; height: 13px; }
.si--blue   { background: rgba(29,78,216,.1); color: var(--blue); }
.si--green  { background: rgba(5,150,105,.1); color: var(--green); }
.si--orange { background: rgba(37,150,190,.1);  color: var(--orange); }
.status-name  { font-size: 12px; font-weight: 600; color: var(--navy); }
.status-sub   { font-size: 10px; color: var(--muted); }
.status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}
.pill--green { background: rgba(5,150,105,.1); color: var(--green); }
.pill--blue  { background: rgba(29,78,216,.1); color: var(--blue); }
.pill--warn  { background: rgba(37,150,190,.08); color: var(--orange); }

/* Floating badge on mockup */
.float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  animation: float 5s ease-in-out infinite;
}
.float-badge--tl { top: -16px; left: -32px; }
.float-badge--br { bottom: 24px; right: -28px; }
.float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon svg { width: 18px; height: 18px; }
.fi--orange { background: rgba(37,150,190,.1); color: var(--orange); }
.fi--green  { background: rgba(5,150,105,.1); color: var(--green); }
.float-val  { font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1; }
.float-lbl  { font-size: 11px; color: var(--muted); margin-top: 1px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__right { display: none; }
}

.hero__right { position: relative; min-height: 735px; }

.hero-collage {
  position: relative;
  width: min(895px, 100%);
  height: 735px;
  margin-left: auto;
}
.hero-collage__panel {
  position: absolute;
  inset: 30px 0 20px 46px;
  border: 1px solid rgba(47,99,255,.13);
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 64%, rgba(47,99,255,.11), transparent 42%),
    linear-gradient(180deg, rgba(234,240,255,.82), rgba(248,251,255,.62));
  box-shadow: 0 22px 50px rgba(37,65,140,.08);
}
.hero-collage__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(47,99,255,.22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .32;
}

.hero-photo,
.hero-code-card,
.hero-dashboard {
  position: absolute;
  display: block;
}
.hero-photo {
  filter: drop-shadow(0 20px 30px rgba(19,31,65,.12));
}
.hero-photo--main {
  top: 36px;
  right: 31px;
  width: 505px;
  height: 505px;
  object-fit: contain;
}
.hero-photo--small {
  width: 224px;
  height: 168px;
  object-fit: contain;
}
.hero-photo--work { right: 200px; bottom: 32px; }
.hero-photo--conf { right: 25px; bottom: 32px; }
.hero-code-card {
  left: 36px;
  bottom: 16px;
  width: 340px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 16px 24px rgba(15,23,42,.18));
}

.hero-dashboard {
  top: 36px;
  left: 40px;
  z-index: 3;
  width: 330px;
  min-height: 390px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(203,213,225,.9);
  box-shadow: 0 18px 34px rgba(15,23,42,.08);
}
.hero-dashboard__cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-radius: 999px;
  color: #314155;
  background: #ddfbf5;
  border: 1px solid #91e7d8;
  margin-bottom: 18px;
}
.hero-dashboard__cert span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: #14c8ac;
  font-size: 11px;
  font-weight: 800;
}
.hero-dashboard__cert strong { display: block; font-size: 12px; line-height: 1.1; }
.hero-dashboard__cert small { display: block; font-size: 9px; color: #657184; line-height: 1.2; }
.hero-dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hero-dashboard__head strong { font-size: 14px; color: #141b2b; }
.hero-dashboard__head span {
  padding: 5px 10px;
  border-radius: 999px;
  color: #14b8a6;
  background: #d8fbf4;
  font-size: 10px;
  font-weight: 800;
}
.hero-dashboard__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}
.hero-dashboard__kpis div {
  padding: 11px 10px;
  border-radius: 8px;
  background: #f8fafc;
}
.hero-dashboard__kpis small {
  display: block;
  margin-bottom: 3px;
  color: #8a95a6;
  font-size: 9px;
  font-weight: 800;
}
.hero-dashboard__kpis strong {
  display: block;
  color: #0d1424;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero-dashboard__kpis em {
  display: block;
  margin-top: 5px;
  color: #2563ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.hero-dashboard__kpis div:last-child em { color: #00b894; }
.hero-dashboard__period {
  margin-bottom: 8px;
  color: #7d8798;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-dashboard__bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 54px;
  margin-bottom: 14px;
}
.hero-dashboard__bars i {
  align-self: flex-end;
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #e2e6ed;
}
.hero-dashboard__bars .is-blue { background: #2f63ff; }
.hero-dashboard__bars .is-dark { background: #18399f; }
.hero-dashboard__bars .is-teal { background: #14b8a6; }
.hero-dashboard__tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-dashboard__tasks div {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: #f8fafc;
}
.hero-dashboard__tasks span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #2f63ff;
  background: #eaf0ff;
  font-size: 11px;
  font-weight: 800;
}
.hero-dashboard__tasks strong {
  min-width: 0;
  color: #1b2435;
  font-size: 11px;
  line-height: 1.1;
}
.hero-dashboard__tasks small {
  display: block;
  margin-top: 2px;
  color: #8a95a6;
  font-size: 9px;
  font-weight: 500;
}
.hero-dashboard__tasks em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #2563ff;
  background: #eaf0ff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.hero-dashboard__tasks div:last-child em {
  color: #14b8a6;
  background: #d8fbf4;
}

@media (max-width: 1500px) {
  .hero__inner {
    grid-template-columns: minmax(540px, 640px) minmax(640px, 1fr);
    gap: 48px;
  }
  .hero h1 { font-size: clamp(54px, 5.1vw, 82px); }
  .hero__sub { font-size: 19px; max-width: 610px; }
  .hero-collage { transform: scale(.86); transform-origin: top right; margin-bottom: -100px; }
  .hero__right { min-height: 635px; }
}

@media (max-width: 1180px) {
  .hero .container { padding: 0 28px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__left { max-width: 760px; }
  .hero__right { display: none; }
  .hero__trust-tags { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hero { padding: 36px 0 42px; }
  .hero .container { padding: 0 22px; }
  .hero__ms-badge { margin-bottom: 24px; padding: 7px 14px 7px 9px; }
  .hero__ms-badge span { font-size: 13px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); margin-bottom: 22px; }
  .hero__sub { font-size: 16px; line-height: 1.62; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; gap: 12px; margin-bottom: 34px; }
  .hero__actions .btn { width: 100%; max-width: 100%; justify-content: center; min-height: 58px; padding: 16px 20px; font-size: 15px; white-space: normal; text-align: center; }
  .hero__trust-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .hero__trust-tags span { min-width: 0; font-size: 13px; }
  .hero__trust-tags span svg { width: 56px; height: 56px; padding: 15px; }
}

/* ============================================
   STATS / TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 24px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background var(--ease);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,.03); }
.trust-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--orange);
  line-height: 1;
}
.trust-suf { font-size: 28px; color: var(--orange); font-weight: 800; }
.trust-lbl { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; font-weight: 500; }

@media (max-width: 700px) {
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,.07); }
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.svc-card {
  background: #fff;
  padding: 36px 32px;
  transition: background var(--ease);
  position: relative;
}
.svc-card:hover { background: var(--off-white); }

.svc-card--accent {
  background: var(--navy);
  grid-column: span 1;
}
.svc-card--accent:hover { background: var(--navy-mid); }
.svc-card--accent h3,
.svc-card--accent p,
.svc-card--accent .svc-link { color: rgba(255,255,255,.9); }
.svc-card--accent .svc-icon { background: rgba(255,255,255,.08); }

.svc-icon {
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-icon--orange { background: rgba(37,150,190,.1); color: var(--orange); }
.svc-icon--blue   { background: rgba(29,78,216,.1);  color: var(--blue); }
.svc-icon--green  { background: rgba(5,150,105,.1);  color: var(--green); }
.svc-icon--purple { background: rgba(124,58,237,.1); color: #7C3AED; }
.svc-icon--teal   { background: rgba(14,165,233,.1); color: #0EA5E9; }
.svc-icon--white  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

.svc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--navy); line-height: 1.3; }
.svc-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 18px;
  padding: 6px 0;
  transition: gap var(--ease);
}
.svc-link:hover { gap: 10px; }

.services__grid--2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card--accent { grid-column: auto; }
}
@media (max-width: 520px) {
  .services__grid,#usluge { display: block; overflow: visible; }
}

/* Web dev 2-col grid */
.web-dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.web-dev-card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .web-dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .web-dev-card-inner { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   WHY TENEO
   ============================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__content .eyebrow { margin-bottom: 12px; }
.why__content .h2 { margin-bottom: 20px; }
.why__content > p { margin-bottom: 36px; }

.why-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: #fff;
  transition: all var(--ease);
}
.why-item:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.why-item__check {
  width: 22px; height: 22px;
  background: rgba(37,150,190,.1);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; color: var(--navy); }
.why-item p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Right column: partner card */
.why__right { position: relative; }
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.partner-card__header {
  background: var(--navy);
  padding: 28px 28px 24px;
  color: #fff;
}
.partner-card__header p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.ms-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ms-logo span { font-size: 18px; font-weight: 700; color: #fff; }

.partner-card__body { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }

.p-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--off-white);
  border: 1px solid var(--border);
}
.p-stat__label { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.p-stat__label span.dot-label {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-o { background: var(--orange); }
.dot-b { background: var(--blue); }
.dot-g { background: var(--green); }
.p-stat__val { font-size: 15px; font-weight: 800; color: var(--navy); }

.quote-block {
  background: var(--off-white);
  border-left: 3px solid var(--orange);
  padding: 16px 18px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 4px;
}
.quote-block p { font-size: 14px; color: var(--muted); line-height: 1.65; font-style: italic; }
.quote-block cite { font-size: 12px; color: var(--navy); font-weight: 600; font-style: normal; margin-top: 8px; display: block; }

@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ind-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 0;
  background: #fff;
  cursor: default;
  transition: all var(--ease);
}
.ind-card:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
.ind-icon {
  width: 42px; height: 42px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ind-icon svg { width: 20px; height: 20px; }
.ii--indigo { background: #EEF2FF; color: #4F46E5; }
.ii--orange { background: rgba(37,150,190,.1); color: var(--orange); }
.ii--green  { background: rgba(5,150,105,.1); color: var(--green); }
.ii--red    { background: #FFF1F2; color: #E11D48; }
.ii--purple { background: #F5F3FF; color: #7C3AED; }
.ii--sky    { background: #F0F9FF; color: #0EA5E9; }
.ind-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ind-card p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 860px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industries__grid { grid-template-columns: 1fr; } }

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.proc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.proc-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 20px;
  transition: all var(--ease);
  position: relative;
}
.proc-step:hover .proc-num,
.proc-step.active .proc-num {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(37,150,190,.06);
  box-shadow: 0 0 0 6px rgba(37,150,190,.08);
}
.proc-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.proc-step p  { font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-grid::before { display: none; }
  .proc-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 16px;
    text-align: left;
  }
  .proc-num {
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
  }
}

/* ============================================
   CLIENTS LOGO SCROLL
   ============================================ */
.clients-scroll {
  overflow: hidden;
  position: relative;
  height: 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
  display: flex;
  gap: 20px;
  animation: scrollLogos 32s linear infinite;
  width: max-content;
  position: absolute;
  top: 0;
  left: 0;
}
.clients-track:hover { animation-play-state: paused; }
.client-tile {
  flex: 0 0 auto;
  width: 160px;
  height: 64px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.client-tile:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.client-tile span { font-size: 13px; font-weight: 600; color: var(--muted); }
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--ease);
  position: relative;
}
.testi-card:hover { box-shadow: var(--shadow); border-color: rgba(37,150,190,.3); transform: translateY(-3px); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star-filled { color: #F59E0B; font-size: 15px; }
.testi-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.72;
  margin-bottom: 20px;
}
.testi-text::before { content: '\201C'; color: var(--orange); font-size: 24px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.t-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.av-b { background: var(--blue); }
.av-o { background: var(--orange); }
.av-g { background: var(--green); }
.testi-author strong { font-size: 13px; display: block; }
.testi-author span   { font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (min-width: 520px) and (max-width: 860px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-thumb {
  height: 190px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.blog-card--lg .blog-thumb { height: 220px; }
.bt--navy   { background: linear-gradient(145deg, #0F1728 0%, #1B2B5E 100%); }
.bt--green  { background: linear-gradient(145deg, #064E3B, #059669); }
.bt--warm   { background: linear-gradient(145deg, #7C2D12, #EA580C); }
.blog-cat {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.blog-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 14px;
  transition: gap var(--ease);
}
.blog-link:hover { gap: 9px; }
.blog-footer { text-align: center; margin-top: 44px; }

@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,150,190,.15), transparent 70%);
  right: -100px; top: -150px;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
  position: relative;
}

.cta-content .h2 { color: #fff; margin-bottom: 14px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 28px; }

.cta-contact-info { display: flex; flex-direction: column; gap: 14px; }
.cta-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.cta-info-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-info-icon svg { width: 15px; height: 15px; }
.cta-info-row a { color: rgba(255,255,255,.85); }
.cta-info-row a:hover { color: var(--orange); }

/* Form card */
.contact-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.contact-card > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size: 12px; font-weight: 600; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(37,150,190,.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: #9CA3AF; }
.form-textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; }

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}
.form-error {
  font-size: 12px;
  color: #DC2626;
  min-height: 0;
  line-height: 1.3;
  display: none;
}
.form-error.show { display: block; }

@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  .form-input, .form-select, .form-textarea { font-size: 16px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #070D1A;
  color: rgba(255,255,255,.6);
}
.footer__main {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 72px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  align-items: start;
}
.footer__brand .logo { margin-top: -40px; }
.footer__brand .logo__text { color: #fff; }
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin: 10px 0 16px;
  letter-spacing: .02em;
}
.footer__desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 220px; }
.footer__socials { display: flex; gap: 8px; margin-top: 20px; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.soc-btn svg { width: 15px; height: 15px; }
.soc-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer__col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  padding: 4px 0;
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--orange); }

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
.footer__contact-row svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.footer__contact-row a { color: rgba(255,255,255,.55); padding: 0; }
.footer__contact-row a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; color: rgba(255,255,255,.3); transition: color var(--ease); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }
.footer__ms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

@media (max-width: 960px) {
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer__cols { display: block; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   TOAST
   ============================================ */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.toast-msg.show { transform: translateY(0); opacity: 1; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.up     { transform: translateY(22px); }
.reveal.left   { transform: translateX(-22px); }
.reveal.right  { transform: translateX(22px); }
.reveal.vis    { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .05s; }
.reveal-d2 { transition-delay: .10s; }
.reveal-d3 { transition-delay: .15s; }
.reveal-d4 { transition-delay: .20s; }
.reveal-d5 { transition-delay: .25s; }

/* ============================================
   MOBILE RESPONSIVE (UX-first)
   ============================================ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 40px 0; }

  /* Typography */
  h1, .h1 { font-size: 32px; letter-spacing: -.02em; }
  h2, .h2 { font-size: 26px; }
  h3, .h3 { font-size: 16px; }

  /* Hero */
  .hero { padding: 36px 0 42px; }
  .hero__sub { font-size: 16px; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; gap: 12px; margin-bottom: 34px; }
  .hero__actions .btn { width: 100%; max-width: 100%; justify-content: center; min-height: 58px; white-space: normal; text-align: center; padding: 16px 20px; }
  .hero__trust-tags { gap: 18px 14px; }
  .hero__ms-badge { margin-bottom: 24px; }

  /* Trust bar */
  .trust-bar__inner { grid-template-columns: repeat(2,1fr); }
  .trust-item { padding: 20px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .trust-num { font-size: 32px; }
  .trust-suf { font-size: 22px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { padding: 22px 20px; }

  /* Why Teneo */
  .why__inner { gap: 32px; }
  .why-item { padding: 14px 16px; }

  /* Industries — no gap, column count handled by 860px/520px rules */
  .industries__grid { gap: 0; }
  .ind-card { padding: 16px; }

  /* Process */
  .process-grid { gap: 16px; }
  .proc-step { flex-direction: row; text-align: left; gap: 14px; }
  .proc-num { flex-shrink: 0; margin-bottom: 0; width: 44px; height: 44px; font-size: 14px; }

  /* Case studies */
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi-card > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Buttons: prevent overflow on narrow screens */
  .btn { white-space: normal; text-align: center; max-width: 100%; }

  /* CTA form */
  .cta-inner { gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 22px 18px; }

  /* Footer */
  .footer__main { padding: 40px 0 32px; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* Topbar */
  .topbar p { flex-direction: column; gap: 4px; font-size: 12px; }

  /* Partners */
  .client-tile { width: 130px; height: 52px; }
}

/* NOTE: 860px tablet rules for services__grid, industries__grid,
   trust-bar__inner, footer__cols are defined inline with each
   section above. Do NOT duplicate them here or they override
   the narrower 640px / 520px breakpoints via cascade. */


/* ================================================
   SUBPAGE STYLES
================================================ */

/* Page Hero */
.page-hero {
  padding: 56px 0 64px;
  background: var(--off-white);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  padding: 6px 2px;
  margin: -6px -2px;
}
.page-hero .breadcrumb a:hover { color: var(--blue); }
.page-hero .breadcrumb .sep { font-size: 12px; }
.page-hero .breadcrumb .current { color: var(--navy); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--navy);
}
.page-hero .page-hero__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* Page Hero two-column layout */
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero__right {
  display: flex;
  justify-content: center;
}
.page-hero__photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.page-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-hero__photo--reference {
  max-width: 560px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  background: transparent;
}
.page-hero__photo--reference img {
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(15, 23, 42, .12));
}

/* BC Dashboard Mockup */
.bc-mockup {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
}
.bc-mockup__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f3f4f6;
  border-bottom: 1px solid var(--border);
}
.bc-mockup__dots {
  display: flex;
  gap: 5px;
}
.bc-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.bc-mockup__dots span:nth-child(1) { background: #EF4444; }
.bc-mockup__dots span:nth-child(2) { background: #F59E0B; }
.bc-mockup__dots span:nth-child(3) { background: #22C55E; }
.bc-mockup__url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
}
.bc-mockup__body {
  display: flex;
  min-height: 280px;
}
.bc-mockup__sidebar {
  width: 48px;
  background: #1B2B5E;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bc-sidebar-item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
}
.bc-sidebar-item--active {
  background: rgba(29,78,216,.6);
  box-shadow: 0 0 8px rgba(29,78,216,.4);
}
.bc-mockup__main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bc-mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bc-mockup__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.bc-mockup__badge {
  font-size: 10px;
  font-weight: 700;
  color: #22C55E;
  background: rgba(34,197,94,.1);
  padding: 2px 8px;
  border-radius: 100px;
}
.bc-mockup__kpis {
  display: flex;
  gap: 10px;
}
.bc-kpi {
  flex: 1;
  background: var(--off-white);
  border-radius: 8px;
  padding: 10px;
}
.bc-kpi__label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 2px;
}
.bc-kpi__val {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.bc-kpi__bar {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
}
.bc-kpi__bar > div {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}
.bc-kpi__bar--green > div {
  background: #22C55E;
}
.bc-mockup__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--off-white);
  border-radius: 6px;
  font-size: 12px;
  color: var(--navy);
}
.bc-row span:nth-child(2) { flex: 1; font-weight: 600; }
.bc-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bc-row__dot--blue { background: var(--blue); }
.bc-row__dot--green { background: #22C55E; }
.bc-row__dot--orange { background: #F59E0B; }
.bc-row__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}
.bc-row__tag--blue { color: var(--blue); background: rgba(29,78,216,.08); }
.bc-row__tag--green { color: #22C55E; background: rgba(34,197,94,.08); }
.bc-row__tag--orange { color: #F59E0B; background: rgba(245,158,11,.08); }

/* Code block mockup */
.bc-code-block {
  background: #1E293B;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  line-height: 1.7;
  overflow: hidden;
}
.bc-code-line { color: #E2E8F0; white-space: nowrap; }
.bc-kw { color: #7DD3FC; }
.bc-num { color: #FDE68A; }
.bc-str { color: #86EFAC; }
.bc-cm { color: #64748B; font-style: italic; }

/* Subpage content sections */
.subpage-section {
  padding: 56px 0 0;
}
.subpage-section--alt {
  background: var(--off-white);
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 0;
  margin: 32px 0;
  flex-wrap: wrap;
}
.stat-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 0;
  padding: 24px 28px;
  text-align: center;
  flex: 1;
  min-width: 180px;
}
.stat-box__val {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box__label {
  font-size: 14px;
  color: var(--muted);
}

/* Feature grid for subpages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  margin-top: 32px;
}
.feature-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.feature-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 0;
  padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  z-index: 1;
  position: relative;
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card__icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Steps / Process for subpages */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
}
.steps-grid--5col {
  grid-template-columns: repeat(5, 1fr);
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 0;
  padding: 24px;
  position: relative;
}
.step-card__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Checklist style */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(5,150,105,.1);
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered list */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  counter-reset: num;
}
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
  counter-increment: num;
}
.numbered-list li::before {
  content: counter(num);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* Subpage section heading — matches .sec-head from index.html */
.sub-heading {
  margin-bottom: 36px;
}
.sub-heading .eyebrow {
  margin-bottom: 10px;
}
.sub-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.sub-heading p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 580px;
}

/* CTA Banner */
.cta-banner {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: center;
  color: var(--navy);
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Industry card grid for subpages */
.ind-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 24px;
}
.ind-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 0;
  padding: 24px;
  border-top: 3px solid var(--blue);
}
.ind-detail-grid--stack {
  grid-template-columns: 1fr;
}

/* Industry visual mockup */
.ind-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ind-visual__mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
}
.ind-visual__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.ind-visual__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ind-visual__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ind-visual__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ind-visual__icon svg {
  width: 18px;
  height: 18px;
}
.ind-visual__info {
  flex: 1;
  min-width: 0;
}
.ind-visual__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.ind-visual__bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}
.ind-visual__bar > div {
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}
.ind-visual__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ind-visual__check svg {
  width: 24px;
  height: 24px;
}
.ind-visual__footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.ind-detail-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.ind-detail-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Stat stack */
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: center;
}
.stat-stack__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--blue);
}
.stat-stack__item--blue { border-left-color: #1D4ED8; }
.stat-stack__item--green { border-left-color: #059669; }
.stat-stack__num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
}
.stat-stack__item--blue .stat-stack__num { color: #1D4ED8; }
.stat-stack__item--green .stat-stack__num { color: #059669; }
.stat-stack__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.stat-stack__body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.stat-stack--horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .stat-stack__item { padding: 20px; gap: 16px; flex-wrap: wrap; }
  .stat-stack__num { font-size: 44px; min-width: 44px; }
  .stat-stack__body { min-width: 0; }
  .stat-stack--horizontal { grid-template-columns: 1fr; }
}

/* Mission banner */
.mission-banner {
  background: transparent;
  padding: 24px 0;
  color: var(--navy);
  text-align: center;
  position: relative;
}
.mission-banner .eyebrow {
  color: var(--blue);
  margin-bottom: 14px;
}
.mission-banner h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.mission-banner > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.mission-banner__quote {
  margin-top: 28px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 18px !important;
  font-weight: 600;
  color: var(--navy) !important;
  font-style: italic;
}
.mission-banner__quote em {
  color: var(--orange);
  font-style: normal;
  font-weight: 800;
}

/* Value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
}
.value-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  padding: 32px 28px;
  transition: box-shadow .2s ease;
}
.value-card:hover { box-shadow: var(--shadow); z-index: 1; }
.value-card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  font-weight: 800;
  color: rgba(15,23,40,.06);
  line-height: 1;
}
.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .mission-banner { padding: 40px 24px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* Benefit tiles */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.benefit-tile {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: var(--r-lg);
  color: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.benefit-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}
.benefit-tile::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.benefit-tile::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.benefit-tile__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.benefit-tile__icon svg { width: 100%; height: 100%; }
.benefit-tile__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 38px;
  font-weight: 800;
  color: rgba(255,255,255,.18);
  line-height: 1;
  z-index: 1;
}
.benefit-tile h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.benefit-tile p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  position: relative;
  z-index: 1;
}
.benefit-tile--blue { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); }
.benefit-tile--green { background: linear-gradient(135deg, #059669 0%, #10B981 100%); }
.benefit-tile--orange { background: linear-gradient(135deg, #F59E0B 0%, #FB923C 100%); }
.benefit-tile--purple { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); }
@media (max-width: 960px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-tile { min-height: auto; padding: 26px 22px 24px; }
}

/* ISO Certificate Badges */
.iso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
}
.iso-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
}
.iso-badge__seal {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(5,150,105,.25);
  position: relative;
}
.iso-badge__seal::before {
  content: 'ISO';
  position: absolute;
  top: 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .9;
}
.iso-badge__num {
  font-size: 17px;
  font-weight: 800;
  margin-top: 14px;
  line-height: 1;
}
.iso-badge__year {
  font-size: 11px;
  font-weight: 600;
  opacity: .85;
  margin-top: 3px;
  letter-spacing: .08em;
}
.iso-badge__seal--blue { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); box-shadow: 0 4px 14px rgba(29,78,216,.25); }
.iso-badge__seal--purple { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); box-shadow: 0 4px 14px rgba(124,58,237,.25); }
.iso-badge__seal--sky { background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%); box-shadow: 0 4px 14px rgba(14,165,233,.25); }
.iso-badge__seal--orange { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%); box-shadow: 0 4px 14px rgba(245,158,11,.25); }
.iso-badge__seal--green-alt { background: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%); box-shadow: 0 4px 14px rgba(34,197,94,.25); }
.iso-badge__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.iso-badge__body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 860px) {
  .iso-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .iso-grid { grid-template-columns: 1fr; }
  .iso-badge { padding: 20px 18px; gap: 14px; }
  .iso-badge__seal { width: 72px; height: 72px; }
  .iso-badge__num { font-size: 14px; }
}

/* Reference page */
.ref-filter-row {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ref-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ref-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.ref-select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 14px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: 180px;
  transition: border-color .2s;
}
.ref-select:hover { border-color: var(--blue); }
.ref-select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29,78,216,.1); }
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.ref-card {
  background: #fff;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  padding: 28px 24px;
}
.ref-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ref-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
}
.ref-tag--orange { color: var(--orange); background: rgba(37,150,190,.1); }
.ref-tag--blue { color: var(--blue); background: rgba(29,78,216,.08); }
.ref-tag--green { color: var(--green); background: rgba(5,150,105,.08); }
.ref-tag--red { color: #E11D48; background: rgba(225,29,72,.08); }
.ref-year {
  font-size: 12px;
  color: var(--muted);
}
.ref-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.ref-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.ref-card__solution {
  margin-bottom: 16px;
}
.ref-card__solution h4,
.ref-card__results h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: 8px;
}
.ref-card__solution p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.ref-card__results .check-list {
  margin: 0;
}
.ref-card__results .check-list li {
  font-size: 13px;
}
.ref-card__kpi {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue);
}
.ref-card__kpi span {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* Subpage responsive */
@media (max-width: 768px) {
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .page-hero__sub { font-size: 16px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__right { display: flex; }
  .page-hero__photo { max-width: 100%; }
  .subpage-section { padding: 48px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse { direction: ltr; }
  .stat-box { min-width: 140px; padding: 18px 16px; }
  .stat-box__val { font-size: 28px; }
  .feature-grid, .feature-grid--2col, .feature-grid--3col { grid-template-columns: 1fr; }
  .steps-grid, .steps-grid--3col, .steps-grid--5col { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner .btn { width: 100%; max-width: 100%; padding: 14px 20px; font-size: 14px; text-align: center; white-space: normal; display: block; margin-left: auto; margin-right: auto; }
  .ind-detail-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-select { font-size: 16px; }
}

/* Sticky-stack gallery (o-nama) — images stack on top of each other while scrolling */
.stack-gallery {
  max-width: 880px;
  margin: 0 auto;
}
.stack-gallery__item {
  position: sticky;
  top: 100px;            /* sticks below the fixed header */
  margin: 0 0 20vh 0;    /* spacing controls how much you scroll between images */
  height: 70vh;
  border-radius: 14px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  z-index: calc(var(--i, 1));
  transform-origin: center top;
  will-change: transform;
}
.stack-gallery__item:last-child {
  margin-bottom: 0;
}
.stack-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .stack-gallery__item {
    top: 80px;
    height: 55vh;
    margin: 0 0 15vh 0;
    border-radius: 10px;
  }
}

/* ─── Showcase Gallery (index – DynamicsSquare-style sticky cards) ─── */
.showcase-gallery {
  max-width: 1100px;
  margin: 0 auto;
}
.showcase-gallery__card {
  position: sticky;
  top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 18vh;
  padding: 48px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow:30px 30px 90px 0 rgba(115, 110, 130, 0.35);
  z-index: calc(var(--i, 1));
  will-change: transform;
}
.showcase-gallery__card:last-child {
  margin-bottom: 0;
}
.showcase-gallery__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.showcase-gallery__eyebrow--blue    { color: var(--blue);   background: rgba(29,78,216,.08); }
.showcase-gallery__eyebrow--green   { color: var(--green);  background: rgba(5,150,105,.08); }
.showcase-gallery__eyebrow--orange  { color: var(--orange); background: rgba(245,158,11,.08); }
.showcase-gallery__eyebrow--red     { color: #E11D48;       background: rgba(225,29,72,.08); }
.showcase-gallery__eyebrow--purple  { color: #7C3AED;       background: rgba(124,58,237,.08); }
.showcase-gallery__eyebrow--teal    { color: #0D9488;       background: rgba(13,148,136,.08); }
.showcase-gallery__eyebrow--indigo  { color: #4F46E5;       background: rgba(79,70,229,.08); }

.showcase-gallery__text h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}
.showcase-gallery__text p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 24px;
}
.showcase-gallery__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 10px 22px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.showcase-gallery__link:hover {
  background: var(--blue);
  color: #fff;
}
.showcase-gallery__link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}
.showcase-gallery__link:hover svg {
  transform: translateX(3px);
}
.showcase-gallery__img {
  border-radius: 12px;
  overflow: hidden;
  height: 340px;
}
.showcase-gallery__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .showcase-gallery__card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
    top: 80px;
    margin-bottom: 14vh;
  }
  .showcase-gallery__img {
    height: 260px;
    order: -1;
  }
  .showcase-gallery__text h3 {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .showcase-gallery__card {
    padding: 20px;
    gap: 20px;
    margin-bottom: 12vh;
    box-shadow: none;
  }
  .showcase-gallery__img {
    height: 200px;
  }
  .showcase-gallery__text h3 {
    font-size: 19px;
  }
}

/* ============================================
   HERO — Figma 1:1  (Teneo home page / Hero sekcija)
   ============================================ */
.hero--fig {
  background: #ffffff;
  /* top padding pulled up by ~39px (topbar height) so the hero sits higher */
  padding: clamp(14px, calc(4.5vw - 39px), 47px) 0 clamp(40px, 4vw, 72px);
  overflow: hidden;
}
.hero--fig::before { display: none; }                 /* drop the grid pattern */
.hero--fig::after {                                    /* subtle glow — Ellipse 2165 (16% opacity) */
  content: '';
  position: absolute;
  top: 1.5%;
  left: 8%;
  width: 40%;
  height: 76%;
  background: radial-gradient(circle, rgba(0,125,195,.09) 0%, rgba(245,246,250,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.fig-hero {
  position: relative;
  z-index: 1;
  /* identical bounds to the site's .container (max-width 1180 + 28px padding)
     so the hero ALWAYS has the same side spacing as every other section and
     scales together with the rest of the page on any screen size */
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 2.5vw, 48px);
}
.fig-hero__left { max-width: 760px; }

/* --- Microsoft partner badge --- */
.fig-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 1.7vw, 32px);
}
.fig-hero__ms { width: clamp(18px, 1.15vw, 22px); height: auto; flex: none; }
.fig-hero__badge span {
  font-family: 'Anek Latin', sans-serif;
  font-size: clamp(14px, 1.18vw, 23px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: #020532;
}

/* --- Heading --- */
.hero--fig .fig-hero__title {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 400;
  /* capped to fit the ~540px column of the 1180 container without wrapping
     (longest line "Kreirano po mjeri." fits up to ~85px at that width) */
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1.07;
  letter-spacing: -.03em;
  color: #020532;
  margin: 0 0 clamp(20px, 1.9vw, 34px);
}
.fig-hero__line { display: block; }
.fig-hero__title strong { font-weight: 600; }
.fig-hero__line--accent { position: relative; }
.fig-hero__accent {
  position: absolute;
  left: -.62em;
  top: 50%;
  transform: translateY(-54%);
  width: .39em;
  height: .64em;
  background: #007DC3;
}

/* --- Subtitle --- */
.fig-hero__sub {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.27;
  letter-spacing: -.01em;
  color: rgba(2, 5, 50, .62);
  max-width: 38em;
  margin: 0 0 clamp(22px, 2vw, 38px);
}

/* --- CTA button --- */
.fig-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, .7vw, 12px);
  font-family: 'Anek Latin', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 19px);
  color: #fff;
  background: #007DC3;
  border-radius: 999px;
  padding: clamp(6px, .5vw, 8px) clamp(6px, .5vw, 8px) clamp(6px, .5vw, 8px) clamp(18px, 1.45vw, 27px);
  transition: background .2s ease, box-shadow .2s ease;
}
.fig-hero__btn:hover { background: #0069a6; box-shadow: 0 10px 26px rgba(0,125,195,.28); }
.fig-hero__btn-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(28px, 2.1vw, 40px);
  height: clamp(28px, 2.1vw, 40px);
  border-radius: 50%;
  background: #fff;
  color: #007DC3;
}
.fig-hero__btn-ico svg { width: 56%; height: 56%; }

/* --- Trust tags --- */
.fig-hero__tags {
  margin-top: clamp(24px, 2.4vw, 46px);
  display: flex;
  flex-wrap: wrap;
  /* all tags sit in one row when there's room; wrap automatically when not */
  gap: clamp(8px, .65vw, 10px);
}
.fig-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Anek Latin', sans-serif;
  font-size: clamp(12px, .8vw, 14px);
  font-weight: 500;
  color: #020532;
  background: #fff;
  border: 1px solid #E6E8EF;
  border-radius: 9px;
  padding: clamp(6px, .5vw, 9px) clamp(9px, .75vw, 13px);
  box-shadow: 0 4px 14px rgba(2, 5, 50, .04);
}
.fig-tag svg { width: clamp(15px, 1vw, 18px); height: auto; flex: none; }

/* --- Image collage --- */
.fig-hero__right { position: relative; }
.fig-collage {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  aspect-ratio: 755 / 861;
}
.fig-collage__img { position: absolute; object-fit: contain; }
.fig-collage__bc      { left: 0;       top: 0;      width: 49.14%; height: 64.69%; z-index: 3; }
.fig-collage__welcome { left: 35.50%;  top: 12.08%; width: 59.07%; height: 51.80%; z-index: 2; }
.fig-collage__person  { left: 6.62%;   top: 52.03%; width: 49.67%; height: 43.55%; z-index: 4; }
.fig-collage__work    { left: 54.17%;  top: 59.81%; width: 45.83%; height: 40.19%; z-index: 1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .fig-hero {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
  }
  .fig-hero__left { max-width: 680px; }
  .hero--fig .fig-hero__title { font-size: clamp(40px, 7vw, 72px); }
  .fig-hero__sub { font-size: clamp(16px, 2.4vw, 20px); }
  .fig-hero__badge span { font-size: clamp(15px, 2.2vw, 19px); }
  .fig-collage { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero--fig .fig-hero__title { font-size: clamp(34px, 9vw, 46px); line-height: 1.08; }
  .fig-hero__accent { transform: translateY(-50%); }
  .fig-tag { justify-content: flex-start; }
  .fig-hero__btn { width: 100%; justify-content: space-between; }
}

/* Navbar now uses the standard .container (1180px) like the rest of the site,
   so its edges align with the hero (also 1180px) and every other section. */
