/* ==========================================================================
   TourNovas - Luxury Travel Editorial Design System (2026 Edition)
   Inspired by: Monocle, Kinfolk, Afar & Conde Nast Traveler
   ========================================================================== */

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

:root {
  /* Color Palette */
  --tn-dark: #0a0f1d;
  --tn-navy: #0f172a;
  --tn-primary: #0284c7;
  --tn-primary-hover: #0369a1;
  --tn-emerald: #059669;
  --tn-amber: #d97706;
  
  --tn-bg-page: #f8fafc;
  --tn-bg-card: #ffffff;
  --tn-border: #e2e8f0;
  --tn-border-subtle: #f1f5f9;
  
  --tn-text-main: #0f172a;
  --tn-text-muted: #64748b;
  --tn-text-light: #94a3b8;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--tn-bg-page);
  color: var(--tn-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--tn-text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
}

[v-cloak] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1560px;
    padding: 0 40px;
  }
}

/* ==========================================================================
   Header & Navigation (Ultra-clean, No wrapping)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--tn-border);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: var(--tn-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  background: var(--tn-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--tn-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--tn-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile Hamburger & Drawer Styles */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--tn-dark);
  padding: 6px;
  line-height: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--tn-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  gap: 14px;
  z-index: 999;
}

.mobile-nav-drawer a {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}

.mobile-nav-drawer a:last-child {
  border-bottom: none;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-globe-btn {
  background: transparent;
  border: 1px solid var(--tn-border);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: var(--tn-dark);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-globe-btn:hover,
.lang-dropdown-wrapper:hover .lang-globe-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--tn-primary);
}

.lang-globe-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
}

.lang-current-label {
  font-size: 13px;
  font-weight: 600;
}

.lang-arrow {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.lang-dropdown-wrapper:hover .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg, 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1));
  padding: 6px;
  min-width: 155px;
  z-index: 1000;
  display: none;
  animation: langFadeIn 0.15s ease-out;
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-wrapper:focus-within .lang-dropdown-menu {
  display: block;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.lang-dropdown-item:hover {
  background: #f1f5f9;
  color: var(--tn-primary);
}

.lang-dropdown-item.active {
  background: #f0f9ff;
  color: var(--tn-primary);
  font-weight: 700;
}

.lang-flag {
  font-size: 17px;
  line-height: 1;
}

.lang-name {
  flex: 1;
}

.lang-check {
  font-size: 12px;
  color: var(--tn-primary);
  font-weight: 700;
}

.lang-switch:hover {
  background: #e2e8f0;
  color: var(--tn-dark);
}

.btn-nav-action, .btn-primary {
  background: var(--tn-dark);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-nav-action:hover, .btn-primary:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Crystal Clear Contrast, Editorial Elegance)
   ========================================================================== */
.hero-editorial {
  background: #090e17;
  color: #ffffff;
  padding: 64px 0 72px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: stretch;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.16;
  margin-bottom: 16px;
}

.hero-heading span {
  font-style: italic;
  color: #38bdf8;
  font-weight: 500;
}

.hero-subtext {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

/* Search Form */
.hero-search-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  margin-bottom: 32px;
}

.search-icon {
  padding-left: 14px;
  font-size: 16px;
  color: #64748b;
}

.hero-search-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--tn-dark);
  background: transparent;
}

