/* ═══════════════════════════════════════════════════════
   Lumen Log — Stylesheet (2026 refresh)
   Brand: navy + orange. Same structure, refined execution.
   ═══════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --navy:        #1a2744;
  --navy-dark:   #111c33;
  --navy-deep:   #0c1526;
  --navy-light:  #243555;
  --navy-soft:   #34496e;
  --accent:      #f0a030;
  --accent-hover:#e08d1c;
  --accent-tint: #fdf3e4;

  /* Neutrals — slightly blue-shifted for a cooler, more precise feel */
  --ink:      #16203a;
  --ink-2:    #56617a;
  --ink-3:    #8a94a8;
  --line:     #e4e9f1;
  --line-soft:#eef2f7;
  --bg:       #ffffff;
  --bg-soft:  #f6f8fc;
  --bg-alt:   #f6f8fc;
  --bg-dark:  #1a2744;
  --text:      var(--ink);
  --text-light:var(--ink-2);
  --text-white:#ffffff;
  --border:    var(--line);

  /* Shape */
  --r-xs: 8px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --radius: var(--r);

  /* Depth */
  --sh-1: 0 1px 2px rgba(16,24,40,.04), 0 2px 8px rgba(16,24,40,.05);
  --sh-2: 0 2px 4px rgba(16,24,40,.04), 0 14px 28px -10px rgba(16,24,40,.13);
  --sh-3: 0 4px 8px rgba(16,24,40,.05), 0 28px 56px -16px rgba(16,24,40,.22);
  --sh-ring: 0 0 0 4px rgba(240,160,48,.22);
  --shadow: var(--sh-1);
  --shadow-lg: var(--sh-2);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease);
  --t: .28s var(--ease);
  --transition: .25s var(--ease);

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 108px);

  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.021em; text-wrap: balance; color: var(--navy); font-weight: 700; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--navy-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--navy-dark);
  padding: 10px 18px; border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

/* ─── Utility ────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.content-narrow { max-width: 760px; margin: 0 auto; }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.86); }
.section-tight { padding-bottom: 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  margin-bottom: clamp(36px, 5vw, 56px);
  color: var(--navy);
}
.section-dark .section-title, .section-dark h1, .section-dark h2,
.section-dark h3, .section-dark h4 { color: #fff; }
.section-intro {
  text-align: center; max-width: 660px;
  margin: clamp(-32px, -3vw, -20px) auto clamp(36px, 5vw, 56px);
  color: var(--ink-2); font-size: 1.06rem;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6; color: var(--ink-2);
  letter-spacing: -.011em; margin-bottom: 32px;
}
.text-accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px;
}

.badge {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--navy-dark);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
  padding: 6px 18px; border-radius: var(--r-pill);
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  line-height: 1.2; min-height: 46px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t);
  cursor: pointer; border: 1.5px solid transparent; text-align: center;
  font-family: inherit;
}
.btn-primary, .btn-accent {
  background: var(--accent); color: var(--navy-dark); border-color: var(--accent);
  box-shadow: 0 6px 18px -6px rgba(240,160,48,.6);
}
.btn-primary:hover, .btn-accent:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(240,160,48,.65);
}
.btn-primary:active, .btn-accent:active { transform: translateY(0); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: .85rem; min-height: 38px; }
.btn-lg { padding: 16px 34px; font-size: 1rem; min-height: 54px; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(16,24,40,.28); border-color: transparent; }

.header-top {
  background: var(--navy-dark); color: rgba(255,255,255,.72);
  font-size: .82rem; height: 38px; overflow: hidden;
  transition: height var(--t);
}
.site-header.scrolled .header-top { height: 0; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.header-contact { display: flex; align-items: center; gap: 4px; }
.header-contact a { color: rgba(255,255,255,.88); font-weight: 500; }
.header-contact a:hover { color: var(--accent); }
.header-contact .sep { margin: 0 10px; opacity: .3; }

.header-lang { display: flex; gap: 2px; }
.header-lang a {
  color: rgba(255,255,255,.55); font-weight: 600; font-size: .74rem; letter-spacing: .06em;
  padding: 4px 9px; border-radius: var(--r-pill); transition: all var(--t-fast);
}
.header-lang a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header-lang a.active { color: var(--navy-dark); background: var(--accent); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height var(--t); }
.site-header.scrolled .nav-inner { height: 64px; }

.logo { display: flex; align-items: center; }
.logo img { height: 38px; width: auto; transition: height var(--t); }
.site-header.scrolled .logo img { height: 33px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; font-size: .94rem; font-weight: 500; color: var(--ink);
  white-space: nowrap;
  border-radius: var(--r-pill); transition: color var(--t-fast), background var(--t-fast);
}
.nav-links > li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-links > li > a:hover { color: var(--navy); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--navy); font-weight: 600; }
.nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a.btn::after { display: none; }

.has-dropdown > a::before {
  content: ''; order: 2; width: 7px; height: 7px; margin-left: 2px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .5;
  transition: transform var(--t), opacity var(--t-fast);
}
.has-dropdown:hover > a::before { opacity: 1; transform: rotate(225deg) translateY(-2px); }

.nav-links > li > a.btn {
  color: var(--navy); border-color: rgba(26,39,68,.25); background: transparent;
  margin-left: 10px; padding: 8px 20px; font-size: .88rem; min-height: 40px; box-shadow: none;
}
.nav-links > li > a.btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r); box-shadow: var(--sh-3);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block; padding: 10px 14px; font-size: .92rem; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r-xs); transition: all var(--t-fast);
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--navy); padding-left: 18px; }

/* Mobile toggle */
.mobile-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  width: 46px; height: 46px; align-items: center; border-radius: var(--r-sm);
}
.mobile-toggle span {
  width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  padding: clamp(72px, 11vw, 140px) 0 clamp(80px, 12vw, 150px);
  background: var(--navy-deep) url('../img/wh-2.jpg') center/cover no-repeat;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/wh-2.jpg') center/cover no-repeat;
  transform: scale(1.04);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(9,17,33,.94) 0%, rgba(12,21,38,.86) 42%, rgba(18,30,54,.62) 100%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1;
  right: -8%; top: -30%; width: min(720px, 70vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240,160,48,.20) 0%, rgba(240,160,48,.05) 45%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600; color: var(--accent); margin-bottom: 22px;
}
.hero-label::before { content: ''; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  font-weight: 700; line-height: 1.03; letter-spacing: -.035em;
  color: #fff; margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: rgba(255,255,255,.78);
  margin-bottom: 36px; line-height: 1.55; max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.hero-actions .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.14); }

