/* PHASE-2506-REDESIGN — Matches docs/design-references/hajj_umrah_cinematic_landing.html */
/* PHASE-2507-IMAGES-CAIRO — Cairo font + media-driven backgrounds */

:root {
  --ref-bg: #050403;
  --ref-gold: #d7a84a;
  --ref-gold-light: #ffe1a0;
  --ref-text: #fff7e8;
  --ref-muted: #b9aa90;
  --ref-border: rgba(255, 220, 150, 0.20);
  --ref-shadow: 0 25px 90px rgba(0,0,0,.55);
}

body.theme-body.theme-body--ref,
body.theme-body.theme-body--ref[dir="rtl"],
body.theme-body.theme-body--ref[dir="ltr"] {
  --font-body: "Cairo", Tahoma, Arial, sans-serif;
  --font-display: "Cairo", Tahoma, Arial, sans-serif;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 5%, rgba(215,168,74,.25), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(255,225,160,.12), transparent 30%),
    linear-gradient(180deg, #050403 0%, #0b0805 45%, #050403 100%);
  color: var(--ref-text);
  overflow-x: hidden;
  min-height: 100vh;
}

body.theme-body--ref::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  z-index: 0;
}

.ref-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .11;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,.35) 0 1px, transparent 1.5px);
  background-size: 140px 140px, 90px 90px;
  mix-blend-mode: screen;
}

.ref-site { position: relative; z-index: 2; }

/* Navbar */
.ref-navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  border: 1px solid var(--ref-border);
  background: rgba(8, 6, 4, .56);
  backdrop-filter: blur(22px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 8px 12px;
  z-index: 50;
  box-shadow: 0 10px 50px rgba(0,0,0,.35);
  gap: 12px;
}

.ref-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  text-decoration: none;
  color: var(--ref-text);
  flex-shrink: 0;
}

.ref-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, var(--ref-gold-light), transparent 26%),
    linear-gradient(135deg, #7b5520, #d7a84a 48%, #5d3a10);
  box-shadow: 0 0 30px rgba(215,168,74,.42);
  color: #140d04;
  font-weight: 900;
  font-size: 20px;
}

.ref-brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(215,168,74,.32);
  flex-shrink: 0;
}

.ref-brand h1 { font-size: 18px; line-height: 1.1; margin: 0; font-weight: 700; }
.ref-brand span { display: block; color: var(--ref-muted); font-size: 12px; margin-top: 4px; font-weight: 500; }

.ref-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.ref-nav-links a {
  color: rgba(255,247,232,.74);
  text-decoration: none;
  font-size: 14px;
  transition: .25s;
}

.ref-nav-links a:hover { color: var(--ref-gold-light); }

.ref-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ref-nav-hub,
.ref-nav-login,
.ref-nav-logout {
  color: var(--ref-text);
  border: 1px solid var(--ref-border);
  background: rgba(255,255,255,.08);
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.ref-nav-logout-form {
  margin: 0;
}

.ref-nav-logout {
  cursor: pointer;
  font-family: inherit;
}

.ref-nav-cta {
  color: #130c03;
  background: linear-gradient(135deg, var(--ref-gold-light), var(--ref-gold));
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(215,168,74,.25);
  white-space: nowrap;
  font-size: 14px;
}

.ref-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.ref-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ref-gold-light);
  margin: 5px 0;
}

/* Buttons */
.ref-btn {
  min-height: 54px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .25s, box-shadow .25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.ref-btn:hover { transform: translateY(-3px); }

.ref-btn--primary {
  color: #130c03;
  background: linear-gradient(135deg, var(--ref-gold-light), var(--ref-gold));
  box-shadow: 0 18px 45px rgba(215,168,74,.28);
}

.ref-btn--secondary {
  color: var(--ref-text);
  border: 1px solid var(--ref-border);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

/* Hero */
.ref-hero {
  min-height: 100vh;
  padding: 140px 24px 70px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ref-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(.78) contrast(1.05) brightness(.78);
  z-index: -3;
}

.ref-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,4,3,.95) 0%, rgba(5,4,3,.72) 37%, rgba(5,4,3,.25) 66%, rgba(5,4,3,.9) 100%);
  z-index: -2;
}

