  /* =========================================================
     TourChain — additional UI components
     Layered on top of app.css. Uses the same design tokens.
     ========================================================= */

  /* ---------- generic ---------- */
  .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
  .muted{color:var(--text-muted);}
  .small{font-size:.78rem;}
  .tiny{font-size:.7rem;}
  .b{font-weight:800;}
  .mt-0{margin-top:0;}
  .mt-1{margin-top:.5rem;}
  .mt-2{margin-top:1rem;}
  .mt-3{margin-top:1.5rem;}
  .mb-1{margin-bottom:.5rem;}
  .mb-2{margin-bottom:1rem;}
  .mb-3{margin-bottom:1.5rem;}
  .gap-sm{gap:.4rem;}
  .wrap{flex-wrap:wrap;}
  .center{display:grid;place-items:center;}
  .right{text-align:right;}
  [dir="rtl"] .right{text-align:left;}
  .nowrap{white-space:nowrap;}
  .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .divider{height:1px;background:var(--border);margin:1rem 0;border:0;}
  .stack{display:flex;flex-direction:column;gap:.6rem;}
  .row-between{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;}
  .pointer{cursor:pointer;}
  .full{width:100%;}

  /* ---------- badges extras ---------- */
  .badge-gray{background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border);}
  .badge-lg{padding:.4rem .85rem;font-size:.76rem;}
  .dot-live{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block;animation:pulse-dot 1.5s infinite;}

  /* ---------- theme-aware surfaces ---------- */
  .panel{background:var(--surface-2);border-radius:var(--radius);padding:1rem;}
  .panel-outline{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;}
  .glass{background:color-mix(in srgb, var(--surface) 82%, transparent);backdrop-filter:blur(14px);border:1px solid var(--border);border-radius:var(--radius);}

  /* ---------- appbar additions ---------- */
  .icon-btn.on{color:var(--teal);border-color:var(--teal);}
  #mobileNavBtn{display:none;}
  @media (max-width:720px){
    #mobileNavBtn{display:grid;}
  }
  .user-chip .avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
  .user-chip .caret{font-size:.65rem;color:var(--text-muted);}

  /* ---------- user dropdown ---------- */
  .dropdown{position:relative;}
  .menu{
    position:absolute;top:calc(100% + .5rem);inset-inline-end:0;
    min-width:250px;background:var(--surface);border:1px solid var(--border);
    border-radius:var(--radius);box-shadow:var(--shadow-lg);
    padding:.4rem;z-index:1500;display:none;animation:fade .15s ease;
  }
  .menu.show{display:block;}
  .menu-head{padding:.85rem 1rem;border-bottom:1px solid var(--border);margin-bottom:.35rem;}
  .menu-head h5{font-size:.86rem;font-weight:800;}
  .menu-head p{font-size:.72rem;color:var(--text-muted);word-break:break-all;}
  .menu a,.menu button{
    display:flex;align-items:center;gap:.7rem;width:100%;
    padding:.6rem .8rem;border-radius:10px;font-size:.83rem;font-weight:600;
    color:var(--text);text-align:start;transition:var(--transition);
  }
  .menu a:hover,.menu button:hover{background:var(--surface-2);color:var(--teal);}
  .menu a i,.menu button i{width:18px;text-align:center;color:var(--text-muted);font-size:.85rem;}
  .menu a:hover i,.menu button:hover i{color:var(--teal);}
  .menu .sep{height:1px;background:var(--border);margin:.35rem 0;}
  .menu .count{margin-inline-start:auto;background:var(--red);color:#fff;border-radius:var(--radius-pill);font-size:.65rem;font-weight:800;padding:.1rem .45rem;}

  /* ---------- mobile nav drawer ---------- */
  .navdrawer{
    position:fixed;top:0;inset-inline-start:0;bottom:0;width:min(300px,86vw);
    background:var(--surface);border-inline-end:1px solid var(--border);
    z-index:2500;transform:translateX(-105%);transition:transform .25s ease;
    padding:1rem;overflow-y:auto;box-shadow:var(--shadow-lg);
  }
  [dir="rtl"] .navdrawer{transform:translateX(105%);}
  .navdrawer.show{transform:none;}
  .navdrawer h5{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:.9rem .5rem .4rem;}
  .navdrawer button{
    display:flex;align-items:center;gap:.75rem;width:100%;padding:.7rem .8rem;
    border-radius:12px;font-size:.86rem;font-weight:600;text-align:start;color:var(--text);
  }
  .navdrawer button:hover{background:var(--surface-2);}
  .navdrawer button.active{background:var(--teal);color:#fff;}
  .navdrawer button i{width:20px;text-align:center;}
  .scrim{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:2400;display:none;backdrop-filter:blur(3px);}
  .scrim.show{display:block;animation:fade .2s;}

  /* ---------- tabs / segmented ---------- */
  .segment{display:inline-flex;background:var(--surface-2);border-radius:var(--radius-pill);padding:.25rem;gap:.2rem;flex-wrap:wrap;}
  .segment button{
    padding:.45rem .95rem;border-radius:var(--radius-pill);font-size:.79rem;font-weight:700;
    color:var(--text-muted);transition:var(--transition);white-space:nowrap;
  }
  .segment button.active{background:var(--surface);color:var(--teal);box-shadow:var(--shadow-sm);}
  .tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1.25rem;overflow-x:auto;}
  .tabs button{
    padding:.7rem 1rem;font-size:.83rem;font-weight:700;color:var(--text-muted);
    border-bottom:2px solid transparent;white-space:nowrap;
  }
  .tabs button.active{color:var(--teal);border-bottom-color:var(--teal);}

  /* ---------- empty / loading ---------- */
  .empty{padding:2.5rem 1.5rem;text-align:center;color:var(--text-muted);}
  .empty i{font-size:2.4rem;opacity:.35;display:block;margin-bottom:.75rem;}
  .empty h4{font-size:.95rem;font-weight:800;color:var(--text);margin-bottom:.3rem;}
  .empty p{font-size:.8rem;max-width:420px;margin:0 auto 1rem;}
  .loading{padding:2rem;text-align:center;color:var(--text-muted);font-size:.85rem;}
  .spinner{
    width:26px;height:26px;border-radius:50%;
    border:3px solid var(--border);border-top-color:var(--teal);
    animation:spin .7s linear infinite;display:inline-block;vertical-align:middle;
  }
  @keyframes spin{to{transform:rotate(360deg);}}
  .skeleton{background:linear-gradient(90deg,var(--surface-2) 25%,var(--border) 50%,var(--surface-2) 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:8px;}
  @keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
  .skel-card{height:290px;border-radius:var(--radius-lg);}

  /* ---------- notices ---------- */
  .notice{display:flex;gap:.85rem;align-items:flex-start;padding:1rem;border-radius:var(--radius);font-size:.83rem;border:1px solid transparent;}
  .notice i{font-size:1.1rem;margin-top:.05rem;}
  .notice h5{font-size:.86rem;font-weight:800;margin-bottom:.2rem;}
  .notice p{font-size:.79rem;line-height:1.6;}
  .notice.info{background:var(--blue-light);border-color:var(--blue);color:var(--blue);}
  .notice.success{background:var(--green-light);border-color:var(--green);color:var(--green);}
  .notice.warn{background:var(--amber-light);border-color:var(--amber);color:var(--amber);}
  .notice.danger{background:var(--red-light);border-color:var(--red);color:var(--red);}
  .notice.neutral{background:var(--surface-2);border-color:var(--border);color:var(--text-muted);}

  /* ---------- key/value ---------- */
  .kv{display:flex;justify-content:space-between;gap:1rem;font-size:.82rem;padding:.5rem 0;border-bottom:1px solid var(--border);}
  .kv:last-child{border-bottom:none;}
  .kv span{color:var(--text-muted);}
  .kv b{text-align:end;}
  .kv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;}
  @media (max-width:560px){ .kv-grid{grid-template-columns:1fr;} }
  .kv-cell{background:var(--surface-2);border-radius:var(--radius);padding:.75rem .9rem;font-size:.82rem;}
  .kv-cell small{display:block;color:var(--text-muted);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.2rem;}

  /* ---------- stars ---------- */
  .stars{display:inline-flex;gap:.1rem;color:var(--amber);font-size:.8rem;}
  .stars.pick i{cursor:pointer;font-size:1.55rem;transition:var(--transition);}
  .stars.pick i:hover{transform:scale(1.15);}
  .stars i.off{color:var(--border);}

  /* ---------- cards: review / booking ---------- */
  .review-card{border:1px solid var(--border);border-radius:var(--radius);padding:1rem;background:var(--surface);margin-bottom:.85rem;}
  .review-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;}
  .avatar-sm{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;display:grid;place-items:center;font-weight:800;font-size:.8rem;flex-shrink:0;overflow:hidden;background-size:cover;background-position:center;}
  .avatar-lg{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;display:grid;place-items:center;font-weight:900;font-size:2rem;overflow:hidden;background-size:cover;background-position:center;border:3px solid var(--surface);box-shadow:var(--shadow);}
  .avatar-xl{width:128px;height:128px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--teal),var(--teal-dark));color:#fff;display:grid;place-items:center;font-weight:900;font-size:3rem;overflow:hidden;background-size:cover;background-position:center;}

  .booking-card{border:1px solid var(--border);border-radius:var(--radius);padding:1rem;display:flex;gap:1rem;align-items:center;background:var(--surface);margin-bottom:.85rem;transition:var(--transition);}
  .booking-card:hover{border-color:var(--teal);box-shadow:var(--shadow);}
  .booking-thumb{width:64px;height:64px;border-radius:12px;background-size:cover;background-position:center;background-color:var(--surface-2);flex-shrink:0;display:grid;place-items:center;font-size:1.4rem;color:var(--text-muted);}

  /* ---------- upload zones ---------- */
  .upload-zone.done{border-color:var(--green);background:var(--green-light);}
  .upload-zone.done i{color:var(--green);}
  .upload-zone.uploading{opacity:.65;pointer-events:none;}
  .upload-thumb{width:100%;max-height:150px;object-fit:cover;border-radius:10px;margin-top:.6rem;}

  /* ---------- payment method ---------- */
  .pay-method{
    display:flex;align-items:center;gap:.85rem;padding:.9rem 1rem;
    border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.6rem;
    cursor:pointer;transition:var(--transition);background:var(--surface);
  }
  .pay-method:hover{border-color:var(--teal);}
  .pay-method.selected{background:var(--teal-light);border-color:var(--teal);}
  .pay-method i.lead{font-size:1.35rem;color:var(--teal);width:26px;text-align:center;}
  .pay-method h5{font-size:.85rem;font-weight:800;}
  .pay-method p{font-size:.72rem;color:var(--text-muted);}
  .pay-method .tick{margin-inline-start:auto;color:var(--teal);opacity:0;}
  .pay-method.selected .tick{opacity:1;}

  /* ---------- qty stepper ---------- */
  .qty{display:inline-flex;align-items:center;gap:.5rem;border:1px solid var(--border);border-radius:var(--radius-pill);padding:.2rem;}
  .qty button{width:36px;height:36px;border-radius:50%;background:var(--surface-2);color:var(--text);display:grid;place-items:center;font-weight:800;}
  .qty button:hover{background:var(--teal);color:#fff;}
  .qty span{min-width:44px;text-align:center;font-weight:800;font-size:.95rem;}

  /* ---------- code / qr ---------- */
  .code-box{
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    background:var(--surface-2);border:1px dashed var(--border);border-radius:10px;
    padding:.6rem .8rem;font-size:.82rem;letter-spacing:.08em;word-break:break-all;text-align:center;
  }
  .qr-wrap{display:grid;place-items:center;padding:1rem;background:#fff;border-radius:var(--radius);width:fit-content;margin:0 auto;}
  .qr-wrap img{display:block;width:190px;height:190px;}
  .codes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem;}
  .codes-grid code{font-size:.76rem;background:var(--surface-2);border-radius:8px;padding:.4rem;text-align:center;font-family:ui-monospace,monospace;}

  /* ---------- switch ---------- */
  .switch{position:relative;display:inline-block;width:46px;height:26px;flex-shrink:0;}
  .switch input{opacity:0;width:0;height:0;}
  .switch .slider{position:absolute;inset:0;background:var(--border);border-radius:var(--radius-pill);transition:var(--transition);cursor:pointer;}
  .switch .slider::before{content:"";position:absolute;height:20px;width:20px;inset-inline-start:3px;top:3px;background:#fff;border-radius:50%;transition:var(--transition);}
  .switch input:checked + .slider{background:var(--teal);}
  .switch input:checked + .slider::before{transform:translateX(20px);}
  [dir="rtl"] .switch input:checked + .slider::before{transform:translateX(-20px);}

  /* ---------- tabbar (admin) ---------- */
  .tabbar{
    display:flex;gap:.35rem;overflow-x:auto;padding:.3rem;
    background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-pill);
    scrollbar-width:none;
  }
  .tabbar::-webkit-scrollbar{display:none;}
  .tabbar button{
    display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;
    padding:.55rem 1rem;border-radius:var(--radius-pill);border:0;background:none;
    color:var(--text-muted);font-size:.8rem;font-weight:700;cursor:pointer;
    font-family:inherit;transition:var(--transition);
  }
  .tabbar button:hover{color:var(--teal);}
  .tabbar button.active{background:var(--surface);color:var(--teal);box-shadow:var(--shadow-sm);}
  .btn.on{border-color:var(--teal);color:var(--teal);background:var(--teal-light);}
  [data-theme="dark"] .btn.on{background:rgba(20,184,166,.14);}

  /* ---------- pager ---------- */
  .pager{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.85rem 0 0;}
  .pager .btn[disabled]{opacity:.45;cursor:not-allowed;}

  /* ---------- horizontal bar chart ---------- */
  .bar-row{margin-bottom:.7rem;}
  .bar-row .between{margin-bottom:.25rem;}
  .bar-track{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden;}
  .bar-fill{
    height:100%;border-radius:999px;
    background:linear-gradient(90deg,var(--teal),var(--teal-dark));
    transition:width .4s ease;
  }

  /* ---------- gallery item hook ---------- */
  .gallery-item{aspect-ratio:1;border-radius:12px;background-size:cover;background-position:center;
    background-color:var(--surface-2);cursor:pointer;transition:var(--transition);}
  .gallery-item:hover{transform:scale(1.03);}

  /* ---------- profile hero ---------- */
  .profile-hero{
    position:relative;border-radius:var(--radius-lg);overflow:hidden;
    min-height:230px;background-size:cover;background-position:center;margin-bottom:1.25rem;
  }
  .profile-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.25),rgba(15,23,42,.85));}
  .profile-hero-inner{position:relative;z-index:2;padding:1.75rem;display:flex;gap:1.25rem;align-items:flex-end;flex-wrap:wrap;color:#fff;min-height:230px;}
  .profile-hero-inner h1{font-size:1.75rem;font-weight:900;letter-spacing:-.03em;color:#fff;}
  .profile-hero-inner p{font-size:.86rem;opacity:.9;color:#fff;}

  /* ---------- list rows ---------- */
  .list-row{display:flex;align-items:center;gap:.9rem;padding:.85rem 0;border-bottom:1px solid var(--border);}
  .list-row:last-child{border-bottom:none;}
  .list-row .ic{width:40px;height:40px;border-radius:12px;background:var(--surface-2);color:var(--teal);display:grid;place-items:center;flex-shrink:0;}
  .list-row .bd{flex:1;min-width:0;}
  .list-row h5{font-size:.85rem;font-weight:700;}
  .list-row p{font-size:.75rem;color:var(--text-muted);}
  .unread{border-inline-start:3px solid var(--teal);background:var(--teal-light);}

  /* ---------- tables on small screens ---------- */
  .table-wrap{overflow-x:auto;border-radius:var(--radius);}
  .table-wrap .table{border-radius:0;min-width:640px;}

  /* ---------- profile / spot gallery ---------- */
  .gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;}
  .gallery div{aspect-ratio:1;border-radius:12px;background-size:cover;background-position:center;cursor:pointer;background-color:var(--surface-2);transition:var(--transition);}
  .gallery div:hover{transform:scale(1.03);}
  @media (max-width:640px){ .gallery{grid-template-columns:repeat(2,1fr);} }

  /* ---------- modal sizes ---------- */
  .modal.modal-lg{max-width:760px;}
  .modal.modal-xl{max-width:980px;}
  .modal-foot{display:flex;flex-direction:column;gap:.45rem;margin-top:1.25rem;}
  @media (min-width:560px){
    .modal-foot.inline{flex-direction:row;justify-content:flex-end;}
    .modal-foot.inline .btn{width:auto;}
  }

  /* ---------- misc ---------- */
  .scroll-y{overflow-y:auto;}
  .max-420{max-width:420px;}
  .max-560{max-width:560px;}
  .min-0{min-width:0;}
  .border-top{border-top:1px solid var(--border);}
  .rounded{border-radius:var(--radius);}
  .pill-row{display:flex;gap:.4rem;flex-wrap:wrap;}
  .price-lg{font-size:1.5rem;font-weight:900;color:var(--teal);letter-spacing:-.02em;}
  .char-count{font-size:.7rem;color:var(--text-muted);text-align:end;margin-top:.25rem;}
  .scroll-top{
    position:fixed;bottom:1.25rem;inset-inline-end:1.25rem;width:46px;height:46px;border-radius:50%;
    background:var(--teal);color:#fff;display:none;place-items:center;box-shadow:var(--shadow-lg);z-index:1200;
  }
  .scroll-top.show{display:grid;}
  @media (max-width:560px){
    .toast-container{inset-inline:0.75rem;max-width:none;}
    .modal{padding:1.25rem;}
    .profile-hero-inner{padding:1.25rem;}
    .dash-header h1{font-size:1.3rem;}
  }

  /* =========================================================
     Component pack 2 — RESTORED-MARKER
     Components the front-end JS renders that the prototype never had.
     Duplicates of app.css classes are deliberately avoided.
     ========================================================= */

  /* ---------- loading / skeleton / empty ---------- */
  .loading{display:flex;align-items:center;gap:.6rem;color:var(--text-muted);font-size:.82rem;padding:1rem 0;}
  .spinner{
    width:16px;height:16px;border-radius:50%;flex:0 0 auto;
    border:2px solid var(--border);border-top-color:var(--teal);
    animation:tc-spin .7s linear infinite;
  }
  @keyframes tc-spin{to{transform:rotate(360deg);}}
  .skeleton{
    background:linear-gradient(90deg,var(--surface-2) 25%,var(--border) 37%,var(--surface-2) 63%);
    background-size:400% 100%;animation:tc-shimmer 1.3s ease infinite;border-radius:var(--radius);
  }
  @keyframes tc-shimmer{0%{background-position:100% 50%;}100%{background-position:0 50%;}}
  .skel-card{height:230px;}
  .empty-state{
    text-align:center;padding:2.25rem 1.25rem;color:var(--text-muted);
    background:var(--surface-2);border:1px dashed var(--border);border-radius:var(--radius-lg);
  }
  .empty-state i{font-size:1.6rem;color:var(--teal);margin-bottom:.6rem;display:block;}
  .empty-state h4{font-size:.95rem;font-weight:800;color:var(--text);margin-bottom:.25rem;}
  .empty-state p{font-size:.8rem;}

  /* ---------- form validation ---------- */
  .field-error{color:var(--red);font-size:.72rem;font-weight:600;margin-top:.3rem;}
  .input.invalid{border-color:var(--red);box-shadow:0 0 0 3px rgba(239,68,68,.12);}
  .check-row{display:flex;flex-wrap:wrap;gap:.4rem .9rem;}
  .check{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--text-muted);cursor:pointer;}
  .check input{accent-color:var(--teal);}

  /* ---------- star picker ---------- */
  .star-picker{display:flex;gap:.35rem;}
  .star-picker button{
    background:none;border:0;cursor:pointer;padding:.2rem;
    font-size:1.5rem;line-height:1;color:var(--border);transition:var(--transition);
  }
  .star-picker button.on,
  .star-picker button:hover{color:var(--amber);transform:scale(1.08);}

  /* ---------- messaging ---------- */
  /* app.css owns .msg-layout and .chat-*; only add what is genuinely new. */
  .msg-list .empty-state{border:0;border-radius:0;}
  .conv-item{
    width:100%;display:flex;align-items:center;gap:.7rem;text-align:start;
    padding:.8rem 1rem;background:none;border:0;border-bottom:1px solid var(--border);
    cursor:pointer;transition:var(--transition);font-family:inherit;
  }
  .conv-item:hover{background:var(--surface-2);}
  .conv-item.active{background:var(--teal-light);box-shadow:inset 3px 0 0 var(--teal);}
  [data-theme="dark"] .conv-item.active{background:rgba(20,184,166,.14);}
  .conv-body{flex:1;min-width:0;text-align:start;}
  .conv-body h5{font-size:.85rem;font-weight:800;color:var(--text);}
  .conv-body p{font-size:.75rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .conv-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;flex:0 0 auto;}
  .conv-meta small{font-size:.68rem;color:var(--text-muted);}
  .chat-panel{
    background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
    display:flex;flex-direction:column;height:100%;min-height:520px;overflow:hidden;
  }
  .chat-header h5{font-size:.88rem;font-weight:800;}
  .chat-header p{color:var(--text-muted);}
  .chat-body .empty-state{background:transparent;border:0;margin:auto;}
  .bubble{
    max-width:76%;padding:.6rem .85rem;border-radius:16px;font-size:.84rem;line-height:1.6;
    background:var(--surface);border:1px solid var(--border);align-self:flex-start;
    box-shadow:var(--shadow-sm);word-break:break-word;
  }
  .bubble small{display:block;font-size:.66rem;color:var(--text-muted);margin-top:.3rem;text-align:end;}
  .bubble.me{align-self:flex-end;background:var(--teal);color:#fff;border-color:transparent;}
  .bubble.me small{color:rgba(255,255,255,.75);}
  .bubble a{color:inherit;text-decoration:underline;}
  .flip-rtl{transform:scaleX(1);}
  [dir="rtl"] .flip-rtl{transform:scaleX(-1);}

  /* ---------- bookings ---------- */
  .booking-row{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap;}
  .booking-media{
    width:110px;height:82px;flex:0 0 auto;border-radius:12px;
    background-size:cover;background-position:center;background-color:var(--surface-2);
    display:grid;place-items:center;color:rgba(255,255,255,.9);font-size:1.2rem;
    position:relative;overflow:hidden;
  }
  .booking-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.15),rgba(15,23,42,.55));}
  .booking-media i{position:relative;z-index:2;}
  .booking-main{flex:1;min-width:240px;}

  /* ---------- reviews (list variant, distinct from .review-card) ---------- */
  .review{padding:1rem 0;border-bottom:1px solid var(--border);}
  .review:last-child{border-bottom:0;}
  .review .activity-body{flex:1;min-width:120px;}
  .review-head h5{font-size:.86rem;font-weight:800;}
  .review-head small{font-size:.7rem;color:var(--text-muted);}
  .review p{margin-top:.4rem;}

  /* =========================================================
     3D EXPLORER
     ========================================================= */
  .globe-layout{display:grid;grid-template-columns:1fr 320px;gap:1.25rem;align-items:start;}
  .globe-stage{position:relative;min-height:560px;height:70vh;border-radius:var(--radius-lg);
    overflow:hidden;background:radial-gradient(120% 90% at 60% 12%,#0b2f38 0%,#061a20 55%,#03111a 100%);
    border:1px solid var(--border);box-shadow:var(--shadow);}
  #globeCanvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none;}
  #globeCanvas:active{cursor:grabbing;}
  .globe-fallback{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;
    justify-content:center;text-align:center;gap:.6rem;padding:2rem;color:#cfeef0;}
  .globe-fallback i{font-size:2.4rem;opacity:.7;}
  .globe-fallback h3{font-size:1.05rem;font-weight:800;}
  .globe-fallback p{font-size:.82rem;max-width:42ch;line-height:1.7;opacity:.8;}
  .globe-hud{position:absolute;top:.85rem;right:.85rem;display:flex;gap:.4rem;z-index:3;}
  .globe-btn{width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.16);
    background:rgba(6,26,32,.62);color:#cfeef0;cursor:pointer;backdrop-filter:blur(6px);
    display:grid;place-items:center;transition:background .2s,color .2s;}
  .globe-btn:hover{background:rgba(10,110,92,.55);color:#fff;}
  .globe-btn.active{background:var(--teal);color:#fff;border-color:var(--teal);}
  .globe-legend{position:absolute;left:.85rem;bottom:.85rem;display:flex;flex-wrap:wrap;gap:.5rem .9rem;
    z-index:3;font-size:.68rem;color:#bfe6ea;background:rgba(6,26,32,.55);padding:.5rem .7rem;
    border-radius:12px;backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.1);max-width:calc(100% - 1.7rem);}
  .globe-legend span{display:inline-flex;align-items:center;gap:.35rem;}
  .globe-legend i{width:9px;height:9px;border-radius:3px;display:inline-block;}
  .globe-tooltip{position:absolute;z-index:4;pointer-events:none;background:rgba(8,32,38,.94);
    border:1px solid rgba(79,240,200,.35);border-radius:12px;padding:.55rem .7rem;
    color:#e8fbfb;font-size:.75rem;display:flex;flex-direction:column;gap:.15rem;min-width:150px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);}
  .globe-tooltip b{font-size:.82rem;}
  .globe-tooltip span{opacity:.78;}
  .globe-tip-hint{color:#4ff0c8;font-size:.66rem;letter-spacing:.02em;}
  .globe-sidebar{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
    padding:1rem;box-shadow:var(--shadow-sm);}
  .globe-sidebar h4{font-size:.86rem;font-weight:800;margin-bottom:.6rem;}
  .globe-filters{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.7rem;}
  .globe-chip{border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);
    border-radius:var(--radius-pill);padding:.28rem .62rem;font-size:.7rem;font-weight:700;
    cursor:pointer;transition:.18s;}
  .globe-chip:hover{border-color:var(--teal);color:var(--teal);}
  .globe-chip.active{background:var(--teal);border-color:var(--teal);color:#fff;}
  .globe-list{max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:.3rem;}
  .globe-item{display:flex;align-items:center;gap:.55rem;width:100%;text-align:left;
    border:1px solid transparent;background:transparent;border-radius:12px;padding:.45rem .55rem;
    cursor:pointer;color:inherit;transition:.16s;}
  .globe-item:hover{background:var(--teal-light);border-color:var(--teal);}
  [data-theme="dark"] .globe-item:hover{background:rgba(10,110,92,.22);}
  .gi-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 3px rgba(0,0,0,.05);}
  .gi-body{display:flex;flex-direction:column;min-width:0;}
  .gi-body b{font-size:.78rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .gi-body small{font-size:.66rem;color:var(--text-muted);}

  /* =========================================================
     CULTURE & HERITAGE
     ========================================================= */
  .culture-head{margin-bottom:1rem;}
  .culture-head h2{font-size:1.15rem;font-weight:900;letter-spacing:-.01em;
    display:flex;align-items:center;gap:.5rem;}
  .culture-head h2 i{color:var(--teal);}
  .section-sub{font-size:.82rem;color:var(--text-muted);margin-top:.25rem;}
  .culture-filters{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.7rem;}
  .culture-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.9rem;}
  .culture-card{margin:0;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;
    background:var(--surface);cursor:pointer;box-shadow:var(--shadow-sm);
    transition:transform .22s,box-shadow .22s,border-color .22s;}
  .culture-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--teal);}
  .culture-thumb{height:160px;background-size:cover;background-position:center;
    background-image:linear-gradient(135deg,var(--teal),var(--teal-dark));}
  .culture-card figcaption{padding:.7rem .8rem .85rem;}
  .culture-card h4{font-size:.84rem;font-weight:800;line-height:1.35;}
  .culture-card p{font-size:.72rem;color:var(--text-muted);margin-top:.3rem;line-height:1.55;}

  /* ---------- interactive timeline ---------- */
  .timeline-shell{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
    padding:1rem;box-shadow:var(--shadow-sm);}
  .timeline-rail{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.7rem;
    scrollbar-width:thin;border-bottom:1px solid var(--border);}
  .tl-tick{flex:0 0 auto;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);
    border-radius:var(--radius-pill);padding:.32rem .7rem;font-size:.7rem;font-weight:700;
    cursor:pointer;white-space:nowrap;transition:.18s;}
  .tl-tick:hover{border-color:var(--teal);color:var(--teal);}
  .tl-tick.active{background:var(--teal);border-color:var(--teal);color:#fff;}
  .timeline-stage{margin-top:1rem;min-height:180px;}
  .tl-card{border-left:4px solid var(--teal);padding:.3rem 0 .3rem 1rem;animation:tcFade .35s ease;}
  .tl-era{font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
    color:var(--teal);}
  .tl-year{font-size:1.5rem;font-weight:900;letter-spacing:-.02em;margin:.15rem 0 .35rem;}
  .tl-card h3{font-size:1rem;font-weight:800;margin-bottom:.4rem;}
  .tl-card p{font-size:.84rem;color:var(--text-muted);line-height:1.8;max-width:78ch;}
  .tl-empire{border-left-color:var(--purple);}
  .tl-culture{border-left-color:var(--pink);}
  .tl-war{border-left-color:var(--red);}
  .tl-religion{border-left-color:var(--amber);}
  .tl-heritage{border-left-color:var(--green);}
  .tl-trade{border-left-color:var(--blue);}
  .tl-archaeology{border-left-color:var(--amber);}
  .tl-state{border-left-color:var(--blue);}
  .timeline-nav{display:flex;align-items:center;gap:.8rem;margin-top:1rem;}
  .timeline-progress{flex:1;height:4px;border-radius:100px;background:var(--border);overflow:hidden;}
  .timeline-progress span{display:block;height:100%;width:0;background:var(--teal);
    border-radius:100px;transition:width .3s ease;}
  @keyframes tcFade{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

  /* ---------- culture notes ---------- */
  .culture-notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.9rem;}
  .note-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
    padding:1rem;box-shadow:var(--shadow-sm);}
  .note-card i{color:var(--teal);font-size:1.05rem;}
  .note-card h4{font-size:.85rem;font-weight:800;margin:.5rem 0 .35rem;}
  .note-card p{font-size:.78rem;color:var(--text-muted);line-height:1.75;}

  /* =========================================================
     PROVINCES
     ========================================================= */
  .province-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;
    margin-bottom:1.1rem;}
  .pstat{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
    padding:.85rem 1rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:.15rem;}
  .pstat b{font-size:1.3rem;font-weight:900;letter-spacing:-.02em;color:var(--teal);}
  .pstat span{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;
    font-weight:700;}
  .province-filters{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:1rem;}
  .province-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:.9rem;}
  .province-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
    padding:1rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:.5rem;
    transition:box-shadow .2s,border-color .2s;}
  .province-card:hover{box-shadow:var(--shadow);border-color:var(--teal);}
  .province-card header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;}
  .province-card h3{font-size:.98rem;font-weight:800;}
  .province-card .dari{font-family:'Vazirmatn',Inter,sans-serif;font-size:.85rem;color:var(--text-muted);}
  .province-band{font-size:.7rem;color:var(--text-muted);font-weight:600;}
  .province-body{font-size:.78rem;color:var(--text-muted);line-height:1.7;flex:1;}
  .province-facts{display:grid;grid-template-columns:1fr 1fr;gap:.35rem .6rem;margin:0;}
  .province-facts div{background:var(--surface-2);border-radius:10px;padding:.4rem .55rem;}
  .province-facts dt{font-size:.62rem;text-transform:uppercase;letter-spacing:.05em;
    color:var(--text-muted);font-weight:700;}
  .province-facts dd{margin:0;font-size:.78rem;font-weight:800;}
  .province-card details{font-size:.75rem;}
  .province-card summary{cursor:pointer;font-weight:700;color:var(--teal);font-size:.74rem;}
  [data-theme="dark"] .province-card summary{color:#4ff0c8;}

  /* =========================================================
     RICH DESTINATION COPY
     ========================================================= */
  .rich-text p{margin-bottom:.7rem;}
  .rich-text p:last-child{margin-bottom:0;}
  .rich-text h4{font-size:.82rem;font-weight:800;color:var(--text);margin:.9rem 0 .35rem;
    letter-spacing:.01em;}
  .rich-text h4:first-child{margin-top:0;}

  /* ---------- sidebar province filter ---------- */
  #provinceFilter{display:flex;flex-direction:column;gap:.18rem;}
  #provinceFilter[data-collapsed="1"]{max-height:190px;overflow-y:auto;padding-right:.15rem;}
  #provinceFilter label{display:flex;align-items:center;gap:.45rem;font-size:.78rem;
    color:var(--text-muted);cursor:pointer;}
  #provinceFilter label:hover{color:var(--teal);}
  #provinceFilter .count{margin-left:auto;font-size:.65rem;font-weight:800;color:var(--text-muted);
    background:var(--surface-2);border-radius:100px;padding:.05rem .38rem;}

  /* =========================================================
     RESPONSIVE
     ========================================================= */
  @media (max-width:1024px){
    .globe-layout{grid-template-columns:1fr;}
    .globe-stage{height:56vh;min-height:420px;}
    .globe-list{max-height:300px;}
  }
  @media (max-width:640px){
    .globe-stage{height:46vh;min-height:320px;}
    .globe-legend{display:none;}
    .culture-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
    .culture-thumb{height:120px;}
    .province-grid{grid-template-columns:1fr;}
    .tl-year{font-size:1.25rem;}
  }

  @media (prefers-reduced-motion:reduce){
    .culture-card,.tl-card,.timeline-progress span{transition:none;animation:none;}
  }

