/* ============================================
   PGverse — Main Stylesheet
   Design: Clean, editorial, Gen-Z minimal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg: #F7F5F2;
  --white: #FFFFFF;
  --text: #0F0F0F;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --accent: #6C3FE8;
  --accent-soft: #EDE8FD;
  --accent-dark: #4A28B8;
  --border: #E4E0DB;
  --border-strong: #C8C3BB;
  --card-bg: #FFFFFF;
  --tag-bg: #F0EDE8;
  --success: #1A8A5A;
  --warning: #D4870A;
  --danger: #CC2C2C;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);

  --nav-h: 70px;
  --max-w: 1200px;
  --section-pad: 90px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section-sm { padding: 60px 0; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tag-bg); color: var(--text-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 13px; border-radius: var(--radius-pill);
}
.tag.accent { background: var(--accent-soft); color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-soft); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 7px 14px; border-radius: var(--radius-pill);
  transition: all 0.18s ease; display: flex; align-items: center; gap: 6px;
}
.nav-links a i { font-size: 13px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--tag-bg); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 20px 24px; z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex !important; flex-direction: column; }
.mobile-menu a {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a i { width: 18px; color: var(--text-muted); font-size: 14px; }
.mobile-menu .mobile-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu .mobile-cta .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1); margin-bottom: 14px;
}
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 240px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6); font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.55); transition: color 0.18s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .footer-legal { display: flex; gap: 20px; }
.footer-bottom .footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.18s; }
.footer-bottom .footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ============================================
   HERO
   ============================================ */
.hero { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 100px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.hero-label { margin-bottom: 22px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.02em; color: var(--text); margin-bottom: 20px;
}
.hero-headline .hl {
  color: var(--accent); position: relative; display: inline-block;
}
.hero-headline .hl::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px; background: var(--accent); border-radius: 2px; opacity: 0.3;
}
.hero-sub { font-size: 16px; color: var(--text-muted); line-height: 1.65; max-width: 420px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  background: var(--accent-soft); margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--accent);
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-text { font-size: 13px; color: var(--text-muted); }
.trust-text strong { color: var(--text); }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,5,30,0.45) 0%, transparent 55%);
}

.lead-card {
  position: absolute; bottom: -30px; left: -30px; right: 30px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px;
  border: 1px solid var(--border);
}
.lead-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.lead-field { display: flex; flex-direction: column; gap: 5px; }
.lead-field.full { grid-column: 1/-1; }
.lead-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.lead-field input, .lead-field select {
  height: 40px; padding: 0 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--text); background: var(--bg);
  outline: none; transition: border-color 0.18s; -webkit-appearance: none; appearance: none;
}
.lead-field input:focus, .lead-field select:focus { border-color: var(--accent); background: var(--white); }
.lead-field input::placeholder { color: var(--text-light); }
.lead-submit {
  width: 100%; height: 44px; margin-top: 4px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
}
.lead-submit:hover { background: var(--accent-dark); }

.hero-badge {
  position: absolute; top: 20px; right: -16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
}
.badge-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; flex-shrink: 0;
}
.badge-text strong { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2; display: block; }
.badge-text span { font-size: 11px; color: var(--text-muted); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 3px; }

/* ============================================
   BROWSE PGs
   ============================================ */
.browse-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; gap: 20px; flex-wrap: wrap;
}
.browse-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em;
}
.browse-title span { color: var(--accent); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 500;
  color: var(--text-muted); background: var(--white); cursor: pointer; transition: all 0.18s;
}
.filter-chip i { font-size: 12px; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pg-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s ease; cursor: pointer;
}
.pg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }

.pg-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pg-card:hover .pg-card-img img { transform: scale(1.04); }

.pg-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white); border-radius: var(--radius-pill);
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: 5px;
}
.pg-badge i { color: #F5A623; font-size: 10px; }

.pg-type-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill);
  padding: 4px 11px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pg-type-badge.girls { background: #D44D8A; }
.pg-type-badge.boys { background: #2B6CB0; }
.pg-type-badge.coliving { background: #2E7D5B; }

.pg-card-body { padding: 18px 20px 20px; }
.pg-card-location { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-muted); margin-bottom: 6px; }
.pg-card-location i { font-size: 11px; color: var(--accent); }
.pg-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }

.pg-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.amenity-pill {
  display: flex; align-items: center; gap: 5px;
  background: var(--tag-bg); border-radius: var(--radius-pill);
  padding: 4px 10px; font-size: 11.5px; color: var(--text-muted); font-weight: 500;
}
.amenity-pill i { font-size: 10px; }

.pg-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.pg-price strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text); line-height: 1; display: block; }
.pg-price span { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: block; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.hiw-section { background: var(--white); }
.section-label { text-align: center; margin-bottom: 14px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; text-align: center; margin-bottom: 12px;
}
.section-sub { font-size: 15px; color: var(--text-muted); text-align: center; max-width: 480px; margin: 0 auto 52px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--border); z-index: 0;
}
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent); margin-bottom: 20px; transition: all 0.2s;
}
.step-item:hover .step-icon { background: var(--accent-soft); border-color: var(--accent); }
.step-num {
  position: absolute; top: -6px; right: calc(50% - 40px);
  width: 20px; height: 20px; background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   FEATURES
   ============================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px; transition: all 0.22s;
}
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px; margin-bottom: 18px;
}
.feature-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   LOCATIONS
   ============================================ */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.location-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.location-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.location-card:hover img { transform: scale(1.06); }