/* Page hero (subpages) */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff; padding: clamp(56px, 8vw, 92px) 0 clamp(56px, 8vw, 88px); text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
}
.page-hero::after {
  content: ''; position: absolute; left: 50%; bottom: -220px; transform: translateX(-50%);
  width: 640px; height: 400px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,160,48,.16) 0%, transparent 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem); color: #fff;
  letter-spacing: -.032em; margin-bottom: 12px;
}
.page-subtitle { font-size: clamp(1rem, 1.7vw, 1.15rem); color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════════════════
   SERVICES GRID (homepage)
   ═══════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px 30px; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { margin-bottom: 22px; }
.service-icon img { height: 60px; width: 60px; border-radius: var(--r); }
.service-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; letter-spacing: -.02em; }
.service-card p { color: var(--ink-2); font-size: .97rem; margin-bottom: 22px; line-height: 1.6; }
.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--navy); font-weight: 600; font-size: .9rem;
  transition: gap var(--t), color var(--t-fast);
}
.card-link::after {
  content: '→'; font-size: 1.05em; transition: transform var(--t);
}
.service-card:hover .card-link { color: var(--accent-hover); }
.service-card:hover .card-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════
   FEATURES (homepage dark section)
   ═══════════════════════════════════════════════════════ */
.features-header {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center; margin-bottom: clamp(36px, 5vw, 56px);
}
.features-header p {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.45;
  color: rgba(255,255,255,.9); max-width: 780px; letter-spacing: -.018em;
}
.features-header p strong { color: var(--accent); font-weight: 700; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; isolation: isolate;
}
.feature-card img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  transition: transform .6s var(--ease);
}
.feature-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,30,.92) 0%, rgba(9,16,30,.35) 48%, rgba(9,16,30,.05) 100%);
}
.feature-card h4 {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 22px 24px; font-size: 1.08rem; color: #fff; text-align: left;
  letter-spacing: -.015em;
}
.feature-card:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════════════════════
   CTA BAR
   ═══════════════════════════════════════════════════════ */
