/*
Theme Name: Restaurant Landing
Theme URI: https://example.com
Author: Restaurant Theme
Author URI: https://example.com
Description: قالب صفحة هبوط احترافية للمطعم — مع تخصيص كامل للوجو والخلفية وأرقام التواصل
Version: 1.3.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: restaurant-landing
Tags: one-page, restaurant, landing-page, rtl-language, custom-logo, custom-background, full-width-template
*/

/* ══════════════════════════════════
   RESET & BASE
══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; min-height: 100vh;
  font-family: 'Cairo', sans-serif;
  background: #0a0a0a;
  overflow-x: hidden;
  direction: rtl;
}

body.admin-bar .rl-floating-btns { top: calc(50% + 4cm + 16px); }

a { text-decoration: none; color: inherit; }

/* ══════════════════════════════════
   ENTRANCE KEYFRAMES
══════════════════════════════════ */
@keyframes scalePop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleXIn {
  from { transform: scaleX(0) translateX(0); opacity: 0; }
  to   { transform: scaleX(1) translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-90px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* ══════════════════════════════════
   CONTINUOUS KEYFRAMES
══════════════════════════════════ */
@keyframes glowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.4); opacity: 0.18; }
}
@keyframes waBounce {
  0%,  57%, 100% { transform: translateY(0) rotate(0deg); }
  25%             { transform: translateY(-3px) rotate(-10deg); }
  45%             { transform: translateY(0)   rotate(10deg); }
}
@keyframes phoneShake {
  0%,  20%, 100% { transform: rotate(0deg) scale(1); }
  4%              { transform: rotate(-18deg) scale(1.1); }
  9%              { transform: rotate(16deg)  scale(1.1); }
  13%             { transform: rotate(-12deg) scale(1); }
  17%             { transform: rotate(8deg)   scale(1); }
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1);    opacity: 0.45; }
  50%       { transform: scale(1.07); opacity: 0; }
}
@keyframes borderGlow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}
@keyframes rippleAnim {
  to { transform: translate(-50%, -50%) scale(18); opacity: 0; }
}
@keyframes shimmerFloat {
  0%, 100% { transform: translateX(-110%) skewX(-15deg); }
  60%       { transform: translateX(110%)  skewX(-15deg); }
}

/* ══════════════════════════════════
   LAYOUT WRAPPER
══════════════════════════════════ */
.rl-page {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── Background ── */
.rl-bg {
  position: absolute;
  inset: 0; z-index: 0;
  overflow: hidden;
}
.rl-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.rl-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.3) 100%);
}
.rl-bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.5) 100%);
}

/* ── Content card ── */
.rl-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 310px;
  padding: 24px 20px 32px;
  margin-top: -70px;
  padding-left: 70px; /* space for floating btns */
}

/* ══════════════════════════════════
   LOGO
══════════════════════════════════ */
.rl-logo-wrap {
  position: relative;
  margin-bottom: 16px;
  animation: scalePop .6s cubic-bezier(.17,.67,.32,1.28) .1s both;
}
.rl-logo-glow {
  position: absolute; inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.45) 0%, transparent 70%);
  filter: blur(18px);
  animation: glowPulse 3.5s ease-in-out infinite;
}
.rl-logo-wrap img {
  position: relative; z-index: 1;
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,.5);
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
  display: block;
}

/* ══════════════════════════════════
   DIVIDERS
══════════════════════════════════ */
.rl-divider-gold {
  width: 40px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,.8), transparent);
  margin-bottom: 12px;
  transform-origin: center;
  animation: scaleXIn .55s cubic-bezier(.16,1,.3,1) .22s both;
}
.rl-divider-white {
  width: 100%; height: 0.5px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.12), transparent);
  margin-bottom: 20px;
  transform-origin: center;
  animation: scaleXIn .5s cubic-bezier(.16,1,.3,1) .48s both;
}

