/* Rental Extras — guest landing / verification hero.
   Loaded only on verify.html. Inherits the tokens from site.css. */

.hero {
  /* Break out of .page's 1080px container to run full-bleed, and pull up
     over .page's 36px top padding so the hero meets the topbar cleanly. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  margin-top: -36px;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
  background: #0b1020;
  isolation: isolate;
}

/* Layered colour wash — warm hospitality tones over deep navy. */
.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(42% 52% at 18% 22%, rgba(251, 146, 60, 0.42) 0%, transparent 62%),
    radial-gradient(38% 48% at 82% 18%, rgba(236, 72, 153, 0.34) 0%, transparent 64%),
    radial-gradient(52% 58% at 68% 88%, rgba(45, 212, 191, 0.32) 0%, transparent 66%),
    radial-gradient(46% 50% at 28% 82%, rgba(99, 102, 241, 0.40) 0%, transparent 64%);
  animation: hero-drift 24s ease-in-out infinite alternate;
}

/* Fine grain so the gradients read as texture rather than flat CSS. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

@keyframes hero-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

/* --- Left column: the pitch --- */
.hero-copy { color: #fff; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.hero-eyebrow i { font-size: 0.85rem; color: #fcd34d; }

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-title .accent {
  display: block;
  background: linear-gradient(100deg, #fbbf24 0%, #fb7185 46%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
  max-width: 34rem;
  margin-bottom: 34px;
  text-wrap: pretty;
}

.hero-props {
  display: grid;
  gap: 16px;
  max-width: 34rem;
}

.hero-prop {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.hero-prop-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-prop-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.hero-prop-body {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

/* --- Right column: the form card --- */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow:
    0 24px 60px rgba(4, 8, 20, 0.42),
    0 2px 8px rgba(4, 8, 20, 0.22);
  backdrop-filter: blur(14px);
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.hero-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.34);
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-card-sub {
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

/* Reservation-code input when the guest has to type or paste it. */
.code-input {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-variant-ligatures: none;
}

.code-input::placeholder {
  letter-spacing: 0.04em;
  font-weight: 400;
  text-transform: none;
  color: var(--color-text-faint);
}

/* Read-only echo of a code supplied via ?res_id= */
.code-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-info-bg);
  border: 1px solid var(--color-border);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.code-locked i { color: var(--color-success); font-size: 0.95rem; }

.hero-card .otp-input {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  padding-left: 0.5em;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-card { justify-self: stretch; max-width: none; }
  .hero-props { gap: 13px; }
}

@media (max-width: 560px) {
  .hero { padding: 36px 0 44px; }
  .hero-card { padding: 24px; }
  .hero-sub { font-size: 1rem; margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