.ref-hero__ring {
  position: absolute;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(255, 225, 160, .12);
  border-radius: 50%;
  inset-inline-end: -260px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 80px rgba(215,168,74,.09), 0 0 120px rgba(215,168,74,.09);
  z-index: -2;
  pointer-events: none;
}

.ref-light-beam {
  position: absolute;
  top: -25%;
  inset-inline-end: 23%;
  width: 240px;
  height: 145%;
  background: linear-gradient(180deg, transparent, rgba(255,225,160,.13), transparent);
  transform: rotate(19deg);
  filter: blur(18px);
  opacity: .85;
  z-index: -1;
  pointer-events: none;
}

.ref-hero-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
}

.ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid var(--ref-border);
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
  color: var(--ref-gold-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.ref-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ref-gold);
  box-shadow: 0 0 18px var(--ref-gold);
}

.ref-hero h2 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -2px;
  max-width: 760px;
  text-shadow: 0 18px 50px rgba(0,0,0,.65);
  margin: 0;
  font-weight: 700;
}

.ref-hero h2 .ref-gold-line {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #fff1bd, #d7a84a 48%, #8c5e1d);
  -webkit-background-clip: text;
  background-clip: text;
}

.ref-hero__lead {
  margin-top: 26px;
  color: rgba(255,247,232,.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.95;
  max-width: 690px;
}

.ref-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Cinema card */
.ref-cinema-card {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  border: 1px solid var(--ref-border);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(10, 7, 4, .46);
  backdrop-filter: blur(18px);
  box-shadow: var(--ref-shadow);
  overflow: hidden;
  padding: 22px;
  isolation: isolate;
}

.ref-cinema-frame {
  height: 100%;
  min-height: 476px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ref-cinema-frame::before,
.ref-cinema-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.95) 0 24px, rgba(255,255,255,.14) 24px 32px, rgba(0,0,0,.95) 32px 56px);
  opacity: .72;
  z-index: 1;
}

.ref-cinema-frame::before { top: 0; }
.ref-cinema-frame::after { bottom: 0; }

.ref-cinema-frame__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.78));
  z-index: 0;
}

.ref-play-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255, 225, 160, .38);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 80px rgba(215,168,74,.28);
  z-index: 2;
  animation: refPulse 2.6s ease-in-out infinite;
}

.ref-play-orb span {
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-inline-end: 26px solid var(--ref-gold-light);
  margin-inline-end: 7px;
}

@keyframes refPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215,168,74,.25), 0 0 80px rgba(215,168,74,.24); }
  50% { box-shadow: 0 0 0 22px rgba(215,168,74,0), 0 0 110px rgba(215,168,74,.35); }
}

.ref-frame-copy { position: relative; z-index: 3; }
.ref-frame-copy strong { display: block; font-size: 26px; margin-bottom: 10px; }
.ref-frame-copy small { color: rgba(255,247,232,.72); line-height: 1.8; font-size: 14px; }

/* Stats */
.ref-stats {
  width: min(1180px, calc(100% - 48px));
  margin: -40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 3;
}

.ref-stat {
  border: 1px solid var(--ref-border);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(20px);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 16px 60px rgba(0,0,0,.24);
}

.ref-stat strong { font-size: 34px; color: var(--ref-gold-light); display: block; margin-bottom: 7px; }
.ref-stat span { color: var(--ref-muted); font-size: 14px; line-height: 1.7; }

/* Sections */
.ref-section { padding: 110px 24px; position: relative; }
.ref-container { width: min(1180px, 100%); margin: 0 auto; }

.ref-section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

