/* ============================================================
   RoomList — Main Front-End Stylesheet
   /public_html/assets/style.css
   ============================================================ */

/* ── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #1a3a2a;
  --green-mid:    #2d5c42;
  --green-light:  #e8f0eb;
  --green-xlight: #f3f8f5;
  --cream:        #f7f3ed;
  --cream-dark:   #ede8df;
  --terra:        #c05a2b;
  --terra-light:  #fdf1eb;
  --ink:          #111814;
  --muted:        #6b7068;
  --subtle:       #9aa09d;
  --white:        #ffffff;
  --border:       #e2e8e4;
  --radius:       12px;
  --radius-lg:    18px;
  --max-width:    1200px;
}

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; font-family: 'Sora', sans-serif; }
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -1.5px; }
h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.5px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
:is(article, aside, nav, section) h1 { font-size: clamp(28px, 5vw, 56px); }

/* ── LAYOUT HELPERS ───────────────────────────────────────── */
.section-inner    { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }
.section-tag      { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.section-title    { margin-bottom: 36px; color: var(--ink); }
.section-header   { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.view-all         { font-size: 13px; color: var(--green); text-decoration: none; font-weight: 600; border-bottom: 1.5px solid var(--green-light); padding-bottom: 1px; transition: border-color 0.2s; }
.view-all:hover   { border-color: var(--green); }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert            { border-radius: 9px; padding: 12px 16px; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.alert-success    { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error      { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-info       { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: var(--white);
  padding: 12px 24px; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--green-mid); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--green);
  padding: 11px 24px; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--green); cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--green); color: var(--white); }

.btn-terra {
  background: var(--terra); color: var(--white);
  padding: 12px 24px; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s; display: inline-block;
}
.btn-terra:hover { background: #a84d24; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group       { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input:not([type=radio]):not([type=checkbox]),
.form-group select,
.form-group textarea,
.filter-group input:not([type=radio]):not([type=checkbox]),
.filter-group select {
  width: 100%; border: 1.5px solid var(--border); border-radius: 9px;
  padding: 11px 14px; font-family: 'Poppins', sans-serif;
  font-size: 16px; color: var(--ink); outline: none;
  background: var(--white); transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group select,
.filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7068' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.filter-group input:focus,
.filter-group select:focus { border-color: var(--green); }
.form-group textarea       { resize: vertical; min-height: 100px; }
.form-group .hint          { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-group .error         { font-size: 12px; color: #dc2626; margin-top: 5px; }
.form-row                  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BADGES ───────────────────────────────────────────────── */
.badge         { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.badge-active  { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fffbeb; color: #d97706; }
.badge-new     { background: var(--terra); color: var(--white); }

/* ── NAV MINIMAL (auth pages) ─────────────────────────────── */
.site-nav-minimal .nav-inner { justify-content: center; }
.site-nav-minimal .nav-logo  { font-size: 24px; }

/* ── NAV ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
}

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 5%;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 22px; font-weight: 800; color: var(--white);
  text-decoration: none; letter-spacing: -0.5px; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.65);
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

.nav-btn-outline {
  padding: 8px 18px; border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent; color: var(--white); border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.nav-btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

.nav-btn-solid {
  padding: 8px 18px; background: var(--terra); color: var(--white);
  border-radius: 8px; font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.2s;
}
.nav-btn-solid:hover { background: #a84d24; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; inset: 0; z-index: 200;
  background: var(--green);
}
.nav-mobile.open { display: flex; }

.nav-mobile-header {
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 5%; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile-close {
  width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; position: relative; padding: 0; flex-shrink: 0;
}
.nav-mobile-close span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  position: absolute; left: 50%; top: 50%; transform-origin: center;
}
.nav-mobile-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-mobile-close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-mobile-links {
  display: flex; flex-direction: column; padding: 8px 5%;
  overflow-y: auto; flex: 1;
}
.nav-mobile-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 22px; font-weight: 600; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.nav-mobile-ctas {
  margin-top: auto; padding: 24px 0 8px;
}


/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--green);
  background-size: cover;
  background-position: center;
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
}



.hero-inner {
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  padding: 0 5%;
  text-align: left; position: relative; z-index: 1;
}

.hero h1     { color: var(--white); margin-bottom: 28px; max-width: 680px; }
.hero-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px; padding: 6px 16px;
  font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 24px;
}

.live-dot {
  width: 7px; height: 7px; background: #4ade80;
  border-radius: 50%; flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}

.hero-tab-subtitle {
  font-size: clamp(14px, 2vw, 17px); color: #fff; margin: 10px 0 14px;
  padding: 0 2px; text-align: left; min-height: 24px;
}
.hero-accent { color: var(--white); }
.hero-sub    { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 36px; font-weight: 400; }

/* SEARCH BOX */
.search-box {
  background: rgba(10, 35, 20, 0.88);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px);
  max-width: 680px; margin: 0 0 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

/* LIST TABS */
.search-list { display: flex; flex-direction: column; gap: 0; }

.search-list-item {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.15s;
}
.search-list-item:last-child { border-bottom: none; }

.sli-radio {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent; cursor: pointer;
  transition: all 0.15s; margin: 0;
}
.search-list-item.active .sli-radio {
  border-color: var(--terra);
  background: var(--terra);
}

/* Reusable radio for light backgrounds */
.radio-input {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--white); cursor: pointer;
  transition: all 0.15s; margin: 0;
}
.radio-input:checked {
  border-color: var(--terra);
  background: var(--terra);
}

.sli-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 4vw, 24px); font-weight: 500;
  color: rgba(255,255,255,0.4); transition: all 0.15s;
}
.search-list-item.active .sli-text { color: var(--white); }
.search-list-item:hover:not(.active) .sli-text { color: rgba(255,255,255,0.7); }

.sli-input-wrap {
  display: none; flex-direction: row; align-items: center;
  gap: 8px; width: 100%;
  padding: 10px 0 4px 0;
  flex-wrap: wrap;
  position: relative;
}
.search-list-item.active .sli-input-wrap { display: flex; }

.sli-input-wrap input[type=text] {
  flex: 1; border: none; outline: none; width: 100%;
  font-family: 'Poppins', sans-serif; font-size: 16px;
  color: var(--ink); background: var(--white);
  padding: 12px 14px; border-radius: 8px;
}
.sli-input-wrap input::placeholder { color: #aaa; }
.sli-input-wrap .search-btn { flex-shrink: 0; flex-grow: 0; padding: 12px 28px; font-size: 16px; }

.search-row {
  display: flex; align-items: center;
  background: transparent;
  overflow: visible; gap: 10px;
  margin-top: 14px;
}

.hero-input-wrap {
  flex: 1; position: relative;
  background: var(--white); border-radius: 10px;
  display: flex; align-items: center;
}

.hero-input-wrap input[type=text] {
  flex: 1; border: none; outline: none;
  font-family: 'Poppins', sans-serif; font-size: 15px;
  color: var(--ink); background: transparent; padding: 14px 16px;
  border-radius: 10px;
}
.hero-input-wrap input::placeholder { color: #aaa; }

.search-row select {
  border: none; outline: none; font-family: 'Poppins', sans-serif;
  font-size: 13px; color: var(--muted); background: transparent;
  padding: 10px 12px; cursor: pointer;
  border-left: 1px solid var(--border);
}

.search-btn {
  background: var(--terra); color: var(--white); border: none;
  border-radius: 8px; padding: 14px 36px;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.search-btn:hover { background: #a84d24; }
.search-btn:hover { }

/* TRUST BAR */
.trust-bar {
  display: inline-flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 24px; margin-bottom: 48px;
  font-size: 13px; color: rgba(255,255,255,0.75); flex-wrap: wrap; justify-content: center;
}
.trust-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }



/* ── WHY SECTION ──────────────────────────────────────────── */
.why-section { padding: 72px 0; }
.why-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card    {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); transform: translateY(-3px); }
.why-card h4    { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-card p     { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── LISTINGS SECTION ─────────────────────────────────────── */
.listings-section { padding: 72px 0; }
.listings-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.listing-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1.5px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit; display: block;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }

.listing-img {
  height: 200px; position: relative; overflow: hidden;
  background: var(--green-light);
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 13px; color: var(--muted); font-weight: 500;
}
.listing-type-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--white); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 4px 9px; border-radius: 20px; color: var(--ink);
}

.listing-body    { padding: 16px 18px 18px; }
.listing-price   { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.listing-price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.listing-title   { font-size: 13px; font-weight: 500; color: var(--ink); margin: 3px 0 2px; }
.listing-location { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.listing-tags    { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 12px; }
.ltag            { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 20px; background: var(--cream); color: var(--muted); }

/* ── DUAL CTA ─────────────────────────────────────────────── */
.dual-section { background: var(--cream-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 5%; }
.dual-inner   { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.cta-card { border-radius: var(--radius-lg); padding: 40px; }
.cta-tenant   { background: var(--green); }
.cta-landlord { background: var(--white); border: 1.5px solid var(--border); }

.cta-pill {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.cta-tenant .cta-pill     { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.cta-pill-terra           { background: var(--terra-light); color: var(--terra); }

.cta-card h3  { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cta-tenant h3, .cta-tenant p  { color: var(--white); }
.cta-tenant p  { opacity: 0.75; }
.cta-landlord h3 { color: var(--ink); }
.cta-landlord p  { color: var(--muted); }
.cta-card p   { font-size: 14px; line-height: 1.65; margin-bottom: 22px; }

.cta-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.cta-features li { font-size: 13px; display: flex; align-items: center; gap: 10px; }
.cta-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: 0.6; }
.cta-tenant .cta-features li  { color: rgba(255,255,255,0.85); }
.cta-landlord .cta-features li { color: var(--muted); }

.cta-btn { display: inline-block; font-size: 14px; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 9px; transition: all 0.2s; font-family: 'Poppins', sans-serif; }
.cta-tenant .cta-btn   { background: var(--white); color: var(--green); }
.cta-tenant .cta-btn:hover { background: var(--cream); }
.cta-btn-terra         { background: var(--terra); color: var(--white); }
.cta-btn-terra:hover   { background: #a84d24; }

/* ── CITIES GRID ──────────────────────────────────────────── */
.cities-section { padding: 72px 0; }
.cities-grid    { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 36px; }
.city-tile {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  text-decoration: none; transition: all 0.2s;
}
.city-tile:hover { border-color: var(--green); background: var(--green-light); transform: translateY(-2px); }
.city-tile-name  { font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.city-tile-count { font-size: 11px; color: var(--muted); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 56px 5% 28px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -0.5px; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 240px; }
.footer-col h5  { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.footer-col ul  { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a  { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 13px; transition: color 0.2s; }
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.32); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ── SITE MAIN ────────────────────────────────────────────── */
.site-main { min-height: 60vh; }
.page-messages html,
.page-messages body { height: 100%; overflow: hidden; }
.page-messages .site-main { padding: 0; height: calc(100vh - 64px); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.page-messages .messages-layout { flex: 1; min-height: 0; }
@media(max-width:768px) {
    .page-messages .site-main { height: 100dvh; }
}

/* ── AUTH PAGES (login/register) ──────────────────────────── */
.auth-page   { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 5%; background: var(--green); }
.auth-card   { background: var(--white); border-radius: 16px; padding: 40px; width: 100%; max-width: 480px; box-shadow: 0 24px 64px rgba(0,0,0,0.2); }
.auth-card h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.auth-card p  { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.auth-footer  { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-footer a { color: var(--green); font-weight: 600; text-decoration: none; }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination      { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.pagination-info { font-size: 13px; color: var(--muted); }
.pagination-btns { display: flex; gap: 6px; }
.page-btn        { padding: 8px 14px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); text-decoration: none; transition: all 0.15s; }
.page-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }
.page-btn:hover:not(.active) { border-color: var(--green); color: var(--green); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-actions  { display: none; }
  .nav-hamburger { display: flex; }
  .hero         { padding: 48px 5% 0; }
  .hero-inner   { padding: 0; }
  .trust-bar    { gap: 12px; }
  .trust-divider { display: none; }
  .search-row select { display: none; }
  .search-row { flex-wrap: wrap; padding: 6px; }
  .search-row input { flex: none; width: 100%; }
  .search-btn { flex: none; width: 100%; margin-top: 4px; }
  .dual-inner   { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr; }
  .cities-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .form-row     { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── POST / EDIT FORMS ────────────────────────────────────── */
.post-page        { max-width: 780px; margin: 0 auto; padding: 40px 5%; }
.post-page h1     { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; margin-bottom: 6px; }
.post-page > p    { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.form-section     { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 28px; margin-bottom: 20px; overflow: visible; }
.form-section h3  { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }

.form-row-3       { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.field-error      { border-color: #dc2626 !important; }

.price-input      { position: relative; }
.price-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.price-input input { padding-left: 28px; }

.checkbox-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.check-item       { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 9px; transition: all 0.15s; }
.check-item:hover { border-color: var(--green); }
.check-item input { width: auto; cursor: pointer; accent-color: var(--green); }
.check-item.checked { border-color: var(--green); background: var(--green-xlight); }

.type-row-item:hover   { border-color: var(--green); }
.type-row-item.selected { border-color: var(--green); background: var(--green-xlight); }

/* ── POSTCODE AUTOCOMPLETE ────────────────────────────────── */
.pc-wrap        { position: relative; overflow: visible; }
.pc-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1.5px solid var(--green); border-top: none; border-radius: 0 0 8px 8px; z-index: 999; display: none; box-shadow: 0 4px 12px rgba(0,0,0,0.08); max-height: 200px; overflow-y: auto; }
.pc-suggestions.open { display: block; }
.pc-suggestion  { padding: 10px 14px; font-size: 13px; color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--border); }
.pc-suggestion:last-child { border-bottom: none; }
.pc-suggestion:hover, .pc-suggestion.active { background: var(--green-light); }

/* ── PHOTO UPLOADER ───────────────────────────────────────── */
.pu-grid          { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.pu-item          { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--border); }
.pu-item img      { width: 100%; height: 100%; object-fit: cover; display: block; }
.pu-item-actions  { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; opacity: 0; transition: opacity 0.15s; }
.pu-item:hover .pu-item-actions { opacity: 1; }
.pu-btn           { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 6px; cursor: pointer; border: none; font-family: 'Poppins', sans-serif; }
.pu-btn-primary   { background: #fff; color: var(--ink); }
.pu-btn-delete    { background: #dc2626; color: #fff; }
.pu-primary-badge { position: absolute; top: 6px; left: 6px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; pointer-events: none; }
.pu-loading       { display: flex; align-items: center; justify-content: center; background: var(--cream); }
.pu-spinner       { width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--green); border-radius: 50%; animation: pu-spin 0.6s linear infinite; }
@keyframes pu-spin { to { transform: rotate(360deg); } }
.pu-dropzone      { border: 2px dashed var(--border); border-radius: 12px; padding: 28px; text-align: center; cursor: pointer; transition: border-color 0.2s; }
.pu-dropzone:hover, .pu-dragover { border-color: var(--green); background: var(--green-xlight); }
.pu-drop-icon     { font-size: 28px; color: var(--border); line-height: 1; }
.pu-drop-label    { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.pu-drop-hint     { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pu-errors        { margin-top: 8px; }
.pu-error         { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; font-size: 12px; padding: 8px 12px; border-radius: 8px; margin-top: 6px; }

.search-box { overflow: visible; }
.search-list { overflow: visible; }
.search-list-item { overflow: visible; }
.sli-input-wrap { overflow: visible; }
.sli-field-wrap { overflow: visible; }
.hero-input-wrap              { position: relative; flex: 1; }
.hero-input-wrap input[type=text] { width: 100%; }
.sli-field-wrap               { position: relative; flex: 1; min-width: clamp(120px, 40vw, 300px); }
.sli-field-wrap input[type=text] { width: 100%; }
.hero-suggestions              { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: 0 0 12px 12px; z-index: 999; display: none; box-shadow: 0 12px 40px rgba(0,0,0,0.15); overflow: hidden; margin-top: -4px; }
.hero-suggestions.open         { display: block; }
.hero-suggestion               { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; border-bottom: 1px solid #f0f0f0; transition: background 0.1s; }
.hero-suggestion:last-child    { border-bottom: none; }
.hero-suggestion:hover, .hero-suggestion.active { background: #f7f3ed; }
.sugg-badge                    { font-size: 10px; color: #888; background: #f0f0f0; padding: 3px 10px; border-radius: 20px; font-weight: 500; letter-spacing: 0.3px; }

@media (max-width: 600px) {
  .pu-grid       { grid-template-columns: repeat(3, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .form-row-3    { grid-template-columns: 1fr; }
}
