/* ==========================================================================
   CodeIXE AI Solutions — design system
   Palette derived from the brand mark: navy ink, electric blue, cyan.
   WhatsApp green is functional only (WhatsApp actions), never decorative.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- tokens: dark (default) ---------- */
:root {
  color-scheme: dark;

  --bg:        #060a14;
  --bg-deep:   #03060d;
  --panel:     #0b1222;
  --panel-2:   #111b31;
  --hairline:  #1c2740;
  --hairline-2:#26334f;

  --text-hi:   #eaf1ff;
  --text:      #a7b4cc;
  --text-lo:   #6b7a96;

  --blue:      #1f5ff7;
  --blue-hi:   #4b83ff;
  --cyan:      #29cbff;
  --wa:        #25d366;
  --wa-hi:     #1fb457;

  --accent-soft: rgba(31, 95, 247, 0.14);
  --cyan-soft:   rgba(41, 203, 255, 0.12);
  --glow:        rgba(31, 95, 247, 0.28);

  --ff-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body:    "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --sec-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- tokens: light ---------- */
[data-theme="light"] {
  color-scheme: light;

  --bg:        #f6f8fc;
  --bg-deep:   #eaeff8;
  --panel:     #ffffff;
  --panel-2:   #f0f4fa;
  --hairline:  #dbe3f0;
  --hairline-2:#c6d2e6;

  --text-hi:   #060d1a;
  --text:      #45546e;
  --text-lo:   #6e7d97;

  --blue:      #1348d6;
  --blue-hi:   #0e39ad;
  --cyan:      #0a86b8;
  --wa:        #12894a;
  --wa-hi:     #0d6d3b;

  --accent-soft: rgba(19, 72, 214, 0.08);
  --cyan-soft:   rgba(10, 134, 184, 0.09);
  --glow:        rgba(19, 72, 214, 0.16);
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--text-hi);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

p { text-wrap: pretty; }
strong { color: var(--text-hi); font-weight: 600; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 60ch;
}

/* ---------- a11y ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip {
  position: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r) var(--r);
  z-index: 200; font-weight: 600;
  transition: top .18s ease;
}
.skip:focus { top: 0; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: var(--sec-y); position: relative; }
.section--hair { border-top: 1px solid var(--hairline); }
.section--panel { background: var(--panel); border-block: 1px solid var(--hairline); }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

.head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.head--center { margin-inline: auto; text-align: center; }
/* A 60ch lede inside a centred head still sits flush left without this. */
.head--center .lede { margin-inline: auto; }

/* ---------- eyebrow: pixel-dissolve motif from the brand mark ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--ff-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 4px; height: 4px; flex: none;
  background: var(--cyan);
  box-shadow: 7px -4px 0 0 var(--blue);
  box-shadow:
     7px -4px 0 0 var(--blue),
    14px -8px 0 0 color-mix(in srgb, var(--blue) 45%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600; font-size: .97rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 28px -10px var(--glow); }
.btn--primary:hover { background: var(--blue-hi); box-shadow: 0 14px 34px -10px var(--glow); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 28px -10px rgba(37, 211, 102, .4); }
.btn--wa:hover { background: var(--wa-hi); }

.btn--ghost { background: transparent; color: var(--text-hi); border-color: var(--hairline-2); }
.btn--ghost:hover { border-color: var(--blue); background: var(--accent-soft); }

.btn--sm { padding: .62rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btns { justify-content: center; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--cyan); font-weight: 600; font-size: .92rem;
}
.tlink span { transition: transform .18s ease; }
.tlink:hover span { transform: translateX(4px); }

/* ==========================================================================
   header
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); /* fallback before color-mix */
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.site-head__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .58rem; flex: none; }
/* The logo mark ships in two cuts: the master artwork for light backgrounds,
   and one with the near-black navy lifted so it still reads on the dark shell.
   Painted as a background so only the cut in use is ever downloaded; both
   dimensions are fixed, so nothing shifts while it loads. */
.brand__mark {
  flex: none; width: 59px; height: 28px;
  background: url("/img/mark-dark.png") center / contain no-repeat;
}
[data-theme="light"] .brand__mark { background-image: url("/img/mark.png"); }
.brand__txt {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.28rem;
  color: var(--text-hi); letter-spacing: -0.035em; line-height: 1;
}
.brand__txt b { color: var(--blue); font-weight: 800; }
.brand__sub {
  display: block; font-family: var(--ff-mono); font-weight: 500;
  font-size: .53rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-lo); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .58rem; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--text);
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--text-hi); background: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--text-hi); font-weight: 600; }

.head-act { display: flex; align-items: center; gap: .6rem; flex: none; }

/* theme toggle */
.tt {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--hairline);
  border-radius: 999px; cursor: pointer; color: var(--text);
  transition: color .15s ease, border-color .15s ease;
}
.tt:hover { color: var(--text-hi); border-color: var(--hairline-2); }
.tt svg { width: 17px; height: 17px; }
.tt__moon { display: none; }
[data-theme="light"] .tt__sun { display: none; }
[data-theme="light"] .tt__moon { display: block; }