.btn-search-submit {
  background: var(--tn-primary);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-search-submit:hover {
  background: var(--tn-primary-hover);
}

/* Trust Stats */
.hero-trust-row {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item-val {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.trust-item-lbl {
  font-size: 11.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Intel Card (Hero Right) */
.hero-intel-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.intel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.intel-live-badge {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.intel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.intel-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.intel-icon-box {
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
}

.intel-text-title {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.intel-text-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.intel-card-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intel-card-cta a {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.provinces-section {
  padding: 68px 0 80px;
}

.section-editorial-head {
  margin-bottom: 32px;
}

.editorial-kicker {
  color: var(--tn-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-editorial-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 8px;
}

.section-editorial-head p {
  font-size: 15.5px;
  color: var(--tn-text-muted);
  max-width: 720px;
  line-height: 1.6;
}

/* Regional Filter Pills */
.region-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.region-pill {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.region-pill-badge {
  font-size: 11px;
  color: #94a3b8;
}

.region-pill:hover,
.region-pill.active {
  background: var(--tn-dark);
  color: #ffffff;
  border-color: var(--tn-dark);
}

.region-pill.active .region-pill-badge {
  color: #93c5fd;
}

/* ==========================================================================
   Province Grid & Cards (Clean Magazine Grid)
   ========================================================================== */
.province-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.province-card {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.province-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.province-card-bg {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.province-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.province-top-badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--tn-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.province-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.province-card-title span {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

.province-card-summary {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.province-card-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--tn-primary);
  border-top: 1px solid var(--tn-border-subtle);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Survival Playbook Section
   ========================================================================== */
.survival-section {
  background: #ffffff;
  border-top: 1px solid var(--tn-border);
  border-bottom: 1px solid var(--tn-border);
  padding: 72px 0;
}

.survival-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.survival-card {
  background: #f8fafc;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.survival-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--tn-primary);
  margin-bottom: 12px;
  line-height: 1;
}

.survival-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 8px;
}

.survival-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   Food Cards Section
   ========================================================================== */
.foodie-demo-section {
  padding: 72px 0;
}

.foodie-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.foodie-show-card {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.foodie-show-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.foodie-show-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.foodie-show-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.foodie-show-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 2px;
}

.foodie-show-zh {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
}

.foodie-waiter-box {
  background: #fffbeb;
  border: 1px dashed #fcd34d;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: auto;
}

.foodie-waiter-lbl {
  font-size: 10.5px;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.foodie-waiter-phrase {
  font-size: 13.5px;
  font-weight: 700;
  color: #78350f;
  line-height: 1.4;
}

/* ==========================================================================
   Blueprints / Itineraries Section
   ========================================================================== */
.blueprints-section {
  background: #ffffff;
  border-top: 1px solid var(--tn-border);
  padding: 72px 0;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.blueprint-card {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blueprint-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blueprint-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blueprint-badge-left {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blueprint-badge-right {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.blueprint-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blueprint-dest {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tn-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.blueprint-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tn-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.blueprint-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.blueprint-footer {
  border-top: 1px solid var(--tn-border-subtle);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blueprint-btn-view {
  font-size: 13px;
  font-weight: 700;
  color: var(--tn-primary);
}

/* ==========================================================================
   Bespoke Planning Callout
   ========================================================================== */
.bespoke-cta-wrap {
  background: #090e17;
  color: #ffffff;
  padding: 72px 0;
}

.bespoke-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.bespoke-cta-kicker {
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bespoke-cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  color: #ffffff !important;
  margin-bottom: 16px;
}

.bespoke-cta-inner p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.bespoke-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-lg {
  background: var(--tn-primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  display: inline-flex;
}

.btn-primary-lg:hover {
  background: var(--tn-primary-hover);
}

.btn-outline-lg {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-outline-lg:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #090e17;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo .logo-badge {
  background: #38bdf8;
  color: #09121d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.footer-logo .logo-text {
  color: #ffffff;
}

.footer-logo .logo-text span {
  color: #38bdf8;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   City Detail Page - Modern Editorial Redesign (2026 Edition)
   ========================================================================== */

.city-page-wrap {
  width: 100%;
}

/* Loading State */
.city-loading-state {
  text-align: center;
  padding: 140px 20px;
  color: var(--tn-text-muted);
}

.city-loading-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 3px solid var(--tn-border);
  border-top-color: var(--tn-primary);
  border-radius: 50%;
  animation: tnSpin 0.8s linear infinite;
}

@keyframes tnSpin {
  to { transform: rotate(360deg); }
}

/* 1. Hero Section */
.city-hero-editorial {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  overflow: hidden;
  background: var(--tn-dark);
}

.city-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.city-hero-editorial:hover .city-hero-backdrop {
  transform: scale(1.06);
}

.city-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 29, 0.35) 0%,
    rgba(10, 15, 29, 0.7) 50%,
    rgba(10, 15, 29, 0.96) 100%
  );
}

.city-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 48px;
  width: 100%;
}

.city-hero-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.city-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.city-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.city-breadcrumb a:hover {
  color: #38bdf8;
}

.city-breadcrumb .sep {
  opacity: 0.4;
}

.city-breadcrumb .current {
  color: #ffffff;
  font-weight: 700;
}

.city-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.city-verified-pill .pill-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.city-hero-title-group {
  max-width: 960px;
  margin-bottom: 28px;
}

.city-title-wrapper {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.city-hero-name {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.city-hero-zh {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 2px;
}

.city-hero-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  color: #e2e8f0;
  max-width: 820px;
}

.city-hero-quick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.city-quick-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.city-quick-badges .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #f1f5f9;
  font-weight: 500;
}

.city-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hero-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-hero-consult:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-hero-chat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-chat:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 2. Intelligence Bar (Solo Traveler Survival Protocol) */
.city-intelligence-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--tn-border);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.intelligence-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.intel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid var(--tn-border);
  transition: background 0.2s ease;
}

.intel-item:last-child {
  border-right: none;
}

.intel-item:hover {
  background: #fafbfc;
}

.intel-icon-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.intel-transit { background: #eff6ff; color: #1d4ed8; }
.intel-season { background: #fef3c7; color: #b45309; }
.intel-safety { background: #f0fdf4; color: #15803d; }

.intel-body {
  flex: 1;
}

.intel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.intel-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tn-dark);
}

.intel-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

.intel-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* 3. Main Container & Tab Navigation */
.city-main-container {
  padding: 44px 0 80px;
}

.city-tab-wrapper {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--tn-border);
}

.city-nav-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.city-nav-pills::-webkit-scrollbar {
  display: none;
}

.city-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--tn-border);
  color: #475569;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.city-tab-btn:hover {
  border-color: #cbd5e1;
  color: var(--tn-dark);
}

.city-tab-btn.active {
  background: var(--tn-dark);
  color: #ffffff;
  border-color: var(--tn-dark);
  box-shadow: 0 4px 12px rgba(10, 15, 29, 0.2);
}

.city-tab-btn .tab-count {
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
}

.city-tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Editorial Section Header */
.city-section-block {
  animation: tnFadeIn 0.25s ease forwards;
}

@keyframes tnFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-editorial-header {
  margin-bottom: 32px;
}

.kicker-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.editorial-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tn-primary);
}

.kicker-amber {
  color: #d97706;
}

.kicker-line {
  flex: 1;
  height: 1px;
  background: var(--tn-border);
}

.section-display-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 10px;
}

.section-lead-text {
  font-size: 15px;
  color: var(--tn-text-muted);
  max-width: 760px;
  line-height: 1.6;
}

/* Empty State */
.editorial-empty-state {
  background: #ffffff;
  border: 1px dashed var(--tn-border);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
}

.editorial-empty-state .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.editorial-empty-state h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--tn-dark);
}

.editorial-empty-state p {
  color: var(--tn-text-muted);
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto;
}

/* 4. Districts Section (Where to stay) */
.districts-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.district-card {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.district-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.district-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.district-title-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.district-num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}

.district-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--tn-dark);
  margin-bottom: 3px;
  line-height: 1.25;
}

.district-zh {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.district-price-badge {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.district-vibe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.district-tradeoffs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tradeoff-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 8px;
  padding: 10px 12px;
}

.tradeoff-pro {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
}

.tradeoff-pro .tradeoff-icon {
  color: #16a34a;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.3;
}

.tradeoff-pro strong {
  color: #15803d;
}

.tradeoff-pro p {
  color: #334155;
  margin: 0;
}

.tradeoff-con {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
}

.tradeoff-con .tradeoff-icon {
  color: #dc2626;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.3;
}

.tradeoff-con strong {
  color: #b91c1c;
}

.tradeoff-con p {
  color: #475569;
  margin: 0;
}

.district-logistics-box {
  background: #f8fafc;
  border: 1px solid var(--tn-border-subtle);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logistics-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.logistics-row .log-icon {
  font-size: 16px;
  line-height: 1.3;
}

.log-info {
  flex: 1;
}

.log-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.log-info p {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
  margin: 0;
}

.district-footer {
  border-top: 1px solid var(--tn-border);
  padding-top: 16px;
  margin-top: 6px;
}

.district-meituan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffc300;
  color: #111827;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 195, 0, 0.25);
}

.district-meituan-btn:hover {
  background: #e6b000;
  transform: translateY(-1px);
}

.district-meituan-btn .btn-arrow {
  font-size: 15px;
}

/* 5. Landmarks Section */
.attractions-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.attraction-card-modern {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: 400px 1fr;
  transition: all 0.25s ease;
}

.attraction-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.att-media-col {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.att-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.attraction-card-modern:hover .att-image {
  transform: scale(1.05);
}

.att-badge-category {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.att-index-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tn-dark);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.att-details-col {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.att-top-row {
  margin-bottom: 20px;
}

.att-modern-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 4px;
  line-height: 1.25;
}

.att-modern-zh {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.att-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid var(--tn-border-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-item.full-width {
  grid-column: 1 / -1;
  border-top: 1px solid var(--tn-border);
  padding-top: 10px;
}

.spec-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.3px;
}

.spec-val {
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.5;
}

.att-insider-callout {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 10px;
  padding: 14px 18px;
}

.callout-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.callout-indicator .indicator-icon {
  font-size: 15px;
}

.callout-indicator .indicator-tag {
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
  letter-spacing: 0.8px;
}

.callout-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: #166534;
  margin: 0;
}

/* 6. Food Cards Section (Show-to-waiter) */
.food-cards-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.food-card-modern {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.food-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.food-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.food-card-modern:hover .food-img {
  transform: scale(1.05);
}

.food-must-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.food-price-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.food-body-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.food-headline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 8px;
}

.food-en-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--tn-dark);
}

.food-zh-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #64748b;
}

.food-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.chip-pinyin {
  background: #f1f5f9;
  color: #334155;
}

.chip-flavor {
  background: #fef3c7;
  color: #92400e;
}

.chip-spice {
  background: #fee2e2;
  color: #991b1b;
}

.food-flavor-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 14px;
}

.food-spots-box {
  font-size: 12.5px;
  color: #334155;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  line-height: 1.45;
}

.spots-label {
  font-weight: 700;
  color: #0f172a;
}

.spots-text {
  color: #475569;
}

/* Show-to-Waiter Box */
.waiter-order-box {
  background: #fffbeb;
  border: 1.5px dashed #fcd34d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: auto;
}

.order-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-box-header .hand-icon {
  font-size: 14px;
}

.order-label {
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-phrase-btn {
  background: #ffffff;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-phrase-btn:hover {
  background: #fef3c7;
}

.order-phrase-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #78350f;
  line-height: 1.5;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #fef3c7;
}

/* 7. Itinerary Blueprints Section */
.blueprints-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.blueprint-card-modern {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.blueprint-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.bp-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.bp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blueprint-card-modern:hover .bp-img {
  transform: scale(1.05);
}

.bp-badges-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-duration-tag {
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.bp-free-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}

.bp-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bp-city-crumb {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tn-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.bp-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--tn-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bp-title a:hover {
  color: var(--tn-primary);
}

.bp-summary {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.bp-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--tn-border);
  padding-top: 16px;
  margin-top: auto;
}

.bp-highlights-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}

.bp-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tn-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.bp-open-btn:hover {
  background: var(--tn-primary);
  transform: translateX(2px);
}

/* 8. Tailor Banner CTA */
.city-tailor-banner {
  background: linear-gradient(135deg, #0a0f1d 0%, #0f172a 100%);
  padding: 70px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.city-tailor-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.tailor-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.tailor-content {
  max-width: 680px;
}

.tailor-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38bdf8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.tailor-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.tailor-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

.tailor-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-tailor-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.btn-tailor-primary:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

.btn-tailor-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tailor-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .intelligence-card-grid {
    grid-template-columns: 1fr;
  }
  .intel-item {
    border-right: none;
    border-bottom: 1px solid var(--tn-border);
  }
  .intel-item:last-child {
    border-bottom: none;
  }
  .attraction-card-modern {
    grid-template-columns: 1fr;
  }
  .att-media-col {
    height: 240px;
    min-height: auto;
  }
  .tailor-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tailor-actions {
    width: 100%;
  }
  .btn-tailor-primary, .btn-tailor-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .city-hero-content {
    padding-bottom: 36px;
  }
  .city-hero-quick-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .city-hero-actions {
    width: 100%;
  }
  .btn-hero-consult, .btn-hero-chat {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .districts-editorial-grid,
  .food-cards-grid-modern,
  .blueprints-grid-modern {
    grid-template-columns: 1fr;
  }
  .att-specs-grid {
    grid-template-columns: 1fr;
  }
  .att-details-col {
    padding: 24px 20px;
  }
}


/* Tour Detail page */
.tour-hero-header {
  position: relative;
  min-height: 380px;
  background: var(--tn-dark);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.tour-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.tour-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 14, 23, 0.3) 0%, rgba(9, 14, 23, 0.95) 95%);
}

.tour-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 20px 36px;
  width: 100%;
}

.tour-meta-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tour-meta-tags .badge {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tour-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff !important;
  margin-bottom: 6px;
}

.tour-subtitle {
  font-size: 17px;
  color: #94a3b8;
}

.tour-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px 0 72px;
}

