.floating-whatsapp { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: #25d366; color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(18,140,70,.45); transition: transform .15s ease, background .15s ease; }
.floating-whatsapp[hidden] { display: none; }
.floating-whatsapp svg { width: 32px; height: 32px; }
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

.age-gate { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px; background: rgba(10, 10, 12, var(--age-gate-opacity, .94)); backdrop-filter: blur(8px); }
body:has(.age-gate) { overflow: hidden; }
.age-gate-panel { width: min(100%, 480px); padding: 40px 32px; text-align: center; color: #fff; background: #17171c; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.age-gate-logo { display: block; max-width: 180px; max-height: 100px; object-fit: contain; margin: 0 auto 24px; }
.age-gate-title { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 600; line-height: 1.2; font-size: clamp(1.7rem, 5vw, 2.2rem); }
.age-gate-panel p { margin: 0 0 24px; color: rgba(255,255,255,.78); line-height: 1.6; }
.age-gate-accept { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: #a98555; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.age-gate-accept:disabled { opacity: .65; cursor: wait; }
.age-gate-leave { display: inline-block; margin-top: 16px; color: rgba(255,255,255,.7); }

@font-face {
  font-family: 'Hoshiko Satsuki';
  src: url('/assets/fonts/Hoshiko-Satsuki.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   DESIGN TOKENS & RESET
   ========================================= */
:root {
  --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Jade Palace theme — matches the live jadepalaceescorts.com (TheGem) design */
  --color-bg: #ffffff;
  --color-surface: #f4f6f7;
  --color-surface-hover: #e9eef0;
  --color-text: #5f727f;
  --color-text-light: #8696a2;
  --color-heading: #3c3950;
  --color-primary: #3a5850; /* Jade green */
  --color-primary-dark: #2c443e;
  --color-border: #dfe5e8;
  --color-on-primary: #ffffff;
  --color-link: #00bcd4; /* in-content links on the live site */
  --jp-header: #3a5850;
  --jp-footer: #1a3c34;
  --jp-green: #1fa563;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.08);
  --shadow-md: 0 4px 10px -2px rgb(0 0 0 / 0.12);
  --shadow-lg: 0 12px 24px -6px rgb(0 0 0 / 0.18);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --transition: all 0.3s ease;
  
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--color-surface);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-on-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--color-surface);
  color: var(--color-text);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25);
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-alert.success { background-color: #d1fae5; color: #065f46; }
.form-alert.error { background-color: #fee2e2; color: #991b1b; }

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   HEADER & FOOTER
   ========================================= */
.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  font-family: "Hoshiko Satsuki", var(--font-heading), serif;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: normal;
  color: var(--color-text);
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: none;
}
.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--color-border);
  gap: 1.5rem;
  z-index: 999;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .site-nav { display: flex; gap: 2rem; }
  .site-nav.open { position: static; flex-direction: row; padding: 0; box-shadow: none; border: none; }
}

.site-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--color-primary);
}

