/* ==========================================================================
   Mikra — Design System
   Quality & Automation for over 50 years
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #05070d;
  --navy-900: #0a0e1a;
  --navy-800: #101627;
  --navy-700: #182038;
  --navy-600: #232d4a;
  --blue-600: #0037fc;
  --blue-500: #2f5bff;
  --blue-400: #5b7fff;
  --blue-300: #8ea3ff;
  --blue-glow: rgba(0, 55, 252, 0.35);

  --ink-900: #0b0e16;
  --ink-700: #3a4256;
  --ink-500: #656d82;
  --ink-300: #9aa1b4;

  --paper-0: #ffffff;
  --paper-50: #f6f7fb;
  --paper-100: #eef1f8;
  --paper-200: #e3e7f1;

  --success: #17b26a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(11, 14, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 14, 22, 0.10);
  --shadow-lg: 0 24px 64px rgba(11, 14, 22, 0.16);
  --shadow-glow: 0 8px 40px rgba(0, 55, 252, 0.25);

  --container: 1240px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* -------------------------------- Typography ------------------------------ */
h1, .h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h3, .h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.3; }
p { line-height: 1.7; color: var(--ink-700); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-700); line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.eyebrow.on-dark { color: var(--blue-300); }
.eyebrow.on-dark::before { background: var(--blue-300); }
.center { text-align: center; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px rgba(0,55,252,0.28); }
.btn-primary:hover { background: #0a44ff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,55,252,0.36); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-outline { border-color: var(--paper-200); color: var(--ink-900); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }

/* ---------------------------------- Header -------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background-color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--paper-200);
  box-shadow: var(--shadow-sm);
}
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.brand .logo-light { display: block; }
.site-header.is-scrolled .brand .logo-dark { display: block; }
.site-header.is-scrolled .brand .logo-light { display: none; }
body.page-light .site-header .brand .logo-dark { display: block; }
body.page-light .site-header .brand .logo-light { display: none; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 10px 16px; border-radius: var(--radius-pill); font-size: 0.94rem; font-weight: 560;
  color: rgba(255,255,255,0.86); transition: background-color .25s var(--ease), color .25s var(--ease);
}
.site-header.is-scrolled .nav-desktop a,
body.page-light .nav-desktop a { color: var(--ink-700); }
.nav-desktop a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.site-header.is-scrolled .nav-desktop a:hover,
body.page-light .nav-desktop a:hover { background: var(--paper-100); color: var(--ink-900); }
.nav-desktop a.active { color: #fff; background: rgba(255,255,255,0.14); }
.site-header.is-scrolled .nav-desktop a.active,
body.page-light .nav-desktop a.active { color: var(--blue-600); background: var(--paper-100); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.12); }
.site-header.is-scrolled .lang-switch, body.page-light .lang-switch { background: var(--paper-100); }
.lang-switch a { padding: 5px 11px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.75); }
.site-header.is-scrolled .lang-switch a, body.page-light .lang-switch a { color: var(--ink-500); }
.lang-switch a.active { background: var(--blue-600); color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff;
}
.site-header.is-scrolled .nav-toggle, body.page-light .nav-toggle { color: var(--ink-900); border-color: var(--paper-200); }
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 99; background: var(--navy-950);
  padding: 100px 28px 40px; overflow-y: auto;
}
.nav-open .nav-mobile { display: block; }
.nav-mobile a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 1.3rem; font-weight: 600; color: #fff; border-bottom: 1px solid var(--navy-700); }
.nav-mobile .icon { width: 18px; height: 18px; color: var(--blue-300); }
.nav-mobile .nav-mobile-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.nav-mobile .lang-switch { align-self: flex-start; background: rgba(255,255,255,0.1); }
.nav-mobile .lang-switch a { color: rgba(255,255,255,0.7); }

@media (max-width: 940px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions .lang-switch { display: none; }
}

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 15% -10%, #14204a 0%, transparent 60%), linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: 170px 0 120px;
}
.hero-grid { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 10%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  top: -220px; right: -140px; filter: blur(10px); pointer-events: none;
}
.hero-nodes { position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero-content h1 { margin-top: 20px; }
.hero-content .lede { color: rgba(255,255,255,0.72); margin-top: 22px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { margin-top: 88px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 36px; }
.hero-stats .stat b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 750; color: #fff; letter-spacing: -0.01em; }
.hero-stats .stat span { font-size: 0.86rem; color: rgba(255,255,255,0.56); }
@media (max-width: 780px) {
  .hero { padding: 140px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; margin-top: 56px; }
}

/* Page hero (inner pages, shorter) */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 158px 0 90px;
  background: radial-gradient(1000px 500px at 85% -20%, #14204a 0%, transparent 60%), linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.page-hero .hero-grid { opacity: 0.4; }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { margin-top: 16px; }
.page-hero .lede { color: rgba(255,255,255,0.7); margin-top: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb a:hover { color: #fff; }

/* ------------------------------- Sections ---------------------------------- */
section { padding: 108px 0; }
@media (max-width: 780px) { section { padding: 76px 0; } }
.section-alt { background: var(--paper-50); }
.section-dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; }
.section-dark p { color: rgba(255,255,255,0.66); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ------------------------------- Solution cards ----------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--paper-200); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-tile { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); color: #fff; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(0,55,252,0.22); }
.card .icon-tile .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .tags span { font-size: 0.76rem; font-weight: 600; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--paper-100); color: var(--ink-500); }
.card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 0.9rem; color: var(--blue-600); }
.card-link .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card:hover .card-link .icon { transform: translateX(4px); }

/* Solutions on solutions.html — big alternating rows */
.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--paper-200); }
.solution-row:last-child { border-bottom: none; }
.solution-row:nth-child(even) .solution-visual { order: 2; }
.solution-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
}
.solution-visual .icon { width: 84px; height: 84px; color: var(--blue-300); stroke-width: 1.1; }
.solution-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.solution-visual .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,55,252,0.45), transparent 70%); filter: blur(6px); }
.solution-num { font-size: 0.8rem; font-weight: 700; color: var(--blue-500); letter-spacing: 0.1em; }
.solution-content h3 { font-size: 1.7rem; margin: 14px 0 14px; }
.solution-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.solution-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; color: var(--ink-700); }
.solution-list .icon { width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
@media (max-width: 860px) {
  .solution-row { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .solution-row:nth-child(even) .solution-visual { order: 0; }
}

/* ------------------------------- Timeline ----------------------------------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--paper-200); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 0 48px 64px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot { position: absolute; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--paper-200); }
.timeline-item:nth-child(odd) .timeline-dot { right: -7px; }
.timeline-item:nth-child(even) .timeline-dot { left: -7px; }
.timeline-year { font-weight: 750; color: var(--blue-600); font-size: 1.1rem; }
.timeline-item h4 { margin: 8px 0 8px; font-size: 1.15rem; }
.timeline-item p { font-size: 0.94rem; }
@media (max-width: 720px) {
  .timeline::before { left: 8px; }
  .timeline-item, .timeline-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 44px 40px; }
  .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 1px; right: auto; }
}

/* ------------------------------- Values / features --------------------------- */
.feature-row { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--paper-200); }
.feature-row:last-child { border-bottom: none; }
.feature-row .icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-row .icon-tile .icon { width: 22px; height: 22px; }
.feature-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.94rem; }

