/* AwamConnect — UC-12 Citizen Portal */
:root {
  --teal: #0f5c4f;
  --teal-dark: #0a463c;
  --teal-soft: #e8f3ef;
  --teal-mid: #1a7a68;
  --navy: #0a2533;
  --navy-soft: #132f3f;
  --bg: #f4f7f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-soft: #edf2f7;
  --text: #0f172a;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --cream: #fef6e4;
  --cream-text: #8a6d3b;
  --cream-border: #f0e0b8;
  --warn: #fef3c7;
  --warn-border: #fcd34d;
  --warn-text: #92400e;
  --mint: #e6f4ef;
  --mint-border: #b8ddd0;
  --danger-soft: #fef2f2;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  /* Clear sans for Urdu/Sindhi — easy for everyone to read (no Nastaliq) */
  --font-ur: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  --font-ur-display: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.rtl {
  font-family: var(--font-ur);
  direction: rtl;
  text-align: right;
  line-height: 1.85;
  letter-spacing: 0;
  word-spacing: 0.02em;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl .auth-visual-content h1,
body.rtl .crm-topbar-title h1,
body.rtl .panel-head h2,
body.rtl .hero-kicker,
body.rtl .logo-text strong,
body.rtl .logo-text small {
  font-family: var(--font-ur-display);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0;
  overflow: visible;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Auth (login / signup) ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(15, 92, 79, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(10, 37, 51, 0.12), transparent 50%),
    linear-gradient(180deg, #eef3f6 0%, #f4f7f9 45%, #e8eef3 100%);
  overflow-x: hidden;
}

.auth-notice {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  color: var(--cream-text);
  font-size: 0.8125rem;
  padding: 0.65rem 1.25rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.auth-notice strong {
  font-weight: 700;
}

.auth-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.auth-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  width: min(1280px, 100%);
  min-height: 680px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 24px 60px rgba(10, 37, 51, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  direction: ltr;
}

.auth-panel-tall {
  min-height: 760px;
}

.auth-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--navy);
}

.auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.auth-panel:hover .auth-visual-img {
  transform: scale(1.06);
}

.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 37, 51, 0.55) 0%, rgba(15, 92, 79, 0.35) 45%, rgba(10, 37, 51, 0.78) 100%),
    linear-gradient(0deg, rgba(10, 37, 51, 0.55) 0%, transparent 45%);
  z-index: 1;
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 2.35rem 2.5rem;
  color: #fff;
}

.auth-panel-tall .auth-visual-content {
  min-height: 760px;
}

.auth-visual-top {
  margin-bottom: auto;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.auth-visual-brand {
  padding-top: 0;
}

body.rtl .auth-visual-top {
  align-items: flex-end; /* physical right when panel is forced LTR */
  direction: ltr; /* keep align-items physical: flex-end = right */
}

body.rtl .auth-visual-brand {
  flex-direction: row-reverse;
  direction: rtl;
}


.auth-visual-brand .logo-text strong {
  color: #fff;
}

.auth-visual-brand .logo-text small {
  color: rgba(255, 255, 255, 0.72);
}

.auth-visual-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.auth-visual-content h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.auth-visual-content > p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

.auth-visual-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-visual-points li {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.85rem 1.1rem 0.85rem 2.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.auth-visual-points li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dcea0;
  box-shadow: 0 0 0 3px rgba(125, 206, 160, 0.25);
}

/* Auth panel is direction:ltr; pin branding to physical right for Urdu/Sindhi */
body.rtl .auth-visual-content {
  direction: ltr;
  text-align: right;
  align-items: flex-end;
}

body.rtl .auth-visual-img {
  object-position: 65% center;
}

body.rtl .auth-visual-overlay {
  background:
    linear-gradient(270deg, rgba(10, 37, 51, 0.78) 0%, rgba(10, 37, 51, 0.4) 45%, rgba(15, 92, 79, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 37, 51, 0.72) 0%, transparent 48%);
}

body.rtl .auth-visual-content h1 {
  direction: rtl;
  max-width: none;
  width: 100%;
  line-height: 1.9;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 700;
  text-align: right;
  overflow: visible;
  padding-block: 0.15rem;
}

body.rtl .auth-visual-content > p {
  direction: rtl;
  line-height: 1.9;
  font-size: 0.98rem;
  max-width: none;
  width: 100%;
  text-align: right;
}

body.rtl .auth-visual-points {
  direction: rtl;
  width: 100%;
  align-self: stretch;
}

body.rtl .auth-visual-points li {
  padding: 0.95rem 2.45rem 0.95rem 1.15rem;
  line-height: 1.85;
  font-size: 0.95rem;
  text-align: right;
}

body.rtl .auth-visual-points li::before {
  left: auto;
  right: 1rem;
}

body.rtl .auth-visual-badge {
  align-self: flex-end;
  margin-bottom: 0.85rem;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8rem;
  padding: 0.5rem 1.05rem;
  text-align: center;
  direction: rtl;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.25rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 92, 79, 0.35);
}

.logo-mark span:first-child {
  font-size: 1rem;
}

.logo-mark span:last-child {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}

