
:root{--green:#0B5D3B;--green2:#123F34;--gold:#C6A253;--gold-deep:#9C7A35;--sand:#DCC9A6;--ivory:#FBF9F1;--logo-bg:#FEFCF5;--sky:#A7C4DB;--charcoal:#2C2C2C;--white:#fff;--muted:#716b61;--shadow:0 18px 45px rgba(18,63,52,.12);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--charcoal);font-family:Inter,Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin:auto}.serif,h1,h2,h3{font-family:Georgia,'Times New Roman',serif;color:var(--green2)}.arabic{font-family:'Noto Naskh Arabic','Traditional Arabic',serif;direction:rtl}.eyebrow{font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:800}.section{padding:82px 0}.section.alt{background:#fff}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-title h2{font-size:clamp(2rem,4vw,3.15rem);margin:5px 0}.section-title p{max-width:620px;color:var(--muted);margin:0}.btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;font-weight:800;border:1px solid transparent;cursor:pointer;transition:.2s}.btn.primary{background:var(--green);color:white}.btn.gold{background:var(--gold-deep);color:#fff}.btn.ghost{border-color:#bcae98;background:rgba(255,255,255,.78);color:var(--green)}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.09)}
.site-header{position:sticky;top:0;z-index:30;background:var(--logo-bg);backdrop-filter:blur(14px);border-bottom:1px solid rgba(185,146,71,.2)}.nav{height:96px;display:flex;align-items:center;gap:24px}.nav-logo img{width:210px;height:auto}.nav-links{display:flex;align-items:center;gap:22px;margin-left:auto;font-weight:700;font-size:.94rem}.nav-links a{padding:36px 0;border-bottom:2px solid transparent}.nav-links a:hover,.nav-links a.active{color:var(--green);border-color:var(--gold)}.nav-tools{display:flex;gap:10px}.lang-btn,.menu-btn{border:1px solid #d9cdbb;background:white;border-radius:999px;padding:8px 12px;font-weight:800;color:var(--green);cursor:pointer}.menu-btn{display:none}
.hero{min-height:600px;display:grid;align-items:center;position:relative;overflow:hidden;background:url('../images/hero-madinah.webp') center/cover no-repeat;--hero-shade:linear-gradient(90deg,rgba(251,249,241,.82) 0%,rgba(251,249,241,.6) 30%,rgba(251,249,241,.12) 55%,transparent 70%)}
.hero:after{content:'';z-index:1;position:absolute;inset:auto 0 0;height:110px;background:linear-gradient(transparent,var(--ivory))}.hero-inner{position:relative;z-index:2;max-width:670px;padding:72px 0 110px}.hero h1{font-size:clamp(3.8rem,7vw,6.6rem);line-height:.9;margin:14px 0 10px;letter-spacing:-.04em}.hero .ar-title{font-size:clamp(2.5rem,5vw,4.7rem);color:var(--green);margin:0 0 14px;line-height:1}.hero .tagline{font-family:Georgia,serif;font-size:1.65rem;color:var(--green2);margin:0 0 12px}.hero .lead{font-size:1.13rem;max-width:590px;color:#524d45}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.badge{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.8);border:1px solid rgba(185,146,71,.35);font-size:.85rem;font-weight:800;color:var(--green)}
.brand-strip{margin-top:-48px;position:relative;z-index:4}.brand-strip .panel{background:#fff;border:1px solid rgba(185,146,71,.25);border-radius:var(--radius);box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.brand-stat{padding:24px;border-right:1px solid #eee6da}.brand-stat:last-child{border:0}.brand-stat b{display:block;font-family:Georgia,serif;color:var(--green);font-size:1.35rem}.brand-stat span{color:var(--muted);font-size:.9rem}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.place-card{background:#fff;border:1px solid #eee3d4;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(18,63,52,.07);transition:.22s}.place-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.place-card .img{height:210px;overflow:hidden;background:#ddd}.place-card .img img{width:100%;height:100%;object-fit:cover;transition:.3s}.place-card:hover .img img{transform:scale(1.03)}.place-card .body{padding:19px}.place-card h3{font-size:1.35rem;margin:0}.place-card .ar{color:var(--gold);font-size:1rem;margin:.2rem 0 .6rem}.place-card p{color:var(--muted);font-size:.94rem;margin:.5rem 0 1rem}.tag{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f2eadc;color:#705a2c;font-size:.75rem;font-weight:800}
.timeline{position:relative;margin-top:25px}.timeline:before{content:'';position:absolute;left:25px;top:8px;bottom:8px;width:2px;background:linear-gradient(var(--gold),#decda8)}.event{display:grid;grid-template-columns:70px 1fr;gap:22px;margin:0 0 26px;position:relative}.event .year{height:52px;width:52px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-weight:700;border:4px solid var(--ivory);z-index:1}.event .copy{background:white;border-radius:16px;padding:18px 20px;border:1px solid #eee2d2}.event .copy h3{margin:0 0 3px;font-size:1.18rem}.event .copy p{margin:0;color:var(--muted)}
.map-preview{position:relative;border-radius:28px;overflow:hidden;border:1px solid #d9c6a5;box-shadow:var(--shadow)}.map-preview img{width:100%}.map-overlay-copy{position:absolute;left:26px;bottom:26px;background:rgba(14,75,58,.92);color:white;padding:20px 22px;border-radius:18px;max-width:430px;backdrop-filter:blur(6px)}.map-overlay-copy h3{color:white;margin:0 0 5px;font-size:1.7rem}.map-overlay-copy p{margin:0 0 12px;color:#f5eee0}
.quote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quote{background:var(--green2);color:#fff;border-radius:20px;padding:25px;position:relative;overflow:hidden}.quote:after{content:'✦';position:absolute;right:16px;top:8px;color:rgba(185,146,71,.35);font-size:3rem}.quote h3{color:#f4dfaf;font-size:1.18rem}.quote p{font-family:Georgia,serif;font-size:1.12rem}.quote small{color:#d8cdbf}
.page-hero{padding:70px 0 55px;background:linear-gradient(115deg,#fff,var(--ivory));border-bottom:1px solid #ebdfcf}.page-hero h1{font-size:clamp(2.8rem,6vw,5rem);margin:8px 0}.page-hero p{max-width:780px;color:var(--muted);font-size:1.06rem}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.filter-btn{border:1px solid #d9ccba;background:white;border-radius:999px;padding:9px 13px;cursor:pointer;font-weight:800;color:var(--green2)}.filter-btn.active{background:var(--green);color:white;border-color:var(--green)}.searchbar{display:flex;gap:10px;margin-bottom:20px}.searchbar input{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #d8ccba;background:white;font-size:1rem;outline:none}.searchbar input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(185,146,71,.12)}
.map-page-grid{display:grid;grid-template-columns:1fr 330px;gap:22px;align-items:start}.interactive-map{position:relative;border-radius:24px;overflow:hidden;border:1px solid #d7c39e;background:#e6d6b7}.interactive-map img{width:100%;height:auto}.map-pin{position:absolute;transform:translate(-50%,-50%);width:29px;height:29px;border-radius:50%;border:3px solid white;background:var(--green);color:white;font-size:.72rem;display:grid;place-items:center;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.2);cursor:pointer}.map-pin:hover,.map-pin.active{background:#8d2b3a;transform:translate(-50%,-50%) scale(1.18)}.map-sidebar{background:#fff;border:1px solid #eadfce;border-radius:20px;padding:16px;max-height:760px;overflow:auto;position:sticky;top:102px}.map-sidebar h3{margin:0 0 10px}.map-list-item{display:block;padding:10px 8px;border-bottom:1px solid #eee6db}.map-list-item:hover{background:#faf6ef}.map-list-item b{display:block;color:var(--green2)}.map-list-item small{color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:34px;align-items:start}.detail-photo{border-radius:26px;overflow:hidden;border:1px solid #e3d6c2}.detail-photo img{width:100%;aspect-ratio:16/10;object-fit:cover}.detail-copy h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:.95;margin:12px 0}.detail-copy .arabic-name{font-size:2.25rem;color:var(--gold);margin:5px 0 14px}.meta-row{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.prose{font-size:1.04rem}.prose h2{font-size:2rem;margin-top:34px}.side-card{background:white;border:1px solid #e7dac8;border-radius:20px;padding:20px;box-shadow:0 10px 28px rgba(18,63,52,.05);margin-bottom:18px}.side-card h3{margin-top:0}.qr{width:170px;margin:auto}.notice{background:#fff7e5;border-left:4px solid var(--gold);padding:14px 16px;border-radius:10px;color:#5c513f;font-size:.92rem}
.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.guide-card{background:white;border:1px solid #ebdfce;border-radius:20px;padding:22px}.guide-card h3{margin-top:0}.guide-card ul{padding-left:20px;color:var(--muted)}
.site-footer{background:#0a352c;color:#e9e1d3;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,.7fr);gap:35px}.footer-logo{width:240px;border-radius:14px}.site-footer h4{color:#eacb8b;margin:0 0 12px;font-family:Georgia,serif}.site-footer a{display:block;color:#e9e1d3;margin:7px 0}.site-footer p{color:#c9c0b2}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:.85rem;color:#b7aea2;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.hidden{display:none!important}
@media(max-width:980px){.nav-links{display:none;position:absolute;top:96px;left:0;right:0;background:var(--ivory);padding:18px 4%;box-shadow:0 12px 25px rgba(0,0,0,.08)}.nav-links.open{display:grid}.nav-links a{padding:8px 0}.menu-btn{display:block}.nav-logo img{width:210px}.nav-tools{margin-left:auto}.brand-strip .panel{grid-template-columns:repeat(2,1fr)}.card-grid,.quote-grid{grid-template-columns:repeat(2,1fr)}.map-page-grid,.detail-grid{grid-template-columns:1fr}.map-sidebar{position:static;max-height:none}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:620px;--hero-shade:linear-gradient(90deg,rgba(247,243,234,.97),rgba(247,243,234,.82) 58%,rgba(247,243,234,.3))}.hero-inner{max-width:610px}}
@media(max-width:640px){.section{padding:58px 0}.hero{min-height:620px}.hero h1{font-size:3.7rem}.hero .ar-title{font-size:2.7rem}.brand-strip{margin-top:-28px}.brand-strip .panel,.card-grid,.quote-grid,.guide-grid,.footer-grid{grid-template-columns:1fr}.brand-stat{border-right:0;border-bottom:1px solid #eee6da}.section-title{display:block}.place-card .img{height:190px}.map-overlay-copy{position:static;border-radius:0}.map-page-grid{display:block}.interactive-map{overflow:auto}.interactive-map img{min-width:900px}.map-pin{display:none}.nav-logo img{width:180px}.lang-btn{display:none}.detail-copy h1{font-size:3rem}}

.brand-ar{color:var(--gold);unicode-bidi:isolate;white-space:nowrap;font-size:.95em}

.hero h1 .brand-ar{font-size:.42em;letter-spacing:0;vertical-align:middle}
.hero .tagline{font-size:clamp(1.6rem,3vw,2.3rem);margin:6px 0 14px}
.hero .lead{color:#2f2a22;max-width:440px}
.btn.light{background:#fff;color:var(--green2);border-color:var(--green2)}
.nav-icon{display:grid;place-items:center;width:38px;height:38px;color:var(--green2)}
.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.features{background:var(--ivory);position:relative;z-index:3}
.features-row{display:grid;grid-template-columns:repeat(6,1fr);padding:30px 0 36px}
.feature{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:8px 14px;border-right:1px solid #e9dfcc;transition:.2s}
.feature:last-child{border-right:0}
.feature svg{width:46px;height:46px;fill:none;stroke:var(--gold-deep);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-bottom:8px;transition:.2s}
.feature b{font-family:Georgia,serif;font-size:1.25rem;color:var(--green2)}
.feature span{color:var(--muted);font-size:.92rem;line-height:1.45}
.feature:hover svg{transform:translateY(-3px);stroke:var(--green)}
@media(max-width:900px){.features-row{grid-template-columns:repeat(3,1fr);row-gap:22px}.feature:nth-child(3){border-right:0}}
@media(max-width:560px){.features-row{grid-template-columns:repeat(2,1fr)}.feature:nth-child(3){border-right:1px solid #e9dfcc}.feature:nth-child(2n){border-right:0}.hero{--hero-shade:linear-gradient(rgba(251,249,241,.86),rgba(251,249,241,.55))}}

.hero:before{content:'';position:absolute;inset:0;background:var(--hero-shade);z-index:1;pointer-events:none}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.hero-video.ready{opacity:1}
.sound-btn{position:absolute;right:max(4%,calc((100% - 1180px)/2));bottom:72px;z-index:3;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(11,61,42,.55);color:#fff;font-weight:800;font-size:.85rem;cursor:pointer;backdrop-filter:blur(8px);transition:.2s}
.sound-btn:hover,.sound-btn:focus-visible{background:rgba(11,61,42,.8)}
.sound-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sound-btn .on{display:none}.sound-btn[aria-pressed=true] .on{display:inline}.sound-btn[aria-pressed=true] .off{display:none}
@media(prefers-reduced-motion:no-preference){
.site-header{animation:dropIn .4s ease-out both}
.hero-inner>*{animation:riseIn .6s cubic-bezier(.2,.7,.2,1) both}
.hero-inner>:nth-child(1){animation-delay:.3s}.hero-inner>:nth-child(2){animation-delay:.45s}.hero-inner>:nth-child(3){animation-delay:.7s}.hero-inner>:nth-child(4){animation-delay:.85s}
.hero-actions{animation:none!important}.hero-actions .btn{animation:riseIn .5s cubic-bezier(.2,.7,.2,1) both}
.hero-actions .btn:nth-child(1){animation-delay:1s}.hero-actions .btn:nth-child(2){animation-delay:1.08s}.hero-actions .btn:nth-child(3){animation-delay:1.16s}
.hero h1 .brand-ar{background:linear-gradient(100deg,var(--gold) 40%,#fff3c8 50%,var(--gold) 60%) 100% 0/250% 100% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shimmer 1.2s ease-in-out 1.1s both}
.features.anim .feature svg *{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .9s ease}
.features.anim .feature b,.features.anim .feature span{opacity:0;transform:translateY(8px);transition:opacity .6s ease,transform .6s ease}
.features.anim.in .feature svg *{stroke-dashoffset:0}
.features.anim.in .feature b,.features.anim.in .feature span{opacity:1;transform:none}
.features.anim .feature:nth-child(2) *{transition-delay:.1s}.features.anim .feature:nth-child(3) *{transition-delay:.2s}.features.anim .feature:nth-child(4) *{transition-delay:.3s}.features.anim .feature:nth-child(5) *{transition-delay:.4s}.features.anim .feature:nth-child(6) *{transition-delay:.5s}
}
@keyframes dropIn{from{transform:translateY(-100%)}}
@keyframes riseIn{from{opacity:0;transform:translateY(16px)}}
@keyframes shimmer{from{background-position:100% 0}to{background-position:0 0}}
@media(max-width:640px){.sound-btn{bottom:60px;padding:9px 12px}.sound-btn .label{display:none}}

.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:210px;grid-auto-flow:dense;gap:14px}
.g-item{margin:0;position:relative;border-radius:18px;overflow:hidden;background:#e9dfcc}
.g-item.wide{grid-column:span 2;grid-row:span 2}.g-item.tall{grid-row:span 2}
.g-item button{all:unset;display:block;width:100%;height:100%;cursor:zoom-in}
.g-item button:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.g-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.g-item:hover img{transform:scale(1.04)}
.g-item figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 11px;background:linear-gradient(transparent,rgba(10,40,28,.78));color:#fff;font-size:.88rem;font-weight:700;pointer-events:none}
.g-item figcaption .arabic{color:#f1d99a;margin-left:6px;font-weight:400}
.gallery-note{margin:14px 0 0;color:var(--muted);font-size:.82rem;text-align:center}
.lightbox{border:0;padding:0;background:transparent;max-width:min(1100px,94vw);overflow:visible}
.lightbox::backdrop{background:rgba(8,28,20,.88)}
.lightbox figure{margin:0}.lightbox img{max-height:82vh;width:auto;margin:auto;border-radius:14px}
.lightbox figcaption{color:#fff;text-align:center;margin-top:10px;font-weight:700}
.lightbox figcaption .arabic{color:#f1d99a;margin-left:8px;font-weight:400}
.lb-close,.lb-nav{position:fixed;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;width:46px;height:46px;font-size:1.7rem;line-height:1;cursor:pointer}
.lb-close{top:18px;right:18px}.lb-nav{top:50%;transform:translateY(-50%)}.lb-nav.prev{left:18px}.lb-nav.next{right:18px}
.lb-close:hover,.lb-nav:hover{background:rgba(255,255,255,.28)}
@media(max-width:900px){.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:170px}}

.place-card .img{position:relative}
.photo-credit{position:absolute;right:6px;bottom:6px;max-width:92%;padding:2px 7px;border-radius:6px;background:rgba(0,0,0,.5);color:#fff;font-size:.66rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo-credit-full{margin:8px 2px 0;color:var(--muted);font-size:.8rem}
.photo-credit-full a{text-decoration:underline}

.breadcrumb{font-size:.86rem;color:var(--muted);margin:-30px 0 18px}.breadcrumb a{color:var(--green);text-decoration:underline}
.sources{padding-left:1.2em;font-size:.95rem}.sources li{margin:.3em 0}.sources a{color:var(--green);text-decoration:underline}.byline{margin-top:22px;color:var(--muted);font-size:.86rem}
.faq{border:1px solid #e7dac8;border-radius:12px;padding:12px 16px;margin:10px 0;background:#fff}.faq summary{cursor:pointer;font-weight:800;color:var(--green2)}.faq p{margin:.6em 0 0}
.independence{margin:14px 0 0;font-size:.78rem;opacity:.75}.independence a{text-decoration:underline}
.guide>*{max-width:860px}.guide h3{margin:1.2em 0 .3em}.guide-places{margin:10px 0 6px}.guide-link{display:block;transition:.2s}.guide-link:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.guide-link h3{margin:.3em 0}
