/* =========================================================
   LPC Solutions — styles.css
   Navy + cyan, epured, parallax vitrine
   ========================================================= */

:root {
  --navy-900: #061a36;
  --navy-800: #0a2447;
  --navy-700: #0c2c57;
  --navy-600: #133a6e;
  --navy-500: #1b4f8a;
  --cyan-500: #159be0;
  --cyan-400: #2bb4f0;
  --cyan-300: #43c2f4;
  --cyan-200: #7ad4f7;

  --ink: #eaf2fb;
  --ink-soft: #aebfd4;
  --ink-mute: #7e91ad;

  --surface: #0a1f3d;
  --surface-2: #0d294e;
  --line: rgba(122, 168, 220, 0.14);
  --line-strong: rgba(122, 168, 220, 0.28);

  --grad: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  --grad-navy: linear-gradient(160deg, var(--navy-600), var(--navy-800));

  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 20px 60px -20px rgba(21, 155, 224, 0.5);

  --maxw: 1180px;
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 100;
  box-shadow: 0 0 14px var(--cyan-400);
}

/* ---------- Animated background ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.aurora {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.aurora.a1 { width: 50vw; height: 50vw; background: #0f4d8a; top: -10vw; left: -8vw; }
.aurora.a2 { width: 42vw; height: 42vw; background: #0c6fb0; bottom: -12vw; right: -6vw; opacity: 0.4; }
.aurora.a3 { width: 36vw; height: 36vw; background: #103a72; top: 40%; left: 55%; opacity: 0.35; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122, 168, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 168, 220, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-family: var(--font-body);
  border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn-primary {
  background: var(--grad); color: #04203c; padding: 0.7rem 1.3rem;
  box-shadow: 0 10px 30px -10px rgba(43, 180, 240, 0.6);
}
.btn-primary:hover { box-shadow: var(--shadow-cyan); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: rgba(122, 168, 220, 0.06); color: var(--ink);
  border-color: var(--line-strong); padding: 0.7rem 1.3rem; backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(122, 168, 220, 0.13); transform: translateY(-2px); border-color: var(--cyan-400); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 0.9rem 0; transition: padding 0.3s var(--ease), background 0.3s;
}
.nav.scrolled { padding: 0.5rem 0; }
.nav.scrolled .nav-inner {
  background: rgba(8, 28, 56, 0.78); backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--line-strong); box-shadow: 0 16px 40px -20px rgba(0,0,0,0.6);
}
.nav-inner {
  width: min(var(--maxw), 94vw); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  border: 1px solid transparent; border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-mark { transition: transform 0.5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.12rem; letter-spacing: 0.2px; }
.brand-text strong { color: var(--cyan-300); font-weight: 800; }
.brand-text em { font-style: normal; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { font-size: 0.94rem; color: var(--ink-soft); font-weight: 500; position: relative; padding: 0.3rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-phone { display: flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: color 0.2s; }
.nav-phone svg { color: var(--cyan-300); flex-shrink: 0; }
.nav-phone:hover { color: var(--ink); }
.nav-cta { font-size: 0.92rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.hero-parallax { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.float-shape { position: absolute; will-change: transform; }
.shape-tri {
  width: 0; height: 0; top: 18%; right: 8%;
  border-left: 60px solid transparent; border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(43, 180, 240, 0.07);
  filter: drop-shadow(0 0 30px rgba(43,180,240,.2)); transform: rotate(15deg);
}
.shape-ring { width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(122,168,220,.12); top: 55%; left: -60px; }
.shape-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan-400); top: 30%; left: 42%; box-shadow: 0 0 24px var(--cyan-400); }

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04;
  letter-spacing: -1px; margin-bottom: 1.3rem;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 36ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: 0.82rem; color: var(--ink-mute); max-width: 14ch; margin-top: 4px; }

/* Hero device mockups */
.hero-visual { display: flex; justify-content: center; width: 100%; }
.device-stack { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; }
.device { position: absolute; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.device-browser {
  top: 6%; left: 0; width: 86%; border-radius: 14px; padding: 0; overflow: hidden;
}
.device-bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(0,0,0,.25); border-bottom: 1px solid var(--line); }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-mute); opacity: 0.6; }
.device-bar span:first-child { background: var(--cyan-400); opacity: 1; }
.device-browser .device-screen { padding: 16px; display: grid; gap: 10px; }
.device-phone {
  bottom: 0; right: 0; width: 38%; border-radius: 26px; padding: 12px;
  background: var(--navy-700);
}
.device-phone .device-screen { background: var(--surface); border-radius: 16px; padding: 14px; display: grid; gap: 9px; }
.device-notch { width: 38%; height: 6px; border-radius: 6px; background: rgba(0,0,0,.4); margin: 0 auto 10px; }
.mock-line { height: 9px; border-radius: 6px; background: rgba(122,168,220,.18); }
.mock-line.w80 { width: 80%; } .mock-line.w70 { width: 70%; } .mock-line.w60 { width: 60%; }
.mock-line.w50 { width: 50%; } .mock-line.w40 { width: 40%; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-card { height: 38px; border-radius: 9px; background: linear-gradient(135deg, rgba(43,180,240,.18), rgba(122,168,220,.06)); border: 1px solid var(--line); }
.mock-bar { height: 30px; border-radius: 9px; background: var(--grad); opacity: 0.85; }
.mock-chip { width: 44px; height: 18px; border-radius: 100px; background: var(--grad); }
.mock-circle { width: 56px; height: 56px; border-radius: 50%; margin: 4px auto; background: conic-gradient(var(--cyan-400) 65%, rgba(122,168,220,.15) 0); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan-300); animation: cue 1.6s infinite; }
@keyframes cue { 0%{transform:translateY(0);opacity:1;} 70%{transform:translateY(12px);opacity:0;} 100%{opacity:0;} }

