:root {
  --green: #0b4f3c;
  --green-dark: #07352a;
  --green-deep: #05271f;
  --green-soft: #e7f1ec;
  --gold: #c8a44d;
  --gold-soft: #f0e4bd;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #17211d;
  --muted: #66756e;
  --line: #dce5df;
  --shadow-sm: 0 8px 26px rgba(7, 53, 42, .08);
  --shadow-md: 0 18px 48px rgba(7, 53, 42, .14);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--green-dark); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.68); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--green); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section { padding: 92px 0; position: relative; }
.section.compact { padding: 68px 0; }
.section-soft { background: var(--cream); }
.section-green { background: var(--green-dark); color: white; overflow: hidden; }
.section-green::before, .home-hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .13;
  background-image:
    linear-gradient(30deg, transparent 12%, rgba(255,255,255,.45) 12.5%, transparent 13%),
    linear-gradient(150deg, transparent 12%, rgba(255,255,255,.35) 12.5%, transparent 13%);
  background-size: 76px 76px;
}
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { text-align: left; margin-inline: 0; }
.section-heading h2, .split-copy h2, .page-content h2 {
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; font-weight: 700;
  color: var(--green-dark);
}
.section-green .section-heading h2, .section-green .section-heading p { color: white; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.04rem; }

.topbar { background: var(--green-deep); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-button { background: none; border: 0; color: var(--gold-soft); font-size: .78rem; font-weight: 700; padding: 4px 0; }
.topbar-button:hover { color: white; }
.navbar {
  position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.96);
  border-bottom: 1px solid rgba(7,53,42,.08); backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(7,53,42,.04);
}
.nav-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 200px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span, .footer-brand div { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong, .footer-brand strong { color: var(--green-dark); letter-spacing: .08em; font-family: Georgia, serif; font-size: 1.18rem; }
.brand small, .footer-brand small { color: var(--gold); font-size: .6rem; letter-spacing: .12em; margin-top: 5px; font-weight: 800; }
.nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.nav-menu > a, .nav-group > button, .icon-button {
  border: 0; background: none; padding: 12px 10px; color: #26352f;
  font-size: .86rem; font-weight: 700; border-radius: 10px;
}
.nav-menu > a:hover, .nav-menu > a.active, .nav-group > button:hover, .nav-group > button.active, .icon-button:hover {
  color: var(--green); background: var(--green-soft);
}
.nav-group { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; width: 235px; padding: 10px;
  background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.dropdown.wide { width: 270px; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 15px; }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown, .nav-group.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: #34453e; font-size: .85rem; }
.dropdown a:hover, .dropdown a.active { color: var(--green-dark); background: var(--cream); }
.nav-cta, .button.primary {
  border: 1px solid var(--green); background: var(--green); color: white; border-radius: 12px;
  padding: 11px 17px; font-weight: 800; box-shadow: 0 8px 18px rgba(11,79,60,.18);
}
.nav-cta:hover, .button.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.icon-button { font-size: 1.3rem; width: 42px; }
.menu-toggle { display: none; border: 0; background: var(--green-soft); color: var(--green-dark); border-radius: 10px; width: 44px; height: 44px; font-size: 1.35rem; }
.status-banner { background: #fff7de; border-bottom: 1px solid #ead59b; color: #725815; font-size: .78rem; padding: 9px 0; }

.home-hero {
  position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden;
  color: white; background: var(--green-deep);
}
.home-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.home-hero .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,39,31,.96) 0%, rgba(5,39,31,.76) 52%, rgba(5,39,31,.26) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 790px; padding: 100px 0 135px; }
.hero-kicker { display: inline-flex; gap: 12px; align-items: center; color: var(--gold-soft); font-size: .78rem; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.home-hero h1 { margin: 20px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.035em; }
.home-hero h1 span { display: block; color: var(--gold-soft); }
.hero-tagline { margin: 0 0 20px; color: #f7edcf; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-style: italic; }
.hero-description { max-width: 680px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 19px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; }
.button.gold { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.button.gold:hover { background: #d8b75e; transform: translateY(-1px); }
.button.light { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.button.light:hover { background: white; color: var(--green-dark); }
.button.outline { color: var(--green); background: transparent; border-color: var(--green); }
.button.outline:hover { background: var(--green); color: white; }
.button.ghost { background: var(--green-soft); color: var(--green-dark); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.hero-arch { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: var(--paper); clip-path: ellipse(60% 55% at 50% 100%); }

.stats-wrap { position: relative; margin-top: -72px; z-index: 4; }
.stats-panel { display: grid; grid-template-columns: repeat(6,1fr); background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.stat { padding: 27px 17px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; top: 22%; bottom: 22%; left: 0; width: 1px; background: var(--line); }
.stat strong { display: block; color: var(--green-dark); font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.portrait-frame, .image-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; background: var(--green-soft); box-shadow: var(--shadow-md); }
.portrait-frame img, .image-frame img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.portrait-frame::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(200,164,77,.7); border-radius: 21px; pointer-events: none; }
.quote { margin: 24px 0; padding: 22px 25px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-family: Georgia, serif; font-size: 1.22rem; color: var(--green-dark); }
.signature { margin: 25px 0; }
.signature strong { display: block; color: var(--green-dark); }
.signature span { color: var(--muted); font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4,1fr); }
.card-grid.two { grid-template-columns: repeat(2,1fr); }
.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(200,164,77,.55); }
.card-image { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: var(--green-soft); }
.card-body { padding: 23px; }
.card-body h3 { margin: 0 0 9px; color: var(--green-dark); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.25; }
.card-body p { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: .86rem; }
.card-link:hover { color: var(--gold); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; background: var(--green-soft); color: var(--green); padding: 5px 10px; margin-bottom: 12px; font-size: .69rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.badge.gold { background: #faf0cf; color: #755b16; }
.badge.dark { background: rgba(255,255,255,.12); color: var(--gold-soft); }
.icon-card { padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.icon-card .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); font-size: 1.35rem; margin-bottom: 17px; }
.icon-card h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 1.02rem; }
.icon-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.diniyah-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.diniyah-card { position: relative; min-height: 410px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); color: white; }
.diniyah-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diniyah-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,39,31,.08), rgba(5,39,31,.96)); }
.diniyah-card .content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 30px; }
.diniyah-card h3 { margin: 8px 0; font-family: Georgia, serif; font-size: 1.65rem; }
.diniyah-card p { margin: 0 0 15px; color: rgba(255,255,255,.78); font-size: .92rem; }