.auth-welcome {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.auth-card h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.auth-card .sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.auth-lang {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  padding: 0.3rem;
  background: #eef3f6;
  border-radius: 999px;
  width: fit-content;
}

.auth-lang a {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.auth-lang a:hover {
  color: var(--teal);
}

.auth-lang a.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 92, 79, 0.28);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.auth-card .form-control:focus {
  background: #fff;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 79, 0.15);
}

.form-control::placeholder {
  color: var(--muted-light);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 14px rgba(15, 92, 79, 0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 18px rgba(15, 92, 79, 0.38);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.auth-foot {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.auth-foot a {
  color: var(--teal);
  font-weight: 700;
}

.auth-foot a:hover {
  text-decoration: underline;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.auth-check input {
  margin-top: 0.2rem;
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.auth-card .btn-primary {
  height: 52px;
  border-radius: 12px;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.rtl .auth-form-side {
  text-align: right;
}

body.rtl .auth-lang {
  margin-right: 0;
  margin-left: auto;
}

body.rtl .auth-card {
  max-width: 460px;
}

body.rtl .auth-card h2 {
  line-height: 1.7;
  font-size: 1.65rem;
}

body.rtl .auth-card .sub,
body.rtl .auth-welcome,
body.rtl .auth-foot,
body.rtl .auth-check {
  line-height: 1.8;
}

body.rtl .form-group label,
body.rtl .field label,
body.rtl .check-row,
body.rtl .crm-nav-link,
body.rtl .panel-head .hint,
body.rtl .hero-sub,
body.rtl .side-card p,
body.rtl .side-card h3,
body.rtl .side-card h4 {
  line-height: 1.8;
}

body.rtl .form-control,
body.rtl .field input,
body.rtl .field textarea,
body.rtl .select-wrap select,
body.rtl .search-box input {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  line-height: 1.7;
}

body.rtl .form-group,
body.rtl .field {
  margin-bottom: 1.15rem;
}

body.rtl .crm-nav-link {
  gap: 0.85rem;
  padding: 0.9rem 1rem;
}

body.rtl .crm-sidebar-label {
  letter-spacing: 0.04em;
  line-height: 1.7;
}

body.rtl .crm-sidebar-shield {
  line-height: 1.75;
  padding: 0.75rem 0.65rem;
}

body.rtl .logo-text strong {
  line-height: 1.55;
}

body.rtl .logo-text small {
  line-height: 1.6;
  margin-top: 0.15rem;
}

body.rtl .btn,
body.rtl .btn-primary,
body.rtl .btn-submit {
  line-height: 1.6;
  letter-spacing: 0;
}

body.rtl .info-box,
body.rtl .upload-box p,
body.rtl .empty-state p,
body.rtl .empty-state h3 {
  line-height: 1.85;
}

body.rtl .steps-list p {
  line-height: 1.8;
  padding-top: 0.1rem;
}

body.rtl .stat-card .lbl {
  line-height: 1.7;
}

/* Form column stays RTL via dir attribute on .auth-form-side */
body.rtl .auth-form-side .form-control,
body.rtl .auth-form-side label,
body.rtl .auth-form-side .auth-check,
body.rtl .auth-form-side .auth-foot,
body.rtl .auth-form-side h2,
body.rtl .auth-form-side .sub,
body.rtl .auth-form-side .auth-welcome {
  text-align: right;
}

/* ---------- Portal shell ---------- */
.portal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.45s ease both;
  background: var(--bg);
}

/* ---------- CRM full-width layout ---------- */
.crm-app {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--bg);
}

.crm-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0a2533 0%, #0d2f40 55%, #0a463c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem 1.15rem;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 40;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

body.rtl .crm-sidebar {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.crm-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.4rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.15rem;
}

.crm-sidebar-brand .brand-link {
  min-width: 0;
}

.crm-sidebar-brand .logo-text strong {
  color: #fff;
  font-size: 1.05rem;
}

.crm-sidebar-brand .logo-text small {
  color: rgba(255, 255, 255, 0.65);
}

.crm-sidebar-close {
  display: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.35rem;
  border-radius: 8px;
}

.crm-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.crm-sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 0.65rem;
  margin-bottom: 0.65rem;
}

.crm-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.crm-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
  transition: 0.2s ease;
  line-height: 1.35;
}

.crm-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.crm-nav-link.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 92, 79, 0.35);
}

.crm-nav-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-nav-link.active .crm-nav-ico {
  background: rgba(255, 255, 255, 0.18);
}

.crm-sidebar-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.crm-logout {
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.crm-logout:hover {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.crm-logout .crm-nav-ico {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.crm-sidebar-shield {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.65rem 0.55rem;
}

.crm-overlay {
  display: none;
}

.crm-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

.crm-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 30;
}

.crm-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  flex-shrink: 0;
}

.crm-menu-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.crm-topbar-title {
  flex: 1;
  min-width: 0;
}

.crm-topbar-title .hero-kicker {
  margin-bottom: 0.25rem;
}

.crm-topbar-title h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.rtl .crm-topbar-title .hero-kicker {
  letter-spacing: 0;
  text-transform: none;
  line-height: 2;
  padding-top: 0.2rem;
  padding-bottom: 0.1rem;
  overflow: visible;
  white-space: normal;
}

body.rtl .crm-topbar-title h1 {
  line-height: 1.9;
  letter-spacing: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  padding-block: 0.15rem 0.1rem;
}

.crm-content {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.35rem 1.5rem 2rem;
  overflow-x: clip;
}

.crm-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.crm-page-head .hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.crm-footer .site-footer-inner {
  max-width: none;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.crm-app .content-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.35rem;
}

.crm-app .panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .crm-app .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact sidebar — small / mid desktop (still visible, not drawer) */
@media (max-width: 1400px) and (min-width: 961px) {
  .crm-sidebar {
    width: 212px;
    padding: 0.85rem 0.65rem 0.8rem;
  }

  .crm-sidebar-brand {
    padding: 0.15rem 0.2rem 0.7rem;
    margin-bottom: 0.7rem;
    gap: 0.35rem;
  }

  .crm-sidebar-brand .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(15, 92, 79, 0.3);
  }

  .crm-sidebar-brand .logo-mark span:first-child {
    font-size: 0.78rem;
  }

  .crm-sidebar-brand .logo-mark span:last-child {
    font-size: 0.48rem;
  }

  .crm-sidebar-brand .logo-text strong {
    font-size: 0.9rem;
  }

  .crm-sidebar-brand .logo-text small {
    font-size: 0.68rem;
  }

  .crm-sidebar-label {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 0 0.45rem;
  }

  .crm-nav {
    gap: 0.15rem;
  }

  .crm-nav-link {
    gap: 0.45rem;
    padding: 0.42rem 0.5rem;
    border-radius: 9px;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .crm-nav-link.active {
    box-shadow: 0 4px 12px rgba(15, 92, 79, 0.28);
  }

  .crm-nav-ico {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .crm-nav-ico .icon {
    width: 13px;
    height: 13px;
  }

  .crm-sidebar-foot {
    padding-top: 0.65rem;
    gap: 0.25rem;
  }

  .crm-sidebar-shield {
    padding: 0.4rem 0.35rem;
    font-size: 0.64rem;
    line-height: 1.35;
  }
}

@media (max-width: 960px) {
  .crm-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(260px, 84vw);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    box-shadow: 12px 0 40px rgba(10, 37, 51, 0.25);
    padding: 0.75rem 0.65rem 0.8rem;
  }

  .crm-sidebar-brand {
    padding: 0.15rem 0.2rem 0.65rem;
    margin-bottom: 0.6rem;
  }

  .crm-sidebar-brand .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .crm-sidebar-brand .logo-text strong {
    font-size: 0.9rem;
  }

  .crm-sidebar-label {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
  }

  .crm-nav {
    gap: 0.12rem;
  }

  .crm-nav-link {
    gap: 0.45rem;
    padding: 0.4rem 0.55rem;
    border-radius: 9px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .crm-nav-ico {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .crm-nav-ico .icon {
    width: 13px;
    height: 13px;
  }

  .crm-sidebar-foot {
    padding-top: 0.6rem;
    gap: 0.25rem;
  }

  .crm-sidebar-shield {
    padding: 0.4rem 0.35rem;
    font-size: 0.66rem;
  }

  body.rtl .crm-sidebar {
    left: auto;
    right: 0;
    transform: translateX(105%);
    box-shadow: -12px 0 40px rgba(10, 37, 51, 0.25);
  }

  body.crm-nav-open .crm-sidebar {
    transform: translateX(0);
  }

  .crm-sidebar-close {
    display: inline-flex;
  }

  .crm-menu-btn {
    display: inline-flex;
  }

  .crm-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 51, 0.45);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.crm-nav-open .crm-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.crm-nav-open {
    overflow: hidden;
  }

  /* Sticky CRM header — mobile (vertically centered) */
  .crm-topbar {
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    min-height: 56px;
  }

  .crm-menu-btn {
    width: 42px;
    height: 42px;
    margin-top: 0;
  }

  .crm-topbar-title {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .crm-topbar-title .hero-kicker {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .crm-topbar-title h1 {
    font-size: 1.05rem;
    line-height: 1.35;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  body.rtl .crm-topbar-title .hero-kicker {
    line-height: 1.55;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
  }

  body.rtl .crm-topbar-title h1 {
    font-size: 1rem;
    line-height: 1.5;
    padding-block: 0;
    -webkit-line-clamp: 2;
  }

  .crm-topbar .header-actions {
    flex-shrink: 0;
    margin-top: 0;
    align-self: center;
  }

  .crm-topbar .lang-btn {
    padding: 0.5rem 0.55rem;
    gap: 0.3rem;
    min-height: 42px;
  }

  .crm-topbar .lang-btn-text {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .crm-content {
    padding: 1rem 0.9rem 1.5rem;
  }

  .crm-page-head {
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .crm-page-head .hero-sub {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .crm-page-head .portal-badge {
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 640px) {
  .crm-topbar {
    align-items: center;
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
    min-height: 52px;
  }

  .crm-topbar-title .hero-kicker {
    display: none;
  }

  .crm-topbar-title h1 {
    font-size: 0.98rem;
    line-height: 1.3;
    margin: 0;
    padding: 0;
  }

  body.rtl .crm-topbar-title h1 {
    font-size: 0.95rem;
    line-height: 1.45;
    padding-block: 0;
  }

  .crm-topbar .lang-btn-text,
  .crm-topbar .lang-btn-caret {
    display: none;
  }

  .crm-topbar .lang-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
  }

  .crm-topbar .lang-menu {
    right: 0;
    left: auto;
    min-width: 148px;
  }

  body.rtl .crm-topbar .lang-menu {
    right: auto;
    left: 0;
  }

  .crm-page-head {
    flex-direction: column;
  }

  .crm-page-head .portal-badge {
    align-self: flex-start;
  }

  body.rtl .crm-page-head .portal-badge {
    align-self: flex-end;
  }

  .crm-footer .site-footer-inner {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  body.rtl .crm-footer .site-footer-inner {
    align-items: flex-end;
  }
}

@media (max-width: 380px) {
  .crm-menu-btn,
  .crm-topbar .lang-btn {
    width: 38px;
    height: 38px;
  }

  .crm-topbar-title h1 {
    font-size: 0.9rem;
  }
}

.top-notice {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  color: var(--cream-text);
  font-size: 0.8125rem;
  padding: 0.7rem 1.25rem;
  text-align: center;
}

.top-notice .badge {
  display: inline-block;
  background: #f5e6b8;
  color: var(--cream-text);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

body.rtl .top-notice .badge {
  margin-right: 0;
  margin-left: 0.4rem;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link .logo-mark {
  width: 42px;
  height: 42px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-dd {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.lang-btn:hover {
  background: var(--bg);
  border-color: var(--border);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 130px;
  padding: 0.35rem;
  z-index: 60;
}

body.rtl .lang-menu {
  right: auto;
  left: 0;
}

.lang-dd:hover .lang-menu,
.lang-dd:focus-within .lang-menu,
.lang-dd.is-open .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
}

.lang-menu a:hover,
.lang-menu a.active {
  background: var(--teal-soft);
  color: var(--teal);
}

.btn-office {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 650;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  transition: 0.2s;
}

.btn-office:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.portal-main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

body.rtl .hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 2;
  overflow: visible;
}

.hero-row h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hero-row .hero-sub {
  color: var(--muted);
  font-size: 0.975rem;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid var(--mint-border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Tabs */
.nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--navy);
  text-align: center;
  transition: 0.2s ease;
  box-shadow: var(--shadow);
}

.nav-tab svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.nav-tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.nav-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 92, 79, 0.28);
}

.nav-tab.active svg {
  opacity: 1;
}

/* Layout grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  position: relative;
}

.panel-head .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.panel-head .hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.step-num {
  position: absolute;
  top: -0.25rem;
  right: 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: #e8eef3;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

body.rtl .step-num {
  right: auto;
  left: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field-grid .full {
  grid-column: 1 / -1;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.field .optional {
  font-weight: 500;
  color: var(--muted-light);
}

.select-wrap {
  position: relative;
  z-index: 1;
}

.select-wrap:focus-within,
.select-wrap:has(.awam-select.is-open) {
  z-index: 40;
}

.select-wrap select.awam-select-native {
  position: absolute;
  border: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  pointer-events: none;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="password"],
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.awam-select {
  position: relative;
  width: 100%;
}

.awam-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.awam-select-trigger:hover {
  border-color: #cbd5e1;
}

.awam-select.is-open .awam-select-trigger,
.awam-select-trigger:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 79, 0.12);
  outline: none;
}

.awam-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.45;
}

.awam-select-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}

.awam-select.is-open .awam-select-chevron {
  transform: rotate(180deg);
}

.awam-select-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  z-index: 50;
}

.awam-select.is-open .awam-select-list {
  display: block;
}

.awam-select-option {
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.awam-select-option:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.awam-select-option.is-selected {
  background: #2563eb;
  color: #fff;
}

.awam-select-option.is-selected:hover {
  background: #1d4ed8;
  color: #fff;
}

body.rtl .awam-select-trigger {
  text-align: right;
  direction: rtl;
}

body.rtl .awam-select-label {
  line-height: 1.85;
}

body.rtl .awam-select-option {
  text-align: right;
  direction: rtl;
  line-height: 1.85;
  font-family: var(--font-ur);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 79, 0.12);
}

.panel,
.field-grid,
.field {
  overflow: visible;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--navy);
  margin: 1rem 0;
}

.check-row input {
  margin-top: 0.2rem;
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.upload-box {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-align: center;
  background: #fafbfc;
  margin: 1rem 0;
}

.upload-box p {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.upload-box .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.upload-box .btn-choose {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 650;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
}

.upload-box .btn-choose:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  margin: 1rem 0;
}

.info-box.mint {
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--teal-dark);
}

.info-box.blue {
  background: #f0f7fb;
  border: 1px solid #c5dde9;
  color: var(--navy);
}

.info-box strong {
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(15, 92, 79, 0.28);
  transition: 0.2s;
}

.btn-submit:hover {
  background: var(--teal-dark);
}

.tracking-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sidebar */
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.side-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}

.side-card.dark {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.side-card.dark .eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.side-card.dark h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.steps-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.steps-list .n {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
}

.steps-list p {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  padding-top: 0.2rem;
}

.side-foot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.side-card.light {
  background: #fff;
  border: 1px solid var(--border);
}

.side-card.emergency {
  background: #fffdf5;
  border: 1px solid var(--cream-border);
}

.side-card.emergency h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--warn-text);
  margin-bottom: 0.4rem;
}

.side-card.emergency p {
  font-size: 0.8rem;
  color: #78350f;
  line-height: 1.45;
}

.side-card.location {
  background: #f8fafc;
  border: 1px solid var(--border);
}

.side-card.location h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.side-card.location p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Guidance specific */
.guide-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  transition: 0.2s;
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fafbfc;
  transition: 0.2s;
}

.mini-card:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.mini-card .ic {
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.mini-card h4 {
  font-size: 0.875rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.mini-card p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Desk */
.desk-content {
  width: 100%;
}

.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.desk-head .sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.desk-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid var(--mint-border);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.desk-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: deskPulse 1.6s ease-in-out infinite;
}

@keyframes deskPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 650;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  transition: 0.2s;
}

.btn-refresh:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 92, 79, 0.08), transparent 70%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card-top {
  margin-bottom: 0.75rem;
}

.stat-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-ico.loaded {
  background: var(--teal-soft);
  color: var(--teal);
}

.stat-ico.awaiting {
  background: #fff7ed;
  color: #c2410c;
}

.stat-ico.dispatched {
  background: #ecfdf5;
  color: #059669;
}

.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-card .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 600;
}

.desk-board {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.15rem;
  min-height: 420px;
}

.desk-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
  pointer-events: none;
}

body.rtl .search-box svg {
  left: auto;
  right: 0.95rem;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7fafc;
  outline: none;
  transition: 0.2s;
}

body.rtl .search-box input {
  padding: 0.8rem 2.6rem 0.8rem 1rem;
}

.search-box input:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 92, 79, 0.12);
}

.desk-toolbar .select-wrap {
  min-width: 160px;
}

.desk-toolbar .select-wrap select {
  height: 46px;
  border-radius: 12px;
  background: #f7fafc;
  padding: 0.7rem 2.25rem 0.7rem 0.9rem;
}

.empty-state {
  background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
  border: 1.5px dashed #d7e2ea;
  border-radius: 16px;
  padding: 4rem 1.5rem;
  text-align: center;
}

.empty-state .ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 18px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.desk-empty-cta {
  margin-top: 0.25rem;
}

.crm-nav-secondary {
  flex: 0;
  margin-bottom: 0.75rem;
}

.crm-nav-secondary .crm-nav-link {
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
}

.desk-sidebar .crm-sidebar-label:nth-of-type(2) {
  margin-top: 0.85rem;
}

@media (max-width: 900px) {
  .desk-live-chip {
    display: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #fff;
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--navy);
  font-weight: 750;
}

.site-footer a {
  color: var(--teal);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Icon helpers */
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 22px;
  height: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .auth-panel,
  .auth-panel-tall {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 480px;
  }

  /* Mobile/tablet: hide left image — form only */
  .auth-visual {
    display: none !important;
  }

  .auth-form-side {
    padding: 1.75rem 1.35rem 2rem;
  }

  .auth-stage {
    padding: 1.25rem 1rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .nav-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .auth-panel {
    width: min(1120px, 100%);
  }
}

@media (max-width: 640px) {
  .form-row-2,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .nav-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .nav-tab {
    flex: 0 0 auto;
    min-width: 160px;
    scroll-snap-align: start;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .hero-row {
    flex-direction: column;
  }

  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-header .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .crm-topbar .header-actions {
    width: auto;
  }

  .panel {
    padding: 1.15rem 1rem;
  }

  .step-num {
    font-size: 2rem;
  }

  .auth-card {
    padding: 1.5rem 1.15rem;
  }
}

@media (max-width: 400px) {
  .btn-office span.hide-xs {
    display: none;
  }
}

/* ---------- Skeleton loaders ---------- */
body.is-loading {
  overflow: hidden;
}

body.is-loading .page-reveal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-reveal {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.is-ready .page-reveal {
  animation: pageReveal 0.45s ease both;
}

@keyframes pageReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sk-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow: auto;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

body.is-ready .sk-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sk-bone {
  display: block;
  background: linear-gradient(
    110deg,
    #e6edf2 0%,
    #e6edf2 35%,
    #f5f9fb 50%,
    #e6edf2 65%,
    #e6edf2 100%
  );
  background-size: 200% 100%;
  animation: skShimmer 1.35s ease-in-out infinite;
  border-radius: 8px;
}

.sk-on-dark {
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-size: 200% 100%;
}

@keyframes skShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

body.rtl .sk-bone {
  animation-direction: reverse;
}

.sk-line { height: 12px; width: 100%; margin-bottom: 0.55rem; }
.sk-sm { height: 9px; }
.sk-label { height: 10px; margin-bottom: 0.45rem; }
.sk-w-24 { width: 24%; }
.sk-w-25 { width: 25%; }
.sk-w-28 { width: 28%; }
.sk-w-30 { width: 30%; }
.sk-w-35 { width: 35%; }
.sk-w-36 { width: 36%; }
.sk-w-40 { width: 40%; }
.sk-w-45 { width: 45%; }
.sk-w-50 { width: 50%; }
.sk-w-55 { width: 55%; }
.sk-w-60 { width: 60%; }
.sk-w-65 { width: 65%; }
.sk-w-70 { width: 70%; }
.sk-w-75 { width: 75%; }
.sk-w-80 { width: 80%; }
.sk-mx { margin-left: auto; margin-right: auto; }
.sk-mb { margin-bottom: 1rem; }
.sk-grow { flex: 1; min-width: 0; }

.sk-title { height: 28px; width: 72%; margin: 1.25rem 0 0.85rem; border-radius: 10px; }
.sk-title-sm { height: 24px; width: 58%; margin: 0.45rem 0 0.6rem; border-radius: 10px; }

.sk-notice {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  padding: 0.85rem 1.25rem;
}

.sk-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sk-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0f5c4f 0%, #1a7a68 50%, #0a463c 100%);
  background-size: 200% 200%;
  animation: skLogoPulse 1.8s ease-in-out infinite;
}

.sk-logo-sm { width: 42px; height: 42px; }

@keyframes skLogoPulse {
  0%, 100% { background-position: 0% 50%; opacity: 0.85; }
  50% { background-position: 100% 50%; opacity: 1; }
}

.sk-logo-text { flex: 1; }

.sk-input {
  height: 44px;
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.15rem;
}

.sk-textarea {
  height: 100px;
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.sk-field { margin-bottom: 0.9rem; }

.sk-check {
  height: 16px;
  width: 55%;
  border-radius: 4px;
  margin: 0.75rem 0 1rem;
}

.sk-btn {
  height: 48px;
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: linear-gradient(
    110deg,
    #0f5c4f 0%,
    #0f5c4f 40%,
    #1a7a68 50%,
    #0f5c4f 60%,
    #0f5c4f 100%
  );
  background-size: 200% 100%;
  animation: skShimmer 1.35s ease-in-out infinite;
}

.sk-btn-inline { width: 180px; }
.sk-btn-sm { height: 36px; width: 110px; border-radius: var(--radius-sm); }

.sk-pill {
  height: 28px;
  width: 72px;
  border-radius: 999px;
}

.sk-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

/* Auth skeleton */
.sk-auth-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 100vh;
  box-sizing: border-box;
}

.sk-auth-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  width: min(1280px, 100%);
  min-height: 680px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.sk-auth-visual {
  background: var(--navy);
  padding: 2rem;
  display: flex;
  align-items: flex-end;
}

.sk-auth-visual-inner {
  width: 100%;
}

.sk-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sk-block {
  height: 44px;
  width: 100%;
  border-radius: var(--radius);
}

.sk-auth-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

/* Portal / CRM skeleton */
.sk-crm-app {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sk-crm-side {
  width: 280px;
  flex-shrink: 0;
  background: var(--navy);
  padding: 1.25rem 1rem;
}

.sk-nav-item {
  height: 48px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.4rem;
}

.sk-crm-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sk-crm-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.sk-crm-body {
  padding: 1.35rem 1.5rem 2rem;
}

.sk-crm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.sk-badge {
  height: 36px;
  width: 210px;
  border-radius: 999px;
  flex-shrink: 0;
}

.sk-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}

.sk-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
}

/* Inbox (Problems / Certificates) skeleton */
.sk-inbox-panel {
  padding: 1.25rem 1.2rem 1.4rem;
}

.sk-inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.sk-inbox-search {
  height: 42px;
  width: min(100%, 320px);
  border-radius: 10px;
}

.sk-inbox-head,
.sk-inbox-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 0.9fr 0.75fr 1fr 0.7fr;
  gap: 0.75rem;
  align-items: center;
}

.sk-inbox-head {
  padding: 0.55rem 0.35rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.35rem;
}

.sk-inbox-row {
  padding: 0.85rem 0.35rem;
  border-bottom: 1px solid var(--border-soft);
}

.sk-inbox-row .sk-line {
  margin-bottom: 0;
  height: 11px;
}

.sk-inbox-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

.sk-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.sk-pill-sm {
  height: 22px;
  width: 72px;
  border-radius: 999px;
  margin: 0;
}

.sk-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  position: relative;
}

.sk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8f3ef, #d4ebe3);
}

