/* ==========================================================================
   CaymanFinder v2 — Stylesheet
   Design system: DESIGN.md — Inter font, ocean palette, clean cards, no slop
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg-page: #fafaf8;
  --bg-card: #ffffff;
  --text-heading: #0a1f2f;
  --text-body: #3d4f5f;
  --text-muted: #7a8a9a;
  --text-inverse: #ffffff;
  --accent: #0e6b8a;
  --accent-hover: #0a5468;
  --accent-warm: #c4553a;
  --accent-warm-hover: #a3442e;
  --border: #e2e6ea;
  --border-light: #eef0f2;
  --shadow: rgba(10, 31, 47, 0.08);
  --shadow-md: rgba(10, 31, 47, 0.12);
  --success: #1a8a4a;
  --radius: 8px;
  --radius-sm: 6px;
  --max-width: 1100px;
  --max-width-wide: 1200px;
}

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

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

/* --- Utility --- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  margin-bottom: 32px;
  font-size: 28px;
  color: var(--text-heading);
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 20px;
}

.nav__logo:hover {
  color: var(--text-heading);
}

.nav__logo-text {
  letter-spacing: -0.02em;
}

.nav__logo-accent {
  color: var(--accent);
  font-weight: 600;
}

.nav__logo-icon {
  display: none;
}

.nav__search {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.nav__search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-body);
  background: var(--bg-page);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav__search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 107, 138, 0.1);
}

.nav__search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.nav__location-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.nav__location-btn:hover { color: var(--accent); }

.nav__location-btn--active { color: var(--accent); }

.nav__search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow-md);
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
}

.nav__search-results--visible {
  display: block;
}

.nav__search-result-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 14px;
  transition: background 0.15s ease;
}

.nav__search-result-item:hover {
  background: var(--bg-page);
}

.nav__search-result-item:last-child {
  border-bottom: none;
}

.nav__search-result-name {
  font-weight: 500;
  color: var(--text-heading);
}

.nav__search-result-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Search section labels */
.nav__search-section-label,
.hero__search-section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 14px 4px;
}

.hero__search-section-label {
  font-size: 11px;
  padding: 10px 16px 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__link {
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__link:hover {
  color: var(--accent);
  background: var(--border-light);
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow-md);
  min-width: 180px;
  padding: 4px 0;
  z-index: 200;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-toggle:focus + .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-body);
  transition: background 0.15s ease;
}

.nav__dropdown-link:hover {
  background: var(--bg-page);
  color: var(--accent);
}

.nav__cta {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-inverse);
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

@media (min-width: 769px) {
  .nav__logo-icon {
    display: block;
  }
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 24px 0;
}

.breadcrumb__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb__inner a {
  color: var(--text-muted);
}

.breadcrumb__inner a:hover {
  color: var(--accent);
}

.breadcrumb__sep {
  margin: 0 8px;
  color: var(--border);
}

/* --- Hero --- */
.hero {
  padding: 72px 24px 64px;
  text-align: center;
}

.hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.hero__heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.hero__highlight {
  color: var(--accent);
}

.hero__subheading {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 32px;
}

.hero__sub-highlight {
  display: inline-block;
  font-weight: 500;
  color: var(--accent-warm);
}

.hero__sub-highlight a {
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__sub-highlight a:hover {
  color: var(--accent-warm-hover);
}

/* Hero search with location */
.hero__search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero__search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 107, 138, 0.1), var(--shadow-md);
}

.hero__search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.hero__search-input {
  flex: 1;
  padding: 15px 16px 15px 44px;
  font-size: 16px;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--text-heading);
  outline: none;
  min-width: 0;
}

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

.hero__search-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__location-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-body);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero__location-btn:hover { background: rgba(14, 107, 138, 0.04); color: var(--accent); }

.hero__location-icon { width: 16px; height: 16px; flex-shrink: 0; }

.hero__location-arrow { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }

.hero__location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px;
  min-width: 240px;
  z-index: 20;
}

.hero__location-dropdown--open { display: block; }

.hero__location-dropdown-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hero__location-input {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}

.hero__location-input:focus { border-color: var(--accent); }