.content-block {
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
}

.content-block h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 14px;
}

.sticky-inquiry-card {
  position: sticky;
  top: 92px;
  background: #ffffff;
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.price-header {
  border-bottom: 1px solid var(--tn-border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.price-header .label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
}

.price-header .price {
  font-size: 24px;
  font-weight: 700;
  color: #16a34a;
}

.sidebar-form .form-group {
  margin-bottom: 12px;
}

.sidebar-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.sidebar-form input,
.sidebar-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--tn-border);
  border-radius: 6px;
  font-size: 13.5px;
}

.btn-submit {
  width: 100%;
  background: var(--tn-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Navigation Dropdown & Enhanced Nav Layout
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown > a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-item-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  border-radius: 12px;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.18), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 150;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 富媒体卡片式 Mega-menu 样式 */
.nav-dropdown-cards {
  min-width: 680px;
  max-width: 760px;
  padding: 16px 18px 14px;
}

.nav-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.nav-title-en {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.nav-title-zh {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.nav-view-all-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tn-primary, #0284c7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-view-all-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* 卡片栅格 */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.nav-cards-grid::-webkit-scrollbar {
  width: 5px;
}
.nav-cards-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.nav-city-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-city-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.nav-city-card-thumb {
  position: relative;
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
}

.nav-city-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nav-city-card:hover .nav-city-card-thumb img {
  transform: scale(1.08);
}

.nav-city-card-region {
  position: absolute;
  bottom: 2px;
  left: 3px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

.nav-city-card-body {
  flex: 1;
  min-width: 0;
}

.nav-city-card-names {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.nav-card-en {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-card-zh {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.nav-card-tagline {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-city-card:hover .nav-card-en {
  color: var(--tn-primary, #0284c7);
}

.nav-dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 11.5px;
}

.nav-footer-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}

.perk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.nav-footer-btn {
  padding: 4px 10px;
  background: #eff6ff;
  color: #0284c7;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 11.5px;
  transition: background 0.15s;
}

.nav-footer-btn:hover {
  background: #dbeafe;
}

/* ==========================================================================
   Featured Topics Section (专题模块)
   ========================================================================== */
.featured-topics-section {
  background: #f8fafc;
  padding: 72px 0 68px;
  border-bottom: 1px solid var(--tn-border);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.topic-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08);
}

.topic-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.topic-card:hover .topic-media img {
  transform: scale(1.05);
}

.topic-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.topic-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.topic-tag {
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.topic-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.topic-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 18px 0;
  flex: 1;
}

.topic-link-action {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.topic-card:hover .topic-link-action {
  color: #0284c7;
}

/* ==========================================================================
   Hero Carousel Slider (Balanced Travel Hero Banner, 21:9 / 16:7 Cinematic Aspect)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: #060a12;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  /* 优雅黄金比例高度：在大屏上不吞没整屏，在笔记本与宽屏上保持自然画卷比例 */
  height: 480px;
  min-height: 440px;
  max-height: 520px;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 10, 18, 0.92) 0%,
    rgba(6, 10, 18, 0.80) 42%,
    rgba(6, 10, 18, 0.42) 78%,
    rgba(6, 10, 18, 0.20) 100%
  ),
  linear-gradient(
    180deg,
    rgba(6, 10, 18, 0.25) 0%,
    transparent 50%,
    rgba(6, 10, 18, 0.75) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 40px 0 50px;
  color: #ffffff;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.hero-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff !important;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-slide-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 22px;
  max-width: 680px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-slide-primary {
  background: #0284c7;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  text-decoration: none;
}

.btn-slide-primary:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

.btn-slide-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  transition: all 0.2s;
  text-decoration: none;
}

.btn-slide-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Slider Controls (Modern Floating Dock) */
.hero-slider-nav {
  position: absolute;
  bottom: 24px;
  right: max(24px, calc((100% - 1440px) / 2 + 24px));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

@media (min-width: 1600px) {
  .hero-slider-nav {
    right: max(24px, calc((100% - 1560px) / 2 + 24px));
  }
}

.slider-btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.slider-btn-arrow:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  transform: scale(1.06);
}

.slider-dots-container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.slider-dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 40px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@media (max-width: 900px) {
  .hero-slider-container {
    height: auto;
    min-height: 420px;
  }
  .hero-slide-content {
    padding: 36px 0 76px;
  }
  .hero-slide-title {
    font-size: 26px;
  }
  .hero-slide-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .hero-slider-nav {
    right: 16px;
    bottom: 16px;
  }
}

/* ==========================================================================
   TourNovas Live Chat Floating Widget Styles
   ========================================================================== */

#tournovas-live-chat {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 99999;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.tn-chat-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.5), 0 4px 12px rgba(15, 23, 42, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.tn-chat-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.65), 0 6px 16px rgba(15, 23, 42, 0.2);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.tn-chat-float-btn:active {
  transform: translateY(0) scale(0.96);
}

.tn-chat-badge-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background-color: #10b981;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
}

.tn-chat-badge-pulse::after {
  content: '';
  position: absolute;
  top: -2.5px;
  left: -2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: tnPulse 2s infinite ease-out;
  opacity: 0.8;
}

@keyframes tnPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.tn-chat-widget-box {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 380px;
  height: 520px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: tnSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

@keyframes tnSlideUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tn-chat-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tn-chat-header-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.tn-chat-online-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.tn-chat-header-info p {
  margin: 3px 0 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.tn-chat-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tn-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.tn-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tn-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.tn-chat-msg.visitor {
  align-self: flex-end;
  align-items: flex-end;
}

.tn-chat-msg.agent {
  align-self: flex-start;
  align-items: flex-start;
}

.tn-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  word-break: break-word;
}

.tn-chat-msg.visitor .tn-chat-bubble {
  background: #0284c7;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.tn-chat-msg.agent .tn-chat-bubble {
  background: #ffffff;
  color: #0f172a;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.tn-chat-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  padding: 0 2px;
}

.tn-chat-footer {
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tn-chat-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13.5px;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s;
  color: #0f172a;
}

.tn-chat-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.tn-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tn-chat-send-btn:hover {
  background: #0369a1;
  transform: scale(1.04);
}

.tn-chat-send-btn:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  #tournovas-live-chat {
    right: 16px;
    bottom: 16px;
  }
  .tn-chat-widget-box {
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    max-height: 540px;
    bottom: 70px;
    right: 0;
  }
}