.sk-step {
  width: 42px;
  height: 32px;
  border-radius: 8px;
  opacity: 0.5;
}

.sk-fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.sk-upload {
  height: 110px;
  width: 100%;
  border-radius: var(--radius);
  margin: 0.75rem 0;
  border: 1.5px dashed #d5dee7;
  background: linear-gradient(
    110deg,
    #fafbfc 0%,
    #fafbfc 35%,
    #f0f5f8 50%,
    #fafbfc 65%,
    #fafbfc 100%
  );
  background-size: 200% 100%;
  animation: skShimmer 1.35s ease-in-out infinite;
}

.sk-infobox {
  height: 52px;
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 0.85rem 0;
}

.sk-mint {
  background: linear-gradient(
    110deg,
    #e6f4ef 0%,
    #e6f4ef 35%,
    #f2faf7 50%,
    #e6f4ef 65%,
    #e6f4ef 100%
  );
  background-size: 200% 100%;
}

.sk-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sk-side-dark {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}

.sk-side-steps {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

.sk-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.sk-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.sk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.sk-chip {
  height: 34px;
  width: 120px;
  border-radius: 999px;
}

.sk-minis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sk-mini {
  height: 96px;
  border-radius: var(--radius);
}

/* Desk skeleton */
.sk-desk-main { max-width: 1000px; }

.sk-desk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.sk-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.sk-num {
  height: 28px;
  width: 36px;
  margin-bottom: 0.55rem;
  border-radius: 8px;
  background: linear-gradient(
    110deg,
    #0f5c4f 0%,
    #0f5c4f 40%,
    #1a7a68 50%,
    #0f5c4f 60%,
    #0f5c4f 100%
  );
  background-size: 200% 100%;
  animation: skShimmer 1.35s ease-in-out infinite;
}

.sk-toolbar {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.sk-search {
  flex: 1;
  min-width: 200px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.sk-select {
  width: 140px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.sk-empty {
  background: #fff;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.sk-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 1rem;
}

@media (max-width: 1024px) {
  .sk-auth-panel {
    grid-template-columns: 1fr;
    max-width: 480px;
    min-height: auto;
  }

  .sk-auth-visual {
    display: none !important;
  }

  .sk-points { display: none; }

  .sk-grid { grid-template-columns: 1fr; }

  .sk-crm-side { display: none; }
}

@media (max-width: 640px) {
  .sk-fields-2,
  .sk-minis,
  .sk-stats {
    grid-template-columns: 1fr;
  }

  .sk-tabs {
    display: flex;
    overflow: hidden;
  }

  .sk-tab { min-width: 140px; flex: 0 0 auto; }

  .sk-hero { flex-direction: column; }

  .sk-badge { width: 160px; }

  .sk-btn-inline { width: 100%; }

  .sk-inbox-head {
    display: none;
  }

  .sk-inbox-search {
    width: 100%;
  }

  .sk-inbox-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.85rem 0.65rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .sk-inbox-row .sk-line:nth-child(n + 5) {
    display: none;
  }

  .sk-inbox-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-bone,
  .sk-logo,
  .sk-btn,
  .sk-tab-on,
  .sk-num,
  .sk-upload,
  .sk-mint {
    animation: none;
  }

  body.is-ready .page-reveal {
    animation: none;
  }
}

/* ---------- Inbox list + record modal ---------- */
.inbox-panel {
  padding: 1.25rem 1.2rem 1.4rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.inbox-toolbar .search-box {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 420px;
}

.inbox-count {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.inbox-count strong {
  color: var(--navy);
  font-weight: 750;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
}

.inbox-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.875rem;
}

.inbox-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 1;
}

body.rtl .inbox-table th,
body.rtl .inbox-table td {
  text-align: right;
}

.inbox-table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--navy);
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.inbox-table tbody tr:last-child td {
  border-bottom: none;
}

.inbox-table tbody tr:hover {
  background: #f8fbfc;
}

/* Column widths — shared across dashboard tables */
.inbox-table .col-ref {
  width: 12%;
  white-space: nowrap;
}

.inbox-table .col-type {
  width: 18%;
}

.inbox-table .col-area {
  width: 16%;
}

.inbox-table .col-citizen,
.inbox-table .col-name {
  width: 14%;
}

.inbox-table .col-phone {
  width: 12%;
  white-space: nowrap;
}

.inbox-table .col-email {
  width: 18%;
}

.inbox-table .col-role,
.inbox-table .col-status {
  width: 11%;
  white-space: nowrap;
}

.inbox-table .col-date {
  width: 12%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.inbox-table .col-actions {
  width: 96px;
  white-space: nowrap;
  text-align: right;
}

body.rtl .inbox-table .col-actions {
  text-align: left;
}

.inbox-table .col-actions .row-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

body.rtl .inbox-table .col-actions .row-actions {
  justify-content: flex-start;
}

/* Progressive column hiding for mid desktop / laptop */
@media (max-width: 1280px) {
  .inbox-table {
    min-width: 600px;
    font-size: 0.84rem;
    table-layout: auto;
  }

  .inbox-table th,
  .inbox-table td {
    padding: 0.7rem 0.65rem;
  }

  .inbox-table .col-hide-xl {
    display: none;
  }

  .inbox-table .col-type,
  .inbox-table .col-area,
  .inbox-table .col-citizen {
    width: auto;
  }

  .inbox-table .col-status,
  .inbox-table .col-actions {
    width: 1%;
    white-space: nowrap;
  }

  .inbox-table .col-actions {
    text-align: start;
    padding-inline-start: 0.4rem;
    padding-inline-end: 0.65rem;
  }

  .inbox-table .col-actions .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .inbox-table .col-hide-lg {
    display: none;
  }
}

@media (max-width: 960px) {
  .inbox-table {
    min-width: 520px;
  }

  .inbox-table .col-hide-md {
    display: none;
  }

  .inbox-toolbar .search-box {
    max-width: none;
    flex: 1 1 100%;
  }
}

.ref-code {
  display: inline-block;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  background: var(--bg);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  color: var(--teal-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-new {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-review {
  background: #fff7ed;
  color: #c2410c;
}

.status-done,
.status-resolved {
  background: #ecfdf5;
  color: #047857;
}

.row-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-row:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.btn-row.btn-edit {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.btn-row.btn-edit:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-row.btn-ghost {
  background: #fff;
}

.btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-ico .icon {
  width: 16px;
  height: 16px;
}

.btn-ico.btn-edit {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.btn-ico.btn-edit:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-ico.btn-delete {
  background: #fff;
  border-color: #fecaca;
  color: #dc2626;
}

.btn-ico.btn-delete:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
}

/* Delete confirm popup */
.awam-confirm {
  z-index: 90;
}

.awam-confirm .awam-modal-backdrop {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.awam-confirm.is-open .awam-modal-backdrop {
  opacity: 1;
}

.awam-confirm-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.45rem 1.35rem;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 28px 64px rgba(10, 37, 51, 0.28);
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.awam-confirm.is-open .awam-confirm-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.awam-confirm.is-closing .awam-confirm-dialog {
  transform: translateY(10px) scale(0.96);
  opacity: 0;
}

.awam-confirm.is-closing .awam-modal-backdrop {
  opacity: 0;
}

.awam-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fef2f2, #fee2e2);
  color: #dc2626;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
  animation: confirmPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.awam-confirm.is-open .awam-confirm-icon {
  animation: confirmPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.awam-confirm-icon .icon {
  width: 24px;
  height: 24px;
}

@keyframes confirmPop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

.awam-confirm-dialog h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.awam-confirm-dialog > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.awam-confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-row.btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.btn-row.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

body.rtl .awam-confirm-dialog h2,
body.rtl .awam-confirm-dialog > p {
  text-align: center;
}

.inbox-empty {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 0.5rem 0.5rem;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.awam-modal {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.awam-modal[hidden] {
  display: none !important;
}

.awam-modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 37, 51, 0.55);
  backdrop-filter: blur(2px);
}

.awam-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-width: 100%;
  height: auto;
  max-height: min(75vh, 720px);
  max-height: min(75dvh, 720px);
  margin: auto;
  flex: 0 1 auto;
  align-self: center;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 37, 51, 0.28);
  border: 1px solid var(--border-soft);
  animation: awamModalIn 0.22s ease both;
}

@keyframes awamModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.awam-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
  z-index: 2;
}

.awam-modal-head h2 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  min-width: 0;
  flex: 1;
}

.awam-modal-x {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
}

.awam-modal-x:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.awam-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.awam-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.1rem 1.2rem 0.85rem;
}

.awam-modal-body .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin-bottom: 0.35rem;
}

.awam-modal-body .field {
  min-width: 0;
}

.awam-modal-body .field input,
.awam-modal-body .field textarea,
.awam-modal-body .awam-select-trigger {
  max-width: 100%;
}

.awam-modal-body input[readonly],
.awam-modal-body textarea[readonly] {
  background: #f8fafc;
  color: var(--navy);
}

.select-wrap.is-locked {
  opacity: 0.9;
  pointer-events: none;
}

.select-wrap.is-locked .awam-select-trigger {
  background: #f8fafc;
  cursor: default;
}

.awam-select-list.is-fixed {
  position: fixed;
  z-index: 120;
  margin: 0;
}

.modal-check {
  margin: 0;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.35;
}

.modal-check input {
  margin-top: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.modal-check span {
  display: block;
  padding-top: 0.05rem;
  min-width: 0;
}

.modal-note {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.awam-modal-foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.9rem 1.2rem calc(0.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-soft);
  background: #fff;
}

.awam-modal-foot .btn-submit,
.awam-modal-foot .btn-row {
  min-height: 42px;
}

body.rtl .awam-modal-head h2,
body.rtl .modal-note {
  text-align: right;
}

@media (max-width: 860px) {
  .awam-modal-body .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .table-scroll {
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .inbox-table {
    min-width: 0;
    table-layout: auto;
  }

  .inbox-table thead {
    display: none;
  }

  .inbox-table,
  .inbox-table tbody,
  .inbox-table tr,
  .inbox-table td,
  .inbox-table .col-ref,
  .inbox-table .col-type,
  .inbox-table .col-area,
  .inbox-table .col-citizen,
  .inbox-table .col-name,
  .inbox-table .col-phone,
  .inbox-table .col-email,
  .inbox-table .col-role,
  .inbox-table .col-status,
  .inbox-table .col-date,
  .inbox-table .col-actions,
  .inbox-table .col-hide-xl,
  .inbox-table .col-hide-lg,
  .inbox-table .col-hide-md {
    display: block;
    width: 100%;
  }

  .inbox-table tr {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  .inbox-table td {
    border: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 0.55rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
  }

  .inbox-table td:last-child {
    border-bottom: none;
    padding-bottom: 0.15rem;
  }

  .inbox-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    flex: 0 0 38%;
    max-width: 9rem;
    line-height: 1.4;
  }

  .inbox-table td > *:not(.row-actions) {
    text-align: right;
    min-width: 0;
  }

  body.rtl .inbox-table td > *:not(.row-actions) {
    text-align: left;
  }

  .inbox-table td .row-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  body.rtl .inbox-table td .row-actions {
    margin-left: 0;
    margin-right: auto;
    justify-content: flex-start;
  }

  .awam-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .awam-modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border: none;
    flex: 1 1 auto;
    align-self: stretch;
  }

  .awam-modal-head {
    padding: 0.9rem 1rem;
    padding-top: max(0.9rem, env(safe-area-inset-top));
  }

  .awam-modal-scroll {
    padding: 1rem;
  }

  .awam-modal-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  }

  .awam-modal-foot .btn-submit,
  .awam-modal-foot .btn-row {
    width: 100%;
    justify-content: center;
  }

  .awam-confirm {
    padding: 0.85rem;
    align-items: center;
    justify-content: center;
  }

  .awam-confirm-dialog {
    width: min(400px, 100%);
    max-height: min(90vh, 90dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.35rem 1.15rem 1.2rem;
    border-radius: 16px;
  }

  .awam-confirm-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .awam-confirm-actions .btn-row {
    width: 100%;
    justify-content: center;
  }
}

/* ========== Landing page ========== */
.lp-page {
  background: #f0f4f6;
  color: var(--text);
  overflow-x: clip;
}

.lp-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.lp-nav {
  --lp-nav-h: 4.5rem;
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.lp-nav.is-scrolled {
  background: rgba(244, 247, 249, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(10, 37, 51, 0.06);
}

.lp-nav-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(1rem, 3.5vw, 2.5rem);
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 2;
}

.lp-brand .logo-text {
  min-width: 0;
  overflow: hidden;
}

.lp-brand .logo-text strong,
.lp-brand .logo-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-nav:not(.is-scrolled) .logo-text strong {
  color: #fff;
}

.lp-nav:not(.is-scrolled) .logo-text small {
  color: rgba(255, 255, 255, 0.72);
}

.lp-nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
  z-index: 5;
  pointer-events: none;
}

body.rtl .lp-nav-links {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

.lp-nav-links a {
  pointer-events: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
  position: relative;
  transition: color 0.2s ease;
}

.lp-nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.lp-nav-links a:hover::after {
  transform: scaleX(1);
}

.lp-nav.is-scrolled .lp-nav-links a {
  color: var(--navy);
}

.lp-nav.is-scrolled .lp-nav-links a:hover {
  color: var(--teal-dark);
}

.lp-nav-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-inline-start: auto;
}

.lp-nav .lp-lang.auth-lang {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  margin-bottom: 0;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  height: auto;
  min-height: 0;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-sizing: border-box;
}

.lp-nav .lp-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  box-shadow: none;
}

.lp-nav.is-scrolled .lp-lang {
  background: #e8f0f3;
  border-color: transparent;
}

.lp-nav.is-scrolled .lp-lang a {
  color: var(--muted);
}

.lp-nav.is-scrolled .lp-lang a.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 92, 79, 0.22);
}

.lp-nav:not(.is-scrolled) .lp-lang a {
  color: rgba(255, 255, 255, 0.82);
}

.lp-nav:not(.is-scrolled) .lp-lang a:hover {
  color: #fff;
}

.lp-nav:not(.is-scrolled) .lp-lang a.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

.lp-nav-btn-ghost {
  padding: 0.55rem 1rem !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.lp-nav-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

.lp-nav.is-scrolled .lp-nav-btn-ghost {
  background: transparent !important;
  color: var(--navy) !important;
  border-color: rgba(10, 37, 51, 0.22) !important;
}

.lp-nav.is-scrolled .lp-nav-btn-ghost:hover {
  background: rgba(10, 37, 51, 0.05) !important;
}

.lp-nav-cta {
  padding: 0.55rem 1.05rem !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
}

/* Mobile menu button */
.lp-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.lp-menu-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lp-nav.is-scrolled .lp-menu-btn {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}

.lp-nav.is-scrolled .lp-menu-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.lp-menu-icon-open,
.lp-menu-icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-menu-icon-close {
  display: none;
}

body.lp-menu-open .lp-menu-icon-open {
  display: none;
}

body.lp-menu-open .lp-menu-icon-close {
  display: inline-flex;
}

/* Side drawer */
.lp-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(320px, 86vw);
  height: 100dvh;
  max-height: none;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: -10px 0 36px rgba(10, 37, 51, 0.2);
  transform: translateX(105%);
  opacity: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  z-index: 220;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
}

body.rtl .lp-mobile-menu {
  right: auto;
  left: 0;
  box-shadow: 10px 0 36px rgba(10, 37, 51, 0.2);
  transform: translateX(-105%);
}

body.lp-menu-open .lp-mobile-menu,
body.rtl.lp-menu-open .lp-mobile-menu {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.lp-mobile-menu-inner {
  padding: 1rem 1.05rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-height: 100%;
}

.lp-mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
}

.lp-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.lp-mobile-brand .logo-mark {
  width: 40px;
  height: 40px;
}

.lp-mobile-brand .logo-text strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.lp-mobile-brand .logo-text small {
  color: var(--muted);
  font-size: 0.68rem;
}

.lp-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f5f8f7;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lp-menu-close:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #fff;
}

.lp-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lp-mobile-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--navy);
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lp-mobile-nav-link:hover,
.lp-mobile-nav-link:focus-visible {
  background: rgba(15, 92, 79, 0.08);
  color: var(--teal-dark);
}