.location-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,4,24,0.72) 0%, rgba(8,4,24,0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 18px;
}
.location-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.location-count { font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.location-count i { font-size: 11px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars i { color: #F5A623; font-size: 13px; }
.testi-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  color: var(--accent); flex-shrink: 0;
}
.testi-info strong { font-size: 14px; font-weight: 600; color: var(--text); display: block; }
.testi-info span { font-size: 12px; color: var(--text-muted); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band { background: var(--text); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: #fff;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px;
}
.cta-copy p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 420px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; }
  .lead-card { left: 0; right: 0; bottom: -24px; }
  .hero-badge { top: 16px; right: 16px; }
  .hero-sub { max-width: 100%; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-h: 62px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 70px; }
  .hero-headline { font-size: 34px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .pg-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-copy p { margin: 0 auto; }
  .cta-actions { justify-content: center; }
  .browse-header { flex-direction: column; align-items: flex-start; }
  .lead-row { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .lead-card { position: static; margin-top: 20px; border-radius: var(--radius-md); }
  .locations-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   FIND PG PAGE
   ============================================ */

.findpg-hero {
  padding-top: calc(var(--nav-h) + 50px);
  padding-bottom: 52px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.findpg-hero-inner { max-width: 900px; }
.findpg-hero-copy { margin-bottom: 32px; }
.findpg-hero-copy .tag { margin-bottom: 16px; }
.findpg-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px;
}
.findpg-headline .hl { color: var(--accent); }
.findpg-hero-copy p { font-size: 15px; color: var(--text-muted); max-width: 520px; }

.findpg-search-bar {
  display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: 6px 6px 6px 0; overflow: hidden;
}
.search-field {
  display: flex; align-items: center; gap: 10px;
  flex: 1; padding: 10px 20px; min-width: 0;
}
.search-field .search-icon { color: var(--accent); font-size: 14px; flex-shrink: 0; }
.search-field select, .search-field input {
  border: none; background: transparent; outline: none;
  font-size: 14px; font-weight: 500; color: var(--text);
  width: 100%; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.search-field input[type="date"] { color: var(--text-muted); }
.search-field input[type="date"]:valid { color: var(--text); }
.search-divider { width: 1px; height: 32px; background: var(--border-strong); flex-shrink: 0; }
.findpg-search-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-xl); padding: 14px 28px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; flex-shrink: 0; font-family: var(--font-body);
}
.findpg-search-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.search-quick-chips { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.quick-chip-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.quick-chip {
  padding: 5px 14px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 12.5px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 0.18s; font-family: var(--font-body);
}
.quick-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.findpg-body { padding: 40px 0 80px; }
.findpg-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.findpg-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); }

.filter-toggle-btn {
  display: none; width: 100%; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 13px 18px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: var(--font-body); position: relative;
}
.filter-count-badge {
  position: absolute; right: 16px; background: var(--accent); color: #fff;
  border-radius: var(--radius-pill); padding: 2px 8px; font-size: 11px; font-weight: 700;
}
.sidebar-inner { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.sidebar-header h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); display: flex; gap: 8px; align-items: center; }
.sidebar-header h3 i { color: var(--accent); }
.clear-all-btn {
  background: none; border: none; font-size: 12px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; font-family: var(--font-body); transition: color 0.18s; padding: 0;
}
.clear-all-btn:hover { color: var(--danger); }

.filter-group { padding: 20px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.filter-checkboxes { display: flex; flex-direction: column; gap: 10px; }
.filter-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--text);
  cursor: pointer; user-select: none;
}
.filter-check input[type="checkbox"] { display: none; }
.checkmark {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border-strong); background: var(--bg); flex-shrink: 0;
  transition: all 0.18s; display: flex; align-items: center; justify-content: center;
}
.filter-check input:checked + .checkmark { background: var(--accent); border-color: var(--accent); }
.filter-check input:checked + .checkmark::after {
  content: ''; display: block; width: 5px; height: 8px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg); margin-top: -2px;
}
.filter-check i { font-size: 12px; color: var(--text-muted); }

.budget-range-wrap { width: 100%; }
.budget-display { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.range-track { position: relative; height: 20px; }
.range-slider {
  position: absolute; width: 100%; height: 4px; top: 50%;
  transform: translateY(-50%); -webkit-appearance: none; appearance: none;
  background: transparent; pointer-events: none; outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18); pointer-events: all; cursor: pointer;
}
.range-track::before {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  left: 0; right: 0; height: 4px; background: var(--border); border-radius: 2px;
}

.rating-filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rating-btn {
  padding: 6px 13px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text-muted); background: var(--bg);
  cursor: pointer; transition: all 0.18s; font-family: var(--font-body);
}
.rating-btn i { color: #F5A623; font-size: 11px; }
.rating-btn.active, .rating-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.rating-btn.active i, .rating-btn:hover i { color: #fff; }

.apply-filters-btn {
  width: calc(100% - 40px); margin: 0 20px 20px; height: 44px;
  background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); transition: all 0.2s;
}
.apply-filters-btn:hover { background: var(--accent-dark); }

.results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 16px; flex-wrap: wrap;
}
.results-count { font-size: 15px; font-weight: 700; color: var(--text); }
.results-count strong { color: var(--accent); }
.results-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.results-controls { display: flex; align-items: center; gap: 12px; }

