/* =========================================================
   3OBJECTS TECHNOLOGY LTD — Premium website
   Brand tokens first; change colours, fonts or spacing here.
   ========================================================= */
:root {
  --navy: #182D6F;
  --navy-deep: #0E1B47;
  --navy-ink: #0A1435;
  --red: #EA3323;
  --red-dark: #C9241A;
  --coral: #FF7F72;
  --slate: #566696;
  --ink: #2B3654;
  --muted: #6B7797;
  --mist: #F5F7FB;
  --mist-2: #EDF1F8;
  --line: #E1E6F0;
  --white: #FFFFFF;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(14, 27, 71, .06);
  --shadow: 0 24px 60px -20px rgba(14, 27, 71, .22);
  --shadow-lg: 0 40px 90px -30px rgba(14, 27, 71, .35);
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-ink); line-height: 1.12; margin: 0; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 18px; height: 18px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--coral); }
.display { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2vw, 26px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); }
.accent { color: var(--red); }
.grad {
  background: linear-gradient(100deg, var(--red) 10%, var(--coral) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(234, 51, 35, .7); }
.btn-primary:hover { --bg: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-dark { --bg: var(--navy-ink); }
.btn-dark:hover { --bg: var(--navy); transform: translateY(-2px); }
.btn-outline { --bg: transparent; --fg: var(--navy-ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-ink); }
.btn-white { --bg: var(--white); --fg: var(--navy-ink); }
.btn-white:hover { transform: translateY(-2px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 600; font-size: 15px; color: var(--navy-ink);
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .3s; }
.scrolled .nav { height: 72px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo .logo-dark { display: none; }
.header-dark:not(.scrolled) .nav-logo .logo-light { display: none; }
.header-dark:not(.scrolled) .nav-logo .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:not(.btn):hover { background: var(--mist-2); color: var(--navy-ink); }
.nav-links a[aria-current="page"] { color: var(--red); }
.header-dark:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255,255,255,.82); }
.header-dark:not(.scrolled) .nav-links a:not(.btn):hover { background: rgba(255,255,255,.08); color: var(--white); }
.header-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: var(--coral); }
.nav-links .btn { margin-left: 10px; padding: 12px 22px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--navy-ink); cursor: pointer; place-items: center;
}
.header-dark:not(.scrolled) .nav-toggle { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy-ink); color: rgba(255,255,255,.72); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .lead, .section-dark .muted { color: rgba(255,255,255,.64); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { max-width: 520px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lead { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 20px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(255,255,255,.74);
  background: radial-gradient(1200px 600px at 85% 10%, rgba(234,51,35,.22), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(86,102,150,.35), transparent 60%),
              linear-gradient(180deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
  padding: 170px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; 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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin: 26px 0 28px; }
.hero .lead { color: rgba(255,255,255,.7); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.82);
}
.hero-badge b { background: var(--red); color: var(--white); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; font-family: var(--font-head); }
.hero-meta { display: flex; gap: 36px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.hero-meta div { font-size: 14px; }
.hero-meta b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--white); letter-spacing: -.03em; font-weight: 600; }

/* Integration map */
.map { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; margin-left: auto; }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map .flow { stroke-dasharray: 4 10; animation: flow 1.6s linear infinite; }
.map .flow.rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 3s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.map-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: rgba(20, 34, 84, .78); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--white); font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.map-chip small { display: block; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 400; }
.map-chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--coral); }
.map-chip .ic .i { width: 17px; height: 17px; }
@keyframes float { 50% { transform: translateY(-8px); } }
.map-status {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: var(--white); color: var(--navy-ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-lg);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #1FB57A; box-shadow: 0 0 0 4px rgba(31,181,122,.2); }

/* Logo marquee */
.trust { position: relative; margin-top: 96px; padding: 34px 0 38px; border-top: 1px solid rgba(255,255,255,.08); }
.trust p { text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: rgba(255,255,255,.55); letter-spacing: -.02em; white-space: nowrap; }
.wordmark .i { width: 24px; height: 24px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 190px 0 110px; color: rgba(255,255,255,.72);
  background: radial-gradient(900px 500px at 90% 0%, rgba(234,51,35,.2), transparent 60%),
              linear-gradient(180deg, var(--navy-ink), var(--navy-deep));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; 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: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; margin: 24px 0 24px; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.68); max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.page-hero .mark-bg { position: absolute; right: -60px; top: 50%; transform: translateY(-40%); width: 420px; opacity: .07; pointer-events: none; }

/* ---------- Intro / stats ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro .big { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.02em; color: var(--navy-ink); font-weight: 500; }
.intro .big span { color: var(--muted); }
.intro p + p { margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 88px; border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--navy-ink); }
.stat b sup { font-size: .45em; color: var(--red); vertical-align: top; margin-left: 2px; top: .3em; position: relative; }
.stat span { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .num { position: absolute; top: 32px; right: 36px; font-family: var(--font-head); font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.svc-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mist); color: var(--red); margin-bottom: 44px; transition: background .3s, color .3s;
}
.svc-ic .i { width: 26px; height: 26px; }
.svc:hover .svc-ic { background: var(--red); color: var(--white); }
.svc h3 { font-size: 23px; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 16px; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--slate); }
.svc .link-arrow { margin-top: auto; padding-top: 28px; }
.svc.feature {
  grid-column: span 2; background: var(--navy-ink); color: rgba(255,255,255,.7); border-color: transparent;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(234,51,35,.28), transparent 60%);
}
.svc.feature h3 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); max-width: 480px; }
.svc.feature p { color: rgba(255,255,255,.66); max-width: 520px; }
.svc.feature .svc-ic { background: rgba(255,255,255,.08); color: var(--coral); }
.svc.feature .tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.svc.feature .link-arrow { color: var(--white); }
.svc.feature .num { color: rgba(255,255,255,.4); }
.svc.wide { grid-column: span 2; }
.svc.feature .deco { position: absolute; right: -40px; bottom: -40px; width: 300px; opacity: .9; pointer-events: none; }

/* ---------- Pillars (dark) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.pillar { padding: 48px 40px 8px 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.1); }
.pillar .dot { width: 18px; height: 18px; border-radius: 50%; margin-bottom: 36px; box-shadow: 0 0 0 8px rgba(255,255,255,.04); }
.pillar h3 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.035em; margin-bottom: 14px; }
.pillar p { font-size: 16px; }
.pillar ul { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; }
.pillar li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.78); }
.pillar li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-visual { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.case-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.case:hover .case-visual svg { transform: scale(1.05); }
.case-visual .sector {
  position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18);
}
.case-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.case-body .client { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.case-body h3 { font-size: 21px; line-height: 1.3; margin-bottom: 24px; letter-spacing: -.02em; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.case-metrics b { display: block; font-family: var(--font-head); font-size: 28px; color: var(--navy-ink); letter-spacing: -.03em; line-height: 1.1; }
.case-metrics span { font-size: 13.5px; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 28px; right: 10%; height: 1px; background: linear-gradient(90deg, var(--red), var(--line) 70%); }
.step { position: relative; }
.step .n {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--navy-ink);
  margin-bottom: 28px; transition: background .3s, color .3s, border-color .3s;
}
.step:hover .n, .step:first-child .n { background: var(--red); color: var(--white); border-color: var(--red); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }
.step small { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--slate); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ind { background: var(--white); padding: 36px; transition: background .3s; position: relative; }
.ind:hover { background: var(--mist); }
.ind .ind-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.ind .ind-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-ink); color: var(--white); }
.ind:nth-child(even) .ind-ic { background: var(--red); }
.ind .arrow { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.ind:hover .arrow { transform: translate(3px, -3px); color: var(--red); }
.ind h3 { font-size: 21px; margin-bottom: 8px; }
.ind p { font-size: 15.5px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.quote {
  padding: 48px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 32px;
}
.quote.big { background: var(--navy-ink); color: rgba(255,255,255,.75); border: 0; grid-row: span 2; position: relative; overflow: hidden;
  background-image: radial-gradient(500px 300px at 0% 100%, rgba(234,51,35,.25), transparent 60%); }
.quote .qmark { width: 44px; height: 44px; color: var(--red); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 20px; line-height: 1.5; color: var(--navy-ink); letter-spacing: -.015em; font-weight: 500; }
.quote.big blockquote { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.38; color: var(--white); }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--slate)); flex: none; }
.avatar.r { background: linear-gradient(135deg, var(--red), var(--coral)); }
.who b { display: block; font-family: var(--font-head); color: var(--navy-ink); font-size: 16px; font-weight: 600; }
.who span { font-size: 14px; color: var(--muted); }
.quote.big .who b { color: var(--white); }
.quote.big .who span { color: rgba(255,255,255,.55); }
.stars { display: flex; gap: 3px; color: #F5A524; }
.stars .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; }
.post-img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.post-img svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.post:hover .post-img svg { transform: scale(1.05); }
.post .meta { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.post .meta .cat { color: var(--red); font-weight: 600; }
.post h3 { font-size: 21px; line-height: 1.32; letter-spacing: -.02em; transition: color .2s; }
.post:hover h3 { color: var(--red); }
.post p { margin-top: 12px; font-size: 15.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 96px);
  background: var(--red); color: rgba(255,255,255,.9);
  background-image: radial-gradient(700px 400px at 100% 0%, rgba(255,127,114,.9), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(160,20,10,.6), transparent 60%);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end;
}
.cta h2 { color: var(--white); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.cta p { margin-top: 20px; font-size: 18px; max-width: 560px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; }
.cta .deco { position: absolute; right: -80px; top: -120px; width: 420px; opacity: .12; pointer-events: none; }
.cta > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.6); padding: 96px 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { width: 200px; margin-bottom: 24px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: var(--white); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.site-footer ul { display: grid; gap: 12px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.newsletter { display: flex; margin-top: 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); padding: 10px 14px; font: inherit; font-size: 14px; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }
.newsletter button .i { width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); transition: background .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.social .i { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 24px; }
.tagline { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.panel-visual { position: relative; aspect-ratio: 5 / 5.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-ink); }
.panel-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-visual .caption {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 22px 24px; border-radius: 18px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px); display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow);
}
.panel-visual .caption b { font-family: var(--font-head); font-size: 34px; color: var(--red); letter-spacing: -.04em; line-height: 1; }
.panel-visual .caption span { font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 18px; }
.prose h2 { margin: 20px 0 28px; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv article { padding: 40px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.mvv .k { font-family: var(--font-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 20px; display: block; }
.mvv h3 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
.mvv p { color: var(--muted); font-size: 16px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 32px 0 0; border-top: 2px solid var(--navy-ink); }
.value:nth-child(2) { border-color: var(--red); }
.value:nth-child(3) { border-color: var(--coral); }
.value:nth-child(4) { border-color: var(--slate); }
.value h3 { font-size: 21px; margin: 18px 0 10px; }
.value p { font-size: 15.5px; color: var(--muted); }
.value .i { width: 28px; height: 28px; color: var(--navy-ink); }
.timeline { position: relative; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.1); }
.tl:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.tl .yr { font-family: var(--font-head); font-size: 40px; font-weight: 600; color: var(--white); letter-spacing: -.04em; line-height: 1; }
.tl:last-child .yr { color: var(--coral); }
.tl .yr.word { font-size: 22px; letter-spacing: -.01em; line-height: 1.3; }
.tl h3 { font-size: 22px; margin-bottom: 8px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .ph {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
  background: linear-gradient(160deg, var(--mist-2), #DCE3F1); display: grid; place-items: center;
}
.member .ph span { font-family: var(--font-head); font-size: 64px; font-weight: 600; color: var(--navy); letter-spacing: -.04em; opacity: .9; }
.member .ph::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--red); right: 20px; top: 20px; }
.member:nth-child(2) .ph::after { background: var(--coral); }
.member h3 { font-size: 19px; }
.member p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partners div { background: var(--white); padding: 34px 16px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--slate); font-size: 16px; letter-spacing: -.01em; }
.partners small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail .idx { font-family: var(--font-head); font-size: 15px; color: var(--red); font-weight: 600; padding-top: 10px; }
.svc-detail h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; margin-bottom: 18px; }
.svc-detail p { color: var(--muted); }
.svc-detail .deliver h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-ink); margin-bottom: 18px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks .i { width: 20px; height: 20px; color: var(--red); margin-top: 3px; }
.svc-detail .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { padding: 44px 40px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.model.hl { background: var(--white); color: var(--ink); border: 0; }
.model.hl h3 { color: var(--navy-ink); }
.model .pill { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); margin-bottom: 28px; }
.model.hl .pill { background: var(--red); color: var(--white); }
.model h3 { font-size: 26px; margin-bottom: 12px; }
.model > p { font-size: 16px; }
.model.hl > p { color: var(--muted); }
.model ul { margin: 28px 0 36px; display: grid; gap: 12px; font-size: 15.5px; }
.model li { display: flex; gap: 10px; align-items: flex-start; }
.model li .i { width: 18px; height: 18px; color: var(--coral); margin-top: 4px; }
.model.hl li .i { color: var(--red); }
.model .btn { margin-top: auto; align-self: flex-start; }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack-col { padding: 28px !important; }
.stack-col { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stack-col h4 { font-size: 15px; margin-bottom: 18px; color: var(--navy-ink); }
.stack-col .tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* FAQ */
.faq { max-width: 900px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--navy-ink); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--red); color: var(--white); border-color: var(--red); }
.faq details p { padding: 0 60px 30px 0; color: var(--muted); }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--navy-ink); }
.filter.active { background: var(--navy-ink); color: var(--white); border-color: var(--navy-ink); }
.case.hide { display: none; }
.case-feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-feature .case-visual { aspect-ratio: auto; min-height: 460px; }
.case-feature .body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; }
.case-feature h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; margin: 14px 0 20px; }
.case-feature .cs { display: grid; gap: 18px; margin: 12px 0 36px; }
.case-feature .cs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 15.5px; }
.case-feature .cs b { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-ink); padding-top: 2px; }
.case-feature .cs span { color: var(--muted); }
.case-feature .case-metrics { grid-template-columns: repeat(3, 1fr); }