/* burger */
.burger {
  display: none;
  width: 40px; height: 40px; place-items: center;
  background: var(--panel-2); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); cursor: pointer; color: var(--text-hi);
}
.burger svg { width: 20px; height: 20px; }

/* mobile drawer */
.drawer {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--panel);
  padding: .75rem 1.25rem 1.5rem;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block; padding: .8rem .25rem;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500; color: var(--text);
}
.drawer a[aria-current="page"] { color: var(--cyan); }
.drawer .btn { margin-top: 1.1rem; }

@media (max-width: 1160px) {
  .nav, .head-act .btn { display: none; }
  .burger { display: grid; }
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) var(--sec-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px;
  background:
    radial-gradient(46% 52% at 22% 30%, var(--glow) 0%, transparent 70%),
    radial-gradient(38% 46% at 82% 12%, var(--cyan-soft) 0%, transparent 72%);
  pointer-events: none; z-index: 0;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--blue-hi), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .btns { margin-top: 2rem; }

.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .38rem .85rem .38rem .6rem;
  border: 1px solid var(--hairline-2); border-radius: 999px;
  background: var(--panel);
  font-family: var(--ff-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  margin-bottom: 1.6rem;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
  font-size: .87rem; color: var(--text-lo);
}
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SIGNATURE: the run rail — a live automation run
   ========================================================================== */
.run {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .55);
}
.run__bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--panel-2);
  font-family: var(--ff-mono); font-size: .72rem;
  letter-spacing: .06em; color: var(--text-lo);
}
.run__bar .dot { animation-duration: 3s; }
.run__bar b { color: var(--text); font-weight: 500; }
.run__clock { margin-left: auto; font-variant-numeric: tabular-nums; }

.run__body { padding: 1.25rem 1.1rem 1.4rem; }

/* incoming message */
.msg {
  display: grid; grid-template-columns: 30px 1fr; gap: .7rem;
  align-items: start; margin-bottom: 1.15rem;
}
.msg__av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--hairline);
  font-family: var(--ff-mono); font-size: .68rem; color: var(--text-lo);
}
.msg__bub {
  background: var(--panel-2);
  border: 1px solid var(--hairline);
  border-radius: 4px 14px 14px 14px;
  padding: .7rem .9rem;
  font-size: .91rem; color: var(--text-hi); line-height: 1.5;
}
.msg__meta {
  font-family: var(--ff-mono); font-size: .68rem; color: var(--text-lo);
  margin-top: .4rem; letter-spacing: .04em;
}

/* the rail of steps */
.rail { list-style: none; padding: 0; margin: 0; position: relative; }
.rail::before {
  content: ""; position: absolute; left: 14px; top: 6px; bottom: 22px;
  width: 1px; background: var(--hairline);
}
.rail li {
  position: relative;
  display: grid; grid-template-columns: 30px 1fr auto;
  gap: .7rem; align-items: center;
  padding: .42rem 0;
  opacity: .32;
  transition: opacity .35s ease;
}
.rail li.is-on { opacity: 1; }

/* node uses the logo's square-pixel language, not a generic circle */
.rail__node {
  width: 9px; height: 9px; margin-left: 10px;
  background: var(--hairline-2);
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.rail li.is-on .rail__node {
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-soft);
}
.rail li.is-done .rail__node { background: var(--blue); box-shadow: none; }

.rail__label { font-size: .88rem; color: var(--text); }
.rail li.is-on .rail__label { color: var(--text-hi); }
.rail__t {
  font-family: var(--ff-mono); font-size: .7rem; color: var(--text-lo);
  font-variant-numeric: tabular-nums;
}

/* outgoing reply */
.reply {
  margin-top: 1.15rem; padding-top: 1.15rem;
  border-top: 1px dashed var(--hairline);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
}
.reply.is-on { opacity: 1; transform: none; }
.reply__bub {
  background: var(--blue); /* fallback before color-mix gradient */
  background: linear-gradient(140deg, var(--blue), color-mix(in srgb, var(--blue) 62%, var(--cyan)));
  color: #fff;
  border-radius: 14px 4px 14px 14px;
  padding: .75rem .95rem;
  font-size: .91rem; line-height: 1.5;
}
.reply__meta {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--ff-mono); font-size: .68rem; color: var(--wa);
  margin-top: .45rem; letter-spacing: .04em;
}
.reply__meta svg { width: 13px; height: 13px; }

/* ==========================================================================
   cards / grids
   ========================================================================== */
.grid { display: grid; gap: 1.15rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 1.65rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
/* hairline top-edge highlight instead of a drop shadow: console, not Material */
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-2) 22%, var(--hairline-2) 78%, transparent);
  border-radius: var(--r) var(--r) 0 0;
}
a.card:hover { border-color: var(--hairline-2); border-color: color-mix(in srgb, var(--blue) 55%, var(--hairline)); transform: translateY(-3px); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .94rem; margin-bottom: 0; }
.card p + .tlink { margin-top: 1.1rem; }

.card__ico {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--accent-soft);
  border: 1px solid var(--hairline-2); /* fallback before color-mix */
  border-color: color-mix(in srgb, var(--blue) 28%, transparent);
  color: var(--cyan);
}
.card__ico svg { width: 20px; height: 20px; }
.card__tag {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--ff-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-soft);
  border-radius: 999px; padding: .2rem .55rem;
}

