/* =====================================================================
   TRAVELUS — Design System
   Brand colors sampled from logo: navy #0010A0, sky-blue #0068F8
   Mobile-first, app-like shell (top app-bar + bottom tab bar).
   ===================================================================== */

:root {
  /* Brand */
  --navy:        #0010A0;
  --navy-700:    #000C7A;
  --navy-900:    #00084d;
  --blue:        #0067FF;
  --blue-600:    #0a5fd6;
  --blue-300:    #5e9bff;
  --sky-50:      #eef4ff;
  --sky-100:     #dbe7ff;

  /* Neutrals */
  --ink:         #11183a;
  --muted:       #5b6486;
  --line:        #e6e9f4;
  --bg:          #f6f8fe;
  --card:        #ffffff;
  --gold:        #f4a522;

  /* Layout */
  --maxw:        1180px;
  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 10px 30px rgba(8, 18, 80, .08);
  --shadow-lg:   0 18px 50px rgba(8, 18, 80, .16);
  --grad:        linear-gradient(135deg, #0067FF 0%, #4f93ff 100%);
  --tabbar-h:    66px;
  --appbar-h:    60px;

  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* Icons (Google Material Symbols) */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1; user-select: none;
}
.icon-btn .material-symbols-outlined { font-size: 24px; }
.lang-btn .material-symbols-outlined { font-size: 18px; }
.svc-ic .material-symbols-outlined { font-size: 28px; }
.tabbar a .material-symbols-outlined { font-size: 24px; }
.tabbar a .tab-cta .material-symbols-outlined { font-size: 26px; }
.drawer-nav a .material-symbols-outlined { font-size: 23px; color: var(--blue); }
.tour-meta .material-symbols-outlined,
.contact-list .material-symbols-outlined,
.halal-points .material-symbols-outlined,
.btn .material-symbols-outlined,
.footer .social .material-symbols-outlined { font-size: 20px; }
.contact-list .material-symbols-outlined { font-size: 22px; }
.fab .material-symbols-outlined { font-size: 28px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
section { position: relative; }

/* ============================ TOP APP BAR ============================ */
.appbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--appbar-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.appbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand { gap: 8px; }
.brand-halal { height: 30px !important; width: auto; }
.tour-thumb .halal-logo { position: absolute; top: 10px; right: 10px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 4px 12px rgba(0,0,0,.28); object-fit: contain; }
.drawer-head .d-halal { height: 26px; vertical-align: middle; margin-left: 8px; background:#fff; border-radius:50%; padding:2px; }
.appbar-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky-50); color: var(--navy); border: none; cursor: pointer;
  transition: background .2s, transform .1s;
}
.icon-btn:hover { background: var(--sky-100); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 22px; height: 22px; }

/* Language pill */
.lang {  position: relative; }
.lang-btn {
  height: 42px; padding: 0 12px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--sky-50); color: var(--navy); font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font);
}
.lang-btn:hover { background: var(--sky-100); }
.lang-menu {
  position: absolute; right: 0; top: 50px; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 70;
}
.lang-menu.open { display: block; animation: pop .16s ease; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink);
}
.lang-menu a:hover { background: var(--sky-50); color: var(--navy); }
.lang-menu a .flag { font-size: 18px; }

/* ====================== DESKTOP TOP NAV (>=900px) ==================== */
.topnav { display: none; }
@media (min-width: 900px) {
  .topnav { display: flex; align-items: center; gap: 4px; }
  .topnav a {
    padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
    color: var(--ink); transition: background .2s, color .2s;
  }
  .topnav a:hover { color: var(--blue); }
  .topnav a.active { color: var(--navy); position: relative; }
  .topnav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--navy); }
  .menu-toggle { display: none !important; }
}

/* ===================== SLIDE-IN DRAWER (mobile) ===================== */
.scrim {
  position: fixed; inset: 0; background: rgba(6,12,50,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 84%; max-width: 340px;
  background: #fff; z-index: 90; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  background: var(--grad); color: #fff; padding: 20px 18px 22px;
}
.drawer-head .d-logo { height: 24px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.drawer-head p { font-size: 13px; opacity: .9; }
.drawer-nav { padding: 10px; overflow-y: auto; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px;
  border-radius: 12px; font-weight: 600; color: var(--ink); font-size: 15px;
}
.drawer-nav a:hover, .drawer-nav a.active { background: var(--sky-50); color: var(--navy); }
.drawer-nav a .mi { color: var(--blue); width: 24px; height: 24px; }
.drawer-foot { padding: 16px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.drawer-foot strong { color: var(--navy); }

/* ============================ BOTTOM TAB BAR ======================== */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  display: flex; align-items: stretch; justify-content: space-around;
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative;
}
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.active { color: var(--navy); }
.tabbar a.active::before {
  content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--grad);
}
.tabbar a .tab-cta {
  margin-top: -22px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,104,248,.4); border: 4px solid var(--bg);
}
.tabbar a .tab-cta svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-bottom: 0; } }
@media (max-width: 899px) { body { padding-bottom: var(--tabbar-h); } }