/* =========================================================================
   MEGA MENU
   The bar carries four grouped menus plus safety and visa promoted to the top
   level. Everything opens on hover for pointer devices and on click/Enter for
   keyboard and touch, so the same markup serves all three.
   ========================================================================= */
.appnav{position:relative;align-items:center;}
.nav-item{position:relative;}
.nav-link{
  display:inline-flex;align-items:center;gap:.42rem;
  padding:.5rem .8rem;border-radius:var(--radius-pill);
  font-size:.8rem;font-weight:600;color:var(--text-muted);
  background:none;border:none;cursor:pointer;transition:var(--transition);
  white-space:nowrap;
}
.nav-link i{font-size:.75rem;}
.nav-link:hover{background:var(--surface-2);color:var(--text);}
.nav-link.active,.nav-item.active-trail > .nav-link{background:var(--teal);color:#fff;
  box-shadow:0 6px 16px rgba(10,110,92,.28);}
.nav-caret{font-size:.6rem !important;opacity:.6;transition:transform var(--transition);}
.nav-item.open > .nav-link{background:var(--surface-2);color:var(--text);}
.nav-item.open > .nav-link .nav-caret{transform:rotate(180deg);}
.nav-item.active-trail.open > .nav-link{background:var(--teal);color:#fff;}

.nav-menu{
  position:absolute;top:calc(100% + .5rem);left:0;z-index:1200;
  min-width:280px;max-width:340px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:.4rem;display:none;
  max-height:min(70vh,520px);overflow-y:auto;
}
.nav-item.open > .nav-menu{display:block;animation:navIn .16s ease;}
@keyframes navIn{from{opacity:0;transform:translateY(-4px);}to{opacity:1;transform:none;}}
/* Invisible bridge so the pointer can travel from the trigger into the panel
   without crossing a gap and closing it. */
.nav-menu::before{content:"";position:absolute;left:0;right:0;top:-.55rem;height:.55rem;}

.nav-menu-item{
  display:flex;gap:.65rem;align-items:flex-start;
  padding:.55rem .6rem;border-radius:var(--radius-sm);
  color:var(--text);text-decoration:none;transition:var(--transition);
}
.nav-menu-item:hover,.nav-menu-item:focus-visible{background:var(--surface-2);}
.nav-menu-icon{
  flex:0 0 30px;height:30px;border-radius:9px;display:grid;place-items:center;
  background:var(--teal-light);color:var(--teal);font-size:.78rem;
}
.nav-menu-item:hover .nav-menu-icon{background:var(--teal);color:#fff;}
.nav-menu-text{display:flex;flex-direction:column;min-width:0;}
.nav-menu-text b{font-size:.82rem;font-weight:700;line-height:1.25;}
.nav-menu-text small{font-size:.7rem;color:var(--text-muted);line-height:1.35;margin-top:.1rem;}
.nav-menu-item.active .nav-menu-text b{color:var(--teal);}

.nav-divider{width:1px;height:20px;background:var(--border);margin:0 .3rem;}
.nav-quick{background:var(--surface-2);}
.nav-quick.active{background:var(--teal);color:#fff;}
.noscript-nav{display:flex;gap:.6rem;font-size:.8rem;padding:.5rem 1.5rem;}
.noscript-nav a{color:var(--teal);text-decoration:underline;}

@media (hover:hover) and (pointer:fine){
  .nav-item:hover > .nav-menu{display:block;animation:navIn .16s ease;}
  .nav-item:hover > .nav-link .nav-caret{transform:rotate(180deg);}
}

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.about-hero{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  margin-bottom:2.5rem;border:1px solid var(--border);
}
.about-hero-bg{
  position:absolute;inset:0;
  background:linear-gradient(135deg,#062B25 0%,#0A6E5C 45%,#0F172A 100%);
}
.about-hero-bg::after{
  content:"";position:absolute;inset:0;opacity:.25;
  background-image:radial-gradient(circle at 18% 25%,rgba(255,255,255,.35) 0,transparent 42%),
                   radial-gradient(circle at 82% 70%,rgba(34,197,94,.35) 0,transparent 45%);
}
.about-hero-inner{position:relative;padding:3rem 2.5rem;color:#fff;}
.about-eyebrow{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);
  padding:.3rem .75rem;border-radius:var(--radius-pill);margin-bottom:1rem;
}
.about-hero h1{font-size:2.05rem;font-weight:900;line-height:1.2;letter-spacing:-.028em;margin-bottom:1rem;color:#fff;}
.about-hero p{font-size:.95rem;line-height:1.75;opacity:.93;max-width:720px;}
.about-hero p b{color:#fff;}
.about-hero-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.5rem;}
/* .btn-outline paints a white surface and dark text; on the dark hero that
   would leave white-on-white. Restate the surface as a translucent wash. */
.about-hero-actions .btn-outline{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.45);color:#fff;}
.about-hero-actions .btn-outline:hover{background:rgba(255,255,255,.14);border-color:#fff;}
.about-hero-stats{display:flex;gap:2rem;flex-wrap:wrap;margin-top:2rem;
  padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.2);}
.about-hero-stats b{display:block;font-size:1.6rem;font-weight:900;line-height:1;color:#fff;}
.about-hero-stats small{font-size:.72rem;opacity:.8;}

.about-h2{font-size:1.35rem;font-weight:900;letter-spacing:-.02em;margin-bottom:1rem;
  display:flex;align-items:center;gap:.55rem;color:var(--text);}
.about-h2 i{color:var(--teal);}
.about-h2-center{justify-content:center;text-align:center;margin:2.75rem 0 1.25rem;}
.about-p{font-size:.88rem;line-height:1.85;color:var(--text-muted);margin-bottom:.9rem;}
.about-lead{font-size:.86rem;color:var(--text-muted);text-align:center;max-width:640px;
  margin:0 auto 1.5rem;line-height:1.8;}

.about-two-col{display:grid;grid-template-columns:1.55fr 1fr;gap:2rem;align-items:start;}
.about-two-col-even{grid-template-columns:1fr 1fr;}
.about-quote{
  border-left:3px solid var(--teal);padding:.9rem 0 .9rem 1.1rem;margin-top:1.25rem;
  background:var(--surface-2);border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}
.about-quote i{color:var(--teal);font-size:.85rem;}
.about-quote p{font-size:.85rem;line-height:1.75;font-style:italic;color:var(--text);margin:.4rem 0 .5rem;}
.about-quote span{font-size:.72rem;font-weight:700;color:var(--text-muted);}

.about-facts{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.4rem;}
.about-facts h3{font-size:.95rem;font-weight:800;margin-bottom:1rem;
  display:flex;align-items:center;gap:.5rem;color:var(--text);}
.about-facts h3 i{color:var(--teal);}
.about-fact-list{list-style:none;display:flex;flex-direction:column;gap:.6rem;}
.about-fact-list li{display:flex;justify-content:space-between;gap:1rem;
  font-size:.79rem;padding-bottom:.55rem;border-bottom:1px dashed var(--border);}
.about-fact-list li:last-child{border-bottom:none;padding-bottom:0;}
.about-fact-list b{color:var(--text-muted);font-weight:600;}
.about-fact-list span{color:var(--text);font-weight:700;text-align:right;}

.about-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.1rem;}
.about-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:1.5rem;transition:var(--transition);}
.about-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--teal);}
.about-card-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;
  font-size:1.05rem;margin-bottom:.9rem;}
.about-card-icon.teal{background:var(--teal-light);color:var(--teal);}
.about-card-icon.blue{background:var(--blue-light);color:var(--blue);}
.about-card-icon.amber{background:var(--amber-light);color:var(--amber);}
.about-card h3{font-size:1rem;font-weight:800;margin-bottom:.55rem;color:var(--text);}
.about-card p{font-size:.82rem;line-height:1.8;color:var(--text-muted);}

.about-values{margin-top:1.5rem;background:var(--surface-2);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.25rem 1.5rem;}
.about-values h3{font-size:.92rem;font-weight:800;margin-bottom:.9rem;
  display:flex;align-items:center;gap:.5rem;color:var(--text);}
.about-values h3 i{color:var(--amber);}
.value-chips{display:flex;gap:.55rem;flex-wrap:wrap;}
.value-chip{display:inline-flex;align-items:center;gap:.4rem;font-size:.79rem;font-weight:700;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);
  padding:.4rem .9rem;color:var(--text);}
