/* Halaal Trails: public site + dashboards. Colours come from the logo. */
:root {
  --teal-950: #062b24;
  --teal-900: #08392f;
  --teal-800: #0b4f43;
  --teal-700: #0f6656;
  --teal-500: #1f8f76;
  --teal-100: #e2f0eb;
  --teal-50: #f1f8f5;
  --gold-700: #8a6424;
  --gold-600: #a77c35;
  --gold-500: #c49a4f;
  --gold-300: #e7cb8e;
  --gold-100: #f7eed8;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #18241f;
  --muted: #5b6863;
  --line: #e7e0d0;
  --line-2: #d9d1bf;
  --red: #b0412e;
  --red-bg: #fbebe7;
  --amber: #8a5d05;
  --amber-bg: #fdf3dc;
  --green: #17734f;
  --green-bg: #e3f4ea;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(8, 57, 47, .06), 0 6px 20px rgba(8, 57, 47, .07);
  --shadow-lg: 0 10px 40px rgba(8, 57, 47, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Outfit', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-underline-offset: 2px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--teal-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); font-weight: 700; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.pad-xl { padding-top: 64px; padding-bottom: 64px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ribbon { background: var(--gold-100); color: var(--gold-700); text-align: center; font-size: .8rem; padding: 6px 12px; border-bottom: 1px solid var(--gold-300); }
.stack > * + * { margin-top: 14px; }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--teal-800);
  background: var(--teal-800); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-500); border-color: var(--gold-500); color: var(--teal-950); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-800); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--teal-50); color: var(--teal-900); border-color: var(--teal-500); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-danger:hover { background: #8e3121; border-color: #8e3121; }
.btn-wa { background: #1c8a4f; border-color: #1c8a4f; }
.btn-wa:hover { background: #156d3e; border-color: #156d3e; }
.btn-sm { padding: 7px 13px; font-size: .875rem; }
.btn-lg { padding: 13px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-700); text-decoration: underline; cursor: pointer; }

.chip, .chip-select { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper);
  color: var(--teal-800); font-weight: 500; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--teal-500); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
.badge .ic { width: 14px; height: 14px; }
.badge-verified { background: var(--green-bg); color: var(--green); border: 1px solid #b9e0c9; }
.badge-declared { background: var(--gold-100); color: var(--gold-700); border: 1px solid var(--gold-300); }
.badge-expired, .badge-warn { background: var(--red-bg); color: var(--red); border: 1px solid #efc3b9; }
.badge-neutral { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--teal-100); color: var(--teal-800); vertical-align: middle; text-transform: uppercase; letter-spacing: .04em; }
.tag-ramadan, .tag-eid { background: var(--gold-100); color: var(--gold-700); }
.tag-special { background: #ece8ff; color: #4b3fa0; }
.paid-tag, .demo-tag { position: absolute; top: 10px; left: 10px; background: rgba(6, 43, 36, .86); color: var(--gold-300); font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .03em; }
.demo-tag { left: auto; right: 10px; background: var(--gold-300); color: var(--teal-950); }
.paid-tag.inline, .demo-tag.inline { position: static; margin-left: 8px; display: inline-block; }
.open { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; }
.open.is-open { color: var(--green); }
.open.is-closed { color: var(--muted); }

/* ---------- header / footer ---------- */
.site-header { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: auto; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.02em; line-height: 1; }
.wordmark .w1 { color: var(--teal-800); }
.wordmark .w2 { color: var(--gold-500); margin-left: 3px; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--teal-50); color: var(--teal-800); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-800); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 8px; color: var(--teal-800); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .ic { width: 26px; height: 26px; }
.mobile-panel { position: absolute; right: 0; top: 46px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; width: 230px; display: grid; }
.mobile-panel a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.mobile-panel a:hover { background: var(--teal-50); }

.site-footer { background: var(--teal-950); color: #cfe2db; margin-top: 72px; padding: 48px 0 20px; }
.site-footer h4 { color: var(--gold-300); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer a { color: #cfe2db; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #93b0a6; max-width: 32ch; margin-top: 12px; }
.brand-footer .w1 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #93b0a6; flex-wrap: wrap; }
.footer-base a { display: inline; }

/* ---------- home ---------- */
.hero { background:
    radial-gradient(1000px 420px at 85% 10%, rgba(231, 203, 142, .35), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(31, 143, 118, .12), transparent 60%),
    var(--cream);
  padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; color: var(--gold-600); font-weight: 600; font-size: .8rem; margin-bottom: 12px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.hero-art img { border-radius: 24px; mix-blend-mode: multiply; }
.search-box { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; background: var(--paper); padding: 8px; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-top: 22px; }
.field-ico { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.field-ico input { border: 0; background: transparent; padding: 13px 0; width: 100%; outline: none; color: var(--ink); min-width: 0; }
.field-ico:focus-within { box-shadow: 0 0 0 2px var(--teal-500); }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.section { padding-top: 48px; }
.section-tight { padding-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.55rem; }
.section-head a { font-weight: 600; text-decoration: none; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; overflow: hidden; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-300); color: var(--ink); }
.cat-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); margin-bottom: 8px; }
.cat-ic .ic { width: 25px; height: 25px; }
.cat-masjids .cat-ic { background: var(--teal-800); color: var(--gold-300); }
.cat-name { font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--teal-900); line-height: 1.25; }
.cat-meta { font-size: .82rem; color: var(--muted); }

.ad-banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--paper); }
.ad-banner img { width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: cover; }
.ad-label { position: absolute; top: 10px; right: 12px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.9); color: var(--muted); padding: 2px 8px; border-radius: 6px; z-index: 1; }
.ad-text { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 150px; padding: 24px; gap: 6px; }
.ad-text strong { font-family: var(--display); font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); letter-spacing: .14em; color: var(--teal-800); }
.ad-text span { color: var(--gold-700); font-weight: 600; }
.ad-placeholder { background: repeating-linear-gradient(-45deg, var(--gold-100), var(--gold-100) 14px, #fbf4e3 14px, #fbf4e3 28px); border: 2px dashed var(--gold-300); }
.ad-placeholder:hover { border-color: var(--gold-500); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-paid { border-color: var(--gold-300); box-shadow: 0 0 0 1px var(--gold-300) inset; }
.card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--teal-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 1.08rem; margin: 4px 0 2px; color: var(--teal-900); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-weight: 600; margin: 0; flex-wrap: wrap; }
.subs { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.loc { display: flex; align-items: flex-start; gap: 5px; font-size: .87rem; color: var(--muted); margin: 0 0 8px; }
.loc .ic { margin-top: 2px; }
.card-foot { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

.ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 20%, rgba(231,203,142,.55), transparent 55%), linear-gradient(135deg, var(--teal-700), var(--teal-900)); }
.ph .ic { width: 46px; height: 46px; opacity: .9; }
.ph-food, .ph-shopping { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.25), transparent 55%), linear-gradient(135deg, var(--gold-500), var(--gold-700)); }
.ph-stay, .ph-travel { background: radial-gradient(circle at 30% 80%, rgba(231,203,142,.5), transparent 55%), linear-gradient(135deg, #2a7f8f, #12505c); }
.ph-activities, .ph-education { background: radial-gradient(circle at 70% 70%, rgba(231,203,142,.45), transparent 55%), linear-gradient(135deg, #3f8f5e, #1d5a3a); }
.ph-services { background: radial-gradient(circle at 30% 30%, rgba(231,203,142,.45), transparent 55%), linear-gradient(135deg, #5a6f86, #2f4256); }
.ph-lg .ic { width: 84px; height: 84px; }

.trust { background: var(--teal-900); color: #dcece6; margin-top: 56px; padding: 48px 0; background-image: radial-gradient(600px 300px at 90% 0, rgba(196,154,79,.25), transparent 60%); }
.trust h2 { color: #fff; font-size: 1.7rem; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.label-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.label-list li { display: grid; grid-template-columns: 175px 1fr; gap: 14px; align-items: center; background: rgba(255,255,255,.06); padding: 12px 14px; border-radius: 12px; }
.label-list li > span:last-child { font-size: .92rem; }
.label-list .badge { justify-self: start; }
.label-list-page li { background: var(--paper); border: 1px solid var(--line); }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.cta-masjid { background: linear-gradient(160deg, var(--teal-50), var(--gold-100)); }
.empty { padding: 32px; text-align: center; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- explore ---------- */
.explore-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 0 12px; }
.search-inline { margin-top: 0; box-shadow: none; }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: thin; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); white-space: nowrap; font-size: .9rem; background: var(--paper); }
.pill:hover { border-color: var(--teal-500); color: var(--teal-800); }
.pill.on { background: var(--teal-800); color: #fff; border-color: var(--teal-800); }
.explore { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-top: 24px; align-items: start; }
.filter-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; position: sticky; top: 82px; max-height: calc(100vh - 100px); overflow: auto; }
.filter-box summary { font-family: var(--display); font-weight: 600; color: var(--teal-900); padding: 12px 0; cursor: pointer; display: flex; gap: 8px; align-items: center; list-style: none; }
.filter-box summary::-webkit-details-marker { display: none; }
.filter-form { display: grid; gap: 14px; }
.filter-form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 500; }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks legend { font-size: .88rem; font-weight: 600; margin-bottom: 4px; color: var(--teal-900); }
.check { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px; font-weight: 400 !important; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--teal-700); margin: 0; flex: none; }
.results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.results-head h1 { font-size: 1.8rem; margin-bottom: 2px; }
.results-map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 18px; z-index: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-900); padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.note .ic { margin-top: 3px; color: var(--teal-700); }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time], input:not([type]), select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(31,143,118,.15); }
textarea { resize: vertical; }
label { font-weight: 500; }
.form-msg { min-height: 1.3em; margin: 0; font-size: .92rem; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--green); }

