/* =========================================================================
   TRUESOFT — Design System
   Warm corporate palette · Space Grotesk + IBM Plex Sans/Mono
   ========================================================================= */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  /* warm neutrals */
  --ink:        oklch(0.23 0.012 60);
  --ink-soft:   oklch(0.44 0.012 62);
  --ink-faint:  oklch(0.58 0.010 62);
  --bg:         oklch(0.985 0.004 75);
  --surface:    #ffffff;
  --surface-2:  oklch(0.965 0.008 72);
  --surface-3:  oklch(0.945 0.010 70);
  --line:       oklch(0.905 0.008 72);
  --line-soft:  oklch(0.935 0.006 72);
  --dark:       oklch(0.205 0.013 55);
  --dark-2:     oklch(0.255 0.014 55);
  --dark-line:  oklch(0.34 0.012 58);

  /* accent (tweakable) */
  --accent:     oklch(0.635 0.155 45);   /* warm orange */
  --accent-press: oklch(0.565 0.150 43);
  --accent-tint:  oklch(0.94 0.040 55);
  --accent-ink:   #ffffff;
  --amber:      oklch(0.82 0.085 75);

  /* fonts (tweakable heading) */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(40,28,18,.05), 0 2px 6px rgba(40,28,18,.04);
  --shadow:    0 4px 12px rgba(40,28,18,.06), 0 14px 36px rgba(40,28,18,.07);
  --shadow-lg: 0 10px 30px rgba(40,28,18,.10), 0 30px 70px rgba(40,28,18,.12);

  --maxw: 1200px;
  --gut: clamp(20px, 4vw, 56px);
}

[data-accent="blue"] {
  --accent: oklch(0.55 0.155 255); --accent-press: oklch(0.49 0.15 255);
  --accent-tint: oklch(0.93 0.045 255);
}
[data-accent="teal"] {
  --accent: oklch(0.62 0.10 195); --accent-press: oklch(0.55 0.10 195);
  --accent-tint: oklch(0.94 0.035 195);
}
[data-accent="green"] {
  --accent: oklch(0.58 0.12 150); --accent-press: oklch(0.51 0.12 150);
  --accent-tint: oklch(0.93 0.04 150);
}
[data-heading="plex"]  { --font-display: 'IBM Plex Sans', system-ui, sans-serif; }
[data-heading="sora"]  { --font-display: 'Sora', system-ui, sans-serif; }

