/* azilseniori.ro — Modern vivid palette */
:root {
  --emerald: #0C4A6E;
  --green: #06B6D4;
  --green-dark: #0891B2;
  --mint: #A5F3FC;
  --mint-soft: #ECFEFF;
  --coral: #F97316;
  --coral-hot: #FF4D6D;
  --orange: #FBBF24;
  --violet: #8B5CF6;
  --sky: #38BDF8;
  --butter: #F0F9FF;
  --lavender: #DDD6FE;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --gradient-brand: linear-gradient(135deg, #06B6D4 0%, #3B82F6 55%, #8B5CF6 100%);
  --gradient-cta: linear-gradient(135deg, #FF4D6D 0%, #F97316 100%);
  --gradient-green: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
  --shadow-lg: 0 20px 50px rgba(59, 130, 246, 0.16);
  --shadow-float: 0 28px 64px rgba(59, 130, 246, 0.22);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --container: min(1320px, calc(100% - 40px));
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #F8FAFC 0%, var(--white) 120px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

/* ─── HEADER ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: box-shadow 0.3s, background 0.3s;
}
.topbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--emerald);
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.brand em { font-style: normal; font-weight: 600; opacity: 0.65; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--mint-soft); color: var(--sky); }
.nav a.active { background: var(--mint); color: var(--emerald); font-weight: 700; }
.nav-form { display: inline-flex; margin: 0; }
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ─── BUTTONS ─── */
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  background: var(--surface);
  color: var(--text);
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.35);
}
.button.primary:hover { box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45); }
.button.green {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}
.button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--emerald);
}
.button.outline {
  background: transparent;
  border-color: var(--emerald);
  color: var(--emerald);
}
.button.small { padding: 8px 14px; font-size: 0.82rem; }
.button.lg { padding: 14px 28px; font-size: 1rem; }

/* ─── PAGE SHELL ─── */
.page { width: var(--container); margin: 0 auto; padding: 0 0 64px; }
.page-full { width: 100%; padding-bottom: 64px; }
.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.notice.ok { background: var(--mint-soft); color: var(--green-dark); border: 1px solid var(--mint); }
.notice.error { background: #fef2f2; color: #b42318; border: 1px solid #fecaca; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint-soft), #FDF4FF);
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.eyebrow.light { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.25); }
.eyebrow.mint { background: var(--mint); color: var(--emerald); }

