/* ===== RESET & VARIABLES ===== */
:root {
  --navy: #1B365D;
  --navy-dark: #12243F;
  --navy-light: #2A4A7A;
  --gold: #C9A96E;
  --gold-dark: #A8883E;
  --gold-light: #E0CDA5;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-mid: #5A6069;
  --text-light: #8A919C;
  --border: #E2E4E8;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(27,54,93,.06);
  --shadow: 0 4px 20px rgba(27,54,93,.08);
  --shadow-lg: 0 12px 40px rgba(27,54,93,.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

a { color: var(--navy); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1140px; margin: 0 auto; padding: 0 20px;
}
.nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 500;
  color: var(--text); letter-spacing: .3px;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -12px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 180px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .25s;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 20px; font-size: .85rem; }
.dropdown-menu li a:hover { background: var(--cream); }

.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; font-size: .82rem !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: .3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: .25s; border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-gold { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); }
.btn-gold:hover { background: #967A33; border-color: #967A33; color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(168,136,62,.25); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: .95rem; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #0E1A2E 100%);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, rgba(201,169,110,.08) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 4px;
  background: rgba(201,169,110,.15); color: var(--gold-light);
  font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-features {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-feature { display: flex; align-items: center; gap: 12px; }
.hero-feature i { color: var(--gold); font-size: 1.1rem; }
.hero-feature span { color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500; }

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); }

.section-header { text-align: center; max-width: 580px; margin: 0 auto 52px; }
.section-label {
  display: inline-block; color: var(--gold-dark); font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-mid); font-size: .98rem; }

/* ===== CARD GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(201,169,110,.12), rgba(201,169,110,.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--gold-dark); font-size: 1.2rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-mid); font-size: .9rem; }

/* ===== SPLIT SECTION (About preview etc.) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-image {
  background: var(--cream); border-radius: var(--radius); min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; text-align: center; border: 2px dashed var(--border);
}
.split-image i { font-size: 3rem; color: var(--text-light); margin-bottom: 16px; }
.split-image p { color: var(--text-light); font-size: .88rem; font-style: italic; }
.split-text .section-label { margin-bottom: 10px; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--text-mid); font-size: .98rem; margin-bottom: 14px; }
.split-text p:last-of-type { margin-bottom: 0; }

.value-pills {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.value-pill {
  display: flex; align-items: flex-start; gap: 10px;
}
.value-pill i { color: var(--gold-dark); margin-top: 2px; }
.value-pill strong { display: block; font-size: .88rem; color: var(--navy); }
.value-pill span { display: block; font-size: .82rem; color: var(--text-mid); }

/* ===== WHY CHOOSE US (navy bg) ===== */
.why-card { text-align: center; padding: 28px 16px; }
.why-card i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.why-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { color: rgba(255,255,255,.55); font-size: .88rem; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 36px; max-width: 760px; margin: 0 auto; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 28px; text-align: center; transition: .3s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 700;
  object-fit: cover;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--gold-dark); font-weight: 600; font-size: .85rem; margin-bottom: 14px; font-family: 'Montserrat', sans-serif; }
.team-card p { color: var(--text-mid); font-size: .9rem; }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px;
}
.testimonial .stars { color: var(--gold); font-size: .9rem; margin-bottom: 14px; }
.testimonial p { color: var(--text-mid); font-style: italic; font-size: .92rem; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-author .initials {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .7rem;
}
.testimonial-author strong { font-size: .88rem; color: var(--navy); display: block; }
.testimonial-author span { font-size: .8rem; color: var(--text-light); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0; text-align: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content:''; position: absolute; top:-40%; right:-10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,.08), transparent 70%); border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.6); font-size: 1rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== PAGE BANNER ===== */
.page-banner {
  padding: 130px 0 52px; text-align: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
}
.page-banner h1 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.8rem,4vw,2.4rem); }
.page-banner p { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 500px; margin: 0 auto; }
.breadcrumb { margin-top: 16px; font-size: .82rem; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ===== SERVICE DETAIL CARDS ===== */
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: .3s;
}
.service-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow); }
.service-card .icon-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.service-card .icon-title i { font-size: 1.3rem; color: var(--gold-dark); }
.service-card p { color: var(--text-mid); font-size: .9rem; }
.service-card ul { color: var(--text-mid); font-size: .88rem; margin-top: 10px; padding-left: 18px; list-style: disc; }
.service-card li { margin-bottom: 4px; }

