/*
Theme Name:  SmartWTI Enterprise
Theme URI:   https://smartwti.com
Description: AI-powered climate infrastructure & sustainability intelligence platform. Fully Elementor-editable. PHP 7.4+ compatible. v15.0 — Enterprise hardened build: 32 Elementor-editable page templates, bilingual EN/AR (RTL), enterprise mega menu, AI chatbot, ACF dynamic fields, 9 CPTs, full homepage PHP fallback, canvas template, LiteSpeed optimised. testsite: test.smartwti.com
Version:     15.0.0
Author:      SmartWTI — Way To Innovation
Author URI:  https://smartwti.com
Text Domain: smartwti
Tags:        elementor, enterprise, climate-tech, rtl-language-support, sustainability, iot, esg
Requires PHP: 7.4
Requires at least: 6.0
Tested up to: 6.7
*/

/* ═══════════════════════════════════════════════════════
   SMARTWTI BRAND COLORS — v4-FINAL palette
   Primary gradient: #D4145A → #FBB03B  (Warm Sunrise)
   ═══════════════════════════════════════════════════════ */
:root {
  --sw-red:         #D4145A;
  --sw-amber:       #FBB03B;
  --sw-purple:      #662D8C;
  --sw-blue:        #29ABE2;
  --sw-navy:        #071a2f;
  --sw-navy-2:      #0b2a4a;
  --sw-teal:        #00c6a2;
  --sw-teal-dark:   #00a385;
  --sw-green:       #059669;

  --sw-gradient:    linear-gradient(135deg, #D4145A 0%, #FBB03B 100%);
  --sw-gradient-h:  linear-gradient(90deg,  #D4145A 0%, #FBB03B 100%);
  --sw-gradient-r:  linear-gradient(135deg, #FBB03B 0%, #D4145A 100%);
  --sw-gradient-dk: linear-gradient(135deg, #071a2f 0%, #0b2a4a 100%);
  --sw-gradient-ai: linear-gradient(135deg, #29ABE2 0%, #662D8C 100%);
  --sw-gradient-eco: linear-gradient(135deg, #059669 0%, #00c6a2 100%);

  --sw-white:     #ffffff;
  --sw-off:       #f7f9fc;
  --sw-gray-100:  #eef1f5;
  --sw-gray-400:  #8896a8;
  --sw-gray-700:  #3d4f63;
  --sw-border:    #e2e8f0;

  --font-en: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-ar: 'Cairo', 'Noto Sans Arabic', sans-serif;

  --fs-hero: clamp(2.2rem, 5.5vw, 4rem);
  --fs-h1:   clamp(1.8rem, 4vw, 3rem);
  --fs-h2:   clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:   clamp(1.1rem, 2vw, 1.35rem);
  --fs-body: 1rem;
  --lh:      1.65;

  --sp:    clamp(48px, 7vw, 100px);
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  --sh-sm:    0 2px 8px rgba(0,0,0,.06);
  --sh-md:    0 4px 20px rgba(0,0,0,.09);
  --sh-lg:    0 8px 40px rgba(0,0,0,.13);
  --sh-xl:    0 16px 60px rgba(0,0,0,.18);
  --sh-brand: 0 8px 32px rgba(212,20,90,.25);
  --sh-glow:  0 0 30px rgba(212,20,90,.15);
  --sh-teal:  0 8px 32px rgba(0,198,162,.25);
  --sh-mega:  0 24px 80px rgba(7,26,47,.22);

  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .25s;

  --max-w:    1280px;
  --header-h: 76px;
}

/* ═══ RESET ══════════════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family:var(--font-en);
  font-size:var(--fs-body);
  color:var(--sw-gray-700);
  background:#fff;
  line-height:var(--lh);
  overflow-x:hidden;
}
body.lang-ar { font-family:var(--font-ar); direction:rtl; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--sw-red); text-decoration:none; transition:color var(--t) var(--ease); }
a:hover { color:var(--sw-blue); }
h1,h2,h3,h4,h5,h6 {
  font-family:var(--font-en);
  font-weight:800;
  line-height:1.15;
  color:var(--sw-navy);
  letter-spacing:-.015em;
}
body.lang-ar h1,body.lang-ar h2,body.lang-ar h3 { font-family:var(--font-ar); }
h1 { font-size:var(--fs-h1); }
h2 { font-size:var(--fs-h2); }
h3 { font-size:var(--fs-h3); }
p  { line-height:var(--lh); }
:focus-visible { outline:3px solid var(--sw-red); outline-offset:3px; border-radius:4px; }

/* ═══ LAYOUT ══════════════════════════════════════════════ */
.container     { max-width:var(--max-w); margin:0 auto; padding:0 1.5rem; }
.container--sm { max-width:820px; margin:0 auto; padding:0 1.5rem; }
.section       { padding:var(--sp) 1.5rem; }
.section--alt  { background:var(--sw-off); }
.section--dark { background:var(--sw-navy); color:#fff; }
.section--dark h1,.section--dark h2,.section--dark h3 { color:#fff; }
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.5rem; }
.grid-4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.5rem; }

/* ═══ TYPOGRAPHY ══════════════════════════════════════════ */
.section-header { max-width:700px; margin:0 auto 3rem; text-align:center; }
.section-header p { color:var(--sw-gray-400); margin-top:.65rem; font-size:1.05rem; }
.overline {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.72rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--sw-red);
  margin-bottom:.65rem;
}
.overline::before { content:''; width:18px; height:2px; background:var(--sw-gradient-h); border-radius:99px; }
.text-gradient {
  background:var(--sw-gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.text-gradient-ai {
  background:var(--sw-gradient-ai);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.text-gradient-eco {
  background:var(--sw-gradient-eco);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ═══ BUTTONS ══════════════════════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  gap:.45rem; padding:13px 28px; border:2px solid transparent;
  border-radius:var(--r-sm); font-family:inherit; font-weight:700;
  font-size:.92rem; cursor:pointer; transition:all var(--t) var(--ease);
  text-decoration:none; white-space:nowrap;
}
.btn-primary { background:var(--sw-gradient); color:#fff; padding:13px 30px; border-radius:var(--r-sm); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:var(--sh-brand); color:#fff; }
.btn-secondary { background:transparent; color:var(--sw-navy); border-color:var(--sw-navy); padding:11px 28px; border-radius:var(--r-sm); }
.btn-secondary:hover { background:var(--sw-navy); color:#fff; transform:translateY(-1px); }
.btn-outline-white { background:transparent; color:#fff; border-color:rgba(255,255,255,.5); padding:11px 28px; border-radius:var(--r-sm); }
.btn-outline-white:hover { background:rgba(255,255,255,.12); border-color:#fff; color:#fff; }
.btn-teal { background:var(--sw-teal); color:#fff; padding:13px 30px; border-radius:var(--r-sm); }
.btn-teal:hover { background:var(--sw-teal-dark); color:#fff; transform:translateY(-1px); }
.btn-dark { background:transparent; color:var(--sw-navy); border-color:var(--sw-navy); padding:11px 28px; border-radius:var(--r-sm); }
.btn-dark:hover { background:var(--sw-navy); color:#fff; transform:translateY(-1px); }
.btn-sm  { padding:8px 18px;  font-size:.84rem; border-radius:var(--r-sm); }
.btn-lg  { padding:15px 34px; font-size:1.05rem; }
.btn-xl  { padding:17px 40px; font-size:1.08rem; border-radius:10px; }
.btn-full{ width:100%; justify-content:center; }

/* ═══ HEADER ══════════════════════════════════════════════ */
#site-header {
  position:fixed; top:0; left:0; right:0; z-index:9000;
  background:rgba(7,26,47,.96);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:box-shadow .3s var(--ease);
}
#site-header.scrolled { box-shadow:0 4px 32px rgba(0,0,0,.28); }
.header-inner {
  max-width:var(--max-w); margin:0 auto; padding:0 1.5rem;
  display:flex; align-items:center; gap:1.25rem; height:var(--header-h);
}

/* Logo */
.site-logo { display:flex; align-items:center; gap:.6rem; text-decoration:none; flex-shrink:0; }
.logo-mark {
  width:38px; height:38px; border-radius:10px;
  background:var(--sw-gradient);
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-weight:900; color:#fff; letter-spacing:-.03em;
}
.logo-text { display:flex; flex-direction:column; line-height:1; }
.logo-text strong { font-size:.88rem; font-weight:900; color:#fff; letter-spacing:-.01em; }
.logo-text em { font-style:normal; font-size:.56rem; letter-spacing:.1em; text-transform:uppercase; color:var(--sw-teal); margin-top:2px; }

/* ═══ PRIMARY NAV ══════════════════════════════════════════ */
.primary-nav { list-style:none; display:flex; align-items:center; gap:.1rem; margin-left:auto; }
.primary-nav>li>a {
  display:flex; align-items:center; gap:.3rem;
  padding:.45rem .85rem; border-radius:7px;
  font-size:.84rem; font-weight:600; color:rgba(255,255,255,.82);
  transition:all .2s var(--ease); white-space:nowrap; text-decoration:none;
}
.primary-nav>li>a:hover { color:#fff; background:rgba(255,255,255,.09); }
.primary-nav>li.current>a { color:var(--sw-amber); }
.nav-arrow { font-size:.55rem; opacity:.55; transition:transform .2s; display:inline-block; }
.has-mega:hover .nav-arrow { transform:rotate(180deg); }

/* ═══ MEGA MENU — RICH REDESIGN v9 ════════════════════════ */

/* Base container */
.mega-menu {
  display:none;
  position:absolute;
  top:calc(100% + 0px);
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  border-radius:0 0 20px 20px;
  box-shadow:var(--sh-mega);
  border:1px solid rgba(7,26,47,.07);
  border-top:none;
  z-index:9001;
  min-width:880px;
  overflow:hidden;
  /* Smooth entrance */
  opacity:0;
  transform:translateX(-50%) translateY(-6px);
  transition:opacity .22s var(--ease), transform .22s var(--ease);
  pointer-events:none;
}

/* Override: show on hover */
.has-mega { position:static !important; }
.primary-nav { position:relative; }

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  display:block;
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

/* Two-zone layout: top bar + body */
.mega-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 1.6rem .85rem;
  border-bottom:1px solid var(--sw-gray-100);
}
.mega-header-title {
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--sw-gray-400);
}
.mega-header-link {
  font-size:.78rem;
  font-weight:700;
  color:var(--sw-red);
  display:flex;
  align-items:center;
  gap:.3rem;
  transition:gap .2s;
}
.mega-header-link:hover { gap:.55rem; color:var(--sw-red); }

/* Body split: main cols + featured panel */
.mega-body {
  display:grid;
  grid-template-columns:1fr 260px;
}

/* Columns area */
.mega-cols {
  display:grid;
  gap:0;
  padding:1.4rem 1rem 1.4rem 1.4rem;
}
.mega-cols.cols-2 { grid-template-columns:1fr 1fr; }
.mega-cols.cols-3 { grid-template-columns:1fr 1fr 1fr; }

.mega-col-title {
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--sw-gray-400);
  padding:.3rem .75rem .65rem;
  border-bottom:1px solid var(--sw-gray-100);
  margin-bottom:.4rem;
  display:flex;
  align-items:center;
  gap:.4rem;
}
.mega-col-title-icon { font-size:.9rem; }

/* Each mega item */
.mega-item {
  display:flex;
  align-items:flex-start;
  gap:.65rem;
  padding:.6rem .75rem;
  border-radius:10px;
  transition:background .15s, transform .15s;
  text-decoration:none;
  cursor:pointer;
}
.mega-item:hover {
  background:var(--sw-off);
  transform:translateX(3px);
}
.mega-icon {
  width:34px; height:34px;
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem;
  flex-shrink:0;
  background:var(--sw-gray-100);
  transition:background .2s;
}
.mega-item:hover .mega-icon { background:var(--sw-gray-100); }

/* Icon color themes */
.mega-icon.water  { background:rgba(41,171,226,.12); }
.mega-icon.energy { background:rgba(251,176,59,.12); }
.mega-icon.esg    { background:rgba(5,150,105,.12); }
.mega-icon.carbon { background:rgba(0,198,162,.12); }
.mega-icon.iot    { background:rgba(102,45,140,.12); }
.mega-icon.ai     { background:rgba(41,171,226,.12); }
.mega-icon.city   { background:rgba(212,20,90,.1); }
.mega-icon.game   { background:rgba(5,150,105,.1); }
.mega-icon.report { background:rgba(102,45,140,.12); }
.mega-icon.audit  { background:rgba(41,171,226,.1); }

.mega-label strong {
  display:block;
  font-size:.82rem;
  font-weight:700;
  color:var(--sw-navy);
  margin-bottom:2px;
  transition:color .15s;
}
.mega-item:hover .mega-label strong { color:var(--sw-red); }
.mega-label span {
  display:block;
  font-size:.7rem;
  color:var(--sw-gray-400);
  line-height:1.45;
}

/* Badge inside mega */
.mega-badge {
  display:inline-block;
  font-size:.6rem;
  font-weight:700;
  padding:1px 6px;
  border-radius:99px;
  vertical-align:middle;
  margin-left:5px;
}
.mega-badge.new  { background:rgba(5,150,105,.12); color:#059669; }
.mega-badge.hot  { background:rgba(212,20,90,.1);  color:var(--sw-red); }
.mega-badge.beta { background:rgba(41,171,226,.12); color:var(--sw-blue); }

/* Featured panel (right side) */
.mega-featured {
  background:var(--sw-navy);
  padding:1.5rem 1.2rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
  border-left:1px solid rgba(255,255,255,.05);
}
.mega-featured-label {
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.35);
}
.mega-cta-card {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:1rem;
  transition:background .2s;
  text-decoration:none;
  display:block;
}
.mega-cta-card:hover { background:rgba(255,255,255,.09); }
.mega-cta-icon { font-size:1.4rem; margin-bottom:.5rem; }
.mega-cta-title { font-size:.82rem; font-weight:700; color:#fff; margin-bottom:.2rem; }
.mega-cta-desc  { font-size:.7rem; color:rgba(255,255,255,.5); line-height:1.4; }

.mega-stat-row {
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding-top:.75rem;
  border-top:1px solid rgba(255,255,255,.06);
}
.mega-stat-item { display:flex; justify-content:space-between; align-items:center; }
.mega-stat-label { font-size:.68rem; color:rgba(255,255,255,.45); }
.mega-stat-value { font-size:.78rem; font-weight:700; color:var(--sw-teal); font-family:'JetBrains Mono',monospace; }

/* Divider between columns */
.mega-col-divider {
  width:1px;
  background:var(--sw-gray-100);
  margin:0 .5rem;
}

/* ═══ HEADER ACTIONS ══════════════════════════════════════ */
.header-actions { display:flex; align-items:center; gap:.6rem; flex-shrink:0; }
.lang-btn {
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.78); border-radius:6px; padding:.38rem .75rem;
  font-size:.82rem; cursor:pointer; font-family:inherit;
  display:flex; align-items:center; gap:.3rem; transition:background .2s;
  text-decoration:none;
}
.lang-btn:hover { background:rgba(255,255,255,.14); color:#fff; }
.wa-btn {
  width:34px; height:34px; border-radius:50%;
  background:rgba(37,211,102,.15); border:1px solid rgba(37,211,102,.25);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; transition:all .2s; text-decoration:none;
}
.wa-btn:hover { background:rgba(37,211,102,.25); transform:scale(1.08); }

/* ═══ MOBILE NAV ══════════════════════════════════════════ */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:transparent; border:none; cursor:pointer; padding:.4rem;
}
.hamburger span { display:block; width:23px; height:2px; background:rgba(255,255,255,.85); border-radius:99px; transition:all .25s; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position:fixed; top:var(--header-h); left:0; right:0; bottom:0;
  background:var(--sw-navy); z-index:8999; overflow-y:auto;
  padding:1.5rem 1.5rem 3rem;
  transform:translateX(-100%); transition:transform .32s var(--ease);
}
.mobile-nav.open { transform:translateX(0); }
.mobile-nav-list { list-style:none; }
.mobile-nav-list li a {
  display:flex; align-items:center; gap:.6rem;
  padding:.9rem .5rem; color:rgba(255,255,255,.8); font-size:1rem; font-weight:600;
  border-bottom:1px solid rgba(255,255,255,.06); text-decoration:none;
  transition:color .2s;
}
.mobile-nav-list li a:hover { color:var(--sw-teal); }
.mobile-sub {
  padding-left:1.2rem;
  display:none;
}
.mobile-sub.open { display:block; }
.mobile-sub a {
  font-size:.88rem !important;
  color:rgba(255,255,255,.55) !important;
  padding:.6rem .5rem !important;
  border-bottom:none !important;
}
.mobile-sub a:hover { color:var(--sw-teal) !important; }
.mobile-expand { margin-left:auto; font-size:.6rem; transition:transform .2s; }
.mobile-expand.open { transform:rotate(180deg); }

/* ═══ CARDS ═══════════════════════════════════════════════ */
.card {
  background:#fff; border:1px solid var(--sw-gray-100);
  border-radius:var(--r-lg); padding:1.75rem;
  box-shadow:var(--sh-sm);
  transition:transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.card:hover { transform:translateY(-5px); box-shadow:var(--sh-lg); border-color:var(--sw-border); }

.card-glass {
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-lg); padding:1.75rem;
  transition:all .28s var(--ease);
}
.card-glass:hover {
  background:rgba(255,255,255,.1);
  border-color:rgba(0,198,162,.3);
  transform:translateY(-5px);
  box-shadow:var(--sh-teal);
}

/* ═══ TEAM CARDS ══════════════════════════════════════════ */
.team-card {
  background:#fff;
  border:1px solid var(--sw-gray-100);
  border-radius:var(--r-xl);
  overflow:hidden;
  box-shadow:var(--sh-sm);
  transition:all .3s var(--ease);
  text-align:center;
}
.team-card:hover { transform:translateY(-6px); box-shadow:var(--sh-lg); border-color:rgba(212,20,90,.15); }

.team-card-photo {
  width:100%; aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}
.team-card-photo-placeholder {
  width:100%; aspect-ratio:1/1;
  background:var(--sw-gradient);
  display:flex; align-items:center; justify-content:center;
  font-size:2.5rem; font-weight:900; color:rgba(255,255,255,.7);
  letter-spacing:-.03em;
}
.team-card-body { padding:1.25rem 1.25rem 1.5rem; }
.team-card-name { font-size:1rem; font-weight:800; color:var(--sw-navy); margin-bottom:.15rem; }
.team-card-role { font-size:.8rem; color:var(--sw-gray-400); font-weight:500; margin-bottom:.75rem; }
.team-card-bio  { font-size:.8rem; color:var(--sw-gray-400); line-height:1.55; margin-bottom:.85rem; }
.team-card-links { display:flex; justify-content:center; gap:.5rem; }
.team-link {
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--sw-gray-100); font-size:.75rem; color:var(--sw-gray-700);
  transition:all .2s;
  text-decoration:none;
}
.team-link:hover { background:var(--sw-gradient); color:#fff; }
.team-card-dept {
  display:inline-flex; align-items:center;
  background:rgba(212,20,90,.07);
  color:var(--sw-red); border-radius:99px;
  font-size:.68rem; font-weight:700;
  padding:2px 10px; margin-bottom:.5rem;
}

/* ═══ INNOVATION SECTION ══════════════════════════════════ */
.innovation-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:center;
}
.innovation-pills {
  display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.5rem;
}
.pill {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.35rem .9rem; border-radius:99px; font-size:.78rem; font-weight:600;
  border:1.5px solid;
  transition:all .2s;
}
.pill-ai     { color:var(--sw-blue);   border-color:rgba(41,171,226,.3);  background:rgba(41,171,226,.07); }
.pill-ml     { color:var(--sw-purple); border-color:rgba(102,45,140,.3);  background:rgba(102,45,140,.07); }
.pill-iot    { color:var(--sw-teal);   border-color:rgba(0,198,162,.3);   background:rgba(0,198,162,.07); }
.pill-esg    { color:var(--sw-green);  border-color:rgba(5,150,105,.3);   background:rgba(5,150,105,.07); }
.pill-nlp    { color:var(--sw-amber);  border-color:rgba(251,176,59,.3);  background:rgba(251,176,59,.07); }
.pill-edge   { color:var(--sw-red);    border-color:rgba(212,20,90,.25);  background:rgba(212,20,90,.06); }

.innovation-stats {
  display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1.75rem;
}
.innovation-stat {
  background:var(--sw-off);
  border-radius:var(--r-md);
  padding:1rem 1.2rem;
  border:1px solid var(--sw-gray-100);
}
.innovation-stat-num {
  font-size:1.8rem; font-weight:900;
  background:var(--sw-gradient);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  line-height:1; margin-bottom:.2rem;
}
.innovation-stat-label { font-size:.76rem; color:var(--sw-gray-400); font-weight:500; }

.ai-feature-card {
  background:var(--sw-navy);
  border-radius:var(--r-xl);
  padding:1.75rem;
  border:1px solid rgba(255,255,255,.06);
  position:relative; overflow:hidden;
}
.ai-feature-card::before {
  content:'';
  position:absolute; top:-40px; right:-40px;
  width:160px; height:160px;
  background:radial-gradient(circle, rgba(41,171,226,.15) 0%, transparent 70%);
  pointer-events:none;
}
.ai-feature-list { list-style:none; display:flex; flex-direction:column; gap:.85rem; margin-top:1.25rem; }
.ai-feature-item {
  display:flex; align-items:flex-start; gap:.75rem;
  padding:.75rem; background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07); border-radius:var(--r-md);
  transition:background .2s;
}
.ai-feature-item:hover { background:rgba(255,255,255,.08); }
.ai-feature-icon {
  width:36px; height:36px; border-radius:9px; flex-shrink:0;
  background:var(--sw-gradient-ai);
  display:flex; align-items:center; justify-content:center;
  font-size:.95rem;
}
.ai-feature-text strong { display:block; font-size:.84rem; font-weight:700; color:#fff; margin-bottom:2px; }
.ai-feature-text span   { font-size:.73rem; color:rgba(255,255,255,.45); line-height:1.4; }

/* ═══ HERO ═════════════════════════════════════════════════ */
.site-hero {
  min-height:92vh; display:flex; align-items:center;
  position:relative; overflow:hidden;
  background:var(--sw-gradient-dk);
  padding-top:var(--header-h);
}
.site-hero::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(41,171,226,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212,20,90,.06) 0%, transparent 70%);
  pointer-events:none;
}
.hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  border-radius:99px; padding:.35rem 1rem;
  font-size:.75rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:rgba(255,255,255,.7);
  margin-bottom:1.2rem;
}
.hero-dot { width:7px; height:7px; background:var(--sw-teal); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,198,162,.4);} 50%{box-shadow:0 0 0 7px rgba(0,198,162,0);} }
.hero-title { font-size:var(--fs-hero); color:#fff; line-height:1.1; margin-bottom:1.2rem; letter-spacing:-.03em; }
.hero-desc  { font-size:1.05rem; color:rgba(255,255,255,.62); line-height:var(--lh); max-width:480px; margin-bottom:2rem; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.hero-dashboard {
  background:rgba(255,255,255,.06); backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.1); border-radius:var(--r-xl);
  padding:1.5rem; animation:float 7s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }

/* KPI strip */
.kpi-strip { padding:3rem 0; background:var(--sw-gradient-dk); border-bottom:1px solid rgba(255,255,255,.05); }
.kpi-grid  { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.kpi-item  { text-align:center; padding:1.5rem 1rem; }
.kpi-num   { font-size:clamp(2rem,4vw,3rem); font-weight:900; color:#fff; line-height:1; margin-bottom:.3rem; }
.kpi-num span { background:var(--sw-gradient-h); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.kpi-label { font-size:.78rem; color:rgba(255,255,255,.45); font-weight:500; text-transform:uppercase; letter-spacing:.07em; }

/* ═══ FOOTER ══════════════════════════════════════════════ */
#site-footer { background:var(--sw-navy); color:rgba(255,255,255,.6); padding-top:4rem; }
.footer-bar  { height:3px; background:var(--sw-gradient-h); margin-bottom:4rem; }
.footer-grid {
  max-width:var(--max-w); margin:0 auto; padding:0 1.5rem;
  display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:3rem;
}
.footer-col h4 { color:#fff; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.2rem; }
.footer-links  { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.footer-links a { color:rgba(255,255,255,.5); font-size:.88rem; transition:color .2s; text-decoration:none; }
.footer-links a:hover { color:var(--sw-teal); }
.footer-desc  { font-size:.85rem; line-height:1.7; margin-bottom:1.25rem; }
.footer-socials { display:flex; gap:.5rem; }
.social-link {
  width:34px; height:34px; border-radius:8px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.55); font-size:.8rem; font-weight:700;
  transition:all .2s; text-decoration:none;
}
.social-link:hover { background:var(--sw-gradient); color:#fff; border-color:transparent; }
.footer-bottom {
  max-width:var(--max-w); margin:3rem auto 0; padding:1.25rem 1.5rem;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
}
.footer-copy { font-size:.8rem; color:rgba(255,255,255,.3); }
.footer-legal { display:flex; gap:1.5rem; }
.footer-legal a { font-size:.8rem; color:rgba(255,255,255,.3); transition:color .2s; }
.footer-legal a:hover { color:var(--sw-teal); }

/* ═══ UTILITY ══════════════════════════════════════════════ */
.badge {
  display:inline-flex; align-items:center; padding:3px 10px;
  border-radius:99px; font-size:.7rem; font-weight:700; letter-spacing:.04em;
}
.badge-brand { background:rgba(212,20,90,.1); color:var(--sw-red); border:1px solid rgba(212,20,90,.2); }
.badge-teal  { background:rgba(0,198,162,.1);  color:var(--sw-teal); border:1px solid rgba(0,198,162,.2); }
.badge-blue  { background:rgba(41,171,226,.1);  color:var(--sw-blue); border:1px solid rgba(41,171,226,.2); }
.badge-green { background:rgba(5,150,105,.1);   color:var(--sw-green); border:1px solid rgba(5,150,105,.2); }

/* ═══ RESPONSIVE ══════════════════════════════════════════ */
@media(max-width:1100px) {
  .primary-nav,.has-mega .mega-menu { display:none; }
  .hamburger { display:flex; }
  .hero-inner { grid-template-columns:1fr; }
  .hero-dashboard { display:none; }
  .innovation-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .kpi-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:680px) {
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; text-align:center; justify-content:center; }
  .kpi-grid { grid-template-columns:1fr 1fr; }
  .innovation-stats { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

/* RTL Adjustments */
body.lang-ar .primary-nav { flex-direction:row-reverse; }
body.lang-ar .mega-item:hover { transform:translateX(-3px); }
body.lang-ar .footer-grid { direction:rtl; }
body.lang-ar .overline::before { order:1; }

/* ════════════════════════════════════════════════════════
   HEADER OFFSET — v10.3 CORRECT APPROACH
   The fixed header (76px tall) creates an offset.
   DO NOT apply padding-top to PHP template wrappers —
   it conflicts with Elementor's own layout engine.

   Instead: in Elementor editor, set padding-top on the
   FIRST section of each page to 76px (or use the
   "Sticky header height" approach below).

   For PHP fallback pages only, we add padding-top via
   an inline style on the wrapping div.
   ════════════════════════════════════════════════════════ */

/* Elementor full-width sections: no horizontal overflow */
.elementor-section.elementor-section-full_width {
    overflow-x: hidden;
}

/* Ensure Elementor canvas pages (no header) have no extra offset */
body.elementor-page-template-canvas #site-content {
    padding-top: 0 !important;
}

/* Footer column responsive */
@media (max-width: 900px) {
    .footer-grid-wrap { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
    .footer-grid-wrap { grid-template-columns: 1fr !important; }
}


/* ════════════════════════════════════════════════════════════════
   SMARTWTI v11.0 — VIDEO, MOBILE-FIRST & INTERACTIVE DESIGN SYSTEM
   ════════════════════════════════════════════════════════════════ */

/* ── VIDEO COMPONENTS ──────────────────────────────────────────── */

/* Responsive video wrapper — maintains aspect ratio */
.swti-video-wrap {
  position: relative;
  width: 100%;
  background: var(--sw-navy);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.swti-video-wrap.ratio-16-9  { padding-bottom: 56.25%; }
.swti-video-wrap.ratio-4-3   { padding-bottom: 75%; }
.swti-video-wrap.ratio-1-1   { padding-bottom: 100%; }
.swti-video-wrap iframe,
.swti-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Video thumbnail play-on-click wrapper */
.swti-video-thumb {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: var(--sw-navy);
}
.swti-video-thumb img {
  width: 100%; height: auto; display: block;
  transition: transform .4s ease, filter .4s ease;
}
.swti-video-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(.8);
}
.swti-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .25s;
}
.swti-video-thumb:hover .swti-video-play-btn { background: rgba(0,0,0,.45); }
.swti-video-play-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--sw-gradient);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(212,20,90,.4);
  transition: transform .25s, box-shadow .25s;
}
.swti-video-thumb:hover .swti-video-play-icon {
  transform: scale(1.12);
  box-shadow: 0 12px 48px rgba(212,20,90,.55);
}
.swti-video-play-icon svg { margin-left: 5px; }

/* Video badge overlaid on thumbnail */
.swti-video-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(7,26,47,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: .3rem .8rem;
  font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .06em; text-transform: uppercase;
}

/* Video section wrapper — full-width cinematic */
.swti-video-section {
  position: relative;
  background: var(--sw-navy);
  overflow: hidden;
}
.swti-video-section .video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
  pointer-events: none;
}
.swti-video-section .container { position: relative; z-index: 1; }

/* Video grid — 2-col on desktop, 1-col on mobile */
.swti-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── MOBILE-FIRST INTERACTIVE DESIGN SYSTEM ─────────────────── */

/* Touch active state */
.sw-touch-active {
  transform: scale(.97) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.15) !important;
  transition: transform .1s, box-shadow .1s !important;
}

/* Horizontal scroll container — touch-friendly */
.swti-h-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.swti-h-scroll::-webkit-scrollbar { display: none; }
.swti-h-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Scroll indicator dots */
.swti-scroll-dots {
  display: flex; gap: .4rem; justify-content: center; margin-top: 1rem;
}
.swti-scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sw-gray-400); transition: all .25s;
}
.swti-scroll-dot.active { width: 20px; border-radius: 3px; background: var(--sw-red); }

/* Mobile card — full-width swipeable */
.swti-mobile-card {
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--sw-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.swti-mobile-card:hover,
.swti-mobile-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

/* Mobile stats strip — 2×2 grid on mobile */
.swti-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sw-border);
  border: 1px solid var(--sw-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.swti-stat-cell {
  background: #fff;
  padding: 1.25rem 1rem;
  text-align: center;
}
.swti-stat-num {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  background: var(--sw-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; display: block;
}
.swti-stat-label {
  font-size: .72rem; color: var(--sw-gray-400);
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-top: .25rem; display: block;
}

/* Floating action button (mobile CTA always visible) */
.swti-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 900;
  background: var(--sw-gradient);
  color: #fff; font-weight: 700; font-size: .85rem;
  padding: .85rem 1.5rem;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(212,20,90,.35);
  text-decoration: none;
  display: none; align-items: center; gap: .5rem;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.swti-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,20,90,.45); }
@media (max-width: 900px) { .swti-fab { display: flex; } }
@media (max-width: 500px) { .swti-fab { bottom: 1rem; right: 1rem; padding: .75rem 1.25rem; font-size: .8rem; } }

/* Accordion (mobile FAQ) */
.swti-accordion { border: 1px solid var(--sw-border); border-radius: var(--r-lg); overflow: hidden; }
.swti-accordion-btn {
  width: 100%; background: #fff; border: none;
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-en); font-size: .95rem; font-weight: 600;
  color: var(--sw-navy); cursor: pointer;
  border-top: 1px solid var(--sw-border); text-align: left;
  transition: background .2s;
}
.swti-accordion-btn:first-child { border-top: none; }
.swti-accordion-btn:hover { background: var(--sw-off); }
.swti-accordion-btn[aria-expanded="true"] { color: var(--sw-red); }
.swti-accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sw-gray-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: transform .25s, background .25s;
}
.swti-accordion-btn[aria-expanded="true"] .acc-icon { background: var(--sw-gradient); color: #fff; }
.swti-accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  background: var(--sw-off);
}
.swti-accordion-content {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .9rem; color: var(--sw-gray-700); line-height: 1.7;
}

/* Sticky CTA bar (mobile only) */
.swti-sticky-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--sw-navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .75rem 1rem;
  gap: .75rem;
}
@media (max-width: 680px) {
  .swti-sticky-cta-bar { display: flex; }
  .swti-sticky-cta-bar .btn { flex: 1; text-align: center; justify-content: center; font-size: .82rem; padding: .7rem 1rem; }
  /* Avoid overlap with sticky bar */
  body { padding-bottom: 70px; }
}

/* Tab navigation — touch-friendly */
.swti-tabs-nav {
  display: flex;
  gap: .375rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: .25rem;
  background: var(--sw-off);
  border-radius: var(--r-lg);
  margin-bottom: 1.5rem;
}
.swti-tabs-nav::-webkit-scrollbar { display: none; }
.swti-tab-btn {
  flex: 0 0 auto;
  padding: .55rem 1.1rem;
  border: none; border-radius: var(--r-md);
  background: transparent; font-family: var(--font-en);
  font-size: .83rem; font-weight: 600; color: var(--sw-gray-400);
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.swti-tab-btn.active,
.swti-tab-btn:hover {
  background: #fff;
  color: var(--sw-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.swti-tab-btn.active { color: var(--sw-red); }
.swti-tab-panel { display: none; }
.swti-tab-panel.active { display: block; }

/* Swipeable card carousel */
.swti-carousel {
  position: relative;
  overflow: hidden;
}
.swti-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.swti-carousel-item {
  flex: 0 0 calc(33.33% - 1rem);
  min-width: 0;
}
.swti-carousel-nav {
  display: flex; gap: .5rem; justify-content: center; margin-top: 1.25rem;
}
.swti-carousel-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sw-off); border: 1px solid var(--sw-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; font-size: .8rem; color: var(--sw-navy);
}
.swti-carousel-btn:hover { background: var(--sw-gradient); color: #fff; border-color: transparent; }

/* ── TABLET-SPECIFIC STYLES (768px–1100px) ──────────────────── */

@media (min-width: 768px) and (max-width: 1100px) {
  .swti-video-grid { grid-template-columns: 1fr; }
  .swti-carousel-item { flex: 0 0 calc(50% - .75rem); }
  .swti-stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Tablet cards: 2 per row with better spacing */
  .sol-card, .service-card { min-height: 220px; }
  /* Tablet: mega menu as vertical accordion */
  .has-mega .mega-menu {
    position: static; box-shadow: none;
    border-top: 1px solid var(--sw-border);
  }
}

/* ── MOBILE-SPECIFIC STYLES (< 768px) ───────────────────────── */

@media (max-width: 768px) {
  /* Section padding tighter on mobile */
  .section, .section--light, .section--dark, .section--alt {
    padding: 2.5rem 0 !important;
  }
  /* Video grid: single column */
  .swti-video-grid { grid-template-columns: 1fr; }
  /* Stats: 2×2 grid */
  .swti-stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Carousel: 1 card at a time */
  .swti-carousel-item { flex: 0 0 calc(100% - 0px); }
  /* Video play button smaller on mobile */
  .swti-video-play-icon { width: 52px; height: 52px; }
  /* Hero improvements on mobile */
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { min-width: 160px; }
  /* KPI grid: 2×2 on mobile */
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .kpi-item { padding: 1rem .75rem; }
  .kpi-num { font-size: 1.8rem; }
  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Solutions grid: 1 column */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* Typography adjustments */
  h1, .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
  h2 { font-size: clamp(1.35rem, 5vw, 1.8rem) !important; }
  /* Card spacing */
  .sol-card, .service-card, .case-card { padding: 1.25rem; }
  /* Mega menu: disabled on mobile */
  .mega-menu { display: none !important; }
  /* Mobile nav improvements */
  .mobile-nav { padding: 1.5rem 1.25rem; }
  .mobile-nav-list a { font-size: 1rem; padding: .7rem 0; }
  /* Make all buttons full width on small screens */
  .btn-demo-header { padding: .6rem 1.1rem; font-size: .8rem; }
  /* Scroll-to-top button */
  .swti-scroll-top {
    display: flex; width: 40px; height: 40px;
    position: fixed; bottom: 5rem; right: 1rem; z-index: 700;
    background: var(--sw-navy); border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem; cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .swti-scroll-top.visible { opacity: 1; pointer-events: all; }
}

/* ── INTERACTIVE STATES & ANIMATIONS ───────────────────────── */

/* Card hover lift — all interactive cards */
.sol-card,
.service-card,
.case-card,
.sector-card,
.swti-mobile-card {
  transition: transform .22s cubic-bezier(.4,0,.2,1),
              box-shadow .22s cubic-bezier(.4,0,.2,1),
              border-color .22s;
}
.sol-card:hover,
.service-card:hover,
.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  border-color: rgba(212,20,90,.2);
}

/* Image cards with overlay on hover */
.swti-img-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: block;
}
.swti-img-card img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform .4s, filter .4s;
  display: block;
}
.swti-img-card:hover img { transform: scale(1.05); filter: brightness(.85); }
.swti-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(7,26,47,.92) 0%, transparent 100%);
  padding: 1.5rem 1.25rem .75rem;
  transform: translateY(8px);
  transition: transform .3s;
}
.swti-img-card:hover .swti-img-overlay { transform: translateY(0); }

/* Pulse animation for live data indicators */
.swti-live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sw-teal);
  margin-right: .4rem;
  animation: swti-pulse 1.8s infinite;
}
@keyframes swti-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,198,162,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0,198,162,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,198,162,0); }
}