.view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-btn {
  padding: 8px 11px; background: var(--white); border: none; cursor: pointer;
  color: var(--text-muted); font-size: 14px; transition: all 0.18s; font-family: var(--font-body);
}
.view-btn.active { background: var(--accent); color: #fff; }
.sort-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 14px;
}
.sort-wrap label { color: var(--text-muted); font-size: 14px; flex-shrink: 0; }
.sort-wrap select {
  border: none; background: transparent; outline: none;
  font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; -webkit-appearance: none; appearance: none; font-family: var(--font-body);
}

.active-filter-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-tag {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-size: 12.5px; font-weight: 600;
}
.active-tag .remove-tag {
  background: none; border: none; cursor: pointer; color: var(--accent);
  font-size: 12px; padding: 0; line-height: 1; display: flex; align-items: center;
}

.filter-bar-results {
  margin-bottom: 28px; overflow-x: auto; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.filter-bar-results::-webkit-scrollbar { height: 3px; }
.filter-bar-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.pg-wishlist {
  position: absolute; bottom: 12px; right: 12px;
  width: 32px; height: 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 14px; transition: all 0.2s;
}
.pg-wishlist:hover, .pg-wishlist.saved { color: #D44D8A; border-color: #D44D8A; }

.pg-grid.list-view { grid-template-columns: 1fr; gap: 16px; }
.pg-grid.list-view .pg-card { display: grid; grid-template-columns: 280px 1fr; }
.pg-grid.list-view .pg-card-img { aspect-ratio: auto; height: 100%; min-height: 180px; }
.pg-grid.list-view .pg-card-body { padding: 20px 24px; }

.no-results { text-align: center; padding: 80px 20px; }
.no-results-icon { font-size: 52px; color: var(--border-strong); margin-bottom: 16px; }
.no-results h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.no-results p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.load-more-wrap { text-align: center; margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.load-meta { font-size: 13px; color: var(--text-muted); }
.load-meta strong { color: var(--text); }

.findpg-cta-strip { background: var(--text); padding: 24px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip-copy { display: flex; align-items: center; gap: 16px; }
.cta-strip-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(108,63,232,0.2); display: flex; align-items: center; justify-content: center;
  color: #a78bfa; font-size: 20px; flex-shrink: 0;
}
.cta-strip-copy strong { color: #fff; font-size: 15px; font-weight: 700; display: block; margin-bottom: 2px; }
.cta-strip-copy span { font-size: 13px; color: rgba(255,255,255,0.55); }
.cta-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .findpg-layout { grid-template-columns: 240px 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .findpg-hero { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 32px; }
  .findpg-headline { font-size: 28px; }
  .findpg-search-bar { flex-direction: column; align-items: stretch; border-radius: var(--radius-lg); padding: 4px; }
  .search-field { padding: 12px 16px; }
  .search-divider { display: none; }
  .findpg-search-btn { border-radius: var(--radius-md); margin: 4px; padding: 14px; justify-content: center; }
  .findpg-layout { grid-template-columns: 1fr; }
  .findpg-sidebar { position: static; }
  .filter-toggle-btn { display: flex; }
  .sidebar-inner { display: none; margin-top: 12px; }
  .sidebar-inner.open { display: block; }
  .results-header { flex-direction: column; align-items: flex-start; }
  .results-controls { width: 100%; justify-content: space-between; }
  .pg-grid.list-view .pg-card { grid-template-columns: 1fr; }
  .pg-grid.list-view .pg-card-img { min-height: 200px; }
  .findpg-cta-strip { padding: 28px 0; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip-actions { width: 100%; flex-direction: column; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }
}


/* ============================================
   PG DETAIL PAGE
   ============================================ */

.detail-main { padding-top: var(--nav-h); padding-bottom: 80px; }

/* Breadcrumb */
.detail-breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); transition: color 0.18s; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner i.fa-chevron-right { font-size: 10px; }
.breadcrumb-inner span { color: var(--text); font-weight: 500; }

/* Gallery */
.detail-gallery {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 28px 0 36px;
  border-radius: var(--radius-xl); overflow: hidden;
  width: 100%; max-width: 100%;
}
.gallery-main {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-main:hover img { transform: scale(1.02); }

.gallery-thumbs {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto; gap: 6px;
}
.gallery-thumb {
  position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
}
.gallery-thumb:last-child { border-radius: 0 0 var(--radius-xl) 0; }
.gallery-thumb:nth-child(2) { border-radius: 0 var(--radius-xl) 0 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: all 0.25s; }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-thumb.active::after {
  content: ''; position: absolute; inset: 0;
  border: 2.5px solid var(--accent); border-radius: 4px; pointer-events: none;
}

.gallery-type-badge {
  position: absolute; top: 16px; left: 16px;
  background: #D44D8A; color: #fff;
  border-radius: var(--radius-pill); padding: 5px 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.gallery-type-badge.boys { background: #2B6CB0; }
.gallery-type-badge.coliving { background: #2E7D5B; }

.gallery-wishlist {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 16px; transition: all 0.2s;
}
.gallery-wishlist:hover, .gallery-wishlist.saved { color: #D44D8A; border-color: #D44D8A; }

.gallery-all-photos {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(255,255,255,0.95); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: all 0.2s; font-family: var(--font-body);
}
.gallery-all-photos:hover { background: #fff; box-shadow: var(--shadow-sm); }

/* Layout */
.detail-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 48px; align-items: start;
  width: 100%; max-width: 100%; overflow: hidden;
}

/* Title block */
.detail-title-block { margin-bottom: 24px; }
.detail-location-line {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 8px;
}
.detail-location-line i { color: var(--accent); font-size: 12px; }
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.detail-meta-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.detail-rating {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600;
}
.detail-rating i { color: #F5A623; font-size: 13px; }
.detail-review-count { color: var(--text-muted); text-decoration: underline; font-weight: 500; font-size: 13px; }
.detail-meta-sep { color: var(--border-strong); }
.detail-verified { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--success); font-weight: 600; }
.detail-verified i { font-size: 12px; }
.detail-share-btn {
  background: none; border: none; cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--text-muted); display: flex; align-items: center; gap: 5px; padding: 0;
  font-family: var(--font-body); transition: color 0.18s;
}
.detail-share-btn:hover { color: var(--accent); }

/* Tabs */
.detail-tabs {
  display: flex; gap: 0; border-bottom: 1.5px solid var(--border);
  margin-bottom: 32px; overflow-x: auto;
}
.detail-tab {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  padding: 12px 20px; white-space: nowrap; border-bottom: 2px solid transparent;
  margin-bottom: -1.5px; transition: all 0.18s; font-family: var(--font-body);
}
.detail-tab:hover { color: var(--text); }
.detail-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Detail sections */
.detail-section { margin-bottom: 40px; }
.detail-section-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.detail-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }

/* Quick stats */
.detail-quick-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-bottom: 36px;
}
.quick-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 18px;
}
.quick-stat > i {
  font-size: 22px; color: var(--accent);
  width: 36px; flex-shrink: 0; text-align: center;
}
.quick-stat strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; line-height: 1.3; }
.quick-stat span { font-size: 12px; color: var(--text-muted); }

/* Highlights */
.detail-highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 20px;
}
.highlight-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  background: var(--tag-bg); border-radius: var(--radius-sm); padding: 10px 14px;
}
.highlight-item i { color: var(--accent); font-size: 13px; }

/* Rules */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rule-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; padding: 10px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.rule-item i { font-size: 12px; flex-shrink: 0; }
.rule-item.good { color: var(--success); background: rgba(26,138,90,0.05); border-color: rgba(26,138,90,0.15); }
.rule-item.good i { color: var(--success); }
.rule-item.bad { color: var(--danger); background: rgba(204,44,44,0.05); border-color: rgba(204,44,44,0.15); }
.rule-item.bad i { color: var(--danger); }
.rule-item.neutral { color: var(--text-muted); }
.rule-item.neutral i { color: var(--warning); }

/* Amenities full grid */
.amenities-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amenity-full-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 18px;
  transition: border-color 0.18s;
}
.amenity-full-item:hover { border-color: var(--accent); }
.amenity-full-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px; flex-shrink: 0;
}
.amenity-full-item strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.amenity-full-item span { font-size: 12px; color: var(--text-muted); }