/* ─── HERO HOME (Revolut-inspired split) ─── */
.hero-home {
  position: relative;
  padding: 28px clamp(16px, 3vw, 40px) 56px;
  overflow: hidden;
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 95% 5%, rgba(139, 92, 246, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 90%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 77, 109, 0.06) 0%, transparent 60%),
    linear-gradient(165deg, #E0F2FE 0%, #ECFEFF 35%, #FDF4FF 70%, #FFFFFF 100%);
  z-index: 0;
}
.hero-home-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-home-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-eyebrow {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.12));
  color: var(--green-dark);
  border-color: rgba(6, 182, 212, 0.3);
}
.hero-home h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--emerald);
}
.hl-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl-green { color: var(--green); }
.hl-coral { color: var(--coral); }
.hero-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 28px;
  font-weight: 500;
}
.hero-home-right {
  position: relative;
  min-height: 520px;
}
.hero-slider-track {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: linear-gradient(135deg, var(--emerald), var(--violet));
  aspect-ratio: 4 / 5;
  max-height: 580px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  width: 100%;
}
.hero-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--emerald);
  transition: background 0.2s, border-color 0.2s;
}
.hero-slider-btn:hover {
  background: var(--mint);
  border-color: var(--green);
}
.hero-slider-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}
.hero-dot.is-active {
  background: linear-gradient(135deg, var(--green), var(--violet));
  transform: scale(1.25);
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-trust-pill {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
  min-width: 100px;
}
.hero-trust-pill strong {
  font-size: 1.1rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero-trust-pill span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  animation: floatY 4s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 800; color: var(--emerald); }
.float-card small { color: var(--text-muted); font-weight: 600; }
.float-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint);
  display: grid; place-items: center;
  font-size: 0.95rem;
}
.float-verified { top: 8%; left: 2%; border: 2px solid var(--green); }
.float-verified .float-icon { background: var(--gradient-green); color: #fff; }
.float-rating { bottom: 14%; right: 2%; flex-direction: column; text-align: center; background: linear-gradient(135deg, #FDF4FF, #E0F2FE); padding: 14px; animation-delay: 1.5s; }
.float-rating strong { font-size: 1.3rem; color: var(--coral-hot); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero search — embedded in left column */
.hero-search {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  max-width: none;
}
.hero-search-box {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.search-field { display: grid; gap: 4px; }
.search-field-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  padding-left: 4px;
}
.search-field input {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  font-weight: 600;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(165, 243, 252, 0.8);
}
.search-submit {
  align-self: end;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.search-submit:hover { transform: scale(1.04); box-shadow: 0 12px 28px rgba(6, 182, 212, 0.4); }
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: flex-start;
}
.search-chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  background: #fff;
  border: 2px solid rgba(139, 92, 246, 0.25);
  color: var(--emerald);
  cursor: pointer;
  transition: all 0.2s;
}
.search-chip:hover, .search-chip.active {
  background: linear-gradient(135deg, var(--mint-soft), #FDF4FF);
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.hero-search-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search-trigger:hover {
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.18);
  color: var(--emerald);
}
.hero-search-trigger-icon { font-size: 1.1rem; opacity: 0.85; }
.hero-search-trigger-text { flex: 1; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: #fff;
  overflow: hidden;
}
.search-overlay[hidden] { display: none !important; }
.search-overlay-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.search-overlay-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.search-overlay-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  flex: 1;
  text-align: center;
  padding-right: 36px;
}
.search-overlay-back {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--emerald);
  border-radius: 50%;
}
.search-overlay-back:hover { background: var(--mint-soft); }
.search-overlay-inputs {
  padding: 12px 16px 8px;
  display: grid;
  gap: 10px;
  flex-shrink: 0;
}
.search-overlay-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--white);
}
.search-overlay-field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(165, 243, 252, 0.6);
}
.search-overlay-field-icon { font-size: 1rem; opacity: 0.7; flex-shrink: 0; }
.search-overlay-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
  min-width: 0;
}
.search-overlay-field input:focus { outline: none; }
.search-overlay-clear {
  border: none;
  background: var(--mint-soft);
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  cursor: pointer;
  flex-shrink: 0;
}
.search-overlay-results {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
}
.search-overlay-section h3 {
  margin: 0;
  padding: 10px 16px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.search-overlay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font: inherit;
  color: inherit;
}
.search-overlay-item:hover,
.search-overlay-item:focus-visible {
  background: var(--mint-soft);
  outline: none;
}
.search-overlay-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--emerald);
}
.search-overlay-item-body { flex: 1; min-width: 0; }
.search-overlay-item-title {
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 0;
}
.search-overlay-item-meta {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.search-overlay-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.search-overlay-hint {
  margin: 0;
  padding: 12px 16px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
}
.search-overlay-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ─── LISTING CARD (compact, v0-inspired) ─── */
.listing-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.35);
}
.listing-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.listing-card:hover .listing-card-media img { transform: scale(1.05); }
.listing-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.listing-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.95);
  color: var(--emerald);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}
.listing-badge.verified { background: var(--gradient-green); color: #fff; }
.listing-badge.docs { background: rgba(255,255,255,0.95); color: var(--violet); }
.listing-badge.recommended { background: linear-gradient(135deg, var(--orange), var(--coral)); color: #fff; }
.listing-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, color 0.2s;
}
.listing-fav.active { color: var(--coral-hot); transform: scale(1.15); }
.listing-spots {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}
.listing-spots::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.listing-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.listing-card-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}
.listing-card-head h3 a:hover { color: var(--green); }
.listing-rating {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald);
  white-space: nowrap;
}
.listing-rating .star { color: var(--orange); }
.listing-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.listing-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.listing-pill {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--mint-soft);
  color: var(--green-dark);
}
.listing-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.listing-card-actions .button { padding: 9px 10px; font-size: 0.78rem; }

.home-stats { padding: 8px clamp(16px, 3vw, 40px) 0; max-width: 1280px; margin: 0 auto; }
.home-stats--hidden { display: none !important; }