.ref-section-kicker { color: var(--ref-gold); font-weight: 900; margin-bottom: 12px; letter-spacing: .4px; font-size: 14px; }
.ref-section-head h3 { font-size: clamp(32px, 5vw, 58px); line-height: 1.1; max-width: 720px; letter-spacing: -1.4px; margin: 0; }
.ref-section-head p { max-width: 390px; color: var(--ref-muted); line-height: 1.9; margin: 0; }

/* Programs */
.ref-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.ref-program-card {
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--ref-border);
  background: rgba(255,255,255,.075);
  position: relative;
  box-shadow: 0 18px 70px rgba(0,0,0,.25);
  transition: .35s ease;
}

.ref-program-card:hover { transform: translateY(-10px); border-color: rgba(255,225,160,.46); }

.ref-program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.86));
  z-index: 1;
}

.ref-program-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) brightness(.78);
  transition: .5s;
}

.ref-program-card:hover .ref-program-card__img { transform: scale(1.08); }

.ref-program-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ref-tag {
  align-self: flex-start;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(215,168,74,.16);
  color: var(--ref-gold-light);
  border: 1px solid rgba(255,225,160,.22);
  font-size: 13px;
  margin-bottom: 16px;
}

.ref-program-content h4 { font-size: 28px; margin: 0 0 12px; }
.ref-program-content p { color: rgba(255,247,232,.76); line-height: 1.85; font-size: 15px; margin: 0 0 12px; }
.ref-program-price { font-size: 22px; color: var(--ref-gold-light); font-weight: 800; margin-bottom: 14px; }

/* Journey */
.ref-journey { display: grid; grid-template-columns: .95fr 1.05fr; gap: 22px; align-items: stretch; }

.ref-journey-visual {
  border-radius: 40px;
  overflow: hidden;
  min-height: 590px;
  border: 1px solid var(--ref-border);
  background-size: cover;
  background-position: center;
  box-shadow: var(--ref-shadow);
  position: relative;
}

.ref-journey-visual::after {
  content: attr(data-caption);
  position: absolute;
  inset-inline-end: 28px;
  bottom: 28px;
  inset-inline-start: 28px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ref-gold-light);
  text-shadow: 0 12px 40px #000;
}

.ref-journey-visual__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}

.ref-steps { display: grid; gap: 14px; }

.ref-step {
  border: 1px solid var(--ref-border);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.ref-step-number {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ref-gold-light), var(--ref-gold));
  color: #140d04;
  display: grid;
  place-items: center;
  font-weight: 1000;
  box-shadow: 0 12px 32px rgba(215,168,74,.18);
  font-size: 14px;
}

.ref-step h4 { font-size: 22px; margin: 0 0 8px; }
.ref-step p { color: var(--ref-muted); line-height: 1.9; margin: 0; }

/* Features */
.ref-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.ref-feature {
  min-height: 220px;
  border: 1px solid var(--ref-border);
  border-radius: 30px;
  padding: 24px;
  background: radial-gradient(circle at 20% 0%, rgba(215,168,74,.18), transparent 42%), rgba(255,255,255,.065);
  backdrop-filter: blur(18px);
  transition: .3s;
}

.ref-feature:hover {
  transform: translateY(-7px);
  background: radial-gradient(circle at 20% 0%, rgba(215,168,74,.28), transparent 46%), rgba(255,255,255,.09);
}

.ref-feature .ref-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(215,168,74,.13);
  border: 1px solid rgba(255,225,160,.21);
  color: var(--ref-gold-light);
  font-size: 24px;
  margin-bottom: 20px;
}

.ref-feature h4 { font-size: 21px; margin: 0 0 10px; }
.ref-feature p { color: var(--ref-muted); line-height: 1.8; font-size: 14px; margin: 0; }

/* Quote */
.ref-quote-wrap { padding: 0 24px 110px; }