/* Rooms */
.rooms-list { display: flex; flex-direction: column; gap: 20px; }
.room-card {
  display: grid; grid-template-columns: 180px 1fr;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.22s;
}
.room-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.room-card-img { overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.room-card-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.room-card-top h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.room-card-top p { font-size: 12.5px; color: var(--text-muted); }
.room-card-top p i { font-size: 11px; }
.room-price-block { text-align: right; flex-shrink: 0; }
.room-price-block strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text); display: block; line-height: 1; }
.room-price-block span { font-size: 12px; color: var(--text-muted); }
.room-price-block em { font-size: 11px; color: var(--text-light); font-style: normal; display: block; }
.room-includes { display: flex; flex-wrap: wrap; gap: 8px; }
.room-includes span {
  font-size: 12px; font-weight: 500; color: var(--success);
  background: rgba(26,138,90,0.08); border-radius: var(--radius-pill);
  padding: 3px 10px; display: flex; align-items: center; gap: 4px;
}
.room-includes span i { font-size: 10px; }

/* Reviews */
.reviews-summary {
  display: flex; align-items: flex-start; gap: 40px;
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.reviews-score { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 100px; }
.score-big { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--text); line-height: 1; }
.score-stars { display: flex; gap: 3px; }
.score-stars i { color: #F5A623; font-size: 16px; }
.score-total { font-size: 13px; color: var(--text-muted); }
.reviews-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 10px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-bar-row > span:first-child { width: 100px; flex-shrink: 0; color: var(--text-muted); }
.review-bar-row > span:last-child { width: 28px; font-weight: 700; color: var(--text); text-align: right; }
.bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; }

.reviews-list { display: flex; flex-direction: column; gap: 24px; }
.review-item { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .testi-avatar { width: 42px; height: 42px; }
.review-author strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.review-author span { font-size: 12px; color: var(--text-muted); }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-style: italic; }

/* Map */
.map-embed-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 24px; aspect-ratio: 16/6;
  width: 100%; max-width: 100%;
}
.map-embed-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Nearby */
.nearby-list { display: flex; flex-direction: column; gap: 0; }
.nearby-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.nearby-item:last-child { border-bottom: none; }
.nearby-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 15px; flex-shrink: 0;
}
.nearby-item > div { flex: 1; }
.nearby-item strong { font-size: 14px; font-weight: 600; color: var(--text); display: block; }
.nearby-item span { font-size: 12px; color: var(--text-muted); }
.nearby-dist { font-size: 12.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---- RIGHT SIDEBAR ---- */
.detail-right { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 16px; }

.request-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 26px 24px;
  box-shadow: var(--shadow-md);
}