.header-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.header-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-surface);
  border-radius: 50%;
  color: var(--color-text);
}
.header-contact a:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.header-contact svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  background-color: #060608;
  color: #f3f4f6;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-col h3 {
  color: #fff;
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}
.footer-col p { color: #9ca3af; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #9ca3af; }
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* =========================================
   PAGE HEROES
   ========================================= */
.page-hero {
  position: relative;
  background-color: var(--color-surface);
  padding: 6rem 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero.has-bg {
  background-size: cover;
  background-position: center;
  color: #fff;
  border-bottom: none;
}
.page-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Dark overlay to make text pop */
}
.page-hero.has-bg .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.page-hero.has-bg h1 {
  color: #fff;
}
.page-hero p {
  color: var(--color-text-light);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-hero.has-bg p {
  color: #e5e7eb;
}

/* Home Hero (Image Background) */
.home-hero {
  position: relative;
  height: calc(100vh - 80px); /* Fill most of the screen below the header */
  min-height: 500px;
  max-height: 900px; /* Prevent it from being too massive on huge screens */
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Dark overlay to make text pop */
}
.home-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.home-hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.home-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #e5e7eb;
}

/* =========================================
   CARDS (MASSEUSES)
   ========================================= */
.masseuse-card {
  position: relative;
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: var(--color-text);
}
.masseuse-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.masseuse-card-img {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.masseuse-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.masseuse-card:hover .masseuse-card-img img {
  transform: scale(1.05);
}

/* Availability Ribbon */
.ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.masseuse-card-info {
  padding: 1.5rem;
  text-align: center;
}
.masseuse-card-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.masseuse-card-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* =========================================
   CARDS (SERVICES)
   ========================================= */
.service-card {
  display: block;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
  color: var(--color-text);
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 50%;
  color: var(--color-primary);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* =========================================
   CARDS (BLOG)
   ========================================= */
.blog-card {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card-info {
  padding: 1.5rem;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.blog-card-info h2, .blog-card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.blog-card-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.blog-index-grid { grid-template-columns: repeat(var(--blog-columns, 3), minmax(0, 1fr)); }
.blog-infinite-more { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 2rem; }
.blog-infinite-more #blogLoadMore { text-decoration: none; }
@media (max-width: 1023px) { .blog-index-grid[data-columns="3"], .blog-index-grid[data-columns="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-index-grid { grid-template-columns: 1fr; } }

/* =========================================
   MASSEUSE PROFILE PAGE
   ========================================= */
.profile-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 2rem 0;
  scrollbar-width: none; /* Firefox */
}
.profile-gallery::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.profile-gallery img {
  scroll-snap-align: center;
  height: 60vh;
  min-height: 400px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex: 0 0 auto;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}
.profile-header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.profile-header p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.stat-box {
  background: var(--color-surface);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--color-border);
}
.stat-box span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-text-light);
  letter-spacing: 1px;
}
.stat-box strong {
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

/* Accordions */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--color-surface);
}
.accordion summary {
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}
.accordion[open] summary::after {
  transform: rotate(45deg);
}
.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-light);
}

/* =========================================
   LOCATIONS SINGLE
   ========================================= */
.location-map iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* =========================================
   RICH TEXT CONTENT
   ========================================= */
.rich-text h2, .rich-text h3 {
  margin-top: 2rem;
}
.rich-text p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}
.rich-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}
.rich-text ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* =========================================
   PROFILE UPGRADE (TWO-COLUMN ASYMMETRICAL)
   ========================================= */
.profile-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .profile-grid-layout {
    grid-template-columns: 5fr 4fr;
    align-items: start;
  }
}

/* Card Stack (Left Column) */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card-stack img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Sticky Info Sidebar (Right Column) */
@media (min-width: 992px) {
  .profile-info-sidebar {
    position: sticky;
    top: 100px; /* Offset for header */
  }
}

.profile-title-area {
  margin-bottom: 2rem;
}
.profile-title-area h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.status-badge {
  background-color: #10b981; /* Emerald green for available */
  color: white;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  vertical-align: middle;
}

/* Quick Action Buttons */
.profile-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.btn-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  min-width: 120px;
}
.btn-call {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}
.btn-call:hover { background-color: var(--color-primary-dark); color: var(--color-on-primary); }

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background-color: #1DA851; color: #fff; }

/* floating WhatsApp: see WHATSAPP WIDGET block at the end of this file */
.floating-whatsapp { }
.floating-whatsapp:hover { background: #1da851; color: #fff; }

.btn-email {
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-email:hover { background-color: var(--color-surface-hover); border-color: var(--color-text-light); }

/* Compact Stats List */
.stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--color-border);
}
.stats-list li:last-child {
  border-bottom: none;
}
.stats-list .stat-label {
  font-weight: 600;
  color: var(--color-text);
}
.stats-list .stat-val {
  color: var(--color-text-light);
}

/* Rates Table */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.rates-table th, .rates-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.rates-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-surface);
}
.rates-table th:first-child, .rates-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.rates-table tr:last-child td {
  border-bottom: none;
}
.price-val {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

/* =========================================
   HEADER LOGO IMAGE + NAV DROPDOWNS (replica)
   ========================================= */
.site-logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.has-dropdown > .nav-link::after {
  content: '▾';
  font-size: 0.7em;
  margin-left: 0.35rem;
  opacity: 0.8;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem 0;
  z-index: 1001;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
}
.nav-dropdown a:hover {
  color: var(--color-primary);
  background: var(--color-surface-hover);
}

@media (min-width: 1024px) {
  .nav-item.has-dropdown:hover .nav-dropdown { display: block; }
}

/* Mobile: dropdowns expand inline inside the open menu */
@media (max-width: 1023px) {
  .nav-item.has-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    min-width: 0;
  }
  .nav-dropdown a { padding: 0.4rem 0; }
}