/* ─── CAROUSEL ─── */
.carousel-head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-nav-group {
  display: flex;
  gap: 8px;
}
.carousel-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--emerald);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.carousel-nav-btn:hover:not(:disabled) {
  background: var(--mint);
  border-color: var(--green);
  color: var(--sky);
  transform: scale(1.05);
}
.carousel-nav-btn:disabled,
.carousel-nav-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.section-carousel { padding: 56px 0; }
.section-carousel.mint { background: linear-gradient(180deg, var(--mint-soft) 0%, #fff 100%); }
.section-carousel.butter { background: linear-gradient(180deg, #F0F9FF 0%, #FDF4FF 50%, var(--white) 100%); }
.section-head-row {
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.section-head-row h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 8px 0 0;
}
.section-head-row p { margin: 0; color: var(--text-muted); font-weight: 600; font-size: 0.92rem; }
.text-link {
  font-weight: 800;
  color: var(--sky);
  font-size: 0.9rem;
  white-space: nowrap;
}
.text-link:hover { color: var(--coral-hot); }
.carousel-shell {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  overflow: hidden;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  padding: 4px 0 16px;
  margin: 0;
}
.carousel-track.no-transition {
  transition: none;
}
.carousel-track .listing-card {
  flex: 0 0 276px;
  max-width: 276px;
}
.carousel-see-all {
  flex: 0 0 276px;
  max-width: 276px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--emerald);
  transition: transform 0.25s, box-shadow 0.25s;
}
.carousel-see-all:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--sky);
}
.carousel-see-all-collage {
  position: relative;
  width: 88px;
  height: 72px;
}
.carousel-see-all-collage img {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
}
.carousel-see-all-collage .collage-1 { left: 0; top: 8px; z-index: 1; }
.carousel-see-all-collage .collage-2 { left: 18px; top: 0; z-index: 2; }
.carousel-see-all-collage .collage-3 { left: 36px; top: 12px; z-index: 3; }
.carousel-see-all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mint-soft);
  font-size: 1.6rem;
  font-weight: 800;
}
.carousel-see-all strong {
  font-size: 0.95rem;
  font-weight: 800;
}
.carousel-shell.is-peek-scroll .carousel-viewport.carousel-scroll-peek {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  max-width: 100%;
}
.carousel-shell.is-peek-scroll .carousel-viewport.carousel-scroll-peek::-webkit-scrollbar {
  display: none;
}
.carousel-shell.is-peek-scroll .carousel-track {
  transform: none !important;
  transition: none;
}
.carousel-shell.is-peek-scroll .carousel-track .carousel-see-all {
  min-height: 280px;
}

/* ─── SEARCH PAGE LAYOUT ─── */
.search-page { max-width: 1280px; margin: 0 auto; padding: 24px 20px 64px; }
.search-breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.search-breadcrumb a:hover { color: var(--green); }
.search-breadcrumb-sep { margin: 0 6px; color: var(--text-muted); opacity: 0.65; }
.search-page-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 4px;
}
.search-page-sub { color: var(--text-muted); font-weight: 600; margin: 0 0 16px; }
.search-facility-links { margin: 0 0 12px; }
.search-facility-links h2 { font-size: 14px; margin-bottom: 8px; }
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.filter-panel h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.filter-panel-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}
.search-mobile-bar {
  display: none;
  gap: 8px;
  margin-bottom: 8px;
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 4px 0;
}
.search-mobile-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--emerald);
  cursor: pointer;
  position: relative;
}
.search-mobile-btn-icon { opacity: 0.75; font-size: 0.95rem; }
.search-mobile-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral-hot);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-mobile-sort {
  flex: 1;
  position: relative;
}
.search-mobile-sort-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 155;
  background: rgba(18, 63, 54, 0.45);
  backdrop-filter: blur(3px);
}
.filter-group { margin-bottom: 20px; }
.filter-group label, .filter-group > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.filter-group input, .filter-group select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-weight: 600;
  background: var(--white);
}
.filter-group input:focus, .filter-group select:focus {
  outline: none;
  border-color: var(--green);
}
.filter-checks {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-check input { width: 18px; height: 18px; accent-color: var(--green); }
.filter-actions { display: grid; gap: 8px; margin-top: 8px; }
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-weight: 800; font-size: 1rem; }
.results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}
.results-sort select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-weight: 700;
  background: var(--white);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: var(--mint-soft);
  border: 2px dashed var(--mint);
}

/* ─── HOW IT WORKS PATH ─── */
.section-steps {
  padding: 72px 20px;
  background: linear-gradient(160deg, #E0F2FE 0%, #FDF4FF 50%, #ECFEFF 100%);
}
.steps-inner { max-width: var(--container); margin: 0 auto; }
.steps-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.steps-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin: 8px 0 0;
}
.steps-side-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 280px;
  height: auto;
  object-fit: cover;
}
.steps-cta { text-align: center; margin-top: 32px; }

/* ─── TRUST ─── */
.section-trust {
  padding: 72px 20px;
  background: var(--white);
}
.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-inner h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin: 8px 0 12px;
  color: var(--emerald);
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.trust-list li {
  font-weight: 600;
  color: var(--text-muted);
}
.trust-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.trust-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.trust-gallery img:nth-child(2) { margin-top: 0; }