.hero__location-set {
  padding: 8px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.hero__location-set:hover { background: var(--accent-hover); }

.hero__location-geo,
.hero__location-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hero__location-geo:hover,
.hero__location-clear:hover { background: rgba(14, 107, 138, 0.06); }

/* Location autocomplete */
.location-autocomplete {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 4px;
}

.location-autocomplete-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-heading);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
}

.location-autocomplete-item span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.location-autocomplete-item:hover {
  background: rgba(14, 107, 138, 0.06);
}

.hero__search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow-md);
  max-height: 360px;
  overflow-y: auto;
  z-index: 50;
  text-align: left;
}

.hero__search-results--visible {
  display: block;
}

.hero__search-result-item {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  transition: background 0.15s ease;
}

.hero__search-result-item:hover {
  background: var(--bg-page);
}

.hero__search-result-item:last-child {
  border-bottom: none;
}

.hero__search-result-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-heading);
}

.hero__search-result-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 0 24px;
}

.stats-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__number {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.1;
}

.stats-bar__label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Categories Section --- */
.categories-section {
  padding: 72px 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  text-align: center;
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.category-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: var(--bg-page);
  border-radius: 50%;
}

.category-card__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.category-card__count {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Featured Section --- */
.featured-section {
  padding: 72px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Business Grid --- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* --- Business Card --- */
.business-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px var(--shadow);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  color: inherit;
}

.business-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.business-card__photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--border-light);
}

.business-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
}

.business-card__body {
  padding: 16px;
}

.business-card__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.3;
}

.business-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold, #f0a500);
  margin-top: 4px;
}

.business-card__review-count {
  color: var(--text-muted);
  font-size: 11px;
}

.business-card__category {
  display: block;
  margin-bottom: 6px;
}

.business-card__subcategory {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.business-card__address,
.business-card__phone {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 4px;
  line-height: 1.4;
}

/* Distance on cards */
.business-card__distance {
  font-size: 12px;
  color: var(--accent);
  display: block;
  margin-top: 4px;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  white-space: nowrap;
  line-height: 1.5;
}

.badge--featured {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--accent-warm);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px 7px 14px;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%);
  z-index: 3;
  line-height: 1.3;
}

.badge--verified {
  background: var(--success);
  color: #fff;
}