/* =============================== HERO =============================== */
.hero {
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  padding: 38px 0 86px;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; left: -60px; bottom: -120px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(27px, 6vw, 46px); line-height: 1.18; font-weight: 800; letter-spacing: -.5px; }
.hero h1 span { color: #ffd87a; }
.hero p.lead { margin-top: 14px; font-size: clamp(15px, 2.4vw, 18px); max-width: 640px; opacity: .95; }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Search card */
.search-card {
  margin-top: 28px; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px; max-width: 760px;
}
.search-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.search-tabs button {
  border: none; background: var(--sky-50); color: var(--navy); font-family: var(--font);
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 13px; white-space: nowrap; cursor: pointer;
}
.search-tabs button.active { background: var(--grad); color: #fff; }
.search-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.search-row .field { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.search-row .field label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.search-row .field input { border: none; background: transparent; width: 100%; font-size: 15px; font-family: var(--font); color: var(--ink); outline: none; }
@media (max-width: 640px) { .search-row { grid-template-columns: 1fr; } }

/* =============================== BUTTONS =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
  border: none; font-family: var(--font); transition: transform .12s, box-shadow .2s, background .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-blue { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(0,104,248,.32); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--sky-100); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================ SECTION HEADERS ====================== */
.section { padding: 46px 0; }
.section.tight { padding: 30px 0; }
.sec-head { margin-bottom: 26px; }
.sec-head .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(22px, 4.5vw, 32px); font-weight: 800; color: var(--navy); margin-top: 6px; letter-spacing: -.4px; }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 620px; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* =========================== SERVICE GRID ========================= */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .18s, box-shadow .2s, border-color .2s; box-shadow: var(--shadow);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sky-100); }
.svc-ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--sky-50); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.svc-ic svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 18px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.svc-card p { color: var(--muted); font-size: 14.5px; }
.svc-card .more { margin-top: 12px; color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }

/* =========================== TOUR CARDS =========================== */
.tour-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.tour-scroll::-webkit-scrollbar { height: 6px; }
.tour-scroll::-webkit-scrollbar-thumb { background: var(--sky-100); border-radius: 6px; }
.tour-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); min-width: 280px; max-width: 280px; scroll-snap-align: start;
  transition: transform .18s, box-shadow .2s;
}
.tour-card.full { min-width: 0; max-width: none; }
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-thumb { height: 178px; position: relative; background: var(--navy) center/cover no-repeat; display: flex; align-items: flex-end; padding: 14px; color: #fff; }
.tour-thumb.has-img::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(4,10,50,.28), transparent 55%); }
.tour-thumb > * { position: relative; z-index: 1; }
.tour-thumb .badge {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--navy);
  font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 999px;
}
.tour-thumb .badge.halal { background: #0f7a3d; color: #fff; }
.tour-thumb .region { font-size: 13px; font-weight: 600; opacity: .92; }
.tour-body { padding: 16px; }
.tour-body h3 { font-size: 16.5px; color: var(--navy); font-weight: 700; line-height: 1.35; min-height: 44px; }
.tour-meta { display: flex; gap: 14px; margin: 10px 0; color: var(--muted); font-size: 13px; }
.tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tour-meta svg { width: 16px; height: 16px; color: var(--blue); }
.tour-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.tour-foot .price small { display: block; font-size: 11px; color: var(--muted); }
.tour-foot .price b { font-size: 17px; color: var(--blue); }

/* =========================== HALAL BANNER ========================= */
.halal-band {
  background: linear-gradient(135deg, #0b6b39 0%, #0f8a4a 100%); color: #fff; border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; box-shadow: var(--shadow-lg);
}
.halal-band h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.halal-band p { opacity: .95; margin-top: 10px; }
.halal-points { margin-top: 16px; display: grid; gap: 10px; }
.halal-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.halal-points svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
@media (max-width: 760px) { .halal-band { grid-template-columns: 1fr; } }

/* =========================== HALAL FEATURE ======================== */
.tour-card.halal-feature { border: 2px solid #0f8a4a; box-shadow: 0 14px 34px rgba(15,138,74,.24); }
.tour-card.halal-feature:hover { box-shadow: 0 20px 46px rgba(15,138,74,.34); }
.tour-card.halal-feature .tour-thumb::before {
  content: "☪ HALAL"; position: absolute; top: 12px; left: 0; z-index: 2;
  background: linear-gradient(135deg, #0b6b39, #0f8a4a); color: #fff; font-weight: 800;
  font-size: 11px; letter-spacing: 1.2px; padding: 6px 13px 6px 11px; border-radius: 0 10px 10px 0;
  box-shadow: 0 5px 14px rgba(0,0,0,.28);
}
.tour-card.halal-feature .tour-thumb::after {
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(244,165,34,.55);
  border-radius: 0;
}
.tour-card.halal-feature .tour-foot .btn { background: linear-gradient(135deg,#0b6b39,#0f8a4a); box-shadow: 0 8px 18px rgba(15,138,74,.34); }
.tour-card.halal-feature .price b { color: #0f8a4a; }

/* Festive Halal showcase band */
.halal-showcase {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px 24px 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(244,165,34,.30), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(135deg, #0b6b39 0%, #0f8a4a 55%, #14a85a 100%);
  color: #fff; box-shadow: var(--shadow-lg); margin-bottom: 8px;
}
.halal-showcase::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(244,165,34,.35), transparent 65%); border-radius: 50%;
}
.halal-showcase .hs-head { text-align: center; position: relative; z-index: 2; margin-bottom: 22px; }
.halal-showcase .hs-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(244,165,34,.95); color: #3a2a00;
  font-weight: 800; font-size: 13px; letter-spacing: .5px; padding: 7px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.halal-showcase h2 { font-size: clamp(24px, 5vw, 36px); font-weight: 800; margin-top: 14px; letter-spacing: -.4px; }
.halal-showcase h2 .spark { color: #ffd87a; }
.halal-showcase .hs-sub { opacity: .96; max-width: 620px; margin: 8px auto 0; }
.halal-showcase .hs-grid { position: relative; z-index: 2; }
.halal-showcase .hs-perks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; position: relative; z-index: 2; }
.halal-showcase .hs-perks span {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.halal-showcase .hs-perks .material-symbols-outlined { font-size: 18px; color: #ffd87a; }

/* =========================== WHY / FEATURES ======================= */
.why-card { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.why-card .n { font-size: 30px; font-weight: 800; color: var(--blue); }
.why-card h3 { color: var(--navy); margin: 6px 0; font-size: 17px; }
.why-card p { color: var(--muted); font-size: 14px; }

.stat-band { background: var(--grad); border-radius: var(--radius); color: #fff; padding: 26px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; text-align: center; }
.stat-band .s b { font-size: clamp(24px, 5vw, 34px); font-weight: 800; display: block; }
.stat-band .s span { font-size: 13px; opacity: .9; }
@media (max-width: 620px) { .stat-band { grid-template-columns: repeat(2,1fr); } }

/* =========================== BLOG CARDS =========================== */
.blog-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .18s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .bthumb { height: 150px; background: var(--navy) center/cover no-repeat; position: relative; }
.blog-card .bthumb .cat { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.blog-card .bbody { padding: 16px; }
.blog-card h3 { font-size: 16px; color: var(--navy); line-height: 1.4; }
.blog-card .bmeta { color: var(--muted); font-size: 12.5px; margin-top: 8px; }

/* =========================== PAGE HEADER ========================== */
.page-hero { background: var(--grad); color: #fff; padding: 32px 0 38px; }
.page-hero .crumb { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.page-hero .crumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(24px, 5vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.page-hero p { margin-top: 10px; max-width: 680px; opacity: .94; }

/* =========================== PROSE ================================ */
.prose { max-width: 820px; }
.prose h2 { color: var(--navy); font-size: 22px; margin: 26px 0 10px; }
.prose h3 { color: var(--navy); font-size: 18px; margin: 20px 0 8px; }
.prose p { color: #353c5e; margin: 10px 0; }
.prose ul { margin: 10px 0 10px 2px; display: grid; gap: 8px; }
.prose ul li { padding-left: 26px; position: relative; color: #353c5e; }
.prose ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.prose strong { color: var(--navy); }
.prose em { color: #3a4366; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
.prose blockquote { border-left: 4px solid var(--blue); background: var(--sky-50); padding: 12px 18px; border-radius: 0 12px 12px 0; margin: 16px 0; color: #3a4366; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--sky-50); color: var(--navy); }
.prose img { border-radius: 12px; margin: 16px 0; }
.article-body { font-size: 16px; overflow-wrap: anywhere; }
.article-img { margin: 22px 0; }
.article-img img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); display: block; }
@media (max-width: 600px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.page-hero .bmeta-hero { opacity: .85; font-size: 13px; margin-top: 10px; }
[dir="rtl"] .prose { text-align: right; }
[dir="rtl"] .prose ul li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .prose ul li::before { left: auto; right: 0; }
[dir="rtl"] .prose th, [dir="rtl"] .prose td { text-align: right; }
[dir="rtl"] .page-hero .crumb { text-align: right; }
[dir="rtl"] .prose blockquote { border-left: none; border-right: 4px solid var(--blue); border-radius: 12px 0 0 12px; }

/* =========================== IMAGE SLOTS (placeholder) ============ */
.img-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 4px; }
@media (max-width: 760px) { .img-slots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .img-slots { grid-template-columns: 1fr; } }
.img-slot { aspect-ratio: 4/3; border: 2px dashed var(--sky-100); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); background: var(--sky-50); gap: 6px; font-size: 12.5px; font-weight: 600; text-align: center; padding: 8px; }
.img-slot .material-symbols-outlined { font-size: 30px; color: var(--blue-300); }
.img-slots.two { grid-template-columns: 1fr 1fr; gap: 16px; }
.img-slots.two .img-slot { aspect-ratio: 16/9; }
@media (max-width: 600px) { .img-slots.two { grid-template-columns: 1fr; } }
.media-band { width: 100%; aspect-ratio: 24/7; border: 2px dashed var(--sky-100); border-radius: var(--radius); background: linear-gradient(135deg, var(--sky-50), #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: 8px; font-weight: 600; }
.media-band .material-symbols-outlined { font-size: 40px; color: var(--blue-300); }
@media (max-width: 600px) { .media-band { aspect-ratio: 16/9; } }
/* image + text, alternating */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.media-split.reverse .ms-media { order: 2; }
.media-split .ms-media { min-height: 230px; max-height: 300px; height: 100%; aspect-ratio: 16/10; border: 2px dashed var(--sky-100); border-radius: var(--radius); background: linear-gradient(135deg, var(--sky-50), #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: 8px; font-weight: 600; }
.media-split .ms-media .material-symbols-outlined { font-size: 38px; color: var(--blue-300); }
.media-split .ms-text h2 { color: var(--navy); margin-bottom: 10px; }
.media-split .ms-text p { color: #353c5e; }
@media (max-width: 760px) { .media-split { grid-template-columns: 1fr; gap: 18px; } .media-split.reverse .ms-media { order: 0; } }
/* image strip */
.media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-strip .img-slot { aspect-ratio: 4/3; }
@media (max-width: 700px) { .media-strip { grid-template-columns: 1fr 1fr; } }

/* =========================== BLOG ARTICLE + SIDEBAR ============== */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.blog-sidebar { position: sticky; top: 78px; display: grid; gap: 16px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.side-card h4 { color: var(--navy); font-size: 15px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .4px; }
.side-card a.side-link { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.side-card a.side-link:last-child { border-bottom: none; }
.side-card a.side-link:hover { color: var(--blue); }
.side-card a.side-link .material-symbols-outlined { font-size: 19px; color: var(--blue); }
.side-cta { background: var(--grad); color: #fff; }
.side-cta h4, .side-cta p { color: #fff; }
.side-cta p { font-size: 13.5px; opacity: .95; margin-bottom: 12px; }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { background: var(--sky-50); color: var(--navy); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.side-tags a:hover { background: var(--sky-100); }
@media (max-width: 900px) { .article-wrap { grid-template-columns: 1fr; } .blog-sidebar { display: none; } }

/* =========================== INFO / CONTACT ======================= */
.contact-card { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: 26px; font-weight: 800; }
.contact-list { margin-top: 18px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.contact-list svg { width: 22px; height: 22px; flex: none; opacity: .9; }
.contact-list a:hover { text-decoration: underline; }

/* =========================== FOOTER ============================== */
.footer { background: var(--navy-900); color: #c9d2f5; padding: 40px 0 28px; margin-top: 20px; }
.footer .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.footer .flogo { height: 26px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.footer a { display: block; padding: 5px 0; font-size: 14px; color: #aeb9e6; }
.footer a:hover { color: #fff; }
.footer p { font-size: 13.5px; color: #98a3d6; }
.footer .social { display: flex; gap: 10px; margin-top: 14px; }
.footer .social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer .social svg { width: 19px; height: 19px; }
.footer .copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 18px; text-align: center; font-size: 13px; }
@media (max-width: 760px) { .footer .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer .fgrid { grid-template-columns: 1fr; } }

/* =========================== FLOATING CTA ========================= */
.fab-stack {
  position: fixed; right: 16px; z-index: 66; bottom: calc(var(--tabbar-h) + 16px);
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 900px) { .fab-stack { right: 22px; bottom: 24px; } }
.fab-stack.left { right: auto; left: 16px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: float 2.6s ease-in-out infinite;
}
.fab.wa   { background: #25D366; box-shadow: 0 10px 24px rgba(37,211,102,.5); }
.fab.call { background: var(--grad); box-shadow: 0 10px 24px rgba(0,104,248,.5); animation-delay: .5s; }
.fab svg { width: 28px; height: 28px; }

/* =========================== UTIL / ANIM ========================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.text-blue { color: var(--blue); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pill { display:inline-flex; align-items:center; gap:6px; background: var(--sky-50); color: var(--navy); font-weight:600; font-size:13px; padding:6px 12px; border-radius:999px; }
