/* Hajj with FHM website styles */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  --ivory: #F7F3EA;
  --sand: #EFE8D8;
  --ink: #16181D;
  --text-2: #3F434B;
  --text-3: #5A5E66;
  --blue: #13296B;
  --blue-deep: #0F2260;
  --blue-night: #0B1B4D;
  --gold: #C9A46A;
  --gold-num: #A8814A;
  --gold-text: #7A5C2B;
  --gold-line: #B8935A;
  --line: rgba(22, 24, 29, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.bg-sand { background: var(--sand); }
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.eyebrow--light { color: var(--gold); }
.h-section { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; }
.muted { color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 14px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(5, 14, 40, 0.35); }
.btn--gold:hover { background: #D3B07A; }
.btn--outline-gold { border: 1.5px solid var(--gold); color: var(--ivory); background: rgba(11, 27, 77, 0.4); font-weight: 600; }
.btn--blue { background: var(--blue); color: var(--ivory); }
.btn--blue:hover { background: #1A3584; }
.btn--lg { min-height: 64px; font-size: clamp(15px, 4vw, 18px); white-space: nowrap; padding: 0 12px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 243, 234, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 24, 29, 0.08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.site-header__logo img { height: clamp(52px, 5vw, 72px); width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.header-phone span:first-child { color: #4A4D55; font-weight: 500; }
.header-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(19, 41, 107, 0.25);
  color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none;
}
.header-wa__label { display: none; }
@media (min-width: 720px) {
  .header-phone { display: inline-flex; }
  .header-wa { width: auto; height: 44px; padding: 0 16px; }
  .header-wa__label { display: inline; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--blue); color: var(--ivory); }
.hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner {
  position: relative; max-width: 860px; margin: 0 auto;
  padding: clamp(28px, 8vw, 112px) var(--gutter) clamp(56px, 9vw, 112px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(14px, 1.8vw, 26px);
}
.medallion {
  width: clamp(136px, 16vw, 232px); height: clamp(136px, 16vw, 232px); border-radius: 50%;
  background: var(--ivory); border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 164, 106, 0.16), 0 18px 50px rgba(5, 14, 40, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.medallion img { width: 62%; height: auto; }
.hero__greeting { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 22px); color: var(--gold); }
.hero__title { font-weight: 700; font-size: clamp(40px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.005em; }
.hero__year { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); color: var(--gold); margin-top: 6px; }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(247, 243, 234, 0.88); }
.hero__actions { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.hero__actions .btn--outline-gold { font-size: 18px; min-height: 64px; }
.hero__note { font-size: 13px; color: rgba(247, 243, 234, 0.72); margin-top: 2px; }
.status-pill {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; margin-top: 6px;
  border: 1px solid rgba(201, 164, 106, 0.45); border-radius: 18px; background: rgba(11, 27, 77, 0.6);
  text-align: left; font-size: 14px; line-height: 1.5; color: rgba(247, 243, 234, 0.92);
}
.status-pill::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.trust {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-top: 28px; margin-top: 6px; border-top: 1px solid rgba(201, 164, 106, 0.35); width: 100%; max-width: 640px;
}
.trust__line { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.trust__countries { text-wrap: balance; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 243, 234, 0.75); }
.trust__partner { font-size: 13px; color: var(--gold); padding-top: 4px; }

/* Split layout used by About and FAQ */
.split { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 80px); }
.split__aside { flex: 1 1 240px; display: flex; flex-direction: column; gap: 14px; }
.split__main { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rule { width: 48px; height: 1px; background: var(--gold-line); }
.about__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.about__text { font-size: 18px; color: var(--text-2); max-width: 640px; }

/* Path */
.path__head { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 80px); align-items: flex-end; margin-bottom: clamp(32px, 5vw, 56px); }
.path__head > div { flex: 3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.path__head > p { flex: 2 1 320px; font-size: 17px; color: var(--text-2); }
.stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stage { border-bottom: 1px solid var(--line); }
.stage summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 30px) 0;
}
.stage summary::-webkit-details-marker { display: none; }
.stage__num { flex: none; width: clamp(40px, 5vw, 64px); font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--gold-num); }
.stage__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stage__title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 500; }
.stage__we { font-size: 15px; line-height: 1.5; color: var(--blue); }
.chev { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(22, 24, 29, 0.18); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.chev svg { width: 16px; height: 16px; transition: transform .25s ease; }
details[open] > summary .chev svg { transform: rotate(180deg); }
.stage__body { padding: 0 0 clamp(24px, 3vw, 36px) clamp(56px, 8vw, 100px); }
.card { max-width: 680px; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: var(--ivory); border-radius: 16px; border: 1px solid rgba(22, 24, 29, 0.08); }
.card__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.path__note { margin-top: clamp(24px, 4vw, 40px); font-size: 13px; color: var(--text-3); }

/* Steps */
.steps__head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 4vw, 48px); }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--gold-line); }
.step__num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-num); }
.step__title { font-family: var(--serif); font-size: 28px; line-height: 1.15; }