/* ══════════════════════════════════
   TEXT
══════════════════════════════════ */
.rl-name {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.01em;
  text-align: center;
  margin-bottom: 8px;
  animation: fadeInUp .55s cubic-bezier(.16,1,.3,1) .28s both;
}
.rl-tagline {
  font-size: clamp(.72rem, 2.2vw, .88rem);
  font-weight: 600;
  color: rgba(212,175,55,.85);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  animation: fadeIn .55s ease .38s both;
}
.rl-location {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.38);
  font-size: 12px;
  margin-bottom: 20px;
  animation: fadeIn .5s ease .44s both;
}
.rl-location svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ══════════════════════════════════
   STATIC CARD BUTTONS
══════════════════════════════════ */
.rl-btns-row {
  display: flex; gap: 12px; width: 100%;
  animation: fadeInUp .5s cubic-bezier(.16,1,.3,1) .52s both;
}
.rl-card-btn {
  position: relative;
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  overflow: hidden;
  border: 1.5px solid transparent;
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.rl-card-btn:hover  { transform: scale(1.04); }
.rl-card-btn:active { transform: scale(.95); }

/* WhatsApp variant */
.rl-card-btn.wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.rl-card-btn.wa:hover { box-shadow: 0 0 28px -4px rgba(37,211,102,.6), 0 2px 12px rgba(0,0,0,.3); }
.rl-card-btn.wa .rl-pulse-ring { border-color: rgba(37,211,102,.6); }

/* Call variant */
.rl-card-btn.call {
  background: rgba(255,255,255,.07);
  border-color: rgba(96,165,250,.7);
  color: rgba(147,197,253,.95);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.rl-card-btn.call:hover { box-shadow: 0 0 28px -4px rgba(59,130,246,.55), 0 2px 12px rgba(0,0,0,.3); }
.rl-card-btn.call .rl-pulse-ring { border-color: rgba(96,165,250,.5); }

/* Pulse ring overlay */
.rl-pulse-ring {
  position: absolute; inset: 0;
  border-radius: 14px;
  border: 1.5px solid transparent;
  pointer-events: none;
  animation: pulseRing 2.4s ease-in-out infinite;
}

/* Shimmer sweep */
.rl-card-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.rl-card-btn:hover::after {
  left: 150%;
  transition: left .55s ease-in-out;
}

/* Ripple wave */
.ripple-wave {
  position: absolute;
  width: 10px; height: 10px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleAnim .65s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

/* Icon animation wrappers */
.icon-wa  { display: inline-flex; animation: waBounce    2.8s ease-in-out infinite; }
.icon-tel { display: inline-flex; animation: phoneShake  3.1s ease-in-out infinite; }

/* ══════════════════════════════════
   SINCE BADGE
══════════════════════════════════ */
.rl-badge {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.2);
  font-size: 11px; letter-spacing: .1em;
  margin-top: 20px;
  animation: fadeIn .6s ease .8s both;
}
.rl-badge-line {
  width: 20px; height: 0.5px;
  background: rgba(255,255,255,.15);
}

/* ══════════════════════════════════
   FLOATING BUTTONS — left side
══════════════════════════════════ */
.rl-floating-btns {
  position: fixed; z-index: 9999;
  left: 12px;
  top: calc(50% + 4cm);
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
}
.rl-float-btn {
  position: relative;
  display: flex; align-items: center;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  width: 48px;
  padding: 0 13px;
  transition: width .32s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
  animation: slideInLeft .6s cubic-bezier(.16,1,.3,1) both;
}
.rl-float-btn:hover { width: 148px; }
.rl-float-btn:active { transform: scale(.93); }

.rl-float-btn.wa-float {
  background: #25D366;
  border-color: rgba(37,211,102,.7);
  box-shadow: 0 3px 14px -3px rgba(37,211,102,.65);
  animation-delay: .55s;
}
.rl-float-btn.wa-float:hover { box-shadow: 0 6px 28px -4px rgba(37,211,102,.65), 0 0 0 2px rgba(37,211,102,.4); }

.rl-float-btn.call-float {
  background: #2563EB;
  border-color: rgba(59,130,246,.7);
  box-shadow: 0 3px 14px -3px rgba(37,99,235,.65);
  animation-delay: .68s;
}
.rl-float-btn.call-float:hover { box-shadow: 0 6px 28px -4px rgba(37,99,235,.65), 0 0 0 2px rgba(59,130,246,.4); }

/* floating btn: top-edge highlight */
.rl-float-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}

/* floating btn: animated border glow */
.rl-float-btn .rl-border-glow {
  position: absolute; inset: 0;
  border-radius: 10px;
  border: 1.5px solid inherit;
  pointer-events: none;
  animation: borderGlow 2.2s ease-in-out infinite;
}
.rl-float-btn.wa-float   .rl-border-glow { border-color: rgba(37,211,102,.7); }
.rl-float-btn.call-float .rl-border-glow { border-color: rgba(59,130,246,.7); }

/* floating btn: shimmer */
.rl-float-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.rl-float-btn:hover::after {
  left: 150%;
  transition: left .48s ease-in-out;
}

/* icon slot */
.rl-float-btn .btn-icon {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

/* label — slides in on hover */
.rl-float-btn .btn-label {
  position: relative; z-index: 1;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  margin-right: 8px;
  transition: max-width .3s cubic-bezier(.16,1,.3,1), opacity .26s ease;
}
.rl-float-btn:hover .btn-label {
  max-width: 100px;
  opacity: 1;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 480px) {
  .rl-content { padding-left: 64px; max-width: 100%; }
  .rl-logo-wrap img { width: 80px; height: 80px; }
  .rl-card-btn { font-size: 13px; padding: 11px 10px; }
  .rl-floating-btns { left: 8px; }
  .rl-float-btn { width: 44px; height: 42px; }
  .rl-float-btn:hover { width: 138px; }
}

@media (min-width: 768px) {
  .rl-content { max-width: 340px; }
}


/* ══════════════════════════════════
   Mobile positioning correction — v1.1
   Matches the annotated reference image without changing the visual design.
══════════════════════════════════ */
@media (max-width: 900px) {
  /* Raise the complete central block to the arrow-head level used for the
     title/location/buttons.  60 CSS px ≈ 120 px in the supplied 2x screenshot. */
  .rl-content {
    transform: translateY(-60px) !important;
  }

  /* The logo arrow is longer in the reference, so lift only the logo an
     additional ~52 CSS px while preserving the original space/layout below it. */
  .rl-logo-wrap {
    position: relative !important;
    top: -52px !important;
  }

  /* Floating buttons: same styling, only the drawn size is applied.
     The reference box is ~148 × 46 CSS px. */
  .rl-floating-btns {
    left: 8px !important;
  }

  .rl-float-btn,
  .rl-float-btn:hover {
    width: 148px !important;
    height: 46px !important;
    min-width: 148px !important;
    padding: 0 13px !important;
    border-radius: 10px !important;
    direction: ltr;
    justify-content: flex-start;
  }

  /* Keep the mobile appearance icon-only, exactly as before; only the outer
     button dimensions change. */
  .rl-float-btn .btn-label {
    display: none !important;
  }

  .rl-float-btn .btn-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .rl-float-btn .btn-icon svg {
    width: auto !important;
    height: auto !important;
  }
}


/* ══════════════════════════════════
   v1.2 — Professional hero centering + refined floating buttons
══════════════════════════════════ */

@keyframes logoFloatPro {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes haloSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sheenSweep {
  0%, 15% { transform: translateX(-150%) skewX(-18deg); opacity: 0; }
  22% { opacity: .5; }
  34% { transform: translateX(150%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(150%) skewX(-18deg); opacity: 0; }
}

.rl-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 24px 20px 34px;
  margin-top: 0 !important;
  display: block;
}

.rl-hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(310px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rl-action-core {
  position: absolute;
  top: calc(50% + 118px);
  left: 50%;
  transform: translateX(-50%);
  width: min(310px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rl-logo-wrap {
  position: relative !important;
  top: 0 !important;
  margin-bottom: 18px;
  animation: scalePop .7s cubic-bezier(.17,.67,.32,1.28) .08s both, logoFloatPro 4.8s ease-in-out 1.1s infinite;
  isolation: isolate;
}

.rl-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(from 180deg, rgba(212,175,55,.06), rgba(212,175,55,.75), rgba(255,255,255,.16), rgba(212,175,55,.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: haloSpin 8.5s linear infinite;
  z-index: 0;
  opacity: .95;
}

.rl-logo-wrap::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -35%;
  width: 36%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  filter: blur(1px);
  transform: skewX(-18deg);
  animation: sheenSweep 5.4s ease-in-out 1.3s infinite;
  z-index: 2;
  pointer-events: none;
}

.rl-logo-glow {
  inset: -22px;
  background: radial-gradient(circle, rgba(212,175,55,.42) 0%, rgba(212,175,55,.14) 42%, transparent 72%);
  filter: blur(22px);
  animation: glowPulse 4.2s ease-in-out infinite;
}

.rl-logo-wrap img,
.rl-logo-wrap .rl-logo-placeholder {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.38), 0 0 0 6px rgba(212,175,55,.08);
  backdrop-filter: blur(10px);
}

.rl-divider-gold {
  margin-bottom: 14px;
}

.rl-name {
  text-shadow: 0 8px 28px rgba(0,0,0,.42);
}

.rl-tagline {
  font-size: clamp(.78rem, 2.4vw, .96rem);
  color: rgba(228,195,94,.95);
  margin-bottom: 8px;
}

.rl-location {
  margin-bottom: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.72);
}

.rl-divider-white {
  width: 100%;
  margin-bottom: 18px;
}

.rl-btns-row {
  width: 100%;
  gap: 12px;
}

.rl-badge {
  margin-top: 18px;
}

.rl-floating-btns {
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%);
  gap: 12px;
}

.rl-float-btn,
.rl-float-btn:hover {
  width: 148px !important;
  min-width: 148px !important;
  height: 50px !important;
  padding: 0 12px 0 10px !important;
  border-radius: 18px !important;
  justify-content: flex-start;
  gap: 10px;
  direction: rtl;
  transition: transform .22s ease, box-shadow .28s ease, filter .28s ease;
}

.rl-float-btn {
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.14);
}

.rl-float-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.rl-float-btn:active {
  transform: scale(.97);
}

.rl-float-btn.wa-float {
  background: linear-gradient(135deg, rgba(37,211,102,.98), rgba(24,173,82,.94));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 34px rgba(25,128,67,.28), inset 0 1px 0 rgba(255,255,255,.18);
}

.rl-float-btn.call-float {
  background: linear-gradient(135deg, rgba(52,104,244,.98), rgba(28,78,210,.94));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 34px rgba(31,72,173,.28), inset 0 1px 0 rgba(255,255,255,.18);
}

.rl-float-btn::before {
  height: 100%;
  width: 48px;
  right: 0;
  left: auto;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border-left: 1px solid rgba(255,255,255,.16);
}

.rl-float-btn::after {
  top: -20%;
  bottom: -20%;
  width: 34%;
  left: -42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}

.rl-float-btn:hover::after {
  left: 130%;
}

.rl-float-btn .rl-border-glow {
  border-radius: 18px;
  border-color: rgba(255,255,255,.24) !important;
  opacity: .45;
}

.rl-float-btn .btn-icon {
  position: relative;
  z-index: 2;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.18);
}

.rl-float-btn .btn-icon svg {
  width: 15px;
  height: 15px;
}

.rl-float-btn .btn-label,
.rl-float-btn:hover .btn-label {
  display: block !important;
  max-width: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  margin-right: 0 !important;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .rl-content {
    transform: none !important;
    padding: 18px 18px 26px;
  }

  .rl-hero-core {
    transform: translate(-50%, -56%);
    width: min(300px, calc(100vw - 36px));
  }

  .rl-action-core {
    width: min(300px, calc(100vw - 36px));
    top: calc(50% + 116px);
  }

  .rl-logo-wrap img,
  .rl-logo-wrap .rl-logo-placeholder {
    width: 96px;
    height: 96px;
  }

  .rl-floating-btns {
    left: 10px !important;
    top: auto !important;
    bottom: 22px;
    transform: none;
  }

  .rl-float-btn,
  .rl-float-btn:hover {
    width: 142px !important;
    min-width: 142px !important;
    height: 48px !important;
    border-radius: 16px !important;
  }

  .rl-float-btn .btn-label,
  .rl-float-btn:hover .btn-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .rl-hero-core {
    width: min(290px, calc(100vw - 30px));
    transform: translate(-50%, -57%);
  }

  .rl-action-core {
    width: min(290px, calc(100vw - 30px));
    top: calc(50% + 112px);
  }

  .rl-name {
    font-size: clamp(1.9rem, 8.5vw, 2.75rem);
  }

  .rl-btns-row {
    gap: 10px;
  }

  .rl-card-btn {
    font-size: 13px;
  }
}


/* ══════════════════════════════════
   v1.3 — Fixed one-screen mobile viewport (no scrolling)
══════════════════════════════════ */
html, body {
  height: 100%;
  min-height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

body {
  position: relative;
}

.rl-page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.rl-content {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

@supports (height: 100svh) {
  .rl-page,
  .rl-content {
    height: 100svh;
    min-height: 100svh;
  }
}

@supports (height: 100dvh) {
  .rl-page,
  .rl-content {
    height: 100dvh;
    min-height: 100dvh;
  }
}

/* Tighten mobile layout so the whole hero always fits within one phone screen */
@media (max-width: 900px) {
  .rl-content {
    padding: 14px 16px 18px;
  }

  .rl-hero-core {
    top: 50%;
    transform: translate(-50%, -58%);
    width: min(290px, calc(100vw - 28px));
  }

  .rl-action-core {
    width: min(290px, calc(100vw - 28px));
    top: calc(50% + 105px);
  }

  .rl-logo-wrap {
    margin-bottom: 14px;
  }

  .rl-logo-wrap img,
  .rl-logo-wrap .rl-logo-placeholder {
    width: 88px;
    height: 88px;
  }

  .rl-divider-gold {
    margin-bottom: 10px;
  }

  .rl-name {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 6px;
  }

  .rl-tagline {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .rl-location {
    font-size: 11px;
    padding: 6px 11px;
  }

  .rl-divider-white {
    margin-bottom: 14px;
  }

  .rl-card-btn {
    min-height: 44px;
    padding: 10px 10px;
    font-size: 13px;
    border-radius: 13px;
  }

  .rl-badge {
    margin-top: 14px;
    font-size: 10px;
  }

  .rl-floating-btns {
    left: 10px !important;
    bottom: 16px !important;
    top: auto !important;
    transform: none !important;
    gap: 10px;
  }

  .rl-float-btn,
  .rl-float-btn:hover {
    width: 136px !important;
    min-width: 136px !important;
    height: 46px !important;
    border-radius: 15px !important;
  }

  .rl-float-btn .btn-label,
  .rl-float-btn:hover .btn-label {
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .rl-hero-core {
    width: min(276px, calc(100vw - 22px));
    transform: translate(-50%, -59%);
  }

  .rl-action-core {
    width: min(276px, calc(100vw - 22px));
    top: calc(50% + 100px);
  }

  .rl-logo-wrap img,
  .rl-logo-wrap .rl-logo-placeholder {
    width: 84px;
    height: 84px;
  }

  .rl-name {
    font-size: 1.65rem;
  }

  .rl-tagline {
    font-size: 12px;
  }

  .rl-card-btn {
    min-height: 42px;
    font-size: 12.5px;
    padding: 9px 8px;
  }

  .rl-floating-btns {
    bottom: 14px !important;
  }

  .rl-float-btn,
  .rl-float-btn:hover {
    width: 130px !important;
    min-width: 130px !important;
    height: 44px !important;
  }
}