body.rtl .lp-mobile-nav-link {
  text-align: right;
  line-height: 1.8;
}

.lp-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.lp-mobile-btn,
.lp-mobile-btn-ghost {
  width: 100%;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.9rem !important;
  border-radius: 12px !important;
  text-align: center;
  justify-content: center;
}

.lp-mobile-btn-ghost {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.lp-mobile-btn-ghost:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}

/* Menu overlay */
.lp-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 51, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 210;
}

body.lp-menu-open .lp-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.lp-menu-open {
  overflow: hidden;
}

/* Top banner: left about + right chairman photo */
.lp-hero.lp-hero-banner {
  position: relative;
  min-height: 0;
  display: block;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.lp-hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(15, 92, 79, 0.5), transparent 70%),
    linear-gradient(145deg, #071820 0%, var(--navy) 48%, #0d3a34 100%);
}

.lp-hero-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  width: 100%;
  height: 90vh;
  min-height: 90vh;
  max-height: 90vh;
  align-items: stretch;
}

.lp-hero-banner-copy {
  padding: clamp(5.5rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46rem;
  width: 100%;
  overflow: auto;
}

.lp-hero-banner .lp-chairman-role {
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.lp-hero-banner-name {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}

.lp-hero-banner-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.lp-hero-banner .lp-achievements {
  display: grid;
  margin-bottom: 1.5rem;
  gap: 0.75rem 1.15rem;
}

.lp-hero-banner .lp-achievements li {
  padding: 0.55rem 0 0.55rem 0.9rem;
}

.lp-hero-banner .lp-achievements strong {
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.lp-hero-banner .lp-achievements span {
  font-size: 0.84rem;
  line-height: 1.45;
}

.lp-hero-banner-photo {
  margin: 0;
  position: relative;
  min-height: 100%;
  height: 100%;
  background: #06151c;
  overflow: hidden;
}

.lp-hero-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.lp-hero-banner-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 51, 0.5) 0%, rgba(10, 37, 51, 0.1) 40%, transparent 70%);
  pointer-events: none;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-hero-ctas .btn {
  flex: 1;
  min-width: 180px;
}

.lp-btn-lg {
  padding: 0.85rem 1.35rem !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
}

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.lp-btn-ghost-dark {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid rgba(10, 37, 51, 0.22) !important;
  box-shadow: none !important;
}

.lp-btn-ghost-dark:hover {
  background: rgba(10, 37, 51, 0.05) !important;
}

.lp-page main > section[id] {
  scroll-margin-top: calc(var(--lp-nav-h, 4.5rem) + 0.75rem);
}

.lp-section {
  padding: 5rem 0;
}

.lp-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.35rem 0 0.55rem;
}

