/* ================================================================
   STAYVIBES — HERO v4  (Split layout inspired by reference)
   Left: headline + stats + CTAs | Right: card + illustration
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* ── WRAPPER ── */
.hero-premium {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: #0f0a05;
}

/* ── LEFT PANEL — dark warm brown ── */
.hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 5% 80px 6%;
  z-index: 5;
  background: linear-gradient(160deg, #1a0e06 0%, #130a03 50%, #0f0805 100%);
}

/* rich glow on left */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(200,75,49,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(150,50,20,0.1) 0%, transparent 55%);
  pointer-events: none;
}

/* subtle grid texture on left */
.hero-left::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* ── RIGHT PANEL — slightly lighter dark ── */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 110px 5% 80px 3%;
  background: linear-gradient(160deg, #160c04 0%, #0f0702 100%);
  z-index: 5;
}

/* Vertical divider glow */
.hero-right::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200,75,49,0.4), rgba(200,75,49,0.6), rgba(200,75,49,0.4), transparent);
}

/* ── EYEBROW ── */
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200,75,49,0.12);
  border: 1px solid rgba(200,75,49,0.35);
  color: #ffb89a; padding: 7px 18px; border-radius: 50px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 26px;
  animation: fadeUp .7s ease .2s both;
}
.hero-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%  { box-shadow: 0 0 0 0   rgba(74,222,128,0.6); }
  70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100%{ box-shadow: 0 0 0 0   rgba(74,222,128,0); }
}

/* ── HEADLINE ── */
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp .7s ease .35s both;
}
.hl-white {
  display: block;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  color: #ffffff;
}
.hl-orange {
  display: block;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-style: italic;
  background: linear-gradient(120deg, #ff9a5c 0%, #ff6535 35%, #e84a1e 65%, #ff9a5c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textFlow 4s linear infinite;
  filter: drop-shadow(0 0 24px rgba(255,100,50,0.45));
}
@keyframes textFlow { 0%{background-position:0% center} 100%{background-position:200% center} }

/* ── SUBTEXT ── */
.hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: rgba(255,255,255,0.55);
  max-width: 390px;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp .7s ease .5s both;
}

/* ── STATS BAR ── */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
  animation: fadeUp .7s ease .65s both;
}
.hsb-item {
  padding: 16px 14px;
  text-align: center;
  position: relative;
  color: #fff;
}
.hsb-item + .hsb-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.08);
}
.hsb-num {
  display: block;
  font-size: 1.6rem; font-weight: 800;
  line-height: 1.1; margin-bottom: 3px;
  background: linear-gradient(135deg, #ff9a5c, #D4956A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hsb-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  opacity: .4;
}

/* ── CTA BUTTONS ── */
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeUp .7s ease .8s both;
}
.hcta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #e84a1e, #C84B31);
  color: #fff; border: none;
  padding: 14px 28px; border-radius: 50px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 28px rgba(200,75,49,0.55);
  transition: all .25s;
}
.hcta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(200,75,49,0.7); color: #fff; }

