/* ============================================================
   INFRANET — single page site
   Light · minimalist · navy brand
   ============================================================ */

:root {
  --navy:      #14213d;
  --navy-soft: #1f2f52;
  --ink:       #14213d;
  --text:      #51607a;
  --muted:     #8893a7;
  --bg:        #ffffff;
  --bg-soft:   #f5f8fc;
  --border:    #e7ecf3;
  --accent:    #2f6df0;
  --accent-2:  #38bdf8;

  --maxw: 1140px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(20,33,61,.04), 0 4px 16px rgba(20,33,61,.05);
  --shadow-md: 0 12px 40px rgba(20,33,61,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }

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

/* ---------- Brand wordmark (matches uploaded logo) ---------- */
.brand__word {
  font-family: 'Jost', 'Century Gothic', sans-serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: .34em;
  color: var(--navy);
  padding-left: .17em; /* optical balance for tracking */
  transition: color .3s var(--ease);
}
.brand__img { height: 30px; width: auto; }
.brand:hover .brand__word { color: var(--accent); }
.brand__word--sm { font-size: 1.15rem; letter-spacing: .3em; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Liquid-glass button (vanilla recreation of LiquidButton) ---------- */
.svg-hidden { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn-liquid {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 40px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .01em;
  color: var(--navy); background: transparent; cursor: pointer;
  transition: transform .3s var(--ease);
}
.btn-liquid:hover { transform: scale(1.05); }
.btn-liquid:active { transform: scale(.98); }

/* Glass bezel — exact box-shadow from the source component */
.btn-liquid__shadow {
  position: absolute; inset: 0; z-index: 1; border-radius: 999px;
  box-shadow:
    0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 3px 3px .5px -3px rgba(0,0,0,.9), inset -3px -3px .5px -3px rgba(0,0,0,.85),
    inset 1px 1px 1px -.5px rgba(0,0,0,.6), inset -1px -1px 1px -.5px rgba(0,0,0,.6),
    inset 0 0 6px 6px rgba(0,0,0,.12), inset 0 0 2px 2px rgba(0,0,0,.06),
    0 0 12px rgba(255,255,255,.15);
  transition: box-shadow .3s var(--ease);
}
/* Refraction layer: inline style adds SVG distortion where supported;
   this rule is the cross-browser blur fallback (Chrome/Edge) */
.btn-liquid__filter {
  position: absolute; inset: 0; z-index: 0; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.btn-liquid__label {
  position: relative; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-liquid__label svg { width: 21px; height: 21px; }

/* Dark variant — for glass buttons on dark backgrounds (e.g. the navy CTA) */
.btn-liquid--dark { color: #fff; }
.btn-liquid--dark .btn-liquid__shadow {
  box-shadow:
    0 0 8px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 3px 3px .5px -3.5px rgba(255,255,255,.09), inset -3px -3px .5px -3.5px rgba(255,255,255,.85),
    inset 1px 1px 1px -.5px rgba(255,255,255,.6), inset -1px -1px 1px -.5px rgba(255,255,255,.6),
    inset 0 0 6px 6px rgba(255,255,255,.12), inset 0 0 2px 2px rgba(255,255,255,.06),
    0 0 12px rgba(0,0,0,.15);
}
.btn-liquid--dark .btn-liquid__filter { background: rgba(255,255,255,.06); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 12px; }

/* Liquid-glass nav pills (compact version of .btn-liquid) */
.nav__links a {
  position: relative; isolation: isolate;
  font-weight: 500; font-size: .9rem; color: var(--navy); white-space: nowrap;
  padding: 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow:
    0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 2px 2px .5px -2px rgba(0,0,0,.9), inset -2px -2px .5px -2px rgba(0,0,0,.85),
    inset 1px 1px 1px -.5px rgba(0,0,0,.55), inset -1px -1px 1px -.5px rgba(0,0,0,.55),
    inset 0 0 5px 4px rgba(0,0,0,.10), inset 0 0 2px 2px rgba(0,0,0,.05),
    0 0 10px rgba(255,255,255,.15);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.nav__links a:hover { transform: scale(1.06); color: var(--accent); }
.nav__links a:active { transform: scale(.97); }

/* Right-side actions cluster (language switch + mobile toggle) */
.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang__sep { display: none; } /* hidden: each language is now its own glass pill */

/* Liquid-glass language pills */
.lang__btn {
  position: relative; isolation: isolate;
  border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted);
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow:
    0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 2px 2px .5px -2px rgba(0,0,0,.9), inset -2px -2px .5px -2px rgba(0,0,0,.85),
    inset 1px 1px 1px -.5px rgba(0,0,0,.55), inset -1px -1px 1px -.5px rgba(0,0,0,.55),
    inset 0 0 5px 4px rgba(0,0,0,.10), inset 0 0 2px 2px rgba(0,0,0,.05),
    0 0 10px rgba(255,255,255,.15);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.lang__btn:hover { transform: scale(1.08); color: var(--ink); }
.lang__btn:active { transform: scale(.95); }
.lang__btn.is-active { color: var(--navy); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 190px 0 130px;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 480px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(56,189,248,.22), rgba(47,109,240,.12) 40%, transparent 70%);
  filter: blur(20px); animation: floatGlow 9s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to   { transform: translateX(-50%) translateY(26px) scale(1.06); }
}
.hero__inner { position: relative; text-align: center; }

/* Hero marquee — continuous left-to-right ticker of service areas */
.hero__marquee {
  width: 100%; max-width: 760px; margin: 0 auto 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex; align-items: center; white-space: nowrap; will-change: transform;
  animation: marquee 28s linear infinite;
}
.hero__marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item, .marquee__dot {
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}
.marquee__dot { padding: 0 1em; }

/* -50% == one [item + dot], so the second copy lands exactly where the
   first started → seamless loop. From -50% to 0 reads left-to-right. */
@keyframes marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; margin: 6px auto 0; max-width: none; }
.grad {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 60ch; margin: 26px auto 0; color: var(--text); }
.hero__actions { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.hero__stats { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; margin-top: 70px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: 'Jost', sans-serif; font-size: 2.3rem; font-weight: 500; color: var(--navy); letter-spacing: .01em; }
.stat__label { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Scroll indicators (one on each side) ---------- */
.hero__scroll {
  position: absolute; bottom: 36px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--muted); animation: bobDown 2.4s ease-in-out infinite;
}
.hero__scroll--left  { left: 6%; }
.hero__scroll--right { right: 6%; }
.hero__scroll-tx { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero__mouse {
  width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 13px;
  display: flex; justify-content: center; padding-top: 7px;
  transition: border-color .3s var(--ease);
}
.hero__wheel { width: 4px; height: 8px; border-radius: 3px; background: var(--accent); animation: wheel 1.7s ease-in-out infinite; }
.hero__scroll:hover .hero__mouse { border-color: var(--accent); }

@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(9px); } }
@keyframes bobDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
.section__lead { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  position: relative; isolation: isolate;
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); margin-bottom: 20px;
  background: rgba(47,109,240,.06); /* solid card behind → blur adds nothing, so omit it for perf */
  box-shadow:
    0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08),
    inset 2px 2px .5px -2px rgba(0,0,0,.9), inset -2px -2px .5px -2px rgba(0,0,0,.85),
    inset 1px 1px 1px -.5px rgba(0,0,0,.55), inset -1px -1px 1px -.5px rgba(0,0,0,.55),
    inset 0 0 5px 4px rgba(0,0,0,.10), inset 0 0 2px 2px rgba(0,0,0,.05),
    0 0 10px rgba(255,255,255,.15);
  transition: transform .4s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.about__text p { margin-top: 16px; }
.about__text .section__title { margin-bottom: 4px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; font-weight: 600; color: var(--navy); }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover span { transform: translateX(6px); }

.about__panel {
  position: relative; height: 290px; border-radius: var(--radius);
  background: linear-gradient(135deg, #14213d 0%, #25406e 100%);
  box-shadow: var(--shadow-md); overflow: hidden; padding: 34px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.about__panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .6;
}
/* Animated network graph (echoes the "INFRANET" connectivity theme) */
.netgraph { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.ng-links line { stroke-dasharray: 4 8; animation: ngFlow 2.4s linear infinite; }
@keyframes ngFlow { to { stroke-dashoffset: -24; } }

.ng-nodes circle, .ng-hub {
  transform-box: fill-box; transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(56,189,248,.6));
}
.ng-nodes circle { animation: ngPulse 3s ease-in-out infinite; }
.ng-nodes circle:nth-child(1) { animation-delay: 0s; }
.ng-nodes circle:nth-child(2) { animation-delay: .5s; }
.ng-nodes circle:nth-child(3) { animation-delay: 1s; }
.ng-nodes circle:nth-child(4) { animation-delay: 1.5s; }
.ng-nodes circle:nth-child(5) { animation-delay: .8s; }
.ng-nodes circle:nth-child(6) { animation-delay: 1.3s; }
@keyframes ngPulse { 0%,100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.ng-hub { filter: drop-shadow(0 0 10px rgba(56,189,248,.9)); }
.ng-ring {
  fill: none; stroke: #67e8f9; stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: ngRing 2.8s ease-out infinite;
}
@keyframes ngRing { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.ng-packet { fill: #e0fbff; filter: drop-shadow(0 0 4px rgba(165,243,252,.9)); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px 24px; border-left: 2px solid var(--border); transition: border-color .3s var(--ease); }
.feature:hover { border-color: var(--accent); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: .94rem; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 65%); filter: blur(10px);
}
.cta__inner { text-align: center; position: relative; }
.cta__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.cta__sub { color: rgba(255,255,255,.7); margin: 16px auto 36px; max-width: 52ch; font-size: 1.08rem; }
.cta__actions { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 44px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__copy { font-size: .88rem; color: var(--muted); }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: .9rem; color: var(--text); transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--accent); }

/* ============================================================
   3D AI showcase — vanilla recreation of SplineSceneBasic
   ============================================================ */
.robot3d__card {
  position: relative; overflow: hidden; border-radius: 24px;
  display: flex; min-height: 520px;
  background: radial-gradient(120% 130% at 78% 0%, #1d2e54 0%, #0e1830 58%, #0a1226 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-md);
}

/* Spotlight (replaces Aceternity <Spotlight>) */
.robot3d__spot {
  position: absolute; top: -28%; left: -8%; width: 68%; height: 125%;
  background: radial-gradient(closest-side, rgba(56,189,248,.20), rgba(47,109,240,.10) 50%, transparent 78%);
  filter: blur(36px); pointer-events: none; z-index: 1;
  animation: spotlightIn 1.4s var(--ease) both;
}
@keyframes spotlightIn {
  from { opacity: 0; transform: translate(-18%, -10%) scale(.8); }
  to   { opacity: 1; transform: translate(0, 0) scale(1); }
}

.robot3d__text {
  position: relative; z-index: 2; flex: 1 1 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 16px 48px 48px;
}
.robot3d__text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffffff, #aab4c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.robot3d__text p { margin-top: 16px; color: #c3ccdd; max-width: 44ch; font-size: 1.05rem; }

.robot3d__scene { position: relative; z-index: 2; flex: 1 1 0; min-height: 520px; }
.robot3d__scene spline-viewer { width: 100%; height: 100%; display: block; }

@media (max-width: 820px) {
  .robot3d__card { flex-direction: column; min-height: auto; }
  .robot3d__text { padding: 38px 28px 8px; text-align: center; align-items: center; }
  .robot3d__text p { margin-inline: auto; }
  .robot3d__scene { min-height: 360px; width: 100%; }
}

/* ============================================================
   Scroll showcase — vanilla recreation of Aceternity ContainerScroll
   ============================================================ */
.scroll-showcase { background: var(--bg); overflow: hidden; }

/* Tall stage gives the scroll its travel distance (md:80rem) */
.scroll-stage {
  height: 80rem; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem;
}
.scroll-inner { width: 100%; position: relative; padding: 10rem 0; perspective: 1000px; }

.scroll-header { max-width: 64rem; margin: 0 auto; text-align: center; will-change: transform; }
.scroll-title { display: flex; flex-direction: column; gap: 6px; }
.scroll-title__sm { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; color: var(--ink); }
.scroll-title__lg {
  font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.scroll-card {
  max-width: 64rem; margin: -3rem auto 0; width: 100%; height: 40rem;
  border: 4px solid #6C6C6C; padding: 1.5rem; background: #222222; border-radius: 30px;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042,
              0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
  will-change: transform;
  transform: rotateX(20deg) scale(1.05); /* progress = 0 initial state */
}
.scroll-card__inner {
  height: 100%; width: 100%; overflow: hidden; border-radius: 1rem;
  background: #18181b; padding: 1rem;
}
.scroll-card__img {
  width: 100%; height: 100%; object-fit: cover; object-position: left top;
  border-radius: 1rem; display: block; user-select: none;
}

@media (max-width: 768px) {
  .scroll-stage { height: 60rem; padding: .5rem; }
  .scroll-inner { padding: 2.5rem 0; }
  .scroll-card { height: 30rem; padding: .5rem; transform: rotateX(20deg) scale(0.7); }
  .scroll-card__inner { padding: 0; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

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

/* ============================================================
   Responsive
   ============================================================ */
/* On narrow screens keep a single, centered scroll indicator */
@media (max-width: 760px) {
  .hero__scroll--right { display: none; }
  .hero__scroll--left { left: 50%; transform: translateX(-50%); }
  @keyframes bobDown { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__panel { height: 240px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px;
    padding: 40px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    box-shadow: -10px 0 40px rgba(20,33,61,.12);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; }
  .hero { padding: 150px 0 90px; }
  .hero__stats { gap: 36px; margin-top: 50px; }
  .stat__num { font-size: 1.9rem; }
  .section { padding: 80px 0; }
}

@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; text-align: center; }

  /* Stack contact buttons full-width; shrink padding/label so the long
     email address never overflows narrow phones */
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn-liquid { width: 100%; }
  .btn-liquid { font-size: .9rem; padding: 0 18px; }
  .btn-liquid__label { gap: 8px; }
  .btn-liquid__label svg { width: 19px; height: 19px; }

  /* Keep brand + 3 language pills + hamburger on one row on tiny phones */
  .brand__word { font-size: 1.18rem; letter-spacing: .2em; padding-left: 0; }
  .nav__actions { gap: 8px; }
  .lang { gap: 5px; }
  .lang__btn { padding: 6px 9px; font-size: .72rem; }
}
