/* ==========================================================================
   RENT MY ROOM NJ — "Front Porch" Design System
   Color tokens: Cream, Blush, Coral, Navy, Teal, Amber
   Typography: Sora (Headings) | Nunito Sans (Body) | Roboto Mono (Rates/Dates)
   ========================================================================== */

:root {
  --cream: #FFF8F3;
  --blush: #FFEDE4;
  --card: #FFFFFF;
  --coral: #FF6A5B;
  --coral-2: #E5503F;
  --navy: #1E2A44;
  --teal: #12B3A6;
  --teal-light: #E6F7F5;
  --amber: #F5A623;
  --amber-light: #FEF6E9;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --line: #EFE3DA;
  --shadow-warm: 0 10px 30px -5px rgba(30, 42, 68, 0.07), 0 4px 12px -2px rgba(255, 106, 91, 0.05);
  --shadow-hover: 0 18px 36px -4px rgba(30, 42, 68, 0.12), 0 8px 16px -2px rgba(255, 106, 91, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-bounce: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   Top Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--coral) 0%, #FFA27B 50%, var(--teal) 100%);
  z-index: 10001;
  transform-origin: 0% 50%;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(255, 106, 91, 0.45);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

.mono-rate {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 243, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 243, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px -2px rgba(30, 42, 68, 0.08);
  border-bottom-color: rgba(239, 227, 218, 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-container {
  height: 50px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 34px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand-logo img {
  height: 31px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-smooth);
}

.nav-link:hover {
  color: var(--coral);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hotline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--blush);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 106, 91, 0.15);
  transition: all var(--transition-smooth);
}

.hotline-link:hover {
  background: #FFE2D5;
  color: var(--coral-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 106, 91, 0.18);
}

.hotline-icon {
  color: var(--coral);
  transition: transform 0.25s ease;
}

.hotline-link:hover .hotline-icon {
  animation: phoneRing 0.5s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-bounce);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Subtle light shine sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 125%;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
}

.btn-coral {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 106, 91, 0.35);
}

.btn-coral:hover {
  background: var(--coral-2);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229, 80, 63, 0.45);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 42, 68, 0.18);
}

.btn-teal {
  background: var(--teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(18, 179, 166, 0.3);
}

.btn-teal:hover {
  background: #0E988D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(18, 179, 166, 0.4);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--blush);
  color: var(--coral);
}

.mobile-menu-btn.active {
  transform: rotate(90deg);
  color: var(--coral);
  background: var(--blush);
}

#mobile-drawer {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 0 24px;
  flex-direction: column;
  gap: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              padding 0.35s ease,
              transform 0.35s ease;
  box-shadow: 0 14px 28px rgba(30, 42, 68, 0.08);
}

#mobile-drawer.active {
  display: flex !important;
  max-height: 420px;
  opacity: 1;
  padding: 20px 24px;
  transform: translateY(0);
}

/* ==========================================================================
   Block 01: Hero / The Two Doors
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 28px 0 44px;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF3EC 100%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.05;
  background-image: url('../img/hero-nj-room-rental.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFE8DF;
  color: var(--coral-2);
  padding: 4px 14px;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 106, 91, 0.2);
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 10px;
  color: var(--navy);
}

.hero-title .highlight-coral {
  color: var(--coral);
}

.hero-title .highlight-teal {
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--muted);
  font-weight: 600;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Two Doors Layout */
.two-doors-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 26px;
}

.door-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-warm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all var(--transition-bounce);
}

.door-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.door-card.door-provider {
  border-color: rgba(255, 106, 91, 0.35);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F7 100%);
}

.door-card.door-seeker {
  border-color: rgba(18, 179, 166, 0.35);
  background: linear-gradient(135deg, #FFFFFF 0%, #F5FBFA 100%);
}

.door-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 12px;
}

.door-provider .door-badge {
  background: #FFE8DF;
  color: var(--coral-2);
}

.door-seeker .door-badge {
  background: var(--teal-light);
  color: var(--teal);
}

.door-image-container {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.door-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.door-card:hover .door-image-container img {
  transform: scale(1.05);
}

.door-earning-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(30, 42, 68, 0.9);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.door-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.door-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.door-bullets {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.door-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.door-bullets li svg {
  flex-shrink: 0;
}

.door-provider .door-bullets li svg {
  color: var(--coral);
}

.door-seeker .door-bullets li svg {
  color: var(--teal);
}

/* Trust Ticker */
.trust-ticker {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 10px 22px;
  box-shadow: 0 4px 16px rgba(30, 42, 68, 0.04);
  max-width: 980px;
  margin: 0 auto;
}

.ticker-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.ticker-item svg {
  color: var(--teal);
}

/* ==========================================================================
   Block 02: Search Ribbon & Filter
   ========================================================================== */
.search-section {
  padding: 52px 0 60px;
  position: relative;
  margin-top: 10px;
  z-index: 20;
}

.search-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hover);
}

