:root {
  --navy: #21649e;
  --teal: #21649e;
  --coral: #ff6044;
  --blue: #4775d1;
  --muted: #7c8493;
  --line: #e9ebef;
  --shadow: 0 8px 28px rgba(27, 38, 64, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--navy);
  background: #fff;
  font-family: "Nunito", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  width: max-content;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
}
.brand span { color: var(--coral); }
.logo-brand { display: flex; align-items: center; }
.logo-brand img { width: 178px; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.chevron { color: var(--navy); padding-left: 4px; }
.account-actions { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: var(--teal);
  padding: 12px 18px;
  box-shadow: 0 5px 12px rgba(53, 174, 178, .2);
}
.phone-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; border: 0; background: transparent; padding: 5px; cursor: pointer; }
.menu-button span { width: 24px; height: 2px; background: var(--navy); display: block; margin: 5px 0; }

main { width: min(1180px, calc(100% - 48px)); margin: auto; }

.company-intro {
  max-width: 930px;
  margin: 58px auto 0;
  padding: 12px 32px;
  text-align: center;
}
.company-intro h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  font-weight: 800;
}
.intro-text {
  margin: 0;
  color: #646c7c;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.director-profile {
  max-width: 930px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 46px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fb;
}
.director-image { overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.director-image img { width: 100%; aspect-ratio: 1 / .86; object-fit: cover; object-position: center; }
.director-label {
  margin: 0 0 7px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 800;
}
.director-content h2 { margin: 0; font-size: 29px; line-height: 1.2; }
.director-role { margin: 6px 0 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.director-content blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--teal);
  color: #525c6c;
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
}

.section-heading { text-align: center; padding: 58px 0 48px; }
.section-heading p, .subheading p, .overline {
  margin: 0 0 8px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
}
.section-heading h1 { margin: 0; font-size: 31px; line-height: 1.2; font-weight: 800; }