/* Testimonials */
.testimonials { background: var(--blue); color: var(--ivory); }
.testimonials[hidden] { display: none; }
.testimonials__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 22px; max-width: 860px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.3; text-wrap: pretty; transition: opacity .3s ease; }
.quote blockquote.is-long { font-size: clamp(19px, 2.3vw, 29px); line-height: 1.35; }
.quote figcaption { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.carousel-controls { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247, 243, 234, 0.35); background: none; color: var(--ivory); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.round-btn svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; }
.dot { display: block; height: 6px; width: 6px; border-radius: 3px; background: rgba(247, 243, 234, 0.35); transition: all .25s ease; }
.dot.is-active { width: 28px; background: var(--gold); }

/* FAQ */
.faq__title { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--blue); border: 1px solid rgba(19, 41, 107, 0.28); }
.tab[aria-selected="true"] { background: var(--blue); color: var(--ivory); border-color: var(--blue); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list[hidden] { display: none; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; font-weight: 500; }
.plus { flex: none; width: 18px; height: 18px; color: var(--blue); transition: transform .25s ease; }
details[open] > summary .plus { transform: rotate(45deg); }
.faq__a { padding: 0 0 24px; max-width: 640px; color: var(--text-2); }

/* Contact */
.contact__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--ivory); border-radius: 16px; border: 1px solid rgba(22, 24, 29, 0.08); text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .2s ease; }
.contact-card:hover { border-color: var(--gold-line); }
.contact-card__value { font-family: var(--serif); font-size: 26px; overflow-wrap: anywhere; }

/* Closing */
.closing { position: relative; overflow: hidden; background: var(--blue-deep); color: var(--ivory); }
.closing__rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 900px; height: 900px; opacity: .5; pointer-events: none; }
.closing__inner { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.closing .medallion { width: 148px; height: 148px; box-shadow: 0 0 0 6px rgba(201, 164, 106, 0.18); }
.closing__sig { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); color: var(--gold); }
.closing__title { font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
.closing__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }

/* Footer */
.site-footer { padding-top: 48px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer__brand img { height: 64px; width: auto; }
.site-footer__countries { text-wrap: balance; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #4A4D55; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 14px; color: #4A4D55; }
.site-footer__links a { font-weight: 600; text-decoration: none; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 234, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(22, 24, 29, 0.1);
  display: flex; gap: 10px;
  transform: translateY(110%); transition: transform .3s ease;
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar .btn { flex: 1 1 auto; min-height: 52px; border-radius: 999px; font-size: 15px; padding: 0 14px; }
.action-bar__wa { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(19, 41, 107, 0.3); color: var(--blue); display: flex; align-items: center; justify-content: center; }
@media (min-width: 720px) { .action-bar { display: none; } }
@media (max-width: 719px) { .site-footer { padding-bottom: 112px; } }

/* Inner pages (register, privacy) */
.page-hero { background: var(--blue); color: var(--ivory); position: relative; overflow: hidden; }
.page-hero__inner { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(36px, 6vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.page-hero__title { font-weight: 700; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; }
.page-hero__lead { color: rgba(247, 243, 234, 0.85); max-width: 520px; }
.form-wrap { max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 80px; }
.form-wrap { position: relative; }
.form-wrap iframe { position: relative; z-index: 1; width: 100%; border: 0; min-height: 600px; background: transparent; }
.form-loading { position: absolute; left: 0; right: 0; top: clamp(40px, 6vw, 72px); text-align: center; color: var(--text-3); font-size: 15px; z-index: 0; }
.form-help { text-align: center; font-size: 14px; color: var(--text-3); margin-top: 16px; }
.form-fallback { text-align: center; color: var(--text-2); padding: 24px 0; }

.prose { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 112px); display: flex; flex-direction: column; gap: 40px; line-height: 1.7; }
.prose section { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(22, 24, 29, 0.12); }
.prose h1 { font-size: clamp(44px, 7vw, 72px); line-height: 1; }
.prose h2 { font-size: 32px; line-height: 1.15; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .lead { font-size: 18px; color: var(--text-2); }
.prose .small { font-size: 14px; color: #4A4D55; }

/* Al Bait Guests relationship */
.partner-card { margin-top: 8px; padding: clamp(24px, 3.5vw, 36px); background: var(--blue); color: var(--ivory); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.partner-card__title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--gold); font-weight: 600; text-wrap: balance; }
.partner-card p { font-size: 16px; line-height: 1.65; color: rgba(247, 243, 234, 0.9); }

/* Team */
.team { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.team__title { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; font-family: inherit; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.team-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(22, 24, 29, 0.1); background: transparent; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .2s ease, background-color .2s ease; }
a.team-card:hover { border-color: var(--gold-line); background: var(--ivory); }
.team-card__name { font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.team-card__num { font-size: 15px; color: var(--blue); font-variant-numeric: tabular-nums; }
.team-card__role { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 4px; }
#team { scroll-margin-top: 110px; }
/* Make contact cards read as tappable */
.contact-card { position: relative; padding-right: 52px; }
.contact-card::after { content: "\2197"; position: absolute; top: 22px; right: 22px; font-size: 18px; line-height: 1; color: var(--gold-text); transition: transform .2s ease; }
.contact-card:hover::after { transform: translate(2px, -2px); }
.nw { white-space: nowrap; }
/* Email in the body font so the 1 cannot be read as an i */
.contact-card__value--plain { font-family: var(--sans, "Manrope", system-ui, sans-serif); font-size: 19px; font-weight: 500; letter-spacing: 0; padding-top: 4px; }