/* ---------- Marquee ---------- */
.marquee { padding: 1.1rem 0; border-block: 1px solid var(--line); background: rgba(8,28,56,.5); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 1.6rem; animation: scrollX 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft); font-weight: 500; }
.marquee-track .sep { color: var(--cyan-400); font-size: 0.7rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-dark { background: linear-gradient(180deg, transparent, rgba(6,20,40,.6) 12%, rgba(6,20,40,.6) 88%, transparent); }
.section-head { max-width: 720px; margin: 0 auto 3.4rem; text-align: center; }
.kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 0.9rem; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.5px; }
.section-sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Services cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card {
  position: relative; background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.1rem 1.9rem;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
  overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(43,180,240,.14), transparent 60%);
  transition: opacity 0.4s;
}
.svc-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { opacity: 1; }
.svc-card.featured { border-color: rgba(43,180,240,.35); box-shadow: 0 20px 60px -30px rgba(43,180,240,.4); }
.svc-badge { position: absolute; top: 1.3rem; right: 1.3rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; background: var(--grad); color: #04203c; padding: 0.3rem 0.7rem; border-radius: 100px; }
.svc-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: rgba(43,180,240,.1); border: 1px solid var(--line-strong); color: var(--cyan-300); margin-bottom: 1.3rem; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.7rem; }
.svc-card > p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.3rem; }
.svc-list { list-style: none; display: grid; gap: 0.6rem; }
.svc-list li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); }

/* ---------- Use cases ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.usecase {
  position: relative; background: rgba(13,41,78,.5); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.7rem; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.usecase:hover { border-color: var(--line-strong); background: rgba(13,41,78,.85); transform: translateY(-4px); }
.usecase-num { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: rgba(122,168,220,.1); }
.usecase-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-navy); border: 1px solid var(--line-strong); color: var(--cyan-300); margin-bottom: 1.1rem; }
.usecase-icon svg { width: 24px; height: 24px; }
.usecase h3 { font-family: var(--font-display); font-size: 1.22rem; margin-bottom: 0.6rem; }
.usecase p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 1.1rem; }
.usecase-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--cyan-200); border: 1px solid var(--line-strong); padding: 0.25rem 0.7rem; border-radius: 100px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-top: 2rem; }
.tl-line { position: absolute; top: 2.9rem; left: 6%; right: 6%; height: 2px; background: var(--line); }
.tl-line span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--cyan-400); transition: width 1s var(--ease); }
.tl-step { text-align: center; position: relative; }
.tl-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; font-family: var(--font-display); font-weight: 700; background: var(--navy-700); border: 2px solid var(--line-strong); color: var(--cyan-300); position: relative; z-index: 2; transition: 0.3s; }
.tl-step:hover .tl-dot { border-color: var(--cyan-400); box-shadow: 0 0 0 6px rgba(43,180,240,.12); }
.tl-step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; }
.tl-step p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Work showcase ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.work-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.work-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: linear-gradient(140deg, #0f3d72, #0a2447); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-meta { padding: 1.4rem 1.5rem 1.6rem; }
.work-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan-300); }
.work-meta h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0.4rem 0 0.5rem; }
.work-meta p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Tech band ---------- */
.tech-band { padding: 5rem 0; }
.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; max-width: 820px; margin: 0 auto; }
.tech-chip { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink-soft); padding: 0.6rem 1.2rem; border-radius: 100px; border: 1px solid var(--line); background: rgba(13,41,78,.4); transition: 0.25s var(--ease); cursor: default; }
.tech-chip:hover { color: var(--ink); border-color: var(--cyan-400); transform: translateY(-3px); box-shadow: 0 8px 24px -10px rgba(43,180,240,.4); }

