:root {
  color-scheme: light;
  --ground: #f4f3f0;
  --surface: #ffffff;
  --panel-bg: #0e1413;
  --ink: #23272a;
  --ink-soft: #5c6663;
  --ink-faint: #8b938f;
  --line: rgba(35, 39, 42, .11);
  --line-2: rgba(35, 39, 42, .06);
  --accent: #14958a;
  --accent-ink: #0d7466;
  --accent-hover: #0f8378;
  --mint: #a8dbd5;
  --on-panel: #eef4f2;
  --on-panel-soft: #9db3ad;
  --nav-bg: rgba(244, 243, 240, .72);
  --shadow: 0 1px 2px rgba(35,39,42,.05), 0 22px 55px -30px rgba(20,80,74,.28);
  --radius: 20px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #0a0f0e; --surface: #161f1c; --panel-bg: #0c1211;
    --ink: #eef2f0; --ink-soft: #9fa9a6; --ink-faint: #838d89;
    --line: rgba(238, 242, 240, .12); --line-2: rgba(238, 242, 240, .06);
    --accent: #35b6a8; --accent-ink: #4cc6b8; --accent-hover: #46c2b4;
    --nav-bg: rgba(10, 15, 14, .66);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 30px 70px -34px rgba(0,0,0,.85);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --ground:#f4f3f0; --surface:#fff; --panel-bg:#0e1413; --ink:#23272a;
  --ink-soft:#5c6663; --ink-faint:#8b938f; --line:rgba(35,39,42,.11);
  --line-2:rgba(35,39,42,.06); --accent:#14958a; --accent-ink:#0d7466;
  --accent-hover:#0f8378; --nav-bg:rgba(244,243,240,.72);
  --shadow:0 1px 2px rgba(35,39,42,.05),0 22px 55px -30px rgba(20,80,74,.28);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground:#0a0f0e; --surface:#161f1c; --panel-bg:#0c1211; --ink:#eef2f0;
  --ink-soft:#9fa9a6; --ink-faint:#838d89; --line:rgba(238,242,240,.12);
  --line-2:rgba(238,242,240,.06); --accent:#35b6a8; --accent-ink:#4cc6b8;
  --accent-hover:#46c2b4; --nav-bg:rgba(10,15,14,.66);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 30px 70px -34px rgba(0,0,0,.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 10px; z-index: 200;
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow.center { text-align: center; }
h1, h2, h3 { font-weight: 600; line-height: 1.07; letter-spacing: -.021em; text-wrap: balance; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  padding: 11px 18px; border-radius: 980px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .2s, opacity .2s; white-space: nowrap;
}
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--line-2); }
.btn.lg { padding: 14px 26px; font-size: 16px; }

/* nav */
#nav {
  position: sticky; inset-block-start: 0; z-index: 100; background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-block-end: 1px solid transparent; transition: border-color .3s ease;
}
#nav.scrolled { border-block-end-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; font-size: 17px; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: 26px; }
.lang { position: relative; display: inline-flex; }
#lang-select {
  appearance: none; font-family: inherit; font-size: 13.5px; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 980px;
  padding: 7px 30px 7px 14px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 11px) 50%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat;
}
#lang-select option { color: var(--ink); background: var(--surface); }
:root[dir="rtl"] #lang-select { padding: 7px 14px 7px 30px; background-position: 15px 50%, 11px 50%; }
#lang-select:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink);
  transition: background .2s, transform .12s;
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 17px; height: 17px; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
.nav-toggle { display: none; }
.ico-close { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .nav-links {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 10px 24px 18px; background: var(--ground);
    border-block-end: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; font-size: 16px; border-radius: 8px; }
  #nav.menu-open .ico-menu { display: none; }
  #nav.menu-open .ico-close { display: block; }
}
@media (max-width: 520px) { .brand-name { display: none; } }
@media (max-width: 440px) {
  .wrap { padding-inline: 20px; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
  .sec-head h2, .eva-copy h2 { font-size: clamp(1.7rem, 8.5vw, 2.3rem); }
  .contact h2 { font-size: clamp(1.9rem, 10vw, 2.6rem); }
}

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 13vh, 148px) clamp(46px, 8vh, 92px); text-align: center; }
.hero-glow {
  position: absolute; inset-block-start: -24%; inset-inline: 0; height: 540px; pointer-events: none; z-index: 0;
  background: radial-gradient(52% 60% at 50% 0%, color-mix(in srgb, var(--mint) 42%, transparent), transparent 70%); opacity: .7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); max-width: 16ch; margin: 18px auto 0; }