.steps-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  position: relative;
  align-items: stretch;
}
.steps-path::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--sky), var(--violet), var(--coral-hot));
  border-radius: 2px;
  opacity: 0.65;
}
.step-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-6px); }
.step-card:nth-child(2) { margin-top: 0; }
.step-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.step-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ─── OWNERS SaaS ─── */
.section-owners {
  padding: 72px 20px;
  background: linear-gradient(135deg, #0C4A6E 0%, #1E40AF 45%, #7C3AED 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.section-owners::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.2;
  top: -120px; right: -120px;
  filter: blur(80px);
}
.owners-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.owners-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.15;
}
.owners-benefits { display: grid; gap: 12px; margin: 24px 0; }
.owners-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.92rem;
}
.owners-benefit-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(36,164,123,0.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.owners-mockup,
.owners-visual {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
}
.owners-photo {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
}
.inquiry-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  margin: 16px 0;
  box-shadow: var(--shadow);
}
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mockup-stat {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  text-align: center;
}
.mockup-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--mint); }
.mockup-stat span { font-size: 0.72rem; opacity: 0.75; font-weight: 600; }
.mockup-chart {
  height: 80px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.35) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 12px;
}
.mockup-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--mint), var(--green));
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}

/* ─── INQUIRY CTA ─── */
.section-inquiry {
  padding: 72px 20px;
  background: linear-gradient(180deg, #F0F9FF 0%, #ECFEFF 100%);
}
.inquiry-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.inquiry-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0;
}
.inquiry-benefits { display: grid; gap: 10px; margin-top: 20px; }
.inquiry-benefit {
  display: flex;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald);
}
.inquiry-form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-float);
  border: 2px solid rgba(56, 189, 248, 0.2);
}
.stack-form { display: grid; gap: 14px; }
.stack-form label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.stack-form input, .stack-form textarea, .stack-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-weight: 600;
}
.stack-form input:focus, .stack-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(191,244,220,0.5);
}

.form-panel {
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 800px;
}
.form-grid { display: grid; gap: 16px; }
.form-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-weight: 600;
}
.empty.center { text-align: center; padding: 64px 24px; max-width: 480px; margin: 48px auto; }

/* ─── DETAIL PAGE ─── */
.detail-hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.detail-gallery img { width: 100%; height: 360px; object-fit: cover; }
.detail-body { padding: 28px 32px; }
.detail-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.detail-head h1 { font-family: var(--display); font-size: 1.8rem; margin: 8px 0 0; font-weight: 700; }
.detail-meta { text-align: right; }
.rating-lg { font-size: 1.3rem; font-weight: 800; color: var(--orange); }
.price-lg { display: block; font-weight: 800; color: var(--green); font-size: 1.1rem; margin-top: 4px; }
.detail-desc { font-size: 1.02rem; line-height: 1.7; color: var(--text-muted); margin: 16px 0; }
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-panel h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 16px; }
.meta-list div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.meta-list dt { color: var(--text-muted); font-weight: 600; }
.meta-list dd { margin: 0; font-weight: 800; }

/* ─── AUTH ─── */
.auth-wrap { display: grid; place-items: center; min-height: 60vh; padding: 40px 20px; }
.auth-card {
  width: min(440px, 100%);
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-card h1 { font-family: var(--display); font-size: 1.6rem; margin: 8px 0; font-weight: 800; }
.account-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.account-type-card {
  position: relative;
  cursor: pointer;
}
.account-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.account-type-card .account-type-body {
  display: block;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.account-type-card input:checked + .account-type-body {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 101, 89, 0.12);
}
.account-type-body strong {
  display: block;
  font-size: 1rem;
  color: var(--emerald);
  margin-bottom: 4px;
}
.account-type-body span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.owner-fields {
  display: none;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.owner-fields.is-visible { display: grid; }
.owner-hint { display: none; margin: 8px 0 0; }
.owner-hint.is-visible { display: block; }
.facility-propose-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--mint-soft);
}
.facility-propose-box legend { padding: 0 4px; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.form-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--emerald);
  margin: 16px 0 8px;
}
.auth-alt { margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); }
.auth-alt a { color: var(--green); font-weight: 700; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 40px 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero.compact { padding: 32px 0 16px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 8px 0;
}

/* ─── CTA BAND ─── */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--mint) 0%, var(--lavender) 100%);
  margin: 40px auto;
  max-width: var(--container);
}
.cta-band h2 { font-family: var(--display); margin: 0 0 8px; font-size: 1.5rem; }
.cta-band p { margin: 0; color: var(--text-muted); font-weight: 600; }

