/* ============================================================
   iChuDu.com - Design System
   Color Palette: Warm Terracotta + Forest Green + Cream
   Font: Lexend (headings) + Inter (body)
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --c-primary:      #E8603C; /* Terracotta */
  --c-primary-dark: #C44A28;
  --c-primary-light:#FDE8DF;
  --c-secondary:    #2D6A4F; /* Forest Green */
  --c-secondary-light: #D8F3DC;
  --c-accent:       #F4A261; /* Warm Orange */

  /* Neutrals */
  --c-bg:           #FAFAF7;
  --c-surface:      #FFFFFF;
  --c-border:       #E8E5DF;
  --c-text:         #1A1A1A;
  --c-text-muted:   #6B6860;
  --c-text-light:   #A09C95;

  /* Status */
  --c-success:      #2D6A4F;
  --c-warning:      #F4A261;
  --c-error:        #C44A28;
  --c-star:         #F4A261;

  /* Guide special */
  --c-guide-bg:     #FFF8F0;
  --c-guide-accent: #C0392B;
  --c-china-red:    #DE2910;

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

  /* Typography */
  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-card: 0 2px 8px rgba(232,96,60,.08);

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

  /* Layout */
  --container: 1200px;
  --sidebar: 320px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-dark); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1400px; }

/* ── Grid ─────────────────────────────────────── */
.grid { display: grid; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid--content { grid-template-columns: 1fr var(--sidebar); gap: var(--sp-10); align-items: start; }

/* ── Typography ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-muted { color: var(--c-text-muted); }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-lg    { font-size: 1.125rem; }
.font-bold  { font-weight: 700; }

/* ── Header ─────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--sp-6);
}
.header__logo { display: flex; align-items: center; gap: var(--sp-3); }
.header__logo-text {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--c-primary); letter-spacing: -.02em;
}
.header__logo-sub { font-size: 0.75rem; color: var(--c-text-muted); }

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  font-weight: 500; font-size: 0.9rem; color: var(--c-text);
  transition: all var(--t-fast);
}
.nav__link:hover, .nav__link.active {
  background: var(--c-primary-light); color: var(--c-primary);
}
.nav__link--guide {
  background: var(--c-china-red); color: #fff !important;
}
.nav__link--guide:hover { background: #b71c1c; }

.header__search { display: flex; align-items: center; gap: var(--sp-3); }
.header__search-input {
  border: 1px solid var(--c-border); border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-4);
  font-size: 0.875rem; width: 200px;
  transition: all var(--t-base);
}
.header__search-input:focus { outline: none; border-color: var(--c-primary); width: 260px; }

.header__hamburger { display: none; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 50%, #8B2500 100%);
  color: #fff; padding: var(--sp-20) 0;
  text-align: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0H0z' fill='rgba(255,255,255,.03)'/%3E%3C/svg%3E");
}
.hero__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: var(--sp-4); }
.hero__subtitle { font-size: 1.1rem; opacity: .85; margin-bottom: var(--sp-8); max-width: 600px; margin-inline: auto; }
.hero__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6); border-radius: var(--r-full);
  font-weight: 600; font-size: 0.9rem; border: none;
  cursor: pointer; transition: all var(--t-fast); text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.25); }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: 0.8rem; }
.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--guide { background: var(--c-china-red); color: #fff; }
.btn--guide:hover { background: #b71c1c; }

/* ── Cards ─────────────────────────────────────── */
.card {
  background: var(--c-surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--t-base);
  border: 1px solid var(--c-border);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card__image { position: relative; overflow: hidden; }
.card__image img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--t-slow); }
.card:hover .card__image img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: var(--c-primary); color: #fff;
  padding: 2px var(--sp-3); border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600;
}
.card__body { padding: var(--sp-5); }
.card__category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--c-primary); margin-bottom: var(--sp-2); }
.card__title { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: var(--sp-3); color: var(--c-text); }
.card__title a:hover { color: var(--c-primary); }
.card__excerpt { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.6; margin-bottom: var(--sp-4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: var(--sp-4); font-size: 0.75rem; color: var(--c-text-light); padding-top: var(--sp-4); border-top: 1px solid var(--c-border); }

/* ── Guide Card (special) ─────────────────────────── */
.guide-card {
  background: var(--c-surface); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm); transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.guide-card__header {
  position: relative; background: linear-gradient(135deg, #1a0000, var(--c-china-red));
  padding: var(--sp-6) var(--sp-5) var(--sp-8);
  text-align: center;
}
.guide-card__avatar {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; border: 3px solid rgba(255,255,255,.6);
  margin: 0 auto var(--sp-3);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.guide-card__name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #fff; }
.guide-card__location { font-size: 0.8rem; color: rgba(255,255,255,.75); margin-top: var(--sp-1); }
.guide-card__verified {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  background: #27ae60; color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.guide-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.guide-card__rating { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.guide-card__rating-score { font-size: 1.25rem; font-weight: 700; color: var(--c-text); }
.guide-card__rating-count { font-size: 0.8rem; color: var(--c-text-muted); }

.guide-card__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.guide-card__tag {
  background: var(--c-secondary-light); color: var(--c-secondary);
  padding: 2px var(--sp-3); border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 500;
}
.guide-card__price {
  font-size: 0.9rem; color: var(--c-text-muted);
  margin-bottom: var(--sp-4); margin-top: auto;
}
.guide-card__price strong { color: var(--c-primary); font-size: 1rem; }
.guide-card__cta { margin-top: auto; }

/* ── Stars ─────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; }
.star { width: 16px; height: 16px; fill: #ddd; }
.star--full, .star--half { fill: var(--c-star); }
.stars--lg .star { width: 24px; height: 24px; }

/* ── Rating Bar ─────────────────────────────────── */
.rating-bar { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.rating-bar__label { font-size: 0.8rem; min-width: 24px; color: var(--c-text-muted); }
.rating-bar__track { flex: 1; height: 8px; background: var(--c-border); border-radius: var(--r-full); overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--c-star); border-radius: var(--r-full); transition: width var(--t-slow); }
.rating-bar__count { font-size: 0.8rem; min-width: 24px; text-align: right; color: var(--c-text-muted); }

/* ── Section Headers ─────────────────────────────── */
.section { padding: var(--sp-16) 0; }
.section--sm { padding: var(--sp-10) 0; }
.section--guide { background: var(--c-guide-bg); }
.section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-8); gap: var(--sp-4); }
.section__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.section__title span { color: var(--c-primary); }
.section__subtitle { color: var(--c-text-muted); font-size: 0.9rem; margin-top: var(--sp-2); }
.section__more { font-weight: 600; font-size: 0.875rem; white-space: nowrap; }

/* ── Breadcrumb ─────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; font-size: 0.8rem; color: var(--c-text-muted); padding: var(--sp-4) 0; }
.breadcrumb__sep { color: var(--c-border); }
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb__current { color: var(--c-text); }

/* ── Tags / Badges ─────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px var(--sp-3); border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 500; background: var(--c-primary-light); color: var(--c-primary);
}
.tag--green { background: var(--c-secondary-light); color: var(--c-secondary); }

/* ── Toplist Rank Badge ─────────────────────────── */
.rank-badge {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
  background: var(--c-border); color: var(--c-text);
}
.rank-badge--1 { background: #FFD700; color: #5C4000; }
.rank-badge--2 { background: #C0C0C0; color: #3C3C3C; }
.rank-badge--3 { background: #CD7F32; color: #fff; }

/* ── Article Content ─────────────────────────────── */
.article-content { line-height: 1.8; }
.article-content h2 { margin: var(--sp-8) 0 var(--sp-4); color: var(--c-primary-dark); }
.article-content h3 { margin: var(--sp-6) 0 var(--sp-3); }
.article-content p  { margin-bottom: var(--sp-5); }
.article-content ul, .article-content ol { padding-left: var(--sp-6); margin-bottom: var(--sp-5); }
.article-content li { margin-bottom: var(--sp-2); }
.article-content img { border-radius: var(--r-md); box-shadow: var(--shadow-md); margin: var(--sp-6) auto; }
.article-content blockquote {
  border-left: 4px solid var(--c-primary); padding: var(--sp-4) var(--sp-6);
  background: var(--c-primary-light); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-6) 0; font-style: italic;
}
.article-content table { width: 100%; border-collapse: collapse; margin: var(--sp-6) 0; }
.article-content th, .article-content td { padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-border); text-align: left; }
.article-content th { background: var(--c-primary-light); font-weight: 600; }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar-widget { background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-6); border: 1px solid var(--c-border); margin-bottom: var(--sp-6); }
.sidebar-widget__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-5); padding-bottom: var(--sp-3); border-bottom: 2px solid var(--c-primary); }