.search-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.search-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}

.search-heading svg {
  color: var(--coral);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.4fr 1.2fr;
  gap: 18px;
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  transition: all var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--coral);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 106, 91, 0.15);
}

.budget-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.budget-badge {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  color: var(--coral-2);
  background: var(--blush);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Amenity Chips Rail */
.amenities-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.amenity-chip-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-bounce);
}

.chip:hover {
  border-color: var(--coral);
  background: var(--blush);
  transform: scale(1.02);
}

.chip.active {
  background: var(--coral);
  color: #FFFFFF;
  border-color: var(--coral);
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 106, 91, 0.3);
}

.chip.active svg {
  color: #FFFFFF;
}

.search-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* ==========================================================================
   Block 03: County Explorer
   ========================================================================== */
.county-section {
  padding: 60px 0 80px;
  background: var(--cream);
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  color: var(--teal);
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
}

.county-explorer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: center;
}

.county-map-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-warm);
  position: relative;
  overflow: hidden;
}

.interactive-nj-map {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.interactive-nj-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.county-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.county-box {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-warm);
  transition: all var(--transition-bounce);
  cursor: pointer;
}

.county-box:hover, .county-box.active {
  border-color: var(--coral);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.county-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.county-name {
  font-size: 1.18rem;
}

.county-room-count {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--blush);
  color: var(--coral-2);
  padding: 3px 10px;
  border-radius: 50px;
}

.county-box-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.town-chip-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.town-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.town-chip:hover {
  background: var(--coral);
  color: #FFFFFF;
  border-color: var(--coral);
  transform: scale(1.05);
}

/* ==========================================================================
   Block 04: Featured Room Feed (Pinned Cards)
   ========================================================================== */
.listings-section {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF3EC 100%);
  position: relative;
}

.feed-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.listing-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 50px;
}

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

/* Pinned Card styling */
.pinned-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

/* Pinned Tape / Notch detail at top center */
.pinned-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: rgba(255, 237, 228, 0.85);
  border: 1px dashed rgba(255, 106, 91, 0.4);
  border-top: none;
  border-radius: 0 0 6px 6px;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.pinned-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 106, 91, 0.4);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pinned-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-badges-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal);
  color: #FFFFFF;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(18, 179, 166, 0.4);
}

.badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.card-save-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-bounce);
  z-index: 5;
}

.card-save-btn:hover {
  color: var(--coral);
  transform: scale(1.15);
}

.card-save-btn.saved {
  color: var(--coral);
  background: #FFFFFF;
}

.card-save-btn.saved svg {
  fill: var(--coral);
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.card-price {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--coral-2);
}

.card-price-period {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.card-utilities-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-light);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-host-brief {
  display: flex;
  align-items: center;
  gap: 8px;
}

.host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--coral);
  border: 1px solid var(--coral);
}

.host-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   Block 05: How It Works (The 5 Steps)
   ========================================================================== */
.how-it-works-section {
  padding: 80px 0;
  background: var(--cream);
}

.stepper-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 36px;
}

.stepper-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: repeating-linear-gradient(to right, var(--coral), var(--coral) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.step-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-warm);
  text-align: center;
  z-index: 2;
  transition: all var(--transition-bounce);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--coral);
  box-shadow: var(--shadow-hover);
}

.step-num-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--coral);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(255, 106, 91, 0.2);
  transition: all var(--transition-smooth);
}

.step-card:hover .step-num-bubble {
  background: var(--coral);
  color: #FFFFFF;
}

.step-title {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Block 07: Income Glance (Interactive Calculator)
   ========================================================================== */
.calculator-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #FFF3EC 0%, var(--cream) 100%);
}

.calculator-wrapper {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hover);
  padding: 44px;
  max-width: 980px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-slider-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-monthly-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--coral-2);
}

.calc-output-card {
  background: linear-gradient(135deg, var(--navy) 0%, #151F33 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 42, 68, 0.25);
  position: relative;
  overflow: hidden;
}

.calc-output-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 91, 0.3) 0%, transparent 70%);
}

.calc-output-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.annual-income-display {
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.calc-tax-callout {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #E2E8F0;
  margin-bottom: 24px;
  border-left: 3px solid var(--coral);
  text-align: left;
}

/* ==========================================================================
   Block 08: Trust & NJ Rules (Amber Note Callout)
   ========================================================================== */
.rules-section {
  padding: 60px 0 80px;
  background: var(--cream);
}

.amber-note-card {
  background: var(--amber-light);
  border: 2px solid #F5C678;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-warm);
  position: relative;
}

.amber-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.amber-badge {
  background: var(--amber);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.amber-title {
  font-size: 1.55rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.rule-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.rule-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.rule-item-title svg {
  color: var(--teal);
}

.rule-item-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   Block 06: Post a Room Wizard (In-page or Modal)
   ========================================================================== */
.wizard-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF3EC 100%);
}

.wizard-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hover);
  max-width: 900px;
  margin: 0 auto;
}

