:root {
  --brand: #0b6b5a;
  --brand-dark: #08473d;
  --accent: #c79b3b;
  --ink: #1f2933;
  --muted: #637083;
  --soft: #f4f7f6;
  --line: #dde5e2;
}

* {
  letter-spacing: 0;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-top: 72px;
}

a {
  text-decoration: none;
}

.navbar {
  min-height: 72px;
}

.brand-mark {
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: normal;
}

.brand-mark span {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.btn-brand {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  border-radius: 6px;
  font-weight: 700;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

.text-brand {
  color: var(--brand);
}

.bg-brand {
  background: var(--brand-dark);
}

.bg-soft {
  background: var(--soft);
}

.section-pad {
  padding: 86px 0;
}

.section-title {
  color: var(--brand-dark);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.hero-carousel,
.hero-slide {
  min-height: calc(100vh - 72px);
}

.hero-slide {
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(8, 28, 25, .88), rgba(8, 28, 25, .45), rgba(8, 28, 25, .15));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 780px;
  padding-bottom: 90px;
  padding-top: 18vh;
  position: relative;
  z-index: 1;
}

.hero-content h1,
.hero-content h2 {
  font-size: clamp(2.3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: .98;
  margin-bottom: 1rem;
}

.hero-content p:not(.eyebrow) {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px;
}

.feature-img,
.property-card,
.why-box,
.testimonial,
.cta-band,
.auth-panel,
.map-frame,
.policy-panel {
  border-radius: 8px;
}

.feature-img {
  box-shadow: 0 24px 70px rgba(15, 23, 42, .15);
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  height: 100%;
  overflow: hidden;
}

.property-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.property-card h3,
.why-box h3 {
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 1rem;
}

.property-card p,
.why-box p,
.footer p,
.policy-panel p,
.policy-panel li {
  color: var(--muted);
}

.why-box {
  border: 1px solid var(--line);
  height: 100%;
  padding: 24px;
}

.why-box i {
  color: var(--accent);
  font-size: 2rem;
}

.testimonial {
  background: rgba(255, 255, 255, .08);
  height: 100%;
  padding: 28px;
}

.testimonial p {
  font-size: 1.05rem;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial span {
  color: rgba(255, 255, 255, .72);
}

.cta-band {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 36px;
}

.page-hero {
  background: linear-gradient(rgba(8, 71, 61, .82), rgba(8, 71, 61, .82)), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: #fff;
  padding: 96px 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
}

.stat-box {
  border-left: 4px solid var(--accent);
  padding: 12px 0 12px 18px;
}

.stat-box strong {
  color: var(--brand-dark);
  display: block;
  font-size: 2rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.contact-card i {
  color: var(--brand);
  font-size: 1.8rem;
}

.map-frame {
  border: 0;
  height: 420px;
  width: 100%;
}

.auth-bg {
  background: linear-gradient(rgba(8, 71, 61, .82), rgba(8, 71, 61, .82)), url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=85") center/cover;
  min-height: calc(100vh - 72px);
}

.auth-panel {
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
  padding: 36px;
}

.policy-panel {
  border: 1px solid var(--line);
  padding: 32px;
}

.policy-panel h2 {
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 2rem;
}

.footer {
  background: #101d1b;
  color: #fff;
  padding: 58px 0 24px;
}

.footer .footer-brand {
  color: #fff;
}

.footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, .72);
  display: block;
  margin-bottom: .55rem;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .68);
  margin-top: 36px;
  padding-top: 20px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 18px 0;
  }

  .hero-content {
    padding-top: 14vh;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  body {
    padding-top: 66px;
  }

  .navbar {
    min-height: 66px;
  }

  .brand-mark {
    font-size: .92rem;
    max-width: 240px;
  }

  .brand-mark span {
    height: 36px;
    width: 36px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero-carousel,
  .hero-slide {
    min-height: 680px;
  }

  .hero-overlay {
    background: rgba(8, 28, 25, .72);
  }

  .auth-panel,
  .policy-panel,
  .cta-band {
    padding: 24px;
  }
}