/* ── Comment Form ─────────────────────────────────── */
.form-group { margin-bottom: var(--sp-5); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: var(--sp-2); }
.form-label span { color: var(--c-error); }
.form-control {
  width: 100%; padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  font-size: 0.9rem; background: var(--c-surface);
  transition: border-color var(--t-fast);
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-light); }
.form-control--error { border-color: var(--c-error); }
.form-error { font-size: 0.8rem; color: var(--c-error); margin-top: var(--sp-1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Rating Input ─────────────────────────────────── */
.star-input { display: flex; gap: var(--sp-1); flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label {
  cursor: pointer; font-size: 2rem; color: #ddd;
  transition: color var(--t-fast);
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--c-star); }

/* ── Newsletter Banner ─────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--c-secondary), var(--c-secondary-light));
  border-radius: var(--r-xl); padding: var(--sp-10) var(--sp-12);
  text-align: center;
}
.newsletter h3 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.newsletter p { color: var(--c-text-muted); margin-bottom: var(--sp-6); }
.newsletter__form { display: flex; max-width: 480px; margin: 0 auto; gap: var(--sp-3); }
.newsletter__input { flex: 1; padding: var(--sp-3) var(--sp-5); border: none; border-radius: var(--r-full); font-size: 0.9rem; }
.newsletter__input:focus { outline: 2px solid var(--c-secondary); }

/* ── Filter Bar ─────────────────────────────────── */
.filter-bar { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; padding: var(--sp-4) 0; }
.filter-select {
  padding: var(--sp-2) var(--sp-4); border: 1.5px solid var(--c-border);
  border-radius: var(--r-full); font-size: 0.875rem; background: var(--c-surface);
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--c-primary); }

/* ── Search Bar ─────────────────────────────────── */
.search-bar { display: flex; max-width: 600px; margin: 0 auto; }
.search-bar__input {
  flex: 1; padding: var(--sp-4) var(--sp-6);
  border: 2px solid var(--c-primary); border-right: none;
  border-radius: var(--r-full) 0 0 var(--r-full);
  font-size: 1rem;
}
.search-bar__input:focus { outline: none; }
.search-bar__btn {
  padding: var(--sp-4) var(--sp-6); background: var(--c-primary); color: #fff;
  border: none; border-radius: 0 var(--r-full) var(--r-full) 0;
  font-weight: 600; cursor: pointer;
}

/* ── Pagination ─────────────────────────────────── */
.pagination { display: flex; gap: var(--sp-2); justify-content: center; padding: var(--sp-8) 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 var(--sp-3);
  border-radius: var(--r-md); font-size: 0.875rem; font-weight: 500;
  border: 1.5px solid var(--c-border); background: var(--c-surface); color: var(--c-text);
  transition: all var(--t-fast);
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #1A1A1A; color: rgba(255,255,255,.7);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-10); margin-bottom: var(--sp-10); }
.footer__logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: var(--sp-3); }
.footer__desc { font-size: 0.875rem; line-height: 1.7; margin-bottom: var(--sp-5); }
.footer__heading { font-family: var(--font-head); font-weight: 600; color: #fff; margin-bottom: var(--sp-4); font-size: 0.9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__links a { font-size: 0.875rem; color: rgba(255,255,255,.6); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--c-primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4); font-size: 0.8rem; }
.social-links { display: flex; gap: var(--sp-3); }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 14px; transition: all var(--t-fast);
}
.social-link:hover { background: var(--c-primary); color: #fff; }

/* ── Guide Detail Page ─────────────────────────── */
.guide-hero {
  background: linear-gradient(160deg, #1a0000 0%, var(--c-china-red) 40%, #8B0000 100%);
  color: #fff; padding: var(--sp-16) 0 var(--sp-20);
  position: relative; overflow: hidden;
}
.guide-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='rgba(255,255,255,.05)' fill='none'/%3E%3C/svg%3E") center/100px;
  opacity: .5;
}
.guide-hero__inner { position: relative; z-index: 1; display: flex; gap: var(--sp-10); align-items: center; }
.guide-hero__photo-wrap { flex-shrink: 0; }
.guide-hero__photo {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; border: 4px solid rgba(255,255,255,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.guide-hero__info { flex: 1; }
.guide-hero__name { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: var(--sp-2); }
.guide-hero__subtitle { font-size: 1rem; opacity: .8; margin-bottom: var(--sp-5); }
.guide-hero__stats { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.guide-hero__stat { text-align: center; }
.guide-hero__stat-value { font-size: 1.5rem; font-weight: 700; display: block; }
.guide-hero__stat-label { font-size: 0.75rem; opacity: .7; }
.guide-hero__badges { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); flex-wrap: wrap; }
.guide-hero__badge {
  display: flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  font-size: 0.8rem;
}
.guide-hero__verified {
  background: #27ae60; border-color: #27ae60;
}

.guide-detail { background: var(--c-bg); padding: var(--sp-12) 0; }
.guide-detail__layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-10); align-items: start; }

.guide-contact-card {
  background: var(--c-surface); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border); position: sticky; top: 80px;
}
.guide-contact-card__price { text-align: center; padding-bottom: var(--sp-5); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--c-border); }
.guide-contact-card__price-value { font-size: 1.75rem; font-weight: 700; color: var(--c-primary); }
.guide-contact-card__price-label { font-size: 0.8rem; color: var(--c-text-muted); }

