/* ==========================================================================
   The Soul Rising - Global Navigation & Cross-Service Hub Styles
   ========================================================================== */

:root {
  --tsr-night: #06110f;
  --tsr-deep: #0b2723;
  --tsr-panel: rgba(11, 39, 35, 0.88);
  --tsr-paper: #fbf3e4;
  --tsr-paper-soft: #efe2c9;
  --tsr-ink: #122923;
  --tsr-gold: #c8a15a;
  --tsr-gold-bright: #f0d08b;
  --tsr-gold-soft: rgba(200, 161, 90, 0.16);
  --tsr-gold-border: rgba(200, 161, 90, 0.28);
  --tsr-teal: #0f7468;
  --tsr-wine: #8d4656;
  --tsr-radius-sm: 8px;
  --tsr-radius-md: 14px;
  --tsr-radius-lg: 20px;
  --tsr-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --tsr-font-sans: "IBM Plex Sans Thai", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tsr-font-serif: "Playfair Display", "IBM Plex Sans Thai", serif;
}

/* ==========================================================================
   Sticky Navbar
   ========================================================================== */
.tsr-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 17, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tsr-gold-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
  font-family: var(--tsr-font-sans);
  transition: background 0.3s ease, padding 0.3s ease;
}

.tsr-nav-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

/* Brand */
.tsr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fffdf7;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tsr-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tsr-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(200, 161, 90, 0.4);
  box-shadow: 0 4px 14px rgba(200, 161, 90, 0.2);
  display: block;
}

.tsr-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.tsr-brand-name {
  font-size: 17px;
  font-weight: 800;
  color: #fffdf7;
  letter-spacing: 0.2px;
}

.tsr-brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--tsr-gold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Desktop Links */
.tsr-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tsr-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(251, 243, 228, 0.82);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.tsr-link:hover {
  color: #fffdf7;
  background: rgba(200, 161, 90, 0.12);
  border-color: rgba(200, 161, 90, 0.2);
}

.tsr-link.active {
  color: #f7e6c4;
  background: linear-gradient(135deg, rgba(200, 161, 90, 0.22), rgba(11, 39, 35, 0.4));
  border-color: rgba(200, 161, 90, 0.45);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tsr-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(200, 161, 90, 0.18);
  color: var(--tsr-gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid rgba(200, 161, 90, 0.3);
}

.tsr-badge.hot {
  background: rgba(212, 160, 152, 0.22);
  color: #ffcccb;
  border-color: rgba(212, 160, 152, 0.4);
}

/* Actions & Buttons */
.tsr-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tsr-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #f0d08b;
  background: linear-gradient(135deg, #f0d08b, #c99d4d 52%, #9d6f2e);
  color: #06170e !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(200, 161, 90, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.tsr-btn-cta:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(200, 161, 90, 0.4);
  color: #06170e !important;
}

.tsr-btn-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.4;
}

/* Hamburger Toggle Button */
.tsr-burger-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(200, 161, 90, 0.12);
  border: 1px solid rgba(200, 161, 90, 0.3);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: background 0.2s ease;
}

.tsr-burger-btn:hover {
  background: rgba(200, 161, 90, 0.22);
}

.tsr-burger-line {
  width: 22px;
  height: 2px;
  background: #fbf3e4;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ==========================================================================
   Mobile Slideout Drawer
   ========================================================================== */
.tsr-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 8, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tsr-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tsr-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(350px, 88vw);
  background: #081a16;
  border-left: 1px solid var(--tsr-gold-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--tsr-font-sans);
  overflow: hidden;
}

.tsr-mobile-drawer.is-open {
  transform: translateX(0);
}

body.tsr-no-scroll {
  overflow: hidden !important;
}

.tsr-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(200, 161, 90, 0.18);
  background: rgba(6, 17, 15, 0.95);
}

.tsr-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 161, 90, 0.12);
  border: 1px solid rgba(200, 161, 90, 0.25);
  border-radius: 9px;
  color: #fffdf7;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tsr-drawer-close:hover {
  background: rgba(200, 161, 90, 0.25);
  transform: scale(1.05);
}

.tsr-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  text-align: left;
}

.tsr-drawer-heading {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--tsr-gold);
}