/* ---------- place ---------- */
.place-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 0 26px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: 18px; overflow: hidden; height: clamp(220px, 34vw, 400px); }
.gallery-single { grid-template-columns: 1fr; }
.g-main { min-height: 0; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
.g-thumb { position: relative; display: block; min-height: 0; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb span { position: absolute; inset: 0; background: rgba(6,43,36,.55); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; }
.place-title { display: flex; justify-content: space-between; gap: 24px; margin-top: 20px; align-items: flex-end; flex-wrap: wrap; }
.place-title h1 { margin: 6px 0 4px; }
.tagline { font-size: 1.08rem; color: var(--muted); margin-bottom: 6px; }
.place-title .loc { font-size: .95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.place-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding-top: 24px; align-items: start; }
.place-main, .place-side { display: grid; gap: 18px; min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.panel h2 .ic { color: var(--gold-600); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.h-sub { font-size: .95rem; margin-top: 18px; color: var(--teal-800); }
.prose p:last-child { margin-bottom: 0; }
.stamp { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--green); margin: 0; }
.stamp-warn { color: var(--amber); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .94rem; }
.notice .ic { width: 22px; height: 22px; margin-top: 1px; }
.notice-warn { background: var(--amber-bg); color: #5f4205; border: 1px solid #f0d9a2; }
.notice-err { background: var(--red-bg); color: #6d2417; border: 1px solid #efc3b9; }
.notice-ok { background: var(--green-bg); color: #0f4d34; border: 1px solid #b9e0c9; }
.notice-info { background: var(--teal-50); color: var(--teal-900); border: 1px solid var(--teal-100); }

.panel-prayer { border-top: 4px solid var(--teal-700); }
.sched-name { font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
table { border-collapse: collapse; width: 100%; }
.salaah th, .salaah td, .hours th, .hours td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.salaah thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.salaah tbody th { font-family: var(--display); font-weight: 600; color: var(--teal-900); }
.salaah td strong { color: var(--teal-800); font-size: 1.05rem; }
.salaah tr.eid { background: var(--gold-100); }
.jummah { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.j-card { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--teal-50); border: 1px solid var(--teal-100); font-size: .92rem; }
.j-card strong { font-family: var(--display); color: var(--teal-900); }
.upcoming { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.upcoming summary { cursor: pointer; font-weight: 600; }
.hours tr.today { background: var(--teal-50); font-weight: 600; }
.hours th { font-weight: 500; width: 40%; }
.special { padding-left: 18px; margin: 0; }

.certs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.cert { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cert-verified { border-color: #b9e0c9; background: #f7fcf9; }
.cert-expired { border-color: #efc3b9; background: #fffaf8; }
.cert-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .86rem; color: var(--muted); margin-top: 6px; }
.ownership { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }

.attr-group + .attr-group { margin-top: 14px; }
.attr-group h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-700); }
.attr-group dl { margin: 0; display: grid; gap: 10px; }
.attr { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.attr dt { color: var(--muted); font-size: .92rem; }
.attr dd { margin: 0; }
.stated { display: block; font-size: .78rem; color: var(--amber); margin-top: 2px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ticks li { display: inline-flex; align-items: center; gap: 5px; }
.ticks .ic { color: var(--teal-500); }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.contact .ic { color: var(--teal-700); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; }
.place-map { height: 220px; border-radius: 10px; margin-bottom: 12px; z-index: 0; }
.panel-map { padding: 12px; }
.linked { padding-left: 18px; margin: 0; }

.modal { border: 0; border-radius: 18px; padding: 26px; width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(6,43,36,.45); }
.modal-x { position: absolute; top: 10px; right: 12px; }
.modal-x button { border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal label { display: grid; gap: 4px; }

/* ---------- content pages ---------- */
.prose-page { padding-top: 40px; }
.prose-page h2 { margin-top: 1.8em; }
.prose-page .ticks { flex-direction: column; margin-bottom: 1.2em; }
.steps { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 1.6em; }
.cat-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-mini span { display: inline-flex; gap: 6px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.plan .price { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--teal-800); margin: 4px 0 10px; }
.plan .price span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.plan li { display: flex; gap: 6px; }
.plan .ic { color: var(--teal-500); margin-top: 3px; }

.ht-pin { background: none; border: 0; }
.search-box .field-ico input { border: 0; box-shadow: none; background: transparent; padding: 13px 0; border-radius: 0; }
.hero-quick select.chip-select { width: auto; padding-right: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .explore { grid-template-columns: 1fr; }
  .filter-box { position: static; max-height: none; }
  .place-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .mobile-menu { display: block; }
  .search-box { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-thumbs { display: none; }
  .label-list li { grid-template-columns: 1fr; gap: 6px; }
  .attr { grid-template-columns: 1fr; gap: 2px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 40%; }
  .panel { padding: 16px; }
  .wordmark { font-size: 1.25rem; }
}
@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
