/* Featured stays — listing cards, property profile, and the booking panel.
   Uses the site's theme variables so it follows light/dark like everything else. */

/* ---- Listing page ---- */
.stays-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-2xl, 64px); }
.stays-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; }
.stays-head p { color: var(--text-secondary); font-size: 1.125rem; margin-top: 16px; line-height: 1.6; }

.stays-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.stay-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.stay-card:hover { transform: translateY(-4px); border-color: var(--border-accent-hover); background: var(--bg-card-hover); }
.stay-card-photo { position: relative; aspect-ratio: 16/10; background: var(--bg-tertiary); overflow: hidden; }
.stay-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.stay-score-chip {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,26,34,0.82); backdrop-filter: blur(6px);
  border: 1px solid var(--border-light); border-radius: 999px;
  padding: 6px 12px; font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; color: #fff;
}
.stay-score-chip .lbl { font-family: var(--font-sans); font-weight: 600; font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.stay-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.stay-card-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.stay-card-city { color: var(--text-muted); font-size: 0.9rem; }
.stay-card-tip { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; margin-top: 8px; }
.stay-card-cta { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ---- "Search globally" CTA band ---- */
.stays-cta {
  margin-top: 72px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl); padding: 48px 28px;
}
.stays-cta h2 { font-size: 1.6rem; font-weight: 800; }
.stays-cta p { color: var(--text-secondary); margin: 12px auto 24px; max-width: 520px; }
.stays-cta .app-buttons { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---- Property profile ---- */
.profile-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21/9; background: var(--bg-tertiary); margin-bottom: 28px; }
.profile-hero img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,12,16,0.85)); }
.profile-hero-text { position: absolute; left: 28px; bottom: 24px; right: 28px; color: #fff; }
.profile-hero-text h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; }
.profile-hero-text .city { color: rgba(255,255,255,0.82); margin-top: 4px; }

.profile-cols { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
@media (max-width: 900px) { .profile-cols { grid-template-columns: 1fr; } }

.score-row { display: flex; align-items: center; gap: 20px; padding: 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.score-dial { width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 800; font-size: 1.7rem; color: #fff; }
.score-meta .tier { font-weight: 800; font-size: 1.05rem; }
.score-meta .src { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; line-height: 1.5; }

.profile-section { margin-top: 32px; }
.profile-section h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }

.tip-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.tip-row:last-child { border-bottom: none; }
.tip-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; }
.tip-ic.do { background: rgba(90,144,112,0.18); color: var(--success); }
.tip-ic.avoid { background: rgba(245,158,11,0.16); color: var(--warning); }
.tip-row p { font-size: 0.95rem; line-height: 1.5; color: var(--text-secondary); }

.review { padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.review:last-child { border-bottom: none; }
.review-top { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.review-stars { color: var(--yellow-400); letter-spacing: 1px; }
.review p { font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); }

/* ---- Booking panel (sticky on profile; matches the app's date/guests panel) ---- */
.book-panel { position: sticky; top: calc(var(--nav-height) + 20px); background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; }
.book-panel h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.book-panel .sub { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 18px; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-field.full { grid-column: 1 / -1; }
.book-field label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.book-field input, .book-field select {
  background: var(--bg-tertiary); border: 1px solid var(--border); color: var(--text-primary);
  border-radius: var(--radius-sm); padding: 11px 12px; font-family: var(--font-sans); font-size: 0.95rem;
}
.book-field input:focus, .book-field select:focus { outline: none; border-color: var(--accent); }
.book-cta { width: 100%; margin-top: 18px; justify-content: center; }
.book-note { color: var(--text-muted); font-size: 0.74rem; text-align: center; margin-top: 12px; line-height: 1.5; }

.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }

/* ---- Hero: real app screenshot in the device frame ---- */
.phone--shot::before { display: none; }            /* the shot has its own status bar/notch */
.phone-shot-img {
  width: 100%;
  aspect-ratio: 1170 / 2532;                        /* the captured iPhone ratio */
  object-fit: cover;
  display: block;
  border-radius: 32px;
}

/* ---- Attribution (TripAdvisor Content API display requirement) ---- */
.photo-credit {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  font-size: 0.68rem; color: rgba(255,255,255,0.82); text-decoration: none;
  background: rgba(7,12,16,0.55); border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px);
}
.photo-credit:hover { color: #fff; }
.stays-credit { text-align: center; color: var(--text-muted); font-size: 0.78rem; margin-top: 18px; line-height: 1.5; }
.stays-credit a { color: var(--text-secondary); }