.tsr-drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tsr-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(11, 39, 35, 0.5);
  border: 1px solid rgba(200, 161, 90, 0.15);
  text-decoration: none;
  color: #fffdf7;
  transition: all 0.2s ease;
}

.tsr-drawer-item:hover {
  background: rgba(200, 161, 90, 0.14);
  border-color: rgba(200, 161, 90, 0.35);
  transform: translateX(2px);
}

.tsr-drawer-item.active {
  background: linear-gradient(135deg, rgba(200, 161, 90, 0.24), rgba(11, 39, 35, 0.8));
  border-color: rgba(200, 161, 90, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tsr-drawer-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(200, 161, 90, 0.14);
  border: 1px solid rgba(200, 161, 90, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tsr-drawer-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.tsr-drawer-item-text strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #fffdf7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tsr-drawer-item-text span {
  font-size: 12px;
  color: rgba(251, 243, 228, 0.7);
  margin-top: 2px;
}

.tsr-drawer-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(200, 161, 90, 0.18);
  color: var(--tsr-gold-bright);
  border: 1px solid rgba(200, 161, 90, 0.3);
  white-space: nowrap;
}

.tsr-drawer-tag.best {
  background: rgba(141, 70, 86, 0.35);
  color: #ffd8df;
  border-color: rgba(141, 70, 86, 0.6);
}

.tsr-drawer-tag.pre {
  background: rgba(15, 116, 104, 0.35);
  color: #b2f5ea;
  border-color: rgba(15, 116, 104, 0.5);
}

.tsr-drawer-divider {
  height: 1px;
  background: rgba(200, 161, 90, 0.18);
  margin: 18px 0;
}

.tsr-drawer-nav.secondary {
  gap: 6px;
}

.tsr-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: rgba(251, 243, 228, 0.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.tsr-drawer-link:hover {
  background: rgba(200, 161, 90, 0.12);
  color: #fffdf7;
}

.tsr-drawer-footer {
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(200, 161, 90, 0.18);
  background: rgba(6, 17, 15, 0.95);
}

.tsr-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0d08b, #c99d4d 52%, #9d6f2e);
  color: #06170e !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(200, 161, 90, 0.35);
}

/* Responsive Nav Bar */
@media (max-width: 980px) {
  .tsr-nav-links {
    display: none;
  }
  .tsr-burger-btn {
    display: flex;
  }
  .tsr-btn-cta {
    padding: 7px 14px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .tsr-brand-tagline {
    display: none;
  }
  .tsr-btn-cta span {
    font-size: 12.5px;
  }
  .tsr-btn-cta {
    padding: 6px 12px;
    min-height: 36px;
  }
  .tsr-brand-logo {
    width: 34px;
    height: 34px;
  }
  .tsr-brand-name {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   Showcase Section: All 4 Services Hub (Used in Homepage and Subpages)
   ========================================================================== */
.tsr-hub-section {
  padding: 68px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(6, 17, 15, 0.96), rgba(11, 39, 35, 0.94) 50%, rgba(6, 17, 15, 0.98));
  border-top: 1px solid rgba(200, 161, 90, 0.2);
  border-bottom: 1px solid rgba(200, 161, 90, 0.2);
  color: #fffdf7;
  text-align: center;
  font-family: var(--tsr-font-sans);
}

.tsr-hub-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.tsr-hub-header {
  max-width: 780px;
  margin: 0 auto 40px;
}

.tsr-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--tsr-gold-soft);
  border: 1px solid var(--tsr-gold-border);
  color: var(--tsr-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tsr-hub-title {
  font-family: var(--tsr-font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fffdf7;
  line-height: 1.25;
  margin: 0 0 14px;
}

.tsr-hub-title span {
  color: var(--tsr-gold);
}

.tsr-hub-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--tsr-paper-soft);
  margin: 0;
}

/* Service Grid (4 cards) */
.tsr-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

@media (max-width: 1040px) {
  .tsr-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tsr-service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.tsr-service-card {
  background: rgba(11, 39, 35, 0.7);
  border: 1px solid rgba(200, 161, 90, 0.24);
  border-radius: var(--tsr-radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tsr-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 161, 90, 0.55);
  box-shadow: 0 18px 44px rgba(200, 161, 90, 0.16);
}

.tsr-service-card.highlight {
  background: linear-gradient(180deg, rgba(141, 70, 86, 0.25), rgba(11, 39, 35, 0.8));
  border-color: rgba(200, 161, 90, 0.45);
}

.tsr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tsr-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 161, 90, 0.16);
  border: 1px solid rgba(200, 161, 90, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.tsr-card-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(200, 161, 90, 0.18);
  color: var(--tsr-gold-bright);
  border: 1px solid rgba(200, 161, 90, 0.35);
}

.tsr-card-badge.b-pop {
  background: rgba(141, 70, 86, 0.45);
  color: #ffdce2;
  border-color: rgba(200, 161, 90, 0.5);
}

.tsr-card-badge.b-hot {
  background: rgba(15, 116, 104, 0.4);
  color: #d1fae5;
  border-color: rgba(15, 116, 104, 0.6);
}

.tsr-service-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fffdf7;
  margin: 0 0 6px;
  line-height: 1.3;
}

.tsr-card-sub {
  font-size: 13px;
  color: var(--tsr-gold);
  font-weight: 600;
  margin: 0 0 12px;
}

.tsr-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251, 243, 228, 0.78);
  margin: 0 0 16px;
  flex: 1;
}