.cta-bar {
  background: linear-gradient(120deg, var(--navy-light) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  color: #fff; padding: clamp(32px, 5vw, 48px) 0; position: relative; overflow: hidden;
}
.cta-bar::before {
  content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,160,48,.15) 0%, transparent 66%);
}
.cta-bar .container {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-bar p { font-size: clamp(1rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 62ch; }
.cta-bar p strong { color: #fff; }
.cta-bar a:not(.btn) { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(240,160,48,.4); }
.cta-bar a:not(.btn):hover { border-color: var(--accent); }
.cta-bar h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: #fff; margin-bottom: 6px; letter-spacing: -.02em; }
.cta-bar .cta-text { flex: 1 1 420px; }

/* ═══════════════════════════════════════════════════════
   PROCESS STEPS (homepage)
   ═══════════════════════════════════════════════════════ */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px); position: relative;
}
.step { position: relative; text-align: left; padding-top: 8px; }
.step::before {
  content: ''; position: absolute; top: 34px; left: 68px; right: -20px;
  height: 1px; background: linear-gradient(90deg, var(--line) 0%, var(--line) 70%, transparent 100%);
}
.step:last-child::before { display: none; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent-tint); color: var(--navy);
  border: 1.5px solid rgba(240,160,48,.45);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 22px;
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 12px; letter-spacing: -.02em; }
.step p { color: var(--ink-2); font-size: .96rem; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   PARTNERS — marquee
   ═══════════════════════════════════════════════════════ */
.partners { padding: clamp(44px, 6vw, 68px) 0; border-top: 1px solid var(--line-soft); }
.partners-title {
  text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 32px;
}
.marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partners-logos {
  display: flex; align-items: center; gap: clamp(36px, 5vw, 64px);
  padding-right: clamp(36px, 5vw, 64px);
}
.partners-logos img {
  height: 30px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(100%); opacity: .5;
  transition: filter var(--t), opacity var(--t);
}
.partners-logos img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════
   SERVICE DETAIL PAGES
   ═══════════════════════════════════════════════════════ */
.features-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.detail-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.detail-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.detail-card h3 {
  position: relative; font-size: 1.18rem; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 16px; letter-spacing: -.02em;
}
.detail-card h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px;
  background: var(--accent); border-radius: 3px; transition: width var(--t);
}
.detail-card:hover h3::after { width: 72px; }
.detail-card p { color: var(--ink-2); font-size: .97rem; line-height: 1.72; }

/* ═══════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  padding: 32px 26px; background: #fff;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.value-card h3 {
  color: var(--navy); font-size: 1.08rem; margin-bottom: 12px;
  padding-left: 14px; position: relative; letter-spacing: -.018em;
}
.value-card h3::before {
  content: ''; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 3px; background: var(--accent); border-radius: 3px;
}
.value-card p { color: var(--ink-2); font-size: .94rem; line-height: 1.65; }

.content-narrow h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem); color: var(--navy);
  margin-bottom: 18px; letter-spacing: -.025em;
}
.content-narrow p { margin-bottom: 20px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; }
.content-narrow p:last-child { margin-bottom: 0; }
.content-narrow .lead { color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   INTEGRATIONS PAGE
   ═══════════════════════════════════════════════════════ */