/* ---------- Contact ---------- */
.contact-card {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--navy-800));
  box-shadow: var(--shadow-lg);
}
.contact-glow { position: absolute; top: -40%; left: -10%; width: 50%; height: 120%; background: radial-gradient(circle, rgba(43,180,240,.22), transparent 65%); filter: blur(40px); pointer-events: none; }
.contact-copy { padding: 3rem; position: relative; z-index: 1; }
.contact-copy h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.contact-copy > p { color: var(--ink-soft); margin-bottom: 1.8rem; }
.contact-phone-cta {
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(43, 180, 240, 0.1); border: 1px solid var(--cyan-400);
  border-radius: var(--r-md); padding: 1rem 1.3rem; margin-bottom: 1.8rem;
  box-shadow: 0 12px 30px -14px rgba(43,180,240,.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.contact-phone-cta:hover { background: rgba(43, 180, 240, 0.18); transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.contact-phone-cta svg { color: var(--cyan-300); flex-shrink: 0; }
.contact-phone-cta strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.contact-phone-cta em { font-style: normal; font-size: 0.82rem; color: var(--ink-mute); }
.contact-points { list-style: none; display: grid; gap: 0.9rem; }
.contact-points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink-soft); }
.contact-points svg { color: var(--cyan-300); flex-shrink: 0; }
.contact-form { padding: 3rem; background: rgba(6,20,40,.45); display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.97rem; color: var(--ink);
  background: rgba(13,41,78,.55); border: 1px solid var(--line); border-radius: 11px;
  padding: 0.8rem 1rem; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(43,180,240,.15); }
.field select { appearance: none; cursor: pointer; }
.form-status { font-size: 0.9rem; text-align: center; min-height: 1.2rem; }
.form-status.ok { color: var(--cyan-300); }
.form-status.err { color: #ff8585; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 2rem; background: rgba(6,20,40,.5); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.footer-brand span { font-size: 0.85rem; color: var(--ink-mute); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan-300); }
.footer-contact { display: flex; align-items: center; gap: 0.9rem; }
.footer-contact a { color: var(--cyan-300); font-weight: 600; }
.footer-contact .footer-phone { font-size: 1.05rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.5rem; font-size: 0.82rem; color: var(--ink-mute); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards-3 .reveal:nth-child(2), .usecase-grid .reveal:nth-child(2), .work-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards-3 .reveal:nth-child(3), .usecase-grid .reveal:nth-child(3), .work-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.usecase-grid .reveal:nth-child(4), .work-grid .reveal:nth-child(4) { transition-delay: 0.06s; }
.usecase-grid .reveal:nth-child(5), .work-grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.usecase-grid .reveal:nth-child(6), .work-grid .reveal:nth-child(6) { transition-delay: 0.18s; }
.timeline .reveal:nth-child(2){transition-delay:.1s;} .timeline .reveal:nth-child(3){transition-delay:.2s;} .timeline .reveal:nth-child(4){transition-delay:.3s;} .timeline .reveal:nth-child(5){transition-delay:.4s;}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .lead { max-width: none; }
  .cards-3, .usecase-grid, .work-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .tl-line { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 4vw; right: 4vw;
    margin-top: 0.6rem; background: rgba(8,28,56,.96); backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.2rem; gap: 0.3rem;
  }
  .nav.menu-open .nav-links a { padding: 0.7rem 0.5rem; }
}
@media (max-width: 620px) {
  .section { padding: 4.5rem 0; }
  .cards-3, .usecase-grid, .work-grid, .timeline { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .contact-copy, .contact-form { padding: 1.8rem; }
  .footer-bottom { flex-direction: column; }
  .nav-phone-text { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