.wizard-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.wizard-progress-bar::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--line);
  z-index: 1;
}

.progress-track-fill {
  position: absolute;
  top: 18px;
  left: 30px;
  height: 3px;
  background: var(--coral);
  z-index: 2;
  transition: width 0.35s ease;
  width: 0%;
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 3;
}

.step-node-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 2.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  transition: all var(--transition-smooth);
}

.wizard-step-node.active .step-node-bubble {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--blush);
  transform: scale(1.1);
}

.wizard-step-node.completed .step-node-bubble {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFFFF;
}

.step-node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.wizard-step-node.active .step-node-label {
  color: var(--navy);
}

.wizard-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-pane-header {
  margin-bottom: 24px;
}

.wizard-pane-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.wizard-pane-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.wizard-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.wizard-fields-full {
  grid-column: 1 / -1;
}

.wizard-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--coral);
}

.attestation-box {
  background: var(--blush);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 106, 91, 0.25);
  margin-bottom: 20px;
}

.attestation-box p {
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 12px;
}

/* ==========================================================================
   Block 09: Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: 70px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col img {
  height: 44px;
  width: auto;
  max-width: 240px;
}

.footer-brand-col p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #CBD5E1;
  font-size: 0.92rem;
  transition: color var(--transition-smooth);
}

.footer-links-list a:hover {
  color: var(--coral);
}

.contact-card-footer {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #E2E8F0;
  font-size: 0.92rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item svg {
  color: var(--coral);
  flex-shrink: 0;
}

.zelle-badge {
  display: inline-block;
  background: #6D1ED4;
  color: #FFFFFF;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-disclaimer {
  line-height: 1.6;
}

.footer-copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-card {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translate3d(0, 28px, 0);
}

.reveal-left {
  transform: translate3d(-32px, 0, 0);
}

.reveal-right {
  transform: translate3d(32px, 0, 0);
}

.reveal-scale {
  transform: scale3d(0.93, 0.93, 1);
}

.reveal-card {
  transform: translate3d(0, 28px, 0);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* In-View Active State (applied by IntersectionObserver) */
.in-view {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
}

/* Staggered Children for grids/containers */
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  will-change: transform, opacity;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger transition delays for child elements */
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.46s; }

/* ==========================================================================
   Specially for Mobile: Tactile Press Feedback & Micro-Animations
   ========================================================================== */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Tactile press response on touch / active */
.btn:active,
button:active {
  transform: scale(0.95) translateY(1px) !important;
  transition: transform 0.08s ease !important;
}

.pinned-card:active {
  transform: scale(0.985) translateY(1px);
  transition: transform 0.1s ease;
}

.door-card:active {
  transform: scale(0.985) translateY(1px);
  transition: transform 0.1s ease;
}

.county-box:active {
  transform: scale(0.98) translateY(1px);
  transition: transform 0.1s ease;
}

.town-chip:active,
.chip:active {
  transform: scale(0.92) !important;
  transition: transform 0.08s ease !important;
}

.step-card:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Touch ripple animation */
.touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 106, 91, 0.28);
  transform: scale(0);
  animation: rippleAnimation 0.5s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Heart Pop Animation */
.card-save-btn.heart-pop {
  animation: heartBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.45) rotate(-12deg); color: var(--coral); }
  60% { transform: scale(0.88) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Phone wiggle animation */
@keyframes phoneRing {
  0% { transform: rotate(0); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(0); }
}

/* Stepper Bubble pulse on scroll */
.in-view .step-num-bubble {
  animation: bubblePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bubblePop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Sticky "Post a Room" FAB
   ========================================================================== */
.post-room-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-2) 100%);
  color: #FFFFFF;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(255, 106, 91, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              opacity 0.3s ease,
              box-shadow 0.3s ease;
}

.post-room-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(255, 106, 91, 0.58);
}

.fab-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: fabPulse 1.8s infinite;
  flex-shrink: 0;
}

.fab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.fab-mobile-text {
  display: none;
}

.post-room-fab.fab-hidden {
  transform: translateY(90px) scale(0.85);
  opacity: 0;
  pointer-events: none;
}

@keyframes fabPulse {
  0% { transform: scale(0.8); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(0.8); opacity: 1; }
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 42, 68, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--card);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid var(--line);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  z-index: 10;
  transition: all var(--transition-bounce);
}

.modal-close-btn:hover {
  background: var(--coral);
  color: #FFFFFF;
  transform: scale(1.1);
}

.modal-body {
  padding: 36px;
}

