/* HappieStays Legal Pages — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #F97316;
  --primary-hover: #EA580C;
  --primary-light: #FFF7ED;
  --primary-border: #FDBA74;
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --font: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; font-family: var(--font); }
body { background: var(--bg); color: var(--text-primary); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
footer .logo { color: #fff; }
.logo span { color: var(--primary); }

.logo:hover img {
  transform: scale(1.05);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff;
  padding: 9px 20px; border-radius: 30px;
  font-weight: 700; font-size: 14px;
  transition: all .3s;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.nav-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* HERO BANNER */
.page-hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 72px 24px 60px;
  text-align: center;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.15); color: #FB923C;
  border: 1px solid rgba(249,115,22,.3);
  padding: 6px 14px; border-radius: 30px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: 44px; font-weight: 800; color: #fff;
  letter-spacing: -1.5px; margin-bottom: 14px;
}
.page-hero p {
  font-size: 17px; color: #94A3B8;
  max-width: 480px; margin: 0 auto 24px; line-height: 1.6;
}
.badge-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #CBD5E1;
  padding: 6px 14px; border-radius: 30px;
  font-size: 13px; font-weight: 500;
}

/* TABS */
.page-tabs-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 64px; z-index: 99;
}
.page-tabs {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; display: flex; gap: 4px;
}
.page-tab {
  display: inline-block;
  padding: 14px 22px;
  font-size: 14px; font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.page-tab:hover { color: var(--primary); }
.page-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* LAYOUT */
.layout {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px; align-items: start;
}

/* SIDEBAR */
.sidebar { position: sticky; top: 136px; }
.toc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-sm);
}
.toc-card h3 {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 16px;
}
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 8px 10px; border-radius: 8px; transition: all .2s;
}
.toc-list a:hover, .toc-list a.active { background: var(--primary-light); color: var(--primary); }
.toc-num {
  width: 22px; height: 22px; background: var(--bg);
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.toc-list a.active .toc-num { background: rgba(249,115,22,.15); }
.updated-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 8px; padding: 10px 12px; margin-top: 20px;
  font-size: 12px; color: var(--primary-hover); font-weight: 600;
}

/* MAIN CONTENT */
.content { display: flex; flex-direction: column; gap: 8px; }
.section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
  scroll-margin-top: 160px;
}
.section-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-border); }
.section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 10px; font-size: 13px; font-weight: 800; margin-bottom: 16px;
}
.section-card h2 { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; }
.section-card p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text-muted); line-height: 1.65;
}
.bullet-dot {
  width: 22px; height: 22px;
  background: var(--primary-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.bullet-dot i { font-size: 9px; color: var(--primary); }
strong { color: var(--text-primary); font-weight: 700; }

/* CONTACT CARD */
.contact-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 20px; padding: 36px 40px; color: #fff;
  scroll-margin-top: 160px;
}
.contact-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.contact-card p { color: #94A3B8; font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; transition: all .3s;
}
.contact-link:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* FOOTER */
footer { background: #0F172A; color: #fff; padding: 64px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: #94A3B8; font-size: 14px; line-height: 1.65; margin: 16px 0; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: 13px;
}
.social-links a:hover { background: var(--primary); transform: translateY(-2px); }
.foot-head { font-size: 13px; font-weight: 700; margin-bottom: 16px; color: #E2E8F0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #64748B; font-size: 13px; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; text-align: center;
  color: #475569; font-size: 13px;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%;
  width: 44px; height: 44px;
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
  cursor: pointer; z-index: 999; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-links { display: none; }
  .page-hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-card, .contact-card { padding: 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 52px 24px 40px; }
}