.request-price-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 6px;
}
.request-price strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text); }
.request-price span { font-size: 13px; color: var(--text-muted); margin-left: 4px; }
.request-rating { font-size: 13px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.request-rating i { color: #F5A623; }
.request-rating a { color: var(--text-muted); text-decoration: underline; font-weight: 500; }

.request-avail {
  font-size: 12px; color: var(--success); font-weight: 600;
  display: flex; align-items: center; gap: 6px; margin-bottom: 20px;
}

/* Room options */
.request-room-select { margin-bottom: 16px; }
.request-room-select > label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px; display: block;
}
.room-options { display: flex; flex-direction: column; gap: 8px; }
.room-option { cursor: pointer; }
.room-option input { display: none; }
.room-option-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); transition: all 0.18s;
}
.room-option input:checked + .room-option-inner {
  border-color: var(--accent); background: var(--accent-soft);
}
.room-option:hover .room-option-inner { border-color: var(--accent); }
.room-option-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.room-option-price { font-size: 13px; font-weight: 700; color: var(--accent); }

/* Request fields */
.request-field-group { margin-bottom: 13px; }
.request-field-group > label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.request-field-group input {
  width: 100%; height: 42px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--text); background: var(--bg);
  outline: none; transition: border-color 0.18s; font-family: var(--font-body);
}
.request-field-group input:focus { border-color: var(--accent); background: var(--white); }
.request-field-group input::placeholder { color: var(--text-light); }

.phone-input-wrap { display: flex; align-items: stretch; gap: 0; }
.phone-prefix {
  display: flex; align-items: center;
  background: var(--tag-bg); border: 1.5px solid var(--border); border-right: none;
  padding: 0 12px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); flex-shrink: 0;
}
.phone-input-wrap input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.request-submit-btn {
  width: 100%; height: 50px; margin-top: 4px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-md); font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; font-family: var(--font-body); letter-spacing: 0.01em;
}
.request-submit-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.request-note {
  font-size: 12px; color: var(--text-muted); text-align: center;
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.request-note i { font-size: 11px; color: var(--success); }

/* Price breakdown */
.price-breakdown {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
}
.price-breakdown h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.breakdown-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--border);
}
.breakdown-row:last-of-type { border-bottom: none; }
.breakdown-row > span:first-child { color: var(--text-muted); }
.included-tag { font-size: 11px; font-weight: 600; color: var(--success); background: rgba(26,138,90,0.1); padding: 3px 9px; border-radius: var(--radius-pill); }
.breakdown-total {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--border-strong);
}
.breakdown-total strong { font-size: 18px; color: var(--accent); }

