/* =========================================================
   NIRVA MASSAGE CENTER — MASTER STYLESHEET
   Palette: near-black / charcoal / antique gold / ivory / deep emerald
   Type: Cormorant Garamond (display) + Jost (body/utility)
   ========================================================= */

:root {
  --bg-black: #0b0b0c;
  --bg-charcoal: #151417;
  --bg-charcoal-2: #1c1a1f;
  --gold: #c9a24b;
  --gold-soft: #e4c88a;
  --gold-dim: rgba(201, 162, 75, 0.18);
  --ivory: #efe7d8;
  --ivory-dim: rgba(239, 231, 216, 0.65);
  --emerald: #1f3b30;
  --emerald-soft: #2c5445;
  --line: rgba(239, 231, 216, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-black);
  color: var(--ivory);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
p { color: var(--ivory-dim); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 18px;
}

.rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 22px 0;
  border: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #17140b;
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 162, 75, 0.4); }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold-dim); }
.btn-whatsapp { background: #1e9e5a; color: #fff; }
.btn-whatsapp:hover { background: #17a34d; transform: translateY(-2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(21, 20, 23, 0.55);
  border: 1px solid rgba(239, 231, 216, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; letter-spacing: 0.06em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ivory-dim);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; gap: 12px; }
.burger { display: none; background: none; border: none; color: var(--ivory); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 340px;
    background: rgba(11,11,12,0.98); flex-direction: column; justify-content: center; gap: 28px;
    transition: right 0.5s var(--ease); border-left: 1px solid var(--line); }
  .nav-links.open { right: 0; }
  .nav-cta { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.75) 55%, var(--bg-black) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 28px; margin-top: 50px; flex-wrap: wrap; }
.hero-badges div { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ivory-dim); border-left: 1px solid var(--gold); padding-left: 12px; }
.hero-badges strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); font-weight: 600; }

/* ---------- Grid / Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-charcoal);
  border: 1px solid var(--line);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon { color: var(--gold); font-size: 1.8rem; margin-bottom: 18px; display: block; }

.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card img { border-radius: var(--radius); margin-bottom: 22px; height: 220px; object-fit: cover; width: 100%; }
.service-card .price-tag { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-top: auto; padding-top: 16px; }

/* ---------- Ritual Journey (signature element) ---------- */
.ritual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 70px;
}
.ritual::before {
  content: '';
  position: absolute; top: 26px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}
.ritual-step { text-align: center; position: relative; padding: 0 14px; }
.ritual-step .num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-black); border: 1px solid var(--gold);
  color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative; z-index: 2;
}
.ritual-step h4 { margin-bottom: 8px; }
.ritual-step p { font-size: 0.9rem; }
@media (max-width: 900px) {
  .ritual { grid-template-columns: 1fr; gap: 40px; }
  .ritual::before { display: none; }
}

/* ---------- Testimonials ---------- */
.testimonial-slider { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn 0.6s var(--ease); }
.testimonial-slide .stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 20px; font-size: 1.1rem; }
.testimonial-slide blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; color: var(--ivory); margin: 0 0 20px; }
.testimonial-slide cite { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); font-style: normal; }
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--gold); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--ivory);
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform 0.35s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding-bottom: 24px; margin: 0; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-charcoal-2); border: 1px solid var(--line);
  color: var(--ivory); font-family: 'Jost', sans-serif; border-radius: var(--radius); font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 110px; }

/* ---------- Floating CTAs ---------- */
.float-cta {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.float-btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  animation: pulse 2.6s infinite;
  cursor: pointer;
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--gold); color: #17140b; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

.sticky-book-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 890;
  background: rgba(11,11,12,0.95); border-top: 1px solid var(--gold-dim);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%); transition: transform 0.4s var(--ease);
  backdrop-filter: blur(14px);
}
.sticky-book-bar.show { transform: translateY(0); }
.sticky-book-bar span { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
@media (max-width: 640px) { .sticky-book-bar span { display: none; } }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-charcoal); border: 1px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.4s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Exit Intent Popup ---------- */
.exit-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.exit-overlay.show { display: flex; }
.exit-modal {
  max-width: 440px; padding: 50px 40px; text-align: center; position: relative;
  background: var(--bg-charcoal); border: 1px solid var(--gold);
}
.exit-close { position: absolute; top: 16px; right: 20px; color: var(--ivory-dim); cursor: pointer; font-size: 1.3rem; background:none; border:none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-charcoal); border-top: 1px solid var(--line); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-grid h4 { color: var(--gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Jost', sans-serif; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--ivory-dim); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.badge-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.badge-row .badge { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ivory-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.badge-row .badge::before { content: '✓'; color: var(--gold); }

.reveal { opacity: 0; transform: translateY(24px); transition: all 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.dark-toggle {
  background: none; border: 1px solid var(--line); color: var(--ivory);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display:flex; align-items:center; justify-content:center;
}
body.light-mode {
  --bg-black: #f6f2ea;
  --bg-charcoal: #ffffff;
  --bg-charcoal-2: #f0ece2;
  --ivory: #1b1812;
  --ivory-dim: rgba(27,24,18,0.65);
  --line: rgba(27,24,18,0.12);
}

.page-hero {
  padding: 170px 0 90px; text-align: center;
  background: linear-gradient(180deg, var(--bg-charcoal), var(--bg-black));
  border-bottom: 1px solid var(--line);
}

.offer-strip {
  background: linear-gradient(90deg, var(--emerald), var(--emerald-soft));
  padding: 18px 0; text-align: center; font-size: 0.85rem; letter-spacing: 0.06em;
}
.offer-strip strong { color: var(--gold-soft); }

.loader {
  position: fixed; inset: 0; background: var(--bg-black); z-index: 2000;
  display: flex; align-items: center; justify-content: center; transition: opacity 0.6s var(--ease);
}
.loader .mark { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); letter-spacing: 0.3em; animation: breathe 1.8s infinite ease-in-out; }
@keyframes breathe { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.loader.hide { opacity: 0; pointer-events: none; }

.blog-card img { height: 230px; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.blog-card .meta { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article h2 { margin-top: 1.4em; }
.blog-article p { margin-bottom: 1.2em; }

.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.pricing-table th { color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-table td.price { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.pricing-table tr:hover td { background: rgba(201,162,75,0.04); }

.map-embed iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); border-radius: var(--radius); }

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