/* Success notification toast */
.toast-notice {
  position: fixed;
  bottom: 90px;
  right: 22px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 50px;
  border-left: 4px solid var(--teal);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .two-doors-wrapper {
    grid-template-columns: 1fr;
  }
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .county-explorer-grid {
    grid-template-columns: 1fr;
  }
  .listings-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stepper-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .stepper-container::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 52px;
  }
  .brand-logo img {
    height: 30px;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-actions .hotline-link {
    display: none;
  }
  .search-grid {
    grid-template-columns: 1fr;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .stepper-container {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .wizard-fields-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .wizard-step-node .step-node-label {
    display: none;
  }

  /* Mobile FAB Display & Motion */
  .fab-text {
    display: none;
  }
  .fab-mobile-text {
    display: inline;
    font-size: 0.84rem;
    font-weight: 700;
  }
  .post-room-fab {
    padding: 11px 18px;
    bottom: 16px;
    right: 16px;
    box-shadow: 0 8px 24px rgba(255, 106, 91, 0.42);
  }

  /* Horizontal swipeable chips rail for mobile with momentum scroll */
  .amenities-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-right: -16px;
    padding-right: 16px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
  .amenities-rail::-webkit-scrollbar {
    display: none;
  }
  .amenity-chip-label {
    flex-shrink: 0;
  }
  .amenities-rail .chip {
    flex-shrink: 0;
  }

  .town-chip-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .town-chip-rail::-webkit-scrollbar {
    display: none;
  }
  .town-chip {
    flex-shrink: 0;
  }

  /* Mobile bottom sheet modal */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-container {
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
    border-bottom: none;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-overlay.active .modal-container {
    transform: translate3d(0, 0, 0);
  }
  .modal-body {
    padding: 20px 20px 32px;
  }
  .modal-sheet-handle {
    display: block;
    width: 44px;
    height: 5px;
    background: #E2E8F0;
    border-radius: 10px;
    margin: 12px auto 4px;
  }
  .modal-close-btn {
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
  }

  /* Stepper items connector on mobile */
  .step-card {
    padding: 20px 16px;
  }
  .step-num-bubble {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
}

/* ==========================================================================
   Desktop-Only Hover Micro-Interactions (True Pointer Devices)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  /* Pinned Listing Cards */
  .pinned-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
  }
  .pinned-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: 0 20px 38px -6px rgba(30, 42, 68, 0.13), 0 8px 18px -2px rgba(255, 106, 91, 0.12);
    border-color: rgba(255, 106, 91, 0.45);
  }
  .pinned-card:hover .card-image-wrap img {
    transform: scale(1.08);
  }
  .pinned-card:hover::before {
    background: rgba(255, 225, 212, 0.95);
    border-color: var(--coral);
    transform: translateX(-50%) scaleX(1.08);
  }

  /* Two Doors */
  .door-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
  }
  .door-card.door-provider:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -4px rgba(255, 106, 91, 0.2), 0 8px 16px -2px rgba(30, 42, 68, 0.08);
    border-color: var(--coral);
  }
  .door-card.door-seeker:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -4px rgba(18, 179, 166, 0.2), 0 8px 16px -2px rgba(30, 42, 68, 0.08);
    border-color: var(--teal);
  }
  .door-card:hover .door-image-container img {
    transform: scale(1.06);
  }
  .door-card:hover .door-badge {
    transform: translateY(-2px);
  }
  .door-card:hover .door-earning-tag {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  /* County Box */
  .county-box {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }
  .county-box:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
    box-shadow: 0 16px 32px -4px rgba(30, 42, 68, 0.1), 0 6px 14px -2px rgba(255, 106, 91, 0.1);
  }
  .county-box:hover .county-room-count {
    background: var(--coral);
    color: #FFFFFF;
    transform: scale(1.05);
  }

  /* Town Chips */
  .town-chip:hover {
    background: var(--coral);
    color: #FFFFFF;
    border-color: var(--coral);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 12px rgba(255, 106, 91, 0.3);
  }

  /* Filter Chips */
  .chip:hover {
    border-color: var(--coral);
    background: var(--blush);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 106, 91, 0.15);
  }

  /* Stepper Cards */
  .step-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
  }
  .step-card:hover {
    transform: translateY(-8px);
    border-color: var(--coral);
    box-shadow: 0 18px 36px -4px rgba(255, 106, 91, 0.15), 0 6px 16px -2px rgba(30, 42, 68, 0.08);
  }
  .step-card:hover .step-num-bubble {
    background: var(--coral);
    color: #FFFFFF;
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 6px 16px rgba(255, 106, 91, 0.35);
  }

  /* Rule Cards */
  .rule-item {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .rule-item:hover {
    transform: translateY(-3px);
    border-color: var(--amber);
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.15);
  }
}

/* ==========================================================================
   Reduced Motion Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-card,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