.lp-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.lp-section-sub {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.02rem;
}

/* How it works — full-width light band */
.lp-how {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #eef5f3;
}

.lp-how-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 10% 0%, rgba(15, 92, 79, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 100%, rgba(26, 122, 104, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fbfa 0%, #e8f2ef 55%, #f3f7f6 100%);
}

.lp-how-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 8vw, 2.5rem) clamp(1.25rem, 5vw, 4.5rem);
}

.lp-how-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.25rem;
}

.lp-how-head .lp-eyebrow-light {
  color: var(--teal-mid);
}

.lp-how-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.4rem 0 0.65rem;
}

.lp-how-sub {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 auto;
}

.lp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  margin: 0;
  width: 100%;
  max-width: none;
}

/* Steps container for mobile slider */
.lp-steps-container {
  position: relative;
  width: 100%;
}

/* Dots navigation (hidden on desktop) */
.lp-steps-dots {
  display: none;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.lp-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 92, 79, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.lp-step-dot:hover {
  background: rgba(15, 92, 79, 0.45);
  transform: scale(1.2);
}

.lp-step-dot.active {
  background: var(--teal);
  width: 28px;
  border-radius: 5px;
}

.lp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.15rem) clamp(1.35rem, 2.5vw, 1.85rem);
  border: 1px solid rgba(15, 92, 79, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(10, 37, 51, 0.06);
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.lp-step::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  opacity: 0.9;
}