/* ---- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }

/* ---- Layout helpers -------------------------------------------------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block;
}
.section-head.center .eyebrow { justify-content: center; }

h2.title { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 16px; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); margin-top: 18px; text-wrap: pretty; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 8px 20px -8px var(--accent); }
.btn-primary:hover { background: var(--accent-press); transform: translateY(-2px); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 14px 26px -8px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Placeholder media ---------------------------------------------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface-3) 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 220px;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--ink-faint); background: var(--surface); padding: 7px 13px;
  border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-align: center; max-width: 80%;
}

/* ===================================================================== */
/*  UTILITY BAR                                                           */
/* ===================================================================== */
.utility {
  background: var(--dark); color: oklch(0.82 0.01 70);
  font-size: 13.5px;
  border-bottom: 1px solid var(--dark-line);
}
.utility .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 18px; }
.utility a { display: inline-flex; align-items: center; gap: 7px; color: oklch(0.82 0.01 70); transition: color .2s; }
.utility a:hover { color: #fff; }
.utility svg { width: 14px; height: 14px; opacity: .8; }
.util-left, .util-right { display: flex; align-items: center; gap: 22px; }
.util-sep { width: 1px; height: 15px; background: var(--dark-line); }
.util-left .util-item:nth-child(n+3) { } /* spacing handled by gap */
.util-socials { display: flex; align-items: center; gap: 10px; }
.util-socials a { opacity: 0.65; transition: opacity .2s, color .2s; display: inline-flex; align-items: center; }
.util-socials a:hover { opacity: 1; }
.util-socials a[aria-label="LinkedIn"]:hover  { color: #0A66C2; }
.util-socials a[aria-label="Instagram"]:hover { color: #E1306C; }
.util-socials a[aria-label="Facebook"]:hover  { color: #1877F2; }
.util-socials svg { width: 14px; height: 14px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--dark-line); border-radius: 999px; overflow: hidden; }
.lang-toggle button { padding: 3px 11px; font-size: 12px; font-weight: 600; color: oklch(0.7 0.01 70); font-family: var(--font-mono); }
.lang-toggle button.active { background: var(--accent); color: #fff; }

@media (max-width: 860px) {
  .util-right .util-loc { display: none; }
  .util-socials { display: none; }
  .utility { font-size: 12.5px; }
  .util-left { gap: 14px; }
}
@media (max-width: 560px) { .util-left .util-email { display: none; } }

/* ===================================================================== */
/*  HEADER / NAV                                                          */
/* ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in oklch, var(--bg) 94%, transparent); }
.header .container { display: flex; align-items: center; gap: 18px; height: 74px; }

/* logo */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(150deg, var(--accent), color-mix(in oklch, var(--accent) 72%, #000));
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px -3px var(--accent);
}
.brand .mark i { background: rgba(255,255,255,.92); border-radius: 2px; display: block; }
.brand .mark i:nth-child(2) { background: var(--amber); }
.brand b { font-weight: 700; }

/* primary nav */
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 15.5px; color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.nav-link:hover, .nav > li:hover .nav-link, .nav > li.open .nav-link { color: var(--ink); background: var(--surface-2); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; color: var(--ink-faint); }
.nav > li:hover .nav-link .chev, .nav > li.open .nav-link .chev { transform: rotate(180deg); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px; width: max-content; max-width: 560px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; z-index: 70;
}
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav > li:hover .mega, .nav > li.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; gap: 4px; }
.mega.cols2 .mega-grid { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.mega-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r); transition: background .15s; align-items: flex-start; }
.mega-item:hover { background: var(--surface-2); }
.mega-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.mega-ico svg { width: 18px; height: 18px; }
.mega-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0; color: var(--ink); }
.mega-item p { font-size: 12.8px; color: var(--ink-faint); line-height: 1.45; margin-top: 2px; }

/* mobile toggle */
.burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--line); place-items: center; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav, .header .btn-ghost.demo { display: none; }
  .burger { display: grid; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 600px) { .header .btn .label-full { display: none; } }

/* ---- mobile drawer --------------------------------------------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,14,9,.42); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(380px, 90vw);
  background: var(--surface); z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 10px 14px 20px; flex: 1; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 8px; font-weight: 600; font-size: 16px; font-family: var(--font-display); }
.acc-trigger svg { width: 18px; height: 18px; color: var(--ink-faint); transition: transform .2s; }
.acc-item.open .acc-trigger svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel a { display: block; padding: 9px 8px 9px 14px; color: var(--ink-soft); font-size: 15px; }
.acc-panel a:hover { color: var(--accent); }
.icon-btn { width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }

/* ===================================================================== */
/*  HERO                                                                  */
/* ===================================================================== */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 88% -8%, var(--accent-tint), transparent 60%),
    radial-gradient(620px 420px at 6% 12%, oklch(0.95 0.02 75), transparent 58%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(52px, 7vw, 92px); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 28px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.hero-meta svg { width: 17px; height: 17px; color: var(--accent); }

/* hero visual */
.hero-visual { position: relative; }
.dash {
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dash-bar i:nth-child(1){ background: oklch(0.78 0.13 30);} .dash-bar i:nth-child(2){ background: var(--amber);} .dash-bar i:nth-child(3){ background: oklch(0.78 0.10 150);}
.dash-bar .dash-url { margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }
.dash-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.dash-body .ph { min-height: 0; border-radius: var(--r); }
.dash-body .kpi { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.dash-body .kpi .k-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.dash-body .kpi .k-val { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin-top: 6px; }
.dash-body .kpi .k-val small { font-size: 13px; color: var(--accent); font-weight: 600; }
.dash-chart { grid-column: 1 / -1; min-height: 150px; }
.dash-chart svg { width: 100%; height: 150px; }
.dash-img-body { padding: 0 !important; display: block !important; }
.dash-hero-img { width: 100%; display: block; object-fit: cover; object-position: top left; }

.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 13px 17px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero-badge .hb-ico { width: 40px; height: 40px; border-radius: 11px; background: oklch(0.94 0.05 150); color: oklch(0.5 0.13 150); display: grid; place-items: center; }
.hero-badge .hb-ico svg { width: 22px; height: 22px; }
.hero-badge b { font-family: var(--font-display); font-size: 15px; display: block; }
.hero-badge span { font-size: 12.5px; color: var(--ink-faint); }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .container { display: flex; align-items: center; gap: clamp(20px, 4vw, 54px); flex-wrap: wrap; padding-block: 22px; }
.trust .t-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.trust-logos { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 44px); flex-wrap: wrap; }
.trust-logos .tl { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink-soft); opacity: .82; }
.trust-logos .tl svg { width: 20px; height: 20px; color: var(--ink-faint); }

/* hero variant: centered */
[data-hero="centered"] .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 44px; }
[data-hero="centered"] .hero-copy { max-width: 760px; }
[data-hero="centered"] .hero .lede { max-width: 56ch; margin-inline: auto; }
[data-hero="centered"] .eyebrow, [data-hero="centered"] .hero-cta, [data-hero="centered"] .hero-meta { justify-content: center; }
[data-hero="centered"] .hero-visual { width: min(900px, 100%); }
[data-hero="centered"] .hero-badge { left: auto; right: -18px; }