/* 4-column footer to match the live site */
@media (min-width: 768px) {
  .footer-grid-1 { grid-template-columns: 1fr; }
  .footer-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid-4 { grid-template-columns: 1.4fr 1fr 1.7fr 1fr; }
}
.site-footer .footer-col a { color: #9ca3af; }
.site-footer .footer-col a:hover { color: var(--color-primary); }
.site-footer .footer-col p { color: #9ca3af; }

/* =========================================
   BLOG POST PAGE (layout + compact related posts)
   ========================================= */
.post-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.post-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 900px;
  margin: 0.75rem auto 1rem;
}
.blog-category {
  display: inline-block;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 600;
}
.post-meta { color: var(--color-text-light); font-size: 0.9rem; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 992px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
.post-content { min-width: 0; }
.post-content img { border-radius: var(--radius-md); }
.post-content h2, .post-content h3 { margin-top: 2rem; }
.post-content p { margin-bottom: 1rem; color: var(--color-text-light); }

@media (min-width: 992px) {
  .post-sidebar { position: sticky; top: 100px; }
}
.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-widget h3 { font-size: 1.1rem; margin-bottom: 1.25rem; }

.related-posts { list-style: none; padding: 0; margin: 0; }
.related-posts li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.related-posts li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.related-thumb { flex: 0 0 64px; line-height: 0; }
.related-posts img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.related-meta { min-width: 0; }
.related-posts a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}
.related-posts a:hover { color: var(--color-primary); }
.related-posts time { font-size: 0.75rem; color: var(--color-text-light); }

/* =========================================
   BLOG AUTHOR / E-E-A-T BOX
   ========================================= */
.post-author {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.post-author-img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--color-surface-hover);
  padding: 10px;
}
.post-author-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.1rem;
}
.post-author-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}
.post-author-bio { color: var(--color-text-light); font-size: 0.92rem; margin: 0; line-height: 1.6; }
@media (max-width: 560px) { .post-author { flex-direction: column; text-align: center; } }


/* =========================================
   JADE PALACE THEME (matches live TheGem design)
   Tokens live in :root above; component overrides below.
   ========================================= */
