/* =====================================================
   RENTREL MAIN STYLE.CSS
   Clean Full Version

   01. Root Variables
   02. Base / Reset
   03. Entry Gate Popup
   04. Hero Section
   05. Hero Search System
   06. Search Dropdowns
   07. Hero Trust Pills
   08. How It Works Section
   09. Tablet Responsive
   10. Mobile Hero
   11. Mobile How It Works
   12. Renter Stories Carousel
   13. Mobile Navbar + Chatbot Overrides
   14. Renter Stories Drag Fix
   15. Platform CTA
   16. Press / Trust Logos
   17. Rentrel Info Grid
   18. Dynamic Stats Banner
   19. City Explorer / Destination Search
===================================================== */


/* =====================================================
   01. ROOT VARIABLES
===================================================== */

:root {
  --brand: #2563eb;
  --brand-2: #5aa7ff;
  --brand-dark: #1747b8;

  --navy: #07142f;
  --ink: #111827;
  --text: #263244;
  --muted: #667085;

  --white: #ffffff;
  --soft: #f7f9fc;
  --cream: #f5f1ec;
  --border: rgba(15, 23, 42, 0.1);

  --shadow-xl: 0 30px 90px rgba(8, 20, 47, 0.22);
  --shadow-lg: 0 22px 60px rgba(8, 20, 47, 0.16);
  --shadow-md: 0 14px 34px rgba(8, 20, 47, 0.12);

  --container: 1180px;

  --hero-bg-x: 100%;
  --hero-bg-y: 10%;

  --hero-bg-x-tablet: 72%;
  --hero-bg-y-tablet: 10%;

  --hero-bg-x-mobile: 86%;
  --hero-bg-y-mobile: 0%;
}


/* =====================================================
   02. BASE / RESET
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.hidden {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}


/* =====================================================
   03. ENTRY GATE POPUP
===================================================== */

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 20, 47, 0.82) 0%,
      rgba(7, 20, 47, 0.62) 42%,
      rgba(7, 20, 47, 0.36) 100%
    ),
    url("../images/hero-bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.entry-gate.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
}

.gate-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}



.gate-dots {
  display: none;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-72%);
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 18px;
  opacity: 0.75;
}

.gate-dots span {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.gate-card {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  min-height: 480px;
  padding: 46px 58px 42px;
  border-radius: 32px;
  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.48) 48%,
      rgba(255, 255, 255, 0.32) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.62);

  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);

  box-shadow:
    0 34px 90px rgba(7, 20, 47, 0.32),
    0 14px 34px rgba(7, 20, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);

  overflow: hidden;
}

.gate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.14) 34%,
      transparent 62%
    );
  pointer-events: none;
}

.gate-card::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -25%;
  width: 70%;
  height: 90%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.12) 36%,
    transparent 70%
  );
  transform: rotate(18deg);
  pointer-events: none;
}

.gate-card > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .gate-card {
    border-radius: 28px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.54) 100%
      );
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
  }
}

.gate-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 188px;
  height: 58px;
  margin: 0 auto 44px;
  padding: 0 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 42px rgba(7, 20, 47, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gate-logo-img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 180px;
  object-fit: contain;
}

.gate-step h1 {
  margin: 0 0 14px;
  font-size: 2rem;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.gate-step p {
  max-width: 440px;
  margin: 0 auto 52px;
  font-size: 1.18rem;
  line-height: 1.48;
  color: #1f2937;
}

.gate-primary-btn {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
  transition: 0.2s ease;
}

.gate-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.gate-secondary-btn {
  margin-top: 17px;
  border: 0;
  background: transparent;
  font-weight: 750;
  color: #344054;
}

.gate-secondary-btn:hover {
  text-decoration: underline;
}

.gate-links {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38px;
  display: flex;
  justify-content: center;
  gap: 34px;
}

.gate-links a {
  color: #667085;
  font-size: 0.9rem;
  text-decoration: underline;
}


/* =====================================================
   04. HERO SECTION
===================================================== */

.hero {
  min-height: 690px;
  padding: 128px 0 76px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  background:
    linear-gradient(
      90deg,
      rgba(7, 20, 47, 0.58) 0%,
      rgba(7, 20, 47, 0.34) 38%,
      rgba(7, 20, 47, 0.08) 74%,
      rgba(7, 20, 47, 0.04) 100%
    ),
    url("../images/hero-bg.png");
  background-size: cover;
  background-position: var(--hero-bg-x) var(--hero-bg-y);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 42%,
      rgba(37, 99, 235, 0.18),
      transparent 34%
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 76px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 68%,
    #ffffff 100%
  );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 47, 0.12) 0%,
    rgba(7, 20, 47, 0.06) 52%,
    rgba(7, 20, 47, 0.1) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 24px;
  text-align: left;
  color: #ffffff;
}

.hero-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0 0 14px;
  font-size: clamp(2.65rem, 4.1vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 18px 42px rgba(7, 20, 47, 0.34);
}

.hero-subtitle {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 560;
  text-shadow: 0 10px 28px rgba(7, 20, 47, 0.28);
}


/* =====================================================
   05. HERO SEARCH SYSTEM
===================================================== */

.search-system {
  position: relative;
  width: min(100%, 700px);
  margin: 0;
}