.tsr-card-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed rgba(200, 161, 90, 0.2);
  padding-top: 14px;
}

.tsr-card-features li {
  font-size: 13px;
  color: var(--tsr-paper-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.tsr-card-features li::before {
  content: "✓";
  color: var(--tsr-gold);
  font-weight: 800;
  font-size: 13px;
}

.tsr-card-bottom {
  border-top: 1px solid rgba(200, 161, 90, 0.18);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tsr-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tsr-card-price-now {
  font-size: 24px;
  font-weight: 900;
  color: var(--tsr-gold-bright);
}

.tsr-card-price-now small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.tsr-card-price-old {
  font-size: 14px;
  color: rgba(251, 243, 228, 0.45);
  text-decoration: line-through;
}

.tsr-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.tsr-card-btn.primary {
  background: linear-gradient(135deg, #f0d08b, #c99d4d 52%, #9d6f2e);
  color: #06170e !important;
  border: 1px solid #f0d08b;
  box-shadow: 0 4px 14px rgba(200, 161, 90, 0.28);
}

.tsr-card-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 161, 90, 0.4);
}

.tsr-card-btn.secondary {
  background: rgba(200, 161, 90, 0.12);
  color: #fffdf7 !important;
  border: 1px solid rgba(200, 161, 90, 0.35);
}

.tsr-card-btn.secondary:hover {
  background: rgba(200, 161, 90, 0.22);
  border-color: rgba(200, 161, 90, 0.6);
  color: #fff !important;
}

/* Modernized Global Footer */
.tsr-global-footer {
  border-top: 1px solid rgba(200, 161, 90, 0.24);
  background: #040d0c;
  color: var(--tsr-paper-soft);
  padding: 48px 0 36px;
  font-family: var(--tsr-font-sans);
  text-align: center;
}

.tsr-footer-inner {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}

.tsr-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tsr-footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(200, 161, 90, 0.3);
}

.tsr-footer-brand strong {
  font-size: 18px;
  color: #fffdf7;
}

.tsr-footer-slogan {
  font-size: 15px;
  color: var(--tsr-gold);
  margin: 0 0 24px;
  font-style: italic;
}

.tsr-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.tsr-footer-links a {
  color: rgba(251, 243, 228, 0.85);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tsr-footer-links a:hover {
  color: var(--tsr-gold-bright);
}

.tsr-footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tsr-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(200, 161, 90, 0.35);
  background: rgba(11, 39, 35, 0.6);
  color: #fffdf7 !important;
  transition: all 0.2s ease;
}

.tsr-social-pill:hover {
  background: rgba(200, 161, 90, 0.2);
  border-color: var(--tsr-gold);
  transform: translateY(-1px);
}

.tsr-social-pill.line-oa {
  border-color: rgba(6, 199, 85, 0.5);
  background: rgba(6, 199, 85, 0.15);
  color: #86efac !important;
}

.tsr-social-pill.line-oa:hover {
  background: rgba(6, 199, 85, 0.28);
}

.tsr-footer-disclaimer {
  font-size: 12.5px;
  color: rgba(251, 243, 228, 0.55);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}