body { font-weight: 400; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .02em; }
h1 { font-weight: 800; color: #000; }
h2 { font-weight: 700; color: var(--color-heading); }
h3 { font-weight: 700; color: var(--color-heading); }
.cms-content a, .bd-prose a, .accordion-content a, main p a { color: var(--color-link); }

/* Header */
.site-header { background: var(--jp-header); border-bottom: 0; position: relative; }
.header-inner { height: auto; min-height: 150px; padding-top: 1rem; padding-bottom: 1rem; }
.site-logo-img { height: 130px; width: auto; }
.site-nav a, .site-nav .nav-link { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; padding: .45rem .7rem; border: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: #fff; border-color: #fff; }
.header-contact a { color: #fff; }
.header-contact a:hover { color: #d7efe6; }
.mobile-menu-toggle { color: #fff; }
.nav-dropdown { background: #fff; border: 1px solid var(--color-border); }
.nav-dropdown a { color: var(--color-text); font-family: var(--font-body); font-weight: 400; text-transform: none; border: 0; }
.nav-dropdown a:hover { color: var(--jp-header); background: var(--color-surface); border: 0; }
@media (max-width: 1023px) { .site-nav { background: var(--jp-header); } .nav-dropdown a { color: #fff; } }
.incall-ribbon { background: #2c443e; }

/* Footer */
.site-footer { background: var(--jp-footer); color: #fff; border-top: 0; }
.footer-col h3 { color: #fff; font-size: .95rem; }
.footer-col p, .site-footer .footer-col p { color: #fff; }
.footer-links a, .site-footer .footer-col a { color: #b9c6c2; }
.footer-links a:hover, .site-footer .footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #99a9b5; }

/* Page titles (profile / location / type): thin uppercase like the live site */
.page-hero { background: #fff; border-bottom: 0; text-align: center; }
.page-hero h1 { font-weight: 300; color: var(--color-heading); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: .04em; }
.page-hero p { color: var(--color-text); }

/* Buttons */
.btn-primary { background: var(--jp-header); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline { border-color: var(--jp-header); color: var(--jp-header); }
.btn-outline:hover { background: var(--jp-header); color: #fff; }

/* Age gate (live colours) */
.age-gate { background: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.age-gate-panel { background: #3f5f58; border: 0; border-radius: 14px; color: #fff; }
.age-gate-title { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.3rem, 4vw, 1.9rem); line-height: 1.35; }
.age-gate-panel p { color: #fff; }
.age-gate-accept { background: #4caf50; border-radius: 4px; width: auto; display: inline-block; padding: 0 1.5rem; }
.age-gate-leave { display: inline-block; background: #9b9b9b; color: #fff; border-radius: 4px; padding: .8rem 1.5rem; margin-left: .5rem; }

/* Header refinements (live: bare white icons on the green bar, bigger logo) */
.header-contact a { background: transparent; border: 0; border-radius: 0; color: #fff; width: auto; height: auto; }
.header-contact svg { width: 26px; height: 26px; }
.header-contact { gap: 1rem; }
.site-logo-img { height: 150px; }
.header-contact a:hover { background: transparent; color: #d7efe6; }

/* Location / type / blog pages (live jadepalaceescorts.com layout) */
.page-hero { background: linear-gradient(180deg, #348f64, #2f8a5f); padding: 2.2rem 0 2.4rem; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #e8f5ee; }
.jp-section { padding: 1.6rem 0; }
.jp-narrow { max-width: 1050px; }
.rich-text h2, .cms-content h2 { font-size: 1.55rem; text-align: left; margin: 2rem 0 1rem; }
.rich-text p, .cms-content p { margin-bottom: 1rem; }
.rich-text ul, .cms-content ul { padding-left: 1.4rem; margin-bottom: 1rem; list-style: disc; }
.text-center { text-align: center; }
.escort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem; }
@media (max-width: 800px) { .escort-grid { grid-template-columns: repeat(2, 1fr); } }
.escort-tile { display: block; color: inherit; text-align: center; }
.escort-tile-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-surface); }
.escort-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.escort-tile-name { display: block; padding: .8rem .3rem 0; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; color: #5f727f; }
.escort-tile:hover .escort-tile-name { color: var(--jp-header); }
.accordion { border: 1px solid var(--color-border); border-radius: 6px; margin: .8rem 0; background: #fff; }
.accordion summary { color: var(--color-heading); font-weight: 600; }

/* Footer booking banner + 4 columns (live site) */
.footer-cta { background: #2a3b38 center / cover no-repeat; color: #fff; text-align: center; padding: 6rem 0 4rem; }
.footer-cta h2 { color: #fff; font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.6rem; }
.footer-cta p { max-width: 850px; margin: 0 auto 2rem; color: #fff; font-size: .95rem; }
.footer-cta-icons { display: flex; justify-content: center; gap: 4.5rem; }
.footer-cta-icons a { color: #fff; }
.footer-cta-icons svg { width: 60px; height: 60px; }
.footer-cta-icons a:hover { color: #d7efe6; }
.footer-col h3 { text-transform: uppercase; letter-spacing: .02em; }
.footer-post { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; color: #fff !important; font-family: var(--font-heading); font-weight: 700; font-size: .72rem; text-transform: uppercase; }
.footer-post img { width: 100px; height: 80px; object-fit: cover; flex: 0 0 100px; }
.bd-hero-body { max-width: 1100px; margin: 1.4rem auto 0; text-align: center; }
.bd-hero-body h2 { font-size: 1.7rem; margin: 1.6rem 0 1rem; }
.bd-hero-body p { margin-bottom: 1rem; }

/* Escort profile — original WP layout */
.jp-profile { max-width: 1250px; }
.jp-breadcrumb { font-size: .72rem; color: #99a9b5; padding: .9rem 0 .2rem; }
.jp-breadcrumb a { color: #99a9b5; }
.jp-breadcrumb span { margin: 0 .35rem; }
.jp-breadcrumb strong { color: #3c3950; font-weight: 600; }
.jp-profile-title { text-align: center; font-weight: 300; color: var(--color-heading); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .06em; margin: .4rem 0 1rem; }
.jp-profile-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.jp-profile-photos img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) { .jp-profile-photos { grid-template-columns: 1fr; } }
.jp-profile-stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; padding: 1.6rem 0 .6rem; font-size: .72rem; color: #5f727f; }
.jp-profile-book { text-align: center; padding-bottom: 2rem; }
.jp-profile-book p { font-family: var(--font-heading); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; color: var(--color-heading); font-size: 1.1rem; margin-bottom: .5rem; }
.jp-profile-icons { display: flex; justify-content: center; gap: 2rem; }
.jp-profile-icons a { color: #2b3a37; }
.jp-profile-icons svg { width: 34px; height: 34px; }
.jp-pillband { background: linear-gradient(180deg, #1fa563, #17935a); padding: 2.2rem 0; }
.jp-pillbox { max-width: 760px; margin: 0 auto; padding: 1.2rem 1.6rem; border-radius: 6px; background: linear-gradient(90deg, #1f6a52, #194a3d); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.jp-pillrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .35rem 0; }
.jp-pillrow strong { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; margin-right: .4rem; }
.jp-pillrow a { background: #fff; color: #2b3a37; border-radius: 4px; padding: .22rem .6rem; font-size: .68rem; font-weight: 700; font-family: var(--font-heading); }
.jp-pillrow a:hover { background: #d7efe6; }
.jp-tabs { display: flex; gap: 1.4rem; border-bottom: 1px solid #5f727f; margin-bottom: 1.2rem; }
.jp-tab { background: none; border: 0; padding: .6rem 0; font-family: var(--font-heading); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: #99a9b5; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.jp-tab.active { color: #000; border-bottom-color: #000; }
.jp-tabpanel { display: none; }
.jp-tabpanel.active { display: block; }
.jp-tabpanel p { font-size: .75rem; color: #000; }
.jp-also { font-weight: 300; font-size: 1.2rem; color: #5f727f; text-transform: uppercase; text-align: left; margin: 2rem 0 1.5rem; }
.jp-muted { color: var(--color-text-light); font-size: .85rem; }
.jp-review { border-bottom: 1px solid var(--color-border); padding: .8rem 0; }
.jp-review-head { display: flex; justify-content: space-between; }
.jp-stars { color: #ffb400; }
.jp-review-form { margin-top: 1.4rem; max-width: 520px; }
.jp-review-form input, .jp-review-form select, .jp-review-form textarea { width: 100%; padding: .7rem; margin-bottom: .8rem; border: 1px solid var(--color-border); border-radius: 4px; font: inherit; }
.jp-pricing { max-width: 520px; }
.footer-links a[href="/privacy-policy/"] { color: #00bcd4 !important; }

/* Profile redesign: clean booking card */
.jp-profile-photos img { border-radius: 6px; }
.jp-book-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; margin: 1.8rem 0 2.2rem; padding: 1.6rem 2rem; background: #f4f6f7; border: 1px solid var(--color-border); border-radius: 10px; }
@media (max-width: 800px) { .jp-book-card { grid-template-columns: 1fr; padding: 1.2rem; gap: 1.2rem; } }
.jp-chips { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.jp-chips li { background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: .55rem .8rem; font-weight: 600; color: var(--color-heading); font-size: .95rem; }
.jp-chips li span { display: block; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; color: #8696a2; font-weight: 600; }
.jp-book-price { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.jp-book-price span { background: #e6f4ec; color: #1a3c34; border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; }
.jp-book-price strong { color: #17935a; }
.jp-book-title { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--color-heading); font-size: 1.1rem; margin-bottom: .9rem; text-align: center; }
.jp-book-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.jp-book-buttons .jp-btn-wa { grid-column: 1 / -1; }
.jp-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1rem; border-radius: 8px; font-family: var(--font-heading); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; transition: transform .15s ease, background .15s ease; }
.jp-btn svg { width: 22px; height: 22px; flex: 0 0 22px; }
.jp-btn:hover { transform: translateY(-1px); color: #fff; }
.jp-btn-wa { background: #25d366; }
.jp-btn-wa:hover { background: #1fb858; }
.jp-btn-call { background: var(--jp-header); }
.jp-btn-call:hover { background: var(--color-primary-dark); }
.jp-btn-sms { background: #fff; color: var(--jp-header); border: 2px solid var(--jp-header); }
.jp-btn-sms:hover { background: var(--jp-header); color: #fff; }
.jp-book-note { text-align: center; font-size: .75rem; color: #8696a2; margin-top: .8rem; }
.jp-sticky-cta { display: none; }
@media (max-width: 800px) {
  .jp-sticky-cta { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: .6rem .8rem; background: rgba(255,255,255,.96); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .jp-sticky-cta .jp-btn { padding: .75rem .5rem; font-size: .78rem; }
  body:has(.jp-sticky-cta) .wa-widget { display: none; }
  body:has(.jp-sticky-cta) { padding-bottom: 70px; }
}

.jp-review-title { font-size: 1rem; text-align: left; margin: 0 0 .8rem; }

/* Mobile menu (header is taller than the base's 80px assumption) */
@media (max-width: 1023px) {
  .site-nav.open { top: 100%; background: var(--jp-header); padding: 1rem 1.5rem 1.5rem; gap: .2rem; border-bottom: 0; box-shadow: 0 14px 24px rgba(0,0,0,.3); max-height: 70vh; overflow-y: auto; }
  .site-nav.open a, .site-nav.open .nav-link { color: #fff; border: 0; padding: .65rem 0; display: block; }
  .site-nav.open .nav-dropdown a { color: #cfe6dd; text-transform: none; font-family: var(--font-body); font-weight: 400; font-size: .95rem; padding: .35rem 0 .35rem 1rem; }
  .site-nav.open .nav-item.has-dropdown > .nav-link::after { content: ''; }
  .header-inner { min-height: 110px; }
  .site-logo-img { height: 90px; }
}
@media (max-width: 1023px) {
  .site-nav.open .nav-dropdown { background: transparent; border: 0; box-shadow: none; padding: 0 0 .4rem; min-width: 0; }
  .site-nav.open .nav-dropdown a:hover { background: transparent; color: #fff; }
}

/* Third-party banner exchange block (home page bottom, as on live) */
.jp-banners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; padding: 1rem 0; text-align: center; }
.jp-banners p { margin: 0; font-size: .7rem; }
.jp-banners a { display: inline-block; line-height: 0; }
.jp-banners img { max-width: 100%; height: auto; display: block; }


/* =========================================
   WHATSAPP WIDGET (floating button + CTA card, every page)
   ========================================= */
.wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.floating-whatsapp { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 22px rgba(18,140,70,.45); transition: transform .15s ease, background .15s ease; }
.floating-whatsapp svg { width: 28px; height: 28px; flex: 0 0 28px; }
.floating-whatsapp:hover { background: #1fb858; color: #fff; transform: translateY(-2px); }
.floating-whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: waPulse 2.6s infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-card { position: relative; width: min(320px, calc(100vw - 36px)); padding: 18px 18px 16px; border-radius: 14px; background: #fff; color: var(--color-text); box-shadow: 0 16px 40px rgba(0,0,0,.28); animation: waCardIn .35s ease; }
.wa-card[hidden] { display: none; }
@keyframes waCardIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wa-card::after { content: ''; position: absolute; right: 34px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); box-shadow: 4px 4px 8px rgba(0,0,0,.08); }
.wa-card-close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: #8696a2; cursor: pointer; }
.wa-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wa-card-head strong { display: block; color: var(--color-heading); font-family: var(--font-heading); font-size: .85rem; text-transform: uppercase; letter-spacing: .02em; }
.wa-card-head small { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #5f727f; }
.wa-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; flex: 0 0 42px; }
.wa-avatar svg { width: 24px; height: 24px; }
.wa-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.wa-card p { font-size: .9rem; line-height: 1.5; margin: 0 0 14px; }
.wa-card-btn { display: block; text-align: center; padding: .75rem 1rem; border-radius: 8px; background: #25d366; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.wa-card-btn:hover { background: #1fb858; color: #fff; }
@media (max-width: 600px) {
  .wa-widget { right: 12px; bottom: 12px; }
  .floating-whatsapp { width: 54px; height: 54px; }
  .floating-whatsapp svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .floating-whatsapp::before, .wa-card { animation: none; } }
