/* ===================================================
   真住 TrueStay — Main Stylesheet
   Design tokens, typography, layout, utilities
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --color-primary: #0A7075;
  --color-primary-dark: #06474A;
  --color-primary-light: #E0F2F3;
  --color-accent: #F5A623;
  --color-accent-light: #FEF3DC;

  /* Semantic Colors */
  --color-success: #16A34A;
  --color-success-light: #DCFCE7;
  --color-warning: #D97706;
  --color-warning-light: #FEF9C3;
  --color-danger: #DC2626;
  --color-danger-light: #FEE2E2;

  /* Score Colors */
  --score-high: #16A34A;
  --score-mid: #D97706;
  --score-low: #DC2626;

  /* Neutral */
  --color-text: #111827;
  --color-text-secondary: #6B7280;
  --color-text-muted: #9CA3AF;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-bg: #F9FAFB;
  --color-bg-white: #FFFFFF;
  --color-bg-dark: #1F2937;

  /* Typography */
  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 17px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 30px;
  --font-size-3xl: 38px;
  --font-size-hero: 52px;
  --line-height: 1.75;
  --line-height-tight: 1.3;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.14);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 64px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-20) 0;
}

.section--sm {
  padding: var(--space-10) 0;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  line-height: var(--line-height-tight);
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-md); }

.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }

.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-mobile-menu {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: var(--color-text);
  font-size: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 112, 117, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.btn--accent {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: #D4891A;
  border-color: #D4891A;
  transform: translateY(-1px);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-5);
}

/* ---------- Hotel Card ---------- */
.hotel-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--color-primary-light);
}

.hotel-card__image-wrap {
  position: relative;
  overflow: hidden;
}

.hotel-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hotel-card:hover .hotel-card__image {
  transform: scale(1.05);
}

.hotel-card__score {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
}

.hotel-card__city-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: var(--font-size-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.hotel-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hotel-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.hotel-card__name {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.hotel-card__district {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.hotel-card__reality-tag {
  background: var(--color-danger-light);
  color: var(--color-danger);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.hotel-card__reality-tag--warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.hotel-card__reality-tag--good {
  background: var(--color-success-light);
  color: var(--color-success);
}

.hotel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hotel-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.hotel-card__price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

.hotel-card__price span {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

.hotel-card__reports {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ---------- Reality Score Badge ---------- */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.score-badge--high { background: var(--score-high); }
.score-badge--mid { background: var(--score-mid); }
.score-badge--low { background: var(--score-low); }

.score-badge--sm {
  width: 34px;
  height: 34px;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.score-badge--lg {
  width: 64px;
  height: 64px;
  font-size: var(--font-size-2xl);
  border-radius: var(--radius-lg);
}

/* ---------- Star Rating ---------- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
  font-size: 14px;
}

.stars .star--empty {
  color: var(--color-border);
}

/* ---------- Tags & Badges ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.tag--warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
  border: 1px solid #FDE68A;
}

.tag--danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
  border: 1px solid #FECACA;
}

.tag--success {
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid #BBF7D0;
}

.tag--neutral {
  background: var(--color-border-light);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.tag--primary {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid #A7D8DA;
}

/* ---------- Alert / Callout ---------- */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  border-left: 4px solid;
}

.alert__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert--danger {
  background: var(--color-danger-light);
  border-color: var(--color-danger);
  color: #7F1D1D;
}

.alert--warning {
  background: var(--color-warning-light);
  border-color: var(--color-warning);
  color: #78350F;
}

.alert--success {
  background: var(--color-success-light);
  border-color: var(--color-success);
  color: #14532D;
}

.alert--info {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: #064E52;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.section-header__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--line-height);
}

/* ---------- Progress / Rating Bars ---------- */
.rating-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.rating-bar__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  min-width: 80px;
  flex-shrink: 0;
}

.rating-bar__track {
  flex: 1;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.rating-bar__fill--high { background: var(--score-high); }
.rating-bar__fill--mid { background: var(--score-mid); }
.rating-bar__fill--low { background: var(--score-low); }

.rating-bar__value {
  font-size: var(--font-size-sm);
  font-weight: 700;
  min-width: 28px;
  text-align: right;
}

/* ---------- Form Elements ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-bg-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 112, 117, 0.15);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ---------- Map Container ---------- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* ---------- Photo Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.gallery__main {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  grid-column: 1 / -1;
}

.gallery__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery__thumb img,
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__thumb:hover img {
  transform: scale(1.08);
}

/* ---------- Comparison Widget ---------- */
.comparison-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.comparison-widget__side {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.comparison-widget__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-widget__label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.comparison-widget__label--real {
  background: rgba(22, 163, 74, 0.85);
}

.comparison-widget__label--official {
  background: rgba(220, 38, 38, 0.8);
}

.comparison-widget__divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

/* ---------- Review Card ---------- */
.review-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-base);
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.review-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.review-card__content {
  font-size: var(--font-size-sm);
  line-height: var(--line-height);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.review-card__tip {
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--font-size-sm);
  color: #7A4F00;
  font-weight: 500;
}

.review-card__tip::before {
  content: "💡 实用建议：";
  font-weight: 700;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
}

.review-card__upvote {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
}

.review-card__upvote:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ---------- Proximity Table ---------- */
.proximity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.proximity-table th {
  text-align: left;
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proximity-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.proximity-table tr:last-child td {
  border-bottom: none;
}

.proximity-diff {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.proximity-diff--worse { color: var(--color-danger); }
.proximity-diff--better { color: var(--color-success); }
.proximity-diff--same { color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  color: white;
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__desc {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer__col-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.35);
}

.footer__pledge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__pledge-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.55);
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-border) 50%, var(--color-border-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Sticky Panel ---------- */
.sticky-panel {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-5));
}

/* ---------- Divider ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

/* ---------- Pill Tabs ---------- */
.tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
}

.tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.tab:hover {
  color: var(--color-primary);
}

.tab.active {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom-color: var(--color-primary);
}

/* ---------- Search Bar ---------- */
.search-bar {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.search-bar:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(10, 112, 117, 0.2);
}

.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  padding: var(--space-4) var(--space-5);
  font-size: var(--font-size-base);
  background: transparent;
}

.search-bar__btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: var(--space-3) var(--space-6);
  margin: 4px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.search-bar__btn:hover {
  background: var(--color-primary-dark);
}

/* ---------- Page Header Spacer ---------- */
.page-spacer {
  height: var(--nav-height);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 768px) {
  :root {
    --font-size-hero: 36px;
    --font-size-3xl: 28px;
    --font-size-2xl: 24px;
  }

  .container { padding: 0 var(--space-4); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav-mobile-menu { display: block; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .section { padding: var(--space-10) 0; }
  .gallery__thumbs { grid-template-columns: repeat(2, 1fr); }
  .map-container { height: 300px; }
}

@media (max-width: 480px) {
  .search-bar { border-radius: var(--radius-lg); }
  .comparison-widget { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.no-scroll { overflow: hidden; }
