:root {
    --primary: #F05A2B;
    --primary-dark: #C94520;
    --primary-light: #FF7A50;
    --primary-pale: #FFF0EB;
    --dark: #111111;
    --gray-900: #1F1F1F;
    --gray-700: #444;
    --gray-500: #777;
    --gray-300: #CCC;
    --gray-100: #F6F6F6;
    --white: #FFF;
    --green: #10B981;
    --blue: #3B82F6;
    --amber: #F59E0B;
    /* Company Manual tokens */
    --sidebar-w: 272px;
    --header-h: 68px;
    --r: 14px;
    --r-lg: 22px;
    --shadow: 0 2px 20px rgba(240,90,43,0.09);
    --shadow-md: 0 6px 32px rgba(0,0,0,0.10);
    --font: 'Plus Jakarta Sans', 'Cairo', 'Tajawal', sans-serif;
    /* User Manual tokens (aliases) */
    --sidebar-width: 280px;
    --header-height: 70px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font);
    background: #F8F8F7;
    color: var(--dark);
    font-size: 15px;
    line-height: 1.7;
  }

  /* ── HEADER (Company: .hdr) ── */
  .hdr {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1.5px solid #F0EDE8;
    display: flex; align-items: center;
    padding: 0 28px; gap: 14px; z-index: 200;
    box-shadow: 0 1px 12px rgba(240,90,43,0.07);
  }
  .hdr-logo {
    width: 42px; height: 42px;
    background: var(--primary); border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 900; color: white;
    flex-shrink: 0; letter-spacing: -1px;
  }
  .hdr-title { font-size: 20px; font-weight: 800; color: var(--dark); }
  .hdr-title span { color: var(--primary); }
  .hdr-badge {
    background: var(--primary-pale); color: var(--primary);
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; letter-spacing: 0.4px;
  }
  .hdr-contact {
    margin-left: auto; display: flex; gap: 18px;
    font-size: 13px; color: var(--gray-500); align-items: center;
  }
  .hdr-contact a { color: var(--primary); text-decoration: none; font-weight: 600; }

  /* ── HEADER (User: .site-header) ── */
  .site-header {
    position: fixed; top: 0; right: 0; left: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 2px solid var(--primary-pale);
    display: flex; align-items: center;
    padding: 0 32px; z-index: 100; gap: 16px;
    box-shadow: 0 2px 16px rgba(240,90,43,0.08);
  }
  .logo-mark {
    width: 44px; height: 44px;
    background: var(--primary); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px; font-weight: 900;
    letter-spacing: -1px; flex-shrink: 0;
  }
  .site-header h1 { font-size: 22px; font-weight: 700; color: var(--dark); letter-spacing: -0.5px; }
  .site-header h1 span { color: var(--primary); }
  .header-contact {
    margin-right: auto; font-size: 13px; color: var(--gray-500);
    display: flex; gap: 20px; align-items: center;
  }
  .header-contact a { color: var(--primary); text-decoration: none; font-weight: 600; }

  /* ── MENU TOGGLES ── */
  .menu-btn, .menu-toggle {
    display: none; background: none; border: none;
    cursor: pointer; font-size: 22px; color: var(--primary);
  }

  /* ── LAYOUT ── */
  .layout { display: flex; padding-top: var(--header-h); min-height: 100vh; }

  /* ── SIDEBAR (shared base) ── */
  .sidebar {
    position: fixed; top: var(--header-h); bottom: 0;
    background: var(--white);
    overflow-y: auto; z-index: 100;
    padding: 20px 0 48px;
    transition: transform 0.3s ease;
  }
  .sidebar::-webkit-scrollbar { width: 4px; }
  .sidebar::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }

  /* Company sidebar (LTR) */
  [dir="ltr"] .sidebar { width: var(--sidebar-w); left: 0; border-right: 1.5px solid #F0EDE8; }
  /* User sidebar (RTL) */
  [dir="rtl"] .sidebar { width: var(--sidebar-width); right: 0; border-left: 1px solid #EEE; }

  /* Sidebar group labels */
  .sb-group {
    font-size: 10.5px; font-weight: 800;
    color: var(--primary); text-transform: uppercase;
    letter-spacing: 1.2px; padding: 16px 20px 5px;
  }
  .sidebar-group-label {
    font-size: 11px; font-weight: 700;
    color: var(--primary); padding: 14px 20px 4px; letter-spacing: 0.5px;
  }
  .sidebar-title {
    font-size: 11px; font-weight: 700; color: var(--gray-500);
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 0 20px 10px; border-bottom: 1px solid #F0F0F0; margin-bottom: 8px;
  }

  /* Sidebar links */
  .sidebar a {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 20px; font-size: 13px; font-weight: 500;
    color: var(--gray-700); text-decoration: none;
    transition: all 0.2s; line-height: 1.4;
  }
  [dir="ltr"] .sidebar a { border-left: 3px solid transparent; }
  [dir="rtl"] .sidebar a { border-right: 3px solid transparent; font-size: 14px; }

  .sidebar a:hover, .sidebar a.active {
    color: var(--primary); background: var(--primary-pale); font-weight: 700;
  }
  [dir="ltr"] .sidebar a:hover,
  [dir="ltr"] .sidebar a.active { border-left-color: var(--primary); }
  [dir="rtl"] .sidebar a:hover,
  [dir="rtl"] .sidebar a.active { border-right-color: var(--primary); }

  .sidebar a .pg { font-size: 10px; color: var(--gray-300); font-weight: 600; flex-shrink: 0; }
  [dir="ltr"] .sidebar a .pg { margin-left: auto; }
  [dir="rtl"] .sidebar a .pg { margin-right: auto; }
  .sidebar a .icon { font-size: 15px; flex-shrink: 0; }

  /* ── MAIN ── */
  [dir="ltr"] .main { margin-left: var(--sidebar-w); }
  [dir="rtl"] .main  { margin-right: var(--sidebar-width); }
  .main {
    flex: 1; padding: 44px 52px 100px;
    max-width: calc(100% - var(--sidebar-w));
  }

  /* ── SECTION ── */
  .section { margin-bottom: 68px; scroll-margin-top: calc(var(--header-h) + 18px); }

  /* ── CHAPTER BLOCK ── */
  .chapter {
    background: var(--primary);
    border-radius: var(--r-lg); padding: 60px 52px;
    margin-bottom: 36px; position: relative; overflow: hidden;
    scroll-margin-top: calc(var(--header-h) + 18px);
  }
  .chapter::before {
    content: ''; position: absolute;
    top: -50px; right: -40px;
    width: 220px; height: 220px;
    border: 44px solid rgba(255,255,255,.08); border-radius: 50%;
  }
  .chapter::after {
    content: ''; position: absolute;
    bottom: -70px; left: -20px;
    width: 160px; height: 160px;
    border: 30px solid rgba(255,255,255,.05); border-radius: 50%;
  }
  .chapter h2 { font-size: 44px; font-weight: 900; color: white; position: relative; z-index: 1; line-height: 1.15; }
  .chapter .pg-badge, .chapter .page-num {
    position: absolute; top: 20px;
    font-size: 11px; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: 1px;
  }
  [dir="ltr"] .chapter .pg-badge { right: 24px; }
  [dir="rtl"] .chapter .page-num { left: 24px; }

  /* ── CARDS ── */
  .card, .page-card {
    background: white; border-radius: var(--r-lg);
    padding: 40px; margin-bottom: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(240,90,43,.07);
    position: relative;
  }
  .card .pg-tag, .page-card .page-num-badge {
    position: absolute; top: 18px;
    background: var(--primary-pale); color: var(--primary);
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
  }
  [dir="ltr"] .card .pg-tag { right: 20px; }
  [dir="rtl"] .page-card .page-num-badge { left: 20px; }

  .card h3, .page-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
  .card h3 .accent, .page-card h3 .accent { color: var(--primary); }
  .card p, .page-card p { font-size: 14.5px; color: var(--gray-700); line-height: 1.85; margin-bottom: 14px; }
  .card p:last-child { margin-bottom: 0; }

  /* ── IMAGE PLACEHOLDERS ── */
  .img-ph, .img-placeholder {
    background: var(--gray-100);
    border: 2px dashed #DDD;
    border-radius: var(--r);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-500); gap: 8px; position: relative; overflow: hidden;
  }
  .img-ph::before, .img-placeholder::before { content: '📷'; font-size: 26px; filter: grayscale(1) opacity(.45); }
  .img-ph span, .img-placeholder span { font-size: 12px; font-weight: 600; text-align: center; padding: 0 12px; line-height: 1.5; }
  .manual-img {
    display: block;
    object-fit: contain;
    border-radius: var(--r);
  ;
  }

  /* Sizes */
  .ph-full,  .img-full   { width: 100%; height: 340px; }
  .ph-wide,  .img-wide   { width: 100%; height: 220px; }
  .ph-half,  .img-half   { width: 100%; height: 260px; }
  .ph-banner,.img-banner  { width: 100%; height: 180px; }
  .ph-phone, .img-phone   { width: 200px; height: 400px; flex-shrink: 0; }
  .ph-phone-sm, .img-phone-sm { width: 168px; height: 336px; flex-shrink: 0; }
  .manual-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 16px;
    margin-top: 22px;
  }
  .manual-image-grid .manual-img {
    justify-self: center;
  }

  /* ── GRIDS ── */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 18px 0; }
  .three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 18px 0; }
  .text-img, .two-col-text-img { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: start; }
  .phones-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
  .phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .phone-label { font-size: 12.5px; font-weight: 700; color: var(--primary); text-align: center; max-width: 180px; }

  /* ── STEPS ── */
  .steps { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
  .step {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 18px; background: var(--gray-100);
    border-radius: var(--r); transition: background 0.2s;
  }
  [dir="ltr"] .step { border-left: 4px solid var(--primary); }
  [dir="rtl"] .step { border-right: 4px solid var(--primary); }
  .step:hover { background: var(--primary-pale); }

  /* Step number circle (Company: .step-n, User: .step-num) */
  .step-n, .step-num {
    width: 30px; height: 30px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; flex-shrink: 0;
  }
  /* Step body content (Company: .step-body, User: .step-content) */
  .step-body h4, .step-content h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
  .step-body p,  .step-content p  { font-size: 13.5px; color: var(--gray-700); margin: 0; line-height: 1.65; }

  /* ── INFO CARDS (Company: .ic-grid/.ic, User: .info-cards/.info-card) ── */
  .ic-grid, .info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 16px; margin: 18px 0;
  }
  .ic, .info-card {
    background: var(--primary-pale); border-radius: var(--r);
    padding: 20px; border-top: 3px solid var(--primary);
  }
  .ic-num, .info-card .ic-num { font-size: 26px; font-weight: 900; color: var(--primary); margin-bottom: 8px; line-height: 1; }
  .ic h4, .info-card h4  { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
  .ic p,  .info-card p   { font-size: 13px; color: var(--gray-700); margin: 0; line-height: 1.6; }

  /* Flow step text wrapper — transparent on desktop */
  .fl-step > div:not(.fl-dot):not(.fl-label):not(.fl-sublabel) {
    display: contents;
  }

  /* ── FLOW DIAGRAM ── */
  .flow { display: flex; align-items: center; gap: 4px; margin: 24px 0; flex-wrap: wrap; justify-content: center; }

  /* Company: .fl-step/.fl-dot/.fl-label/.fl-sublabel/.fl-arrow */
  .fl-step, .flow-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; flex: 1; min-width: 110px; max-width: 160px;
  }
  .fl-dot, .flow-dot {
    width: 48px; height: 48px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 17px; font-weight: 800;
    box-shadow: 0 4px 14px rgba(240,90,43,.28); position: relative; z-index: 1;
  }
  .fl-dot.dark  { background: var(--dark); }
  .fl-dot.green { background: var(--green); }
  .fl-label, .flow-label { font-size: 11.5px; font-weight: 600; color: var(--gray-700); text-align: center; line-height: 1.4; }
  .fl-sublabel { font-size: 10.5px; color: var(--gray-500); text-align: center; line-height: 1.3; }
  .fl-arrow, .flow-arrow { color: var(--primary); font-size: 20px; font-weight: 700; flex-shrink: 0; padding: 0 2px; margin-top: -20px; }

  /* ── TIMELINE ── */
  .timeline {
    display: flex; gap: 0; position: relative;
    padding: 16px 0; overflow-x: auto; margin: 24px 0;
  }
  .timeline::before {
    content: ''; position: absolute; top: 40px;
    left: 40px; right: 40px; height: 2px; background: var(--primary);
  }
  .tl-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 130px; position: relative; }
  .tl-dot { width: 14px; height: 14px; background: var(--primary); border-radius: 50%; border: 3px solid var(--primary-pale); position: relative; z-index: 1; margin-top: 26px; }
  .tl-lbl, .tl-label { font-size: 11.5px; font-weight: 600; color: var(--gray-700); text-align: center; line-height: 1.4; max-width: 110px; }
  .tl-role, .tl-actor { font-size: 10.5px; color: var(--primary); font-weight: 700; text-align: center; }

  /* ── TOC ── */
  .toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
  .toc-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 9px;
    background: var(--gray-100); font-size: 13.5px;
    font-weight: 500; color: var(--gray-700);
    text-decoration: none; transition: all 0.2s;
  }
  [dir="ltr"] .toc-item { border-left: 3px solid transparent; }
  [dir="rtl"] .toc-item { border-right: 3px solid transparent; }
  .toc-item:hover { background: var(--primary-pale); color: var(--primary); }
  [dir="ltr"] .toc-item:hover { border-left-color: var(--primary); }
  [dir="rtl"] .toc-item:hover { border-right-color: var(--primary); }

  /* Page number badge in TOC (Company: .tpg, User: .toc-pg) */
  .toc-item .tpg, .toc-item .toc-pg {
    font-size: 11px; font-weight: 700; color: var(--primary);
    background: var(--primary-pale); padding: 2px 8px; border-radius: 10px; flex-shrink: 0;
  }
  [dir="ltr"] .toc-item .tpg  { margin-left: auto; }
  [dir="rtl"] .toc-item .toc-pg { margin-right: auto; }

  /* ── ALERT ── */
  .alert { display: flex; gap: 12px; padding: 15px 18px; border-radius: var(--r); margin: 18px 0; align-items: flex-start; }
  .alert-primary { background: var(--primary-pale); }
  .alert-info    { background: #EBF5FF; }
  .alert-warning { background: #FFFBEB; }
  .alert-success { background: #ECFDF5; }
  [dir="ltr"] .alert-primary { border-left: 4px solid var(--primary); }
  [dir="ltr"] .alert-info    { border-left: 4px solid var(--blue); }
  [dir="ltr"] .alert-warning { border-left: 4px solid var(--amber); }
  [dir="ltr"] .alert-success { border-left: 4px solid var(--green); }
  [dir="rtl"] .alert-primary { border-right: 4px solid var(--primary); }
  [dir="rtl"] .alert-info    { border-right: 4px solid var(--blue); }
  [dir="rtl"] .alert-warning { border-right: 4px solid var(--amber); }
  .alert-icon { font-size: 17px; flex-shrink: 0; margin-top: 2px; }
  .alert p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--gray-700); }

  /* ── BADGE ── */
  .badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
  .badge-primary { background: var(--primary); color: white; }
  .badge-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
  .badge-green   { background: var(--green); color: white; }
  .badge-gray    { background: var(--gray-100); color: var(--gray-700); }
  .badge-dark    { background: var(--dark); color: white; }

  /* ── FEATURE LIST (Company: .feat-list, User: .feature-list) ── */
  .feat-list, .feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
  .feat-list li, .feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-700); line-height: 1.7; }
  .feat-list li::before, .feature-list li::before { content: ''; width: 7px; height: 7px; background: var(--primary); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }

  /* ── TABLE ── */
  .info-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
  .info-table th { background: var(--primary); color: white; padding: 11px 15px; font-size: 13.5px; font-weight: 700; }
  [dir="ltr"] .info-table th { text-align: left; }
  [dir="rtl"] .info-table th { text-align: right; }
  .info-table td { padding: 11px 15px; font-size: 13.5px; color: var(--gray-700); border-bottom: 1px solid #EEE; line-height: 1.6; }
  .info-table tr:nth-child(even) td { background: var(--primary-pale); }

  /* ── FILTER TAGS (User only) ── */
  .filter-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
  .filter-tag { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 2px solid var(--primary); color: var(--primary); background: transparent; }
  .filter-tag.active { background: var(--primary); color: white; }

  /* ── NAV BAR DEMO (Company: .nav-demo, User: .nav-bar-demo) ── */
  .nav-demo, .nav-bar-demo {
    background: white; border: 2px solid #EEE; border-radius: 16px;
    padding: 12px 8px; display: flex; justify-content: space-around;
    max-width: 400px; margin: 20px auto; box-shadow: var(--shadow);
  }
  .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--gray-500); padding: 6px 10px; border-radius: 10px; transition: all 0.15s; }
  .nav-item.active { color: var(--primary); background: var(--primary-pale); }
  .nav-item .ni, .nav-item .nav-icon { font-size: 19px; }

  /* ── JOB CARD DEMO (Company: .jc, User: .job-card-demo) ── */
  .jc, .job-card-demo {
    background: white; border-radius: var(--r); padding: 18px 20px;
    border: 1px solid #EEE; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin: 12px 0;
  }
  .jc h4, .job-card-demo h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
  .jc .co, .job-card-demo .company { font-size: 12.5px; color: var(--gray-500); margin-bottom: 10px; }
  .jc .meta, .job-card-demo .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--gray-700); }
  .jc .meta span, .job-card-demo .meta span { display: flex; align-items: center; gap: 4px; }

  /* ── PLAN CARD ── */
  .plan-card {
    background: white; border-radius: var(--r); padding: 28px;
    border: 2px solid #EEE; text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
  }
  .plan-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
  .plan-card.featured { border-color: var(--primary); }
  .plan-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
  .plan-card .price { font-size: 32px; font-weight: 900; color: var(--primary); margin: 10px 0 4px; }
  .plan-card .price span { font-size: 15px; color: var(--gray-500); font-weight: 500; }
  .plan-card .saving { display: inline-block; background: #ECFDF5; color: var(--green); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-bottom: 12px; }
  .plan-card ul { list-style: none; text-align: left; font-size: 13.5px; color: var(--gray-700); line-height: 1.8; }
  .plan-card ul li::before { content: '✓  '; color: var(--green); font-weight: 700; }

  /* ── STORE BADGES ── */
  .store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
  .store-badge {
    display: flex; align-items: center; gap: 10px;
    background: #111; color: white; padding: 10px 20px;
    border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
    transition: opacity 0.2s;
  }
  .store-badge:hover { opacity: .8; }
  .store-badge .si, .store-badge .store-icon { font-size: 22px; }

  /* ── STATUS PILLS ── */
  .status-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
  .status-pill { padding: 6px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
  .sp-pending  { background: #FFF8EB; color: #92400E; }
  .sp-accepted { background: #ECFDF5; color: #065F46; }
  .sp-declined { background: #FEF2F2; color: #991B1B; }

  /* ── DIVIDER ── */
  hr.div, .divider { border: none; border-top: 2px solid var(--primary-pale); margin: 28px 0; }

  /* ── SIDEBAR MENU DEMO (Company: .sb-menu-demo, User: .sidebar-menu-demo) ── */
  .sb-menu-demo, .sidebar-menu-demo {
    background: white; border-radius: var(--r); border: 1px solid #EEE;
    overflow: hidden; max-width: 280px; box-shadow: var(--shadow);
  }
  .sdm-item { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid #F5F5F5; font-size: 13.5px; color: var(--dark); }
  .sdm-icon { font-size: 17px; width: 22px; text-align: center; }

  /* ── CREDIT CARD ── */
  .credit-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--r); padding: 24px 28px; color: white;
    display: flex; flex-direction: column; gap: 10px;
  }
  .credit-card h4 { font-size: 15px; font-weight: 700; opacity: .8; }
  .credit-card .credits { font-size: 40px; font-weight: 900; line-height: 1; }
  .credit-card .sub { font-size: 12.5px; opacity: .7; }

  /* ── FOOTER (Company: footer.ft, User: .manual-footer) ── */
  footer.ft, .manual-footer {
    background: var(--primary); color: rgba(255,255,255,.85);
    padding: 40px 52px; text-align: center; font-size: 13.5px;
  }
  [dir="ltr"] footer.ft { margin-left: var(--sidebar-w); }
  [dir="rtl"] .manual-footer { margin-right: var(--sidebar-width); }
  footer.ft .fi, .manual-footer .footer-info {
    display: flex; gap: 28px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap;
  }
  footer.ft a, .manual-footer a { color: white; text-decoration: none; font-weight: 700; }
  footer.ft p, .manual-footer p { opacity: .65; font-size: 12.5px; }

  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    /* Sidebar: hide off-screen, show when .open */
    [dir="ltr"] .sidebar { transform: translateX(-100%); }
    [dir="ltr"] .sidebar.open { transform: translateX(0); }
    [dir="ltr"] .main { margin-left: 0; max-width: 100%; padding: 24px 16px 60px; }
    [dir="ltr"] footer.ft { margin-left: 0; }
    .menu-btn { display: block; }
    .hdr-contact { display: none; }
    .hdr-badge { display: none; }
    .hdr-title { font-size: 17px; }

    /* Collapse all multi-column grids */
    .two-col, .toc-grid, .text-img, .two-col-text-img { grid-template-columns: 1fr; }
    .three-col { grid-template-columns: 1fr 1fr; }

    /* Chapter / card padding */
    .chapter { padding: 32px 24px; }
    .chapter h2 { font-size: 28px; }
    .card, .page-card { padding: 20px; }

    /* Overflow-safe tables */
    .info-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Flow / timeline — override inline nowrap styles */
    .flow { flex-wrap: wrap !important; gap: 12px !important; justify-content: center; }
    .fl-step, .flow-step { min-width: 70px !important; max-width: 120px; }
    .fl-arrow, .flow-arrow { margin-top: 0 !important; }
    .timeline { overflow-x: auto; }

    /* Install-to-Hire flow: vertical list of steps on mobile */
    #install-hire .flow {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 0 !important;
    }
    #install-hire .fl-step {
      flex-direction: row !important;
      align-items: flex-start !important;
      max-width: 100% !important;
      min-width: 0 !important;
      gap: 14px;
      padding: 12px 0;
      border-bottom: 1px solid var(--primary-pale);
    }
    #install-hire .fl-step:last-child { border-bottom: none; }
    #install-hire .fl-dot {
      flex-shrink: 0;
      width: 40px !important; height: 40px !important;
      font-size: 15px !important;
    }
    #install-hire .fl-step > div:not(.fl-dot) {
      display: flex !important;
      flex-direction: column;
      gap: 3px;
    }
    #install-hire .fl-label {
      font-size: 13.5px !important;
      font-weight: 700;
      text-align: left !important;
      color: var(--dark);
    }
    #install-hire .fl-sublabel {
      font-size: 12.5px !important;
      text-align: left !important;
      color: var(--gray-500);
    }
    #install-hire .fl-arrow { display: none !important; }

    /* Prevent nested cards from overflowing their parent */
    .card .card { margin-bottom: 0; box-sizing: border-box; width: 100%; }
    .card .two-col { overflow: hidden; }
    .two-col > * { min-width: 0; overflow: hidden; }

    /* Plan cards stacked */
    .plan-card { padding: 20px; }

    /* Phone placeholders fill width */
    .ph-phone, .ph-phone-sm, .img-phone, .img-phone-sm {
      width: 100%; max-width: 220px; height: 360px; margin: 0 auto;
    }
    .phones-row { justify-content: center; }
  }

  @media (max-width: 900px) {
    [dir="rtl"] .sidebar { transform: translateX(100%); }
    [dir="rtl"] .sidebar.open { transform: translateX(0); }
    [dir="rtl"] .main { margin-right: 0; max-width: 100%; padding: 24px 16px 60px; }
    [dir="rtl"] .manual-footer { margin-right: 0; }
    .menu-toggle { display: block; }
    .header-contact { display: none; }
    .two-col, .toc-grid, .two-col-text-img { grid-template-columns: 1fr; }
    .three-col { grid-template-columns: 1fr 1fr; }
    .chapter { padding: 32px 24px; }
    .chapter h2 { font-size: 28px; }
    .card, .page-card { padding: 20px; }
    .info-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  }

  @media (max-width: 600px) {
    .three-col { grid-template-columns: 1fr; }
    .ic-grid, .info-cards { grid-template-columns: 1fr 1fr; }
    .ph-phone, .ph-phone-sm, .img-phone, .img-phone-sm {
      width: 100%; max-width: 180px; height: 300px;
    }
    .phones-row { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .chapter { padding: 24px 16px; }
    .chapter h2 { font-size: 24px; }
    .card, .page-card { padding: 16px; }
    .card .card { padding: 16px; }
    .main { padding: 16px 12px 60px; }
    .hdr { padding: 0 14px; gap: 10px; }
    .hdr-logo { width: 34px; height: 34px; font-size: 15px; }
    .hdr-title { font-size: 15px; }
    .store-badges { flex-direction: column; }
    .nav-demo, .nav-bar-demo { max-width: 100%; }
    .toc-grid { grid-template-columns: 1fr; }
    .fl-step, .flow-step { min-width: 60px !important; }
    .fl-label, .flow-label { font-size: 10px; }
  }
