:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-soft: #e0f2fe;
  --gold: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
  --shadow-strong: 0 28px 80px rgba(15, 23, 42, .16);
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.14), transparent 28rem),
    radial-gradient(circle at 75% 12%, rgba(245,158,11,.08), transparent 22rem),
    linear-gradient(180deg, #f8fafc 0%, #eef6ff 44%, #f8fafc 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .88);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand { display:inline-flex; align-items:center; gap:.75rem; font-weight:900; letter-spacing:-.03em; }
.brand-mark {
  width:44px; height:44px; border-radius:17px; display:grid; place-items:center; color:#fff;
  background: linear-gradient(135deg, #0f172a, #0ea5e9); box-shadow: 0 16px 32px rgba(14,165,233,.22);
}
.brand-title { display:block; font-size:1.15rem; line-height:1; }
.brand-subtitle { display:block; margin-top:.18rem; color:var(--muted); font-size:.72rem; letter-spacing:.11em; text-transform:uppercase; }
.menu { display:flex; align-items:center; gap:.4rem; color:#475569; font-weight:760; font-size:.94rem; }
.menu a { padding:.75rem .95rem; border-radius:999px; }
.menu a:hover, .menu a.active { background:#e2e8f0; color:var(--ink); }
.mobile-toggle { display:none; border:1px solid var(--line); background:#fff; border-radius:16px; padding:.7rem .85rem; cursor:pointer; }
.mobile-menu { display:none; border-top:1px solid var(--line); padding:.75rem 0 1rem; }
.mobile-menu a { display:block; padding:.8rem 0; color:#475569; font-weight:760; }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.45rem;
  border-radius:999px; padding:.88rem 1.12rem; border:1px solid transparent;
  background:var(--primary); color:#fff; font-weight:850; font-size:.93rem; cursor:pointer; transition:.18s ease;
}
.btn:hover { transform: translateY(-1px); background:var(--primary-soft); }
.btn.secondary { background:#fff; color:var(--ink); border-color:var(--line); }
.btn.secondary:hover { background:#f8fafc; }
.btn.accent { background:var(--accent-dark); }
.btn.success { background:#059669; }
.btn.warning { background:#d97706; }
.btn.small { padding:.64rem .82rem; font-size:.82rem; }

.card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-2xl);
  box-shadow: var(--shadow); overflow:hidden;
}
.pill {
  display:inline-flex; align-items:center; gap:.35rem; border-radius:999px; padding:.38rem .7rem;
  background:var(--accent-soft); color:#0369a1; font-weight:850; font-size:.76rem;
}
.pill.gold { background:#fef3c7; color:#92400e; }
.pill.dark { background:rgba(255,255,255,.12); color:#e0f2fe; }

.input {
  width:100%; border:1px solid #cbd5e1; border-radius:18px; background:#fff; padding:.96rem 1rem;
  outline:none; color:var(--ink);
}
.input:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(14,165,233,.12); }

.hero { padding:clamp(3rem,8vw,5.5rem) 0 3rem; }
.hero-grid { display:grid; grid-template-columns:1.13fr .87fr; gap:2rem; align-items:center; }
.hero h1 { margin:1rem 0 1rem; font-size:clamp(2.6rem,7vw,5.4rem); line-height:.93; letter-spacing:-.07em; }
.hero p { max-width:760px; color:#475569; font-size:clamp(1.02rem,2vw,1.2rem); line-height:1.75; }
.search-box { padding:.8rem; display:grid; grid-template-columns:1fr 220px auto; gap:.65rem; box-shadow:0 24px 70px rgba(14,165,233,.14); }
.stats-row { display:flex; flex-wrap:wrap; gap:1rem; color:var(--muted); font-weight:800; margin-top:1.25rem; }

.feature-panel { background:#0f172a; color:#fff; padding:1.25rem; border-color:rgba(255,255,255,.1); box-shadow: var(--shadow-strong); }
.feature-panel h2 { margin:.5rem 0 1rem; font-size:2rem; line-height:1.08; letter-spacing:-.04em; }
.feature-list { display:grid; gap:.75rem; }
.feature-item { display:flex; gap:.85rem; align-items:center; padding:.8rem; border-radius:20px; background:rgba(255,255,255,.08); }
.feature-thumb { width:58px; height:58px; border-radius:18px; flex:0 0 58px; overflow:hidden; background:linear-gradient(135deg,#38bdf8,#0f172a); }
.feature-thumb img { width:100%; height:100%; object-fit:cover; }

.section { padding:3rem 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.2rem; }
.section-head h2 { font-size:clamp(1.9rem,4vw,2.55rem); line-height:1; letter-spacing:-.05em; margin:.7rem 0 0; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }

.commerce-card { position:relative; }
.card-image { height:218px; background:linear-gradient(135deg,#0f172a,#0ea5e9); overflow:hidden; position:relative; }
.card-image img { width:100%; height:100%; object-fit:cover; transition:.3s ease; }
.commerce-card:hover .card-image img { transform:scale(1.04); }
.card-logo {
  position:absolute; left:1rem; bottom:-24px; width:58px; height:58px; border-radius:18px;
  border:4px solid #fff; background:#fff; object-fit:cover; box-shadow:0 10px 26px rgba(15,23,42,.18);
}
.card-body { padding:1.15rem; }
.card-title { margin:.9rem 0 .35rem; font-size:1.22rem; line-height:1.18; letter-spacing:-.03em; }
.card-location { color:var(--muted); margin:0; font-size:.9rem; }
.card-description { margin:.8rem 0 0; color:#475569; line-height:1.55; font-size:.95rem; }
.card-actions { margin-top:1rem; display:flex; align-items:center; justify-content:space-between; gap:.8rem; }
.stars { color:var(--gold); letter-spacing:.05em; white-space:nowrap; }

.filter-bar { padding:1rem; display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:.75rem; margin-bottom:1.5rem; }
.empty-state { padding:3rem 2rem; text-align:center; color:var(--muted); }
.pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:.5rem; margin-top:2rem; }

.detail-hero { background:#0f172a; color:white; padding:3rem 0; position:relative; overflow:hidden; }
.detail-hero::before {
  content:""; position:absolute; inset:-20%; background:radial-gradient(circle at 80% 10%, rgba(14,165,233,.35), transparent 24rem);
  pointer-events:none;
}
.detail-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:2rem; align-items:center; position:relative; }
.detail-hero h1 { margin:1rem 0; font-size:clamp(2.4rem,6vw,4.9rem); line-height:.94; letter-spacing:-.07em; }
.detail-hero p { color:#cbd5e1; font-size:1.05rem; line-height:1.7; }
.detail-image { height:430px; background:linear-gradient(135deg,#0284c7,#0f172a); position:relative; }
.detail-image img { width:100%; height:100%; object-fit:cover; }
.detail-logo {
  position:absolute; left:1.25rem; bottom:1.25rem; width:86px; height:86px; border-radius:26px; border:5px solid #fff;
  background:#fff; object-fit:cover; box-shadow:0 14px 35px rgba(15,23,42,.28);
}
.detail-content { padding:2rem 0; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:1.5rem; align-items:start; }
.content-card { padding:1.5rem; }
.content-card h2 { margin:0 0 1rem; font-size:1.75rem; letter-spacing:-.04em; }
.prose { color:#475569; line-height:1.78; white-space:pre-line; }
.aside { display:grid; gap:1rem; }
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }
.gallery img { width:100%; height:145px; object-fit:cover; border-radius:18px; }
.quick-list { display:grid; gap:.7rem; color:#475569; }
.review-card { border:1px solid var(--line); border-radius:20px; padding:1rem; }
.schedule-row { display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; border-bottom:1px solid #f1f5f9; color:#475569; }
.map-box { height:260px; background:#e2e8f0; border-radius:24px; overflow:hidden; display:grid; place-items:center; color:#475569; }
.map-box iframe { width:100%; height:100%; border:0; }

.toast {
  position:fixed; right:1rem; bottom:1rem; z-index:999; min-width:260px; max-width:420px; padding:1rem;
  border-radius:18px; box-shadow:var(--shadow); background:#0f172a; color:white; display:none;
}
.toast.show { display:block; }

.notice { border:1px solid #bae6fd; background:#f0f9ff; color:#075985; padding:1rem; border-radius:20px; }
.footer { margin-top:4rem; border-top:1px solid var(--line); padding:2rem 0; color:var(--muted); }
.footer-row { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }

.skeleton { background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0); background-size:200% 100%; animation:loading 1.2s infinite; border-radius:20px; min-height:180px; }
@keyframes loading { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }

@media (max-width:980px) {
  .hero-grid, .detail-grid, .detail-content { grid-template-columns:1fr; }
  .grid, .grid.two { grid-template-columns:1fr; }
  .search-box, .filter-bar { grid-template-columns:1fr; }
  .menu { display:none; }
  .mobile-toggle { display:inline-flex; }
  .mobile-menu.open { display:block; }
  .detail-image { height:300px; }
  .gallery { grid-template-columns:1fr 1fr; }
}