/* Number animation fade-in */
@keyframes swti-count-in {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:translateY(0); }
}
.swti-count-ready { animation: swti-count-in .4s ease both; }

/* Gradient text utility */
.swti-gradient-text {
  background: var(--sw-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.swti-gradient-text-ai {
  background: var(--sw-gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.swti-gradient-text-eco {
  background: var(--sw-gradient-eco);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism card */
.swti-glass-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
}

/* Progress bar (ESG metrics) */
.swti-progress {
  height: 6px; border-radius: 3px;
  background: var(--sw-gray-100);
  overflow: hidden; margin: .5rem 0;
}
.swti-progress-fill {
  height: 100%; border-radius: 3px;
  background: var(--sw-gradient);
  width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.swti-progress-fill.animate { width: var(--pct, 0%); }

/* Timeline dots */
.swti-timeline { position: relative; padding-left: 2rem; }
.swti-timeline::before {
  content: ''; position: absolute;
  left: .5rem; top: 0; bottom: 0;
  width: 2px; background: var(--sw-gradient);
  border-radius: 1px;
}
.swti-timeline-item {
  position: relative; margin-bottom: 2rem;
}
.swti-timeline-dot {
  position: absolute; left: -1.6rem; top: .25rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sw-red);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(212,20,90,.2);
}

/* ── MULTILINGUAL — TranslatePress + Polylang enhancements ── */

/* Ensure TranslatePress language switcher inherits brand styles */
.trp-language-switcher,
.trp-ls-shortcode-language-switcher {
  font-family: var(--font-en) !important;
}
.lang-ar .trp-language-switcher,
.lang-ar .trp-ls-shortcode-language-switcher {
  font-family: var(--font-ar) !important;
  direction: rtl;
}

/* Polylang language switcher */
.lang-item a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* RTL: mirror icons and flex directions */
body.lang-ar .swti-timeline { padding-left: 0; padding-right: 2rem; }
body.lang-ar .swti-timeline::before { left: auto; right: .5rem; }
body.lang-ar .swti-timeline-dot { left: auto; right: -1.6rem; }
body.lang-ar .swti-live-dot { margin-right: 0; margin-left: .4rem; }
body.lang-ar .swti-accordion-btn { text-align: right; flex-direction: row-reverse; }
body.lang-ar .swti-tab-btn { font-family: var(--font-ar); }
body.lang-ar .swti-stat-label { font-family: var(--font-ar); letter-spacing: 0; }
body.lang-ar .swti-h-scroll { direction: rtl; }

/* ── PLYR VIDEO PLAYER BRAND OVERRIDES ──────────────────────── */
.plyr--video .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true],
.plyr__control.plyr__tab-focus,
.plyr__control:hover {
  background: var(--sw-red) !important;
}
.plyr--full-ui input[type=range] { color: var(--sw-red) !important; }

/* ── SCROLL-TO-TOP BUTTON ─────────────────────────────────────── */
.swti-scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem; z-index: 750;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sw-navy);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.swti-scroll-top.visible { opacity: 1; pointer-events: all; }
.swti-scroll-top:hover { background: var(--sw-gradient); transform: translateY(-2px); border-color: transparent; }

/* ── PRINT / ACCESSIBILITY ────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  /* Optional: respect system dark mode preference */
  /* Intentionally not inverting — dark theme is brand choice */
}
@media (forced-colors: active) {
  .btn-primary, .btn-demo-header { forced-color-adjust: none; }
}
@media print {
  .swti-fab, .swti-sticky-cta-bar, .swti-scroll-top,
  #site-header, .swti-video-section { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* ═══ FOOTER REFACTORED CLASSES ══════════════════════════════════════════════ */
.footer-grid-wrap { max-width: var(--max-w); margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand-link { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-bottom: 1.25rem; }
.footer-brand-name { font-size: .88rem; color: #fff; }
.footer-brand-teal { color: var(--sw-teal); }
.footer-brand-tag { font-style: normal; font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sw-teal); }
.footer-brand-desc { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1.25rem; max-width: 265px; }
.footer-contact-links { gap: .75rem; }
.footer-address { color: rgba(255,255,255,.35); font-size: .84rem; }
.footer-demo-btn { display: inline-flex; margin-top: 1.1rem; padding: 9px 20px; background: var(--sw-gradient); color: #fff; border-radius: 7px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.footer-certs-wrap { max-width: var(--max-w); margin: 0 auto; padding: 1.1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.06); display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.footer-cert-badge { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 5px; padding: 3px 9px; font-size: .66rem; color: rgba(255,255,255,.38); font-weight: 600; }
.footer-bottom-bar { max-width: var(--max-w); margin: 0 auto; padding: 1.1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.04); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal-links a { font-size: .78rem; color: rgba(255,255,255,.25); text-decoration: none; }
.footer-col-title { color: #fff; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-en, 'Plus Jakarta Sans', sans-serif); }
.footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.55rem; }
.footer-links a { color:rgba(255,255,255,.45); font-size:.84rem; text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--sw-teal, #00c6a2); }
@media(max-width:900px){ .footer-grid-wrap{ grid-template-columns:1fr 1fr !important; gap:2rem !important; } }
@media(max-width:560px){ .footer-grid-wrap{ grid-template-columns:1fr !important; } }

/* ═══ FRONT PAGE REFACTORED CLASSES ══════════════════════════════════════════════ */
.home-hero-wrap { padding-top: var(--header-h,80px); }
.home-hero-section { background: var(--sw-gradient-dk); min-height: 80vh; display: flex; align-items: center; padding: 4rem 1.5rem; }
.home-hero-content { max-width: 700px; margin: 0 auto; text-align: center; }
.home-hero-label { display: inline-block; background: var(--sw-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.home-hero-title { color: #fff; font-size: clamp(2rem,5vw,3.5rem); line-height: 1.15; margin-bottom: 1.25rem; }
.home-hero-title span { background: var(--sw-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.home-hero-desc { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.home-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.home-hero-btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--sw-gradient); color: #fff; font-weight: 700; padding: .875rem 2rem; border-radius: 2rem; text-decoration: none; font-size: .95rem; }
.home-hero-btn-secondary { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; padding: .875rem 2rem; border-radius: 2rem; text-decoration: none; font-size: .95rem; }
.home-hero-kpis { margin-top: 4rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.home-hero-kpi-val { font-size: 1.75rem; font-weight: 800; background: var(--sw-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.home-hero-kpi-label { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: .25rem; }
.home-hero-note { color: rgba(255,255,255,.3); font-size: .8rem; margin-top: 3rem; }

/* ═══ SHORTCODE REFACTORED CLASSES ══════════════════════════════════════════════ */
.sc-sol-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.sc-sol-title { font-size: 1.05rem; margin-bottom: .6rem; }
.sc-sol-desc { color: #8896a8; font-size: .88rem; line-height: 1.65; margin-bottom: 1rem; }
.sc-sol-feats { list-style: none; padding: 0; margin-bottom: 1rem; }
.sc-sol-feat { font-size: .8rem; color: #8896a8; margin-bottom: .25rem; }
.sc-sol-roi { font-size: .75rem; font-weight: 700; color: #00c6a2; margin-bottom: 1rem; }

.sc-case-client { font-size: .7rem; font-weight: 700; color: #00c6a2; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.sc-case-title { font-size: 1rem; margin-bottom: .5rem; }
.sc-case-desc { color: #8896a8; font-size: .85rem; line-height: 1.65; margin-bottom: .75rem; }

.sc-test-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.sc-test-card { background: #f7f9fc; border-radius: 16px; padding: 32px; border-left: 4px solid #D4145A; }
.sc-test-stars { color: #FBB03B; font-size: 1.1rem; margin-bottom: 12px; }
.sc-test-quote { font-size: 1rem; line-height: 1.7; color: #3d4f63; margin-bottom: 20px; font-style: italic; }
.sc-test-author { font-size: .95rem; color: #071a2f; display: block; }
.sc-test-pos { font-size: .8rem; color: #8896a8; }

.sc-sec-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.sc-sec-card { background: #f7f9fc; border-radius: 12px; padding: 24px; text-align: center; }
.sc-sec-icon { font-size: 2rem; margin-bottom: 12px; }
.sc-sec-title { font-size: .95rem; font-weight: 700; color: #071a2f; margin-bottom: 6px; }
.sc-sec-desc { font-size: .8rem; color: #8896a8; line-height: 1.5; }
.sc-sec-link { font-size: .78rem; color: #D4145A; font-weight: 700; text-decoration: none; display: inline-block; margin-top: 10px; }

.sc-part-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.sc-part-item { display: block; opacity: .7; transition: opacity .3s; }
.sc-part-item:hover { opacity: 1; }
.sc-part-img { height: 48px; width: auto; object-fit: contain; }
.sc-part-text { font-weight: 700; font-size: .9rem; color: #071a2f; }

.sc-team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.sc-team-card { text-align: center; background: #f7f9fc; border-radius: 16px; padding: 32px 24px; }
.sc-team-img-wrap { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.sc-team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sc-team-img-ph { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg,#D4145A,#FBB03B); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.sc-team-name { font-size: 1rem; font-weight: 700; color: #071a2f; margin-bottom: 4px; }
.sc-team-role { font-size: .8rem; color: #D4145A; font-weight: 600; margin-bottom: 8px; }
.sc-team-bio { font-size: .82rem; color: #8896a8; line-height: 1.6; margin-bottom: 12px; }
.sc-team-li { font-size: .78rem; color: #0b5ea8; font-weight: 700; text-decoration: none; }


/* ════════════════════════════════════════════════════════
   SMARTWTI v15.0 — ENTERPRISE UX ADDITIONS
   ════════════════════════════════════════════════════════ */

/* ── ACCESSIBILITY — Focus styles ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--sw-teal);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--sw-teal);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(0,198,162,.2);
}
a:focus-visible { outline-color: var(--sw-teal); }

/* Screen reader only utility */
.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;
}

/* Skip-to-content link */
.swti-skip-link {
  position: absolute;
  top: -40px; left: 1rem;
  background: var(--sw-teal);
  color: var(--sw-navy);
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  z-index: 99999;
  transition: top .2s;
}
.swti-skip-link:focus { top: 0; }

/* ── REDUCED MOTION — respect system preference ───────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .swti-float-anim, [data-aos] { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ── PERFORMANCE — will-change hints for animated elements ───── */
.swti-hero-dashboard,
.home-hero-btn-primary,
.home-hero-btn-secondary,
.btn-primary,
.btn-demo-header,
.sol-card,
.case-card { will-change: transform; }

/* ── GLASSMORPHISM CARDS (v15.0 enterprise upgrade) ─────────── */
.swti-glass-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.swti-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(7,26,47,.30);
  border-color: rgba(0,198,162,.25);
}

/* Dark-section cards */
.swti-dark-card {
  background: rgba(7,26,47,.6);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.swti-dark-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,198,162,.3);
}

/* ── KPI / METRIC CARDS ──────────────────────────────────────── */
.swti-kpi-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--sw-navy-2);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--t) var(--ease);
}
.swti-kpi-card:hover { transform: translateY(-4px); }
.swti-kpi-val {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--sw-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: .4rem;
}
.swti-kpi-label {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  letter-spacing: .04em;
}

/* ── DASHBOARD PREVIEW CARD (Homepage Hero) ──────────────────── */
.swti-dashboard-card {
  background: rgba(7,26,47,.85);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  animation: swtiFloat 6s ease-in-out infinite;
}
@keyframes swtiFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.swti-dashboard-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.swti-dashboard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sw-teal);
  box-shadow: 0 0 8px var(--sw-teal);
  animation: swtiBlink 2s ease-in-out infinite;
}
@keyframes swtiBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
.swti-dashboard-card-title {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.swti-dashboard-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.swti-dashboard-metric {
  background: rgba(255,255,255,.04);
  border-radius: var(--r-md);
  padding: .75rem;
  text-align: center;
}
.swti-dashboard-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sw-teal);
  line-height: 1;
}
.swti-dashboard-metric-lbl {
  font-size: .65rem;
  color: rgba(255,255,255,.35);
  margin-top: .25rem;
}

/* ── TRUST BADGE (Hero section) ──────────────────────────────── */
.swti-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  padding: .5rem 1.25rem;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
}
.swti-trust-badge strong { color: var(--sw-teal); }

/* ── SECTION LAYOUT UTILITIES ────────────────────────────────── */
.swti-section { padding: var(--sp) 1.5rem; }
.swti-section--dark { background: var(--sw-navy); color: #fff; }
.swti-section--darker { background: var(--sw-navy-2); color: #fff; }
.swti-section--light { background: var(--sw-off); }
.swti-section--white { background: #fff; }
.swti-section--gradient { background: var(--sw-gradient); }
.swti-container { max-width: var(--max-w); margin: 0 auto; }
.swti-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; align-items: center; }
.swti-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.swti-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width: 1024px) {
  .swti-grid-4 { grid-template-columns: repeat(2,1fr); }
  .swti-grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .swti-grid-2,
  .swti-grid-3,
  .swti-grid-4 { grid-template-columns: 1fr; }
}

/* ── SECTION HEADER TYPOGRAPHY ────────────────────────────────── */
.swti-section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--sw-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
}
.swti-section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  color: var(--sw-navy);
  margin-bottom: 1rem;
}
.swti-section-title--white { color: #fff; }
.swti-section-desc {
  font-size: 1.05rem;
  color: var(--sw-gray-700);
  line-height: 1.7;
  max-width: 600px;
}
.swti-section-desc--light { color: rgba(255,255,255,.65); }
.swti-section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.swti-section-header.left { text-align: left; margin-left: 0; }

/* ── LOADING SKELETON ANIMATION ───────────────────────────────── */
.swti-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: swtiSkeleton 1.4s ease infinite;
  border-radius: var(--r-md);
}
@keyframes swtiSkeleton {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── IMPROVED CTA BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: .75rem 1.75rem;
  font-size: .9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--sw-gradient);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(212,20,90,.38); }
.btn-teal {
  background: var(--sw-teal);
  color: var(--sw-navy);
  box-shadow: var(--sh-teal);
}
.btn-teal:hover { box-shadow: 0 12px 36px rgba(0,198,162,.38); }
.btn-dark {
  background: var(--sw-navy);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.btn-dark:hover { background: var(--sw-navy-2); }
.btn-outline {
  background: transparent;
  color: var(--sw-navy);
  border-color: var(--sw-border);
}
.btn-outline:hover {
  background: var(--sw-navy);
  color: #fff;
  border-color: var(--sw-navy);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}
.btn-sm  { padding: .5rem 1.25rem; font-size: .82rem; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-xl  { padding: 1.2rem 2.75rem; font-size: 1.1rem; }

/* ── ARCHIVE FALLBACK GRID ────────────────────────────────────── */
.swti-archive-wrapper { max-width: var(--max-w); margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.swti-archive-header { margin-bottom: 3rem; }
.swti-archive-title { font-size: var(--fs-h1); color: var(--sw-navy); margin-bottom: .75rem; }
.swti-archive-desc { color: var(--sw-gray-700); line-height: 1.7; max-width: 640px; }
.swti-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.swti-archive-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--sw-border);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.swti-archive-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.swti-archive-card-img-wrap img { width: 100%; height: 200px; object-fit: cover; display: block; }
.swti-archive-card-body { padding: 1.5rem; }
.swti-archive-client { font-size: .72rem; font-weight: 700; color: var(--sw-teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.swti-archive-icon { font-size: 2rem; margin-bottom: .75rem; }
.swti-archive-kpi-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(212,20,90,.1), rgba(251,176,59,.1));
  border: 1px solid rgba(212,20,90,.2);
  color: var(--sw-red);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.swti-archive-card-title { font-size: 1rem; margin-bottom: .6rem; }
.swti-archive-card-title a { color: var(--sw-navy); text-decoration: none; }
.swti-archive-card-title a:hover { color: var(--sw-red); }
.swti-archive-card-excerpt { color: var(--sw-gray-700); font-size: .87rem; line-height: 1.6; margin-bottom: 1rem; }
.swti-archive-empty { text-align: center; padding: 6rem 2rem; }
.swti-archive-empty p { color: var(--sw-gray-400); font-size: 1.1rem; margin-bottom: 1.5rem; }
.wp-pagenavi, .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 2rem; }
.page-numbers, .nav-links .page-numbers { padding: .5rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--sw-border); color: var(--sw-navy); text-decoration: none; font-size: .88rem; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--sw-gradient); color: #fff; border-color: transparent; }

/* ── SINGLE POST FALLBACK ─────────────────────────────────────── */
.swti-single-fallback { max-width: 860px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.swti-single-breadcrumb { font-size: .82rem; color: var(--sw-gray-400); margin-bottom: 1.5rem; }
.swti-single-breadcrumb a { color: var(--sw-blue); text-decoration: none; }
.swti-single-breadcrumb a:hover { color: var(--sw-red); }
.swti-single-title { font-size: var(--fs-h1); color: var(--sw-navy); line-height: 1.2; margin-bottom: 1rem; }
.swti-single-meta { color: var(--sw-gray-400); font-size: .85rem; margin-bottom: 2rem; }
.swti-single-thumbnail { margin-bottom: 2.5rem; border-radius: var(--r-lg); overflow: hidden; }
.swti-single-hero-img { width: 100%; height: auto; display: block; }
.swti-single-content { font-size: 1.05rem; line-height: 1.8; color: var(--sw-gray-700); }
.swti-single-content h2, .swti-single-content h3 { color: var(--sw-navy); margin-top: 2rem; }
.swti-single-content p { margin-bottom: 1.25rem; }
.swti-single-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin: 2.5rem 0; padding: 2rem; background: var(--sw-navy); border-radius: var(--r-lg); }
.swti-single-kpi-item { color: #fff; text-align: center; font-size: 1rem; font-weight: 700; background: var(--sw-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.swti-single-footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--sw-border); }

/* ── CANVAS PAGE ──────────────────────────────────────────────── */
.swti-canvas-body { margin: 0; padding: 0; background: var(--sw-navy); }
#swti-canvas-main { min-height: 100vh; }

/* ── NOTIFICATION / TOAST ─────────────────────────────────────── */
.swti-toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--sw-navy);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--sw-teal);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--sh-xl);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  max-width: 320px;
}
.swti-toast.visible { opacity: 1; transform: translateY(0); }
.swti-toast--success { border-color: #00c6a2; }
.swti-toast--error   { border-color: #e74c3c; }

/* ── MOBILE NAV KEYBOARD TRAP helper ─────────────────────────── */
.swti-mobile-nav-open body { overflow: hidden; }

/* ── PRINT ADDITIONS ──────────────────────────────────────────── */
@media print {
  .swti-skip-link, .swti-toast, .swti-dashboard-card { display: none !important; }
  .swti-single-fallback { max-width: 100%; }
}
