/* =================== TOKENS =================== */
:root{
  --bg: #fbfcff;
  --panel: #ffffff;
  --ink: #0b1220;
  --ink-2: #2b3a55;
  --muted: #566681;
  --line: #eaf0f8;
  --brand: #0b3d91;
  --brand-2: #3b82f6;
  --brand-3: #60a5fa;
  --accent: #06b6d4;
  --ok: #10b981;
  --shadow: 0 10px 30px rgba(20, 45, 100, .06);
  --shadow-lg: 0 30px 70px rgba(20, 45, 100, .10);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-en: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-he: "Heebo", "Segoe UI", Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x:hidden;
}
html[data-lang="he"] body{ font-family: var(--font-he); }
html[dir="rtl"] body{ text-align: right; }

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.eyebrow{
  display:inline-block;text-transform:uppercase;letter-spacing:.14em;
  font-size:12px;font-weight:700;color:#1d4ed8;
  padding:7px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);
  box-shadow:var(--shadow);margin-bottom:16px;
}
.muted{color:var(--muted)}

/* =================== BUTTONS =================== */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 18px;border-radius:12px;font-weight:600;font-size:15px;
  border:1px solid transparent;cursor:pointer;transition:.2s ease;
  text-decoration:none;
}
.btn{white-space:nowrap}
.btn-sm{padding:9px 14px;font-size:14px}
.btn-primary{
  background:linear-gradient(135deg,#2563eb,var(--brand));
  color:#fff;box-shadow: var(--shadow);
}
.btn-primary:hover{transform:translateY(-1px);box-shadow:var(--shadow-lg)}
.btn-ghost{
  background:transparent;color:var(--brand);border-color:rgba(11,61,145,.18);
}
.btn-ghost:hover{background:rgba(59,130,246,.06)}

/* =================== HEADER =================== */
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(180%) blur(14px);
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{height:42px;width:auto;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-size:18px;letter-spacing:.2px}
.brand-text em{font-style:normal;font-size:12px;color:var(--muted)}
.brand.small{display:flex;align-items:center;gap:8px}
.brand.small .brand-logo{height:32px}
.brand.small em{display:none}
@media (max-width:560px){
  .brand-text em{display:none}
}
.primary-nav{display:flex;gap:6px;align-items:center}
.primary-nav a{
  padding:10px 12px;border-radius:10px;color:var(--ink-2);font-weight:500;font-size:15px;
  white-space:nowrap;
}
.primary-nav a:hover{background:rgba(11,61,145,.06);color:var(--brand)}
.nav-actions{display:flex;align-items:center;gap:10px}
.lang-toggle{
  display:flex;align-items:center;gap:6px;
  background:transparent;border:1px solid var(--line);border-radius:999px;
  padding:6px 12px;cursor:pointer;font-weight:600;font-size:13px;color:var(--ink-2);
}
.lang-toggle .sep{color:var(--muted)}
.lang-toggle:hover{border-color:var(--brand-2);color:var(--brand)}
html[data-lang="en"] .lang-toggle .lang-en{color:var(--brand)}
html[data-lang="he"] .lang-toggle .lang-he{color:var(--brand)}

.menu-btn{display:none;background:transparent;border:0;width:40px;height:40px;cursor:pointer;flex-direction:column;gap:5px;justify-content:center;align-items:center}
.menu-btn span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:.2s}