.value-chip i{color:var(--teal);}

.ministry-panel{
  display:grid;grid-template-columns:auto 1fr;gap:1.75rem;align-items:start;
  margin:2.75rem 0;padding:2rem;border-radius:var(--radius-lg);
  background:linear-gradient(135deg,rgba(10,110,92,.10),rgba(15,23,42,.06));
  border:1px solid var(--teal);
}
.ministry-seal{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;
  background:var(--teal);color:#fff;font-size:1.8rem;box-shadow:0 12px 30px rgba(10,110,92,.35);}
.ministry-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  color:var(--teal);}
.ministry-panel h2{font-size:1.3rem;font-weight:900;letter-spacing:-.02em;margin:.2rem 0 .15rem;color:var(--text);}
.ministry-sub{font-size:.78rem;color:var(--text-muted);margin-bottom:.9rem;}
.ministry-panel p{font-size:.85rem;line-height:1.85;color:var(--text-muted);margin-bottom:.8rem;}
.ministry-points{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.45rem .9rem;margin-top:.6rem;}
.ministry-points li{display:flex;gap:.5rem;align-items:flex-start;font-size:.79rem;color:var(--text);}
.ministry-points i{color:var(--green);margin-top:.22rem;}

.about-audience{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.5rem;}
.about-audience h3{font-size:1rem;font-weight:800;margin-bottom:.9rem;
  display:flex;align-items:center;gap:.5rem;color:var(--text);}