/* Owner card */
.owner-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.owner-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px; flex-shrink: 0;
}
.owner-info { flex: 1; }
.owner-info strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.owner-info span { font-size: 12px; color: var(--text-muted); }
.owner-stats { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.owner-stats i { color: #F5A623; font-size: 11px; }

/* Mobile sticky bar */
.detail-mobile-sticky {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 14px 20px; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.mobile-sticky-price strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text); }
.mobile-sticky-price span { font-size: 12px; color: var(--text-muted); }
.detail-mobile-sticky .btn { flex: 1; justify-content: center; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.45); align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px 32px; max-width: 420px; width: 100%; text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon { font-size: 52px; margin-bottom: 16px; }
.modal-icon.success { color: var(--success); }
.modal-box h3 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.modal-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.modal-detail {
  background: var(--bg); border-radius: var(--radius-md);
  padding: 14px 18px; font-size: 13px; color: var(--text-muted);
  text-align: left; margin-bottom: 24px; line-height: 1.8;
}
.modal-detail strong { color: var(--text); }
.modal-box .btn { width: 100%; justify-content: center; }

/* ============================================
   DETAIL — RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr 340px; gap: 32px; }
  .detail-gallery { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 768px) {
  /* ── Prevent global overflow ── */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }

  /* ── Container ── */
  .container { padding: 0 16px !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; }

  /* ── Gallery ── */
  .detail-gallery { display: block !important; width: 100% !important; overflow: hidden !important; margin: 20px 0 24px !important; border-radius: var(--radius-lg) !important; }
  .gallery-main { border-radius: var(--radius-lg) !important; aspect-ratio: 4/2.5 !important; overflow: hidden !important; width: 100% !important; }
  .gallery-main img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .gallery-thumbs { display: flex !important; flex-direction: row !important; overflow-x: auto !important; overflow-y: hidden !important; gap: 8px !important; margin-top: 8px !important; width: 100% !important; grid-template-columns: unset !important; grid-template-rows: unset !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; padding-bottom: 2px !important; }
  .gallery-thumbs::-webkit-scrollbar { display: none !important; }
  .gallery-thumb { width: 80px !important; min-width: 80px !important; height: 60px !important; flex-shrink: 0 !important; aspect-ratio: unset !important; border-radius: 8px !important; overflow: hidden !important; }
  .gallery-thumb:nth-child(2), .gallery-thumb:last-child { border-radius: 8px !important; }
  .gallery-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

  /* ── Layout fix ── */
  .detail-layout { display: block !important; width: 100% !important; max-width: 100% !important; overflow: hidden !important; gap: 0 !important; }
  .detail-left { width: 100% !important; min-width: 0 !important; max-width: 100% !important; overflow: hidden !important; box-sizing: border-box !important; }
  .detail-right { display: none !important; }
  .detail-mobile-sticky { display: flex !important; }
  .detail-main { padding-bottom: 100px; }

  /* ── Address wrap ── */
  .detail-location-line { white-space: normal !important; word-break: break-word !important; overflow-wrap: break-word !important; flex-wrap: wrap !important; font-size: 12px !important; line-height: 1.6 !important; max-width: 100% !important; }

  /* ── Title ── */
  .detail-title { font-size: 22px !important; }
  .detail-meta-row { flex-wrap: wrap !important; gap: 5px !important; }
  .detail-meta-sep { display: none !important; }
  .detail-verified, .detail-share-btn, .detail-review-count { font-size: 12px !important; }

  /* ── Tabs scrollable ── */
  .detail-tabs { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; max-width: 100% !important; width: 100% !important; gap: 0 !important; box-sizing: border-box !important; }
  .detail-tabs::-webkit-scrollbar { display: none !important; }
  .detail-tab { flex: 0 0 auto !important; padding: 10px 14px !important; font-size: 13px !important; white-space: nowrap !important; border-bottom: 2.5px solid transparent !important; margin-bottom: -2px !important; }
  .detail-tab.active { color: var(--accent) !important; border-bottom-color: var(--accent) !important; }

  /* ── Tab panels ── */
  .tab-panel { width: 100% !important; max-width: 100% !important; overflow: hidden !important; box-sizing: border-box !important; }

  /* ── Stats ── */
  .detail-quick-stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; width: 100% !important; }
  .quick-stat { padding: 12px 14px !important; gap: 10px !important; overflow: hidden !important; min-width: 0 !important; box-sizing: border-box !important; }
  .quick-stat strong { font-size: 13px !important; white-space: normal !important; word-break: break-word !important; }

  /* ── Highlights 1 col ── */
  .detail-highlights { grid-template-columns: 1fr !important; }
  .highlight-item { word-break: break-word !important; overflow-wrap: break-word !important; font-size: 13px !important; }

  /* ── Rules 1 col ── */
  .rules-grid { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; }
  .rule-item { width: 100% !important; box-sizing: border-box !important; word-break: break-word !important; }

  /* ── Amenities 1 col ── */
  .amenities-full-grid { grid-template-columns: 1fr !important; width: 100% !important; }
  .amenity-full-item { box-sizing: border-box !important; min-width: 0 !important; }

  /* ── Rooms ── */
  .room-card { display: block !important; width: 100% !important; overflow: hidden !important; }
  .room-card-img { height: 180px !important; width: 100% !important; overflow: hidden !important; }
  .room-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .room-card-body { padding: 14px 16px !important; width: 100% !important; box-sizing: border-box !important; }
  .room-includes { flex-wrap: wrap !important; gap: 6px !important; }
  .room-card-top { flex-wrap: wrap !important; }
  .room-price-block { min-width: 0 !important; }

  /* ── Reviews ── */
  .reviews-summary { flex-direction: column !important; gap: 24px !important; }
  .reviews-score { flex-direction: row !important; gap: 16px !important; }
  .score-big { font-size: 40px !important; }
  .review-bar-row > span:first-child { width: 80px !important; font-size: 12px !important; }

  /* ── Map ── */
  .map-embed-wrap { aspect-ratio: unset !important; height: 240px !important; width: 100% !important; }
  .map-embed-wrap iframe { width: 100% !important; height: 100% !important; }

  /* ── Nearby ── */
  .nearby-item { flex-wrap: wrap !important; }

  /* ── Section ── */
  .detail-section { margin-bottom: 24px !important; overflow: hidden !important; }
  .detail-section-title { font-size: 18px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px !important; }
  .detail-tab { padding: 9px 11px !important; font-size: 12px !important; }
  .detail-quick-stats { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .quick-stat { padding: 10px 12px !important; }
  .quick-stat > i { font-size: 18px !important; width: 28px !important; }
  .room-card-img { height: 160px !important; }
  .detail-title { font-size: 20px !important; }
  .detail-location-line { font-size: 11px !important; }
}
/* ============================================
   PAGE HERO (Shared — locations, about, contact)
   ============================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-hero-inner {
  max-width: 640px;
}
.page-hero-inner .tag { margin-bottom: 18px; }
.page-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em; color: var(--text); margin-bottom: 16px;
}
.page-hero-inner h1 .hl { color: var(--accent); }
.page-hero-inner p {
  font-size: 16px; color: var(--text-muted); line-height: 1.65; max-width: 520px;
}

/* ============================================
   LOCATIONS PAGE
   ============================================ */
.city-tabs {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.city-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.18s; font-family: var(--font-body);
}
.city-tab i { font-size: 12px; }
.city-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.city-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.loc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.25s ease; display: block;
  text-decoration: none; color: inherit;
}
.loc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.loc-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.loc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.loc-card:hover .loc-img-wrap img { transform: scale(1.06); }

.loc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,5,30,0.38) 0%, transparent 60%);
}
.loc-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--accent); color: #fff;
  padding: 4px 11px; border-radius: var(--radius-pill);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}

.loc-info { padding: 18px 20px 20px; }

.loc-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.loc-city { font-size: 11.5px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.loc-count { font-size: 11.5px; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.loc-count i { font-size: 11px; }

.loc-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.25; }
.loc-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.loc-price-range { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.loc-from { font-size: 12px; color: var(--text-muted); }
.loc-price-range strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--text); }

.loc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.loc-tags span {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: var(--radius-pill); background: var(--tag-bg); color: var(--text-muted);
}