.lp-step:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 92, 79, 0.22);
  box-shadow: 0 18px 44px rgba(10, 37, 51, 0.1);
}

.lp-step-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-mid), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(15, 92, 79, 0.28);
  flex-shrink: 0;
}

.lp-step-line {
  flex: 1 1 auto;
  align-self: center;
  height: 2px;
  min-width: 2.5rem;
  background: linear-gradient(90deg, rgba(15, 92, 79, 0.35), rgba(15, 92, 79, 0.05));
  border-radius: 2px;
}

body.rtl .lp-step-line {
  background: linear-gradient(270deg, rgba(15, 92, 79, 0.35), rgba(15, 92, 79, 0.05));
}

.lp-step h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.lp-step p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* RTL support for steps */
body.rtl .lp-step h3,
body.rtl .lp-step p {
  text-align: right;
  line-height: 1.85;
}

body.rtl .lp-step p {
  font-size: 0.96rem;
}

/* Achievements — full-width timeline (no photo) */
.lp-achieve {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4f8f7;
}

.lp-achieve-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(15, 92, 79, 0.1), transparent 60%),
    linear-gradient(180deg, #fafcfb 0%, #eef5f2 48%, #f6f9f8 100%);
}

.lp-achieve-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.lp-achieve-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.lp-achieve-head .lp-eyebrow {
  color: var(--teal-mid);
}

.lp-achieve-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.4rem 0 0.7rem;
}

.lp-achieve-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto;
}

.lp-achieve-slider {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.lp-achieve-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  width: 100%;
  margin: 0 auto;
}

.lp-achieve-dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.lp-achieve-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(15, 92, 79, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.lp-achieve-dot.active,
.lp-achieve-dot.is-active {
  width: 22px;
  background: var(--teal);
}

.lp-achieve-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 92, 79, 0.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 37, 51, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.lp-achieve-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 92, 79, 0.22);
  box-shadow: 0 22px 48px rgba(10, 37, 51, 0.1);
}

.lp-achieve-card:nth-child(2).lp-reveal {
  transition-delay: 0.08s;
}

.lp-achieve-card:nth-child(3).lp-reveal {
  transition-delay: 0.16s;
}

.lp-achieve-card-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #0a2533;
}

.lp-achieve-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 37, 51, 0.35) 100%);
  pointer-events: none;
}

.lp-achieve-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-achieve-card-media img.lp-achieve-card-img-event {
  object-position: 42% 18%;
  filter: saturate(1.05) contrast(1.03);
}

.lp-achieve-card:hover .lp-achieve-card-media img {
  transform: scale(1.04);
}

.lp-achieve-card:hover .lp-achieve-card-media img.lp-achieve-card-img-event {
  transform: scale(1.05);
}

.lp-achieve-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.lp-achieve-card-body h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lp-achieve-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.lp-services {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(15, 92, 79, 0.08), transparent 60%),
    #f0f4f6;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.lp-svc-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.lp-svc-list li {
  padding-block: 0.15rem;
  border-inline-start: 3px solid var(--teal);
  padding-inline-start: 1rem;
}

.lp-svc-list h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.lp-svc-list p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.lp-services-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 37, 51, 0.14);
  aspect-ratio: 16 / 11;
}

.lp-services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Full-width contact */
.lp-contact {
  position: relative;
  width: 100%;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
  background: #f3f7f6;
}

.lp-contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(15, 92, 79, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(10, 37, 51, 0.07), transparent 55%),
    linear-gradient(165deg, #eef5f3 0%, #f7fafb 48%, #e8f0f2 100%);
  pointer-events: none;
}

.lp-contact-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.lp-contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.2fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.lp-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.lp-contact-info h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.35rem 0 0.85rem;
  line-height: 1.15;
}

.lp-contact-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 28rem;
}

.lp-contact-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-contact-points li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: #2f4a52;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.lp-contact-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 92, 79, 0.12);
}