.about-audience h3 i{color:var(--teal);}
.about-audience ul{list-style:none;display:flex;flex-direction:column;gap:.6rem;}
.about-audience li{position:relative;padding-inline-start:1.3rem;font-size:.82rem;
  line-height:1.7;color:var(--text-muted);}
.about-audience li::before{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;
  position:absolute;inset-inline-start:0;top:.1rem;font-size:.68rem;color:var(--teal);}

.platform-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;}
.platform-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:1.2rem;transition:var(--transition);}
.platform-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--teal);}
.platform-card > i{font-size:1.15rem;color:var(--teal);margin-bottom:.65rem;display:block;}
.platform-card h4{font-size:.88rem;font-weight:800;margin-bottom:.4rem;color:var(--text);}
.platform-card p{font-size:.76rem;line-height:1.7;color:var(--text-muted);}

.about-contact{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border);}
.about-contact h2{font-size:1.25rem;font-weight:900;letter-spacing:-.02em;margin-bottom:1.25rem;
  display:flex;align-items:center;gap:.55rem;color:var(--text);}
.about-contact h2 i{color:var(--teal);}
.about-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;}
.contact-card{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);
  padding:1.15rem;text-align:center;}
.contact-card > i{font-size:1.15rem;color:var(--teal);margin-bottom:.55rem;display:block;}
.contact-card h4{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;
  color:var(--text-muted);margin-bottom:.45rem;}
