:root {
  --ink: #10212b;
  --ink-2: #3b4d58;
  --muted: #687983;
  --line: #e3e9ec;
  --bg: #ffffff;
  --bg-2: #f5f8f8;
  --brand: #0f766e;
  --brand-dark: #0b5952;
  --brand-tint: #e6f4f2;
  --star: #f5a524;
  --danger: #b42318;
  --ok: #067647;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 33, 43, .06), 0 6px 20px rgba(16, 33, 43, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-2); }
.hidden { display: none !important; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.25rem; font-weight: 600; }
.logo b { color: var(--brand); font-weight: 800; }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 18px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink-2); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 0; border-radius: 10px;
  padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-block { width: 100%; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cfd8dd; border-radius: 10px; padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.notice { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: .95rem; }
.notice-ok { background: #ecfdf3; color: var(--ok); }
.notice-err { background: #fef3f2; color: var(--danger); }
.notice-info { background: var(--brand-tint); color: var(--brand-dark); }

/* hero and search */
.hero { background: linear-gradient(160deg, #0f766e 0%, #0b4f4a 100%); color: #fff; padding: 72px 0 80px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { color: #d5efeb; font-size: 1.15rem; max-width: 640px; }
.searchbar {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; background: #fff;
  padding: 8px; border-radius: 14px; box-shadow: var(--shadow); max-width: 820px; margin-top: 24px;
}
.searchbar input, .searchbar select { border: 0; background: var(--bg-2); }
@media (max-width: 720px) { .searchbar { grid-template-columns: 1fr; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; color: #d5efeb; font-size: .95rem; }
.trust-row span::before { content: "✓ "; color: var(--star); font-weight: 700; }

/* grids and cards */
.grid { display: grid; gap: 16px; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid-cards { grid-template-columns: 1fr; }
.cat-tile {
  display: flex; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); font-weight: 600; background: #fff;
}
.cat-tile:hover { border-color: var(--brand); text-decoration: none; box-shadow: var(--shadow); }
.cat-tile .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-tint); display: grid; place-items: center; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: .9rem; border: 1px solid var(--line); }
.chip:hover { border-color: var(--brand); text-decoration: none; }

.card {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff;
}
.card:hover { box-shadow: var(--shadow); }
.card-logo { width: 88px; height: 88px; border-radius: 12px; background: var(--brand-tint); object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 1.8rem; color: var(--brand); }
.card h3 { margin: 0 0 4px; }
.card h3 a { color: var(--ink); }
.card-meta { color: var(--muted); font-size: .92rem; }
.card-actions { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 640px) {
  .card { grid-template-columns: 64px 1fr; }
  .card-logo { width: 64px; height: 64px; font-size: 1.3rem; }
  .card-actions { grid-column: 1 / -1; flex-direction: row; }
}
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.badge-verified { background: #ecfdf3; color: var(--ok); }
.badge-featured { background: #fff7e6; color: #9a5b00; }
.badge-claimed { background: var(--brand-tint); color: var(--brand-dark); }

/* stars */
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.stars-bar { --pct: 0%; position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.stars-bar::before { content: "★★★★★"; color: #d9e0e3; }
.stars-bar::after { content: "★★★★★"; color: var(--star); position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; }
.stars b { font-weight: 700; }

/* listing page */
.biz-head { padding: 32px 0 20px; border-bottom: 1px solid var(--line); }
.biz-head-row { display: flex; gap: 20px; align-items: flex-start; }
.biz-head .card-logo { width: 104px; height: 104px; flex: none; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.biz-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 32px 0 56px; }
@media (max-width: 900px) { .biz-layout { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-bottom: 24px; }
.photos img { aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.review { border-top: 1px solid var(--line); padding: 20px 0; }
.review:first-child { border-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.owner-reply { background: var(--bg-2); border-left: 3px solid var(--brand); padding: 10px 14px; border-radius: 8px; margin-top: 10px; font-size: .95rem; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 2rem; color: #d9e0e3; cursor: pointer; margin: 0; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }
.map { width: 100%; height: 220px; border: 0; border-radius: 10px; }

/* misc */
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed #cfd8dd; border-radius: var(--radius); background: var(--bg-2); }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.price-card.hot { border: 2px solid var(--brand); }
.price-card ul { padding-left: 18px; margin: 12px 0 0; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 1.6rem; }
table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }

.site-footer { background: #0c1a22; color: #b6c4cb; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #dce6ea; display: block; margin: 4px 0; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.logo-footer { color: #fff; }
.logo-footer b { color: #5eead4; }
.footer-bottom { border-top: 1px solid #22323b; margin-top: 32px; padding-top: 16px; font-size: .85rem; }
.footer-bottom a { display: inline; }