.lp-contact-area {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lp-contact-panel {
  background: #fff;
  border: 1px solid rgba(15, 92, 79, 0.1);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 50px rgba(10, 37, 51, 0.07);
}

.lp-contact-success {
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(15, 92, 79, 0.08);
  border: 1px solid rgba(15, 92, 79, 0.18);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lp-contact-form .form-group {
  margin-bottom: 1rem;
}

.lp-contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.lp-contact-form .form-control {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(10, 37, 51, 0.12);
  background: #f8fbfa;
  padding: 0.78rem 0.95rem;
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-contact-form .form-control:focus {
  outline: none;
  background: #fff;
  border-color: rgba(15, 92, 79, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 92, 79, 0.12);
}

.lp-contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}

.lp-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.lp-contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  justify-content: center;
}

/* Full-width chairman band */
.lp-chairman {
  position: relative;
  width: 100%;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.lp-chairman-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(15, 92, 79, 0.55), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 20%, rgba(26, 122, 104, 0.25), transparent 60%),
    linear-gradient(160deg, #071820 0%, var(--navy) 45%, #0d3a34 100%);
}

.lp-chairman-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.95fr);
  min-height: min(88vh, 680px);
  width: 100%;
  align-items: stretch;
}

.lp-chairman-copy {
  padding: clamp(2.75rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 44rem;
  width: 100%;
}

.lp-chairman-photo {
  margin: 0;
  position: relative;
  min-height: 100%;
  background: #06151c;
  overflow: hidden;
}

.lp-chairman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.lp-chairman-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 51, 0.55) 0%, rgba(10, 37, 51, 0.12) 35%, transparent 65%);
  pointer-events: none;
}

.lp-eyebrow-light {
  color: #7dcdc0;
}

.lp-chairman-role {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.lp-chairman-name {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.lp-chairman-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.lp-achievements {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.lp-achievements li {
  padding: 0.85rem 0 0.85rem 0.95rem;
  border-inline-start: 2px solid rgba(125, 205, 192, 0.65);
}

.lp-achievements strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.lp-achievements span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.lp-chairman-quote {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-chairman-quote p {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: #e8f3ef;
  margin-bottom: 0.4rem;
}

.lp-chairman-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* On-ground Facebook videos — poster cards (no unreliable embeds) */
.lp-videos {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f3f7f6;
}

.lp-videos-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 10% 0%, rgba(15, 92, 79, 0.1), transparent 58%),
    radial-gradient(ellipse 45% 40% at 95% 100%, rgba(10, 37, 51, 0.06), transparent 55%),
    linear-gradient(180deg, #fafcfb 0%, #eef5f2 50%, #f6f9f8 100%);
  pointer-events: none;
}

.lp-videos-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.lp-videos-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.lp-videos-head .lp-eyebrow {
  color: var(--teal);
}

.lp-videos-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.15;
}

.lp-videos-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.lp-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.lp-video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 37, 51, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lp-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 37, 51, 0.12);
}

.lp-video-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a2533;
  text-decoration: none;
  color: inherit;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  text-align: start;
}

.lp-video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.lp-video-card:hover .lp-video-media img {
  transform: scale(1.04);
}

.lp-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 51, 0.08) 35%, rgba(10, 37, 51, 0.55) 100%);
  pointer-events: none;
}

.lp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 92, 79, 0.92);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 37, 51, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lp-video-play svg {
  width: 22px;
  height: 22px;
  margin-inline-start: 2px;
}

.lp-video-card:hover .lp-video-play {
  transform: scale(1.06);
  background: var(--teal-dark);
}

.lp-video-badge {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 37, 51, 0.62);
  backdrop-filter: blur(6px);
}

.lp-video-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.05rem 1.15rem;
  gap: 0.4rem;
}

.lp-video-copy h3 {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lp-video-copy p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.lp-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  cursor: pointer;
}

.lp-video-link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* Video popup */
body.lp-video-open {
  overflow: hidden;
}

.lp-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

.lp-video-modal[hidden] {
  display: none !important;
}

.lp-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 51, 0.72);
  backdrop-filter: blur(4px);
}

.lp-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: calc(100vw - 1.5rem);
  max-height: min(94vh, 940px);
  display: flex;
  flex-direction: column;
  background: #0a2533;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
}

.lp-video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #0d2f40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-video-modal-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: #fff;
  line-height: 1.35;
  min-width: 0;
}

.lp-video-modal-x {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lp-video-modal-x:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lp-video-modal-body {
  padding: 0.65rem 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.lp-video-modal-frame {
  position: relative;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.lp-video-modal-frame iframe {
  position: static;
  display: block;
  border: 0;
  background: #000;
}

.lp-video-modal-note {
  margin: 0.7rem 0 0;
  text-align: center;
  width: 100%;
}

.lp-video-modal-note a {
  color: #7dceb8;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.lp-video-modal-note a:hover {
  text-decoration: underline;
}

@media (max-width: 400px) {
  .lp-video-modal {
    padding: 0.65rem;
  }

  .lp-video-modal-dialog {
    border-radius: 14px;
  }
}

body.rtl .lp-videos-head {
  text-align: center;
}

body.rtl .lp-video-copy h3,
body.rtl .lp-video-copy p {
  text-align: right;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .lp-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
    gap: 1.15rem;
  }
}

@media (max-width: 640px) {
  .lp-videos-grid {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
    max-width: none;
  }

  .lp-video-media {
    aspect-ratio: 3 / 4;
  }
}

/* Reviews slider — full width */
.lp-reviews {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a2533;
  color: #fff;
}

.lp-reviews-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 20% 0%, rgba(26, 122, 104, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 100%, rgba(15, 92, 79, 0.28), transparent 50%),
    linear-gradient(160deg, #071820 0%, #0a2533 50%, #0c342f 100%);
}

.lp-reviews-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.75rem, 6vw, 3.75rem);
}

.lp-reviews-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.lp-reviews-head .lp-eyebrow {
  color: #7dcdc0;
}

.lp-reviews-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0.4rem 0 0.65rem;
}

.lp-reviews-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.lp-reviews-slider {
  --lp-reviews-per: 3;
  --lp-reviews-gap: 1.15rem;
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(3.5rem, 5vw, 4.5rem);
  direction: ltr; /* keep slider physics LTR even on Urdu/Sindhi pages */
}

.lp-reviews-viewport {
  --per: var(--lp-reviews-per);
  --gap: var(--lp-reviews-gap);
  overflow: hidden;
  width: 100%;
  direction: ltr;
  min-height: 220px;
}

.lp-reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--lp-reviews-gap);
  direction: ltr;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: max-content;
  max-width: none;
  margin: 0;
  margin-inline: 0 !important;
  position: relative;
  left: 0;
  right: auto;
  inset-inline-start: 0;
  inset-inline-end: auto;
  float: none;
  transform: translateX(0);
}

html[dir="rtl"] .lp-reviews-track,
body.rtl .lp-reviews-track {
  direction: ltr;
  margin-left: 0 !important;
  margin-right: auto !important;
  left: 0;
  right: auto;
}

.lp-reviews-slide {
  /* Exact width set by JS (viewport / perView) — prevents mobile squash */
  flex: 0 0 auto;
  box-sizing: border-box;
  min-height: 260px;
  padding: 1.6rem 1.45rem 1.45rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lp-reviews-slide.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 205, 192, 0.35);
}

/* Text stays RTL; track motion stays LTR */
html[dir="rtl"] .lp-reviews-slide,
body.rtl .lp-reviews-slide {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

.lp-reviews-mark {
  font-size: 3.25rem;
  line-height: 0.7;
  font-weight: 800;
  color: #7dcdc0;
  opacity: 0.55;
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
}

.lp-reviews-text {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 1.35rem;
  flex: 1;
}

.lp-reviews-slide footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-reviews-slide footer strong {
  font-size: 0.98rem;
  color: #fff;
}

.lp-reviews-slide footer span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.lp-reviews-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lp-reviews-prev {
  inset-inline-start: 0.65rem;
}

.lp-reviews-next {
  inset-inline-end: 0.65rem;
}

.lp-reviews-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(125, 205, 192, 0.55);
}

.lp-reviews-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.lp-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.65rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.lp-reviews-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.lp-reviews-dot.is-active {
  width: 1.55rem;
  background: #7dcdc0;
}

.lp-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.25rem 0;
}

.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.lp-footer strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.lp-footer p {
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 28rem;
}

.lp-footer-privacy {
  opacity: 0.7;
}

/* Reveal motion */
.lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lp-hero .lp-reveal {
  transition-delay: 0.08s;
}

.lp-step:nth-child(2).lp-reveal {
  transition-delay: 0.08s;
}

.lp-step:nth-child(3).lp-reveal {
  transition-delay: 0.14s;
}

.lp-step:nth-child(4).lp-reveal {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-nav {
    transition: none;
  }
}

body.rtl .lp-hero-banner-name,
body.rtl .lp-how-head h2,
body.rtl .lp-achieve-head h2,
body.rtl .lp-achieve-card-body h3,
body.rtl .lp-reviews-head h2,
body.rtl .lp-reviews-text,
body.rtl .lp-section-head h2,
body.rtl .lp-contact-info h2,
body.rtl .lp-chairman-name {
  font-family: var(--font-ur-display);
  letter-spacing: 0;
  line-height: 1.35;
}