/* ------------------------------- Two-column layout --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-media {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.split-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split-media .ring { position: absolute; border: 1.5px solid rgba(94,127,255,0.35); border-radius: 50%; }
.split-media .ring.r1 { width: 60%; height: 60%; }
.split-media .ring.r2 { width: 80%; height: 80%; border-color: rgba(94,127,255,0.2); }
.split-media .icon { width: 96px; height: 96px; color: var(--blue-300); stroke-width: 1; position: relative; z-index: 1; }

/* ------------------------------- Process steps -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--paper-200); }
.step .step-num { font-size: 2.2rem; font-weight: 800; color: var(--paper-200); line-height: 1; }
.step h4 { margin: 14px 0 8px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -20px; width: 24px; height: 2px; background: var(--paper-200);
}
@media (max-width: 980px) { .step::after { display: none; } }

/* ------------------------------- Stats strip ---------------------------------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-block { text-align: center; padding: 30px 16px; }
.stat-block b { display: block; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--blue-600); letter-spacing: -0.02em; }
.stat-block span { font-size: 0.88rem; color: var(--ink-500); }

/* ------------------------------- Team ------------------------------------------ */
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: #fff; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.02em;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card span { font-size: 0.86rem; color: var(--ink-500); font-weight: 600; }

/* ------------------------------- Marquee (clients) ------------------------------ */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee span { font-size: 1.15rem; font-weight: 650; color: var(--ink-300); white-space: nowrap; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------- CTA banner ------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(800px 400px at 20% 0%, #1a2a5c 0%, transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-950));
  padding: 70px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff;
}
.cta-banner h2 { max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,0.66); margin-top: 12px; max-width: 460px; }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 780px) { .cta-banner { flex-direction: column; align-items: flex-start; padding: 44px 28px; } }

