:root {
  --qs-navy: #102838;
  --qs-navy-2: #0b1f2c;
  --qs-slate: #536879;
  --qs-silver: #9aaab4;
  --qs-soft: #eef4f7;
  --qs-soft-2: #f7fafb;
  --qs-line: #d9e2e7;
  --qs-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--qs-navy-2);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; }

.top-strip {
  background: var(--qs-navy-2);
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
}
.top-strip a { color: rgba(255, 255, 255, .9); }
.top-strip a:hover { color: #fff; }

.brand-logo {
  max-width: 430px;
  width: 100%;
  height: auto;
}
.header-search .form-control,
.header-search .input-group-text {
  border-color: var(--qs-line);
  min-height: 44px;
}
.header-search .input-group-text {
  background: var(--qs-soft-2);
  color: var(--qs-slate);
}

.btn-qs-primary {
  background: var(--qs-navy);
  border-color: var(--qs-navy);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: .82rem 1.45rem;
  box-shadow: 0 14px 30px rgba(16, 40, 56, .18);
}
.btn-qs-primary:hover,
.btn-qs-primary:focus {
  background: var(--qs-navy-2);
  border-color: var(--qs-navy-2);
  color: #fff;
}
.btn-qs-light {
  background: #fff;
  border: 1px solid rgba(16, 40, 56, .15);
  color: var(--qs-navy);
  border-radius: 999px;
  font-weight: 700;
  padding: .82rem 1.45rem;
}
.btn-qs-light:hover,
.btn-qs-light:focus { background: var(--qs-soft); color: var(--qs-navy-2); }
.btn-qs-outline {
  border: 1px solid rgba(16, 40, 56, .2);
  color: var(--qs-navy);
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: .72rem 1.2rem;
}
.btn-qs-outline:hover { background: var(--qs-soft); color: var(--qs-navy-2); }

.main-nav { background: var(--qs-navy); }
.main-nav .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  padding: 1.05rem 1.05rem;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.navbar-toggler { border-color: rgba(255, 255, 255, .35); }
.navbar-toggler:focus { box-shadow: 0 0 0 .16rem rgba(255, 255, 255, .18); }
.navbar-toggler-icon { filter: invert(1) grayscale(1) brightness(2); }

.hero {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(7, 24, 36, .88) 0%, rgba(7, 24, 36, .68) 45%, rgba(7, 24, 36, .32) 100%),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.page-hero {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 24, 36, .92), rgba(16, 40, 56, .72)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}
.page-hero.small { padding: 70px 0; }
.hero-badge, .page-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-weight: 600;
  color: #fff;
}
.hero h1, .page-hero h1 {
  font-size: clamp(2.35rem, 5.7vw, 5.2rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.045em;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.35rem); }
.hero h1 span { color: #dce7ec; display: block; }
.hero p, .page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}
.hero-search-card, .search-panel {
  background: #fff;
  border-radius: 1.45rem;
  padding: 1rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .25);
}
.hero-search-card { max-width: 1000px; }
.search-panel { box-shadow: 0 16px 45px rgba(16, 40, 56, .1); border: 1px solid var(--qs-line); }
.hero-search-card label,
.search-panel label {
  font-size: .82rem;
  color: var(--qs-slate);
  font-weight: 700;
  margin-bottom: .35rem;
}
.hero-search-card .form-control,
.hero-search-card .form-select,
.hero-search-card .input-group-text,
.search-panel .form-control,
.search-panel .form-select,
.search-panel .input-group-text {
  min-height: 54px;
  border-color: var(--qs-line);
}
.hero-search-card .input-group-text,
.search-panel .input-group-text {
  background: var(--qs-soft);
  color: var(--qs-navy);
}

.section-padding { padding: 88px 0; }
.section-kicker {
  color: var(--qs-slate);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--qs-navy-2);
}
.section-subtitle {
  color: #647885;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 760px;
}