.loc-empty {
  text-align: center; padding: 80px 24px; color: var(--text-muted);
}
.loc-empty i { font-size: 40px; color: var(--border-strong); margin-bottom: 18px; display: block; }
.loc-empty h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* Area Tips */
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tip-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px; transition: all 0.22s;
}
.tip-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.tip-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px; margin-bottom: 16px;
}
.tip-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tip-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Locations responsive */
@media (max-width: 1200px) {
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .page-hero { padding-bottom: 44px; }
  .page-hero-inner h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  .loc-grid { grid-template-columns: 1fr; }
  .city-tabs { gap: 6px; }
  .city-tab { padding: 8px 16px; font-size: 12.5px; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero { background: var(--bg); }

.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-split-img { position: relative; }
.about-split-img img {
  border-radius: var(--radius-xl); width: 100%;
  aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute; bottom: 20px; right: -16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 20px;
  box-shadow: var(--shadow-md); text-align: center;
}
.about-img-badge strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text); display: block; }
.about-img-badge span { font-size: 12px; color: var(--text-muted); }

.about-split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px;
}
.about-split-copy h2 .hl { color: var(--accent); }
.about-split-copy p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

.about-values { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.about-val {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.about-val i { color: var(--success); font-size: 15px; flex-shrink: 0; }

/* Steps for about page (3-col) */
.about-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
}
.about-steps::before { display: none; }
.step-connector {
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 22px; color: var(--border-strong); font-size: 18px;
}

.stats-about { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }

/* Association block */
.assoc-block {
  display: flex; gap: 36px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px 48px;
}
.assoc-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 28px; flex-shrink: 0;
}
.assoc-copy h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 12px;
}
.assoc-copy p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.assoc-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.assoc-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text);
  background: var(--white); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.assoc-badge i { color: var(--success); font-size: 11px; }

/* About responsive */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-img-badge { right: 16px; bottom: 16px; }
  .about-steps { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .assoc-block { flex-direction: column; padding: 32px; }
}
@media (max-width: 768px) {
  .assoc-block { padding: 28px 24px; }
  .assoc-copy h2 { font-size: 22px; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 56px; align-items: start;
}

.contact-form-header { margin-bottom: 28px; }
.contact-form-header h2 {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--text); line-height: 1.15; margin-bottom: 8px;
}
.contact-form-header p { font-size: 14px; color: var(--text-muted); }

/* Intent tabs */
.contact-intent-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.intent-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.18s; font-family: var(--font-body);
}
.intent-tab i { font-size: 12px; }
.intent-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.intent-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Form fields */
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-field:last-of-type { margin-bottom: 0; }
.contact-field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
}
.contact-field label i { font-size: 11px; color: var(--accent); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: var(--bg);
  outline: none; transition: border-color 0.18s;
  font-family: var(--font-body); resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--accent); background: var(--white);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text-light); }

.contact-submit-btn {
  width: 100%; height: 52px; margin-top: 6px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-md); font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; font-family: var(--font-body);
}
.contact-submit-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Success state */
.contact-success {
  text-align: center; padding: 60px 32px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.success-icon { font-size: 56px; color: var(--success); margin-bottom: 18px; }
.contact-success h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.contact-success p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* Info column */
.contact-info-col { display: flex; flex-direction: column; gap: 14px; }

.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px;
  transition: all 0.2s;
}
.contact-info-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px; flex-shrink: 0;
}
.contact-info-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-info-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.contact-info-link {
  font-size: 13px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 5px; transition: gap 0.18s;
}
.contact-info-link:hover { gap: 8px; }
.contact-info-link i { font-size: 11px; }

.contact-social-block {
  padding: 18px 22px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-social-block p { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.contact-social-block .footer-social a {
  border-color: var(--border-strong); color: var(--text-muted);
}
.contact-social-block .footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: var(--accent); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 20px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  text-align: left; transition: color 0.18s;
}
.faq-q:hover { color: var(--accent); }
.faq-q i { font-size: 12px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-q[aria-expanded="true"] i { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-a.open { max-height: 200px; }
.faq-a p {
  padding: 0 20px 18px; font-size: 13.5px; color: var(--text-muted); line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Contact responsive */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-col { display: grid; grid-template-columns: repeat(2, 1fr); }
  .contact-social-block { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .contact-field-row { grid-template-columns: 1fr; }
  .contact-info-col { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-intent-tabs { gap: 6px; }
  .intent-tab { padding: 8px 14px; font-size: 12.5px; }
}


/* ============================================
   LEGAL PAGES — Privacy, Terms, Refund
   ============================================ */

/* Hero */
.legal-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 52px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.legal-hero-inner { max-width: 700px; }

.legal-doc-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.legal-doc-tag i { font-size: 13px; }

.legal-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 14px;
}
.legal-hero-inner p {
  font-size: 16px; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; max-width: 540px;
}

.legal-meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.legal-meta span {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-muted); font-weight: 500;
}
.legal-meta span i { color: var(--accent); font-size: 12px; }

/* Layout */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 96px;
}

/* Sidebar TOC */
.legal-toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.toc-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
}
.toc-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 7px; margin-bottom: 14px;
}
.toc-label i { color: var(--accent); }
.toc-link {
  display: block; font-size: 13px; font-weight: 500; color: var(--text-muted);
  padding: 7px 10px; border-radius: var(--radius-sm);
  transition: all 0.18s; border-left: 2px solid transparent;
  margin-bottom: 2px;
}
.toc-link:hover { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); }
.toc-link.active { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); font-weight: 600; }

