/* =========================================================
   TechnoSilicon Technologies
   Based on the dark layout of the ICO Crypto template,
   rebuilt in plain CSS with the TechnoSilicon brand palette.
   ========================================================= */

/* ---------- Fonts (bundled Poppins, same family as the template and close to the logo wordmark) ---------- */
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Brand, sampled from the logo */
  --cyan: #00D4FF;
  --coral: #F83A4A;
  --ink: #18222B;

  /* Dark surfaces derived from the logo ink */
  --bg: #0B1117;
  --bg-alt: #0F171F;
  --surface: #141E28;
  --surface-2: #1B2733;
  --line: rgba(160, 190, 210, 0.14);

  --text: #EAF1F6;
  --text-muted: #93A5B4;
  --text-faint: #6B7E8E;

  --cyan-soft: rgba(0, 212, 255, 0.12);
  --coral-soft: rgba(248, 58, 74, 0.14);

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;

  /* Type scale (1.25 ratio) */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-hero: clamp(2.1rem, 1.4rem + 2.4vw, 3.25rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-pill: 999px;

  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--cyan); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--bg);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--text); }

/* ---------- Buttons (pill buttons, as in the template) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 500;
  font-size: var(--fs-base);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-sm { min-height: 42px; padding: 9px 22px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--cyan);
  color: #04161D;
  box-shadow: 0 8px 28px -10px rgba(0, 212, 255, .65);
}
.btn-primary:hover { background: #5FE4FF; }

.btn-ghost {
  border-color: rgba(0, 212, 255, .45);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); background: var(--cyan-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 17, 23, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand img { width: auto; height: 48px; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav ul a:hover,
.site-nav ul a.is-active { color: var(--text); }
.site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); content: "";
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(0, 120, 255, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(248, 58, 74, .07), transparent 70%),
    var(--bg);
}
.hero::after { /* soft wave edge, echoing the template's masked hero bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .7;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--text-muted);
}

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
@media (min-width: 901px) {
  .hero-art { width: 116%; max-width: none; margin-right: -16%; }
}
.hero-art {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 110, 255, .25));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Live invoice card */
.invoice-card {
  position: absolute;
  left: -6%; bottom: -4%;
  width: min(300px, 78%);
  padding: 16px 18px 14px;
  border-radius: var(--radius);
  background: rgba(20, 30, 40, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, .28);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8);
  font-size: var(--fs-sm);
}
.invoice-head { display: flex; align-items: center; gap: 10px; }
.invoice-head img { width: 28px; flex: none; }
.invoice-title { font-weight: 600; line-height: 1.3; }
.invoice-meta { color: var(--text-faint); font-size: .75rem; line-height: 1.3; }
.invoice-total { margin-left: auto; font-weight: 600; white-space: nowrap; }

.invoice-steps {
  margin: 14px 0 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  counter-reset: step;
}
.invoice-steps li {
  position: relative;
  padding-top: 12px;
  font-size: .72rem;
  line-height: 1.3;
  color: var(--text-faint);
  transition: color .3s;
}
.invoice-steps li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px;
  background: var(--surface-2);
  transition: background-color .35s var(--ease);
}
.invoice-steps li.is-done { color: var(--text-muted); }
.invoice-steps li.is-done::before { background: var(--cyan); }
.invoice-steps li.is-current { color: var(--text); }
.invoice-steps li.is-current::before { background: linear-gradient(90deg, var(--cyan), var(--coral)); }

.invoice-cu {
  display: flex; justify-content: space-between; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--line);
  font-size: .75rem; color: var(--text-faint);
}
.invoice-cu code { font-family: var(--mono); color: var(--text-muted); transition: color .3s, opacity .3s; }
.invoice-card.is-signed .invoice-cu code { color: var(--cyan); }
.invoice-card:not(.is-signed) .invoice-cu code { opacity: .35; }