/* hero variant: dark */
[data-hero="dark"] .hero { background: var(--dark); }
[data-hero="dark"] .hero-bg { background:
  radial-gradient(720px 400px at 88% -10%, color-mix(in oklch, var(--accent) 40%, transparent), transparent 60%),
  radial-gradient(560px 420px at 4% 8%, oklch(0.3 0.02 60), transparent 60%); }
[data-hero="dark"] .hero h1, [data-hero="dark"] .hero h1 .hl { color: #fff; }
[data-hero="dark"] .hero h1 .hl { color: var(--amber); }
[data-hero="dark"] .hero .lede { color: oklch(0.82 0.01 70); }
[data-hero="dark"] .hero-meta span { color: oklch(0.8 0.01 70); }
[data-hero="dark"] .btn-ghost { background: transparent; color: #fff; border-color: var(--dark-line); }
[data-hero="dark"] .btn-ghost:hover { border-color: #fff; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .dash-body { grid-template-columns: 1fr 1fr; }
  .hero-badge { left: auto; right: 16px; bottom: -18px; }
}

/* ===================================================================== */
/*  SERVICES                                                              */
/* ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .22s, box-shadow .22s, border-color .22s; position: relative; overflow: hidden;
}
.svc-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.svc-card.feature { grid-column: span 1; background: var(--dark); border-color: transparent; color: #fff; }
.svc-card.feature h3 { color: #fff; } .svc-card.feature p { color: oklch(0.8 0.01 70); }
.svc-card.feature .svc-ico { background: color-mix(in oklch, var(--accent) 30%, var(--dark)); color: var(--amber); }
.svc-card.feature .link-arrow { color: var(--amber); }

@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===================================================================== */
/*  INDUSTRIES (tabs)                                                     */
/* ===================================================================== */
.ind-wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ind-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 130px; }
.ind-tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: var(--r); text-align: left;
  color: var(--ink-soft); font-weight: 600; font-size: 16px; transition: .18s; border: 1px solid transparent;
}
.ind-tab .ind-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.ind-tab:hover { background: var(--surface-2); color: var(--ink); }
.ind-tab.active { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.ind-tab.active .ind-n { color: var(--accent); }
.ind-tab .ind-ico { width: 22px; height: 22px; color: var(--accent); flex: none; }

.ind-panel { display: none; }
.ind-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
.ind-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.ind-panel > .ind-text p { color: var(--ink-soft); margin-bottom: 22px; }
.ind-points { display: flex; flex-direction: column; gap: 14px; }
.ind-points li { display: flex; gap: 13px; align-items: flex-start; }
.ind-points .ip-ico { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.ind-points .ip-ico svg { width: 15px; height: 15px; }
.ind-points b { font-weight: 600; } .ind-points span { color: var(--ink-soft); font-size: 15px; }
.ind-panel .ph { min-height: 340px; }

@media (max-width: 860px) {
  .ind-wrap { grid-template-columns: 1fr; }
  .ind-tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 6px; gap: 8px; }
  .ind-tab { white-space: nowrap; }
  .ind-tab .ind-ico, .ind-tab .ind-n { display: none; }
  .ind-panel.active { grid-template-columns: 1fr; }
  .ind-panel .ind-media { order: -1; }
}

/* ===================================================================== */
/*  MODULES & COMPLIANCE                                                  */
/* ===================================================================== */
.modules { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compliance-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: 14px;
}
.badge svg { width: 17px; height: 17px; color: var(--accent); }

.mod-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.mod-block + .mod-block { border-top: 1px solid var(--line-soft); }
.mod-block:nth-child(even) .mod-text { order: 2; }
.mod-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.mod-block h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 12px 0 14px; }
.mod-block p { color: var(--ink-soft); margin-bottom: 22px; }
.mod-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.mod-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.mod-feats svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.mod-block .ph { min-height: 320px; box-shadow: var(--shadow); }
.mod-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; border-radius: var(--r-lg); box-shadow: var(--shadow); display: block; }
@media (max-width: 820px) { .mod-img { aspect-ratio: 4/3; } }
.mod-compliance-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: oklch(0.95 0.04 150); color: oklch(0.42 0.12 150); font-weight: 600; font-size: 13.5px; }
.mod-compliance-pill svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .mod-block { grid-template-columns: 1fr; gap: 28px; }
  .mod-block:nth-child(even) .mod-text { order: 0; }
  .mod-block .mod-media { order: -1; }
  .mod-feats { grid-template-columns: 1fr; }
}

