:root {
  --rifqa-ink: #152f2a;
  --rifqa-forest: #103d35;
  --rifqa-mint: #eff6f1;
  --rifqa-sand: #f3ecdf;
  --rifqa-gold: #d1b37b;
}

body { background: #faf9f6; color: var(--rifqa-ink); }
.container { max-width: 1320px; }
.site-header { border-bottom: 1px solid rgba(209, 179, 123, .6); box-shadow: 0 8px 28px rgba(18, 49, 42, .13); }
.header-inner { padding-block: .7rem; }
.brand-info p { max-width: 290px; }
.header-actions { gap: .7rem; }
.persona-switch-wrapper { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
.persona-switch-label { color: #d8c69c; white-space: nowrap; }
.persona-dropdown { border-color: rgba(209,179,123,.45); }
.header-whatsapp-link { color: #123c32; background: #deca99; border-radius: 10px; padding: .45rem .9rem; font-weight: 800; white-space: nowrap; }
.header-whatsapp-link:hover { background: #f0dfb7; }
.nav-tabs-wrapper { background: #0b2c26; }
.nav-tabs { justify-content: center; background: transparent; border: 0; padding: .35rem 0; }
.tab-btn { padding-inline: 1.05rem; }

.hero-banner { background: radial-gradient(ellipse at 15% 8%, rgba(198,165,111,.22), transparent 32%), linear-gradient(120deg, #102f29, #174b3e 58%, #0b2a25); text-align: right; padding: 3.25rem 0 4rem; overflow: hidden; }
.hero-banner::after { height: 20px; border-radius: 22px 22px 0 0; }
.hero-banner > .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: 2rem; position: relative; z-index: 1; }
.hero-copy { max-width: 710px; }
.hero-badge { background: rgba(219,194,140,.14); color: #e5d2a6; border-color: rgba(219,194,140,.5); margin-bottom: 1.2rem; }
.hero-title { font-size: clamp(2.25rem, 4.2vw, 3.65rem); line-height: 1.25; letter-spacing: -.035em; margin-bottom: .9rem; }
.hero-title span { color: #dfc58f; }
.hero-subtitle { max-width: 610px; margin: 0; color: #e0e8e3; font-size: 1.05rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.btn-hero-primary, .btn-hero-secondary { border-radius: 11px; padding: .78rem 1.15rem; font: inherit; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.btn-hero-primary { border: 1px solid #e0c993; color: #183a31; background: #e0c993; }
.btn-hero-secondary { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-hero-primary:hover, .btn-hero-secondary:hover { transform: translateY(-2px); }
.hero-assurances { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.4rem; color: #d6e3dc; font-size: .83rem; }
.hero-assurances span::first-letter { color: #dfc58f; }
.hero-art { position: relative; min-height: 280px; display: grid; place-items: center; }
.hero-art-glow { position: absolute; width: min(80%, 360px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(217,193,139,.25), transparent 70%); filter: blur(4px); }
.hero-arch { width: min(72%, 255px); height: 270px; padding: 12px; border: 1px solid rgba(218,193,139,.72); border-bottom: 0; border-radius: 140px 140px 18px 18px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.025)); box-shadow: 0 22px 60px rgba(0,0,0,.2), inset 0 0 0 7px rgba(255,255,255,.025); position: relative; }
.hero-arch-inner { height: 100%; border: 1px solid rgba(218,193,139,.34); border-bottom: 0; border-radius: 130px 130px 12px 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; background: linear-gradient(180deg, rgba(16,61,53,.36), rgba(8,35,30,.76)); }
.hero-star { color: #e6d3a7; font-size: 1.3rem; }
.hero-mosque { font-size: 3.4rem; filter: drop-shadow(0 5px 14px rgba(0,0,0,.25)); }
.hero-art-caption { color: #f0e2bf; font-size: .9rem; font-weight: 700; }
.hero-orbit { position: absolute; width: 330px; height: 100px; border: 1px solid rgba(219,194,140,.3); border-radius: 50%; transform: rotate(-28deg); }
.orbit-two { width: 340px; height: 150px; transform: rotate(46deg); border-color: rgba(219,194,140,.18); }

.view-section { padding-top: 2rem; }
.section-header { align-items: end; margin-bottom: 1.2rem; }
.section-header h2 { font-size: 1.55rem; }
.section-header p { margin-top: .2rem; }
.packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 1.15rem; margin-top: 1.1rem; }
.package-card { border-radius: 17px; padding: 1.25rem; box-shadow: 0 8px 25px rgba(24,54,46,.055); }
.package-card:hover { border-color: #c9ae78; box-shadow: 0 15px 34px rgba(24,54,46,.11); }
.package-title { font-size: 1.12rem; }
.package-subtitle { min-height: 2.7em; }
.package-hotels-grid { gap: .55rem; }
.hotel-stay-card { background: #faf9f6; }
.package-price-box { margin-bottom: .55rem; }
.price-sar .price-value { color: #183c32; }
.price-egp { color: #66756e; }
.package-action-btns { margin-top: .8rem; }
.btn-book-package { min-height: 48px; background: linear-gradient(130deg, #0f4438, #1b5947); }
.packages-filter-bar { gap: .45rem; padding-bottom: .3rem; }
.tier-pill-btn { border-radius: 999px; }
.price-disclaimer { display: flex; align-items: flex-start; gap: .55rem; margin: -.45rem 0 1rem; padding: .8rem 1rem; border: 1px solid #e8ddc6; border-radius: 12px; background: #fbf8f1; color: #665a40; font-size: .83rem; }
.price-disclaimer span { color: #947849; font-weight: 900; }
.custom-wizard-card, .form-card { border-radius: 16px; }
.live-calc-sticky { top: 138px; }
.modal-backdrop.open { overflow-y: auto; align-items: flex-start; padding: max(1rem, 4vh) 1rem; }
.modal-box { max-height: calc(100dvh - 2rem); overflow-y: auto; margin-inline: auto; }

.portal-heading { margin: .25rem 0 1.2rem; max-width: 760px; }
.portal-eyebrow { display: inline-block; color: #9a7b49; font-size: .78rem; font-weight: 800; margin-bottom: .35rem; }
.portal-heading h2 { color: #153d33; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.35; margin-bottom: .45rem; }
.portal-heading p { color: #61716a; font-size: .96rem; line-height: 1.8; }
.portal-note { display: flex; gap: .65rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid #e8dcc1; border-radius: 12px; background: #fbf8f1; color: #665a40; line-height: 1.7; font-size: .87rem; margin: 1.2rem 0; }
.portal-note > span:first-child { color: #9a7b49; font-weight: 900; }
.partner-benefits, .business-services, .admin-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 1.2rem 0; }
.partner-benefits article, .business-service-card, .admin-preview-grid article { background: #fff; border: 1px solid #e7e9e5; border-radius: 15px; padding: 1.2rem; box-shadow: 0 8px 25px rgba(24,54,46,.045); }
.partner-benefits article > span, .admin-preview-grid article > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #f4eee1; color: #947849; font: 700 .8rem var(--font-mono); direction: ltr; }
.partner-benefits h3, .business-service-card h3, .admin-preview-grid h3 { color: #173f34; font-size: 1rem; margin: .65rem 0 .3rem; }
.partner-benefits p, .business-service-card p, .admin-preview-grid p { color: #6b7770; font-size: .86rem; line-height: 1.75; }
.portal-form { display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,1.5fr); align-items: start; gap: 1.5rem; padding: 1.4rem; border: 1px solid #e2e6e1; border-radius: 17px; background: #fff; box-shadow: 0 10px 32px rgba(24,54,46,.055); margin-top: 1.3rem; }
.portal-form h3 { font-size: 1.15rem; color: #173f34; margin: .2rem 0 .3rem; }
.portal-form p { color: #6b7770; font-size: .86rem; line-height: 1.7; }
.portal-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: end; gap: .8rem; }
.portal-form-fields label { display: flex; flex-direction: column; gap: .35rem; color: #495c53; font-size: .81rem; font-weight: 700; }
.portal-form-fields .form-input, .portal-form-fields .form-select { min-height: 45px; width: 100%; }
.portal-form-fields > button { min-height: 45px; }
.business-services { grid-template-columns: repeat(3, minmax(0,1fr)); }
.business-service-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #edf4f0; color: #175544; font-size: 1.15rem; }
.business-footnote { color: #6c756f; font-size: .82rem; margin-top: 1rem; }
.admin-preview-banner { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid #eadfca; border-radius: 15px; background: #fbf7ee; color: #51472f; }
.admin-preview-banner > span { font-size: 1.4rem; }
.admin-preview-banner strong { color: #5c4b27; }
.admin-preview-banner p { margin-top: .2rem; font-size: .88rem; line-height: 1.75; }
.admin-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-preview-grid article small { display: inline-block; margin-top: .8rem; border-radius: 999px; padding: .25rem .55rem; background: #f2f4f1; color: #737f77; font-size: .72rem; }
.admin-hotel-link { display: inline-flex; margin-top: .5rem; }

.site-footer { margin-top: 3rem; padding: 1.8rem 0 5rem; background: #0b2c26; color: #edf3ef; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem 1.5rem; }
.footer-inner strong { color: #e0c993; font-size: 1.1rem; }
.footer-inner > div:first-child span { color: #cad8d0; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-links button, .footer-links a { border: 0; padding: 0; background: transparent; color: #d9e5de; font: inherit; font-size: .82rem; cursor: pointer; }
.footer-links button:hover, .footer-links a:hover { color: #e0c993; }
.footer-inner > p { grid-column: 1 / -1; margin: 0; color: #aebfb5; font-size: .75rem; }
.whatsapp-fab { position: fixed; z-index: 95; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: #12835b; box-shadow: 0 9px 24px rgba(10,75,52,.28); font-weight: 800; font-size: .82rem; }
.whatsapp-fab:hover { background: #0d714c; transform: translateY(-2px); }
.whatsapp-fab > span:first-child { font-size: 1.15rem; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #d3b46f; outline-offset: 3px; }
@media (max-width: 900px) {
  .header-inner { align-items: flex-start; gap: .8rem; }
  .hero-banner > .container { grid-template-columns: minmax(0,1fr) minmax(180px,.65fr); }
  .hero-art { min-height: 240px; }
  .hero-arch { height: 230px; }
  .portal-form { grid-template-columns: 1fr; gap: .9rem; }
}
@media (max-width: 700px) {
  .header-inner { align-items: stretch; }
  .brand-wrapper { justify-content: flex-start; }
  .brand-info h1 { font-size: 1.25rem; }
  .brand-info p { font-size: .69rem; }
  .header-actions { justify-content: space-between; }
  .persona-switch-wrapper { flex: 1; justify-content: space-between; }
  .header-whatsapp-link { font-size: .78rem; }
  .nav-tabs { justify-content: flex-start; }
  .nav-tabs-wrapper { overflow-x: auto; }
  .tab-btn { padding: .45rem .78rem; }
  .hero-banner { padding: 2rem 0 3rem; }
  .hero-banner > .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: .94rem; }
  .hero-assurances { gap: .4rem .75rem; font-size: .74rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-hotels-grid { grid-template-columns: 1fr 1fr; }
  .partner-benefits, .business-services { grid-template-columns: 1fr; }
  .admin-preview-grid { grid-template-columns: 1fr; }
  .portal-form-fields { grid-template-columns: 1fr; }
  .modal-box { padding: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > p { grid-column: auto; }
  .whatsapp-fab { bottom: 12px; left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
