/* ═══════════════════════════════════════════
   JSR RESIDENCY — SHARED STYLES
   Dark Luxury Theme: Black + Gold
═══════════════════════════════════════════ */

:root {
  --black:       #0A0A0A;
  --black-mid:   #111111;
  --black-soft:  #1A1A1A;
  --black-card:  #141414;
  --black-hover: #1E1E1E;
  --gold:        #C8A84B;
  --gold-light:  #E2C97E;
  --gold-dim:    #8B6F2E;
  --gold-bg:     rgba(200,168,75,0.08);
  --gold-border: rgba(200,168,75,0.25);
  --white:       #FFFFFF;
  --off-white:   #F5F0E8;
  --text:        #E8E0D0;
  --text-muted:  #D0C8BA;
  --text-dim:    #9a907f;
  --border:      rgba(255,255,255,0.07);
  --nav-h:       72px;
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.2;
  font-weight: 600;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-mid); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ══════════════════════════════
   TOP BAR
══════════════════════════════ */
.topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(200,168,75,0.12);
  padding: 9px 0;
  font-size: 12.5px;
  letter-spacing: 0.3px;
}
.topbar .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.topbar-left { color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.topbar-left svg { opacity: 0.5; flex-shrink: 0; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a {
  color: var(--gold);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.topbar-right a:hover { color: var(--gold-light); }
.topbar-right .divider { color: var(--text-dim); }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  display: flex; align-items: center;
}
.nav-wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.nav-logo {
  display: flex; flex-direction: column;
}
.nav-logo .logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
  line-height: 1;
}
.nav-logo .logo-sub {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 3px;
}
.nav-links {
  display: flex; gap: 2px;
}
.nav-links a {
  color: var(--text-muted); font-size: 13.5px; font-weight: 500;
  padding: 9px 16px; border-radius: var(--radius);
  letter-spacing: 0.5px; transition: all var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold) !important;
  padding: 9px 22px !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--gold-light); transition: all var(--transition);
}

/* ══════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════ */
.page-hero {
  background: var(--black-mid);
  border-bottom: 1px solid var(--border);
  padding: 50px 0 44px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200,168,75,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }
.breadcrumb {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--gold-dim); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px); color: var(--white);
  font-weight: 600; margin-bottom: 10px;
}
.page-hero .hero-sub {
  color: var(--text-muted); font-size: 16px; font-family: 'DM Sans', sans-serif;
  /* max-width: 600px; */
}
.gold-line {
  width: 48px; height: 2px; background: var(--gold);
  margin: 16px 0;
}

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
.section { padding: 88px 0; }
.section.tight { padding: 60px 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.section-label {
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-family: 'DM Sans', sans-serif;
  font-weight: 600; margin-bottom: 12px; display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); color: var(--white);
  font-weight: 600; margin-bottom: 14px;
}
.section-desc {
  color: var(--text-muted); font-size: 16px; line-height: 1.75;
  /* max-width: 580px;  */
}
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }
.section-head.center .gold-line { margin: 16px auto; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 13px 30px; border-radius: var(--radius);
  transition: all var(--transition); border: none;
}
.btn-gold {
  background: var(--gold); color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.25);
}
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-border);
}
.btn-outline:hover {
  background: var(--gold-bg); border-color: var(--gold);
  color: var(--gold-light);
}
.btn-dark {
  background: var(--black-soft); color: var(--text);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: var(--black-hover); color: var(--white); }

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: var(--black-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 26px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 700; color: var(--gold-light);
  line-height: 1;
}
.stat-lbl {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-top: 6px;
}

/* ══════════════════════════════
   FEATURE CARDS
══════════════════════════════ */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feat-card {
  background: var(--black-card); padding: 32px 28px;
  transition: background var(--transition);
}
.feat-card:hover { background: var(--black-hover); }
.feat-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 18px;
}
.feat-card h4 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.feat-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ══════════════════════════════
   IMAGE PLACEHOLDER
══════════════════════════════ */
.img-placeholder {
  background: var(--black-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-dim); font-size: 13px;
  text-align: center; padding: 20px;
  position: relative; overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,0.04) 0%, transparent 100%);
}
.img-placeholder .ph-icon { font-size: 32px; opacity: 0.4; }
.img-placeholder .ph-text { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.5; }
.img-placeholder .ph-name { font-size: 13px; color: var(--gold-dim); font-weight: 500; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card {
  background: var(--black-card); border: 1px solid var(--border);
  padding: 28px; border-radius: var(--radius-lg);
  border-top: 2px solid var(--gold);
  transition: border-color var(--transition);
}
.testi-card:hover { border-color: var(--gold-light); }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; gap: 12px; align-items: center; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--black-soft); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testi-from { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-band {
  background: var(--black-mid);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 56px 0;
}
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 34px; color: var(--white); }
.cta-band p { color: var(--text-muted); margin-top: 6px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700; color: var(--gold-light);
  letter-spacing: 1px; display: block; margin-bottom: 6px;
}
.footer-brand .logo-sub {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px; display: block;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul li a {
  color: var(--text-dim); font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li { color: var(--text-dim); font-size: 14px; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
}
.footer-contact-item .fci-icon { color: var(--gold-dim); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text); font-size: 16px; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }
.footer-bottom a { color: var(--text-dim); font-size: 13px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ══════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════ */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.float-wa-tooltip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--black-soft); color: var(--white);
  font-size: 12px; white-space: nowrap; padding: 6px 12px;
  border-radius: var(--radius); border: 1px solid var(--border);
  opacity: 0; transition: opacity var(--transition);
  pointer-events: none;
}
.float-wa:hover .float-wa-tooltip { opacity: 1; }

/* ══════════════════════════════
   LIGHTBOX
══════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-inner {
  position: relative; max-width: 92vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius);
  transform: scale(0.95); transition: transform 0.3s ease;
}
.lightbox.open .lb-img { transform: scale(1); }
.lb-placeholder {
  width: min(80vw, 900px); height: min(60vh, 600px);
  background: var(--black-soft);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.lb-placeholder .lbp-icon { font-size: 56px; opacity: 0.3; }
.lb-placeholder .lbp-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold-light); }
.lb-placeholder .lbp-hint { font-size: 12px; color: var(--text-dim); letter-spacing: 1px; }
.lb-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px;
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.lb-close:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(10,10,10,0.85); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all var(--transition);
}
.lb-nav:hover { background: var(--gold); color: var(--black); }
.lb-prev { left: -58px; }
.lb-next { right: -58px; }
.lb-caption {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-dim); white-space: nowrap;
}
.lb-counter {
  position: absolute; top: -44px; left: 0;
  font-size: 12px; color: var(--text-dim);
}

/* ══════════════════════════════
   MOBILE RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}

@media (max-width: 680px) {
  .topbar .topbar-left { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.99);
    border-bottom: 1px solid var(--gold-border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 28px; border-radius: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-nav { display: none; }
  .lb-prev, .lb-next { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .wrap { padding: 0 18px; }
}