.hero .lead { font-size: clamp(1.12rem, 2.2vw, 1.42rem); color: var(--ink-soft); font-weight: 400; max-width: 46ch; margin: 24px auto 0; line-height: 1.45; text-wrap: balance; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.cta-row.center, .hero .cta-row { justify-content: center; }

/* trust strip */
.trust { border-block: 1px solid var(--line-2); padding-block: 22px; }
.trust-in { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 60px); flex-wrap: wrap; }
.trust-label { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.trust-names { display: flex; align-items: center; gap: clamp(14px, 3vw, 26px); flex-wrap: wrap; }
.trust-names li { display: inline-flex; }
.trust-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px rgba(35,39,42,.05); }
.trust-logo { max-height: 24px; max-width: 104px; width: auto; height: auto; }
.trust-name { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: #2b3133; }

/* sections */
section { padding-block: clamp(76px, 12vh, 142px); }
.sec-head { max-width: 42ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 16px; }
.sec-lead { color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.22rem); margin-top: 18px; line-height: 1.5; font-weight: 400; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.pillar { padding: 30px 26px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 20px; color: var(--accent-ink); background: color-mix(in srgb, var(--mint) 38%, transparent); }
.pillar-ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -.015em; }
.pillar p { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* evacare */
.eva-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center;
  overflow: hidden; border-radius: 32px; color: var(--on-panel);
  background:
    radial-gradient(120% 130% at 90% -12%, #14413b 0%, transparent 46%),
    radial-gradient(90% 90% at 4% 110%, #123e39 0%, transparent 52%),
    linear-gradient(155deg, #10201d 0%, #0c1615 60%, #0a1211 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 40px 90px -48px rgba(6,50,45,.7);
}
.eva-copy { padding: clamp(38px, 6vw, 70px); }
.eva-eyebrow { color: var(--mint); }
.eva-copy h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 16px; color: #fff; }
.eva-text { color: var(--on-panel-soft); font-size: clamp(1.02rem, 1.8vw, 1.15rem); margin-top: 20px; line-height: 1.55; max-width: 44ch; }
.eva-feats { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.eva-feats li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #e6ede9; }
.tick { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--mint) 26%, transparent); color: var(--mint); }
.tick svg { width: 12px; height: 12px; }
.eva-btn { margin-top: 32px; background: var(--mint); color: #0c1615; }
.eva-btn:hover { background: #bfe6e0; }
.eva-vis { padding: clamp(22px,4vw,44px); padding-inline-start: 0; display: grid; place-items: center; }
:root[dir="rtl"] .eva-vis { padding-inline-start: clamp(22px,4vw,44px); padding-inline-end: 0; }
.monitor {
  width: 100%; max-width: 370px; aspect-ratio: 4 / 3.5; border-radius: 22px; padding: 20px;
  display: flex; flex-direction: column; gap: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
}
.mon-top { display: flex; align-items: center; justify-content: space-between; }
.mon-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #dbe7e3; }
.eva-mark { width: 17px; height: 17px; color: var(--mint); }
.mon-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.blip { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: blip 1.4s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 55%, transparent); } 50% { opacity: .5; box-shadow: 0 0 0 7px transparent; } }
.mon-read { display: flex; align-items: baseline; gap: 8px; }
.mon-n { font-size: 44px; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.mon-u { font-size: 13px; color: #97aca6; }
.ecg { flex: 1; min-height: 64px; }
.ecg svg { width: 100%; height: 100%; overflow: visible; }
.ecg path {
  fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 640; stroke-dashoffset: 640; animation: trace 3.6s linear infinite;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--mint) 60%, transparent));
}
@keyframes trace { to { stroke-dashoffset: -640; } }
.mon-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mon-stat { display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.mon-stat .k { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: #8ba39d; }
.mon-stat .v { font-size: 17px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .ecg path { animation: none; stroke-dashoffset: 0; } .blip { animation: none; } }
@media (max-width: 900px) {
  .eva-card { grid-template-columns: 1fr; }
  .eva-vis { padding: 0 clamp(24px,6vw,48px) clamp(38px,7vw,52px); }
}

/* clients */
.clients { text-align: center; }
.clients-grid { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; margin-top: 52px; }

.client {
  min-width: 190px; min-height: 92px; padding: 22px 30px; display: flex; align-items: center; justify-content: center;
  background: #ffffff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.client-name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: #2b3133; }
.client-logo { max-height: 42px; max-width: 172px; width: auto; height: auto; }
.client-sub { display: block; margin-top: 34px; color: var(--ink-faint); font-size: .92rem; }

/* contact */
.contact { text-align: center; background: var(--surface); border-block-start: 1px solid var(--line-2); }
.contact h2 { font-size: clamp(2.2rem, 6vw, 3.9rem); margin-top: 14px; }
.contact-lead { color: var(--ink-soft); font-size: clamp(1.1rem, 2.2vw, 1.32rem); margin: 20px auto 0; max-width: 42ch; font-weight: 400; }
.contact .cta-row { margin-top: 38px; }
.contact-mail { display: inline-block; margin-top: 24px; color: var(--ink-faint); font-size: 1rem; }
.contact-mail:hover { color: var(--accent-ink); }

/* footer */
footer { padding-block: 42px 54px; border-block-start: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.foot-in .brand { font-size: 15px; }
.foot-in .brand-mark { width: 26px; height: 26px; }
.foot-tag { color: var(--ink-soft); font-size: 14px; }
.foot-meta { color: var(--ink-faint); font-size: 13px; }

/* whatsapp */
.wa-fab {
  position: fixed; inset-inline-end: 22px; inset-block-end: 22px; z-index: 90;
  width: 54px; height: 54px; display: grid; place-items: center;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .18s ease, background .2s;
}
.wa-fab:hover { background: #1ebe5d; transform: scale(1.06); }
.wa-fab:active { transform: scale(.95); }
.wa-fab svg { width: 28px; height: 28px; }