.toc-doc-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  padding: 8px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); margin-bottom: 6px;
  transition: all 0.18s;
}
.toc-doc-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.toc-doc-link i { font-size: 12px; color: var(--accent); }

/* Article */
.legal-content { min-width: 0; }

.legal-intro-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--accent-soft); border: 1px solid rgba(108,63,232,0.2);
  border-radius: var(--radius-lg); padding: 18px 22px;
  margin-bottom: 48px;
}
.legal-intro-box > i { color: var(--accent); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.legal-intro-box p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* Section */
.legal-section { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.legal-section-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.legal-section-num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.legal-section-header h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; color: var(--text);
  line-height: 1.2; letter-spacing: -0.01em;
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 22px 0 10px;
}
.legal-section p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.78; margin-bottom: 14px;
}
.legal-section p a { color: var(--accent); text-decoration: underline; }
.legal-section p strong { color: var(--text); }

/* List */
.legal-list { margin: 10px 0 16px; padding-left: 0; list-style: none; }
.legal-list li {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  padding: 7px 0 7px 22px; position: relative;
  border-bottom: 1px solid var(--border);
}
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.legal-list li strong { color: var(--text); }

/* Highlight boxes */
.legal-highlight-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--tag-bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px;
  margin: 20px 0;
}
.legal-highlight-box > i { font-size: 18px; color: var(--text-muted); flex-shrink: 0; margin-top: 2px; }
.legal-highlight-box p { font-size: 13.5px; color: var(--text); line-height: 1.65; margin: 0; }
.legal-highlight-box p strong { color: var(--text); }
.legal-highlight-box.success { background: rgba(26,138,90,0.08); border-color: rgba(26,138,90,0.2); }
.legal-highlight-box.success > i { color: var(--success); }
.legal-highlight-box.warning { background: rgba(212,135,10,0.08); border-color: rgba(212,135,10,0.2); }
.legal-highlight-box.warning > i { color: var(--warning); }

/* Table */
.legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table thead { background: var(--tag-bg); }
.legal-table th {
  padding: 13px 16px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-muted); vertical-align: middle;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: var(--bg); }

/* Cookie type badges */
.cookie-type {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
}
.cookie-type.essential { background: rgba(26,138,90,0.12); color: var(--success); }
.cookie-type.functional { background: rgba(108,63,232,0.12); color: var(--accent); }
.cookie-type.analytics { background: rgba(212,135,10,0.12); color: var(--warning); }
.cookie-type.marketing { background: rgba(204,44,44,0.12); color: var(--danger); }

/* Refund badge */
.refund-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
}
.refund-badge.yes { background: rgba(26,138,90,0.12); color: var(--success); }
.refund-badge.no { background: rgba(204,44,44,0.12); color: var(--danger); }
.refund-badge.partial { background: rgba(212,135,10,0.12); color: var(--warning); }

/* Use grid (Privacy page) */
.legal-use-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0;
}
.legal-use-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 18px;
  transition: all 0.2s;
}
.legal-use-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.legal-use-card > i { color: var(--accent); font-size: 18px; margin-bottom: 10px; display: block; }
.legal-use-card h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.legal-use-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Contact block (bottom of each legal page) */
.legal-contact-block { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.legal-contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px;
}
.legal-contact-item > i {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 15px; flex-shrink: 0;
}
.legal-contact-item div strong { font-size: 13px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.legal-contact-item div span, .legal-contact-item div a { font-size: 13px; color: var(--text-muted); }
.legal-contact-item div a { color: var(--accent); }
.legal-contact-item div a:hover { text-decoration: underline; }

/* Refund steps */
.refund-steps { display: flex; flex-direction: column; gap: 0; margin: 20px 0; }
.refund-step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.refund-step:last-child { border-bottom: none; }
.refund-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.refund-step-body h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.refund-step-body h4 a { color: var(--accent); }
.refund-step-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Legal page responsive */
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 200px 1fr; gap: 36px; }
  .legal-use-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .legal-toc { display: none; }
  .legal-section-header h2 { font-size: 19px; }
  .legal-use-grid { grid-template-columns: 1fr; }
  .legal-meta { gap: 10px; }
  .legal-hero-inner h1 { font-size: 30px; }
}

/* TOC scroll spy — JS-driven */
.toc-link.current { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); font-weight: 600; }
/* (Mobile rules consolidated in DETAIL — RESPONSIVE section above) */

/* ── Hamburger Mobile Menu Fix ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #0f0f0f; border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Find PG Mobile Fix ── */
@media (max-width: 768px) {
  .findpg-layout { grid-template-columns: 1fr; }
  .findpg-sidebar { position: static; }
  .findpg-search-bar { flex-direction: column; border-radius: var(--radius-md); padding: 12px; gap: 8px; }
  .search-field { width: 100%; border-right: none !important; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
  .findpg-search-btn { width: 100%; border-radius: var(--radius-md); }
  .results-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .findpg-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
  .filter-bar-results { gap: 6px; }
  .cta-strip-inner { flex-direction: column; gap: 16px; text-align: center; }
  .cta-strip-actions { flex-direction: column; width: 100%; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }
}

/* ── Hamburger Fix ── */
@media (max-width: 768px) {
  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 1050;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .mobile-menu.open {
    display: flex !important;
  }
}