.contact-card p{font-size:.82rem;line-height:1.6;color:var(--text);}
.contact-card a{color:var(--teal);font-weight:700;}
.about-disclaimer{margin-top:1.5rem;padding:.9rem 1.1rem;border-radius:var(--radius-sm);
  background:var(--amber-light);border:1px solid var(--amber);
  font-size:.78rem;line-height:1.7;color:var(--text);}
.about-disclaimer i{color:var(--amber);margin-inline-end:.35rem;}

/* =========================================================================
   BUSINESS SERVICE TABS
   ========================================================================= */
.biz-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.7rem;
  margin-bottom:1.1rem;}
.biz-tab{
  display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:.95rem 1.05rem;cursor:pointer;text-align:start;transition:var(--transition);
}
.biz-tab i{font-size:1rem;color:var(--teal);}
.biz-tab b{font-size:.84rem;font-weight:800;color:var(--text);}
.biz-tab small{font-size:.7rem;color:var(--text-muted);}
.biz-tab:hover{border-color:var(--teal);transform:translateY(-2px);}
.biz-tab.active{background:var(--teal);border-color:var(--teal);}
.biz-tab.active i,.biz-tab.active b,.biz-tab.active small{color:#fff;}
.biz-blurb{font-size:.82rem;line-height:1.75;color:var(--text-muted);
  background:var(--surface-2);border:1px solid var(--border);border-inline-start:3px solid var(--teal);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:.85rem 1.1rem;margin-bottom:1.25rem;}
.biz-blurb b{color:var(--text);}

/* =========================================================================
   TRIP PLANNER
   ========================================================================= */
.ai-quick{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.7rem;}
.ai-chip{font-size:.72rem;font-weight:700;padding:.3rem .7rem;border-radius:var(--radius-pill);
  background:var(--teal-light);color:var(--teal);border:1px solid transparent;cursor:pointer;
  transition:var(--transition);}
.ai-chip:hover{border-color:var(--teal);}
.ai-planner{background:var(--surface-2);border-bottom:1px solid var(--border);padding:1rem 1.1rem;}
.planner-row{display:flex;gap:.75rem;flex-wrap:wrap;align-items:flex-end;margin-bottom:.8rem;}
.planner-row label{display:flex;flex-direction:column;gap:.25rem;font-size:.7rem;font-weight:700;
  color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;}
.planner-row input,.planner-row select{
  font-size:.82rem;padding:.45rem .6rem;border-radius:var(--radius-sm);
  border:1px solid var(--border);background:var(--surface);color:var(--text);
}
.planner-row input[type=number]{width:72px;}
.planner-interests{align-items:center;}
.planner-label{font-size:.7rem;font-weight:700;color:var(--text-muted);
  text-transform:uppercase;letter-spacing:.05em;}
.planner-chips{display:flex;gap:.4rem;flex-wrap:wrap;}
.plan-chip{font-size:.74rem;font-weight:700;padding:.3rem .75rem;border-radius:var(--radius-pill);
  border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;
  transition:var(--transition);}
.plan-chip:hover{border-color:var(--teal);color:var(--teal);}
.plan-chip.on{background:var(--teal);border-color:var(--teal);color:#fff;}
.planner-actions{display:flex;gap:.5rem;flex-wrap:wrap;}
.ai-knows{list-style:none;display:flex;flex-direction:column;gap:.4rem;}
.ai-knows li{display:flex;justify-content:space-between;font-size:.77rem;color:var(--text-muted);}
.ai-knows b{color:var(--text);}

/* Itinerary cards rendered into the chat stream */
.itin-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;
  flex-wrap:wrap;margin-bottom:.5rem;}
.itin-title{font-weight:900;font-size:.95rem;}
.itin-meta{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:.6rem;}
.itin-meta span{font-size:.68rem;font-weight:700;padding:.2rem .55rem;border-radius:var(--radius-pill);
  background:var(--teal-light);color:var(--teal);}
.itin-day{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.7rem .8rem;
  margin-bottom:.5rem;background:var(--surface);}
.itin-day > h5{font-size:.79rem;font-weight:800;margin-bottom:.35rem;display:flex;
  align-items:center;gap:.4rem;color:var(--text);}
.itin-day > h5 .day-badge{background:var(--teal);color:#fff;border-radius:6px;
  font-size:.66rem;padding:.1rem .4rem;}
.itin-stop{font-size:.78rem;line-height:1.6;color:var(--text-muted);
  padding-inline-start:.9rem;position:relative;}
.itin-stop::before{content:"";position:absolute;inset-inline-start:0;top:.5rem;
  width:5px;height:5px;border-radius:50%;background:var(--teal);}
.itin-stop b{color:var(--text);}
/* The inter-province driving leg, shown on the first day spent in a new province. */
.itin-travel{font-size:.72rem;font-weight:700;color:var(--teal);background:var(--teal-soft, rgba(20,184,150,.12));
  border-radius:6px;padding:.22rem .5rem;margin-bottom:.35rem;display:inline-flex;
  align-items:center;gap:.35rem;}
.itin-foot{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.6rem;}
.itin-foot .btn{font-size:.72rem;}

/* =========================================================================
   MAP CONTROLS
   ========================================================================= */
.map-toolbar{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-bottom:.75rem;}
.map-search-wrap{position:relative;flex:1 1 260px;min-width:220px;display:flex;align-items:center;}
.map-search-wrap > i{position:absolute;inset-inline-start:.8rem;font-size:.78rem;color:var(--text-muted);
  pointer-events:none;}
.map-search-wrap input{
  width:100%;padding:.6rem 2.2rem .6rem 2.2rem;font-size:.84rem;
  border:1px solid var(--border);border-radius:var(--radius-pill);
  background:var(--surface);color:var(--text);
}
.map-search-wrap input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-light);}
.map-clear{position:absolute;inset-inline-end:.55rem;width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;color:var(--text-muted);background:var(--surface-2);cursor:pointer;}
.map-clear:hover{color:var(--red);}
.map-suggest{
  position:absolute;top:calc(100% + .35rem);left:0;right:0;z-index:1300;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);max-height:340px;overflow-y:auto;padding:.35rem;
}
.map-suggest-item{display:flex;gap:.6rem;align-items:center;width:100%;text-align:start;
  padding:.5rem .55rem;border-radius:var(--radius-sm);cursor:pointer;background:none;border:none;
  color:var(--text);transition:var(--transition);}