/* ------------------------------- Contact ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--paper-200); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .icon-tile .icon { width: 21px; height: 21px; }
.contact-info-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 0.94rem; color: var(--ink-700); }
.contact-info-card a:hover { color: var(--blue-600); }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: var(--paper-100); display: flex; align-items: center; justify-content: center; color: var(--ink-700); transition: background-color .2s var(--ease), color .2s var(--ease); }
.social-row a:hover { background: var(--blue-600); color: #fff; }
.social-row .icon { width: 18px; height: 18px; }
.map-embed { margin-top: 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--paper-200); aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: #fff; border: 1px solid var(--paper-200); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 650; margin-bottom: 8px; color: var(--ink-900); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--paper-200);
  background: var(--paper-50); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: 14px; }

/* ------------------------------- Footer ------------------------------------------ */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--navy-700); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 28px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.92rem; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.62); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.62); }
.footer-col .contact-line .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--blue-300); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 0.84rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.footer-bottom .social-row a { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.footer-bottom .social-row a:hover { background: var(--blue-600); color: #fff; }

/* ------------------------------- Hero with photo ----------------------------------- */
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-950) 12%, rgba(10,14,26,0.92) 42%, rgba(10,14,26,0.55) 70%, rgba(10,14,26,0.35) 100%);
}
@media (max-width: 860px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(10,14,26,0.88) 30%, rgba(10,14,26,0.95) 100%); }
}