.ref-quote-card {
  width: min(1180px, 100%);
  margin: auto;
  border-radius: 42px;
  min-height: 360px;
  border: 1px solid var(--ref-border);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--ref-shadow);
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.ref-quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.35));
}

.ref-quote-card::after {
  content: "\201D";
  position: absolute;
  top: -70px;
  inset-inline-start: 50px;
  font-size: 250px;
  color: rgba(255,225,160,.11);
  font-family: Georgia, serif;
  z-index: 0;
}

.ref-quote-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 5vw, 60px);
  max-width: 850px;
  line-height: 1.25;
  margin: 0 0 24px;
}

.ref-quote-card p {
  position: relative;
  z-index: 1;
  color: rgba(255,247,232,.76);
  max-width: 760px;
  line-height: 2;
  font-size: 18px;
  margin: 0;
}

/* Package booking */
.ref-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
.ref-booking-summary {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ref-booking-form .ref-form-label { display: block; margin-top: 1rem; }
.ref-booking-form input,
.ref-booking-form textarea,
.ref-booking-form select {
  width: 100%;
  margin-top: 0.35rem;
}
.ref-form-hint {
  color: var(--ref-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.ref-form-errors {
  color: #f87171;
  margin: 0.75rem 0 0;
  padding-inline-start: 1.25rem;
}
.ref-flash--error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

/* Contact */
.ref-contact { padding-top: 0; }

.ref-contact-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 22px;
  border: 1px solid var(--ref-border);
  border-radius: 42px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  box-shadow: var(--ref-shadow);
  overflow: hidden;
}

.ref-contact-copy { padding: 48px; }
.ref-contact-copy h3 { font-size: clamp(32px, 5vw, 56px); line-height: 1.16; margin: 0 0 18px; }
.ref-contact-copy > p { color: var(--ref-muted); line-height: 1.9; max-width: 640px; margin-bottom: 28px; }

.ref-contact-list { display: grid; gap: 14px; margin-top: 28px; }
.ref-contact-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,247,232,.84);
}

.ref-form-panel {
  padding: 28px;
  background: rgba(0,0,0,.25);
  display: grid;
  gap: 14px;
  align-content: start;
}

.ref-form-panel input,
.ref-form-panel textarea,
.ref-form-panel select {
  width: 100%;
  border: 1px solid rgba(255,225,160,.18);
  background: rgba(255,255,255,.075);
  color: var(--ref-text);
  border-radius: 18px;
  padding: 17px 18px;
  outline: none;
  font-family: inherit;
  font-size: 15px;
}

.ref-form-panel input:focus,
.ref-form-panel textarea:focus {
  border-color: rgba(255,225,160,.55);
  box-shadow: 0 0 0 4px rgba(215,168,74,.11);
}