.map-suggest-item:hover,.map-suggest-item.hl{background:var(--surface-2);}
.map-suggest-item .ms-kind{font-size:.62rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.05em;color:var(--teal);background:var(--teal-light);
  border-radius:5px;padding:.1rem .4rem;flex:0 0 auto;}
.map-suggest-item .ms-name{font-size:.8rem;font-weight:700;line-height:1.3;}
.map-suggest-item .ms-meta{font-size:.69rem;color:var(--text-muted);}
.map-suggest-empty{padding:.8rem;font-size:.8rem;color:var(--text-muted);text-align:center;}
.map-filters{display:flex;gap:.35rem;flex-wrap:wrap;}
.map-filter{font-size:.74rem;font-weight:700;padding:.35rem .75rem;border-radius:var(--radius-pill);
  border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;
  transition:var(--transition);}
.map-filter:hover{border-color:var(--teal);color:var(--teal);}
.map-filter.on{background:var(--teal);border-color:var(--teal);color:#fff;}
.map-route-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;
  flex-wrap:wrap;margin-top:.75rem;padding:.8rem 1.1rem;
  background:var(--surface);border:1px solid var(--teal);border-radius:var(--radius);}
.route-summary{font-size:.82rem;line-height:1.6;color:var(--text);}
.route-summary b{color:var(--teal);}
.route-actions{display:flex;gap:.4rem;flex-wrap:wrap;}
.poi-row.near .poi-dist{color:var(--green);font-weight:800;}

