*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f3f4f6;
  color: #0f172a;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.flex {
  display: flex;
}

.between {
  justify-content: space-between;
}

.center-v {
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Topbar */

.topbar {
  background: #0f172a;
  color: #e5e7eb;
  font-size: 13px;
  padding: 6px 0;
}

.topbar span {
  margin-right: 8px;
}

.topbar-right a {
  font-weight: 500;
}

.topbar-right .muted {
  opacity: 0.6;
}

/* Navbar */

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
}

.logo-title {
  font-weight: 600;
  font-size: 18px;
  display: block;
}

.logo-sub {
  font-size: 11px;
  color: #6b7280;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  color: #4b5563;
}

.nav-links a.active,
.nav-links a:hover {
  color: #111827;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 18px;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 500;
}

/* Hero */

.hero {
  position: relative;
  min-height: 80vh;
  background-image: url("https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
  color: #f9fafb;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.45), transparent),
              linear-gradient(to bottom right, rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.75));
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 40px;
  padding: 72px 0;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 12px;
}

.hero-text h1 span {
  color: #60a5fa;
}

.hero-text p {
  max-width: 480px;
  color: #e5e7eb;
  font-size: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.4);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-stats {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.hero-stats strong {
  display: block;
  font-size: 18px;
}

/* Hero Card */

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.hero-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.hero-card-location {
  font-size: 13px;
  color: #9ca3af;
}

.hero-card-img {
  border-radius: 16px;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.hero-card-features {
  list-style: none;
  font-size: 13px;
  color: #e5e7eb;
}

.hero-card-footer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-footer .price {
  font-weight: 600;
  font-size: 16px;
}

.small-link {
  font-size: 12px;
  color: #93c5fd;
}

/* Sections */

.section {
  padding: 72px 0;
  background: #f3f4f6;
}

.section.bg-light {
  background: #f9fafb;
}

.section.bg-dark {
  background: #020617;
  color: #e5e7eb;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 26px;
}

.section-header h2 span {
  color: #1d4ed8;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.section-label.light {
  color: #9ca3af;
}

/* About */

.about-text h2 {
  font-size: 26px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.about-text h2 span {
  color: #1d4ed8;
}

.about-text p {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.about-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
}

.about-item strong {
  font-size: 13px;
  color: #9ca3af;
}

.about-item h4 {
  margin-top: 4px;
  font-size: 14px;
}

.about-item p {
  font-size: 12px;
  color: #6b7280;
}

/* About images */

.about-images {
  position: relative;
}

.img-main {
  border-radius: 22px;
  height: 260px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.img-secondary {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 55%;
  height: 180px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.about-tag {
  position: absolute;
  left: -10px;
  bottom: -80px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 11px;
}

/* Services */

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-icon {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 4px;
}

.circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle.blue {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.circle.green {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}

.circle.gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.service-card h3 {
  font-size: 15px;
}

.service-card p {
  font-size: 13px;
  color: #6b7280;
}

.service-card ul {
  list-style: none;
  font-size: 12px;
  color: #4b5563;
  margin-top: 8px;
}

/* Listings */

.filter-pill-group {
  display: flex;
  gap: 8px;
}

.pill {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  color: #4b5563;
}

.pill.active {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.listings-grid {
  margin-top: 8px;
}

.listing-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
}

.listing-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.listing-body {
  padding: 14px;
  position: relative;
}

.listing-badge {
  position: absolute;
  top: -12px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: #111827;
  color: #f9fafb;
}

.badge-green {
  background: #16a34a;
}

.badge-gold {
  background: #f59e0b;
}

.listing-location {
  font-size: 13px;
  color: #6b7280;
}

.listing-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #4b5563;
  margin: 10px 0;
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.listing-price {
  font-weight: 600;
  color: #111827;
}

.small-btn {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  border: none;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
}

/* Testimonials */

.stat-cards {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.stat-card strong {
  display: block;
  font-size: 18px;
}

.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #4b5563;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
}

/* Contact */

.contact-grid {
  align-items: stretch;
}

.contact-info p {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 8px;
}

.contact-list {
  list-style: none;
  font-size: 13px;
  margin-top: 14px;
}

.contact-list li + li {
  margin-top: 6px;
}

.contact-form-card {
  background: #020617;
  border-radius: 20px;
  border: 1px solid #1f2937;
  padding: 20px;
}

.contact-form-card h3 {
  margin-bottom: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  color: #e5e7eb;
  font-size: 13px;
}

textarea {
  resize: vertical;
}

.btn.full {
  width: 100%;
}

/* Footer */

.footer {
  background: #020617;
  color: #9ca3af;
  font-size: 12px;
  padding: 14px 0;
}

.footer-links {
  display: flex;
  gap: 14px;
}

/* Responsive */

@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 20px;
  }

  .about-images {
    margin-top: 32px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    flex-direction: column;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding-top: 64px;
  }
}
