@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #0f172a;
  --surface: #111827;
  --surface-2: #1f2937;
  --accent: #f3b340;
  --accent-2: #ff7b54;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  color-scheme: dark;
}

body.light {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #4b5563;
  --stroke: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 120% at 20% 20%, rgba(255, 219, 112, 0.12), transparent), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

main {
  padding-top: 88px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(9, 12, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

body.light .topbar {
  background: rgba(255, 255, 255, 0.92);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8d477, #f3b340);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.5px;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
}

.brand-tag {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: #111;
  background: var(--accent);
}

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

.btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #111;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
}

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

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
}

body.light .btn.ghost {
  background: rgba(0, 0, 0, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 28px 40px;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  margin: 10px 0 14px;
}

.accent {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-meta div {
  background: var(--surface);
  border: 1px solid var(--stroke);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.hero-meta strong {
  display: block;
  font-size: 20px;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-card {
  position: absolute;
  top: 12%;
  left: 0;
  right: 15%;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hero-card-title {
  font-weight: 700;
  font-size: 18px;
}

.hero-card-city {
  color: var(--muted);
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  border: 1px solid var(--stroke);
}

.badge.success {
  background: rgba(39, 174, 96, 0.15);
  color: #9efcb6;
  border-color: rgba(39, 174, 96, 0.4);
}

.progress {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  height: 10px;
  overflow: hidden;
  margin: 6px 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.progress-meta {
  color: var(--muted);
  font-size: 13px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 179, 64, 0.06), rgba(17, 24, 39, 0.8)), url('https://images.unsplash.com/photo-1503389152951-9f343605f61e?auto=format&fit=crop&w=1200&q=80') center/cover;
  border-radius: var(--radius);
  filter: saturate(1.05);
}

.eyebrow {
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
  padding: 0 16px;
}

.section-head h2 {
  margin: 6px 0;
  font-size: clamp(26px, 4vw, 34px);
}

.section-desc {
  color: var(--muted);
}

.value,
.listings,
.form-section,
.process,
.faq,
.admin,
.contact {
  padding: 60px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.stats {
  max-width: var(--max-width);
  margin: 0 auto 10px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 24px;
}

input, textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

body.light input,
body.light textarea,
body.light select {
  background: #ffffff;
  color: #0f172a;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(243, 179, 64, 0.15);
}

.listings .card {
  display: grid;
  gap: 10px;
}

.listing-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.chips {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.chips li {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--stroke);
}

.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.form-section {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row.two {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

label {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.helper {
  color: var(--muted);
  font-size: 13px;
}

.helper.small {
  font-size: 12px;
}

.form {
  position: relative;
}

.floating-card {
  background: linear-gradient(145deg, rgba(243, 179, 64, 0.12), rgba(17, 24, 39, 0.9));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.chips + .person {
  margin-top: 12px;
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.person .name {
  font-weight: 700;
}

.person .role {
  color: var(--muted);
  font-size: 13px;
}

.form-visual,
.form-image {
  position: relative;
  min-height: 320px;
}

.form-image {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(17, 24, 39, 0.9)), url('https://images.unsplash.com/photo-1433838552652-f9a46b332c40?auto=format&fit=crop&w=1200&q=80') center/cover;
  border-radius: var(--radius);
  min-height: 280px;
  margin-top: 14px;
  box-shadow: var(--shadow);
}

.form-visual .floating-card {
  position: relative;
  z-index: 1;
}

.process .step {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.faq .accordion details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-panel.hidden {
  display: none;
}

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

.admin-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 700;
  font-size: 13px;
}

.pill.success {
  border-color: rgba(39, 174, 96, 0.4);
  color: #9efcb6;
}

.pill.warning {
  border-color: rgba(243, 179, 64, 0.6);
  color: var(--accent);
}

.table {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.table .row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.row-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.row-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn.sm {
  padding: 8px 12px;
  font-size: 13px;
  box-shadow: none;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: center;
}

.contact-grid {
  display: grid;
  gap: 10px;
}

.contact-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.contact-visual {
  background: linear-gradient(180deg, rgba(243, 179, 64, 0.08), rgba(17, 24, 39, 0.9)), url('https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1200&q=80') center/cover;
  border-radius: var(--radius);
  min-height: 320px;
  box-shadow: var(--shadow);
}

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #111;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.icon-circle.small {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.footer {
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid var(--stroke);
  background: rgba(9, 12, 24, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

body.light .footer {
  background: #e2e8f0;
}

.footer a {
  color: var(--muted);
  margin-left: 10px;
}

.mini {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav {
    flex-wrap: wrap;
  }
  .hero-visual {
    min-height: 320px;
  }
  .hero-card {
    position: relative;
    inset: auto;
    margin-bottom: 14px;
  }
  .hero-image {
    position: relative;
    min-height: 220px;
  }
}