.badge--restaurants { background: #fef3e4; color: #b85c1e; }
.badge--dive-shops { background: #e4f0f8; color: var(--accent); }
.badge--hotels { background: #e8f5f0; color: #1a6b4a; }
.badge--gyms { background: #fde8e4; color: var(--accent-warm); }
.badge--real-estate { background: #eef2f8; color: #3a5a8c; }
.badge--legal { background: #f0f0f5; color: #4a4a6a; }
.badge--medical { background: #e8f4f0; color: #2d6a4f; }
.badge--spas { background: #f5eaf0; color: #7a4a6a; }
.badge--retail { background: #fef8e4; color: #8a6a1e; }
.badge--construction { background: #f0eef5; color: #4a4070; }
.badge--tour-operators { background: #e4f4f8; color: #1a5a7a; }
.badge--auto-services { background: #f0f0f5; color: #505070; }
.badge--grocery { background: #e8f5e4; color: #3a6a2d; }
.badge--pharmacy { background: #e8f4f0; color: #1a6b5a; }
.badge--banking { background: #eef0f8; color: #2a4a7a; }
.badge--wedding { background: #fbe8ec; color: #a8345a; }
.badge--pets { background: #fef5e4; color: #8a6a2a; }
.badge--transportation { background: #e8f0f8; color: #2a5a8a; }
.badge--education { background: #f0e8f5; color: #5a3a7a; }

/* Open/Closed badge */
.badge--open {
  background: rgba(26, 138, 74, 0.12);
  color: #1a8a4a;
  border: 1px solid rgba(26, 138, 74, 0.25);
}

.badge--closed {
  background: rgba(122, 138, 154, 0.1);
  color: #7a8a9a;
  border: 1px solid rgba(122, 138, 154, 0.2);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 64px 24px;
  background: var(--accent-warm);
  color: var(--text-inverse);
  text-align: center;
}

.cta-banner__inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner__heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-inverse);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-banner__text {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-banner__button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-warm);
  background: var(--text-inverse);
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-banner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: var(--accent-warm);
}

/* --- Business Profile Page --- */
.business-profile {
  padding: 32px 24px 64px;
}

.business-profile__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.business-profile__header {
  margin-bottom: 24px;
}

.business-profile__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.business-profile__name {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
  line-height: 1.1;
}

.business-profile__subcategory {
  font-size: 16px;
  color: var(--text-muted);
}

/* --- Photo grid (4 squares: 3 photos + "+N more") --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.photo-grid__cell {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  cursor: pointer;
  font: inherit;
  transition: transform .14s ease, box-shadow .14s ease;
}

.photo-grid__cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 31, 47, .16);
}

.photo-grid__cell:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.photo-grid__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #5b6b7a;
  color: #fff;
}

.photo-grid__more:hover {
  background: #4b5966;
}

.photo-grid__more-count {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.photo-grid__more-label {
  font-size: 13px;
  opacity: .85;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(6, 16, 24, .92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__caption {
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  text-align: center;
}

.lightbox__nav,
.lightbox__close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .14s ease;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, .24);
}

.lightbox__nav:focus-visible,
.lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lightbox__nav[disabled] {
  opacity: .3;
  cursor: default;
}

.lightbox__nav[disabled]:hover {
  background: rgba(255, 255, 255, .12);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.business-profile__section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.business-profile__description {
  margin-bottom: 32px;
}

.business-profile__description p {
  font-size: 16px;
  line-height: 1.6;
}

.business-profile__hours-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 12px;
}

.chip--open { background: rgba(26, 138, 74, 0.12); color: #1a8a4a; }
.chip--closing-soon { background: rgba(230, 168, 85, 0.15); color: #b8860b; }
.chip--opening-soon { background: rgba(14, 107, 138, 0.12); color: #0e6b8a; }

.hours-list { list-style: none; padding: 0; margin: 0; }

.hours-list-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.hours-list-item:last-child { border-bottom: none; }

.hours-list-item--today {
  font-weight: 500;
  color: var(--text-heading);
  background: rgba(14, 107, 138, 0.04);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 4px;
}

.hours-day { color: var(--text-muted); font-weight: 400; }

.hours-list-item--today .hours-day { color: var(--accent); font-weight: 500; }

.hours-time { text-align: right; color: var(--text-body); }

.business-profile__tags {
  margin-bottom: 32px;
}

.business-profile__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-transform: capitalize;
}

/* --- Business Profile Sidebar --- */
.business-profile__sidebar {
  position: sticky;
  top: 80px;
}

.business-profile__contact,
.business-profile__map,
.business-profile__claim-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.business-profile__sidebar-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.business-profile__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.business-profile__contact-item:last-of-type {
  margin-bottom: 16px;
}

.business-profile__phone-link {
  color: var(--accent);
  font-weight: 500;
}

.business-profile__website-link {
  color: var(--accent);
  font-weight: 500;
}

.business-profile__social {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.business-profile__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--bg-page);
  transition: color 0.15s ease, background 0.15s ease;
}

.business-profile__social-link:hover {
  color: var(--accent);
  background: var(--border-light);
}

.business-profile__map-img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.business-profile__map-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Related businesses section */
.related-businesses {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 48px 24px;
}

.related-businesses__heading {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.business-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .business-grid--3 {
    grid-template-columns: 1fr;
  }
}

.business-profile__claim-cta p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.4;
}

.business-profile__claim-btn {
  display: block;
  text-align: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.business-profile__claim-btn:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

/* Web design funnel CTA */
.business-profile__web-cta {
  background: linear-gradient(135deg, var(--accent-warm) 0%, #d4654a 100%);
  color: var(--text-inverse);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.business-profile__web-cta h3 {
  color: var(--text-inverse);
  font-size: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
}

.business-profile__web-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.business-profile__web-cta-stats {
  font-size: 13px !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.4 !important;
  padding: 8px 10px;
  background: rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 12px !important;
}

.business-profile__web-cta .business-profile__claim-btn--accent {
  background: var(--text-inverse);
  color: var(--accent-warm);
  border: none;
}

.business-profile__web-cta .business-profile__claim-btn--accent:hover {
  background: rgba(255,255,255,0.9);
}

/* --- Category / Area Pages --- */
.category-page,
.area-page {
  padding: 32px 24px 64px;
}

.category-page__intro {
  max-width: 800px;
  margin-bottom: 32px;
}

.category-page__intro p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.category-page__inner,
.area-page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.category-page__header,
.area-page__header {
  margin-bottom: 32px;
}

.category-page__heading,
.area-page__heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.category-page__count,
.area-page__count {
  font-size: 16px;
  color: var(--text-muted);
}

.category-page__layout,
.area-page__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.category-page__sidebar,
.area-page__sidebar {
  position: sticky;
  top: 80px;
}

.category-page__filter-title,
.area-page__filter-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.area-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.area-filters__btn {
  text-align: left;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-body);
  background: none;
  border: 1px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.area-filters__btn:hover {
  background: var(--border-light);
}

.area-filters__btn--active {
  background: var(--accent);
  color: var(--text-inverse);
  font-weight: 500;
}

.area-filters__btn--active:hover {
  background: var(--accent-hover);
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-bar__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-bar__select {
  padding: 6px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.filter-bar__select:hover,
.filter-bar__select:focus {
  border-color: var(--accent);
  outline: none;
}

@media (max-width: 600px) {
  .filter-bar {
    gap: 10px;
  }

  .filter-bar__group {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .filter-bar__select {
    flex: 1;
    max-width: 60%;
  }
}

/* --- No Results --- */
.no-results {
  text-align: center;
  padding: 64px 24px;
  grid-column: 1 / -1;
}

.no-results h3 {
  font-size: 18px;
  color: var(--text-heading);
  margin: 16px 0 8px;
}

.no-results p {
  font-size: 14px;
  color: var(--text-muted);
}

.no-results a {
  color: var(--accent);
  font-weight: 500;
}

/* --- Claim Page --- */
.claim-page {
  padding: 48px 24px 64px;
}

.claim-page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.claim-page__header {
  text-align: center;
  margin-bottom: 48px;
}

.claim-page__heading {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.claim-page__subheading {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

.claim-page__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.claim-form__wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.claim-form__group {
  margin-bottom: 20px;
}

.claim-form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 6px;
}

.claim-form__input,
.claim-form__textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.claim-form__input:focus,
.claim-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 107, 138, 0.1);
}

.claim-form__textarea {
  resize: vertical;
  min-height: 100px;
}

/* Fieldset grouping */
.claim-form__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.claim-form__legend {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  padding: 0 0 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

/* Horizontal row for side-by-side fields */
.claim-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.claim-form__group--half {
  /* Used inside .claim-form__row */
}

/* Required indicator */
.claim-form__required {
  color: var(--accent-warm);
  font-weight: 400;
}

/* Help text */
.claim-form__hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Website field with CTA */
.claim-form__input-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.claim-form__input--grow {
  /* Full-width within the row */
}

.claim-form__website-cta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
  background: rgba(14, 107, 138, 0.06);
  border: 1px solid rgba(14, 107, 138, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.claim-form__website-cta strong {
  color: var(--accent);
  font-weight: 600;
}

.claim-form__website-cta a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.claim-form__website-cta a:hover {
  color: var(--accent-hover);
}

/* Accent info card for premium */
.claim-page__info-card--accent {
  border-color: var(--accent-warm);
  background: rgba(196, 85, 58, 0.04);
}

/* --- Hours Editor --- */
.hours-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hours-row:last-child { border-bottom: none; }

.hours-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 52px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  cursor: pointer;
}

.hours-toggle input { width: 16px; height: 16px; cursor: pointer; }

.hours-row--off .hours-toggle span { color: var(--text-muted); text-decoration: line-through; }

.hours-slots { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }

.hours-slot {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hours-slot select {
  padding: 6px 8px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-body);
  cursor: pointer;
}

.hours-to {
  font-size: 12px;
  color: var(--text-muted);
}

.hours-add-break {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.hours-add-break:hover { background: rgba(14, 107, 138, 0.08); }

/* Per-day copy dropdown */
.hours-copy-wrap { position: relative; flex-shrink: 0; }

.hours-copy-btn {
  padding: 3px 8px;
  font-size: 11px;
  font-family: inherit;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hours-copy-btn:hover { color: var(--accent); border-color: var(--accent); }

.hours-copy-drop {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 100px;
  padding: 4px 0;
}

.hours-copy-drop--open { display: block; }

.hours-copy-opt {
  display: block;
  width: 100%;
  padding: 5px 12px;
  font-size: 12px;
  font-family: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-body);
}

.hours-copy-opt:hover { background: rgba(14, 107, 138, 0.06); color: var(--accent); }

.hours-copy-opt--all {
  border-top: 1px solid var(--border-light);
  font-weight: 500;
  color: var(--accent);
}

.hours-remove-break {
  background: none;
  border: none;
  color: var(--accent-warm);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* --- Photo Upload --- */
.claim-form__photos-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: var(--bg-page);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 120px;
}

.claim-form__photos-area--drag {
  border-color: var(--accent);
  background: rgba(14, 107, 138, 0.04);
}

.claim-form__photos-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.claim-form__photos-browse {
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.claim-form__photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.photo-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.claim-form__submit {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-inverse);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.claim-form__submit:hover {
  background: var(--accent-hover);
}

.claim-form__confirmation {
  text-align: center;
  padding: 32px 0;
}

.claim-form__confirmation-icon {
  margin-bottom: 16px;
}

.claim-form__confirmation h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.claim-form__confirmation p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

.claim-page__info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.claim-page__info-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.claim-page__info-card ul,
.claim-page__info-card ol {
  padding-left: 20px;
}

.claim-page__info-card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 6px;
}

/* --- Footer --- */
.footer {
  background: var(--text-heading);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 32px;
  margin-top: 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand {
  margin-bottom: 40px;
}

.footer__logo {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-inverse);
}

.footer__logo span {
  color: var(--accent);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--text-inverse);
}

.footer__col-heading {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-inverse);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__stats {
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.footer__stats-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.25);
}

/* Lucide icon overrides */
.category-card__icon i {
  display: block;
  width: 28px;
  height: 28px;
}

.lucide {
  stroke-width: 1.5;
}

/* --- Modal Overlay --- */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 500;
  inset: 0;
  background: rgba(10, 31, 47, 0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay--visible {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.modal__close:hover {
  color: var(--text-heading);
  background: var(--border-light);
}

/* --- Helper: visually hidden --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- For Business Owners Section --- */
.for-business {
  padding: 72px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.for-business__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.for-business__card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.for-business__card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow-md);
}

.for-business__card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
}

.for-business__card-heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.for-business__card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 16px;
}

.for-business__card-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  padding: 8px 20px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.for-business__card-link:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

/* --- Pricing Page --- */
.pricing-hero {
  padding: 64px 24px 48px;
  text-align: center;
}

.pricing-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.pricing-hero__heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.pricing-hero__highlight {
  color: var(--accent);
}

.pricing-hero__subheading {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-body);
}

.pricing-tiers {
  padding: 0 24px 72px;
}

.pricing-tiers__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card--recommended {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(14, 107, 138, 0.12);
  position: relative;
  transform: translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--text-inverse);
  text-align: center;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pricing-card--recommended .pricing-card__header {
  padding-top: 48px;
}

.pricing-card__header {
  padding: 28px 28px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__name {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.pricing-card__price {
  margin-bottom: 4px;
}

.pricing-card__amount {
  font-size: 40px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1;
}

.pricing-card__period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__summary {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-card__features {
  padding: 24px 28px;
  flex: 1;
}

.pricing-card__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-body);
  padding: 6px 0;
}

.pricing-card__feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card__action {
  padding: 0 28px 28px;
}

.pricing-card__btn {
  display: block;
  text-align: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.pricing-card__btn--primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.pricing-card__btn--primary:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.pricing-card__btn--outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.pricing-card__btn--outline:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

/* --- Pricing FAQ --- */
.pricing-faq {
  padding: 72px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.pricing-faq__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-faq__heading {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.pricing-faq__question {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pricing-faq__answer {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.pricing-faq__answer a {
  color: var(--accent);
  font-weight: 500;
}

/* --- Pricing Bottom CTA --- */
.pricing-cta {
  padding: 64px 24px;
  background: var(--accent-warm);
  color: var(--text-inverse);
  text-align: center;
}

.pricing-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-cta__heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-inverse);
  margin-bottom: 12px;
  line-height: 1.2;
}

.pricing-cta__text {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 24px;
}

.pricing-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-cta__btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-cta__btn--primary {
  background: var(--text-inverse);
  color: var(--accent-warm);
}

.pricing-cta__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: var(--accent-warm);
}

.pricing-cta__btn--secondary {
  background: transparent;
  color: var(--text-inverse);
  border: 1.5px solid var(--text-inverse);
}

.pricing-cta__btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-inverse);
}

/* --- Checkout Page --- */
.checkout-page {
  padding: 48px 24px 64px;
}

.checkout-page__inner {
  max-width: 640px;
  margin: 0 auto;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px var(--shadow), 0 4px 12px var(--shadow-md);
  overflow: hidden;
}

.checkout-card__header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.checkout-card__heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.checkout-card__highlight {
  color: var(--accent);
}

.checkout-card__subheading {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkout-card__summary {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-body);
}

.checkout-summary__row--total {
  font-weight: 600;
  color: var(--text-heading);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 8px;
}

.checkout-summary__features {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.checkout-summary__features-heading {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.checkout-summary__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-summary__feature-list li {
  font-size: 13px;
  color: var(--text-body);
  padding: 3px 0;
  line-height: 1.5;
}

.checkout-card__payment {
  padding: 24px 32px;
}

.stripe-placeholder {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-page);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.stripe-placeholder__content {
  max-width: 400px;
  margin: 0 auto;
}

.stripe-placeholder__heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  margin: 16px 0 8px;
}

.stripe-placeholder__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 20px;
}

.stripe-placeholder__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-inverse);
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.stripe-placeholder__btn:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
}

.checkout-card__footer {
  padding: 16px 32px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-page);
}

.checkout-card__secure-note {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

/* --- Category CTA Banner --- */
.category-cta-banner {
  padding: 48px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.category-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.category-cta-banner__heading {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.category-cta-banner__sub {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.category-cta-banner__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-inverse);
  background: var(--accent);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.category-cta-banner__btn:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
}

/* ==========================================================================
   Responsive — Mobile First (768px breakpoint)
   ========================================================================== */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .hero__heading { font-size: 32px; }
  .hero__subheading { font-size: 16px; }
  .hero__search-input { padding: 14px 16px 14px 44px; font-size: 15px; }
  .hero__search-icon { left: 14px; }

  .nav__inner { height: 56px; padding: 0 16px; gap: 12px; }
  .nav__logo-text { font-size: 18px; }
  .nav__logo-icon { display: none; }

  .nav__search {
    flex: 1;
    max-width: none;
  }
  .nav__search-input { font-size: 13px; padding: 7px 10px 7px 30px; }
  .nav__search-icon { left: 8px; }

  .nav__links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    box-shadow: 0 4px 12px var(--shadow-md);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__link {
    padding: 10px 8px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .nav__cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
  }

  .nav__hamburger { display: flex; }
  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 12px;
  }
  .nav__dropdown:hover .nav__dropdown-menu {
    display: block;
  }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .stats-bar__number { font-size: 24px; }

  .category-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .category-card { padding: 20px 12px; }
  .category-card__name { font-size: 14px; }

  .business-grid { grid-template-columns: 1fr; }

  .business-profile__inner {
    grid-template-columns: 1fr;
  }

  .business-profile__sidebar {
    position: static;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .lightbox {
    padding: 12px;
    gap: 4px;
  }

  .lightbox__nav,
  .lightbox__close {
    width: 38px;
    height: 38px;
  }

  .lightbox__img {
    max-height: calc(100vh - 140px);
  }

  .category-page__layout,
  .area-page__layout {
    grid-template-columns: 1fr;
  }

  .category-page__sidebar,
  .area-page__sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .area-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .claim-page__layout {
    grid-template-columns: 1fr;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-banner { padding: 48px 16px; }
  .cta-banner__heading { font-size: 22px; }

  .hero { padding: 48px 16px 40px; }
  .categories-section,
  .featured-section { padding: 48px 16px; }

  .claim-form__wrapper { padding: 24px 20px; }

  /* For business section */
  .for-business__grid { grid-template-columns: 1fr; }
  .for-business { padding: 48px 16px; }

  /* Pricing page */
  .pricing-hero__heading { font-size: 28px; }
  .pricing-hero { padding: 40px 16px 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--recommended { transform: none; }
  .pricing-faq__grid { grid-template-columns: 1fr; }
  .pricing-faq { padding: 48px 16px; }
  .pricing-cta { padding: 48px 16px; }
  .pricing-cta__heading { font-size: 22px; }
  .pricing-card__header { padding: 24px 20px 16px; }
  .pricing-card__features { padding: 20px 20px; }
  .pricing-card__action { padding: 0 20px 24px; }

  /* Checkout page */
  .checkout-card__header { padding: 24px 20px; }
  .checkout-card__summary { padding: 20px; }
  .checkout-card__payment { padding: 20px; }
  .checkout-card__footer { padding: 12px 20px; }

  /* Category CTA */
  .category-cta-banner__inner { flex-direction: column; text-align: center; }
  .category-cta-banner { padding: 32px 16px; }
}

/* --- Status Chip (Open/Closed indicator) --- */
.status-chip {
  position: absolute;
  bottom: 0;
  right: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 6px 6px 0 0;
  z-index: 2;
  pointer-events: none;
  line-height: 1.4;
}

.status-chip--open {
  background: rgba(26, 138, 74, 0.88);
  color: #fff;
}

.status-chip--closing-soon {
  background: rgba(230, 168, 85, 0.88);
  color: #fff;
}

.status-chip--opening-soon {
  background: rgba(14, 107, 138, 0.88);
  color: #fff;
}

.status-chip--closed {
  background: rgba(10, 31, 47, 0.75);
  color: rgba(255, 255, 255, 0.85);
}

/* Search Results Page */
.search-results-page { padding: 32px 24px 64px; }
.search-results__header { max-width: 1200px; margin: 0 auto 32px; }
.search-results__heading { font-size: 28px; font-weight: 600; color: var(--text-heading); margin: 0 0 20px; }
.search-results__bar { position: relative; max-width: 620px; }
.search-results__search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); }
.search-results__input { width: 100%; padding: 14px 16px 14px 44px; font-size: 16px; font-family: inherit; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text-heading); outline: none; }
.search-results__input:focus { border-color: var(--accent); }
.search-results__body { max-width: 1200px; margin: 0 auto; }
.search-results__section-title { font-size: 20px; font-weight: 600; color: var(--text-heading); margin: 32px 0 16px; }
.search-results__links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.search-results__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; color: var(--text-body); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; }
.search-results__link:hover { border-color: var(--accent); color: var(--accent); }
.search-results__count { font-size: 12px; color: var(--text-muted); }
.search-results__empty { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.search-results__empty p { margin: 4px 0; font-size: 16px; }
.search-results__empty strong { color: var(--text-heading); }

/* --- Badge Page --- */
.badge-page { padding: 48px 24px 80px; }
.badge-page__heading { font-size: 32px; font-weight: 600; color: var(--text-heading); margin: 0 0 12px; text-align: center; }
.badge-page__sub { font-size: 16px; color: var(--text-muted); text-align: center; max-width: 520px; margin: 0 auto 40px; }
.badge-page__options { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; max-width: 900px; margin: 0 auto; }
.badge-page__option { flex: 1; min-width: 280px; max-width: 420px; }
.badge-page__variant-label { font-size: 14px; font-weight: 500; color: var(--text-muted); margin: 0 0 12px; text-align: center; }
.badge-page__preview { position: relative; padding: 32px 24px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.badge-page__preview--light { background: #f5f6f8; border: 1px solid var(--border); }
.badge-page__preview--dark { background: #1a1f2e; }
.badge-page__badge-btn { cursor: pointer; border: none; background: none; padding: 0; outline: none; position: relative; }
.badge-page__badge-btn::after { content: ''; position: absolute; inset: -4px; border: 2px solid transparent; border-radius: 12px; transition: border-color 0.15s; pointer-events: none; }
.badge-page__badge-btn:hover::after { border-color: var(--accent); }
.badge-page__badge-inner { pointer-events: none; display: inline-flex; }

/* Toast */
.badge-page__toast {
  position: absolute;
  top: -8px;
  right: 16px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #1a8a4a;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 5;
}

.badge-page__toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
