/* Tokens */
:root {
  --bg: #f4f7fb;
  --ink: #172334;
  --muted: #5f7088;
  --line: #d7e1ec;
  --brand: #0f7f73;
  --brand-dark: #0b5f56;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(23, 33, 48, 0.07);
  --shadow-md: 0 8px 28px rgba(23, 33, 48, 0.11);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; }

/* Shell */
.shell { width: min(1180px, 100% - 2rem); margin-inline: auto; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: url("assets/hero-1.jpg") center 35% / cover no-repeat;
  padding-bottom: 2.6rem;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(8,18,32,.78) 0%, rgba(10,22,38,.48) 100%);
}
.nav, .hero-inner { position: relative; z-index: 2; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}
.brand {
  font: 700 1.1rem "Poppins", sans-serif;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-links .cta {
  background: var(--brand);
  color: #fff;
  padding: 0.44rem 0.76rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}
.menu-btn { display: none; }

/* Hero Inner */
.hero-inner { padding: 2.4rem 0 1.2rem; }
.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}
h1 {
  margin: 0.36rem 0 0;
  font: 700 clamp(2rem, 4.8vw, 3.4rem) / 1.08 "Poppins", sans-serif;
}
.sub {
  margin: 0.7rem 0 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

/* Hero Search Bar */
.hero-search {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  padding: 0.6rem;
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr auto;
  gap: 0.5rem;
  box-shadow: 0 16px 40px rgba(5, 17, 35, 0.28);
}
.hero-search input,
.hero-search select,
.hero-search button {
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line);
  padding: 0 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.hero-search input:focus,
.hero-search select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,127,115,.18); }
.hero-search button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--brand-dark); }

/* Category Shortcuts */
.cat-shortcuts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.cat-shortcuts a {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.15s;
}
.cat-shortcuts a:hover { background: rgba(255, 255, 255, 0.26); }

/* Section */
.section { padding: 1.6rem 0; }
.head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
h2 {
  margin: 0;
  font: 600 1.18rem "Poppins", sans-serif;
  color: var(--ink);
}
.head a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}
.head a:hover { text-decoration: underline; }

/* Homepage Map */
.home-map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.home-map {
  width: 100%;
  height: 52vh;
  min-height: 320px;
  max-height: 560px;
  display: block;
}
.home-map-cta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.48rem 0.9rem;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(23, 33, 48, 0.18);
  border: 1px solid var(--line);
  transition: background 0.15s, color 0.15s;
  z-index: 500;
}
.home-map-cta:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

@media (max-width: 600px) {
  .home-map {
    height: 44vh;
    min-height: 260px;
  }
}

/* City Cards */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}
.city-card {
  position: relative;
  min-height: 130px;
  border-radius: 14px;
  overflow: hidden;
  padding: 0.8rem;
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
}
.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,32,.06) 0%, rgba(8,18,32,.68) 100%);
}
.city-card > div { position: relative; z-index: 1; }
.city-card strong { display: block; font-size: 1rem; font-family: "Poppins", sans-serif; font-weight: 600; }
.city-card span { font-size: 0.8rem; opacity: 0.88; }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Claim / Owner CTA */
.claim {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.claim h2 { margin-bottom: 0.25rem; }
.claim > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.94rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
}
.steps article {
  background: #f6f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}
.steps strong {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  font-family: "Poppins", sans-serif;
}
.steps p { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--ink); }
.claim-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 0.56rem 1.1rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.claim-btn:hover { background: var(--brand-dark); }

/* Featured Listing Cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.fimg {
  height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.6rem;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.fimg.has-photo {
  background-color: #203247;
}
.fcat-badge {
  font-size: 0.68rem;
  text-transform: capitalize;
  letter-spacing: 0.06em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.fbody {
  padding: 0.75rem 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fbody h3 {
  margin: 0;
  font-size: 0.97rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.25;
}
.floc {
  margin: 0.22rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.frating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.3rem 0 0;
}
.fstars {
  color: #e8a020;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.frating-count {
  font-size: 0.75rem;
  color: var(--muted);
}
.fsummary {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: #4a5e74;
  line-height: 1.4;
  flex: 1;
}
.fmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  align-items: center;
}
.ftag {
  font-size: 0.7rem;
  text-transform: capitalize;
  background: #edf2f8;
  color: #344d66;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
}
.finfo {
  font-size: 0.72rem;
  color: var(--muted);
  background: #f0f5fb;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
}
.fverify {
  font-size: 0.72rem;
  color: #0f6b63;
  background: #e8f7f1;
  border: 1px solid #79bca5;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
  font-weight: 700;
}
.flink {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}
.flink:hover { text-decoration: underline; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.2rem;
}
.testimonials article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.testimonials p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}
.testimonials p::before { content: "\201C"; }
.testimonials p::after  { content: "\201D"; }
.testimonials span { color: var(--muted); font-size: 0.84rem; font-weight: 600; }

/* Footer */
.footer {
  margin-top: 2rem;
  background: #0e1f32;
  color: #c8d5e8;
  padding: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0 1.4rem;
}
.footer h3 {
  margin: 0 0 0.5rem;
  font: 700 1rem "Poppins", sans-serif;
  color: #fff;
}
.footer h4 {
  margin: 0 0 0.5rem;
  font: 600 0.88rem "Poppins", sans-serif;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.footer a {
  display: block;
  color: #a0b4cc;
  text-decoration: none;
  margin: 0.22rem 0;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero-search {
    grid-template-columns: 1fr;
  }
  .steps,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .menu-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.38rem 0.7rem;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    right: 0;
    background: #0e1f32;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.6rem 0.5rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.4rem 0.5rem; border-radius: 6px; width: 100%; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.08); }
  .nav { position: relative; }
}

@media (max-width: 600px) {
  .city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 1.2rem 0; }
}