.rental-search-bar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 3px;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  box-shadow:
    0 22px 52px rgba(7, 20, 47, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.search-filter {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #18243a;
  font-size: 0.86rem;
  font-weight: 850;
  transition: 0.2s ease;
  white-space: nowrap;
}

.search-filter:hover {
  background: rgba(255, 255, 255, 0.56);
}

.search-filter.active {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1.4px rgba(37, 99, 235, 0.68),
    0 8px 20px rgba(37, 99, 235, 0.1);
  color: var(--navy);
}

.filter-icon {
  width: 19px;
  height: 19px;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.filter-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.match-btn {
  height: 48px;
  min-width: 165px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f72ff, #1747b8);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: 0.2s ease;
  white-space: nowrap;
}

.match-btn:hover {
  transform: translateY(-1px);
}

.match-btn-icon {
  display: none;
}

.match-btn-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}


/* =====================================================
   06. SEARCH DROPDOWNS
===================================================== */

.search-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  z-index: 9;
  width: min(560px, calc(100vw - 40px));
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  box-shadow:
    0 32px 90px rgba(8, 20, 47, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  display: none;
}

.search-dropdown.active {
  display: block;
  animation: dropIn 0.18s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.city-dropdown {
  left: 0;
}

.beds-dropdown {
  left: 70px;
}

.budget-dropdown {
  left: 140px;
}

.search-dropdown h3 {
  margin: 0 0 18px;
  color: #1f2937;
  font-size: 1.36rem;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.big-input {
  height: 62px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 17px;
  background: rgba(244, 248, 255, 0.84);
  box-shadow:
    inset 0 0 0 2px rgba(37, 99, 235, 0.78),
    0 12px 26px rgba(37, 99, 235, 0.08);
}

.big-input svg {
  width: 22px;
  height: 22px;
  fill: var(--brand);
  flex: 0 0 auto;
}

.big-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font-size: 0.98rem;
  font-weight: 760;
}

.big-input input::placeholder {
  color: #98a2b3;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.suggestions button {
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #344054;
  font-size: 0.84rem;
  font-weight: 820;
}

.option-list {
  display: grid;
  gap: 19px;
}

.option-list label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.option-list input {
  display: none;
}

.option-list span {
  width: 25px;
  height: 25px;
  border: 2.5px solid var(--brand);
  border-radius: 7px;
  display: inline-block;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
}

.option-list input:checked + span {
  background: var(--brand);
}

.option-list input:checked + span::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

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

.budget-grid label {
  display: block;
  margin-bottom: 9px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 820;
}

.budget-grid select {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 16px;
  color: #1f2937;
  font-weight: 760;
  outline: 0;
}

.apply-btn {
  margin-top: 24px;
  min-width: 110px;
  height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 920;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}


/* =====================================================
   07. HERO TRUST PILLS
===================================================== */

.hero-trust {
  margin: 16px 0 0;
  max-width: 700px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust span {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.7rem;
  font-weight: 820;
}


/* =====================================================
   08. HOW IT WORKS SECTION
===================================================== */

.how-it-works {
  position: relative;
  padding: 82px 0 96px;
  background: #ffffff;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  color: #303030;
  font-size: clamp(2.15rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 680;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 50px;
  margin-top: 24px;
  padding: 0 30px;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb, #1747b8);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 820;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.2);
  transition: 0.2s ease;
}

.section-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.28);
}

.steps-scroll-wrap {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.step-card {
  min-height: 500px;
  padding: 28px 28px 0;
  border-radius: 10px;
  background: #f4f0ec;
  border: 0;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.step-card-content {
  position: relative;
  z-index: 4;
  min-height: 170px;
}

.step-number {
  display: block;
  margin-bottom: 10px;
  color: #303030;
  font-size: 0.9rem;
  font-weight: 760;
}

.step-card h3 {
  max-width: 330px;
  min-height: 54px;
  margin: 0 0 26px;
  color: #303030;
  font-size: clamp(2rem, 2.4vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 460;
}

.step-card p {
  max-width: 335px;
  margin: 0;
  color: #3f3f3f;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 430;
}

.step-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 300px;
  margin-top: 18px;
}


/* ---------- Step 1 Visual ---------- */

.step-visual-quiz {
  display: grid;
  place-items: center;
  gap: 13px;
  padding-bottom: 34px;
}

.quiz-chip {
  width: min(100%, 286px);
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 15px 32px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.quiz-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
}

.quiz-dot-blue {
  background:
    radial-gradient(circle at 28% 28%, #ffffff 0 10%, transparent 12%),
    linear-gradient(135deg, #1d4ed8, #60a5fa);
}

.quiz-dot-orange {
  background:
    radial-gradient(circle at 28% 28%, #ffffff 0 10%, transparent 12%),
    linear-gradient(135deg, #f97316, #fdba74);
}

.quiz-dot-green {
  background:
    radial-gradient(circle at 28% 28%, #ffffff 0 10%, transparent 12%),
    linear-gradient(135deg, #059669, #86efac);
}

.quiz-dot-purple {
  background:
    radial-gradient(circle at 28% 28%, #ffffff 0 10%, transparent 12%),
    linear-gradient(135deg, #7c3aed, #c4b5fd);
}

.quiz-chip strong {
  display: block;
  color: #2d2d2d;
  font-size: 0.75rem;
  font-weight: 850;
}

.quiz-chip small {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 600;
}

.quiz-check {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}


/* ---------- Step 2 Visual ---------- */

.step-visual-match {
  min-height: 330px;
  margin-top: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.match-card-stack {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  overflow: visible;
}

.match-card-back {
  position: absolute;
  left: 176px;
  top: 70px;
  z-index: 1;
  width: 190px;
  height: 310px;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.match-card-back::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 54px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.match-card-back::after {
  content: "\2661";
  position: absolute;
  top: 15px;
  right: 17px;
  color: #9ca3af;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.match-card-main {
  position: absolute;
  left: 52px;
  top: 44px;
  z-index: 3;
  width: 260px;
  height: 350px;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.match-card-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 54px;
  background: #ffffff;
  z-index: 2;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.match-card-main::after {
  content: "\2661";
  position: absolute;
  top: 15px;
  right: 18px;
  z-index: 3;
  color: #9ca3af;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.match-card-main img {
  width: 100%;
  height: 174px;
  margin-top: 54px;
  object-fit: cover;
  display: block;
}

.match-heart {
  position: absolute;
  left: 6px;
  top: 22px;
  z-index: 6;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 2.45rem;
  box-shadow:
    0 20px 42px rgba(37, 99, 235, 0.28),
    0 10px 22px rgba(7, 20, 47, 0.12);
}

.match-card-lines {
  padding: 20px 18px 0 48px;
  display: grid;
  gap: 13px;
}

.match-card-lines span {
  position: relative;
  height: 13px;
  border-radius: 999px;
  background: #eeeae4;
}

.match-card-lines span:nth-child(1),
.match-card-lines span:nth-child(2) {
  width: 92%;
}

.match-card-lines span:nth-child(3) {
  width: 78%;
  margin-top: 16px;
}

.match-card-lines span:nth-child(4) {
  width: 62%;
}

.match-card-lines span:nth-child(1)::before,
.match-card-lines span:nth-child(2)::before {
  content: "\2713";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}


/* ---------- Step 3 Visual ---------- */

.step-visual-tour {
  min-height: 330px;
  margin-top: 18px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.tour-preview-card {
  position: relative;
  width: 330px;
  height: 310px;
  margin: 22px auto 0;
  border-radius: 24px 24px 0 0;
  overflow: visible;
}

.tour-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.tour-scheduler {
  position: absolute;
  right: -16px;
  bottom: 60px;
  width: 230px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tour-date-row,
.tour-time-row {
  display: grid;
  gap: 8px;
}

.tour-date-row {
  grid-template-columns: repeat(4, 1fr);
}

.tour-time-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}

.tour-date-row span,
.tour-time-row span {
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f4f0ec;
  color: #475467;
  font-size: 0.72rem;
  font-weight: 820;
}

.tour-time-row span {
  height: 34px;
  font-size: 0.68rem;
}

.tour-date-row .active,
.tour-time-row .active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
}

.steps-scroll-indicator {
  display: none;
}


/* =====================================================
   09. TABLET RESPONSIVE
===================================================== */

@media (max-width: 980px) {
  .hero {
    background-position: var(--hero-bg-x-tablet) var(--hero-bg-y-tablet);
  }

  .search-dropdown,
  .city-dropdown,
  .beds-dropdown,
  .budget-dropdown {
    left: 0;
    right: 0;
    transform: none;
    top: calc(100% + 14px);
    width: 100%;
    padding: 26px 20px;
  }

  .steps-grid {
    gap: 18px;
  }

  .step-card {
    padding: 24px 22px 0;
  }

  .step-card h3 {
    font-size: 2.1rem;
  }

  .match-card-stack {
    width: 320px;
  }

  .match-card-main {
    left: 44px;
  }

  .match-card-back {
    left: 158px;
  }

  .match-heart {
    left: 0;
  }

  .tour-preview-card {
    width: 300px;
  }
}


/* =====================================================
   10. MOBILE HERO
===================================================== */

@media (max-width: 640px) {
  :root {
    --container: 100%;

    --mobile-hero-height: 720px;
    --mobile-hero-top-space: 104px;
    --mobile-image-start: 245px;
    --mobile-search-bottom-gap: 28px;
    --mobile-heading-size: clamp(2.25rem, 9vw, 3rem);
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    min-height: var(--mobile-hero-height);
    padding: var(--mobile-hero-top-space) 0 36px;
    align-items: flex-start;
    background:
      linear-gradient(
        180deg,
        #07142f 0%,
        #07142f 30%,
        rgba(7, 20, 47, 0.98) 42%,
        rgba(7, 20, 47, 0.5) 100%
      );
    background-size: cover;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--mobile-image-start);
    bottom: 0;
    z-index: 0;
    background:
      linear-gradient(
        180deg,
        rgba(7, 20, 47, 0.03) 0%,
        rgba(7, 20, 47, 0.08) 32%,
        rgba(7, 20, 47, 0.6) 100%
      ),
      linear-gradient(
        90deg,
        rgba(7, 20, 47, 0.36) 0%,
        rgba(7, 20, 47, 0.1) 54%,
        rgba(7, 20, 47, 0.02) 100%
      ),
      url("../images/hero-bg.png");
    background-size: cover;
    background-position: var(--hero-bg-x-mobile) var(--hero-bg-y-mobile);
    pointer-events: none;
  }

  .hero::after {
    z-index: 1;
    height: 36px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 74%,
      #ffffff 100%
    );
  }

  .hero-overlay {
    display: none;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    min-height: calc(var(--mobile-hero-height) - var(--mobile-hero-top-space) - 36px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-kicker {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin: 0 auto 12px;
    font-size: var(--mobile-heading-size);
    line-height: 1.02;
    letter-spacing: -0.065em;
  }

  .hero-subtitle {
    max-width: 92%;
    margin: 0 auto;
    font-size: 0.96rem;
    line-height: 1.45;
    font-weight: 650;
  }

  .search-system {
    width: 100%;
    margin-top: auto;
    margin-bottom: var(--mobile-search-bottom-gap);
  }

  .rental-search-bar {
    display: grid;
    grid-template-columns: 1fr 0.82fr 0.9fr 50px;
    gap: 0;
    align-items: center;
    height: 60px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow:
      0 18px 44px rgba(7, 20, 47, 0.18),
      0 0 0 3px rgba(255, 255, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
    overflow: hidden;
  }

  .search-filter {
    height: 50px;
    min-width: 0;
    padding: 0 8px;
    border-radius: 999px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 780;
    background: transparent;
    position: relative;
  }

  .search-filter:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -1px;
    width: 1px;
    height: 22px;
    background: rgba(15, 23, 42, 0.11);
  }

  .search-filter.active {
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
  }

  .filter-icon {
    width: 17px;
    height: 17px;
  }

  .filter-icon svg {
    width: 16px;
    height: 16px;
  }

  .search-filter span:last-child {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .match-btn {
    height: 50px;
    width: 50px;
    min-width: 50px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2f72ff, #1747b8);
    box-shadow:
      0 12px 24px rgba(37, 99, 235, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .match-btn-text {
    display: none;
  }

  .match-btn-icon {
    display: block;
    color: #ffffff;
  }

  .match-btn-icon svg {
    width: 21px;
    height: 21px;
  }

  .search-dropdown,
  .city-dropdown,
  .beds-dropdown,
  .budget-dropdown {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    border-radius: 22px;
  }

  .search-dropdown h3 {
    font-size: 1.18rem;
    margin-bottom: 14px;
  }

  .big-input {
    height: 54px;
    border-radius: 16px;
    padding: 0 15px;
  }

  .big-input input {
    font-size: 0.9rem;
  }

  .suggestions {
    gap: 7px;
  }

  .suggestions button {
    height: 34px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .option-list {
    gap: 15px;
  }

  .option-list label {
    font-size: 0.96rem;
  }

  .budget-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .budget-grid select {
    height: 50px;
    border-radius: 14px;
  }

  .apply-btn {
    height: 48px;
    margin-top: 18px;
    border-radius: 14px;
  }

  .hero-trust {
    display: none;
  }
}


/* =====================================================
   11. MOBILE HOW IT WORKS
   Final fixed mobile card carousel + moving indicator
===================================================== */

@media (max-width: 640px) {
  .how-it-works {
    padding: 58px 0 72px;
    background: #ffffff;
    scroll-margin-top: 90px;
    overflow: hidden;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    max-width: 92%;
    margin: 0 auto;
    font-size: clamp(2.2rem, 9.2vw, 2.85rem);
    line-height: 1.03;
    letter-spacing: -0.07em;
    font-weight: 660;
  }

  .section-cta {
    height: 50px;
    min-width: 168px;
    margin-top: 24px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .steps-scroll-wrap {
    position: relative;
    margin-left: -14px;
    margin-right: -14px;
    overflow: hidden;
  }

  .steps-grid,
  #rentrelStepsTrack {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    scroll-padding-left: 14px;
    padding: 0 14px 20px !important;
    -webkit-overflow-scrolling: touch;
  }

  .steps-grid::-webkit-scrollbar,
  #rentrelStepsTrack::-webkit-scrollbar {
    display: none;
  }

  .step-card {
    flex: 0 0 76% !important;
    width: 76% !important;
    min-width: 76% !important;
    max-width: 76% !important;
    min-height: 555px;
    padding: 28px 26px 0;
    border-radius: 16px;
    background: #f4f0ec;
    scroll-snap-align: none !important;
    overflow: hidden;
  }

  .step-card-content {
    min-height: 170px;
  }

  .step-card h3 {
    max-width: 100%;
    min-height: auto;
    font-size: clamp(2.1rem, 9vw, 2.85rem);
    line-height: 1.04;
    letter-spacing: -0.07em;
    font-weight: 460;
    margin-bottom: 24px;
  }

  .step-card p {
    max-width: 94%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .step-visual {
    min-height: 255px;
    margin-top: 24px;
  }

  .quiz-chip {
    width: min(100%, 292px);
    min-height: 58px;
  }

  /* ---------- Step 2 mobile visual ---------- */

  .step-visual-match {
    min-height: 320px;
    margin-top: 18px;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .match-card-stack {
    width: 320px;
    height: 340px;
    position: relative;
    margin: 0 auto;
    overflow: visible;
    transform: translateX(-6px);
  }

  .match-card-main {
    left: 44px;
    top: 42px;
    width: 238px;
    height: 330px;
    transform: none !important;
  }

  .match-card-back {
    left: 130px;
    top: 70px;
    width: 176px;
    height: 292px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .match-card-main::before,
  .match-card-back::before {
    height: 50px;
  }

  .match-card-main::after,
  .match-card-back::after {
    top: 14px;
    right: 16px;
    font-size: 1.35rem;
  }

  .match-card-main img {
    height: 162px;
    margin-top: 50px;
  }

  .match-heart {
    left: 4px;
    top: 18px;
    width: 82px;
    height: 82px;
    font-size: 2.2rem;
  }

  .match-card-lines {
    padding: 18px 16px 0 44px;
    gap: 12px;
  }

  .match-card-lines span {
    height: 12px;
  }

  /* ---------- Step 3 mobile visual ---------- */

  .step-visual-tour {
    min-height: 320px;
    margin-top: 18px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .tour-preview-card {
    width: 300px;
    height: 292px;
    margin-top: 22px;
  }

  .tour-scheduler {
    right: -8px;
    bottom: 52px;
    width: 210px;
    padding: 10px;
  }

  .tour-date-row span,
  .tour-time-row span {
    height: 38px;
    font-size: 0.68rem;
  }

  .tour-time-row span {
    height: 32px;
    font-size: 0.64rem;
  }

  /* ---------- Mobile scroll indicator ---------- */

  .steps-scroll-indicator,
  .steps-scrollbar,
  #rentrelStepsScrollbar {
    position: relative !important;
    width: calc(100% - 44px) !important;
    height: 16px !important;
    margin: 4px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    background: #e8e5df !important;
    overflow: hidden !important;
  }

  .steps-scroll-indicator span,
  .steps-scrollbar-thumb,
  #rentrelStepsThumb {
    position: absolute !important;
    left: 2px !important;
    top: 2px !important;
    width: 38%;
    min-width: 88px !important;
    max-width: calc(100% - 4px) !important;
    height: 12px !important;
    margin-left: 0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1.5px solid #d3d0ca !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08) !important;
    transform: translate3d(0, 0, 0);
    transition: none !important;
    will-change: transform;
  }
}



/* =====================================================
   12. RENTER STORIES CAROUSEL
===================================================== */

.renter-stories {
  position: relative;
  padding: 86px 0 78px;
  background: #f4f1ec;
  overflow: hidden;
}

.renter-stories-heading {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto 48px;
  text-align: center;
}

.renter-stories-heading h2 {
  margin: 0;
  color: #303030;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 720;
}

.renter-stories-shell {
  width: 100%;
  overflow: hidden;
}

.renter-stories-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0 28px 28px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
}


.renter-stories-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.renter-stories-track::-webkit-scrollbar {
  display: none;
}

.renter-story-card {
  flex: 0 0 390px;
  min-height: 430px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.renter-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.renter-story-card,
.renter-story-card * {
  user-select: none;
  -webkit-user-select: none;
}

.renter-story-image {
  width: 100%;
  height: 245px;
  overflow: hidden;
  background: #e7e2dc;
}

.renter-story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.35s ease;
}

.renter-story-card:hover .renter-story-image img {
  transform: scale(1.04);
}

.renter-story-content {
  padding: 22px 24px 26px;
}

.story-stars {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.renter-story-content p {
  margin: 0;
  max-width: 330px;
  color: #2f2f2f;
  font-size: 1.03rem;
  line-height: 1.34;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.renter-stories-scrollbar {
  width: calc(100% - 56px);
  height: 18px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #e6e2dc;
  overflow: hidden;
}

.renter-stories-scrollbar span {
  width: 18%;
  height: 12px;
  margin-left: 2px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #d4d0ca;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  transform: translateX(0);
  transition: transform 0.12s ease;
}


/* ---------- Renter Stories Tablet ---------- */

@media (max-width: 980px) {
  .renter-stories {
    padding: 74px 0 70px;
  }

  .renter-story-card {
    flex-basis: 340px;
    min-height: 405px;
  }

  .renter-story-image {
    height: 220px;
  }
}


/* ---------- Renter Stories Mobile ---------- */

@media (max-width: 640px) {
  .renter-stories {
    padding: 58px 0 62px;
    background: #f4f1ec;
  }

  .renter-stories-heading {
    width: min(100% - 32px, 560px);
    margin-bottom: 34px;
  }

  .renter-stories-heading h2 {
    font-size: clamp(2.1rem, 8vw, 2.75rem);
    line-height: 1.04;
    letter-spacing: -0.07em;
  }

  .renter-stories-track {
    gap: 16px;
    padding: 0 18px 24px;
    scroll-snap-type: x mandatory;
  }

  .renter-story-card {
    flex: 0 0 82vw;
    min-height: 390px;
    border-radius: 12px;
    scroll-snap-align: start;
  }

  .renter-story-image {
    height: 215px;
  }

  .renter-story-content {
    padding: 20px 22px 24px;
  }

  .story-stars {
    margin-bottom: 16px;
    font-size: 1.25rem;
  }

  .renter-story-content p {
    max-width: 94%;
    font-size: 1rem;
    line-height: 1.36;
  }

  .renter-stories-scrollbar {
    width: calc(100% - 36px);
    height: 17px;
  }

  .renter-stories-scrollbar span {
    height: 11px;
  }
}


/* =====================================================
   13. MOBILE NAVBAR + CHATBOT OVERRIDES
===================================================== */

@media (max-width: 640px) {
  .site-header {
    padding-top: 12px !important;
  }

  .header-inner {
    height: 56px !important;
    max-width: calc(100% - 32px) !important;
    padding: 0 10px 0 15px !important;
  }

  .brand-image {
    height: 40px !important;
  }

  .brand-image img {
    height: 28px !important;
    max-width: 142px !important;
  }

  .mobile-menu-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .mobile-menu-btn span {
    left: 11px !important;
    width: 18px !important;
  }

  .mobile-menu-btn span:first-child {
    top: 15px !important;
  }

  .mobile-menu-btn span:last-child {
    top: 24px !important;
  }

  .rentrel-chatbot-widget {
    right: 14px !important;
    bottom: 14px !important;
  }

  .rentrel-chatbot-launcher {
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
  }

  .rentrel-chatbot-launcher svg {
    width: 25px !important;
    height: 25px !important;
  }

  .rentrel-chatbot-pulse {
    right: 7px !important;
    top: 7px !important;
    width: 9px !important;
  }
}




/* =====================================================
   FIX: RENTER STORIES NATURAL DRAG â€” NO MAGNET / SNAP
===================================================== */

.renter-stories-track {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.renter-stories-track.is-dragging {
  cursor: grabbing;
}

.renter-story-card {
  scroll-snap-align: none !important;
}

.renter-stories-track.is-dragging .renter-story-card {
  transform: none !important;
  transition: none !important;
}

.renter-story-card,
.renter-story-card * {
  user-select: none;
  -webkit-user-select: none;
}

.renter-story-image img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Mobile e native swipe smooth thakbe, snap off */
@media (max-width: 640px) {
  .renter-stories-track {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  .renter-story-card {
    scroll-snap-align: none !important;
  }
}



/* =====================================================
   SECTION 04: COMPACT PLATFORM CTA / IMAGE BANNER
   Replace previous platform-cta CSS with this
===================================================== */

.platform-cta {
  position: relative;
  min-height: 360px;
  padding: 68px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #07142f;
}

/* 
  Background image:
  assets/images/platform-bg.jpg
*/
.platform-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      
      
      rgba(7, 20, 47, 0.8) 40%
    ),
    url("../images/platform-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
}

/* Soft premium glow */
.platform-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 50% 95%, rgba(90, 167, 255, 0.16), transparent 30%);
  pointer-events: none;
}

.platform-cta-inner {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.platform-cta-kicker {
  display: none;
}

.platform-cta h2 {
  max-width: 860px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 620;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.platform-cta p {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 460;
}

.platform-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 58px;
  margin-top: 30px;
  padding: 0 34px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 850;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: 0.2s ease;
}

.platform-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}


/* =====================================================
   SECTION 04: MOBILE
===================================================== */

@media (max-width: 640px) {
  .platform-cta {
    min-height: 360px;
    padding: 58px 0;
  }

  .platform-cta-inner {
    width: min(100% - 32px, 560px);
  }

  .platform-cta h2 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.065em;
  }

  .platform-cta p {
    max-width: 94%;
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .platform-cta-btn {
    min-width: 190px;
    height: 54px;
    margin-top: 26px;
    border-radius: 14px;
  }
}

/* =====================================================
   SECTION 05: PRESS / TRUST LOGOS - COMPACT VERSION
===================================================== */

.press-strip {
  padding: 58px 0 62px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.press-strip-inner {
  max-width: 980px;
  margin: 0 auto;
}

.press-strip h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #303030;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 720;
}

.press-strip p {
  margin: 18px 0 0;
  color: #4a4a4a;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 450;
}

.press-logo-grid {
  max-width: 760px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  align-items: center;
  column-gap: 48px;
  row-gap: 34px;
}

/* First row: 3 logos */
.press-logo-item:nth-child(1) {
  grid-column: 1 / span 2;
}

.press-logo-item:nth-child(2) {
  grid-column: 3 / span 2;
}

.press-logo-item:nth-child(3) {
  grid-column: 5 / span 2;
}

/* Second row: 2 logos centered */
.press-logo-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.press-logo-item:nth-child(5) {
  grid-column: 4 / span 2;
}

.press-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 38px;
}

.press-logo-item img {
  max-width: 200px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.2s ease;
}

.press-logo-item:hover img {
  transform: translateY(-2px);
}


/* =====================================================
   SECTION 05: TABLET
===================================================== */

@media (max-width: 980px) {
  .press-strip {
    padding: 54px 0 58px;
  }

  .press-logo-grid {
    max-width: 720px;
    column-gap: 38px;
    row-gap: 30px;
  }

  .press-logo-item img {
    max-width: 180px;
    max-height: 34px;
  }
}


/* =====================================================
   SECTION 05: MOBILE
===================================================== */

@media (max-width: 640px) {
  .press-strip {
    padding: 48px 0 54px;
  }

  .press-strip h2 {
    max-width: 92%;
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    line-height: 1.08;
  }

  .press-strip p {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .press-logo-grid {
    max-width: 92%;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 30px;
  }

  .press-logo-item {
    min-width: 125px;
    height: 34px;
  }

  .press-logo-item img {
    max-width: 145px;
    max-height: 30px;
  }
}





/* =====================================================
   SECTION 06: RENTREL INFO GRID - COMPACT PREMIUM
===================================================== */

.rentrel-info-grid {
  padding: 54px 0 72px;
  background: #ffffff;
}

.rentrel-info-heading {
  max-width: 980px;
  text-align: center;
  margin-bottom: 34px;
}

.rentrel-info-heading h2 {
  margin: 0;
  color: #303030;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  font-weight: 720;
}

.rentrel-info-heading p {
  max-width: 760px;
  margin: 12px auto 0;
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 450;
}

.rentrel-info-heading-secondary {
  margin-top: 46px;
  margin-bottom: 30px;
}

.info-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 270px;
  background: #f5f5f5;
  overflow: hidden;
}

.info-feature-row + .info-feature-row {
  margin-top: 0;
}

.info-feature-copy {
  padding: 44px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f5f5;
}

.info-feature-copy h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.info-feature-copy p {
  max-width: 460px;
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 430;
}

.info-feature-copy a {
  width: fit-content;
  margin-top: 22px;
  color: var(--brand);
  font-size: 0.98rem;
  font-weight: 850;
  transition: 0.2s ease;
}

.info-feature-copy a:hover {
  color: var(--brand-dark);
  transform: translateX(3px);
}

.info-feature-image {
  min-height: 270px;
  background: #e5e7eb;
  overflow: hidden;
}

.info-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.info-feature-row:hover .info-feature-image img {
  transform: scale(1.035);
}

.info-divider {
  height: 1px;
  margin-top: 50px;
  margin-bottom: 36px;
  background: rgba(15, 23, 42, 0.1);
}


/* =====================================================
   SECTION 06: TABLET
===================================================== */

@media (max-width: 980px) {
  .rentrel-info-grid {
    padding: 52px 0 66px;
  }

  .rentrel-info-heading {
    margin-bottom: 32px;
  }

  .rentrel-info-heading-secondary {
    margin-top: 42px;
    margin-bottom: 28px;
  }

  .info-feature-row {
    min-height: 250px;
  }

  .info-feature-copy {
    padding: 38px 38px;
  }

  .info-feature-copy h3 {
    font-size: 1.6rem;
  }

  .info-feature-copy p {
    font-size: 0.96rem;
  }

  .info-feature-image,
  .info-feature-image img {
    min-height: 250px;
  }

  .info-divider {
    margin-top: 44px;
    margin-bottom: 32px;
  }
}


/* =====================================================
   SECTION 06: MOBILE
===================================================== */

@media (max-width: 640px) {
  .rentrel-info-grid {
    padding: 44px 0 58px;
  }

  .rentrel-info-heading {
    width: min(100% - 32px, 560px);
    margin-bottom: 28px;
  }

  .rentrel-info-heading h2 {
    font-size: clamp(1.9rem, 7.6vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.065em;
  }

  .rentrel-info-heading p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .rentrel-info-heading-secondary {
    margin-top: 36px;
    margin-bottom: 26px;
  }

  .info-feature-row,
  .info-feature-row-reverse {
    width: min(100% - 32px, 560px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
  }

  .info-feature-row + .info-feature-row {
    margin-top: 16px;
  }

  .info-feature-row-reverse {
    flex-direction: column;
  }

  .info-feature-copy {
    padding: 25px 24px 29px;
    order: 2;
  }

  .info-feature-image {
    order: 1;
    min-height: 205px;
  }

  .info-feature-image img {
    min-height: 205px;
  }

  .info-feature-copy h3 {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .info-feature-copy p {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .info-feature-copy a {
    margin-top: 18px;
    font-size: 0.95rem;
  }

  .info-divider {
    width: min(100% - 32px, 560px);
    margin-top: 38px;
    margin-bottom: 30px;
  }
}





/* =====================================================
   SECTION 07: DYNAMIC STATS BANNER
===================================================== */

.rentrel-stats {
  padding: 76px 0;
  background: #ffffff;
}

.rentrel-stats-card {
  position: relative;
  min-height: 310px;
  border-radius: 34px;
  overflow: hidden;
  background: #07142f;
  box-shadow:
    0 30px 80px rgba(7, 20, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Background image control */
.rentrel-stats-bg {
  position: absolute;
  inset: 0;
  background:
    url("../images/stats-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

/* Dark premium overlay */
.rentrel-stats-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 20, 47, 0.25) 0%,
      rgba(7, 20, 47, 0.15) 48%,
      rgba(7, 20, 47, 0.20) 100%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(90, 167, 255, 0.22),
      transparent 42%
    );
}

/* Soft glass shine */
.rentrel-stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16) 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.08) 100%
    );
  pointer-events: none;
  z-index: 2;
}

/* Content */
.rentrel-stats-inner {
  position: relative;
  z-index: 3;
  min-height: 310px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  padding: 44px 72px;
}

.rentrel-stat-item {
  text-align: center;
  color: #ffffff;
}

.rentrel-stat-item h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 880;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.rentrel-stat-number {
  display: inline-block;
  min-width: 2ch;
}

.rentrel-stat-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  font-weight: 620;
  letter-spacing: -0.025em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Slight visible vertical lines */
.rentrel-stat-divider {
  width: 1px;
  height: 150px;
  justify-self: center;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.36) 22%,
      rgba(255, 255, 255, 0.36) 78%,
      transparent 100%
    );
}


/* =====================================================
   SECTION 07: TABLET
===================================================== */

@media (max-width: 980px) {
  .rentrel-stats {
    padding: 64px 0;
  }

  .rentrel-stats-card {
    min-height: 270px;
    border-radius: 28px;
  }

  .rentrel-stats-inner {
    min-height: 270px;
    padding: 36px 38px;
  }

  .rentrel-stat-divider {
    height: 120px;
  }

  .rentrel-stat-item h3 {
    font-size: clamp(3rem, 7vw, 4.8rem);
  }

  .rentrel-stat-item p {
    font-size: 1rem;
  }
}


/* =====================================================
   SECTION 07: MOBILE
===================================================== */

@media (max-width: 640px) {
  .rentrel-stats {
    padding: 46px 0 62px;
    background: #ffffff;
  }

  .rentrel-stats .container {
    width: min(100% - 32px, 560px);
  }

  .rentrel-stats-card {
    min-height: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
      0 24px 60px rgba(7, 20, 47, 0.18),
      0 8px 24px rgba(7, 20, 47, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .rentrel-stats-bg {
    background-position: center;
    transform: scale(1.04);
  }

  .rentrel-stats-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 20, 47, 0.78) 0%,
        rgba(7, 20, 47, 0.56) 45%,
        rgba(7, 20, 47, 0.84) 100%
      ),
      radial-gradient(
        circle at 50% 12%,
        rgba(90, 167, 255, 0.22),
        transparent 42%
      );
  }

  .rentrel-stats-card::before {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.14) 0%,
        transparent 34%,
        rgba(255, 255, 255, 0.06) 100%
      );
  }

  .rentrel-stats-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 24px 38px;
  }

  .rentrel-stat-item {
    padding: 2px 0;
  }

  .rentrel-stat-item h3 {
    margin: 0 0 8px;
    font-size: clamp(2.85rem, 13vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 880;
    text-shadow:
      0 16px 34px rgba(0, 0, 0, 0.28),
      0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .rentrel-stat-item p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.25;
    font-weight: 720;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: -0.025em;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }

  .rentrel-stat-divider {
    width: 74%;
    height: 1px;
    margin: 0 auto;
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 12%,
        rgba(255, 255, 255, 0.36) 50%,
        rgba(255, 255, 255, 0.12) 88%,
        transparent 100%
      );
  }
}






/* =====================================================
   SECTION 08: CITY EXPLORER / DESTINATION SEARCH
===================================================== */

.city-explorer {
  padding: 72px 0 84px;
  background: #f4f1ec;
  overflow: hidden;
}

.city-explorer-inner {
  max-width: 980px;
}

/* ---------- Heading ---------- */

.city-explorer-heading {
  text-align: center;
}

.city-explorer-heading h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #303030;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 780;
}

.city-explorer-heading p {
  max-width: 720px;
  margin: 13px auto 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Search ---------- */

.city-explorer-search {
  width: min(100%, 430px);
  margin: 28px auto 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.city-explorer-input-wrap {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.city-explorer-input-wrap svg {
  width: 18px;
  height: 18px;
  fill: #344054;
  flex: 0 0 auto;
}

.city-explorer-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 600;
}

.city-explorer-input-wrap input::placeholder {
  color: #98a2b3;
}

.city-explorer-search button {
  height: 48px;
  padding: 0 23px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.city-explorer-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

/* ---------- City Card Slider ---------- */

.city-card-grid {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 18px;
  scroll-behavior: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.city-card-grid.is-dragging {
  cursor: grabbing;
}

.city-card-grid::-webkit-scrollbar {
  height: 10px;
}

.city-card-grid::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.city-card-grid::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.24);
  border-radius: 999px;
}

.city-card-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.34);
}

.city-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 230px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 23px;
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.28), transparent 34%),
    linear-gradient(180deg, #07142f 0%, #061126 100%);
  isolation: isolate;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
}

.city-card-grid.is-dragging .city-card {
  transform: none !important;
  transition: none !important;
}

.city-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    opacity 0.25s ease,
    transform 0.35s ease;
}

.city-card img.is-loaded {
  opacity: 1;
}

.city-card:hover img.is-loaded {
  transform: scale(1.06);
}

.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 20, 47, 0.06) 0%,
      rgba(7, 20, 47, 0.34) 46%,
      rgba(7, 20, 47, 0.92) 100%
    );
}

.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.24), transparent 32%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.city-card:hover::after {
  opacity: 1;
}

.city-card span {
  max-width: 100%;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 750;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
}

.city-card strong {
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(1.85rem, 2.35vw, 2.55rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  font-weight: 950;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.city-card[data-city-link="San Francisco, CA"] strong,
.city-card[data-city-link="New York City, NY"] strong {
  font-size: clamp(1.68rem, 2.05vw, 2.25rem);
  line-height: 0.95;
}

/* ---------- Top Cities List ---------- */

.top-cities {
  margin-top: 40px;
}

.top-cities h3 {
  margin: 0 0 22px;
  color: #303030;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.top-cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 48px;
}

.top-cities-grid a {
  width: fit-content;
  color: #303030;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 620;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.top-cities-grid a:hover {
  color: var(--brand);
  transform: translateX(3px);
}

/* =====================================================
   SECTION 08: TABLET
===================================================== */

@media (max-width: 980px) {
  .city-explorer {
    padding: 64px 0 74px;
  }

  .city-card {
    flex-basis: calc((100% - 18px) / 2);
    min-height: 220px;
  }

  .city-card strong {
    font-size: clamp(1.9rem, 3.7vw, 2.55rem);
  }

  .city-card[data-city-link="San Francisco, CA"] strong,
  .city-card[data-city-link="New York City, NY"] strong {
    font-size: clamp(1.68rem, 3.3vw, 2.3rem);
  }

  .top-cities-grid {
    gap: 12px 32px;
  }
}

/* =====================================================
   SECTION 08: MOBILE
===================================================== */

@media (max-width: 640px) {
  .city-explorer {
    padding: 50px 0 54px;
  }

  .city-explorer-inner {
    width: min(100% - 32px, 560px);
  }

  .city-explorer-heading h2 {
    font-size: clamp(2rem, 8vw, 2.65rem);
    line-height: 1.08;
  }

  .city-explorer-heading p {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .city-explorer-search {
    width: 100%;
    margin: 24px auto 29px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .city-explorer-input-wrap {
    height: 49px;
    border-radius: 14px;
  }

  .city-explorer-search button {
    height: 49px;
    border-radius: 14px;
  }

  .city-card-grid {
    gap: 14px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 12px;
  }

  .city-card-grid::-webkit-scrollbar {
    display: none;
  }

  .city-card {
    flex: 0 0 78%;
    min-height: 230px;
    border-radius: 16px;
    padding: 22px;
  }

  .city-card span {
    font-size: 0.92rem;
  }

  .city-card strong {
    font-size: clamp(2.05rem, 9.8vw, 2.85rem);
  }

  .city-card[data-city-link="San Francisco, CA"] strong,
  .city-card[data-city-link="New York City, NY"] strong {
    font-size: clamp(1.7rem, 8.3vw, 2.35rem);
  }

  /* ---------- Mobile Top Cities Compact ---------- */

  .top-cities {
    margin-top: 22px;
  }

  .top-cities h3 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    line-height: 1.15;
    letter-spacing: -0.045em;
    font-weight: 780;
  }

  .top-cities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }

  .top-cities-grid a {
    width: 100%;
    min-height: 39px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    color: #232323;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.055);
    border-radius: 9px;
    box-shadow: 0 5px 13px rgba(15, 23, 42, 0.028);
    font-size: 0.68rem;
    line-height: 1.14;
    font-weight: 760;
    letter-spacing: -0.025em;
    transform: none;
  }

  .top-cities-grid a::after {
    content: none !important;
  }

  .top-cities-grid a:hover {
    color: var(--brand-dark);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.16);
    transform: none;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .top-cities-grid {
    gap: 5px 6px;
  }

  .top-cities-grid a {
    min-height: 37px;
    padding: 6px 7px;
    font-size: 0.64rem;
    border-radius: 8px;
  }

  .city-card {
    flex-basis: 82%;
  }
}


/* =====================================================
   FINAL PATCH: MOBILE HORIZONTAL CAROUSEL TOUCH + STEP 2 VISUAL
   Scope: only renter stories + how-it-works step cards
===================================================== */

.renter-stories-track,
.steps-grid,
#rentrelStepsTrack {
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

/* Keep pseudo icons safe even if server/header charset is wrong */
.match-card-main::after,
.match-card-back::after {
  content: "\2661" !important;
}

.match-card-lines span:nth-child(1)::before,
.match-card-lines span:nth-child(2)::before {
  content: "\2713" !important;
}

@media (max-width: 640px) {
  /* Let vertical swipes over the carousels move the page naturally */
  .renter-stories-track,
  .steps-grid,
  #rentrelStepsTrack {
    touch-action: pan-y !important;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
  }

  /* Step 2: restore the second/back card and keep it inside the mobile card */
  .step-card:nth-child(2) .step-visual-match {
    overflow: visible !important;
  }

  .step-card:nth-child(2) .match-card-stack {
    width: 300px !important;
    height: 340px !important;
    margin: 0 auto !important;
    transform: translateX(-14px) !important;
    overflow: visible !important;
  }

  .step-card:nth-child(2) .match-card-main {
    left: 34px !important;
    top: 42px !important;
    width: 226px !important;
    height: 330px !important;
    z-index: 3 !important;
    overflow: hidden !important;
  }

  .step-card:nth-child(2) .match-card-back {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    left: 116px !important;
    top: 70px !important;
    width: 168px !important;
    height: 292px !important;
    z-index: 2 !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
  }

  .step-card:nth-child(2) .match-heart {
    left: 0 !important;
    top: 18px !important;
    z-index: 5 !important;
  }

  .step-card:nth-child(2) .match-card-main img {
    height: 158px !important;
    margin-top: 50px !important;
  }

  .step-card:nth-child(2) .match-card-lines {
    padding: 18px 16px 0 42px !important;
  }
}


/* =====================================================
   FINAL MOBILE SMOOTH TOUCH FIX
   Scope: How It Works step cards + Renter Stories cards only
   Goal: vertical swipe scrolls page natively; horizontal swipe moves carousel.
===================================================== */

@media (max-width: 640px) {
  .how-it-works .steps-grid,
  #rentrelStepsTrack,
  #renterStoriesTrack,
  .renter-stories-track {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  .how-it-works .step-card,
  .renter-story-card {
    touch-action: pan-y !important;
  }

  .how-it-works .steps-grid::-webkit-scrollbar,
  #rentrelStepsTrack::-webkit-scrollbar,
  #renterStoriesTrack::-webkit-scrollbar,
  .renter-stories-track::-webkit-scrollbar {
    display: none;
  }

  .steps-scroll-indicator span,
  .steps-scrollbar-thumb,
  #rentrelStepsThumb,
  .renter-stories-scrollbar span,
  #renterStoriesThumb {
    transition: none !important;
    will-change: transform, width;
  }
}