/* ============================================================
   LS Technologies — Corporate theme
   Dark navy + white • glassmorphism • enterprise-futuristic
   Display: Sora / IBM Plex Sans Arabic  •  Body: Inter
   ============================================================ */

:root {
  /* Brand (overridden inline from admin settings) */
  --brand: #0A2A66;
  --accent: #1E6BFF;

  /* Derived navy scale */
  --navy-900: #04122e;
  --navy-800: #071a3f;
  --navy-700: #0a2456;
  --navy-600: #0d2f6e;

  --accent-2: #4F8BFF;
  --accent-soft: rgba(30, 107, 255, .12);

  /* Surfaces & ink (light theme) */
  --bg: #ffffff;
  --bg-tint: #f3f7ff;
  --surface: #ffffff;
  --ink: #0b1b3b;
  --ink-soft: #4a5b80;
  --ink-faint: #8190ad;
  --line: #e6ecf7;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-brd: rgba(255, 255, 255, .16);

  /* Effects */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 20px rgba(8, 22, 56, .06);
  --shadow: 0 18px 50px rgba(8, 22, 56, .10);
  --shadow-lg: 0 40px 90px rgba(6, 18, 46, .18);
  --shadow-brand: 0 20px 45px rgba(30, 107, 255, .28);

  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Sora", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

[dir="rtl"] {
  --font-display: "IBM Plex Sans Arabic", "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

/* ---- Dark theme ---- */
html[data-theme="dark"] {
  --bg: #0a1124;
  --bg-tint: #0d152c;
  --surface: #101a35;
  --ink: #eaf0ff;
  --ink-soft: #aab8d8;
  --ink-faint: #7c8bb0;
  --line: #1d2a4d;
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, .55);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

h1, h2, h3, h4, h5, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); }

.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section--tint { background: var(--bg-tint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, var(--accent), transparent); }

.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-head p { font-size: 1.08rem; color: var(--ink-soft); }

.text-grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 .25rem var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:active { transform: translateY(1px); }

.btn-brand {
  background: linear-gradient(120deg, var(--accent), var(--brand));
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 26px 55px rgba(30,107,255,.4); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-glass {
  background: var(--glass-bg); color: #fff;
  border-color: var(--glass-brd);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ============================================================
   Navbar
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 1030;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-nav.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-nav .navbar { padding-top: .9rem; padding-bottom: .9rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-brand);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }

.site-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 500; font-size: .96rem;
  color: var(--ink-soft); padding: .5rem .95rem !important;
  border-radius: 10px; position: relative;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--ink); }
.site-nav .nav-link.active::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .15rem;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.nav-tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); cursor: pointer; font-size: 1.05rem;
  transition: .2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.lang-switch { width: auto; padding: 0 .85rem; gap: .4rem; display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.lang-switch i { font-size: 1rem; }
@media (max-width: 991.98px) { .lang-switch .lang-name { display: none; } .lang-switch { width: 42px; padding: 0; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% -10%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff; overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem);
}
.hero::before { /* grid mesh */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 70% at 70% 10%, #000 30%, transparent 75%);
  opacity: .7;
}
.hero::after { /* aurora glow */
  content: ""; position: absolute; width: 720px; height: 720px;
  right: -160px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(79,139,255,.55), transparent 60%);
  filter: blur(20px); animation: float 14s var(--ease) infinite alternate;
}
[dir="rtl"] .hero::after { right: auto; left: -160px; }

.hero-blob {
  position: absolute; width: 460px; height: 460px; left: -160px; bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(30,107,255,.4), transparent 62%);
  filter: blur(10px); animation: float 18s var(--ease) infinite alternate-reverse;
}
@keyframes float { to { transform: translateY(38px) translateX(-18px); } }

.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  max-width: 14ch;
}
.hero .lead {
  color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch; margin: 1.4rem 0 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.9); margin-bottom: 1.6rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Floating glass panel */