/* feature list with check marks */
.checks { display: grid; gap: .7rem; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; align-items: start; font-size: .94rem; }
.checks svg { width: 18px; height: 18px; color: var(--cyan); margin-top: .28rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--panel); padding: 1.5rem 1.35rem; }
.stat__n {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.35rem); color: var(--text-hi);
  letter-spacing: -0.035em; line-height: 1; margin-bottom: .45rem;
}
.stat__n i { font-style: normal; color: var(--cyan); }
.stat__l { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .07em; color: var(--text-lo); text-transform: uppercase; }

/* ---------- process: numbered because it IS a sequence ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--hairline); border-block: 1px solid var(--hairline); }
.step { background: var(--bg); padding: 1.75rem 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; align-items: start; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--ff-mono); font-size: .82rem; font-weight: 500;
  color: var(--cyan); letter-spacing: .1em; padding-top: .3rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .94rem; max-width: 62ch; }
.section--panel .step { background: var(--panel); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.03rem;
  color: var(--text-hi); letter-spacing: -0.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details > div { padding-bottom: 1.35rem; }
.faq details p { font-size: .95rem; max-width: 78ch; }
.faq details p + p { margin-top: .7rem; }

/* ---------- breadcrumb ---------- */
.crumb {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: .72rem;
  letter-spacing: .07em; color: var(--text-lo);
  padding-top: 1.6rem;
}
.crumb a:hover { color: var(--cyan); }
.crumb span { color: var(--hairline-2); }
.crumb b { color: var(--text); font-weight: 500; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 5vw, 4.5rem); overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: -40% -20% auto 30%; height: 480px;
  background: radial-gradient(40% 50% at 60% 30%, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}
.phero__in { position: relative; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 1.15rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--bg-deep); border-top: 1px solid var(--hairline); }
.cta::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 460px;
  background: radial-gradient(42% 60% at 50% 100%, var(--glow) 0%, transparent 72%);
  pointer-events: none;
}
.cta__in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.cta h2 { margin-bottom: 1rem; }
.cta__card { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 1.75rem; }
.cta__card h3 { margin-bottom: .35rem; }
.cta__card p { font-size: .9rem; margin-bottom: 1.35rem; }
.cta__card .btn + .btn { margin-top: .65rem; }
.cta__note { font-family: var(--ff-mono); font-size: .72rem; color: var(--text-lo); margin-top: 1.1rem; text-align: center; letter-spacing: .04em; }
@media (max-width: 880px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--panel); border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot__grid .brand { margin-bottom: 1.1rem; }
.foot__about { font-size: .92rem; max-width: 42ch; }
.foot h4 { font-family: var(--ff-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 1.1rem; }
.foot ul { display: grid; gap: .6rem; }
.foot a { font-size: .92rem; color: var(--text); }
.foot a:hover { color: var(--cyan); }
.foot__bot {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text-lo);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .5);
  transition: transform .18s ease;
}
.fab:hover { transform: scale(1.07); }
.fab svg { width: 27px; height: 27px; }

/* ---------- forms: the WhatsApp message builder ---------- */
.field { display: block; margin-bottom: 1.05rem; }
.field > span {
  display: block; margin-bottom: .45rem;
  font-family: var(--ff-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-lo);
}
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  background: var(--bg); color: var(--text-hi);
  border: 1px solid var(--hairline-2); border-radius: var(--r-sm);
  font-family: var(--ff-body); font-size: .95rem;
  transition: border-color .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-lo); }
.field select { appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 49%, var(--cyan) 50%), linear-gradient(-45deg, transparent 49%, var(--cyan) 50%);
  background-size: 7px 7px; background-position: right 1.1rem center, right 0.65rem center; background-repeat: no-repeat; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field--half > label { margin-bottom: 0; }
@media (max-width: 560px) { .field--half { grid-template-columns: 1fr; } }
.form-note { font-size: .84rem; color: var(--text-lo); margin-top: .9rem; }

/* ---------- contact rows ---------- */
.crow { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--hairline); }
.crow:last-child { border-bottom: 0; }
.crow__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--cyan); }
.crow__ico svg { width: 19px; height: 19px; }
.crow h3 { margin-bottom: .15rem; font-size: 1rem; }
.crow p { font-size: .92rem; margin: 0; }
.crow a { color: var(--cyan); font-weight: 500; }

/* ---------- prose (about) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.6rem; margin-bottom: .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p + p { margin-top: 1rem; }
.prose p { font-size: 1rem; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.nf__code { font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .2em; color: var(--cyan); margin-bottom: 1.2rem; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 940px) {
  .grid--4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 1fr; gap: .5rem; }
  .step::before { padding-top: 0; }
  .card { padding: 1.35rem; }
  .btn { width: 100%; }
  .btns { flex-direction: column; }
  .btn--sm { width: auto; }
  .fab { width: 48px; height: 48px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .rail li { opacity: 1; }
  .reply { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-head, .fab, .cta, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