body.rtl .lp-hero-banner-photo::after {
  background: linear-gradient(270deg, rgba(10, 37, 51, 0.5) 0%, rgba(10, 37, 51, 0.1) 40%, transparent 70%);
}

body.rtl .lp-eyebrow {
  letter-spacing: 0.02em;
  text-transform: none;
}

body.rtl .lp-svc-list li {
  border-inline-start: none;
  border-inline-end: 3px solid var(--teal);
  padding-inline-start: 0;
  padding-inline-end: 1rem;
}

body.rtl .lp-chairman-photo::after {
  background: linear-gradient(270deg, rgba(10, 37, 51, 0.55) 0%, rgba(10, 37, 51, 0.12) 35%, transparent 65%);
}

body.rtl .lp-achievements li {
  border-inline-start: none;
  border-inline-end: 2px solid rgba(125, 205, 192, 0.65);
  padding-inline-start: 0;
  padding-inline-end: 0.95rem;
}

@media (max-width: 960px) {
  .lp-hero-banner-inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .lp-hero-banner-photo {
    order: -1;
    min-height: 320px;
    max-height: 42vh;
    height: 38vh;
  }

  .lp-hero-banner-photo::after {
    background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 51, 0.85) 100%);
  }

  .lp-hero-banner-copy {
    max-width: none;
    padding: 1.75rem 1.25rem 2.5rem;
    overflow: visible;
  }

  .lp-reviews-slider {
    --lp-reviews-per: 1;
    --lp-reviews-gap: 0;
    padding: 0 2.75rem;
  }

  .lp-reviews-slide {
    min-height: 230px;
    padding: 1.45rem 1.25rem;
  }

  .lp-reviews-text {
    font-size: 1.02rem;
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .lp-reviews-nav {
    width: 2.45rem;
    height: 2.45rem;
  }

  .lp-reviews-prev {
    inset-inline-start: 0.15rem;
  }

  .lp-reviews-next {
    inset-inline-end: 0.15rem;
  }

  .lp-reviews-head {
    padding: 0 1rem;
    margin-bottom: 1.75rem;
  }

  .lp-reviews-inner {
    padding: clamp(2.5rem, 6vw, 3.25rem) 0 2.5rem;
  }
}

@media (max-width: 640px) {
  .lp-reviews-slider {
    --lp-reviews-per: 1;
    --lp-reviews-gap: 0;
    padding: 0 2.55rem;
  }

  .lp-reviews-slide {
    min-height: 210px;
    padding: 1.3rem 1.15rem;
  }

  .lp-reviews-text {
    font-size: 1rem;
    margin-bottom: 1.1rem;
  }

  .lp-reviews-mark {
    font-size: 2.6rem;
    margin-bottom: 0.55rem;
  }
}

@media (max-width: 900px) {
  .lp-how-inner {
    padding: 2.25rem 1rem 2.5rem;
  }

  .lp-how-head {
    text-align: center;
    margin: 0 auto 1.75rem;
    max-width: 28rem;
    padding: 0 0.25rem;
  }

  .lp-how-head h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .lp-how-sub {
    font-size: 0.95rem;
  }

  .lp-steps-container {
    position: relative;
    width: 100%;
    overflow: visible;
  }

  .lp-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
    padding: 0.1rem 0 0.25rem;
    list-style: none;
  }

  .lp-steps::-webkit-scrollbar {
    display: none;
  }

  .lp-step {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
    min-height: 240px;
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .lp-step-top {
    gap: 0.65rem;
    margin-bottom: 0.95rem;
  }

  .lp-step-num {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
  }

  .lp-step h3 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
  }

  .lp-step p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .lp-steps-dots {
    display: flex;
    margin-top: 1.35rem;
    gap: 0.45rem;
  }

  .lp-step-dot {
    width: 8px;
    height: 8px;
  }

  .lp-step-dot.active {
    width: 22px;
  }

  .lp-services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-services-visual {
    order: -1;
    max-height: 280px;
  }

  .lp-achievements {
    grid-template-columns: 1fr;
  }

  .lp-achieve-inner {
    padding: 2.5rem 1rem 2.75rem;
  }

  .lp-achieve-head {
    margin-bottom: 1.65rem;
    padding: 0 0.25rem;
  }

  .lp-achieve-head h2 {
    font-size: clamp(1.55rem, 6vw, 2.05rem);
  }

  .lp-achieve-sub {
    font-size: 0.95rem;
  }

  .lp-achieve-slider {
    max-width: none;
  }

  .lp-achieve-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
    padding: 0.1rem 0 0.25rem;
  }

  .lp-achieve-cards::-webkit-scrollbar {
    display: none;
  }

  .lp-achieve-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
  }

  .lp-achieve-card:hover {
    transform: none;
  }

 

  .lp-achieve-card-body {
    padding: 1.15rem 1.1rem 1.3rem;
  }

  .lp-achieve-card-body h3 {
    font-size: 1.05rem;
  }

  .lp-achieve-card-body p {
    font-size: 0.9rem;
  }

  .lp-achieve-dots {
    display: flex;
  }

  .lp-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lp-contact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .lp-nav {
    --lp-nav-h: 4rem;
  }

  .lp-nav-links {
    display: none;
  }

  .lp-menu-btn {
    display: inline-flex;
  }

  /* CTAs in sidebar; language stays outside in header */
  .lp-nav-btn-ghost,
  .lp-nav-cta {
    display: none !important;
  }

  .lp-nav-inner {
    padding-inline: 0.9rem;
    min-height: var(--lp-nav-h);
    gap: 0.55rem;
  }

  .lp-nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .lp-brand {
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .lp-brand .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .lp-brand .logo-mark span:first-child {
    font-size: 0.82rem;
  }

  .lp-brand .logo-mark span:last-child {
    font-size: 0.48rem;
  }

  .lp-brand .logo-text strong {
    font-size: 0.9rem;
  }

  .lp-brand .logo-text small {
    font-size: 0.64rem;
  }

  .lp-nav .lp-lang.auth-lang {
    padding: 0.1rem;
    gap: 0.1rem;
  }

  .lp-nav .lp-lang a {
    padding: 0.32rem 0.42rem;
    font-size: 0.66rem;
    min-width: 1.9rem;
  }

  .lp-nav .lp-lang a span {
    display: none;
  }

  .lp-nav .lp-lang a::before {
    content: attr(data-short);
  }
}

@media (max-width: 720px) {
  .lp-nav {
    --lp-nav-h: 3.65rem;
  }

  .lp-nav-inner {
    padding-inline: 0.75rem;
    min-height: var(--lp-nav-h);
    gap: 0.45rem;
  }

  .lp-brand .logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .lp-brand .logo-mark span:first-child {
    font-size: 0.74rem;
  }

  .lp-brand .logo-mark span:last-child {
    font-size: 0.42rem;
  }

  .lp-brand .logo-text strong {
    font-size: 0.84rem;
  }

  .lp-brand .logo-text small {
    font-size: 0.6rem;
  }

  .lp-nav .lp-lang a {
    padding: 0.28rem 0.36rem;
    font-size: 0.62rem;
  }

  .lp-menu-btn {
    width: 38px;
    height: 38px;
  }

  .lp-mobile-menu {
    width: min(300px, 88vw);
  }

  .lp-hero.lp-hero-banner {
    min-height: 0;
  }

  .lp-hero-banner-name {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .lp-section {
    padding: 3.5rem 0;
  }

  .lp-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .lp-nav {
    --lp-nav-h: 3.5rem;
  }

  .lp-nav-inner {
    padding-inline: 0.65rem;
    gap: 0.4rem;
  }

  .lp-brand .logo-text small {
    display: none;
  }

  .lp-menu-btn {
    width: 36px;
    height: 36px;
  }

  .lp-menu-btn svg {
    width: 18px;
    height: 18px;
  }

  .lp-mobile-menu {
    width: min(290px, 90vw);
  }

  .lp-mobile-menu-inner {
    padding: 0.85rem 0.9rem 1.25rem;
  }
}

  .lp-how-inner {
    padding: 2rem 0.85rem 2.25rem;
  }

  .lp-step {
    min-height: 220px;
    padding: 1.25rem 1.05rem 1.35rem;
  }
}

/* Announcements */
.announcement-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.announcement-banner { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; border-left: 4px solid transparent; margin-bottom: 10px;}
.announcement-banner--low { background: #d1fae5; border-left-color: #10b981; color: #065f46; }
.announcement-banner--medium { background: #fef9c3; border-left-color: #f59e0b; color: #92400e; }
.announcement-banner--high { background: #fee2e2; border-left-color: #ef4444; color: #991b1b; }

/* Priority badges (admin table) */
.priority-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.priority-badge--low { background: #d1fae5; color: #065f46; }
.priority-badge--medium { background: #fef9c3; color: #92400e; }
.priority-badge--high { background: #fee2e2; color: #991b1b; }

/* Assign button */
.btn-assign { color: var(--teal); }
.btn-assign:hover { background: var(--teal-soft); }

/* Assign dialog — slightly wider than confirm */
.awam-assign-dialog { max-width: 420px; width: 100%; }
