/* ==========================================================================
   Infrasensa Technologies: site styles
   Brand colours sampled from the Infrasensa logo.
   ========================================================================== */

:root {
  --navy: #0d2968;
  --navy-900: #071a47;
  --navy-950: #041235;
  --blue: #0a84ee;
  --blue-600: #0670d0;
  --blue-50: #eaf4fe;
  --blue-100: #d4e8fd;
  --ink: #111c35;
  --body: #3d4a63;
  --muted: #66738c;
  --line: #dde5f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --white: #ffffff;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(13, 41, 104, 0.06), 0 2px 8px rgba(13, 41, 104, 0.05);
  --shadow: 0 10px 30px -12px rgba(13, 41, 104, 0.22);
  --container: 1200px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-900); color: #c6d3ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--blue); }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7cc0ff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--navy .section-head p { color: #b5c4e2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 132, 238, 0.7); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--whatsapp { background: #1fa855; color: #fff; }
.btn--whatsapp:hover { background: #178a45; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

.text-link {
  font-family: var(--font-head); font-weight: 700; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  color: var(--ink); padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--blue-50); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.nav .btn { margin-left: 10px; padding: 11px 20px; color: #fff; }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--blue-600); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #d8e3f7; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: center;
  background: var(--navy-950);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 53, 0.95) 0%, rgba(7, 26, 71, 0.82) 42%, rgba(7, 26, 71, 0.35) 75%, rgba(7, 26, 71, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 18, 53, 0.6) 0%, transparent 40%);
}
.hero .container { position: relative; padding-top: 80px; padding-bottom: 120px; }
@media (max-width: 760px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(4, 18, 53, 0.78) 0%, rgba(7, 26, 71, 0.88) 60%, rgba(4, 18, 53, 0.96) 100%); }
  .hero .container { padding-top: 56px; }
}
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: #47a8ff; }
.hero__lead { font-size: 1.18rem; color: #c6d3ec; max-width: 560px; margin-bottom: 32px; }

.flow-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.flow-chips span {
  font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em;
  color: #fff; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 132, 238, 0.22); border: 1px solid rgba(71, 168, 255, 0.45);
}
.flow-chips i { color: #47a8ff; font-style: normal; font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #c6d3ec; background: var(--navy-950); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 18, 53, 0.95) 0%, rgba(7, 26, 71, 0.85) 50%, rgba(7, 26, 71, 0.55) 100%);
}
.page-hero .container { position: relative; padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(64px, 8vw, 100px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.25rem); max-width: 760px; }
.page-hero p { font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 18px; color: #8fa5cf; }
.breadcrumb a { color: #b5c4e2; }

/* ---------- Signature: Sense → Connect → Analyze → Secure ---------- */
.flow-band { position: relative; margin-top: -72px; z-index: 5; }
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.flow__step { position: relative; padding: 28px 28px 30px; }
.flow__step + .flow__step { border-left: 1px solid var(--line); }
.flow__step + .flow__step::before {
  content: ""; position: absolute; left: -13px; top: 40px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a84ee' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); z-index: 1;
}
.flow__num { font-family: var(--font-head); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue); }
.flow__step h3 { margin: 4px 0 6px; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.flow__step p { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(3) { border-left: 0; }
  .flow__step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow__step:nth-child(3)::before { display: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step + .flow__step { border-left: 0; border-top: 1px solid var(--line); }
  .flow__step + .flow__step::before { display: none; }
}

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
}
.icon-tile svg { width: 26px; height: 26px; }
.section--navy .icon-tile { background: rgba(10, 132, 238, 0.18); color: #7cc0ff; }

/* ---------- Service cards (home) ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  color: inherit; text-decoration: none !important;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.tag {
  align-self: flex-start; font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split > *, .contact-grid > *, .form-grid > * { min-width: 0; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split__media::before {
  content: ""; position: absolute; inset: auto -16px -16px auto; width: 55%; height: 55%;
  border-radius: var(--radius); background: var(--blue-100); z-index: -1;
}
.split--reverse .split__media::before { inset: auto auto -16px -16px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230670d0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--navy .checks li { color: #dbe5f7; }
.section--navy .checks li::before { background-color: rgba(10, 132, 238, 0.22); }
.checks--2col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .checks--2col { grid-template-columns: 1fr; } }

/* ---------- Feature list (Why) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature {
  display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
@media (max-width: 640px) { .feature { flex-direction: row; } }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.section--navy .feature { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section--navy .feature p { color: #b5c4e2; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.industry svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .industries { gap: 10px; }
  .industry { padding: 14px; gap: 10px; font-size: 0.92rem; }
  .industry svg { width: 20px; height: 20px; }
  .industry span { min-width: 0; overflow-wrap: anywhere; }
}

/* ---------- Mission cards ---------- */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv__card {
  padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
}
.vmv__card:nth-child(1) { border-top-color: var(--navy); }
.vmv__card h3 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-600); margin: 18px 0 10px; }
.vmv__card p { font-size: 1.08rem; color: var(--ink); margin: 0; font-weight: 500; }
.values-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.values-list li { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 900px) { .vmv { grid-template-columns: 1fr; } }

/* ---------- Solution blocks ---------- */
.solution { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.solution:last-of-type { border-bottom: 0; }
.solution__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.solution__head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.solution__lead { font-size: 1.12rem; color: var(--body); }

.sol-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
}
.sol-nav a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.sol-nav a { white-space: nowrap; }
.sol-nav svg { width: 18px; height: 18px; flex: none; color: #7cc0ff; }
.page-hero .sol-nav { margin-top: 28px; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.offer {
  padding: 22px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.offer svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.offer h4 { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: -0.01em; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Process timeline ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
}
.process li { position: relative; text-align: center; padding: 0 10px; }
.process__dot {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--blue);
  font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.process li:hover .process__dot { background: var(--blue); color: #fff; transform: scale(1.06); }
.process h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--navy), var(--blue)); }
  .process li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .process li:last-child { padding-bottom: 0; }
  .process__dot { margin: 0; grid-row: span 2; }
  .process h3 { margin: 12px 0 4px; }
}

/* ---------- Support band ---------- */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.support-item { padding: 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.support-item svg { width: 26px; height: 26px; color: #7cc0ff; margin-bottom: 12px; }
.support-item h3 { font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.note { font-size: 0.92rem; color: #93a6cc; border-left: 3px solid var(--blue); padding-left: 16px; max-width: 760px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); color: #c6d3ec; padding: clamp(36px, 6vw, 64px); }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 238, 0.55), transparent 65%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10, 132, 238, 0.15); }
.field .error { display: none; font-size: 0.85rem; color: #c62828; margin-top: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field.has-error .error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); cursor: pointer; transition: all 0.15s;
}
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--navy); font-weight: 500; }
.form-status.is-visible { display: block; }

.info-card { background: var(--navy-900); color: #c6d3ec; border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.info-card h2 { color: #fff; font-size: 1.5rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; }
.info-list .icon-tile { width: 44px; height: 44px; background: rgba(10, 132, 238, 0.18); color: #7cc0ff; }
.info-list .icon-tile svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--font-head); color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; }
.info-list a { color: #fff; }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb1d4; font-size: 0.95rem; }
.site-footer .container { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c6d3ec; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: #7d90b8;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }


/* ---------- Utilities ---------- */
.lead { font-size: 1.15rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy-950); color: #b5c4e2; font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; color: #d8e3f7; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar svg { width: 14px; height: 14px; color: #7cc0ff; flex: none; }
.topbar__links { gap: 22px !important; }
@media (max-width: 640px) {
  .topbar__loc, .topbar__links a[href^="mailto"] { display: none !important; }
  .topbar .container { justify-content: center; }
}

/* ---------- Hero sample dashboard ---------- */
.dash { display: none; }
@media (min-width: 1100px) {
  .hero .container { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
  .dash {
    display: block; padding: 20px 22px; border-radius: var(--radius);
    background: rgba(7, 26, 71, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
}
.dash__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 12px; }
.dash__head small { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: #8fa5cf; }
.dash__live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.dash__list { list-style: none; margin: 0; padding: 0; }
.dash__list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.92rem; }
.dash__list svg { width: 18px; height: 18px; color: #7cc0ff; flex: none; }
.dash__list strong { margin-left: auto; font-family: var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.dash__list strong.ok { color: #34d399; }

/* ---------- Flow loop-back line ---------- */
.flow-loop {
  position: relative; height: 34px; margin: 0 12.5%;
  border: 2px dashed var(--blue-100); border-top: 0; border-radius: 0 0 22px 22px;
}
.flow-loop::before {
  content: ""; position: absolute; left: -7px; top: -2px;
  border: 6px solid transparent; border-bottom: 9px solid var(--blue); border-top: 0;
}
.flow-loop span {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); white-space: nowrap;
  padding: 0 14px; background: var(--bg); font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600);
}
@media (max-width: 860px) { .flow-loop { display: none; } }

/* ---------- Get started ---------- */
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; } }
.start-card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none !important;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.start-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.start-card h3 { margin: 4px 0 0; }
.start-card p { margin: 0; color: var(--muted); flex: 1; }
.start-card--primary { background: var(--navy); border-color: var(--navy); }
.start-card--primary h3 { color: #fff; }
.start-card--primary p { color: #b5c4e2; }
.start-card--primary .icon-tile { background: rgba(10, 132, 238, 0.25); color: #7cc0ff; }
.start-card--primary .text-link { color: #7cc0ff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy);
  box-shadow: var(--shadow-sm); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:hover { background: var(--navy); color: #fff; }

/* ---------- Oct 2026 profile update ---------- */
.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow-loop { margin: 0 16.66%; }
@media (max-width: 860px) {
  .flow--3 { grid-template-columns: 1fr; }
  .flow--3 .flow__step + .flow__step { border-left: 0; border-top: 1px solid var(--line); }
  .flow--3 .flow__step + .flow__step::before { display: none; }
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .card-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid--3 { grid-template-columns: 1fr; } }

.features--cards { grid-template-columns: repeat(var(--cols, 3), 1fr); margin-top: 40px; }
.features--cards .feature { background: var(--bg-alt); }
@media (max-width: 1000px) { .features--cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features--cards { grid-template-columns: 1fr; } }

.small-note { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--blue-100); padding-left: 12px; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .app-grid { grid-template-columns: 1fr; } }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--blue); }
.app-card:nth-child(odd) { border-top-color: var(--navy); }
.app-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-card__head h3 { margin: 0; font-size: 1.15rem; }
.app-card .checks { margin: 0; gap: 10px; }
.app-card .checks li { font-size: 0.95rem; }

.values-list li strong { display: block; }
.values-list li span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; color: var(--muted); }
.values-list { gap: 12px; }

.industries--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .industries--3 { grid-template-columns: 1fr; } }

/* ---------- Header and footer logo (client logo file, Oct 2026) ---------- */
/* logo-header.png is the client's horizontal logo (4:1) with the tagline in the artwork */
:root { --header-h: 88px; }
.brand { display: inline-flex; text-decoration: none !important; }
.brand img { height: 64px; width: auto; }
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
}
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.footer-brand .footer-logo img { height: 56px; width: auto; margin: 0; }

/* Images with labels or panels at the edges are shown whole, never cropped */
.service-card__img img.img-contain { object-fit: contain; background: var(--bg-alt); }
.split__media img.img-contain { aspect-ratio: auto; object-fit: contain; background: #fff; }

/* Home banner (client's mall image): on wide screens start the photo further right so its
   floating heatmap panels sit beside the heading, not behind it. The image's own left edge
   is navy, so it blends into the banner background. */
@media (min-width: 1100px) {
  .hero__bg { left: 34%; }
  .hero__bg img { object-position: right center; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(4, 18, 53, 1) 0%, rgba(4, 18, 53, 0.55) 22%, rgba(7, 26, 71, 0.15) 60%, rgba(7, 26, 71, 0.1) 100%),
      linear-gradient(0deg, rgba(4, 18, 53, 0.55) 0%, transparent 40%);
  }
}
