/* ==========================================================================
   SOFTWING TECHNOLOGIES — Design System
   Light-first, with a full dark mode. Poppins (headings) + Inter (body),
   both self-hosted from /assets/fonts/ so there is no external font request.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS (self-hosted, latin subset)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   To re-brand the whole site, change the values in this block only.
   -------------------------------------------------------------------------- */
:root {
  /* Brand — deep trust blue, carried over from the previous site's blue */
  --brand-50:  #EFF5FF;
  --brand-100: #DBE8FE;
  --brand-200: #BFD6FE;
  --brand-500: #3B82F6;
  --brand-600: #1D4ED8;   /* primary */
  --brand-700: #1E3A8A;
  --brand-900: #0B1220;

  /* Accent — reserved for primary CTAs ONLY, so they are unmissable */
  --accent-400: #FBBF24;
  --accent-500: #F59E0B;
  --accent-600: #D97706;

  /* WhatsApp brand green */
  --wa: #25D366;
  --wa-dark: #1EA952;

  /* Semantic surfaces (light mode defaults) */
  --bg:          #FFFFFF;
  --bg-alt:      #F5F8FC;
  --bg-inset:    #EDF2F9;
  --surface:     #FFFFFF;
  --border:      #E2E8F0;
  --border-strong: #CBD5E1;

  --text:        #0B1220;
  --text-body:   #3F4A5A;
  --text-muted:  #5B6779;
  --text-invert: #FFFFFF;

  --link:        var(--brand-600);
  --focus:       #F59E0B;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow-md: 0 4px 16px rgba(11, 18, 32, .08);
  --shadow-lg: 0 12px 40px rgba(11, 18, 32, .10);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-full: 999px;

  /* Spacing scale (8pt) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 88px;  --s-10: 120px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 76px;

  /* Type */
  --font-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-lg:   1.1875rem;
  --t-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-2xl:  clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --t-3xl:  clamp(1.875rem, 1.5rem + 1.7vw, 2.75rem);
  --t-4xl:  clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Dark mode — follows the OS by default, overridable by the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg:          #0B1220;
    --bg-alt:      #101A2E;
    --bg-inset:    #16223A;
    --surface:     #101A2E;
    --border:      #1E2C47;
    --border-strong: #2C3E60;

    --text:        #F1F5FB;
    --text-body:   #C2CCDC;
    --text-muted:  #93A1B8;

    --link:        #7EA9FF;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .45);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
  }
}
:root[data-theme='dark'] {
  --bg:          #0B1220;
  --bg-alt:      #101A2E;
  --bg-inset:    #16223A;
  --surface:     #101A2E;
  --border:      #1E2C47;
  --border-strong: #2C3E60;

  --text:        #F1F5FB;
  --text-body:   #C2CCDC;
  --text-muted:  #93A1B8;

  --link:        #7EA9FF;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   3. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); font-weight: 700; }
h2 { font-size: var(--t-3xl); font-weight: 700; }
h3 { font-size: var(--t-xl);  font-weight: 600; }
h4 { font-size: var(--t-lg);  font-weight: 600; }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li { margin-bottom: var(--s-2); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-7) 0; }

strong { color: var(--text); font-weight: 600; }