/* =================== HERO =================== */
.hero{
  position:relative;overflow:hidden;padding:96px 0 88px;
  background:linear-gradient(180deg,#e3edff 0%, #eef5ff 44%, var(--bg) 100%);
}
.hero-bg{
  position:absolute;inset:-25% -10% auto -10%;height:860px;z-index:0;pointer-events:none;
  background:
    radial-gradient(40% 44% at 14% 6%, rgba(59,130,246,.34), transparent 60%),
    radial-gradient(36% 44% at 88% 2%, rgba(6,182,212,.26), transparent 60%),
    radial-gradient(46% 42% at 52% 112%, rgba(99,102,241,.22), transparent 70%);
  filter: blur(30px);
}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns: 1.15fr .85fr;gap:64px;align-items:center}
.hero h1{
  font-size: clamp(34px, 5vw, 60px);line-height:1.06;margin:.1em 0 .35em;
  letter-spacing:-.02em;font-weight:800;color:var(--ink);
}
.hero h1 .grad{
  background:linear-gradient(120deg,#2563eb,#0e7490);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.lead{font-size:18px;color:var(--ink-2);max-width:560px}
.hero-cta{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
.hero-stats{
  list-style:none;padding:0;margin:36px 0 0;display:flex;gap:36px;flex-wrap:wrap;
}
.hero-stats li{display:flex;flex-direction:column}
.hero-stats strong{
  font-size:30px;font-weight:800;letter-spacing:-.02em;
  background:linear-gradient(120deg,#2563eb,#0e7490);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-stats span{font-size:13px;color:var(--muted)}

/* hero visual */
.hero-visual{position:relative;height:420px}
.card-stack{position:absolute;inset:0}
.glass-card{
  position:absolute;background:rgba(255,255,255,.78);backdrop-filter:blur(14px);
  border:1px solid rgba(11,61,145,.08);border-radius:18px;padding:18px 20px;
  box-shadow: var(--shadow-lg);display:flex;flex-direction:column;gap:12px;
  font-size:14px;color:var(--ink);min-width:240px;
}
.glass-card > span{font-weight:600}
.glass-card .dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:8px}
.dot.g{background:var(--ok);box-shadow:0 0 0 4px rgba(16,185,129,.18)}
.dot.b{background:var(--brand-2);box-shadow:0 0 0 4px rgba(59,130,246,.18)}
.dot.p{background:#a855f7;box-shadow:0 0 0 4px rgba(168,85,247,.18)}
.glass-card .bar{height:6px;background:#eef2f9;border-radius:99px;overflow:hidden}
.glass-card .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--brand-2),var(--accent))}
.glass-card .tags{display:flex;gap:6px;flex-wrap:wrap}
.glass-card .tags em{font-style:normal;font-size:11px;padding:4px 8px;border-radius:99px;background:#eef4ff;color:var(--brand);font-weight:600}
.c1{top:20px;left:20px;width:260px;animation:float 8s ease-in-out infinite}
.c2{top:140px;right:0;width:300px;animation:float 10s ease-in-out -2s infinite}
.c3{bottom:0;left:60px;width:280px;animation:float 9s ease-in-out -4s infinite}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* =================== SECTIONS =================== */
.section{padding:104px 0}
.section.alt{background:linear-gradient(180deg,#e9f1fd 0%, #f3f8fe 100%)}
.section-head{max-width:780px;margin:0 0 48px}
.section-head.center{margin:0 auto 48px;text-align:center}
.section h2{font-size: clamp(28px, 3.4vw, 42px);line-height:1.15;letter-spacing:-.02em;margin:0 0 14px;font-weight:800}
.two-col{display:grid;grid-template-columns:1fr 1.2fr;gap:64px;align-items:start}
.two-col p{font-size:17px;color:var(--ink-2)}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.badge{
  font-size:12px;font-weight:700;padding:8px 12px;border-radius:99px;
  background:#eef4ff;color:var(--brand);letter-spacing:.06em;
}
.badge-link{transition:.18s;cursor:pointer}
.badge-link:hover{background:var(--brand);color:#fff;transform:translateY(-1px)}

/* hero trust strip */
.hero-trust{
  display:inline-flex;align-items:center;gap:9px;margin-top:18px;
  padding:8px 14px;border-radius:99px;
  background:rgba(16,185,129,.10);border:1px solid rgba(16,185,129,.30);
  color:#0f7a5a;font-size:13px;font-weight:600;transition:.18s;
}
.hero-trust svg{width:18px;height:18px;color:var(--ok)}
.hero-trust:hover{background:rgba(16,185,129,.16);transform:translateY(-1px)}

/* =================== GRID / CARDS =================== */
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;transition:.25s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(59,130,246,.25)}
.card .ico{
  width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-size:22px;
  background:linear-gradient(135deg,#eef4ff,#ffffff);
  border:1px solid var(--line);margin-bottom:14px;
}
.card h3{margin:0 0 6px;font-size:17px;font-weight:700}
.card p{margin:0;color:var(--muted);font-size:14.5px}

/* products */
.products .prod{
  position:relative;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:16px 18px;transition:.2s;
}
.products .prod:hover{box-shadow:var(--shadow);border-color:rgba(59,130,246,.28)}
.products .prod-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.products .prod-ico{
  flex:0 0 auto;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;
  color:var(--c,var(--brand-2));
  background:color-mix(in srgb,var(--c,var(--brand-2)) 13%,#fff);
}
.products .prod:nth-child(1){--c:#3b82f6}
.products .prod:nth-child(2){--c:#ec4899}
.products .prod:nth-child(3){--c:#06b6d4}
.products .prod:nth-child(4){--c:#8b5cf6}
.products .prod:nth-child(5){--c:#f59e0b}
.products .prod:nth-child(6){--c:#10b981}
.products .prod:nth-child(7){--c:#6366f1}
.products .prod:nth-child(8){--c:#14b8a6}
.products .prod:nth-child(9){--c:#0ea5e9}
.products .prod:nth-child(10){--c:#f43f5e}
.products .prod:nth-child(11){--c:#d946ef}
.products .prod:nth-child(12){--c:#22c55e}
.products .prod:nth-child(13){--c:#f97316} /* TamirSikum — residential/rehab (warm) */
.products .prod:nth-child(14){--c:#0891b2} /* TamirPool — hydrotherapy (water) */
.products .prod:nth-child(15){--c:#16a34a} /* TamirKupot — health-fund billing (finance) */
.products .prod-ico svg{width:19px;height:19px}
.products h3{margin:0;font-size:15.5px}
.products .tag{
  margin-inline-start:auto;font-size:10px;font-weight:700;letter-spacing:.08em;
  padding:2px 7px;border-radius:999px;color:var(--brand);
  background:rgba(11,61,145,.07);
}
.products p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.5}
.products a.prod{display:block}
.products .prod-more{display:inline-block;margin-top:12px;font-size:13px;font-weight:700;color:#1d4ed8}
.products a.prod:hover .prod-more{text-decoration:underline}

/* certifications / compliance */
.cert-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;align-items:start;
}
.cert-card{
  position:relative;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);overflow:hidden;
}
.cert-card.featured{
  border-color:transparent;color:#eaf1ff;
  background:linear-gradient(160deg,#0b3d91,#12519e 55%,#1e63bd);
  box-shadow:var(--shadow-lg);
}
.cert-card.featured h3,.cert-card.featured strong{color:#fff}
.cert-card.featured p{color:#cfe0fb}
.cert-ribbon{
  position:absolute;top:18px;inset-inline-end:-34px;transform:rotate(45deg);
  background:var(--accent);color:#04222a;font-size:11px;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;padding:6px 40px;box-shadow:var(--shadow);
}
.cert-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.cert-seal{
  flex:0 0 auto;width:54px;height:54px;border-radius:14px;display:grid;place-items:center;
  color:var(--brand-2);background:rgba(59,130,246,.12);
}
.cert-card.featured .cert-seal{color:#fff;background:rgba(255,255,255,.14)}
.cert-seal svg{width:30px;height:30px}
.cert-card h3{margin:0;font-size:20px;letter-spacing:-.01em}
.cert-kicker{font-size:13px;font-weight:600;color:var(--muted)}
.cert-card.featured .cert-kicker{color:#bcd3f7}
.cert-card>p{margin:0 0 18px;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.cert-meta{
  display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:0 0 20px;
  padding-top:16px;border-top:1px solid var(--line);
}
.cert-card.featured .cert-meta{border-top-color:rgba(255,255,255,.18)}
.cert-meta dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:3px}
.cert-card.featured .cert-meta dt{color:#9dbcf0}
.cert-meta dd{margin:0;font-size:14px;font-weight:600}
.cert-actions{display:flex;flex-wrap:wrap;gap:10px}
.cert-link{
  display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;
  padding:9px 14px;border-radius:10px;border:1px solid var(--line);
  background:#fff;color:var(--brand);transition:.18s;
}
.cert-link:hover{border-color:var(--brand-2);background:rgba(59,130,246,.06);transform:translateY(-1px)}
.cert-card.featured .cert-link{
  background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff;
}
.cert-card.featured .cert-link:hover{background:rgba(255,255,255,.2)}
.cert-link .ico{font-size:15px;line-height:1}
.cert-foot{text-align:center;margin:28px 0 0;font-size:14px}
.cert-foot a{color:#1d4ed8;font-weight:600;text-decoration:underline}
@media(max-width:760px){
  .cert-grid{grid-template-columns:1fr}
  .cert-meta{grid-template-columns:1fr 1fr}
}

/* features */
.features .feature{
  background:transparent;padding:8px 0;border-top:1px solid var(--line);
}
.features .feature h3{margin:14px 0 6px;font-size:18px;font-weight:700;color:var(--brand)}
.features .feature p{color:var(--ink-2);margin:0}

/* =================== CUSTOMERS =================== */
.cust-group{margin-top:40px}
.cust-group:first-of-type{margin-top:0}
.cust-group h3{
  font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--brand);margin:0 0 20px;
  padding-bottom:10px;border-bottom:1px solid var(--line);
}
.cust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.cust-item{
  background:var(--panel);border:1px solid var(--line);border-radius:14px;
  padding:14px 12px;display:flex;align-items:center;gap:12px;
  transition:.2s ease;min-height:78px;
}
.cust-item:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:rgba(59,130,246,.35);
}
.cust-img{
  flex:0 0 56px;width:56px;height:56px;
  display:grid;place-items:center;
  background:#fff;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;
}
.cust-img img{
  max-width:100%;max-height:100%;width:auto;height:auto;
  object-fit:contain;display:block;
}
.cust-name{
  font-size:13.5px;font-weight:600;color:var(--ink-2);line-height:1.25;
}
html[data-lang="en"] .cust-name .he{display:none}
html[data-lang="he"] .cust-name .en{display:none}
.cust-foot{margin-top:32px;text-align:center;font-style:italic}
@media (max-width:980px){ .cust-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:680px){ .cust-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:340px){ .cust-grid{grid-template-columns:1fr} }

/* =================== CONTACT =================== */
.contact{background:linear-gradient(180deg,#fff 0%, #eef4ff 100%)}
.contact-grid{grid-template-columns:repeat(3,1fr)}
.contact-card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;text-align:center;transition:.25s;display:block;
}
a.contact-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(59,130,246,.25)}
.contact-card .ico{
  width:54px;height:54px;border-radius:14px;display:grid;place-items:center;font-size:24px;
  background:linear-gradient(135deg,#eef4ff,#ffffff);
  border:1px solid var(--line);margin:0 auto 12px;
}
.contact-card h3{margin:0 0 4px;font-size:16px}
.contact-card p{margin:0;color:var(--ink-2);font-size:15px}
.contact-card.wide{grid-column:span 3}

/* =================== FOOTER =================== */
.site-footer{border-top:1px solid var(--line);background:#fff;padding:34px 0}
.foot{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px;align-items:center}
.foot-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.foot-links a{color:var(--ink-2);font-size:14px}
.foot-links a:hover{color:var(--brand)}
.foot-meta{display:flex;gap:18px;justify-content:flex-end;font-size:13px}

/* =================== RTL TWEAKS =================== */
html[dir="rtl"] .hero-stats{justify-content:flex-end}
html[dir="rtl"] .foot-meta{justify-content:flex-start}
html[dir="rtl"] .brand-text{align-items:flex-end}
html[dir="rtl"] .hero h1{letter-spacing:0}
html[dir="rtl"] .section h2{letter-spacing:0}
html[dir="rtl"] .glass-card .dot{margin-right:0;margin-left:8px}

/* =================== RESPONSIVE =================== */
/* keep the header bar tidy before the desktop nav has room to breathe */
@media (max-width: 1140px){ .brand-text em{display:none} }
@media (max-width: 1040px){
  .hero{padding:60px 0 30px}
  .hero-inner{grid-template-columns:1fr;gap:40px}
  .hero-visual{height:360px}
  .two-col{grid-template-columns:1fr;gap:24px}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:repeat(2,1fr)}
  .contact-card.wide{grid-column:span 2}
  .primary-nav{
    position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;padding:14px;gap:4px;
    transform:translateY(-10px);opacity:0;pointer-events:none;visibility:hidden;transition:transform .2s,opacity .2s;
    max-height:calc(100vh - 72px);overflow-y:auto;
  }
  .primary-nav.open{transform:translateY(0);opacity:1;pointer-events:auto;visibility:visible}
  .primary-nav a{padding:12px 16px}
  .menu-btn{display:flex}
  /* header CTA is redundant once Contact lives in the menu */
  .nav-actions .btn{display:none}
  .nav-actions .btn-primary.icon-btn{display:none}
  .foot{grid-template-columns:1fr;text-align:center}
  .foot-meta{justify-content:center}
  .hero-stats{gap:20px}
}
@media (max-width: 620px){
  .grid-3,.grid-4,.contact-grid{grid-template-columns:1fr}
  .contact-card.wide{grid-column:span 1}
  .cert-grid{grid-template-columns:1fr}
  .cert-card{padding:22px}
  .hero h1{font-size:32px}
  .section{padding:54px 0}
  .section-head{margin-bottom:32px}
  .brand-text em{display:none}
  .hero-stats strong{font-size:24px}
  .container{padding:0 18px}
}
@media (max-width: 380px){
  .hero h1{font-size:29px}
  .hero-trust{font-size:12px}
}

/* =================== BREADCRUMB =================== */
.crumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.crumb a{color:#1d4ed8;text-decoration:underline}
.crumb span{margin:0 6px}

/* =================== LEGAL / STATEMENT PAGES =================== */
.legal{max-width:820px}
.legal h1{font-size:clamp(28px,3.4vw,40px);margin:0 0 8px;font-weight:800;letter-spacing:-.02em}
.legal .updated{color:var(--muted);font-size:14px;margin:0 0 28px}
.legal h2{font-size:21px;margin:34px 0 12px;font-weight:700}
.legal p{color:var(--ink-2);margin:0 0 14px}
.legal ul{color:var(--ink-2);margin:0 0 14px;padding-inline-start:22px}
.legal li{margin:6px 0}
.legal a{color:#1d4ed8;text-decoration:underline;font-weight:600}
.legal .contact-box{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 22px;margin:18px 0;box-shadow:var(--shadow);
}
.legal .contact-box p{margin:4px 0}
.legal .back{display:inline-block;margin-top:30px}

/* =================== ACCESSIBILITY =================== */
/* screen-reader-only text */
.sr-only{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
/* skip-to-content link: hidden until focused */
.skip-link{
  position:absolute;top:8px;left:50%;transform:translate(-50%,-200%);
  z-index:200;background:var(--brand);color:#fff;font-weight:700;
  padding:12px 20px;border-radius:0 0 12px 12px;text-decoration:none;
  transition:transform .15s ease;
}
.skip-link:focus{transform:translate(-50%,0)}

/* visible keyboard focus on all interactive elements */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible,
.menu-btn:focus-visible,
input:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid #1d4ed8;
  outline-offset:2px;
  border-radius:8px;
}
/* high-contrast focus ring on the dark featured certificate card */
.cert-card.featured a:focus-visible,
.cert-card.featured button:focus-visible{
  outline-color:#ffffff;
}
/* never remove focus for keyboard users */
:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
/* skip-link target receives focus programmatically — no visible box needed */
#main[tabindex="-1"]:focus{outline:none}

/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}

/* =================== ACCESSIBILITY WIDGET =================== */
.a11y-widget{position:fixed;bottom:18px;z-index:300}
html[dir="ltr"] .a11y-widget{right:18px}
html[dir="rtl"] .a11y-widget{left:18px}
.a11y-fab{
  width:54px;height:54px;border-radius:50%;border:0;cursor:pointer;
  background:var(--brand);color:#fff;box-shadow:var(--shadow-lg);
  display:grid;place-items:center;transition:transform .15s;
}
.a11y-fab:hover{transform:scale(1.06)}
.a11y-fab svg{width:32px;height:32px}
.a11y-panel{
  position:absolute;bottom:66px;width:248px;background:#fff;
  border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);padding:12px;
}
html[dir="ltr"] .a11y-panel{right:0}
html[dir="rtl"] .a11y-panel{left:0}
.a11y-panel[hidden]{display:none}
.a11y-panel h2{font-size:14px;margin:2px 6px 10px;font-weight:800;color:var(--ink)}
.a11y-panel button{
  display:flex;align-items:center;gap:10px;width:100%;text-align:start;
  padding:11px 12px;margin:5px 0;border:1px solid var(--line);border-radius:10px;
  background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer;
}
.a11y-panel button>span[aria-hidden]{flex:0 0 22px;text-align:center;font-weight:800;color:var(--brand)}
.a11y-panel button:hover{background:#eef4ff;border-color:var(--brand-2)}
.a11y-panel button[aria-pressed="true"]{background:var(--brand);color:#fff;border-color:var(--brand)}
.a11y-panel button[aria-pressed="true"]>span[aria-hidden]{color:#fff}
.a11y-reset{justify-content:center;color:#b91c1c !important;border-style:dashed !important}

/* effect: highlight links */
html.a11y-links a:not(.btn):not(.lang-toggle){text-decoration:underline !important;text-underline-offset:2px;font-weight:700 !important}

/* effect: readable font */
html.a11y-readable, html.a11y-readable *{
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif !important;
  letter-spacing:.01em !important;word-spacing:.06em !important;line-height:1.75 !important;
}

/* effect: high contrast */
html.a11y-contrast, html.a11y-contrast body{background:#ffffff !important}
html.a11y-contrast *{
  background-image:none !important;box-shadow:none !important;text-shadow:none !important;
  color:#000000 !important;border-color:#000000 !important;
}
html.a11y-contrast .hero-bg, html.a11y-contrast .hero-visual{display:none !important}
html.a11y-contrast a:not(.btn):not(.lang-toggle){color:#00309e !important;text-decoration:underline !important}
html.a11y-contrast .btn, html.a11y-contrast .btn-primary, html.a11y-contrast .lang-toggle{
  background:#000 !important;color:#fff !important;border:2px solid #000 !important;
}
html.a11y-contrast .btn *, html.a11y-contrast .btn-primary *{color:#fff !important}
html.a11y-contrast .eyebrow, html.a11y-contrast .badge, html.a11y-contrast .tag,
html.a11y-contrast .card, html.a11y-contrast .prod, html.a11y-contrast .cert-card,
html.a11y-contrast .cust-item, html.a11y-contrast .contact-card, html.a11y-contrast .feature{
  background:#fff !important;border:1px solid #000 !important;
}
/* keep the widget usable in high-contrast mode */
html.a11y-contrast .a11y-fab{background:#000 !important;color:#fff !important}
html.a11y-contrast .a11y-fab svg{fill:#fff !important}
html.a11y-contrast .a11y-panel button[aria-pressed="true"]{background:#000 !important;color:#fff !important}
html.a11y-contrast .a11y-panel button[aria-pressed="true"]>span{color:#fff !important}

/* ===== Modern refresh — Clean & Airy ===== */
.btn{border-radius:14px}
.glass-card{box-shadow:0 30px 70px rgba(20,45,100,.18)}
.card:hover{box-shadow:var(--shadow-lg)}

/* ===== Modern refresh v2 — visible accents ===== */
.card{position:relative;overflow:hidden}
.card::after{content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,var(--brand-2),var(--accent));
  transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.card:hover::after{transform:scaleX(1)}
html[dir="rtl"] .card::after{transform-origin:right}

/* =================== HERO VIDEO (cinematic full-bleed) =================== */
.hero--cinematic{
  min-height:calc(100vh - 72px);
  display:flex;align-items:center;padding:80px 0;
}
.hero--cinematic .hero-bg{display:none}           /* hide decorative blobs behind the video */
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
/* light blur just smooths the 640p upscale; the video footage itself is clean
   (the text was only the old poster image, now removed) */
.hero-media video{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:blur(2px) saturate(1.08);transform:scale(1.04);
}
/* lighter scrim: darkest only behind the headline (text side), the rest stays
   clear so the video is visible */
.hero-scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg, rgba(5,12,30,.80) 0%, rgba(5,12,30,.46) 46%, rgba(5,12,30,.12) 100%),
    linear-gradient(0deg, rgba(5,12,30,.34) 0%, rgba(5,12,30,0) 52%);
}
html[dir="rtl"] .hero-scrim{
  background:
    linear-gradient(270deg, rgba(5,12,30,.80) 0%, rgba(5,12,30,.46) 46%, rgba(5,12,30,.12) 100%),
    linear-gradient(0deg, rgba(5,12,30,.34) 0%, rgba(5,12,30,0) 52%);
}
.hero--cinematic .hero-inner{grid-template-columns:1fr;width:100%}
.hero--cinematic .hero-copy{max-width:760px}

/* light text over the video */
.hero--cinematic h1{color:#fff}
.hero--cinematic h1 .grad{
  background:linear-gradient(120deg,#7dd3fc,#22d3ee);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero--cinematic .lead{color:rgba(255,255,255,.88)}
.hero--cinematic .eyebrow{
  background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.28);
  box-shadow:none;backdrop-filter:blur(4px);
}
.hero--cinematic .hero-stats strong{
  background:linear-gradient(120deg,#bae6fd,#67e8f9);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero--cinematic .hero-stats span{color:rgba(255,255,255,.72)}
.hero--cinematic .btn-ghost{
  color:#fff;border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.06);
}
.hero--cinematic .btn-ghost:hover{background:rgba(255,255,255,.16)}
.hero--cinematic .hero-trust{
  background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.26);
  color:#eafff6;backdrop-filter:blur(4px);
}
.hero--cinematic .hero-trust svg{color:#34d399}
.hero--cinematic .hero-trust:hover{background:rgba(255,255,255,.18)}

/* video play/pause toggle, bottom corner of the hero */
.video-toggle{
  position:absolute;bottom:18px;z-index:3;
  width:44px;height:44px;border-radius:50%;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(5,12,30,.5);color:#fff;backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.25);transition:.2s ease;
}
html[dir="ltr"] .video-toggle{right:18px}
html[dir="rtl"] .video-toggle{left:18px}
.video-toggle:hover{background:rgba(5,12,30,.8);transform:translateY(-1px)}
.video-toggle svg{width:20px;height:20px}
.video-toggle .ic-play{display:none}
.video-toggle[data-playing="false"] .ic-pause{display:none}
.video-toggle[data-playing="false"] .ic-play{display:block;margin-left:2px}

/* =================== SITE SEARCH =================== */
/* round icon buttons in the header — search (always) + language toggle.
   Subtle light style that fills with the brand gradient on hover. */
.search-btn,
.nav-actions .lang-toggle.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;padding:0;border-radius:50%;cursor:pointer;flex:0 0 auto;
  border:1px solid #d4f1f7;color:var(--accent);
  background:linear-gradient(180deg,#ffffff,#e8fbff);
  box-shadow:var(--shadow);transition:.2s ease;font-size:0;
}
.search-btn:hover,
.nav-actions .lang-toggle.icon-btn:hover{
  color:#fff;border-color:transparent;transform:translateY(-1px);
  background:linear-gradient(135deg,var(--accent),var(--brand-2));
  box-shadow:var(--shadow-lg);
}
.search-btn:active,
.nav-actions .lang-toggle.icon-btn:active{transform:translateY(0)}
.search-btn svg,
.nav-actions .lang-toggle.icon-btn svg{width:19px;height:19px;stroke-width:2.2}

/* clicks always land on the link/button itself, never the inner icon — fixes
   browsers where clicking the SVG inside the language link failed to navigate */
.search-btn svg,
.nav-actions .icon-btn svg{pointer-events:none}

/* contact / "get a demo" CTA -> filled brand icon button (stays the accent) */
.nav-actions .btn-primary.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;min-width:0;padding:0;border-radius:50%;flex:0 0 auto;
  border:1px solid transparent;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--brand-2));
  box-shadow:var(--shadow);transition:.2s ease;
}
.nav-actions .btn-primary.icon-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-lg);filter:brightness(1.06)}
.nav-actions .btn-primary.icon-btn:active{transform:translateY(0)}
.nav-actions .btn-primary.icon-btn svg{width:20px;height:20px;stroke-width:2.1}

/* on phones/tablets the contact icon is hidden so the header doesn't overflow
   and push the hamburger off-screen (Contact still lives inside the menu).
   Placed AFTER the icon definitions so it wins at equal specificity. */
@media (max-width: 1040px){
  .nav-actions .btn-primary.icon-btn{display:none}
}

/* overlay + modal */
.search-overlay{
  position:fixed;inset:0;z-index:400;
  background:rgba(10,20,45,.45);backdrop-filter:blur(3px);
  display:flex;align-items:flex-start;justify-content:center;
  padding:10vh 16px 16px;
}
.search-overlay[hidden]{display:none}
.search-modal{
  width:100%;max-width:640px;background:#fff;
  border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);
  overflow:hidden;display:flex;flex-direction:column;max-height:80vh;
}
.search-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.search-bar-icon{display:grid;place-items:center;color:var(--muted)}
.search-bar-icon svg{width:20px;height:20px}
.search-input{
  flex:1;border:0;outline:none;background:transparent;
  font:inherit;font-size:17px;color:var(--ink);padding:4px 0;
}
.search-input::placeholder{color:var(--muted)}
.search-close{
  border:0;background:transparent;cursor:pointer;color:var(--muted);
  font-size:18px;line-height:1;width:32px;height:32px;border-radius:8px;
}
.search-close:hover{background:var(--line);color:var(--ink)}
.search-status{margin:0;padding:10px 18px 0;font-size:13px;color:var(--muted)}
.search-results{list-style:none;margin:0;padding:8px;overflow-y:auto}
.search-results li{
  padding:11px 12px;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:3px;
}
.search-results li:hover,.search-results li.sel{background:#eef4ff}
.sr-title{font-weight:700;color:var(--brand);font-size:15px}
.sr-snip{font-size:13px;color:var(--ink-2);line-height:1.45}
.search-results mark{background:#fde68a;color:inherit;border-radius:3px;padding:0 1px}

/* RTL */
html[dir="rtl"] .search-results li,
.search-overlay[dir="rtl"] .search-results li{text-align:right}

/* high-contrast support */
html.a11y-contrast .search-btn{background:#000 !important;color:#fff !important;border:2px solid #000 !important}
html.a11y-contrast .search-btn svg{stroke:#fff !important}
html.a11y-contrast .search-modal{border:2px solid #000 !important}
html.a11y-contrast .search-results mark{background:#ffec99 !important;color:#000 !important}