/* ---------- Insights page ---------- */
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: 96px; }
.post-feature .post-img { margin: 0; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }
.post-feature h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.035em; margin: 16px 0 18px; line-height: 1.12; }
.post-feature p { color: var(--muted); }
.author { display: flex; align-items: center; gap: 12px; margin: 28px 0 32px; font-size: 14.5px; }
.author b { display: block; color: var(--navy-ink); font-family: var(--font-head); font-weight: 600; }
.author span { color: var(--muted); }
.author .avatar { width: 44px; height: 44px; font-size: 15px; }
.posts.six { row-gap: 64px; }
.subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--navy-ink); color: rgba(255,255,255,.7); background-image: radial-gradient(600px 300px at 100% 100%, rgba(234,51,35,.3), transparent 60%); }
.subscribe h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; margin-bottom: 14px; }
.subscribe form { display: flex; gap: 10px; padding: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); padding: 0 18px; font: inherit; outline: none; }
.subscribe input::placeholder { color: rgba(255,255,255,.45); }
.subscribe small { display: block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.45); padding-left: 18px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 40px; }
.ccard { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .3s; }
.ccard:hover { border-color: transparent; box-shadow: var(--shadow); }
.ccard .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--red); flex: none; }
.ccard small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.ccard b { font-family: var(--font-head); font-weight: 600; color: var(--navy-ink); font-size: 17px; }
.ccard p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.form-card { padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 32px; }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-ink); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--mist);
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566696' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(24,45,111,.08); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 14px; color: var(--ink); cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--navy-ink); border-color: var(--navy-ink); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.fieldset-label { font-size: 14px; font-weight: 600; color: var(--navy-ink); margin-bottom: 10px; display: block; }
.consent { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; font-size: 14px !important; }
.consent input { width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--red); appearance: auto; -webkit-appearance: auto; flex: none; }
.form-success { display: none; padding: 18px 20px; border-radius: 12px; background: #E8F7F0; color: #12714B; font-weight: 500; font-size: 15px; }
.form-success.show { display: block; }
.offices { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--navy-ink); }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .pin-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 34px)); background: var(--white); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; white-space: nowrap; }
.map-card .pin-label b { display: block; font-family: var(--font-head); color: var(--navy-ink); }
.hours { padding: 40px; border-radius: var(--radius-lg); background: var(--mist); }
.hours h3 { font-size: 24px; margin-bottom: 24px; }
.hours ul { display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.hours li b { color: var(--navy-ink); font-weight: 600; }


/* ---------- Enterprise platforms (SAP / OSB) ---------- */
.plat-mark {
  display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 14px; border-radius: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--white);
  background: linear-gradient(135deg, var(--navy), #2C4AA8);
}
.plat-mark.osb { background: linear-gradient(135deg, var(--red), var(--coral)); }
.plat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plat-card {
  display: flex; flex-direction: column; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.plat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.plat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.plat-top .arrow { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.plat-card:hover .plat-top .arrow { transform: translate(3px, -3px); color: var(--red); }
.plat-card h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; margin-bottom: 14px; }
.plat-card p { color: var(--muted); }
.plat-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.platform {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.platform + .platform { margin-top: 24px; }
.platform-intro h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; margin: 28px 0 16px; }
.platform-intro > p { color: var(--muted); }
.platform-intro .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.plat-stats { display: flex; gap: 40px; margin: 32px 0; padding-top: 28px; border-top: 1px solid var(--line); }
.plat-stats b { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--navy-ink); letter-spacing: -.04em; line-height: 1.1; }
.plat-stats span { font-size: 14px; color: var(--muted); }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap { padding: 24px; border-radius: 16px; background: var(--mist); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.cap:hover { background: var(--white); border-color: var(--line); }
.cap h4 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 8px; color: var(--navy-ink); }
.cap p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 3; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .platform { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 72px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn), .header-dark:not(.scrolled) .nav-links a:not(.btn) { color: var(--ink); padding: 14px 16px; }
  .header-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: var(--red); }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .hero { padding-top: 140px; }
  .plat-cards, .stack { grid-template-columns: 1fr 1fr; }
  .hero-grid, .intro, .split, .contact-grid, .case-feature, .post-feature, .subscribe, .offices, .quote-wrap, .cta { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .map { margin: 0 auto; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 28px; }
  .bento, .cases, .posts, .mvv, .models, .industries { grid-template-columns: repeat(2, 1fr); }
  .svc.feature { grid-column: span 2; }
  .svc.wide { grid-column: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 40px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(255,255,255,.1); }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .svc-detail { grid-template-columns: 1fr; gap: 24px; }
  .case-feature .case-visual { min-height: 300px; }
  .quote.big { grid-row: auto; }
  .intro { gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento, .cases, .posts, .mvv, .models, .industries, .values, .team, .stack, .plat-cards, .cap-grid { grid-template-columns: 1fr; }
  .plat-stats { gap: 28px; }
  .svc.feature { grid-column: auto; }
  .svc.feature .deco { opacity: .35; width: 200px; }
  .process { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 2; }
  .form .row { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 12px; }
  .map-chip { font-size: 11.5px; padding: 7px 10px 7px 7px; }
  .map-chip .ic { width: 26px; height: 26px; }
  .map-chip small { display: none; }
  .hero-meta { gap: 24px; }
  .quote { padding: 32px; }
  .case-feature .case-metrics { grid-template-columns: 1fr 1fr; }
  .case-feature .cs div { grid-template-columns: 1fr; gap: 4px; }
  .subscribe form { flex-direction: column; border-radius: 20px; }
  .subscribe input { padding: 12px 14px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .page-hero { padding: 150px 0 80px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 16px; }
}

/* Product cards: feature tags in place of metrics */
.case-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.case-feature .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* WhatsApp chat */
.wa-ic { width: 22px; height: 22px; }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(10, 20, 53, .25); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10, 20, 53, .3); }
.wa-float .wa-ic { width: 26px; height: 26px; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
}