/* "Works with" strip */
.connects {
  position: relative; z-index: 1;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px 28px; flex-wrap: wrap;
}
.connects-label { color: var(--text-faint); font-size: var(--fs-sm); }
.connects-list { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.connects-list li { font-weight: 500; color: var(--text-muted); }

/* Hero load sequence (the one orchestrated motion moment) */
.js .hero-title,
.js .hero-lead,
.js .hero-actions,
.js .hero-visual {
  opacity: 0;
  transform: translateY(18px);
}
.js .is-loaded .hero-title,
.js .is-loaded .hero-lead,
.js .is-loaded .hero-actions,
.js .is-loaded .hero-visual {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .is-loaded .hero-lead { transition-delay: .15s; }
.js .is-loaded .hero-actions { transition-delay: .28s; }
.js .is-loaded .hero-visual { transition-delay: .2s; transition-duration: 1.1s; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-intro { max-width: 640px; margin-bottom: clamp(48px, 6vw, 72px); }

.section-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.section-lead {
  margin-top: 16px;
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 36em;
}

/* ---------- Products ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(40px, 5vw, 64px) 0;
}
.product + .product { border-top: 1px solid var(--line); }
.product-flip .product-copy { order: 2; }

.product-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.dot-coral { background: var(--coral); box-shadow: 0 0 12px var(--coral); }

.product-name {
  margin-top: 10px;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-desc { margin-top: 16px; color: var(--text-muted); max-width: 32em; }

.ticks { margin: 24px 0 32px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.product-flip .ticks li::before { border-color: var(--coral); }

.product-visual { position: relative; }
.product-visual::before { /* glow behind each mock, like the template's lit isometric art */
  content: ""; position: absolute; inset: 10% 8%;
  background: radial-gradient(closest-side, rgba(0, 140, 255, .22), transparent);
  filter: blur(20px);
  z-index: 0;
}
.product-flip .product-visual::before { background: radial-gradient(closest-side, rgba(248, 58, 74, .16), transparent); }

.mock {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

/* Receipt mock */
.receipt {
  max-width: 380px; margin-inline: auto;
  padding: 26px 26px 22px;
  background: #F4F7F9; color: var(--ink);
  border: 0;
  border-radius: 6px 6px 0 0;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100%;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100%;
  transform: rotate(-1.5deg);
}
.receipt-top { text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed #C4CFD8; }
.receipt-shop { font-weight: 600; }
.receipt-sub { font-size: .78rem; color: #5A6B78; }
.receipt-lines { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .84rem; }
.receipt-lines td { padding: 4px 0; }
.receipt-lines td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-lines tfoot td { border-top: 1.5px dashed #C4CFD8; padding-top: 10px; font-weight: 600; }
.receipt-lines tfoot .receipt-pay td { border: 0; padding-top: 2px; font-weight: 400; color: #5A6B78; font-size: .78rem; }
.receipt-etims {
  display: flex; gap: 14px; align-items: center;
  padding: 12px; margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: #E3F8FD;
}
.qr { width: 64px; height: 64px; flex: none; shape-rendering: crispEdges; }
.qr rect { fill: var(--ink); }
.receipt-etims-title { font-weight: 600; font-size: .85rem; color: #036C83; }
.receipt-etims-meta { font-size: .72rem; color: #5A6B78; font-family: var(--mono); }

/* Dairy ledger mock */
.ledger { padding: 22px; max-width: 440px; margin-inline: auto; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ledger-title { font-weight: 500; font-size: var(--fs-sm); color: var(--text-muted); }
.ledger-total { font-size: var(--fs-sm); color: var(--text-muted); }
.ledger-total strong { font-size: var(--fs-lg); color: var(--text); font-weight: 600; }
.ledger-bars {
  height: 92px; margin: 18px 0 20px;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end;
}
.ledger-bars span {
  height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(0, 212, 255, .12), rgba(0, 212, 255, .45));
}
.ledger-bars .is-today { background: linear-gradient(to top, rgba(248, 58, 74, .3), var(--coral)); }
.ledger-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ledger-table th {
  text-align: left; font-weight: 500; color: var(--text-faint);
  padding: 0 0 8px; font-size: .78rem;
}
.ledger-table td { padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ledger-table th:not(:first-child), .ledger-table td:not(:first-child) { text-align: right; }
.pill { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 500; }
.pill-ok { background: var(--cyan-soft); color: var(--cyan); }
.pill-wait { background: var(--coral-soft); color: #FF8A94; }

/* Code mock */
.code { max-width: 500px; margin-inline: auto; overflow: hidden; background: #0D151C; }
.code-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); }
.code-tabs button {
  border: 0; background: transparent; cursor: pointer;
  padding: 8px 14px 10px; font-size: var(--fs-sm); color: var(--text-faint);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.code-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--cyan); }
.code-panel {
  margin: 0; padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: var(--mono); font-size: .82rem; line-height: 1.7;
  color: #C7D3DD;
}
.c-k { color: var(--coral); font-weight: 600; }
.c-s { color: #7FDFFF; }
.c-v { color: #A8E6A0; }
.c-n { color: #FFC07A; }
.c-c { color: var(--text-faint); }

.product-name a { display: inline-flex; align-items: center; gap: 12px; transition: color .2s; }
.product-name a:hover { color: var(--cyan); }
.product-flip .product-name a:hover { color: var(--coral); }
.product-name .ext { width: .42em; height: .42em; stroke-width: 1.4; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* External-link arrow icon */
.ext {
  display: inline-block; width: 10px; height: 10px; margin-left: 5px; vertical-align: 1px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- About ---------- */
.about-lead { margin-top: 20px; font-size: var(--fs-lg); font-weight: 400; line-height: 1.5; max-width: 30em; }
.about-facts { margin-bottom: 0; }
.section-about .split-visual img { max-width: 520px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.services-art { margin-top: 40px; width: 100%; max-width: 380px; opacity: .95; }

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-icon {
  width: 44px; height: 44px; padding: 9px;
  border-radius: 12px;
  background: var(--cyan-soft);
  fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service:nth-child(even) .service-icon { background: var(--coral-soft); stroke: var(--coral); }
.service-name { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.service p { color: var(--text-muted); }
.service .service-for { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-faint); }

/* ---------- WhatsApp split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split-visual img { width: 100%; max-width: 560px; margin-inline: auto; }

.facts { margin: 32px 0 36px; display: grid; gap: 20px; }
.facts div { padding-left: 18px; border-left: 2px solid var(--cyan); }
.facts div:nth-child(2) { border-left-color: var(--coral); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--text-muted); }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}
.steps::before { /* the connecting line runs cyan to coral, like the logo's loop */
  content: ""; position: absolute; top: 22px; left: 23px; right: calc(25% - 47px);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  opacity: .5;
}
.step { position: relative; }
.step-no {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--cyan);
  font-weight: 600; color: var(--cyan);
}
.step:nth-child(3) .step-no, .step:nth-child(4) .step-no { border-color: var(--coral); color: var(--coral); }
.step-title { margin: 22px 0 8px; font-size: var(--fs-md); font-weight: 600; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 500; font-size: var(--fs-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq[open] summary::after { transform: translateY(3px) rotate(-135deg); border-color: var(--coral); }
.faq summary:hover { color: var(--cyan); }
.faq-body { padding: 0 40px 24px 0; color: var(--text-muted); }

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(0, 212, 255, .08), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-details { margin-top: 36px; display: grid; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-details svg {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact-details a:hover { color: var(--cyan); }

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field-error { margin-top: 6px; font-size: .8rem; color: #FF8A94; min-height: 0; }
.field-error:empty { display: none; }
.form-status { font-size: var(--fs-sm); color: var(--text-muted); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--cyan); }
.form-status.is-error { color: #FF8A94; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 40px; width: auto; }
.footer-contact { margin-top: 14px; font-style: normal; font-size: var(--fs-sm); line-height: 1.9; color: var(--text-muted); }
.footer-contact a:hover { color: var(--cyan); }
.footer-brand p { margin-top: 16px; color: var(--text-faint); font-size: var(--fs-sm); max-width: 26em; }
.footer-title { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 14px; }
.site-footer nav ul { display: grid; gap: 8px; }
.site-footer nav a { font-size: var(--fs-sm); color: var(--text-muted); }
.site-footer nav a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  position: relative;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-faint);
}

.footer-bottom::before {
  content: ""; position: absolute; top: 0;
  left: clamp(20px, 4vw, 32px); right: clamp(20px, 4vw, 32px);
  border-top: 1px solid var(--line);
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cyan);
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, .7);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float svg { width: 28px; height: 28px; fill: #04161D; }
.wa-float:hover { transform: scale(1.06); background: #5FE4FF; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px clamp(20px, 4vw, 32px) 28px;
    background: rgba(11, 17, 23, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .site-header.is-open .site-nav {
    transform: none; opacity: 1; visibility: visible;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: var(--fs-base); border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
}

@media (max-width: 900px) {

  .hero-grid,
  .product,
  .services-grid,
  .split,
  .faq-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .invoice-card { left: 0; bottom: -8%; }

  .product-flip .product-copy { order: 0; }
  .services-aside { position: static; }
  .services-art { display: none; }
  .split-visual { order: 2; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .invoice-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -24px; }
  .receipt { transform: none; }
  .faq-body { padding-right: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-title, .js .hero-lead, .js .hero-actions, .js .hero-visual { opacity: 1; transform: none; }
}