.integrations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.integration-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.integration-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.integration-card h3 {
  font-size: 1.08rem; color: var(--navy); margin-bottom: 10px;
  letter-spacing: -.018em; display: flex; align-items: center; gap: 9px;
}
.integration-card h3::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.integration-card p { color: var(--ink-2); font-size: .93rem; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-form {
  margin-top: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--sh-1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .84rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px; letter-spacing: -.005em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink);
  font-family: var(--font); font-size: .96rem; background: var(--bg-soft);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-3); }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: #cfd8e6; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: var(--sh-ring);
}
.form-group select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2356617a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  color: #147a3d; background: #eaf7ef; border: 1px solid #bfe6cd;
  border-radius: var(--r-sm); padding: 12px 16px;
  font-weight: 500; font-size: .93rem; margin-top: 18px;
}
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 14px; }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--bg-soft); border-radius: var(--r-lg); padding: 30px 28px;
  border: 1px solid var(--line);
}
.contact-info-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 18px; letter-spacing: -.018em; }
.contact-info-card p { margin-bottom: 14px; font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.contact-info-card p:last-child { margin-bottom: 0; }
.contact-info-card strong { color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-info-card a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(240,160,48,.55); }
.contact-info-card a:hover { color: var(--accent-hover); }

.map-embed { margin-top: 16px; border-radius: var(--r); overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.68);
  padding: clamp(48px, 7vw, 76px) 0 0; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px); margin-bottom: clamp(36px, 5vw, 52px);
}
.footer-logo { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .93rem; line-height: 1.7; max-width: 34ch; }
.footer-brand p strong { color: #fff; }
.footer-links h4, .footer-contact h4 {
  color: #fff; font-size: .78rem; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .13em; font-weight: 600;
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a {
  font-size: .93rem; padding: 5px 0; color: rgba(255,255,255,.68);
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-contact p { font-size: .93rem; margin-bottom: 12px; line-height: 1.6; }
.footer-contact a { color: #fff; border-bottom: 1px solid rgba(240,160,48,.5); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.42); }
.footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-actions .btn { font-size: .84rem; padding: 9px 20px; min-height: 40px; }
.footer-actions .btn-sm:not(.btn-accent) {
  color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.22); box-shadow: none;
}
.footer-actions .btn-sm:not(.btn-accent):hover { color: var(--navy-dark); background: #fff; border-color: #fff; }

/* ═══════════════════════════════════════════════════════
   MOBILE STICKY ACTION BAR
   ═══════════════════════════════════════════════════════ */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; font-size: .9rem; padding: 12px 10px; }
.mobile-cta .btn-outline { color: var(--navy); border-color: rgba(26,39,68,.25); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: span 3; }
}

@media (max-width: 900px) {
  .services-grid, .process-steps, .features-grid { grid-template-columns: 1fr; }
  .features-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .feature-card { aspect-ratio: 16 / 9; }
  .cta-bar .container { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 1090px) {
  .mobile-toggle { display: flex; }
  .nav-inner { height: 66px; }
  .site-header.scrolled .nav-inner { height: 60px; }

  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: var(--sh-3);
    padding: 14px var(--gutter) 22px;
    border-top: 1px solid var(--line-soft);
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: navIn .26s var(--ease); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: flex; padding: 14px 12px; border-radius: var(--r-sm); font-size: 1rem; }
  .nav-links > li > a::after { display: none; }
  .nav-links > li > a.active { background: var(--bg-soft); }
  .nav-links > li > a.btn { margin-left: 0; margin-top: 10px; justify-content: center; padding: 14px; }
  .has-dropdown > a::before { margin-left: auto; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 12px; min-width: 0;
    border-left: 2px solid var(--line);
    margin: 2px 0 6px 12px;
  }
  .dropdown li a { padding: 11px 12px; font-size: .95rem; }
  .dropdown li a:hover { padding-left: 12px; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 1090px) and (min-width: 821px) {
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .nav-links { max-height: calc(100vh - 130px); }
}

@media (max-width: 820px) {
  .header-contact { display: none; }
  .header-top-inner { justify-content: flex-end; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .values-grid, .integrations-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-actions { width: 100%; }
  .footer-actions .btn { flex: 1; }
  .service-card, .detail-card, .value-card, .integration-card { padding: 26px 22px; }
  .partners-logos img { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════
   APPLICATIONS
   ═══════════════════════════════════════════════════════ */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.app-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 34px 30px; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.app-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.app-card:hover::before { transform: scaleX(1); }
.app-name {
  font-size: 1.45rem; color: var(--navy); letter-spacing: -.028em;
  margin-bottom: 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.app-domain {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: lowercase;
  color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: var(--r-pill);
}
.app-tagline { color: var(--accent-hover); font-weight: 600; font-size: 1rem; margin-bottom: 14px; line-height: 1.4; }
.app-card p { color: var(--ink-2); font-size: .98rem; line-height: 1.65; margin-bottom: 24px; }
.app-card .card-link { color: var(--navy); }
.app-card:hover .card-link { color: var(--accent-hover); }

/* "Co robi" — spec rows */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 4vw, 56px); row-gap: 0; }
.spec { padding: 26px 0; border-top: 1px solid var(--line); }
.spec h3 {
  position: relative; font-size: 1.05rem; color: var(--navy);
  margin-bottom: 10px; padding-left: 18px; letter-spacing: -.018em;
}
.spec h3::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.spec p { color: var(--ink-2); font-size: .96rem; line-height: 1.68; padding-left: 18px; }

/* "Dla kogo" band */
.audience {
  display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r); padding: 22px 26px; margin-top: 40px;
}
.audience-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-hover); flex: none;
}
.audience p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* Ecosystem flow */
.flow { max-width: 760px; margin: 0 auto; }
.flow-step {
  position: relative; display: grid; grid-template-columns: 46px 1fr;
  gap: 20px; padding-bottom: 26px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: ''; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(240,160,48,.5), var(--line));
}
.flow-step:last-child::before { display: none; }
.flow-num {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1.5px solid rgba(240,160,48,.45);
  color: var(--navy); font-weight: 700; font-size: .98rem; position: relative; z-index: 1;
}
.flow-body { padding-top: 8px; }
.flow-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; letter-spacing: -.02em; }
.flow-body p { color: var(--ink-2); font-size: .97rem; line-height: 1.65; }

.app-back {
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 4px;
}
.app-back::before { content: '←'; transition: transform var(--t); }
.app-back:hover { color: var(--navy); }
.app-back:hover::before { transform: translateX(-3px); }

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-card { padding: 28px 24px; }
  .audience { flex-direction: column; gap: 8px; }
  .flow-step { grid-template-columns: 38px 1fr; gap: 16px; }
  .flow-step::before { left: 18px; top: 40px; }
  .flow-num { width: 38px; height: 38px; font-size: .9rem; }
}