/* ===== LISTINGS ===== */
.listing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .3s;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.listing-img {
  height: 200px; background: linear-gradient(135deg, var(--cream), rgba(201,169,110,.08));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.listing-img i { font-size: 2.5rem; color: var(--text-light); opacity: .5; }
.listing-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 4px;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 600; color: var(--white); letter-spacing: .3px;
}
.listing-badge.available { background: #059669; }
.listing-badge.pending { background: var(--gold-dark); }
.listing-badge.sold { background: #DC2626; }
.listing-body { padding: 20px; }
.listing-price { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.listing-address { color: var(--text-mid); font-size: .88rem; margin-bottom: 14px; }
.listing-features { display: flex; gap: 16px; color: var(--text-mid); font-size: .82rem; }
.listing-features span { display: flex; align-items: center; gap: 5px; }
.listing-features i { color: var(--gold-dark); font-size: .85rem; }

/* ===== FILTER BAR ===== */
.filter-bar {
  background: var(--white); border-radius: var(--radius); padding: 20px 24px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: end;
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.filter-group { flex: 1; min-width: 140px; }
.filter-group label {
  display: block; font-family: 'Montserrat', sans-serif; font-size: .75rem;
  font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .3px;
}
.filter-group select, .filter-group input {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Open Sans', sans-serif; font-size: .88rem; color: var(--text); background: var(--white);
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,169,110,.15);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center; padding: 64px 32px; background: var(--cream);
  border-radius: var(--radius); border: 2px dashed var(--border);
}
.empty-state i { font-size: 2.5rem; color: var(--text-light); margin-bottom: 16px; }
.empty-state h3 { color: var(--text-mid); margin-bottom: 10px; }
.empty-state p { color: var(--text-light); font-size: .92rem; max-width: 380px; margin: 0 auto; }

/* ===== FORMS ===== */
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); max-width: 680px; margin: 0 auto;
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--text-mid); margin-bottom: 28px; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label {
  display: block; font-family: 'Montserrat', sans-serif; font-size: .82rem;
  font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Open Sans', sans-serif; font-size: .92rem; color: var(--text); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,169,110,.15);
}
.full-width { grid-column: 1 / -1; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 52px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 28px; }
.contact-item i { color: var(--gold-dark); font-size: 1.1rem; margin-top: 3px; }
.contact-item h4 { margin-bottom: 4px; font-size: .95rem; }
.contact-item p { color: var(--text-mid); font-size: .9rem; }

/* ===== TENANT INFO ===== */
.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: .3s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card i { font-size: 1.8rem; color: var(--gold-dark); margin-bottom: 14px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--text-mid); font-size: .9rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.6); padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-about img { height: 40px; margin-bottom: 16px; }
.footer-about p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6);
  transition: .25s;
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer h4 { color: var(--white); font-size: .92rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5); z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--white); border-radius: var(--radius); padding: 48px 40px;
  max-width: 440px; width: 90%; text-align: center; position: relative;
  transform: translateY(20px); transition: .3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.5rem; color: var(--text-light); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-content h3 { margin-bottom: 12px; }
.modal-content p { color: var(--text-mid); font-size: .95rem; }

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 20px; gap: 16px; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: .3s; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .mobile-toggle { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 16px; }

  .hero { padding: 110px 0 56px; }
  .hero-features { flex-direction: column; gap: 16px; }
  .section { padding: 56px 0; }

  .split, .grid-2, .grid-3, .grid-4, .team-grid, .info-grid,
  .contact-grid, .form-grid, .footer-grid, .value-pills {
    grid-template-columns: 1fr;
  }

  .filter-bar { flex-direction: column; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .form-card { padding: 28px 20px; }
  .footer-grid { gap: 28px; }
}