.gallery { display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: 230px 230px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.gallery figure:first-child { grid-row: 1/3; }
.gallery figure:last-child { grid-column: 2/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(5,39,31,.82); color: white; font-size: .74rem; }

.news-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; }
.featured-news { position: relative; min-height: 500px; border-radius: var(--radius-lg); overflow: hidden; color: white; box-shadow: var(--shadow-md); }
.featured-news img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-news::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,39,31,.96)); }
.featured-news .content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px; }
.featured-news h3 { margin: 8px 0 11px; font-family: Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.featured-news p { color: rgba(255,255,255,.8); margin: 0 0 17px; }
.news-list { display: flex; flex-direction: column; gap: 15px; }
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 15px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.news-item img { width: 130px; height: 105px; object-fit: cover; border-radius: 11px; }
.news-item h4 { margin: 5px 0 6px; color: var(--green-dark); line-height: 1.3; font-family: Georgia, serif; }
.news-item small { color: var(--muted); }

.ikafa-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; z-index: 2; }
.ikafa-wrap h2 { margin: 10px 0 16px; font-family: Georgia, serif; font-size: clamp(2.2rem,5vw,4rem); line-height: 1; }
.ikafa-wrap p { color: rgba(255,255,255,.76); }
.ikafa-panel { padding: 26px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.ikafa-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.metric { padding: 20px; border-radius: 14px; background: rgba(255,255,255,.09); }
.metric strong { display: block; color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.45rem; }
.metric span { color: rgba(255,255,255,.7); font-size: .78rem; }

.cta-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green); color: white; padding: 50px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; box-shadow: var(--shadow-md); }
.cta-panel::after { content: ""; position: absolute; width: 240px; height: 240px; right: -60px; top: -80px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.1rem); }
.cta-panel p { margin: 0; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.page-hero { position: relative; overflow: hidden; background: var(--green-dark); color: white; padding: 86px 0 80px; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.62); font-size: .8rem; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold-soft); }
.page-hero h1 { max-width: 900px; margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(2.7rem,6vw,4.8rem); line-height: 1.02; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.06rem; }
.page-content { padding: 80px 0; }
.prose { max-width: 850px; margin-inline: auto; }
.prose p { color: #425149; margin: 0 0 20px; }
.prose h2 { margin-top: 45px; font-size: 2rem; }
.prose h3 { margin-top: 30px; color: var(--green-dark); }
.info-box { padding: 24px; border: 1px solid #e7d59c; border-radius: var(--radius); background: #fff8e5; color: #6e5718; }
.info-box strong { color: #503d0d; }
.list-check { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.list-check li { padding-left: 30px; position: relative; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.timeline { max-width: 850px; margin: 0 auto; }
.timeline-item { position: relative; padding: 0 0 38px 42px; border-left: 2px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--gold); }
.timeline-item h3 { margin: 0 0 6px; color: var(--green-dark); }
.timeline-item p { margin: 0; color: var(--muted); }
.empty-state { max-width: 700px; margin: 0 auto; text-align: center; padding: 54px 32px; background: white; border: 1px dashed #b9c9c1; border-radius: var(--radius-lg); }
.empty-state .empty-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 20px; background: var(--green-soft); color: var(--green); font-size: 1.8rem; }
.empty-state h2 { margin: 0 0 10px; color: var(--green-dark); font-family: Georgia, serif; }
.empty-state p { margin: 0; color: var(--muted); }
.detail-hero-image { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 38px; box-shadow: var(--shadow-md); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--green-soft); color: var(--green-dark); font-size: .82rem; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px; }
.contact-card { padding: 28px; border: 1px solid var(--line); background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-card h3 { margin: 0 0 15px; color: var(--green-dark); font-family: Georgia, serif; font-size: 1.45rem; }
.contact-row { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--green); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--green-dark); font-size: .82rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cdd9d2; border-radius: 11px; padding: 12px 13px; color: var(--ink); background: white; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,79,60,.1); }

.footer { background: var(--green-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 48px; padding: 70px 0 52px; }
.footer-brand { display: flex; gap: 11px; align-items: center; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand strong { color: white; }
.footer p { color: rgba(255,255,255,.68); font-size: .88rem; }
.footer h3 { margin: 0 0 17px; color: var(--gold-soft); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer section > a { display: block; color: rgba(255,255,255,.7); margin: 9px 0; font-size: .87rem; }
.footer section > a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .78rem; padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-credit { white-space: nowrap; }
.footer-credit a { color: var(--gold-soft); font-weight: 800; letter-spacing: .03em; }
.footer-credit a:hover { color: white; }
.map-section { margin-top: 42px; }
.map-frame { width: 100%; min-height: 430px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--green-soft); box-shadow: var(--shadow-md); }
.map-frame iframe { display: block; width: 100%; height: 430px; border: 0; }
.home-map { min-height: 460px; }
.home-map iframe { height: 460px; }
.map-actions { display: flex; justify-content: center; margin-top: 22px; }


.modal-backdrop, .search-panel { position: fixed; inset: 0; z-index: 100; background: rgba(5,26,21,.72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.modal-backdrop[hidden], .search-panel[hidden] { display: none; }
.modal, .search-box { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow-y: auto; background: white; border-radius: var(--radius-lg); box-shadow: 0 28px 90px rgba(0,0,0,.32); padding: 36px; }
.search-box { width: min(100%, 760px); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 11px; background: var(--green-soft); color: var(--green-dark); font-size: 1.4rem; z-index: 3; }
.modal h2, .search-box h2 { margin: 0 40px 10px 0; color: var(--green-dark); font-family: Georgia, serif; font-size: 2rem; }
.modal p { color: var(--muted); }
.modal-logo { width: 76px; height: 76px; object-fit: contain; margin-bottom: 20px; }
.search-box input { width: 100%; border: 1px solid #cdd9d2; border-radius: 13px; padding: 14px 15px; outline: none; font-size: 1rem; }
.search-results { margin-top: 15px; display: grid; gap: 8px; }
.search-result { display: block; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line); }
.search-result:hover { background: var(--green-soft); border-color: #bad0c5; }
.search-result strong { display: block; color: var(--green-dark); }
.search-result small { color: var(--muted); }

.notice-strip { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px; border-radius: 14px; background: #fff8e4; border: 1px solid #ead79c; color: #6a5315; margin-bottom: 26px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 13px; color: var(--green-dark); font-size: .82rem; font-weight: 700; }
.chip:hover { background: var(--green-soft); }

@media (max-width: 1050px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: absolute; left: 20px; right: 20px; top: calc(100% + 1px); display: none; align-items: stretch;
    flex-direction: column; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: var(--shadow-md); max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a, .nav-group > button, .icon-button, .nav-cta { width: 100%; text-align: left; }
  .icon-button { width: 100%; }
  .dropdown, .dropdown.wide { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 3px 0 6px 14px; }
  .nav-group.open .dropdown { display: block; }
  .nav-group:hover .dropdown:not(:focus-within) { display: none; }
  .stats-panel { grid-template-columns: repeat(3,1fr); }
  .stat:nth-child(4)::before { display: none; }
  .card-grid.four { grid-template-columns: repeat(2,1fr); }
  .split, .split.reverse, .ikafa-wrap, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .portrait-frame, .image-frame { min-height: 390px; max-width: 720px; width: 100%; }
  .news-layout { grid-template-columns: 1fr; }
  .news-list { display: grid; grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar-inner { min-height: 34px; }
  .topbar-inner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-inner { min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 1.03rem; }
  .brand small { font-size: .53rem; }
  .status-banner { font-size: .71rem; }
  .home-hero { min-height: 650px; }
  .home-hero .hero-shade { background: linear-gradient(90deg, rgba(5,39,31,.96), rgba(5,39,31,.72)); }
  .hero-content { padding: 80px 0 115px; }
  .home-hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .stats-wrap { margin-top: -54px; }
  .stats-panel { grid-template-columns: repeat(2,1fr); border-radius: 20px; }
  .stat { padding: 21px 10px; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(4)::before, .stat:nth-child(6)::before { display: block; }
  .section { padding: 68px 0; }
  .section.compact { padding: 52px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .split-copy h2 { font-size: 2.1rem; }
  .split { gap: 30px; }
  .portrait-frame, .image-frame { min-height: 330px; }
  .card-grid, .card-grid.two, .card-grid.four, .diniyah-grid { grid-template-columns: 1fr; }
  .diniyah-card { min-height: 350px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 180px 180px; }
  .gallery figure:first-child { grid-column: 1/3; grid-row: auto; }
  .gallery figure:last-child { grid-column: 1/3; }
  .news-list { grid-template-columns: 1fr; }
  .featured-news { min-height: 430px; }
  .news-item { grid-template-columns: 105px 1fr; }
  .news-item img { width: 105px; height: 92px; }
  .ikafa-metrics { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 34px 25px; }
  .cta-actions { justify-content: flex-start; flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .page-hero { padding: 62px 0 60px; }
  .page-hero h1 { font-size: 2.75rem; }
  .page-content { padding: 62px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 54px 0 38px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .map-frame, .map-frame iframe, .home-map, .home-map iframe { min-height: 340px; height: 340px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .modal, .search-box { padding: 30px 20px 24px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

:focus-visible { outline: 3px solid rgba(200,164,77,.65); outline-offset: 3px; }

.floating-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: #128c5e; color: white; font-weight: 900;
  box-shadow: 0 12px 30px rgba(5,39,31,.28); border: 3px solid white;
}
.floating-wa:hover { transform: translateY(-2px); background: #0c744c; }
@media (max-width: 760px) { .floating-wa { right: 14px; bottom: 14px; width: 50px; height: 50px; } }
.admin-footer-link{color:inherit;text-decoration:underline;text-underline-offset:3px}.form-grid input:not([disabled]),.form-grid textarea:not([disabled]){background:#fff}