@media (max-width:1024px){
  .about-two-col,.about-two-col-even{grid-template-columns:1fr;}
  .ministry-panel{grid-template-columns:1fr;}
  .ministry-seal{width:56px;height:56px;border-radius:16px;font-size:1.4rem;}
  .ministry-points{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .about-hero-inner{padding:2rem 1.25rem;}
  .about-hero h1{font-size:1.5rem;}
  .about-hero-stats{gap:1.25rem;}
  .about-hero-stats b{font-size:1.25rem;}
  .biz-tabs{grid-template-columns:1fr 1fr;}
  .map-search-wrap{flex:1 1 100%;}
}

/* =========================================================================
   NAV DRAWER (grouped, accordion)
   ========================================================================= */
.drawer-group{margin-bottom:.35rem;border-radius:var(--radius-sm);overflow:hidden;}
.drawer-group-head{
  display:flex;align-items:center;gap:.6rem;width:100%;
  padding:.7rem .8rem;background:var(--surface-2);border:none;cursor:pointer;
  font-size:.82rem;font-weight:800;color:var(--text);text-align:start;
  transition:var(--transition);
}
.drawer-group-head:hover{background:var(--teal-light);color:var(--teal);}
.drawer-group-head > i:first-child{color:var(--teal);font-size:.8rem;width:16px;}
.drawer-caret{margin-inline-start:auto;font-size:.65rem;opacity:.6;
  transition:transform var(--transition);}
.drawer-group.open .drawer-caret{transform:rotate(180deg);}
.drawer-group-body{padding:.2rem 0 .3rem;}
.drawer-link{
  display:flex;align-items:center;gap:.6rem;
  padding:.55rem .8rem .55rem 1.4rem;border-radius:var(--radius-sm);
  font-size:.8rem;font-weight:600;color:var(--text-muted);text-decoration:none;
  transition:var(--transition);
}
.drawer-link i{width:16px;font-size:.75rem;color:var(--teal);}
.drawer-link:hover{background:var(--surface-2);color:var(--text);}
.drawer-link.active{background:var(--teal-light);color:var(--teal);font-weight:800;}
.drawer-heading{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-muted);margin:1rem 0 .4rem;padding-inline-start:.3rem;}

/* Deep-linked About sections flash briefly so the eye finds them. */
.flash-target{animation:flashTarget 1.5s ease;}
@keyframes flashTarget{
  0%{box-shadow:0 0 0 0 rgba(10,110,92,.55);}
  40%{box-shadow:0 0 0 10px rgba(10,110,92,0);}
  100%{box-shadow:0 0 0 0 rgba(10,110,92,0);}
}
@media (prefers-reduced-motion:reduce){
  .flash-target{animation:none;}
  .drawer-caret{transition:none;}
}

