/* =========================================================
   TechLixa — design tokens
   Brand colours come from the original TechLixa wordmark:
   orange #EF7725 ("TECH") and navy #0A3B7C ("LiXA").
   ========================================================= */
:root {
  --navy: #0A3B7C;
  --navy-700: #082F63;
  --navy-800: #06244D;
  --navy-900: #041833;
  --navy-100: #E6EDF7;

  --orange: #EF7725;
  --orange-600: #D9621A;
  --orange-100: #FDEBDD;

  --paper: #F5F3EE;
  --white: #FFFFFF;
  --ink: #0D1626;
  --ink-2: #344054;
  --muted: #5E6878;
  --line: #E2DED5;
  --line-strong: #CFC9BD;

  --font: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1200px;
  --header-h: 72px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }

.lucide { width: 1.05em; height: 1.05em; stroke-width: 2; flex-shrink: 0; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Small mono labels */
.label, .mono-sm {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--orange-600); }
.label::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 2px; }
.label-light { color: var(--orange); }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 24px; border-radius: 10px;
  font: 700 16px/1 var(--font); letter-spacing: -0.01em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .lucide { transition: transform .2s ease; }
.btn:hover .lucide { transform: translateX(3px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 11px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--orange-600); }
.text-link .lucide { transition: transform .2s ease; }
.text-link:hover .lucide { transform: translateX(3px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-color: var(--line); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 28px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-strong); position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: calc(var(--header-h) + 80px) 0 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero::before {
  /* thin vertical rules, like a layout grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(10,59,124,.05) 1px, transparent 1px);
  background-size: calc(min(var(--container), 100% - 48px) / 6) 100%;
  background-position: center top;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center;
  padding-bottom: 80px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 80px); font-weight: 700; line-height: 1.0; letter-spacing: -0.045em;
  color: var(--navy-900); margin-bottom: 28px; max-width: 13ch;
}
.hero h1 em {
  font-style: normal; color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(239,119,37,.35) 62%, rgba(239,119,37,.35) 92%, transparent 92%);
}
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 540px; margin-bottom: 36px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #1F9D55; box-shadow: 0 0 0 4px rgba(31,157,85,.15); }

/* Hero panel */
.hero-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px;
  /* offset block in brand navy behind the card */
  box-shadow: 18px 18px 0 var(--navy), 0 24px 48px -28px rgba(4,24,51,.35);
  position: relative;
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-title { font-size: 20px; letter-spacing: -0.02em; margin-top: 6px; color: var(--navy-900); }
.status-chip {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  padding: 7px 10px; border-radius: 6px; background: #E8F6EE; color: #17804A;
}
.status-chip span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.timeline { margin-top: 8px; }
.timeline li {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: start;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.tl-week { font: 500 12.5px/1.6 var(--mono); color: var(--muted); }
.timeline strong { font-weight: 700; font-size: 16px; color: var(--ink); }
.timeline p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.timeline .lucide { width: 18px; height: 18px; color: var(--white); background: var(--navy); border-radius: 50%; padding: 3px; stroke-width: 3; }
.timeline li:not(.done):not(.active) strong { color: var(--muted); }
.timeline li.active { background: var(--orange-100); margin: 0 -14px; padding: 14px; border-radius: 10px; border-bottom-color: transparent; }
.tl-pct { font: 500 13px/1.6 var(--mono); color: var(--orange-600); }
.progress { height: 6px; border-radius: 6px; background: rgba(239,119,37,.2); margin-top: 10px; overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--p); background: var(--orange); border-radius: inherit; transform-origin: left; animation: fill 1.6s .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fill { from { transform: scaleX(0); } }

/* Platforms row */
.platforms {
  position: relative;
  display: flex; align-items: center; gap: 32px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.platforms .mono-sm { flex-shrink: 0; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.platforms li { font-weight: 500; font-size: 15.5px; color: var(--ink-2); }

/* =========================================================
   Numbers
   ========================================================= */
.numbers { padding: 0; border-bottom: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 48px 28px 44px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num-val {
  display: block; font-weight: 700; font-size: clamp(44px, 5vw, 64px); line-height: 1;
  letter-spacing: -0.05em; color: var(--navy); margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.num p { color: var(--muted); font-size: 15.5px; max-width: 22ch; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 120px 0; }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-bottom: 64px; }
.section-intro h2, .about-copy h2, .contact-info h2 {
  font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.04em; color: var(--navy-900); margin-bottom: 20px;
}
.intro-text { font-size: 18.5px; color: var(--ink-2); max-width: 600px; }
.section-intro-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-intro-row h2 { margin-bottom: 0; }

/* Services — editorial rows */
.services { border-top: 1.5px solid var(--navy-900); }
.service {
  display: grid; grid-template-columns: 90px 1.3fr 1fr; gap: 32px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s ease;
}
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--orange);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.service:hover::before { width: 100%; }
.service-no { font: 500 15px/1.6 var(--mono); color: var(--orange-600); padding-top: 6px; }
.service h3 { font-size: clamp(24px, 2.4vw, 30px); color: var(--navy-900); margin-bottom: 12px; }
.service p { color: var(--ink-2); max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.tags li {
  font-size: 14px; font-weight: 500; color: var(--navy);
  padding: 6px 12px; border-radius: 6px; background: var(--navy-100);
}

/* Process — navy */
.section-navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-navy::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border: 70px solid rgba(239,119,37,.9); border-radius: 50%; opacity: .12;
}
.section-navy .section-intro h2 { color: #fff; }
.section-navy .intro-text { color: rgba(255,255,255,.78); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.process li { padding: 32px 28px 0 0; position: relative; }
.process li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.process-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font: 500 15px/1 var(--mono); margin-bottom: 28px;
}
.process h3 { font-size: 24px; margin-bottom: 12px; color: #fff; }
.process p { color: rgba(255,255,255,.75); font-size: 16px; }

/* Engagement plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: border-color .2s ease, transform .3s ease;
}
.plan:hover { border-color: var(--navy); transform: translateY(-3px); }
.plan-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.plan-meta span {
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em;
  padding: 7px 9px; border-radius: 5px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line);
}
.plan h3 { font-size: 28px; color: var(--navy-900); }
.plan > p { color: var(--ink-2); font-size: 16px; }
.checks { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 4px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3B7C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan .text-link { margin-top: auto; align-self: flex-start; }
.plan-featured { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.plan-featured:hover { border-color: var(--orange); }
.plan-featured h3 { color: #fff; }
.plan-featured > p { color: rgba(255,255,255,.78); }
.plan-featured .plan-meta span { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15); }
.plan-featured .checks { border-color: rgba(255,255,255,.15); }
.plan-featured .checks li::before {
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan-featured .text-link { color: var(--orange); }
.plan-featured .text-link:hover { color: #fff; }

/* Industries */
.industries-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.industries-wrap .section-intro { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.industries { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--navy-900); }
.industries li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line-strong); }
.industries li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-strong); padding-right: 0; }
.industries h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 8px; }
.industries p { font-size: 15.5px; color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy p:not(.label) { font-size: 19px; color: var(--ink-2); margin-bottom: 32px; line-height: 1.6; }
.principles { display: grid; gap: 0; border-top: 1.5px solid var(--navy-900); }
.principles li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pr-no {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  font: 500 14px/1 var(--mono); color: var(--orange-600); background: var(--orange-100);
}
.principles h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 6px; }
.principles p { color: var(--ink-2); font-size: 16px; }

/* Notes */
#notes { border-top: 1px solid var(--line); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--navy-900); }
.note {
  display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 32px 0; min-height: 240px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.note + .note { padding-left: 28px; border-left: 1px solid var(--line); }
.note-cat { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--orange-600); }
.note h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.025em; color: var(--navy-900); transition: color .2s ease; }
.note:hover h3 { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.note-meta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.note-meta .lucide { transition: transform .2s ease; }
.note:hover .note-meta .lucide { transform: translate(3px, -3px); color: var(--orange-600); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.faq-wrap .section-intro { margin-bottom: 0; }
.faq { border-top: 1.5px solid var(--navy-900); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 56px 24px 0; font-weight: 700; font-size: 19px; letter-spacing: -0.015em; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 8px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3B7C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--line-strong);
  transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-100); }
.faq summary:hover { color: var(--navy); }
.faq details p { padding: 0 56px 26px 0; color: var(--ink-2); }

/* =========================================================
   Contact
   ========================================================= */
.contact-section { background: var(--navy); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; left: -160px; bottom: -160px; width: 480px; height: 480px;
  border: 80px solid var(--orange); border-radius: 50%; opacity: .1;
}
.contact { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info h2 { color: #fff; }
.contact-info .intro-text { color: rgba(255,255,255,.78); }
.contact-list { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; }
.contact-list .lucide { width: 20px; height: 20px; color: var(--orange); }
.contact-list small { display: block; font: 500 11.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.contact-list a:hover { color: var(--orange); }

.contact-form {
  background: var(--white); color: var(--ink); border-radius: 18px; padding: 40px;
  display: grid; gap: 20px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--line);
  color: var(--ink); font: 400 16px/1.5 var(--font);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field textarea::placeholder { color: #8A93A2; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3B7C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,59,124,.1);
}
.field.invalid input, .field.invalid textarea { border-color: #C2410C; background: #FFF7F2; }
.field-error { font-size: 14px; color: #C2410C; font-weight: 500; }
.field-error:empty { display: none; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.consent.invalid span { color: #C2410C; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status:empty { display: none; }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 10px; }
.form-status.success { background: #E8F6EE; color: #146C3E; border: 1px solid #BFE5CF; }
.form-status.error { background: #FFF1E8; color: #9A3412; border: 1px solid #F9CFB2; }

.spinner {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 15.5px; }
.footer-grid h4 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.5);
}
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top:hover { color: #fff; }

/* Reveal (enabled only when GSAP runs) */
.js-anim .reveal { opacity: 0; transform: translateY(24px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-panel { max-width: 560px; margin-right: 18px; }
  .service { grid-template-columns: 70px 1fr; }
  .service .tags { grid-column: 2; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .industries-wrap, .about, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 48px; }
  .industries-wrap .section-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(4,24,51,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-links a.active { text-decoration: none; }
  .nav-cta { margin-top: 20px; }
  .site-header.menu-open { background: var(--white); border-color: var(--line); }

  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li { padding-bottom: 32px; }
  .notes { grid-template-columns: 1fr; }
  .note, .note + .note { padding: 28px 0; border-left: 0; min-height: 0; }
  .platforms { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section, .contact-section { padding: 88px 0; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-grid { padding-bottom: 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-panel { padding: 20px; margin-right: 12px; }
  .hero-panel { box-shadow: 12px 12px 0 var(--navy); }
  .timeline li { grid-template-columns: 58px 1fr auto; gap: 10px; }
  .timeline li.active { margin: 0 -10px; padding: 14px 10px; }
  .num { padding: 32px 16px 28px; }
  .num:nth-child(odd) { padding-left: 0; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .service .tags { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .plan { padding: 26px; }
  .industries { grid-template-columns: 1fr; }
  .industries li, .industries li:nth-child(even) { padding: 24px 0; border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .faq summary { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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