:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --text: #11213b;
  --muted: #5f6b7d;
  --line: rgba(17, 33, 59, 0.10);
  --navy: #13294b;
  --navy-2: #1d3f72;
  --gold: #caa25d;
  --gold-soft: #ecd8ae;
  --shadow: 0 20px 60px rgba(19, 41, 75, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }

.topbar {
  background: linear-gradient(90deg, var(--navy), #0d1b32);
  color: #fff;
  font-size: 0.95rem;
}
.topbar-content {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0;
}
.topbar p { margin: 0; }
.topbar a { color: var(--gold-soft); font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 68px; height: 68px; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow);
}
.brand strong {
  display: block; font-size: 1.05rem; color: var(--navy); font-weight: 800;
}
.brand span { display: block; font-size: 0.85rem; color: var(--muted); }

.menu { display: flex; gap: 28px; align-items: center; }
.menu a { font-weight: 600; color: var(--text); position: relative; }
.menu a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease;
}
.menu a:hover::after { width: 100%; }

.menu-toggle {
  display: none; border: 0; background: transparent; padding: 8px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s ease;
}

.hero {
  position: relative; overflow: hidden; padding: 92px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(202,162,93,0.25), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #eef3fb 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(19,41,75,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(19,41,75,0.03) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.45;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at left bottom, rgba(19,41,75,0.12), transparent 30%); }
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(202,162,93,0.16); color: var(--navy); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em;
}
.hero h1, .section-heading h2 {
  margin: 18px 0 16px; font-family: 'Playfair Display', serif; line-height: 1.06; color: var(--navy);
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); max-width: 720px; }
.hero p { color: var(--muted); max-width: 670px; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; box-shadow: 0 16px 30px rgba(19, 41, 75, 0.22);
}
.btn-secondary {
  background: #fff; color: var(--navy); border: 1px solid rgba(19, 41, 75, 0.14); box-shadow: var(--shadow);
}
.btn.full { width: 100%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-badges span, .chip-group span, .tag {
  padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(19,41,75,0.1); color: var(--navy); font-weight: 700; box-shadow: 0 10px 20px rgba(19,41,75,0.06);
}
.hero-card, .card, .property-card, .contact-card {
  background: rgba(255,255,255,0.9); border: 1px solid rgba(19,41,75,0.08); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { padding: 22px; position: relative; overflow: hidden; }
.hero-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(202,162,93,0.15), transparent 42%);
}
.hero-logo { width: 100%; max-width: 250px; margin: 0 auto 20px; position: relative; z-index: 1; border-radius: 20px; }
.hero-card-content { position: relative; z-index: 1; }
.mini-label { margin: 0 0 8px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.hero-card h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.5rem; }
.price, .price-line, .card-price { color: var(--gold); font-weight: 800; }
.price { font-size: 1.65rem; margin: 0 0 14px; }
.hero-card ul { margin: 0; padding-left: 18px; color: var(--muted); }

.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.section-heading.center { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.section-heading h2 { font-size: clamp(2rem, 3vw, 3rem); }
.section-heading p { color: var(--muted); margin: 0; }
.intro-panels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.info-panel {
  padding: 24px; border-radius: var(--radius-sm); background: linear-gradient(180deg, #fff, #f9fbff); border: 1px solid rgba(19,41,75,0.08); box-shadow: var(--shadow);
}
.info-panel h3 { margin-top: 0; color: var(--navy); }
.info-panel p { margin-bottom: 0; color: var(--muted); }

.featured { background: var(--bg-soft); }
.featured-top {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: stretch; margin-bottom: 26px;
}
.featured-image-large img {
  width: 100%; height: 100%; min-height: 470px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.featured-summary { padding: 28px; }
.featured-summary h3 { margin-top: 18px; color: var(--navy); font-size: 1.45rem; }
.summary-list { margin: 0 0 22px; padding-left: 18px; color: var(--muted); }
.details-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.card { padding: 28px; }
.card h3 { margin-top: 0; color: var(--navy); font-size: 1.35rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li, .property-card li {
  position: relative; padding-left: 28px; color: var(--muted);
}
.check-list li::before, .property-card li::before {
  content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700;
}
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gallery-item {
  margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); min-height: 260px; background: #fff;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; min-height: 540px; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.properties { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.property-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.property-card {
  padding: 28px; position: relative; overflow: hidden;
}
.property-card.highlight::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(202,162,93,0.12), transparent 40%);
}
.property-card-head { position: relative; z-index: 1; }
.property-card h3 { margin: 12px 0 10px; color: var(--navy); font-size: 1.35rem; }
.property-card ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.card-price { font-size: 1.5rem; margin: 0; }
.cash-price, .property-note, .property-block p, .property-card p { color: var(--muted); }
.property-block { margin-top: 14px; }
.property-block h4 { margin: 0 0 8px; color: var(--navy); }

.contact {
  background: linear-gradient(135deg, var(--navy), #0f1b2f); color: #fff;
}
.contact-wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center;
}
.contact .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,0.82); }
.contact-card {
  padding: 30px; background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08)); border-color: rgba(255,255,255,0.12);
}
.contact-card img { width: 160px; border-radius: 18px; margin-bottom: 18px; }
.contact .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); box-shadow: none; }

.footer {
  background: #0d1626; color: rgba(255,255,255,0.78); padding: 24px 0;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.footer strong { color: #fff; }
.footer p { margin: 6px 0 0; }
.footer a { color: var(--gold-soft); font-weight: 700; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #179b4a); display: grid; place-items: center; z-index: 90;
  box-shadow: 0 18px 30px rgba(23,155,74,0.34);
}
.floating-whatsapp svg { width: 32px; fill: #fff; }

.reveal {
  opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro-grid,
  .featured-top,
  .details-grid,
  .contact-wrap,
  .property-cards {
    grid-template-columns: 1fr;
  }
  .intro-panels { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 84px; left: 16px; right: 16px; background: #fff; border: 1px solid var(--line);
    border-radius: 20px; box-shadow: var(--shadow); padding: 16px; display: none; flex-direction: column; align-items: flex-start;
  }
  .menu.open { display: flex; }
  .topbar-content, .footer-content { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 70px; }
  .brand img { width: 58px; height: 58px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; min-height: 320px; }
  .featured-image-large img { min-height: 320px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