html[dir="rtl"] .ref-form-panel input[type="tel"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .ref-form-panel input[type="tel"]::placeholder {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .ref-form-panel input[type="tel"]::-webkit-input-placeholder {
  text-align: right;
}

.ref-form-panel textarea { min-height: 125px; resize: vertical; }

.ref-form-button {
  border: 0;
  cursor: pointer;
  color: #130c03;
  background: linear-gradient(135deg, var(--ref-gold-light), var(--ref-gold));
  padding: 18px;
  border-radius: 18px;
  font-weight: 1000;
  font-size: 16px;
  font-family: inherit;
  box-shadow: 0 18px 42px rgba(215,168,74,.23);
}

.ref-form-errors { color: #f87171; margin: 0; padding-inline-start: 1rem; font-size: 14px; }
.ref-form-success {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(215,168,74,.12);
  border: 1px solid var(--ref-border);
  color: var(--ref-gold-light);
  text-align: center;
}

/* Footer */
.ref-footer {
  padding: 34px 24px 44px;
  color: var(--ref-muted);
  text-align: center;
  border-top: 1px solid rgba(255,225,160,.1);
  background: rgba(0,0,0,.16);
}

.ref-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 14px;
}

.ref-footer-links a {
  color: var(--ref-gold-light);
  text-decoration: none;
  font-size: 0.92rem;
}

.ref-footer-links a:hover {
  text-decoration: underline;
}

.ref-floating-whatsapp {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #25d366, #0f9f4d);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 18px 44px rgba(37,211,102,.33);
  animation: refFloat 3s ease-in-out infinite;
}

@keyframes refFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Inner pages */
.ref-page { padding: 120px 24px 80px; min-height: 60vh; }
.ref-page-card {
  border: 1px solid var(--ref-border);
  border-radius: 28px;
  padding: 32px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}

/* Reveal */
.ref-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: .75s ease;
}

.ref-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .ref-navbar { flex-wrap: wrap; height: auto; min-height: 66px; padding: 10px 14px; }
  .ref-nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; background: rgba(8,6,4,.96); padding: 16px; border-radius: 24px; border: 1px solid var(--ref-border); z-index: 60; }
  .ref-nav-links.is-open { display: flex; }
  .ref-nav-toggle { display: block; }
  .ref-hero-inner, .ref-journey, .ref-contact-card, .ref-booking-grid { grid-template-columns: 1fr; }
  .ref-cinema-card { min-height: 440px; }
  .ref-stats, .ref-features { grid-template-columns: repeat(2, 1fr); }
  .ref-programs { grid-template-columns: 1fr; }
  .ref-section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .ref-hero { padding: 120px 16px 50px; }
  .ref-brand { min-width: auto; }
  .ref-brand h1 { font-size: 16px; }
  .ref-brand span { display: none; }
  .ref-nav-cta, .ref-nav-login { padding: 11px 15px; font-size: 13px; }
  .ref-stats, .ref-features { grid-template-columns: 1fr; }
  .ref-stat, .ref-feature, .ref-step, .ref-contact-copy, .ref-form-panel { padding: 22px; }
  .ref-quote-card { padding: 30px 24px; }
  .ref-journey-visual { min-height: 420px; }
  .ref-section { padding: 76px 16px; }
}

/* Phase 25.1 — Landing pages */
.ref-landing-preview-banner {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(215,168,74,.92);
  color: #140d04;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--ref-shadow);
}

.ref-landing-faq {
  display: grid;
  gap: 14px;
}

.ref-landing-faq__item {
  border: 1px solid var(--ref-border);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  padding: 18px 22px;
}

.ref-landing-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ref-text);
}

.ref-landing-faq__item p {
  margin: 12px 0 0;
  color: var(--ref-muted);
  line-height: 1.8;
}

.ref-landing-offer .ref-frame-copy small { display: block; margin-top: 6px; }

.ref-auth { padding-top: 48px; padding-bottom: 72px; }
.ref-auth__grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .ref-auth__grid { grid-template-columns: 1fr 1fr; }
}
.ref-auth__intro h2 { margin: 12px 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ref-auth__intro p { color: var(--ref-muted); line-height: 1.8; }
.ref-auth__points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ref-auth__points li {
  padding: 12px 14px;
  border: 1px solid var(--ref-border);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.ref-auth__card { padding: 28px; }
.ref-auth__form { padding: 0 !important; background: none !important; }
.ref-form-label { display: block; margin: 12px 0 6px; font-size: 13px; color: var(--ref-muted); }
.ref-form-error { color: #f5a6a6; font-size: 13px; margin: 6px 0 0; }
.ref-auth__remember { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 14px; }
.ref-auth__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 14px; }
.ref-auth__links a { color: var(--ref-gold); text-decoration: none; }
.ref-flash--success {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(72, 187, 120, .15);
  border: 1px solid rgba(72, 187, 120, .35);
}

@media (prefers-reduced-motion: reduce) {
  .ref-reveal { opacity: 1; transform: none; transition: none; }
  .ref-play-orb { animation: none; }
  .ref-floating-whatsapp { animation: none; }
}