/* ===================================================================== */
/*  WHY US + STATS                                                        */
/* ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: .22s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.why-card h3 { font-size: 19px; margin: 14px 0 9px; }
.why-card p { color: var(--ink-soft); font-size: 14.8px; }
.why-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.why-ico svg { width: 24px; height: 24px; }

.stats { margin-top: 26px; background: var(--dark); border-radius: var(--r-xl); padding: clamp(34px, 4vw, 52px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; color: #fff; }
.stat .s-val { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.stat .s-val .u { color: var(--amber); }
.stat .s-lbl { color: oklch(0.78 0.01 70); font-size: 14.5px; margin-top: 6px; }
.stat + .stat { border-left: 1px solid var(--dark-line); }

@media (max-width: 920px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .stat:nth-child(odd) { border-left: none; } .stat:nth-child(3){ border-top: 1px solid var(--dark-line); padding-top: 22px;} .stat:nth-child(4){ border-top: 1px solid var(--dark-line); padding-top: 22px;} }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ===================================================================== */
/*  CONTACT                                                               */
/* ===================================================================== */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info .ci-item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start; }
.contact-info .ci-item:first-of-type { padding-top: 0; }
.ci-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.ci-ico svg { width: 22px; height: 22px; }
.ci-item .ci-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ci-item .ci-v { font-weight: 600; font-size: 16px; margin-top: 3px; }
.ci-item .ci-v a:hover { color: var(--accent); }
.ci-map { margin-top: 22px; min-height: 170px; }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--surface); transition: border-color .18s, box-shadow .18s; font-size: 15.5px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: oklch(0.6 0.18 25); }
.field .err { font-size: 12.5px; color: oklch(0.55 0.18 25); display: none; }
.field.invalid .err { display: block; }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-faint); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; animation: fade .4s; }
.form-success .fs-ico { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.94 0.05 150); color: oklch(0.5 0.13 150); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-ico svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }

@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ===================================================================== */
/*  FOOTER                                                                */
/* ===================================================================== */
.footer { background: var(--dark); color: oklch(0.78 0.01 70); padding-top: clamp(56px, 7vw, 88px); }
.footer .brand { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(28px, 4vw, 48px); padding-bottom: 52px; border-bottom: 1px solid var(--dark-line); }
.footer-about p { margin: 18px 0 22px; font-size: 14.5px; max-width: 32ch; color: oklch(0.74 0.01 70); }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--dark-line); display: grid; place-items: center; color: oklch(0.8 0.01 70); transition: .2s; }
.foot-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot-socials svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: oklch(0.74 0.01 70); transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 26px; font-size: 13.5px; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* ===================================================================== */
/*  FLOATING WHATSAPP                                                     */
/* ===================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 20px 13px 14px;
  background: #25D366; color: #fff; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,.6); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 30px -6px rgba(37,211,102,.7); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-txt { line-height: 1.1; }
.wa-float .wa-txt small { display: block; font-size: 11px; font-weight: 500; opacity: .9; }
.wa-pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wapulse 2.4s infinite; pointer-events: none; }
@keyframes wapulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (max-width: 600px) { .wa-float .wa-txt { display: none; } .wa-float { padding: 15px; right: 16px; bottom: 16px; } }

/* ===================================================================== */
/*  REVEAL                                                                */
/* ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }

/* ===================================================================== */
/*  TWEAKS PANEL                                                          */
/* ===================================================================== */
.tweaks { position: fixed; top: 14px; right: 14px; z-index: 200; width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); font-family: var(--font-body); display: none; overflow: hidden; }
.tweaks.show { display: block; }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: grab; }
.tweaks-head h4 { font-family: var(--font-display); font-size: 15px; }
.tweaks-head button { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--ink-faint); }
.tweaks-head button:hover { background: var(--surface-2); color: var(--ink); }
.tweaks-body { padding: 14px 16px 18px; max-height: 76vh; overflow-y: auto; }
.tw-sec { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 14px 0 9px; }
.tw-sec:first-child { margin-top: 0; }
.tw-seg { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; }
.tw-seg button { flex: 1; padding: 8px 4px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); transition: .15s; }
.tw-seg button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tw-swatches { display: flex; gap: 8px; }
.tw-swatches button { width: 34px; height: 34px; border-radius: 9px; border: 2px solid transparent; transition: .15s; position: relative; }
.tw-swatches button.active { border-color: var(--ink); }
.tw-swatches button::after { content: ""; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