/* =========================================================
   SELF-HOSTED VECTOR MAP
   The map is rendered from bundled boundary geometry rather than
   third-party tiles, so all of its chrome is theme-driven CSS.
   ========================================================= */

/* Author `display` declarations outrank the UA stylesheet's [hidden] rule, so
   a component such as .map-route-bar{display:flex} would stay visible even
   when the attribute is set. Normalise it once, globally. */
[hidden]{display:none!important;}

:root{
  --map-sea:#EAF2F6;
  --map-land:#F7FBFA;
  --map-line:#D3E3E0;
  --map-outline:#0A6E5C;
}
[data-theme="dark"]{
  --map-sea:#0A1424;
  --map-land:#16233A;
  --map-line:#2A3B57;
  --map-outline:#2FB39B;
}

#mapCanvas{background:var(--map-sea);}
.af-map-svg{display:block;width:100%;height:100%;touch-action:none;cursor:grab;}
.af-map-svg.is-dragging{cursor:grabbing;}

.af-provinces .af-prov{
  fill:var(--map-land);
  stroke:var(--map-line);
  stroke-linejoin:round;
  transition:fill var(--transition);
}
.af-provinces .af-prov:hover{fill:var(--teal-light);}
.af-outline-group .af-outline{
  fill:none;
  stroke:var(--map-outline);
  stroke-linejoin:round;
  stroke-linecap:round;
  stroke-opacity:.85;
}

.af-pin,.af-cluster{cursor:pointer;}
.af-pin circle,.af-cluster circle{transition:transform var(--transition);}
.af-pin:hover circle:first-child{filter:brightness(1.12);}
.af-pin:focus,.af-cluster:focus{outline:none;}
.af-pin:focus-visible circle:first-child,.af-cluster:focus-visible circle:first-child{
  stroke:var(--amber);stroke-width:5;
}
.af-pin.is-active circle:first-child{filter:brightness(1.15);}

.af-route path{stroke-dasharray:11 7;animation:afDash 1.4s linear infinite;}
@keyframes afDash{to{stroke-dashoffset:-18;}}
.af-user{pointer-events:none;}

.af-map-loading{
  position:absolute;inset:0;display:grid;place-items:center;gap:.6rem;
  color:var(--text-muted);font-size:.85rem;
}

.af-map-zoom{
  position:absolute;top:.7rem;inset-inline-end:.7rem;
  display:flex;flex-direction:column;gap:.3rem;
}
.af-map-zoom button{
  width:36px;height:36px;border-radius:10px;cursor:pointer;
  background:var(--surface);color:var(--text);
  border:1px solid var(--border);box-shadow:var(--shadow-sm);
  display:grid;place-items:center;font-size:.82rem;
  transition:var(--transition);
}
.af-map-zoom button:hover{background:var(--teal);border-color:var(--teal);color:#fff;}

.af-map-hint{
  position:absolute;bottom:.6rem;inset-inline-start:.6rem;
  background:var(--surface);color:var(--text-muted);
  border:1px solid var(--border);border-radius:var(--radius-pill);
  padding:.3rem .8rem;font-size:.68rem;font-weight:600;
  box-shadow:var(--shadow-sm);pointer-events:none;
}

/* --- selection card ------------------------------------- */
.af-map-card{
  position:absolute;bottom:.75rem;inset-inline-end:.75rem;width:280px;
  background:var(--surface);color:var(--text);
  border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);padding:.9rem;z-index:5;
  animation:afCardIn .18s ease;
}
@keyframes afCardIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
.af-card-close{
  position:absolute;top:.45rem;inset-inline-end:.45rem;
  width:26px;height:26px;border-radius:50%;cursor:pointer;
  background:var(--surface-2);color:var(--text-muted);border:none;
  display:grid;place-items:center;font-size:.7rem;
}
.af-card-close:hover{color:var(--red);}
.af-card-img{
  height:96px;border-radius:10px;background-size:cover;background-position:center;
  margin-bottom:.55rem;
}
.af-card-kind{
  display:inline-block;font-size:.6rem;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:var(--teal);
  background:var(--teal-light);border-radius:var(--radius-pill);
  padding:.15rem .5rem;margin-bottom:.3rem;
}
.af-map-card h5{font-size:.9rem;font-weight:800;line-height:1.3;}
.af-card-desc{margin-top:.35rem;}
.af-card-stats{margin-top:.4rem;}
.af-card-dist{
  margin-top:.35rem;color:var(--teal);font-weight:700;
}
.af-card-actions{display:flex;gap:.4rem;margin-top:.7rem;}
.af-card-actions .btn{flex:1;justify-content:center;}

/* --- sidebar rows --------------------------------------- */
.map-poi-body{flex:1;min-width:0;}
.map-poi-body h5{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.map-poi-dist{
  flex-shrink:0;font-size:.68rem;font-weight:800;color:var(--text-muted);
  background:var(--surface-2);border-radius:var(--radius-pill);padding:.15rem .5rem;
}

/* --- mini locator map on profile pages ------------------ */
.af-mini{display:block;width:100%;height:100%;color:var(--text);background:var(--map-sea);}

@media (max-width:720px){
  .af-map-card{width:auto;inset-inline:.5rem;inset-inline-start:.5rem;}
  .af-map-hint{display:none;}
}
@media (prefers-reduced-motion:reduce){
  .af-route path{animation:none;}
  .af-map-card{animation:none;}
}


/* =========================================================================
   3D CARD INTERACTION
   Cards tilt toward the pointer with the artwork drifting against the tilt,
   which reads as real depth rather than as a flat hover state. The JS writes
   four custom properties and does no layout work per frame; the browser only
   has to composite a transform.
   ========================================================================= */
.tilt{
  /* `perspective` has to sit in the same transform as the rotation for the
     card to rotate in three dimensions; `preserve-3d` then carries that depth
     to the children. `position:relative` anchors the sheen, which is appended
     absolutely so it never becomes a flex item and adds height. */
  position:relative;
  transform-style:preserve-3d;
  transition:transform .4s cubic-bezier(.22,.61,.36,1),box-shadow .4s ease;
}
.tilt.is-tilting{
  /* Nearly no easing while the pointer moves, so the card tracks it exactly. */
  transition:transform .08s linear,box-shadow .4s ease;
  box-shadow:var(--shadow-lg);
  z-index:2;
}
/* The artwork slides opposite the tilt, the way a foreground layer moves in a
   parallax scene. Scale keeps the edges from pulling inside the frame. */
.tilt .spot-img,
.tilt .blog-img,
.tilt .culture-img{
  transform:translate3d(calc(var(--px,0) * -9px),calc(var(--py,0) * -9px),0) scale(1.07);
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
}
.tilt.is-tilting .spot-img,
.tilt.is-tilting .blog-img,
.tilt.is-tilting .culture-img{
  transition:transform .08s linear;
}
/* A soft highlight that follows the pointer across the card. */
.tilt .tilt-sheen{
  position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:4;
  background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,.20),rgba(255,255,255,0) 60%);
  opacity:0;transition:opacity .3s ease;
}
.tilt.is-tilting .tilt-sheen{opacity:1;}

/* Cards fade and rise into place as they are scrolled to. */
/* Not yet revealed: invisible, and kept out of the pointer's way so a card
   cannot be tilted while the user cannot see it. */
.reveal:not(.is-in){pointer-events:none;}
.reveal{opacity:0;transform:translateY(14px);}
.reveal.is-in{
  opacity:1;transform:none;
  transition:opacity .5s ease,transform .5s cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion:reduce){
  .tilt,.tilt.is-tilting{transform:none !important;transition:none !important;}
  .tilt .spot-img,.tilt .blog-img,.tilt .culture-img{transform:none !important;}
  .tilt .tilt-sheen{display:none;}
  .reveal,.reveal.is-in{opacity:1;transform:none;transition:none;}
}