/* ------------------------------- Media / image cards -------------------------------- */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.contain { background: linear-gradient(160deg, #f2f5fb, #e6ebf6); padding: 8%; }
.media-frame.contain img { object-fit: contain; }
.media-frame.dark-contain { background: radial-gradient(circle at 50% 45%, #1b2748 0%, var(--navy-950) 75%); padding: 6%; }
.media-frame.dark-contain img { object-fit: contain; }
.media-frame.ratio-43 { aspect-ratio: 4/3; }
.media-frame.ratio-169 { aspect-ratio: 16/9; }
.media-frame.ratio-11 { aspect-ratio: 1/1; }

.card-media { margin: -34px -28px 24px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(160deg, #eef2f9, #e0e7f4); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; transition: transform .5s var(--ease); }
.card-media.cover img { object-fit: cover; padding: 0; }
.card:hover .card-media img { transform: scale(1.04); }

/* ------------------------------- Logo wall ------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
.logo-wall .logo-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px; border: 1px solid var(--paper-200); border-radius: var(--radius-md);
  background: #fff; aspect-ratio: 5/2;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.logo-wall .logo-cell:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.logo-wall img {
  max-width: 100%; max-height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.62; transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-wall .logo-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ------------------------------- Product catalog ------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 44px; }
.filter-bar button {
  padding: 9px 17px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600;
  border: 1.5px solid var(--paper-200); background: #fff; color: var(--ink-700);
  transition: all .22s var(--ease);
}
.filter-bar button:hover { border-color: var(--blue-400); color: var(--blue-600); }
.filter-bar button.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  border: 1px solid var(--paper-200); border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card.is-hidden { display: none; }
.product-thumb { aspect-ratio: 4/3; background: linear-gradient(160deg, #f1f4fa, #e4eaf5); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .45s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.product-body p { font-size: 0.86rem; line-height: 1.55; color: var(--ink-500); }
.product-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-cats span { font-size: 0.7rem; font-weight: 600; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--paper-100); color: var(--ink-500); }

/* ------------------------------- Video embed ----------------------------------------- */
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------- Team roster ----------------------------------------- */
.team-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--paper-200); flex-wrap: wrap;
}
.team-count { font-size: 0.9rem; color: var(--ink-500); }
.team-count b { color: var(--ink-900); font-weight: 700; }

.view-toggle { display: inline-flex; padding: 4px; gap: 3px; border-radius: var(--radius-pill); background: var(--paper-100); }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border: 0; border-radius: var(--radius-pill); background: transparent;
  font-size: 0.84rem; font-weight: 600; color: var(--ink-500);
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.view-toggle button .icon { width: 15px; height: 15px; }
.view-toggle button:hover { color: var(--ink-900); }
.view-toggle button.active { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
@media (max-width: 480px) { .view-toggle button span { display: none; } .view-toggle button { padding: 9px 13px; } }

.team-groups { display: flex; flex-direction: column; gap: 48px; }
.team-group { padding: 0; }
.team-group h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 700;
  color: var(--blue-600); margin-bottom: 20px;
}
.team-group h3::after { content: ""; flex: 1; height: 1px; background: var(--paper-200); }
.team-group h3 .group-count {
  order: 3; font-size: 0.72rem; letter-spacing: 0; padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--paper-100); color: var(--ink-500); font-weight: 700;
}

.person { background: #fff; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.person .avatar {
  flex-shrink: 0; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: 0.03em;
  background: linear-gradient(140deg, #dfe6ff, #c5d2ff); color: var(--navy-700);
}
.person .avatar.v2 { background: linear-gradient(140deg, #e3e9f6, #cbd5ea); color: var(--navy-600); }
.person .avatar.v3 { background: linear-gradient(140deg, #d6e0ff, #b9c9ff); color: #1d3ba8; }
.person .avatar.v4 { background: linear-gradient(140deg, #eaeefb, #d5ddf1); color: var(--navy-700); }
.person .avatar-photo {
  object-fit: cover; object-position: top center;
  background: linear-gradient(150deg, #e8edf7, #d8e0f0);
}
.person .who { min-width: 0; }
.person-name { display: block; font-weight: 650; line-height: 1.3; color: var(--ink-900); }
.person-role { display: block; color: var(--ink-500); }

/* ---- CARD VIEW (default) ---- */
.view-grid .roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.view-grid .person {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px 24px; border: 1px solid var(--paper-200); border-radius: 18px;
  position: relative; overflow: hidden;
}
/* soft header band the avatar sits on */
.view-grid .person::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 68px;
  background: linear-gradient(180deg, var(--paper-100), rgba(238,241,248,0));
}
/* accent bar, shown on hover */
.view-grid .person::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  opacity: 0; transition: opacity .28s var(--ease);
}
.view-grid .person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,55,252,0.22); }
.view-grid .person:hover::after { opacity: 1; }
.view-grid .avatar {
  position: relative; z-index: 1; width: 84px; height: 84px; font-size: 1.2rem; margin: 26px 0 16px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--paper-200);
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
}
.view-grid .person:hover .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--blue-400); transform: scale(1.03); }
.view-grid .person-name { font-size: 0.95rem; }
.view-grid .person-role { font-size: 0.8rem; margin-top: 5px; }
@media (max-width: 560px) {
  .view-grid .roster { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .view-grid .person { padding: 0 10px 18px; border-radius: 14px; }
  .view-grid .person::before { height: 58px; }
  .view-grid .avatar { width: 68px; height: 68px; font-size: 1rem; margin: 22px 0 12px; }
  .view-grid .person-name { font-size: 0.88rem; }
  .view-grid .person-role { font-size: 0.76rem; }
}

/* ---- LIST VIEW ---- */
.team-groups.view-list {
  display: block;
  border: 1px solid var(--paper-200); border-radius: var(--radius-md); overflow: hidden;
}
/* Flat list: groups and their headings collapse into one continuous roster */
.view-list .team-group, .view-list .roster { display: contents; }
.view-list .team-group h3 { display: none; }
.view-list .person {
  display: flex; align-items: center; gap: 15px;
  padding: 12px 18px; border-bottom: 1px solid var(--paper-200); border-radius: 0;
}
.view-list .team-group:last-child .person:last-child { border-bottom: 0; }
.view-list .person:hover { background: #eef3ff; }
.view-list .avatar { width: 40px; height: 40px; font-size: 0.78rem; }
.view-list .who {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px; align-items: baseline;
}
.view-list .person-name { font-size: 0.93rem; }
.view-list .person-role { font-size: 0.86rem; }
@media (max-width: 560px) {
  .view-list .who { grid-template-columns: 1fr; gap: 2px; }
  .view-list .person-role { font-size: 0.78rem; }
}

/* Page hero carrying a photo */
.page-hero.has-photo { padding: 168px 0 96px; }
.page-hero.has-photo .hero-photo { position: absolute; inset: 0; z-index: 0; }
.page-hero.has-photo .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-950) 8%, rgba(10,14,26,0.9) 45%, rgba(10,14,26,0.6) 75%, rgba(10,14,26,0.4) 100%);
}
@media (max-width: 860px) {
  .page-hero.has-photo .hero-photo::after { background: linear-gradient(180deg, rgba(10,14,26,0.86) 30%, rgba(10,14,26,0.95) 100%); }
}
.page-hero.has-photo .page-hero-inner { position: relative; z-index: 2; }

/* ------------------------------- Partner badges --------------------------------------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .partner-grid { grid-template-columns: 1fr; } }
.partner {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px;
  border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
}
.partner .icon-tile { width: 44px; height: 44px; border-radius: 12px; background: rgba(94,127,255,0.18); color: var(--blue-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.partner .icon-tile .icon { width: 21px; height: 21px; }
.partner h4 { font-size: 1rem; margin-bottom: 6px; color: #fff; }
.partner p { font-size: 0.9rem; }

/* ------------------------------- Case study cards -------------------------------------- */
.case-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.case-card .case-media { aspect-ratio: 16/9; background: radial-gradient(circle at 50% 45%, #1b2748, var(--navy-950)); overflow: hidden; }
.case-card .case-media img { width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: transform .5s var(--ease); }
.case-card .case-media.cover img { object-fit: cover; padding: 0; }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-card .case-body { padding: 26px 26px 30px; flex: 1; }
.case-card .case-body h3 { margin: 12px 0 10px; font-size: 1.15rem; }
.case-card .case-body p { font-size: 0.93rem; }

/* ------------------------------- IceFish / promo ---------------------------------------- */
.promo-code {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-radius: var(--radius-md); border: 1.5px dashed var(--blue-400);
  background: rgba(0,55,252,0.06); font-weight: 700; letter-spacing: 0.08em; font-size: 1.05rem; color: var(--blue-600);
}
.promo-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.promo-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); font-size: 0.87rem; font-weight: 560; }
.promo-meta .icon { width: 15px; height: 15px; color: var(--blue-300); }

/* ------------------------------- About page ----------------------------------------- */
.page-hero.has-facts { padding-bottom: 150px; }
.section-facts { padding: 0; position: relative; z-index: 3; margin-top: -64px; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--paper-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.facts > div { padding: 30px 28px; border-left: 1px solid var(--paper-200); }
.facts > div:first-child { border-left: 0; }
.facts b { display: block; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--ink-900); }
.facts b small { font-size: 0.55em; font-weight: 700; color: var(--blue-600); margin-left: 2px; vertical-align: 0.15em; }
.facts span { display: block; margin-top: 9px; font-size: 0.86rem; color: var(--ink-500); }
@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div { padding: 22px 22px; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--paper-200); }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-top: 1px solid var(--paper-200); }
  .facts > div:first-child { border-top: 0; }
}

.media-frame .frame-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-md);
}
.frame-badge b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--blue-600); }
.frame-badge span { font-size: 0.78rem; line-height: 1.35; color: var(--ink-500); max-width: 130px; }

/* ------------------------------- Reveal animation --------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.03s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.21s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.27s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.33s; }

/* ------------------------------- Misc utilities ------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.text-on-dark { color: rgba(255,255,255,0.7); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue-600); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 999; }
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