/* Visible, high-contrast focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt   { background: var(--bg-alt); }
.section--inset { background: var(--bg-inset); }

.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--t-lg); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--s-3);
}
:root[data-theme='dark'] .eyebrow { color: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .eyebrow { color: #7EA9FF; }
}

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--wide-left  { grid-template-columns: 1.15fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.15fr; }
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Primary = amber accent. Used ONLY for the main conversion action. */
.btn--primary {
  background: var(--accent-500);
  color: #1A1206;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-400); }

.btn--brand { background: var(--brand-600); color: #fff; }
.btn--brand:hover { background: var(--brand-700); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--outline:hover { border-color: var(--brand-600); color: var(--brand-600); background: var(--brand-50); }
:root[data-theme='dark'] .btn--outline:hover { background: rgba(125,169,255,.10); color: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn--outline:hover { background: rgba(125,169,255,.10); color: #7EA9FF; }
}

.btn--ghost { background: transparent; color: var(--text-body); }
.btn--ghost:hover { background: var(--bg-inset); color: var(--text); }

.btn--wa { background: var(--wa); color: #06301A; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.btn--lg { padding: 17px 30px; font-size: var(--t-base); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: var(--s-5); }
}
.nav__link {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 6px 0;
}
.nav__link:hover { color: var(--text); text-decoration: none; }
.nav__link[aria-current='page'] { color: var(--brand-600); font-weight: 600; }
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--brand-600);
}
/* Dark mode: recolour the active link and its underline separately —
   the underline is the ::after bar, the link itself must stay unfilled. */
:root[data-theme='dark'] .nav__link[aria-current='page'] { color: #7EA9FF; }
:root[data-theme='dark'] .nav__link[aria-current='page']::after { background: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .nav__link[aria-current='page'] { color: #7EA9FF; }
  :root:not([data-theme='light']) .nav__link[aria-current='page']::after { background: #7EA9FF; }
}

/* --- Services dropdown ---------------------------------------------------
   Opens on hover for mouse users and on :focus-within for keyboard users, so
   it needs no JavaScript and stays fully tabbable. */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret {
  width: 13px; height: 13px; flex: none;
  transition: transform .2s var(--ease);
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

/* Invisible bridge so the menu does not close while the pointer travels to it.
   It only exists while open, so it never blocks clicks the rest of the time. */
.nav__item:hover::after,
.nav__item:focus-within::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 20px;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  z-index: 60;
  min-width: 290px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease),
              visibility 0s linear .18s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease),
              visibility 0s linear 0s;
}
.nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.nav__menu a:hover { background: var(--bg-inset); text-decoration: none; }
.nav__menu b { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--text); }
.nav__menu span { display: block; font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }
.nav__menu hr { margin: 6px 8px; }

.header__actions { display: flex; align-items: center; gap: var(--s-2); }
.header__cta { display: none; }
@media (min-width: 1000px) { .header__cta { display: inline-flex; } }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-body);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.icon-btn:hover { background: var(--bg-inset); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: inline-flex; }
@media (min-width: 1000px) { .nav-toggle { display: none; } }

/* Theme toggle icon swap */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme='dark'] .theme-toggle .icon-sun  { display: block; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun  { display: block; }
  :root:not([data-theme='light']) .theme-toggle .icon-moon { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  display: block;
  border-top: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  /* visibility is toggled too, so collapsed links are not keyboard-focusable */
  visibility: hidden;
  transition: max-height .28s var(--ease), visibility 0s linear .28s;
}
.mobile-nav.is-open {
  max-height: 960px;
  visibility: visible;
  transition: max-height .28s var(--ease), visibility 0s linear 0s;
}
@media (min-width: 1000px) { .mobile-nav { display: none !important; } }
.mobile-nav__list { list-style: none; margin: 0; padding: var(--s-4) 0 var(--s-5); }
.mobile-nav__list li { margin: 0; }
.mobile-nav__link {
  display: block;
  padding: 12px 0;
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__link[aria-current='page'] { color: var(--brand-600); font-weight: 600; }
/* Indented service sub-links in the drawer — the mobile equivalent of the
   desktop dropdown. */
.mobile-nav__link--sub {
  padding: 9px 0 9px 18px;
  font-size: var(--t-sm);
  color: var(--text-muted);
  border-bottom: 0;
}
.mobile-nav__link--sub:last-of-type { border-bottom: 1px solid var(--border); }
.mobile-nav__actions { display: grid; gap: var(--s-3); padding-top: var(--s-5); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(1100px 500px at 82% -8%, var(--brand-50), transparent 62%),
    var(--bg);
  overflow: hidden;
}
:root[data-theme='dark'] .hero {
  background: radial-gradient(1100px 500px at 82% -8%, rgba(29,78,216,.16), transparent 62%), var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hero {
    background: radial-gradient(1100px 500px at 82% -8%, rgba(29,78,216,.16), transparent 62%), var(--bg);
  }
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); } }

.hero h1 { margin-bottom: var(--s-5); }
.hero__lede {
  font-size: var(--t-lg);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: var(--s-6);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  font-size: var(--t-sm);
  color: var(--text-muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--brand-600); flex: none; }

.hero--page { padding-block: clamp(40px, 5vw, 68px) clamp(32px, 4vw, 52px); }
.hero--page .hero__lede { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  height: 100%;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--text-muted); font-size: var(--t-sm); margin-bottom: 0; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: var(--s-4);
}
:root[data-theme='dark'] .card__icon { background: rgba(59,130,246,.14); color: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .card__icon { background: rgba(59,130,246,.14); color: #7EA9FF; }
}
.card__icon svg { width: 23px; height: 23px; }

.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover { text-decoration: none; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s-4);
  font-size: var(--t-sm); font-weight: 600; color: var(--brand-600);
}
.card--link:hover .card__more { gap: 10px; }
.card__more svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }

/* Numbered feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: var(--s-3);
  margin: 0;
  align-items: start;
}
.feature-list .tick {
  width: 24px; height: 24px; margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
:root[data-theme='dark'] .feature-list .tick { background: rgba(59,130,246,.16); color: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .feature-list .tick { background: rgba(59,130,246,.16); color: #7EA9FF; }
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { display: block; color: var(--text); font-weight: 600; }
.feature-list span.desc { color: var(--text-muted); font-size: var(--t-sm); }

/* Benefit pills */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.benefits li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  margin: 0; padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-500);
  border-radius: var(--r-sm);
  color: var(--text);
  font-weight: 500;
}
.benefits svg { width: 20px; height: 20px; color: var(--accent-600); flex: none; margin-top: 2px; }

/* Stat / trust strip */
.strip {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.strip__item { display: flex; align-items: center; gap: var(--s-3); }
.strip__item svg { width: 26px; height: 26px; color: var(--brand-600); flex: none; }
.strip__item b { display: block; color: var(--text); font-size: var(--t-sm); font-weight: 600; }
.strip__item span { display: block; color: var(--text-muted); font-size: var(--t-xs); }

/* --------------------------------------------------------------------------
   9. PRODUCT SHOWCASE (illustrative UI figures)
   -------------------------------------------------------------------------- */
.showcase {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.showcase__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
}
.showcase__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.showcase__title {
  margin-left: 10px; font-size: var(--t-xs); font-weight: 600;
  color: var(--text-muted); letter-spacing: .04em;
}
.showcase img, .showcase svg { display: block; width: 100%; }

.figure-note {
  /* position+z-index keep the caption above the .stage glow, which is an
     absolutely-positioned ::before and would otherwise paint over this text. */
  position: relative;
  z-index: 2;
  margin-top: var(--s-3);
  font-size: var(--t-xs);
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9b. DEPTH TREATMENT
   A perspective "stage" holds a tilted product mockup, a soft brand glow and
   one or two floating UI cards. All transform/opacity only — no layout work,
   so it stays cheap on mid-range phones. Flattens down as the screen narrows.
   -------------------------------------------------------------------------- */
.stage {
  position: relative;
  perspective: 1500px;
  perspective-origin: 58% 42%;
}

/* Brand glow behind the mockup */
.stage::before {
  content: '';
  position: absolute;
  inset: -10% -8% -14% -8%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 52% at 55% 42%,
              color-mix(in srgb, var(--brand-600) 26%, transparent), transparent 72%);
  filter: blur(30px);
}
:root[data-theme='dark'] .stage::before {
  background: radial-gradient(58% 52% at 55% 42%, rgba(59,130,246,.34), transparent 72%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .stage::before {
    background: radial-gradient(58% 52% at 55% 42%, rgba(59,130,246,.34), transparent 72%);
  }
}

/* Tilted mockup. Shadow direction follows the tilt so the light reads right. */
.showcase--3d {
  position: relative;
  z-index: 1;
  transform: rotateY(-13deg) rotateX(6deg) rotateZ(0.6deg);
  transform-style: preserve-3d;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  box-shadow:
    -30px 34px 64px -28px rgba(11, 18, 32, .40),
    -8px 10px 22px -12px rgba(11, 18, 32, .22);
}
.stage:hover .showcase--3d { transform: rotateY(-6deg) rotateX(3deg) rotateZ(0); }

/* Mirrored variant, for sections where the figure sits on the left */
.showcase--3d-alt {
  transform: rotateY(13deg) rotateX(6deg) rotateZ(-0.6deg);
  box-shadow:
    30px 34px 64px -28px rgba(11, 18, 32, .40),
    8px 10px 22px -12px rgba(11, 18, 32, .22);
}
.stage:hover .showcase--3d-alt { transform: rotateY(6deg) rotateX(3deg) rotateZ(0); }

:root[data-theme='dark'] .showcase--3d,
:root[data-theme='dark'] .showcase--3d-alt {
  box-shadow: -30px 34px 70px -26px rgba(0, 0, 0, .72);
}

/* Floating UI cards. --py is driven by the parallax script; it defaults to 0
   so the cards sit correctly with JS disabled. */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: translate3d(0, var(--py, 0px), 70px);
  white-space: nowrap;
}
.float-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  flex: none;
  background: color-mix(in srgb, var(--brand-600) 12%, transparent);
  color: var(--brand-600);
}
:root[data-theme='dark'] .float-card__icon { background: rgba(59,130,246,.18); color: #7EA9FF; }
.float-card__icon svg { width: 16px; height: 16px; }
.float-card__icon--ok { background: rgba(16,185,129,.14); color: #059669; }
:root[data-theme='dark'] .float-card__icon--ok { background: rgba(16,185,129,.2); color: #34D399; }
.float-card b { display: block; font-size: var(--t-xs); color: var(--text); line-height: 1.3; }
.float-card span { display: block; font-size: 0.72rem; color: var(--text-muted); line-height: 1.3; }

.float-card--tl { top: 8%;  left: -6%; }
.float-card--br { bottom: 10%; right: -5%; }
.float-card--bl { bottom: 12%; left: -7%; }

/* Progressive flattening */
@media (max-width: 1099px) {
  .float-card--tl { left: -2%; }
  .float-card--br { right: -1%; }
}
@media (max-width: 979px) {
  .showcase--3d     { transform: rotateY(-7deg) rotateX(3deg); }
  .showcase--3d-alt { transform: rotateY(7deg)  rotateX(3deg); }
}
@media (max-width: 700px) {
  /* Phones: keep a whisper of tilt, drop the extras so nothing crowds the image */
  .showcase--3d     { transform: rotateY(-4deg); box-shadow: var(--shadow-lg); }
  .showcase--3d-alt { transform: rotateY(4deg);  box-shadow: var(--shadow-lg); }
  .float-card { display: none; }
  .stage::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { transform: translate3d(0, 0, 70px); }
}

.gallery { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text);
}
.gallery figcaption small { display: block; font-weight: 400; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. FAQ (accordion)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__body { padding: 0 var(--s-5) var(--s-5); color: var(--text-muted); font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   11. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 62ch; margin-inline: auto; margin-bottom: var(--s-6); }
.cta-band .btn--outline { color: #fff; border-color: rgba(255,255,255,.42); }
.cta-band .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--text); }
.field .hint { font-size: var(--t-xs); color: var(--text-muted); font-weight: 400; }
.field .req { color: #DC2626; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--t-base);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-600) 22%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #DC2626; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: var(--t-sm); color: var(--text-muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand-600); }

.form-status {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok   { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.is-err  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
:root[data-theme='dark'] .form-status.is-ok  { background: rgba(6,95,70,.22); color: #6EE7B7; border-color: rgba(110,231,183,.3); }
:root[data-theme='dark'] .form-status.is-err { background: rgba(153,27,27,.22); color: #FCA5A5; border-color: rgba(252,165,165,.3); }

/* Honeypot — hidden from humans, catches bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   13. CONTACT BLOCKS
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: var(--s-3); margin: 0; }
.contact-list .ci {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--brand-50); color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
:root[data-theme='dark'] .contact-list .ci { background: rgba(59,130,246,.14); color: #7EA9FF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .contact-list .ci { background: rgba(59,130,246,.14); color: #7EA9FF; }
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--text); font-size: var(--t-sm); }
.contact-list a { color: var(--text-body); text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); text-decoration: underline; }
.contact-list address { font-style: normal; color: var(--text-muted); font-size: var(--t-sm); }

.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-inset);
  min-height: 300px;
}
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--brand-900);
  color: #A9B6CB;
  padding-block: var(--s-8) var(--s-5);
  margin-top: auto;
}
.footer h3 {
  color: #fff; font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-4);
}
.footer__grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: var(--s-7);
}
.footer__brand { max-width: 34ch; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #7D8DA6; }
.footer__brand p { color: #A9B6CB; font-size: var(--t-sm); margin-top: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #A9B6CB; text-decoration: none; font-size: var(--t-sm); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; font-size: var(--t-sm); line-height: 1.7; }

.footer__socials { display: flex; gap: 10px; margin-top: var(--s-4); }
.footer__socials a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center;
  color: #A9B6CB;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.footer__socials a:hover { background: var(--brand-600); color: #fff; }
.footer__socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between;
  font-size: var(--t-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* --------------------------------------------------------------------------
   15. FLOATING WHATSAPP + STICKY MOBILE CTA BAR
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .42);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 767px) { .wa-float { bottom: 82px; right: 14px; width: 52px; height: 52px; } }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-bar .btn { padding: 13px 14px; font-size: var(--t-sm); }
@media (max-width: 767px) { body { padding-bottom: 72px; } }

/* --------------------------------------------------------------------------
   16. PROSE (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--t-2xl); margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { color: var(--text-body); }
.prose .meta { color: var(--text-muted); font-size: var(--t-sm); }

/* Editor note — visible marker for content that still needs to be supplied.
   Remove the element (or the .note class) once real content is in place. */
.note {
  border: 1px dashed var(--accent-500);
  background: color-mix(in srgb, var(--accent-500) 9%, transparent);
  border-radius: var(--r-sm);
  padding: var(--s-4);
  font-size: var(--t-sm);
  color: var(--text-body);
}
.note b { color: var(--accent-600); }

/* --------------------------------------------------------------------------
   17. SCROLL REVEAL + MOTION PREFERENCES
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   18. PAGE SHELL + PRINT
   -------------------------------------------------------------------------- */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

@media print {
  .header, .footer, .wa-float, .mobile-bar, .cta-band, .btn { display: none !important; }
  body { color: #000; background: #fff; }
}