.guide-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.guide-info-item { background: var(--c-bg); border-radius: var(--r-md); padding: var(--sp-4); }
.guide-info-item__label { font-size: 0.75rem; color: var(--c-text-muted); margin-bottom: var(--sp-1); }
.guide-info-item__value { font-size: 0.9rem; font-weight: 600; color: var(--c-text); }

.guide-rating-overview { display: flex; gap: var(--sp-8); align-items: center; background: var(--c-surface); border-radius: var(--r-xl); padding: var(--sp-8); border: 1px solid var(--c-border); margin-bottom: var(--sp-8); }
.guide-rating-big { text-align: center; flex-shrink: 0; }
.guide-rating-big__score { font-size: 4rem; font-weight: 700; color: var(--c-text); line-height: 1; }
.guide-rating-big__stars { margin: var(--sp-2) 0; }
.guide-rating-big__count { font-size: 0.85rem; color: var(--c-text-muted); }
.guide-rating-bars { flex: 1; }

.review-item { background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-6); border: 1px solid var(--c-border); margin-bottom: var(--sp-4); }
.review-item__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-3); gap: var(--sp-4); }
.review-item__author { font-weight: 600; font-size: 0.95rem; }
.review-item__date { font-size: 0.8rem; color: var(--c-text-muted); }
.review-item__title { font-weight: 600; margin-bottom: var(--sp-2); }
.review-item__body { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.7; }
.review-item__trip { display: inline-flex; align-items: center; gap: var(--sp-2); background: var(--c-bg); padding: 2px var(--sp-3); border-radius: var(--r-full); font-size: 0.75rem; margin-top: var(--sp-3); }