.featured-card {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 385px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-image, .card-image { position: relative; overflow: hidden; }
.featured-image img { height: 100%; object-fit: cover; }
.badges { position: absolute; left: 18px; top: 18px; display: flex; gap: 6px; }
.badge { color: #fff; padding: 9px 13px; font-size: 10px; font-weight: 700; box-shadow: 0 3px 8px rgba(0,0,0,.08); }
.badge-featured { background: var(--coral); }
.badge-sale { background: var(--teal); }

.featured-content { padding: 43px 38px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.featured-content h2 { margin: 0 0 13px; font-size: 29px; }
.address { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.address svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.property-facts { display: flex; align-items: center; gap: 27px; color: #5a6170; font-size: 12px; }
.property-facts span { display: inline-flex; align-items: center; gap: 7px; }
.property-facts svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
  color: #5a6170;
  font-size: 11px;
}
.amenity-list span { display: flex; align-items: center; gap: 8px; }
.amenity-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(33, 100, 158, .12);
}
.featured-footer { padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.featured-footer strong, .price { color: var(--blue); font-size: 22px; font-weight: 800; }
.featured-footer strong small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
.featured-footer a { font-size: 12px; font-weight: 800; color: var(--teal); }
.featured-footer a span { padding-left: 7px; font-size: 17px; }
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 3px;
  color: #fff !important;
  background: #25d366;
  font-size: 11px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.whatsapp-button:hover { background: #1fb659; transform: translateY(-2px); }
.whatsapp-button svg { width: 17px; height: 17px; fill: currentColor; }

.ad-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 32px 38px;
  border-radius: 6px;
}
.ad-banner-primary {
  margin-top: 38px;
  color: #fff;
  background: linear-gradient(120deg, #163f68, var(--navy));
  box-shadow: 0 10px 30px rgba(33, 100, 158, .2);
}
.ad-banner h2 { margin: 5px 0 6px; font-size: 22px; line-height: 1.3; }
.ad-banner p { margin: 0; color: inherit; opacity: .78; font-size: 13px; }
.ad-label { text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; opacity: .8; }
.ad-banner > a {
  flex: 0 0 auto;
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
  color: var(--navy);
}
.ad-banner > a span { padding-left: 7px; }
.ad-banner-secondary {
  margin: 0 0 100px;
  border: 1px solid #dce4ed;
  background: #f4f7fa;
}
.ad-banner-secondary .ad-label { color: var(--navy); }
.ad-banner-secondary .ad-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
}
.ad-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-banner-secondary > div:nth-child(2) { flex: 1; }
.ad-banner-secondary > a { color: #fff; background: var(--navy); }

.other-properties { padding: 92px 0 110px; }
.subheading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 24px; }
.subheading h2 { margin: 0; font-size: 27px; }
.subheading > span { color: var(--muted); font-size: 12px; }
.property-search {
  min-height: 56px;
  margin-bottom: 28px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce4ed;
  border-radius: 5px;
  background: #f8fafc;
}
.property-search svg { width: 19px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.property-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #27354a; font: inherit; font-size: 13px; }
.property-search input::placeholder { color: #9199a6; }
.property-search > span { color: var(--navy); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.search-empty { margin: 0; padding: 55px 0; color: var(--muted); text-align: center; font-size: 15px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.property-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(27, 38, 64, .14); }
.card-image { height: 250px; }
.card-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .card-image img { transform: scale(1.025); }
.card-content { padding: 22px 20px 20px; }
.card-content h3 { margin: 0 0 10px; font-size: 19px; }
.card-content .property-facts { margin: 19px 0 16px; }
.card-content .amenity-list { margin: 19px 0 16px; min-height: 44px; }
.card-footer {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.card-content .price { font-size: 18px; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 48px; }
.load-more {
  border: 0;
  color: #fff;
  background: var(--teal);
  padding: 15px 25px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(53, 174, 178, .24);
  transition: transform .2s ease, background .2s ease;
}
.load-more:hover { background: #299ca0; transform: translateY(-2px); }
.load-more span { padding-left: 10px; }
.load-more[hidden] { display: none; }

footer {
  min-height: 145px;
  padding: 36px max(24px, calc((100vw - 1180px) / 2));
  background: #000;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.footer-brand img { width: 165px; filter: brightness(0) invert(1); }
footer p { color: #b8bfce; font-size: 13px; }
footer > span { justify-self: end; color: #8d96aa; font-size: 11px; }
.footer-contact { text-align: center; }
.footer-contact a { color: #fff; font-size: 12px; }
.footer-contact p { margin: 7px 0 0; max-width: 370px; line-height: 1.5; }
.social-links { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social-links a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.social-links svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.social-links a:last-child svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links .instagram-dot { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
  .site-header { height: 76px; grid-template-columns: minmax(0, 1fr) auto; }
  .main-nav { display: none; }
  .phone-link { padding: 10px 13px; font-size: 12px; }
  .menu-button { display: block; }
  .site-header.menu-open .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 22px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.menu-open .main-nav a { width: 100%; padding: 11px 0; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { height: clamp(280px, 52vw, 380px); }
  .featured-content { gap: 30px; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .card-footer .whatsapp-button { width: 100%; }
  footer { padding-top: 46px; padding-bottom: 46px; }
}

@media (max-width: 680px) {
  .site-header, main { width: calc(100% - 20px); }
  .site-header { height: 62px; }
  .brand { font-size: 20px; }
  .logo-brand img { width: 112px; height: 38px; }
  .account-actions { gap: 7px; }
  .phone-link { background: transparent; color: var(--teal); box-shadow: none; padding: 5px; font-size: 0; }
  .phone-link svg { width: 18px; height: 18px; }
  .menu-button { padding: 5px 2px 5px 6px; }
  .menu-button span { width: 20px; }
  .site-header.menu-open .main-nav { top: 62px; }
  .company-intro { margin-top: 24px; padding: 6px 4px; }
  .company-intro h1 { margin-bottom: 8px; font-size: 23px; }
  .intro-text { font-size: 12px; line-height: 1.55; }
  .director-profile { grid-template-columns: 105px minmax(0, 1fr); gap: 14px; margin-top: 22px; padding: 12px; }
  .director-image { width: 100%; margin: 0; }
  .director-image img { aspect-ratio: .82 / 1; }
  .director-content { text-align: left; }
  .director-label { margin-bottom: 3px; font-size: 8px; }
  .director-content h2 { font-size: 18px; }
  .director-role { margin: 3px 0 8px; font-size: 10px; }
  .director-content blockquote { padding: 0 0 0 10px; border-top: 0; border-left: 2px solid var(--teal); font-size: 10px; line-height: 1.45; }
  .section-heading { padding: 30px 0 20px; }
  .section-heading p, .subheading p, .overline { margin-bottom: 4px; font-size: 8px; }
  .section-heading h1 { font-size: 22px; }
  .featured-card { min-height: 0; }
  .featured-image { height: 180px; }
  .badges { left: 9px; top: 9px; }
  .badge { padding: 5px 7px; font-size: 7px; }
  .featured-content { padding: 16px 14px; gap: 15px; }
  .featured-content h2 { margin-bottom: 6px; font-size: 18px; }
  .address { align-items: flex-start; font-size: 10px; line-height: 1.4; }
  .address svg { margin-top: 2px; }
  .amenity-list { gap: 7px 10px; font-size: 9px; }
  .amenity-list span { gap: 6px; }
  .amenity-list span::before { width: 5px; height: 5px; flex-basis: 5px; }
  .featured-footer { align-items: center; flex-direction: row; padding-top: 13px; gap: 10px; }
  .featured-footer strong, .price { font-size: 16px; }
  .featured-footer .whatsapp-button { width: auto; min-height: 36px; padding: 8px 10px; font-size: 9px; }
  .ad-banner { align-items: center; flex-direction: row; padding: 16px; gap: 12px; }
  .ad-banner h2 { margin: 3px 0; font-size: 14px; }
  .ad-banner p { font-size: 9px; }
  .ad-label { font-size: 7px; }
  .ad-banner > a { width: auto; min-height: 34px; padding: 9px 10px; text-align: center; font-size: 9px; }
  .ad-banner-secondary { margin-bottom: 75px; }
  .ad-banner-secondary .ad-icon { display: none; }
  .subheading { align-items: end; flex-direction: row; gap: 8px; padding-bottom: 14px; }
  .subheading h2 { font-size: 19px; }
  .subheading > span { font-size: 9px; }
  .property-search { min-height: 42px; margin-bottom: 14px; padding: 0 11px; gap: 8px; }
  .property-search svg { width: 15px; }
  .property-search input { font-size: 10px; }
  .property-search > span { display: none; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-image { height: 125px; min-height: 0; }
  .card-content { padding: 12px 10px; }
  .card-content h3 { margin-bottom: 5px; font-size: 14px; line-height: 1.25; }
  .card-content .amenity-list { min-height: 0; }
  .card-content .amenity-list { margin: 10px 0; grid-template-columns: 1fr; gap: 5px; font-size: 8px; }
  .card-footer { align-items: stretch; flex-direction: column; gap: 8px; padding-top: 9px; }
  .card-footer .whatsapp-button { width: 100%; min-height: 34px; padding: 7px; font-size: 9px; }
  .card-content .price { font-size: 13px; line-height: 1.3; }
  .other-properties { padding: 42px 0 50px; }
  .load-more-wrap { padding-top: 25px; }
  .load-more { width: auto; min-height: 38px; padding: 10px 16px; font-size: 10px; }
  footer { grid-template-columns: 1fr auto 1fr; text-align: left; justify-items: initial; gap: 12px; padding: 22px 12px; }
  .footer-brand img { width: 95px; }
  .footer-contact { text-align: center; }
  .footer-contact a { font-size: 9px; }
  .footer-contact p { max-width: 180px; margin: 4px auto 0; font-size: 8px; }
  .social-links { gap: 5px; margin-top: 8px; }
  .social-links a { width: 26px; height: 26px; }
  .social-links svg { width: 13px; height: 13px; }
  footer > span { align-self: center; font-size: 8px; }
  footer > span { justify-self: center; }
}

@media (max-width: 390px) {
  .director-profile { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .director-content blockquote { font-size: 9px; }
  .featured-image { height: 155px; }
  .featured-footer { align-items: stretch; flex-direction: column; }
  .featured-footer .whatsapp-button { width: 100%; }
  .ad-banner { align-items: flex-start; flex-direction: column; }
  .ad-banner > a { width: 100%; }
  .property-grid { grid-template-columns: 1fr; }
  .card-image { height: 180px; }
  .card-content .amenity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-footer { align-items: center; flex-direction: row; }
  .card-footer .whatsapp-button { width: auto; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