.feature-card, .category-card, .listing-card, .info-card, .legal-card {
  border: 1px solid var(--qs-line);
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 40, 56, .08);
}
.feature-card, .listing-card, .info-card { height: 100%; }
.feature-card { overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover, .category-card:hover, .listing-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(16, 40, 56, .13); }
.feature-card img { width: 100%; height: 225px; object-fit: cover; }
.icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: var(--qs-soft);
  color: var(--qs-navy);
  font-size: 1.45rem;
  flex: 0 0 auto;
}
.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--qs-navy);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}
.category-card {
  display: block;
  padding: 1.25rem;
  height: 100%;
  color: var(--qs-navy-2);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.category-card:hover { border-color: rgba(16, 40, 56, .28); background: #f9fcfd; color: var(--qs-navy-2); }
.category-card i { color: var(--qs-slate); font-size: 1.45rem; }
.category-pill {
  border: 1px solid var(--qs-line);
  background: #fff;
  border-radius: 999px;
  padding: .65rem 1rem;
  color: var(--qs-navy);
  font-weight: 700;
  display: inline-block;
}
.category-pill:hover { background: var(--qs-soft); color: var(--qs-navy-2); }

.listing-card {
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.listing-card .thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
}
.rating { color: #f4b942; font-size: .93rem; }
.badge-soft {
  background: var(--qs-soft);
  color: var(--qs-navy);
  border: 1px solid var(--qs-line);
  border-radius: 999px;
  padding: .45rem .7rem;
  font-weight: 700;
  font-size: .82rem;
}

.dark-section {
  background:
    radial-gradient(circle at top left, rgba(154, 170, 180, .18), transparent 36%),
    linear-gradient(135deg, var(--qs-navy) 0%, var(--qs-navy-2) 100%);
  color: #fff;
}
.dark-section .section-title,
.dark-section .section-kicker { color: #fff; }
.dark-section .section-subtitle { color: rgba(255, 255, 255, .78); }
.stat-card {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .07);
  border-radius: 1.2rem;
  padding: 1.35rem;
  height: 100%;
}
.stat-card strong { display: block; font-size: 2rem; font-weight: 800; }

.cta-box {
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(16, 40, 56, .95), rgba(83, 104, 121, .9)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1600&q=85") center/cover no-repeat;
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
}
.profile-hero-card {
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 40, 56, .12);
  border: 1px solid var(--qs-line);
}
.profile-cover {
  min-height: 245px;
  background:
    linear-gradient(90deg, rgba(7, 24, 36, .72), rgba(7, 24, 36, .22)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=85") center/cover no-repeat;
}
.profile-logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 28px;
  border: 6px solid #fff;
  margin-top: -56px;
  box-shadow: 0 15px 30px rgba(16, 40, 56, .16);
}
.sidebar-card {
  border: 1px solid var(--qs-line);
  border-radius: 1.35rem;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 14px 38px rgba(16, 40, 56, .08);
}
.legal-card { padding: clamp(1.5rem, 4vw, 3rem); }
.legal-card h2 { font-weight: 800; margin-top: 2rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #556977; line-height: 1.8; }

.footer {
  background: #091a25;
  color: rgba(255, 255, 255, .76);
}
.footer h6 { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.footer a { color: rgba(255, 255, 255, .72); display: inline-block; margin-bottom: .55rem; }
.footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.hero .animate-in, .page-hero .animate-in { animation: fadeUp .85s ease both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .22s; }
.animate-delay-3 { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991.98px) {
  .brand-logo { max-width: 330px; }
  .hero { min-height: auto; padding: 78px 0; }
  .hero-search-card, .search-panel { border-radius: 1.1rem; }
  .section-padding { padding: 68px 0; }
  .main-nav .nav-link { padding: .85rem 1rem; }
}
@media (max-width: 575.98px) {
  .top-strip .container { justify-content: center !important; text-align: center; }
  .brand-logo { max-width: 285px; }
  .hero {
    text-align: center;
    background:
      linear-gradient(180deg, rgba(7, 24, 36, .9) 0%, rgba(7, 24, 36, .78) 100%),
      url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .btn-qs-primary, .btn-qs-light, .btn-qs-outline { width: 100%; }
  .hero-search-card, .search-panel { text-align: left; }
  .listing-card .thumb { width: 82px; height: 82px; border-radius: 20px; }
}
.verified-badge {
  color: #198754;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 700;
}