.hcta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 14px 28px; border-radius: 50px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
  backdrop-filter: blur(10px);
}
.hcta-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.hcta-secondary .play-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ── SOCIAL PROOF ROW ── */
.hero-social-proof {
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp .7s ease .95s both;
}
.hsp-avatars {
  display: flex;
}
.hsp-av {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #1a0e06;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
  margin-left: -10px;
}
.hsp-av:first-child { margin-left: 0; }
.hsp-av:nth-child(1) { background: linear-gradient(135deg, #C84B31, #ff6535); }
.hsp-av:nth-child(2) { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.hsp-av:nth-child(3) { background: linear-gradient(135deg, #059669, #065f46); }
.hsp-av:nth-child(4) { background: linear-gradient(135deg, #d97706, #92400e); }
.hsp-av.more { background: #2a1a0a; font-size: 10px; }
.hsp-text strong { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.hsp-text span { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── RIGHT PANEL CONTENT ── */

/* Illustration card mockups */
.hero-illustration {
  width: 100%;
  max-width: 480px;
  margin-bottom: 24px;
  animation: fadeUp .8s ease .5s both;
}
.hi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.hi-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #1e1008;
  border: 1px solid rgba(255,255,255,0.07);
}
.hi-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform .5s, opacity .3s;
}
.hi-card:hover img { transform: scale(1.04); opacity: 1; }
.hi-card-tall { height: 200px; }
.hi-card-sm { height: 95px; }
.hi-badge {
  position: absolute; bottom: 10px; left: 10px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  border-radius: 50px; padding: 5px 12px;
  color: #fff; font-size: 11px; font-weight: 700;
}
.hi-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.hi-badge-shield { color: #C84B31; font-size: 13px; }
.hi-badge-text { font-size: 10px; line-height: 1.2; }
.hi-badge-text small { display: block; opacity: .65; font-weight: 400; font-size: 9px; }

/* ── SEARCH CARD (right panel) ── */
.hero-search-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  animation: fadeUp .8s ease .7s both;
}
.hsc-title {
  font-size: 14px; font-weight: 800; color: #0f0a05;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 7px;
}
.hsc-title i { color: #C84B31; }
.hsc-subtitle { font-size: 12px; color: #9ca3af; margin-bottom: 18px; }

.hsc-fields-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
}
.hsc-field-full { grid-column: 1 / -1; }
.hsc-group { display: flex; flex-direction: column; gap: 5px; }
.hsc-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #C84B31;
  display: flex; align-items: center; gap: 4px;
}
.hsc-select {
  padding: 11px 30px 11px 12px;
  border: 1.5px solid #e8e4df; border-radius: 10px;
  font-family: inherit; font-size: 13px; font-weight: 500; color: #1a0e06;
  background: #faf8f6; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23C84B31' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: all .22s; width: 100%;
}
.hsc-select:focus { border-color: #C84B31; background-color: #fff; box-shadow: 0 0 0 3px rgba(200,75,49,0.1); }

.hsc-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #e84a1e, #C84B31);
  color: #fff; border: none; border-radius: 12px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(200,75,49,0.45);
  transition: all .25s; margin-bottom: 14px;
}
.hsc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200,75,49,0.65); }

.hsc-popular {
  text-align: center;
  font-size: 11px; color: #9ca3af;
}
.hsc-popular strong { color: #6b7280; font-weight: 600; }
.hsc-tags {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 8px; flex-wrap: wrap;
}
.hsc-tag {
  display: flex; align-items: center; gap: 4px;
  background: #f5f1ed; border-radius: 50px;
  padding: 4px 12px; font-size: 11px; color: #6b7280;
  font-weight: 600; cursor: pointer; transition: all .2s;
  border: none; font-family: inherit;
}
.hsc-tag i { color: #C84B31; font-size: 10px; }
.hsc-tag:hover { background: #fff0eb; color: #C84B31; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }

/* ── MOBILE ── */
@media (max-width: 968px) {
  .hero-premium { grid-template-columns: 1fr; min-height: auto; }
  .hero-right::before { display: none; }
  .hero-left { padding: 110px 16px 40px; }
  .hero-right { padding: 32px 16px 60px; }
  .hero-stats-bar { grid-template-columns: repeat(2,1fr); }
  .hsb-item:nth-child(3)::before, .hsb-item:nth-child(4)::before { display: none; }
  .hero-illustration { max-width: 100%; }
  .hero-search-card { max-width: 100%; }
  .hi-card-tall { height: 160px; }
  .hi-card-sm { height: 80px; }
  .hero-sub { max-width: 100%; }
}
@media (max-width: 580px) {
  .hl-white, .hl-orange { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-ctas { flex-direction: column; }
  .hcta-primary, .hcta-secondary { justify-content: center; }
  .hero-stats-bar { grid-template-columns: repeat(2,1fr); }
  .hsc-fields-grid { grid-template-columns: 1fr; }
  .hero-pill { font-size: 9px; }
}
