/* ==========================================================================
   Raising Rajputani's – Public website
   ========================================================================== */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --rr-primary: #8F1013;
  --rr-dark: #57090E;
  --rr-deep: #2b0407;
  --rr-gold: #D8AD58;
  --rr-gold-light: #F2D795;
  --rr-ivory: #FFF9EF;
  --rr-white: #FFFFFF;
  --rr-ink: #2a1712;
  --rr-muted: #7a6158;
  --rr-line: #eadccb;
  --rr-radius: 18px;
  --rr-shadow: 0 24px 60px -24px rgba(43, 4, 7, .45);
  --rr-gold-grad: linear-gradient(135deg, #f6e2a8 0%, #D8AD58 45%, #b8862f 100%);
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--rr-ink); background: var(--rr-ivory); -webkit-font-smoothing: antialiased; }
a { color: var(--rr-primary); }
.font-royal { font-family: "Cinzel", Georgia, serif; letter-spacing: .02em; }
.font-script { font-family: "Cormorant", Georgia, serif; font-style: italic; }
.text-gold { color: var(--rr-gold) !important; }
.text-gold-light { color: var(--rr-gold-light) !important; }
.text-maroon { color: var(--rr-primary) !important; }
.bg-maroon { background: var(--rr-primary) !important; }
.bg-ivory { background: var(--rr-ivory) !important; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.rr-header { position: fixed; inset: 0 0 auto 0; z-index: 1030; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.rr-header.scrolled, .rr-header.solid { background: rgba(43, 4, 7, .94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); padding: 8px 0; }
.rr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rr-brand img { height: 54px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: height .3s; }
.rr-header.scrolled .rr-brand img { height: 44px; }
.rr-brand .name { font-family: "Cinzel", serif; font-weight: 700; color: var(--rr-gold-light); font-size: 1.15rem; line-height: 1.05; }
.rr-brand .tag { display: block; font-size: .66rem; color: rgba(255,249,239,.75); letter-spacing: .04em; font-family: "Poppins"; font-weight: 400; }
.rr-nav a { color: var(--rr-ivory); text-decoration: none; font-weight: 500; font-size: .92rem; padding: .5rem .85rem; border-radius: 999px; transition: background .2s, color .2s; }
.rr-nav a:hover, .rr-nav a.active { color: var(--rr-gold-light); background: rgba(216,173,88,.12); }
.rr-burger { border: 1px solid rgba(216,173,88,.5); color: var(--rr-gold-light); background: transparent; border-radius: 12px; width: 44px; height: 44px; }
.offcanvas.rr-offcanvas { background: var(--rr-deep) url("../img/jaali.svg"); color: var(--rr-ivory); }
.rr-offcanvas a { color: var(--rr-ivory); display: block; padding: .8rem 0; border-bottom: 1px solid rgba(216,173,88,.18); text-decoration: none; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn-royal { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.6rem; background: var(--rr-gold-grad); color: var(--rr-deep); border: 0; font-weight: 700; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(216,173,88,.65), inset 0 1px 0 rgba(255,255,255,.5); letter-spacing: .02em; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-royal:hover, .btn-royal:focus { color: var(--rr-deep); transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 36px -12px rgba(216,173,88,.8); }
.btn-royal:disabled { background: #cfc4b8; color: #6f625a; box-shadow: none; transform: none; }
.btn-maroon { background: linear-gradient(135deg, #a3171b, var(--rr-primary) 55%, var(--rr-dark)); color: #fff; border: 0; border-radius: 999px; font-weight: 600;
  box-shadow: 0 14px 30px -14px rgba(143,16,19,.8); padding: .8rem 1.6rem; transition: transform .2s, filter .2s; }
.btn-maroon:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn-maroon:disabled { background: #b9aaa3; box-shadow: none; transform: none; }
.btn-outline-gold { border: 1.5px solid var(--rr-gold); color: var(--rr-gold-light); border-radius: 999px; font-weight: 600; padding: .7rem 1.4rem; }
.btn-outline-gold:hover { background: var(--rr-gold); color: var(--rr-deep); }
.btn-outline-maroon { border: 1.5px solid var(--rr-primary); color: var(--rr-primary); border-radius: 999px; font-weight: 600; }
.btn-outline-maroon:hover { background: var(--rr-primary); color: #fff; }

/* ---------- Hero ---------- */
.rr-hero { position: relative; min-height: 100vh; color: var(--rr-ivory); background: linear-gradient(180deg, var(--rr-deep), #3a060b 60%, var(--rr-deep)); overflow: hidden; }
.rr-hero .bg { position: absolute; top: 0; left: 0; right: 0; height: min(100%, 115vh); background-size: cover; background-position: center bottom; transform: scale(1.06); animation: heroZoom 22s ease-out forwards;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.rr-hero .overlay { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 20% 30%, rgba(143,16,19,.35), transparent 60%),
  linear-gradient(180deg, rgba(28,3,6,.82) 0%, rgba(43,4,7,.66) 40%, rgba(43,4,7,.9) 100%); }
.rr-hero .pattern { position: absolute; inset: 0; background: url("../img/jaali.svg"); opacity: .22; mix-blend-mode: screen; }
.rr-hero .inner { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 70px; }
@keyframes heroZoom { to { transform: scale(1); } }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--rr-gold-light); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--rr-gold); }
.hero-title { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.05;
  background: linear-gradient(180deg, #fff6dc 0%, #F2D795 40%, #D8AD58 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,.25); margin: .6rem 0 .4rem; }
.hero-tagline { font-family: "Cormorant", serif; font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--rr-ivory); opacity: .95; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0; }
.hero-meta .chip { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,249,239,.08); border: 1px solid rgba(216,173,88,.35);
  padding: .55rem .95rem; border-radius: 999px; font-size: .9rem; backdrop-filter: blur(6px); }
.hero-meta .chip i { color: var(--rr-gold); }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.status-pill.open { background: rgba(46, 160, 67, .18); color: #9ff0b0; border: 1px solid rgba(46,160,67,.5); }
.status-pill.open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fdc6b; box-shadow: 0 0 0 0 rgba(63,220,107,.7); animation: pulse 1.8s infinite; }
.status-pill.closed { background: rgba(255,255,255,.08); color: var(--rr-gold-light); border: 1px solid rgba(216,173,88,.4); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63,220,107,0); } 100% { box-shadow: 0 0 0 0 rgba(63,220,107,0); } }

/* ---------- Glass / price list ---------- */
.glass-card { background: linear-gradient(160deg, rgba(87,9,14,.72), rgba(43,4,7,.78)); border: 1px solid rgba(216,173,88,.35); border-radius: 22px;
  box-shadow: var(--rr-shadow); backdrop-filter: blur(10px); padding: 1.4rem; }
.glass-card .card-head { display: flex; align-items: center; justify-content: center; gap: .8rem; font-family: "Cinzel", serif; color: var(--rr-gold-light); font-weight: 700; letter-spacing: .06em; margin-bottom: 1rem; }
.glass-card .card-head::before, .glass-card .card-head::after { content: "◆"; color: var(--rr-gold); font-size: .65rem; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; background: #fff; color: var(--rr-ink); font-size: .9rem; }
.price-table th { background: linear-gradient(135deg, var(--rr-primary), var(--rr-dark)); color: var(--rr-gold-light); font-weight: 600; padding: .75rem .6rem; text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.price-table td { padding: .65rem .6rem; text-align: center; border-top: 1px solid var(--rr-line); }
.price-table td:first-child { text-align: left; font-weight: 600; white-space: nowrap; }
.price-table tr.closed td { color: #b0a39c; text-decoration: line-through; }
.price-table .soldout { color: #b3261e; font-weight: 600; font-size: .75rem; text-decoration: none; }
.price-tile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: rgba(255,249,239,.06); border: 1px solid rgba(216,173,88,.25);
  border-radius: 14px; padding: .85rem 1rem; margin-bottom: .6rem; }
.price-tile .nm { font-weight: 600; }
.price-tile .ds { font-size: .78rem; opacity: .75; }
.price-tile .pr { font-family: "Cinzel", serif; color: var(--rr-gold-light); font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.price-tile .pr s { font-size: .8rem; opacity: .6; margin-right: .3rem; font-family: "Poppins"; }
.offer-tag { display: inline-block; background: var(--rr-gold); color: var(--rr-deep); font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }

/* ---------- Registration card ---------- */
.reg-card { scroll-margin-top: 90px; background: #fff; color: var(--rr-ink); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); overflow: hidden; position: relative; }
.reg-card .reg-head { background: linear-gradient(135deg, var(--rr-primary), var(--rr-dark)); color: var(--rr-ivory); padding: 1.25rem 1.5rem; position: relative; }
.reg-card .reg-head::after { content: ""; position: absolute; inset: 0; background: url("../img/jaali.svg"); opacity: .25; pointer-events: none; }
.reg-card .reg-head h2 { font-family: "Cinzel", serif; font-size: 1.35rem; margin: 0; color: var(--rr-gold-light); position: relative; z-index: 1; }
.reg-card .reg-head p { margin: .2rem 0 0; font-size: .82rem; opacity: .85; position: relative; z-index: 1; }
.reg-card .reg-body { padding: 1.5rem; }
.reg-notice { border: 1.5px dashed #d26a6a; background: #fff4f2; border-radius: 14px; padding: .8rem 1rem; font-size: .85rem; display: flex; gap: .6rem; margin-bottom: 1.2rem; }
.reg-notice i { color: var(--rr-primary); font-size: 1.1rem; }
.form-label { font-weight: 600; font-size: .86rem; color: var(--rr-ink); margin-bottom: .35rem; }
.form-label .req { color: #c0392b; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #e4d8cc; padding: .72rem .95rem; font-size: .95rem; background-color: #fffdf9; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--rr-gold); box-shadow: 0 0 0 .25rem rgba(216,173,88,.22); background-color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d9534f; }
.input-group > .form-select.cc { max-width: 110px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group .btn-otp { border-radius: 0 12px 12px 0; background: var(--rr-dark); color: var(--rr-gold-light); font-weight: 600; border: 0; padding: 0 1.1rem; white-space: nowrap; }
.input-group .btn-otp:hover { background: var(--rr-primary); color: #fff; }
.input-group .btn-otp:disabled { background: #9c8f88; color: #f4ece4; }
.otp-hint { font-size: .75rem; color: var(--rr-muted); margin-top: .35rem; }
.verified-badge { display: inline-flex; align-items: center; gap: .35rem; color: #1e7b3c; font-weight: 600; font-size: .82rem; }
.section-label { font-family: "Cinzel", serif; font-weight: 700; font-size: .85rem; color: var(--rr-primary); letter-spacing: .1em; text-transform: uppercase; margin: 1.4rem 0 .8rem;
  display: flex; align-items: center; gap: .7rem; }
.section-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--rr-gold), transparent); }

.ticket-row { display: flex; align-items: center; gap: .9rem; border: 1.5px solid var(--rr-line); border-radius: 16px; padding: .8rem .9rem; margin-bottom: .6rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.ticket-row.active { border-color: var(--rr-gold); background: #fffaf0; box-shadow: 0 10px 24px -18px rgba(143,16,19,.6); }
.ticket-row.disabled { opacity: .55; }
.ticket-row .ti { flex: 1; min-width: 0; }
.ticket-row .tn { font-weight: 600; font-size: .95rem; }
.ticket-row .td { font-size: .74rem; color: var(--rr-muted); }
.ticket-row .tp { font-family: "Cinzel", serif; font-weight: 700; color: var(--rr-primary); font-size: 1.05rem; white-space: nowrap; }
.ticket-row .tp s { color: #a99; font-family: "Poppins"; font-weight: 400; font-size: .75rem; margin-right: .25rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rr-line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--rr-primary); font-size: 1.1rem; font-weight: 700; }
.stepper button:hover:not(:disabled) { background: #fbefe0; }
.stepper button:disabled { color: #ccc; }
.stepper input { width: 38px; text-align: center; border: 0; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pay-option { position: relative; border: 1.5px solid var(--rr-line); border-radius: 14px; padding: .8rem .9rem; cursor: pointer; display: flex; gap: .6rem; align-items: flex-start; transition: all .2s; }
.pay-option input { margin-top: .25rem; accent-color: var(--rr-primary); }
.pay-option.active { border-color: var(--rr-primary); background: #fff6f3; }
.pay-option .po-t { font-weight: 600; font-size: .9rem; }
.pay-option .po-d { font-size: .72rem; color: var(--rr-muted); }

.summary { background: linear-gradient(160deg, #fbf3e6, #f6e8d4); border: 1px solid #ecd9bd; border-radius: 18px; padding: 1.1rem 1.2rem; margin-top: 1.2rem; }
.summary h3 { font-family: "Cinzel", serif; font-size: .95rem; font-weight: 700; color: var(--rr-primary); margin-bottom: .7rem; letter-spacing: .06em; }
.summary .row-s { display: flex; justify-content: space-between; font-size: .87rem; padding: .22rem 0; gap: 1rem; }
.summary .row-s.discount { color: #1e7b3c; }
.summary .row-s.total { border-top: 1.5px dashed #d6bf9c; margin-top: .5rem; padding-top: .7rem; font-weight: 700; font-size: 1.15rem; color: var(--rr-dark); }
.summary .row-s.total span:last-child { font-family: "Cinzel", serif; }
.summary .empty { font-size: .85rem; color: var(--rr-muted); text-align: center; padding: .5rem 0; }
.summary.loading { opacity: .6; }
.coupon-msg { font-size: .78rem; margin-top: .35rem; }

.form-check-input:checked { background-color: var(--rr-primary); border-color: var(--rr-primary); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(143,16,19,.15); border-color: var(--rr-gold); }

.reg-closed { text-align: center; padding: 2.4rem 1.5rem; }
.reg-closed .ic { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: #fbefe0; color: var(--rr-primary); font-size: 2rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-dark { background: var(--rr-deep) url("../img/jaali.svg"); color: var(--rr-ivory); }
.section-dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,4,7,.92), rgba(87,9,14,.92)); }
.section-dark > .container { position: relative; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow { color: var(--rr-primary); }
.section-dark .section-title .eyebrow { color: var(--rr-gold-light); }
.section-title h2 { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .5rem 0; color: var(--rr-dark); }
.section-dark .section-title h2 { color: var(--rr-gold-light); }
.section-title .divider { display: block; width: 240px; height: 24px; margin: .6rem auto 0; background: url("../img/divider.svg") center/contain no-repeat; }
.about-text { font-size: 1.04rem; line-height: 1.9; color: #4a3a33; white-space: pre-line; }
.info-card { background: #fff; border-radius: var(--rr-radius); padding: 1.5rem; box-shadow: 0 18px 40px -28px rgba(43,4,7,.5); border: 1px solid var(--rr-line); height: 100%; }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--rr-primary), var(--rr-dark)); color: var(--rr-gold-light); font-size: 1.35rem; margin-bottom: 1rem; }
.highlight-card { background: linear-gradient(160deg, rgba(255,249,239,.07), rgba(255,249,239,.02)); border: 1px solid rgba(216,173,88,.3); border-radius: 20px; padding: 1.8rem 1.4rem; height: 100%; text-align: center; transition: transform .3s, border-color .3s; }
.highlight-card:hover { transform: translateY(-6px); border-color: var(--rr-gold); }
.highlight-card .ic { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--rr-gold-grad); color: var(--rr-deep); font-size: 1.7rem; box-shadow: 0 12px 30px -10px rgba(216,173,88,.7); }
.highlight-card h3 { font-family: "Cinzel", serif; font-size: 1.1rem; color: var(--rr-gold-light); }
.highlight-card p { font-size: .9rem; opacity: .85; margin: 0; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--rr-gold), var(--rr-primary)); }
.tl-item { display: flex; gap: 2rem; margin-bottom: 1.6rem; position: relative; }
.tl-item .time { width: 90px; flex-shrink: 0; text-align: right; font-family: "Cinzel", serif; font-weight: 700; color: var(--rr-primary); padding-top: .2rem; }
.tl-item .dot { position: absolute; left: 104px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--rr-gold); box-shadow: 0 0 0 5px rgba(216,173,88,.25); }
.tl-item .body { background: #fff; border: 1px solid var(--rr-line); border-radius: 14px; padding: .9rem 1.1rem; flex: 1; margin-left: 1rem; }
.tl-item .body h4 { font-size: 1rem; margin: 0 0 .2rem; font-weight: 600; }
.tl-item .body p { margin: 0; font-size: .87rem; color: var(--rr-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid a:hover img { transform: scale(1.07); }
.rules-list { list-style: none; padding: 0; counter-reset: r; max-width: 820px; margin: 0 auto; }
.rules-list li { counter-increment: r; display: flex; gap: 1rem; background: #fff; border: 1px solid var(--rr-line); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: .7rem; }
.rules-list li::before { content: counter(r, decimal-leading-zero); font-family: "Cinzel", serif; font-weight: 700; color: var(--rr-gold); font-size: 1.1rem; }
.sponsor-tier { text-align: center; margin-bottom: 2rem; }
.sponsor-tier h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rr-muted); margin-bottom: 1rem; font-weight: 600; }
.sponsor-logo { background: #fff; border-radius: 16px; padding: 1rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 100px; margin: .4rem;
  box-shadow: 0 14px 30px -24px rgba(43,4,7,.6); border: 1px solid var(--rr-line); transition: transform .25s; }
.sponsor-logo:hover { transform: translateY(-4px); }
.sponsor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--rr-line); min-height: 320px; height: 100%; background: #f2e8db; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Event cards (home) ---------- */
.event-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -32px rgba(43,4,7,.6); border: 1px solid var(--rr-line); height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -30px rgba(43,4,7,.7); }
.event-card .media { aspect-ratio: 16/9; background: var(--rr-deep) center/cover; position: relative; }
.event-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28,3,6,.85)); }
.event-card .date-badge { position: absolute; left: 16px; top: 16px; z-index: 1; background: var(--rr-gold-grad); color: var(--rr-deep); border-radius: 14px; text-align: center; padding: .4rem .7rem; font-weight: 700; line-height: 1.1; }
.event-card .date-badge .d { font-size: 1.4rem; font-family: "Cinzel", serif; }
.event-card .date-badge .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.event-card .media .ttl { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: var(--rr-gold-light); font-family: "Cinzel", serif; font-weight: 700; font-size: 1.3rem; }
.event-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.event-card .meta { font-size: .85rem; color: var(--rr-muted); display: flex; gap: .4rem; align-items: center; margin-bottom: .3rem; }
.event-card .meta i { color: var(--rr-primary); }

/* ---------- Footer ---------- */
.rr-footer { background: var(--rr-deep) url("../img/jaali.svg"); color: rgba(255,249,239,.82); position: relative; }
.rr-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,3,6,.95), rgba(43,4,7,.97)); }
.rr-footer > * { position: relative; }
.rr-footer h4 { font-family: "Cinzel", serif; color: var(--rr-gold-light); font-size: 1rem; letter-spacing: .08em; margin-bottom: 1rem; }
.rr-footer a { color: rgba(255,249,239,.82); text-decoration: none; }
.rr-footer a:hover { color: var(--rr-gold-light); }
.rr-footer .contact-line { display: flex; gap: .7rem; margin-bottom: .7rem; font-size: .92rem; }
.rr-footer .contact-line i { color: var(--rr-gold); margin-top: .15rem; }
.rr-footer .bottom { border-top: 1px solid rgba(216,173,88,.2); font-size: .8rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(216,173,88,.4); color: var(--rr-gold-light); margin-right: .4rem; }
.social a:hover { background: var(--rr-gold); color: var(--rr-deep); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1020; display: flex; align-items: center; gap: .7rem; background: var(--rr-deep); color: #fff; border: 1px solid rgba(216,173,88,.5);
  border-radius: 999px; padding: .45rem 1rem .45rem .45rem; text-decoration: none; box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); font-size: .8rem; }
.wa-float .ic { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: grid; place-items: center; font-size: 1.3rem; }
.wa-float b { color: var(--rr-gold-light); display: block; font-size: .85rem; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Inner pages (pass, lookup) ---------- */
.page-hero { background: var(--rr-deep) url("../img/hero-default.svg") center bottom/cover; color: var(--rr-ivory); padding: 130px 0 70px; position: relative; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,3,6,.8), rgba(43,4,7,.75)); }
.page-hero > .container { position: relative; }
.page-hero h1 { font-family: "Cinzel", serif; color: var(--rr-gold-light); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-wrap { margin-top: -40px; position: relative; z-index: 3; padding-bottom: 80px; }
.paper { background: #fff; border-radius: 24px; box-shadow: var(--rr-shadow); border: 1px solid var(--rr-line); padding: 1.8rem; }
.status-banner { border-radius: 18px; padding: 1.2rem 1.4rem; display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; }
.status-banner .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.status-banner.ok { background: #ecf8ef; border: 1px solid #bfe5c9; } .status-banner.ok .ic { background: #1e7b3c; color: #fff; }
.status-banner.wait { background: #fff7e6; border: 1px solid #f3dca8; } .status-banner.wait .ic { background: #c98a00; color: #fff; }
.status-banner.bad { background: #fdeceb; border: 1px solid #f3c3bf; } .status-banner.bad .ic { background: #b3261e; color: #fff; }
.status-banner h2 { font-size: 1.15rem; margin: 0 0 .15rem; font-weight: 700; }
.status-banner p { margin: 0; font-size: .9rem; color: #5a4a43; }
.pass-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.pass-item { background: #fbf6ee; border: 1px solid var(--rr-line); border-radius: 18px; padding: .8rem; text-align: center; }
.pass-item img { width: 100%; border-radius: 12px; box-shadow: 0 16px 30px -20px rgba(0,0,0,.6); }
.pass-item .meta { font-size: .8rem; color: var(--rr-muted); margin: .6rem 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: .45rem 1rem; font-size: .92rem; }
.kv dt { color: var(--rr-muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Toast / loader ---------- */
.rr-toast { position: fixed; left: 50%; top: 20px; transform: translateX(-50%) translateY(-150%); z-index: 2000; min-width: 280px; max-width: 92vw; background: var(--rr-deep); color: #fff;
  border-left: 4px solid var(--rr-gold); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); font-size: .9rem; }
.rr-toast.show { transform: translateX(-50%) translateY(0); }
.rr-toast.error { border-left-color: #ff6b6b; }
.rr-toast.success { border-left-color: #3fdc6b; }
.rr-loader { position: fixed; inset: 0; background: rgba(28,3,6,.72); z-index: 1990; display: none; place-items: center; color: var(--rr-gold-light); backdrop-filter: blur(4px); }
.rr-loader.show { display: grid; }
.rr-loader .spin { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(216,173,88,.25); border-top-color: var(--rr-gold); animation: spin 1s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .rr-hero .bg { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .rr-hero { min-height: auto; }
  .rr-hero .inner { padding-top: 110px; padding-bottom: 40px; }
  .reg-sticky { position: static !important; }
  .timeline::before { left: 18px; }
  .tl-item { flex-direction: column; gap: .4rem; padding-left: 44px; }
  .tl-item .time { text-align: left; width: auto; }
  .tl-item .dot { left: 12px; }
  .tl-item .body { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .section { padding: 60px 0; }
  .rr-brand img { height: 44px; }
  .rr-brand .name { font-size: .98rem; }
  .rr-brand .tag { display: none; }
  .hero-meta .chip { font-size: .82rem; }
  .reg-card .reg-body { padding: 1.1rem; }
  .pay-options { grid-template-columns: 1fr; }
  .ticket-row { flex-wrap: wrap; row-gap: .6rem; }
  .ticket-row .ti { flex: 0 0 100%; }
  .ticket-row .tp { margin-right: auto; }
  .kv { grid-template-columns: 1fr; gap: .1rem; }
  .kv dd { margin-bottom: .5rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .45rem; transition: opacity .3s, transform .3s; }
  .wa-float.hide-mobile { opacity: 0; pointer-events: none; transform: translateY(20px); }
  .price-table { font-size: .8rem; }
  .paper { padding: 1.2rem; }
}
@media print {
  .rr-header, .rr-footer, .wa-float, .no-print { display: none !important; }
  .page-hero { padding: 20px 0; background: none; color: #000; }
  .page-wrap { margin: 0; }
}