.hero-panel {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
}
.hero-panel .mini {
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem;
}
.hero-panel .mini h3 { color: #fff; font-size: 1.9rem; margin: 0; }
.hero-panel .mini span { color: rgba(255,255,255,.7); font-size: .85rem; }
.hero-window-bar { display: flex; gap: 6px; margin-bottom: .9rem; }
.hero-window-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }
.hero-wave path { fill: var(--bg); }

/* Logo rail inside hero footer */
.hero-logos { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem); }
.hero-logos small { color: rgba(255,255,255,.55); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* Hero headline accent (second line) */
.hero h1 .accent { color: var(--accent-2); display: inline-block; }

/* Hero visual: device frame + floating glass chips */
.hero-visual { position: relative; }
.hero-device {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  background-size: cover; background-position: center;
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-device::before { /* grid sheen over the device */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .6;
}
.hero-glow { position: absolute; width: 60%; height: 60%; left: 20%; top: 18%; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(79,139,255,.45), transparent 65%); filter: blur(8px); }
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 14px; max-width: 62%;
  background: linear-gradient(160deg, rgba(13,28,64,.86), rgba(7,18,40,.82));
  border: 1px solid var(--glass-brd); backdrop-filter: blur(12px);
  color: #eaf1ff; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  box-shadow: 0 16px 36px rgba(2,8,23,.4); animation: float 9s var(--ease) infinite alternate;
}
.float-chip i { color: var(--accent-2); font-size: 1rem; }
.float-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-chip.chip-1 { top: 16%; inset-inline-start: -6%; }
.float-chip.chip-2 { top: 47%; inset-inline-end: -7%; animation-delay: 1.2s; }
.float-chip.chip-3 { bottom: 12%; inset-inline-start: 8%; animation-delay: 2.1s; }

/* Hero feature cards (top services) */
.hero-features {
  position: relative; z-index: 2; margin-top: clamp(2.4rem, 5vw, 3.4rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.hero-feature {
  display: flex; align-items: center; gap: .9rem; text-decoration: none;
  padding: 1rem 1.15rem; border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--glass-brd); backdrop-filter: blur(10px);
  color: #fff; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.hero-feature:hover { transform: translateY(-4px); border-color: rgba(79,139,255,.5); background: linear-gradient(160deg, rgba(79,139,255,.18), rgba(255,255,255,.04)); color: #fff; }
.hf-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px rgba(30,107,255,.35); }
.hf-text { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.3; flex: 1 1 auto; }
.hf-arrow { color: rgba(255,255,255,.5); font-size: .95rem; }

/* Blue contact panel (home) */
.contact-cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--accent) 0%, var(--brand) 70%);
  color: #fff; padding: clamp(2rem, 5vw, 3.6rem); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.contact-cta::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 88% 12%, rgba(255,255,255,.18), transparent 60%); }
.cc-body { position: relative; z-index: 2; max-width: 60ch; }
.cc-body h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .2rem 0 .6rem; }
.cc-body p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.3rem; }
.cc-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .65rem; }
.cc-list li { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 500; }
.cc-list i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.cc-social { display: flex; gap: .6rem; margin-bottom: 1.4rem; }
.cc-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.18); font-size: 1.05rem; transition: .2s; }
.cc-social a:hover { background: #fff; color: var(--accent); transform: translateY(-3px); }
.cc-art { position: relative; z-index: 2; flex: 0 0 auto; font-size: clamp(5rem, 12vw, 11rem); color: rgba(255,255,255,.22); transform: rotate(-12deg); }
[dir="rtl"] .cc-art i { transform: scaleX(-1); }
@media (max-width: 767.98px) {
  .hero-features { grid-template-columns: 1fr; }
  .contact-cta { flex-direction: column; text-align: center; }
  .cc-list li, .cc-social { justify-content: center; }
  .cc-art { display: none; }
  .float-chip.chip-1 { inset-inline-start: 2%; }
  .float-chip.chip-2 { inset-inline-end: 2%; }
}

/* ============================================================
   Glass / cards
   ============================================================ */
.card-glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  height: 100%;
}
.card-glass:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }

/* Service card */
.service-card { padding: 2rem 1.8rem; position: relative; overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
[dir="rtl"] .service-card::after { transform-origin: right; }
.service-card:hover::after { transform: scaleX(1); }
.service-ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--accent);
  background: var(--accent-soft); margin-bottom: 1.2rem;
  transition: .35s var(--ease);
}
.service-card:hover .service-ico { background: linear-gradient(135deg, var(--accent), var(--brand)); color: #fff; transform: rotate(-6deg); }
.service-card h3 { font-size: 1.25rem; }
.service-card p { font-size: .96rem; margin-bottom: 1.1rem; }
.service-link { font-family: var(--font-display); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.service-link i { transition: transform .25s; }
.service-card:hover .service-link i { transform: translateX(4px); }
[dir="rtl"] .service-card:hover .service-link i { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .service-link i { transform: scaleX(-1); }

/* ============================================================
   Stats
   ============================================================ */
.stats-wrap {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stats-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 90% 0%, rgba(79,139,255,.35), transparent 60%);
}
.stat { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .85rem; padding: .7rem .3rem; text-align: start; }
.stat-ico { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #cfe0ff; background: rgba(79,139,255,.16); border: 1px solid rgba(255,255,255,.12); }
.stat-meta { min-width: 0; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: #fff; line-height: 1; }
.stat .num .plus { color: var(--accent-2); }
.stat .label { color: rgba(255,255,255,.72); font-size: .9rem; margin-top: .35rem; }
.stat + .stat { position: relative; }

/* ============================================================
   Logo rails (clients / partners)
   ============================================================ */
.logo-rail .swiper-slide { display: grid; place-items: center; }
.logo-chip {
  width: 100%; height: 96px; border-radius: var(--radius-sm);
  display: grid; place-items: center; gap: .2rem;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft); font-family: var(--font-display); font-weight: 600;
  padding: 1rem; text-align: center; transition: .3s var(--ease);
}
.logo-chip:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logo-chip img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .3s; }
.logo-chip:hover img { filter: grayscale(0); opacity: 1; }
.logo-chip .sector { font-size: .72rem; font-weight: 500; color: var(--ink-faint); }

/* ============================================================
   Project cards
   ============================================================ */
.project-card { overflow: hidden; }
.project-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.07); }
.project-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 2.4rem; }
.project-cat {
  position: absolute; top: 1rem; inset-inline-start: 1rem;
  padding: .35rem .85rem; border-radius: 999px; font-size: .76rem; font-weight: 600;
  font-family: var(--font-display);
  background: rgba(7,26,63,.7); color: #fff; backdrop-filter: blur(6px);
}
.project-body { padding: 1.5rem 1.6rem; }
.project-body .client { font-size: .82rem; color: var(--ink-faint); font-weight: 500; }
.project-body h3 { font-size: 1.2rem; margin: .3rem 0 .6rem; }
.project-body p { font-size: .94rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.quote-card { padding: 2.2rem; }
.quote-card .stars { color: #ffb02e; font-size: .95rem; margin-bottom: 1rem; }
.quote-card blockquote { font-size: 1.12rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; line-height: 1.55; margin: 0 0 1.4rem; }
.quote-author { display: flex; align-items: center; gap: .9rem; }
.quote-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-weight: 700; font-family: var(--font-display); }
.quote-author .nm { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.quote-author .ro { font-size: .85rem; color: var(--ink-faint); }

/* ============================================================
   News cards
   ============================================================ */
.news-card { overflow: hidden; }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--accent)); position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: 2.2rem; }
.news-body { padding: 1.5rem 1.6rem; }
.news-date { font-size: .8rem; color: var(--accent); font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: .4rem; }
.news-body h3 { font-size: 1.15rem; margin: .55rem 0 .55rem; }
.news-body p { font-size: .92rem; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: radial-gradient(120% 140% at 0% 0%, var(--accent) 0%, var(--brand) 45%, var(--navy-800) 100%);
  color: #fff; padding: clamp(2.6rem, 6vw, 4.5rem); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; position: relative; max-width: 50ch; margin-inline: auto; }

/* ============================================================
   Inner page header
   ============================================================ */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 120% at 85% -20%, var(--navy-600), var(--navy-800) 55%, var(--navy-900));
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(80% 80% at 70% 0%, #000 30%, transparent 78%); opacity: .6; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 56ch; font-size: 1.1rem; }
.breadcrumb-line { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; font-family: var(--font-display); }
.breadcrumb-line a { color: rgba(255,255,255,.78); }
.breadcrumb-line a:hover { color: #fff; }

/* ============================================================
   Forms
   ============================================================ */
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  padding: .8rem 1rem; background: var(--surface); color: var(--ink);
  font-size: .98rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 .25rem var(--accent-soft);
  background: var(--surface); color: var(--ink);
}
.form-label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }

.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }
.info-row .lbl { font-size: .8rem; color: var(--ink-faint); }
.info-row .val { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* Filters / search bar */
.filterbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: .9rem;
  padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  transition: .25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: linear-gradient(120deg, var(--accent), var(--brand)); color: #fff; border-color: transparent; }

.search-box { position: relative; max-width: 420px; margin: 0 auto 2.2rem; }
.search-box input { padding-inline-start: 2.8rem; }
.search-box i { position: absolute; top: 50%; inset-inline-start: 1rem; transform: translateY(-50%); color: var(--ink-faint); }

/* Feature list */
.feature-li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; color: var(--ink-soft); }
.feature-li i { color: var(--accent); margin-top: .25rem; }

/* Long-form article / description prose */
.content-prose { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.85; }
.content-prose > :first-child { margin-top: 0; }
.content-prose h2, .content-prose h3, .content-prose h4 { color: var(--ink); font-family: var(--font-display); margin: 2rem 0 .9rem; }
.content-prose p { margin-bottom: 1.15rem; }
.content-prose img { max-width: 100%; border-radius: var(--radius); margin: 1.4rem 0; }
.content-prose ul, .content-prose ol { margin: 0 0 1.2rem; padding-inline-start: 1.3rem; }
.content-prose li { margin-bottom: .5rem; }
.content-prose a { color: var(--accent); font-weight: 600; }
.content-prose blockquote { border-inline-start: 3px solid var(--accent); padding-inline-start: 1.2rem; margin: 1.5rem 0; color: var(--ink); font-style: italic; }

/* Doc / file card */
.file-card { display: flex; gap: 1rem; align-items: center; padding: 1.3rem; }
.file-ico { width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 1.4rem; color: #fff; font-family: var(--font-display); font-weight: 700; }
.file-pdf { background: linear-gradient(135deg, #ff5b6e, #c81d35); }
.file-docx { background: linear-gradient(135deg, #4f8bff, #1a56db); }
.file-pptx { background: linear-gradient(135deg, #ff9f43, #e8590c); }
.file-meta { font-size: .8rem; color: var(--ink-faint); }

/* Gallery */
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; display: block; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy-700), var(--accent)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .ov { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(4,18,46,.8)); opacity: 0; transition: .3s; display: flex; align-items: flex-end; padding: 1rem; color: #fff; font-family: var(--font-display); font-weight: 600; }
.gallery-item:hover .ov { opacity: 1; }
.gallery-item .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.66); padding-top: clamp(3.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-brand .brand { color: #fff; }
.footer-soc { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-soc a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.footer-soc a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.4rem 0; font-size: .85rem; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   WhatsApp float
   ============================================================ */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 30px rgba(37,211,102,.5); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; margin-top: .8rem; box-shadow: var(--shadow); }
  .hero-panel { margin-top: 2.5rem; }
}
@media (max-width: 575.98px) {
  .section { padding: 3rem 0; }
  .btn-lg { padding: .85rem 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Visible keyboard focus */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