/* ─── FOOTER ─── */
.footer {
  border-top: none;
  background: linear-gradient(135deg, #0C4A6E 0%, #1E3A8A 60%, #312E81 100%);
  color: rgba(255,255,255,0.88);
  padding: 48px 20px 32px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}
.footer strong { color: #fff; font-size: 1.1rem; }
.footer p { margin: 8px 0 0; font-size: 0.9rem; opacity: 0.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-content: start; }
.footer-links a {
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--mint); }
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  opacity: 0.6;
  margin: 16px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ─── STAT GRID ─── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.stat-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(56, 189, 248, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stat-card span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 6px;
  font-family: var(--display);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── MOBILE DRAWER ─── */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(18,63,54,0.4);
  backdrop-filter: blur(4px);
}
.mobile-drawer.open { display: block; }
.mobile-drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: var(--shadow-float);
  animation: slideIn 0.3s ease;
}
.mobile-drawer-panel nav { display: grid; gap: 4px; margin-top: 16px; }
.mobile-drawer-panel a {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}
.mobile-drawer-panel a:hover { background: var(--mint-soft); }
.mobile-drawer-logout {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mobile-logout-btn {
  width: 100%;
  justify-content: center;
  color: var(--coral-hot);
  border-color: rgba(255, 77, 109, 0.35);
}
.mobile-drawer-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--gradient-green);
  color: #fff !important;
}
.mobile-drawer-close {
  float: right;
  font-size: 1.4rem;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.calendar-agenda { list-style: none; margin: 0; padding: 0; }
.cal-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cal-item time { font-size: 0.82rem; color: var(--text-muted); }
.cal-booking { border-left: 3px solid var(--green); padding-left: 12px; }
.cal-task { border-left: 3px solid var(--coral); padding-left: 12px; }
.cal-event { border-left: 3px solid var(--mint); padding-left: 12px; }

.bi-chart { display: grid; gap: 8px; }
.bi-bar-row { display: grid; grid-template-columns: 48px 1fr 36px; gap: 10px; align-items: center; }
.bi-label { font-size: 0.78rem; color: var(--text-muted); }
.bi-bar-track { background: var(--cream-dark, #f0ebe3); border-radius: 4px; height: 8px; overflow: hidden; }
.bi-bar { background: var(--green); height: 100%; border-radius: 4px; min-width: 2px; }
.bi-val { font-size: 0.82rem; text-align: right; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin: 12px 0; }
.media-thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--cream-dark, #f0ebe3); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb.is-featured { outline: 3px solid var(--green); outline-offset: -3px; }
.media-badge { position: absolute; top: 6px; left: 6px; background: var(--green); color: #fff; font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.media-set-featured { position: absolute; bottom: 4px; left: 4px; right: 4px; z-index: 2; }
.media-set-featured .button { width: 100%; font-size: 0.68rem; padding: 4px 6px; background: rgba(255,255,255,0.92); }

.owner-form-panel { max-width: 760px; margin: 0 auto 60px; }
.owner-home-form .form-section { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.owner-home-form .form-section h2 { font-size: 1.15rem; margin: 0 0 16px; color: var(--emerald); }
.facility-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.facility-checks .filter-check {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}
.facility-checks .filter-check:has(input:checked) {
  border-color: var(--green);
  background: var(--mint-soft);
}
.facility-filter-list { max-height: 280px; overflow-y: auto; padding-right: 4px; }

.detail-extra-fields {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 16px;
  background: var(--mint-soft, #f0fdf9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.15);
}
.detail-extra-row { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 8px; font-size: 0.92rem; }
.detail-extra-row dt { font-weight: 800; color: var(--emerald); margin: 0; }
.detail-extra-row dd { margin: 0; color: var(--text-muted); font-weight: 600; }
.detail-price { font-weight: 700; margin: 12px 0; color: var(--emerald); }
.detail-website a { font-weight: 700; color: var(--sky); }

@media (max-width: 960px) {
  .detail-extra-row { grid-template-columns: 1fr; }
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.admin-overview-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-home-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-home-left { order: 1; }
  .hero-home-right {
    min-height: auto;
    order: 2;
  }
  .hero-slider-track { max-height: 380px; aspect-ratio: 16 / 10; }
  .hero-slider-controls { margin-top: 12px; }
  .hero-search-box { grid-template-columns: 1fr; }
  .search-submit { width: 100%; justify-content: center; }
  .hero-trust-row { justify-content: center; gap: 8px; }
  .hero-trust-pill { flex: 1 1 auto; min-width: 100px; text-align: center; }
  .float-verified { left: 4%; top: 4%; }
  .float-rating { display: none; }
  .carousel-head-actions-desktop { display: none; }
  .carousel-shell-peek { padding: 0 16px; }
  .carousel-shell.is-peek-scroll .carousel-track .listing-card,
  .carousel-shell.is-peek-scroll .carousel-track .carousel-see-all {
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
    scroll-snap-align: start;
  }
  .carousel-shell.is-peek-scroll .carousel-track .listing-card-body {
    padding: 10px 10px 12px;
  }
  .carousel-shell.is-peek-scroll .carousel-track .listing-card-head h3 {
    font-size: 0.82rem;
  }
  .carousel-shell.is-peek-scroll .carousel-track .listing-card-actions .button.outline {
    display: none;
  }
  .carousel-shell.is-peek-scroll .carousel-track .listing-card-actions {
    grid-template-columns: 1fr;
  }
  .carousel-shell.is-peek-scroll .carousel-track .listing-badge {
    font-size: 0.62rem;
    padding: 4px 8px;
  }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .carousel-shell { padding: 0 12px; }
  .search-mobile-bar { display: flex; }
  .search-page { padding: 14px 12px 48px; }
  .search-page-title { font-size: 1.35rem; margin-bottom: 2px; }
  .search-page-sub { margin-bottom: 6px; font-size: 0.82rem; }
  .search-mobile-bar { margin-bottom: 4px; padding: 2px 0; gap: 6px; }
  .search-mobile-btn { padding: 8px 8px; font-size: 0.72rem; border-radius: 9px; }
  .search-page.filter-open .filter-backdrop { display: block; }
  .search-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .results-main { order: 1; }
  .filter-panel {
    order: 2;
    position: fixed;
    inset: 0;
    z-index: 160;
    max-height: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    transform: translateY(110%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    box-shadow: none;
    padding: 20px 16px 32px;
  }
  .search-page.filter-open .filter-panel {
    transform: translateY(0);
  }
  .filter-panel-close { display: inline-flex; align-items: center; justify-content: center; }
  .search-overlay-panel {
    max-width: none;
    margin: 0;
  }
  .results-toolbar { display: none; }
  .results-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .results-grid .listing-card { border-radius: 12px; }
  .results-grid .listing-card-media { aspect-ratio: 4 / 3; }
  .results-grid .listing-card-body { padding: 8px 8px 10px; gap: 4px; }
  .results-grid .listing-card-head h3 { font-size: 0.76rem; line-height: 1.2; }
  .results-grid .listing-location { font-size: 0.68rem; }
  .results-grid .listing-card-actions { grid-template-columns: 1fr; gap: 4px; }
  .results-grid .listing-card-actions .button { font-size: 0.68rem; padding: 7px 8px; }
  .results-grid .listing-card-actions .button.outline { display: none; }
  .results-grid .listing-badge { font-size: 0.62rem; padding: 4px 8px; }
  .results-grid .listing-spots { font-size: 0.58rem; padding: 3px 6px; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .owner-form-panel { margin-left: 12px; margin-right: 12px; max-width: none; }
  .detail-extra-row { grid-template-columns: 1fr; }
  .results-grid .listing-fav { width: 26px; height: 26px; font-size: 0.9rem; }
  .empty-state { padding: 28px 16px; }
  .search-layout { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-gallery img { height: 140px; }
  .trust-gallery img:nth-child(3) { grid-column: 1 / -1; height: 180px; }
  .steps-head { flex-direction: column; align-items: flex-start; }
  .steps-side-img { width: 100%; max-width: 400px; }
  .account-type-grid { grid-template-columns: 1fr; }
  .owners-inner, .inquiry-inner, .grid-two { grid-template-columns: 1fr; }
  .steps-path { grid-template-columns: 1fr; }
  .steps-path::before { display: none; }
  .step-card:nth-child(2) { margin-top: 0; }
  .panel-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .panel-nav::-webkit-scrollbar { display: none; }
  .panel-nav a { flex-shrink: 0; }
  .nav, .topbar .button.primary:not(.menu-cta) { display: none; }
  .menu-toggle { display: block; }
  .float-verified, .float-places { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ─── PANELS & DATA TABLES ─── */
.panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 28px;
  max-width: var(--max-width);
  padding: 0 var(--page-pad);
}
.panel-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}
.panel-nav a:hover { border-color: var(--green); color: var(--sky); }
.panel-nav a.active {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.panel-nav a { position: relative; display: inline-flex; align-items: center; }
.panel-nav a.active .nav-badge { background: #fff; color: var(--coral-hot); }
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--coral-hot);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.nav-badge.inline { margin-left: 4px; }
.panel-alerts { display: grid; gap: 12px; max-width: var(--container); margin: 0 auto 24px; padding: 0 20px; }
.panel-alert {
  display: block;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.panel-alert-warn {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fdba74;
  color: #9a3412;
}
.panel-alert-info {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  color: #1e40af;
}
.stat-card-alert strong { color: var(--coral-hot); }
.data-table tr.row-highlight { background: rgba(251, 146, 60, 0.1); }
.ref-code { color: var(--sky); font-weight: 800; text-decoration: none; }
.ref-code:hover { text-decoration: underline; }
.panel-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.panel-head-row h2 { margin: 0; }
.data-table-wrap { overflow: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:hover td { background: var(--mint-soft); }
.table-empty {
  padding: 28px !important;
  text-align: center;
  color: var(--text-muted);
}
.ref-code {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  background: var(--mint-soft);
  padding: 4px 8px;
  border-radius: 6px;
}
.empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-state p { margin-bottom: 16px; color: var(--text-muted); }

/* ─── STATUS BADGES ─── */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-submitted, .status-assigned { background: #e8f4fd; color: #1a6fa8; }
.status-in_review { background: #fff4e0; color: #b86e00; }
.status-answered, .status-visit_scheduled { background: var(--mint-soft); color: var(--emerald); }
.status-closed { background: #f0f0f0; color: #666; }
.status-cancelled { background: #fde8e8; color: #c0392b; }
.status-draft { background: #f5f0ff; color: #6b4c9a; }

/* ─── TIMELINE ─── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-content strong { display: block; margin-bottom: 4px; }
.timeline-content time { font-size: 0.8rem; }
.timeline-content p { margin: 8px 0 0; color: var(--text-muted); font-size: 0.92rem; }
.timeline-empty { padding: 16px 0; }

/* ─── FORMS & MISC PANEL ─── */
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.inline-form label { flex: 1; min-width: 140px; }
.audit-list { list-style: none; margin: 0; padding: 0; }
.audit-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.phone-verified {
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 12px;
}
.dev-code-hint {
  margin-top: 12px;
  padding: 12px;
  background: var(--butter-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.detail-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
.detail-gallery { position: relative; }
.listing-fav.active { color: var(--coral); }

/* ─── DETAIL PAGE ─── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 80px;
}
.detail-main { min-width: 0; }
.detail-sidebar { position: relative; }
.sticky-sidebar-stack {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 20px;
}
.sticky-contact { position: static; }
.contact-request-card { background: var(--surface); }
.detail-gallery { position: relative; }
.detail-gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 8px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-tile {
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--mint);
}
.gallery-tile.cover { grid-row: span 2; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.detail-availability-pill {
  display: inline-block;
  padding: 8px 14px;
  background: var(--mint);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green);
  margin: 12px 0;
}
.rating-count { display: block; font-size: 0.85rem; color: var(--text-muted); }
.rating-summary { margin-bottom: 20px; }
.rating-summary-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.rating-summary-score { min-width: 140px; }
.rating-summary-value {
  display: block;
  font-size: 2rem;
  color: var(--green);
  line-height: 1.1;
}
.rating-summary-bars { flex: 1; min-width: 200px; }
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  font-size: 13px;
}
.rating-bar-label { width: 28px; }
.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--green);
}
.rating-bar-count { width: 28px; text-align: right; }
.criteria-avg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.criteria-pill { justify-content: space-between; }
.review-owner-reply {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid var(--green);
}
.review-form-panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.review-form-panel h3 { margin-bottom: 8px; }
.review-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px 16px;
  margin-top: 16px;
}
.review-form-comment { grid-column: 1 / -1; }
.visit-booking-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 38%, #38bdf8 100%);
  color: #fff;
}
.visit-booking-card-inner { padding: 22px 20px 20px; }
.visit-booking-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.visit-booking-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  flex-shrink: 0;
}
.visit-booking-card h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: #fff;
}
.visit-booking-lead {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.visit-booking-form label span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
}
.visit-booking-form input,
.visit-booking-form textarea {
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
  color: var(--text);
}
.visit-booking-form input:focus,
.visit-booking-form textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.visit-booking-btn {
  width: 100%;
  background: #fff;
  color: #1d4ed8;
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.visit-booking-btn:hover {
  background: #eff6ff;
  color: #1e40af;
}

.auth-context-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  font-size: 0.92rem;
  line-height: 1.45;
}
.auth-action-gate {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 8px;
}
.auth-action-gate-preview {
  display: grid;
  gap: 10px;
  padding: 8px 4px 4px;
  filter: blur(2px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}
.auth-action-gate-field {
  height: 38px;
  border-radius: 10px;
  background: var(--border);
}
.auth-action-gate-field.short { width: 72%; }
.auth-action-gate-field.tall { height: 72px; }
.auth-action-gate-field.btn { height: 42px; width: 100%; background: var(--mint); }
.auth-action-gate-panel {
  position: relative;
  margin-top: -120px;
  padding: 20px 18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  text-align: center;
}
.auth-action-gate-dark .auth-action-gate-panel {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
}
.auth-action-gate-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--mint-soft);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.auth-action-gate-dark .auth-action-gate-lock {
  background: rgba(255, 255, 255, 0.2);
}
.auth-action-gate-panel h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}
.auth-action-gate-dark .auth-action-gate-panel h3 { color: #fff; }
.auth-action-gate-text {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.auth-action-gate-dark .auth-action-gate-text { color: rgba(255, 255, 255, 0.92); }
.auth-action-gate-benefits {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
  font-size: 0.84rem;
}
.auth-action-gate-benefits li {
  padding: 5px 0 5px 22px;
  position: relative;
}
.auth-action-gate-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.auth-action-gate-dark .auth-action-gate-benefits li::before { color: #bbf7d0; }
.auth-action-gate-actions {
  display: grid;
  gap: 10px;
}
.auth-action-gate-dark .auth-action-gate-actions .button.outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.auth-action-gate-foot { margin: 12px 0 0; }
.auth-action-gate-dark .auth-action-gate-foot { color: rgba(255, 255, 255, 0.8); }
.detail-map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--radius); }
.reviews-list { display: grid; gap: 16px; }
.review-card { padding: 16px; background: var(--mint-soft); border-radius: var(--radius); }
.review-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.detail-faq details { padding: 12px 0; border-bottom: 1px solid var(--border); }
.detail-faq summary { font-weight: 700; cursor: pointer; }
.phone-reveal-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--mint-soft);
  border-radius: var(--radius);
}
.phone-masked { font-weight: 700; font-family: ui-monospace, monospace; }
.results-grid.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 90;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.mobile-bar-primary,
.mobile-bar-secondary {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  padding: 12px 10px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 20, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  text-align: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
  background: #111;
}
.lightbox-counter {
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}
.city-chips, .active-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 20px 40px; max-width: var(--container); margin: 0 auto; }
.city-chip, .filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(56, 189, 248, 0.2);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.city-chip:hover, .filter-chip:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--mint-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}
.filter-chip.active { background: var(--mint); border-color: var(--green); color: var(--emerald); }
a.listing-pill { text-decoration: none; color: inherit; }
a.listing-pill:hover { border-color: var(--green); color: var(--green); }
.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pagination-info { font-size: 0.9rem; color: var(--muted); }
.internal-links .active-chips { padding: 0; margin: 0; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 60px;
}
.guide-card h2 { margin: 0 0 8px; font-family: var(--display); }
.editorial-body { max-width: 840px; margin: 0 auto 60px; line-height: 1.75; }
.editorial-body h3 { font-family: var(--display); margin-top: 24px; }
.check-list { padding-left: 20px; }
.check-list li { margin: 8px 0; }
.faq-page .faq-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.faq-page summary { font-weight: 700; cursor: pointer; }
.thread { display: grid; gap: 12px; }
.thread-msg { padding: 14px; border-radius: var(--radius); background: var(--mint-soft); }
.thread-owner { background: #eef6f2; border-left: 4px solid var(--green); }
.thread-family { background: var(--butter); }
.recipient-list { list-style: none; padding: 0; margin: 0; }
.recipient-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.small { font-size: 0.88rem; }

.auth-wrap.wide .auth-card { max-width: 560px; }
.form-section-title { font-family: var(--display); font-size: 1.1rem; margin: 20px 0 8px; }
.oauth-divider { text-align: center; margin: 20px 0; color: var(--text-muted); font-size: 0.85rem; }
.oauth-divider span { background: var(--surface); padding: 0 12px; }
.oauth-buttons { display: grid; gap: 10px; }
.oauth-btn { width: 100%; text-align: center; }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-contact { position: static; }
  .sticky-sidebar-stack { position: static; }
  .mobile-contact-bar { display: grid; }
  .detail-gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px; }
  .gallery-tile.cover { grid-row: span 1; grid-column: span 2; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }

  /* Full-bleed gallery on mobile — no side gutters */
  .detail-layout {
    padding: 0 0 88px;
    max-width: none;
    gap: 0;
  }
  .page-full > .search-breadcrumb {
    padding: 10px 16px 4px;
    margin: 0;
  }
  .detail-hero-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    margin-bottom: 0;
  }
  .detail-gallery-mosaic {
    border-radius: 0;
    gap: 4px;
  }
  .detail-body {
    padding: 20px 16px 8px;
  }
  .detail-main > .card-panel {
    margin: 16px 16px 0;
  }
  .detail-sidebar {
    padding: 16px 16px 0;
  }
}