/* ── Toplist Item ─────────────────────────────────── */
.toplist-item {
  display: flex; gap: var(--sp-5); align-items: flex-start;
  background: var(--c-surface); border-radius: var(--r-lg);
  padding: var(--sp-5); border: 1px solid var(--c-border);
  transition: all var(--t-base); margin-bottom: var(--sp-4);
}
.toplist-item:hover { box-shadow: var(--shadow-md); }
.toplist-item__img { width: 100px; height: 80px; border-radius: var(--r-md); object-fit: cover; flex-shrink: 0; }
.toplist-item__content { flex: 1; }
.toplist-item__name { font-weight: 600; margin-bottom: var(--sp-2); }
.toplist-item__desc { font-size: 0.875rem; color: var(--c-text-muted); }

/* ── Utilities ─────────────────────────────────── */
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--content { grid-template-columns: 1fr; }
  .guide-detail__layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__hamburger { display: flex; }
  .hero { padding: var(--sp-12) 0; }
  .guide-hero__inner { flex-direction: column; text-align: center; }
  .guide-hero__stats { justify-content: center; }
  .guide-hero__badges { justify-content: center; }
  .guide-rating-overview { flex-direction: column; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .section { padding: var(--sp-10) 0; }
  .container { padding: 0 var(--sp-4); }
}

@media (max-width: 480px) {
  .guide-info-grid { grid-template-columns: 1fr; }
  .guide-hero__photo { width: 120px; height: 120px; }
}

/* ── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Focus styles (Accessibility) ─────────────────── */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Mobile Nav Drawer ─────────────────────────────── */
.nav-mobile {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.5); opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile__drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw); background: var(--c-surface);
  padding: var(--sp-6); transform: translateX(100%);
  transition: transform var(--t-base); overflow-y: auto;
}
.nav-mobile.open .nav-mobile__drawer { transform: none; }
