:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1d2939;
  --muted: #5f6c80;
  --brand: #004988;
  --brand-soft: #74a5bd;
  --border: #d9e2ee;
  --shadow: 0 12px 30px rgba(15, 32, 62, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3f8, var(--bg) 22rem);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-list {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 600;
  color: #334155;
}

.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 25, 49, 0.82), rgba(0, 73, 136, 0.56)),
    url("./assets/images/Cavo-Greco-436.jpg") center / cover;
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: left;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  margin: 0.3rem 0;
  line-height: 1.12;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  opacity: 0.85;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--brand-soft);
  color: #0f172a;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
}

.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 0.55rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: #344054;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.property-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0.3rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.tag {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-alt {
  background: #eaf1f8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
}

.stat-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

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

.site-footer {
  background: #0d2237;
  color: #dce8f5;
  padding: 2.5rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.site-footer a {
  color: #f4f9ff;
}

.copyright {
  margin: 2rem 0 0;
  text-align: center;
  color: #a8bdd3;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }

  .stat-boxes {
    grid-template-columns: 1fr;
  }

  .nav-list {
    font-size: 0.9rem;
    gap: 0.7rem;
  }
}
