/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: #222; background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== VARIABLES ========== */
:root {
  --navy: #1B3A5C;
  --gold: #C9A84C;
  --light: #F9F6F0;
  --dark: #1A1A1A;
  --gray: #666;
  --border: #E5E5E5;
}

/* ========== LANGUAGE ========== */
html.en  .zh { display: none !important; }
html.zh  .en { display: none !important; }

/* ========== TOP BAR ========== */
.top-bar { background: var(--navy); color: #fff; padding: 8px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-left a { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; transition: color .2s; }
.top-bar-left a:hover { color: var(--gold); }
.lang-switch { display: flex; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 3px 12px; cursor: pointer; font-size: 12px; font-family: 'Montserrat', sans-serif;
  transition: all .2s; font-weight: 500; }
.lang-btn:first-child { border-radius: 3px 0 0 3px; }
.lang-btn:last-child { border-radius: 0 3px 3px 0; border-left: none; }
.lang-btn.active { background: var(--gold); border-color: var(--gold); }

/* ========== NAVIGATION ========== */
.navbar { background: #fff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.nav-inner { display: flex; justify-content: space-between; align-items: stretch; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-sub { font-size: 10px; color: var(--gray); letter-spacing: .4px; }
.nav-menu { display: flex; align-items: stretch; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { padding: 0 15px; height: 100%; display: flex; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--dark); white-space: nowrap;
  transition: color .2s; cursor: pointer; gap: 4px; }
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--gold); }
.nav-link .fa-chevron-down { font-size: 9px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 185px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-top: 2px solid var(--gold); z-index: 100; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 18px; font-size: 13px; color: #444;
  transition: all .15s; border-bottom: 1px solid #f5f5f5; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--light); color: var(--gold); padding-left: 24px; }
.nav-cta { background: var(--gold) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: 3px; margin: auto 16px auto 8px;
  font-weight: 600 !important; font-size: 13px !important; height: auto !important; transition: background .2s; }
.nav-cta:hover { background: #b8943f !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 10px; margin-right: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ========== CONTAINER ========== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ========== HERO ========== */
.hero { position: relative; min-height: 92vh; max-height: 960px;
  background: linear-gradient(135deg, #0a1e33 0%, #1B3A5C 60%, #1e4a72 100%);
  display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0;
  background: url('photos/hero-bg.jpg') center/cover no-repeat; opacity: .18; }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,28,46,.9) 40%, rgba(11,28,46,.3)); }
.hero-content { position: relative; z-index: 1; color: #fff; max-width: 680px; padding: 60px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.4);
  color: var(--gold); padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.2; margin-bottom: 18px; font-weight: 700; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.9; }
.hero-sub span { color: rgba(255,255,255,.5); margin: 0 8px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); color: #fff; padding: 14px 30px; border-radius: 3px;
  font-weight: 600; font-size: 14px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-gold:hover { background: #b8943f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }
.btn-outline-white { background: transparent; color: #fff; padding: 14px 30px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 3px; font-weight: 600;
  font-size: 14px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); text-align: center; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; animation: bounce 2s infinite; }
.hero-scroll i { display: block; font-size: 16px; margin-top: 6px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ========== SEARCH ========== */
.search-section { background: #0d2137; padding: 36px 0; }
.search-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; }
.search-field label { display: block; color: rgba(255,255,255,.6); font-size: 11px;
  margin-bottom: 5px; letter-spacing: .5px; text-transform: uppercase; }
.search-field select, .search-field input { width: 100%; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: #fff;
  border-radius: 3px; font-size: 13px; font-family: 'Montserrat', sans-serif;
  appearance: none; outline: none; transition: border .2s; }
.search-field select:focus, .search-field input:focus { border-color: var(--gold); }
.search-field select option { background: #0d2137; color: #fff; }
.search-btn { background: var(--gold); color: #fff; border: none; padding: 10px 22px;
  border-radius: 3px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'Montserrat', sans-serif; transition: background .2s;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; height: 42px; }
.search-btn:hover { background: #b8943f; }

/* ========== SECTION HEADER ========== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 38px); color: var(--navy); }
.section-divider { width: 50px; height: 2px; background: var(--gold); margin: 14px auto 0; }

/* ========== LISTINGS ========== */
.listings-section { padding: 80px 0; background: var(--light); }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing-card { background: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; }
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.listing-img { height: 230px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1B3A5C 0%, #2a6496 100%);
  display: flex; align-items: center; justify-content: center; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.listing-card:hover .listing-img img { transform: scale(1.04); }
.listing-placeholder { color: rgba(255,255,255,.25); text-align: center; }
.listing-placeholder i { font-size: 52px; }
.listing-placeholder p { font-size: 12px; margin-top: 8px; }
.status-badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px;
  border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.status-active { background: #22c55e; color: #fff; }
.status-sold { background: #ef4444; color: #fff; }
.status-presale { background: var(--gold); color: #fff; }
.listing-body { padding: 20px 22px; }
.listing-price { color: var(--gold); font-size: 22px; font-weight: 700;
  margin-bottom: 5px; font-family: 'Playfair Display', serif; }
.listing-addr { color: var(--navy); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.listing-area { color: var(--gray); font-size: 12px; margin-bottom: 14px; }
.listing-meta { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.listing-meta span { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray); }
.listing-meta i { color: var(--navy); font-size: 12px; }
.view-all-wrap { text-align: center; margin-top: 44px; }
.btn-navy { background: var(--navy); color: #fff; padding: 14px 36px;
  border-radius: 3px; font-weight: 600; font-size: 14px; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px; }
.btn-navy:hover { background: #0d2137; transform: translateY(-2px); }

/* ========== ABOUT ========== */
.about-section { padding: 88px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 3/4; background: linear-gradient(160deg, #1B3A5C, #2a6496);
  border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-img-placeholder { color: rgba(255,255,255,.25); text-align: center; }
.about-img-placeholder i { font-size: 80px; }
.about-img-placeholder p { font-size: 13px; margin-top: 12px; }
.about-badge { position: absolute; bottom: -18px; right: -18px; width: 110px; height: 110px;
  background: var(--gold); border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; text-align: center;
  box-shadow: 0 6px 24px rgba(201,168,76,.45); }
.about-badge .num { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; line-height: 1; }
.about-badge .txt { font-size: 10px; font-family: 'Montserrat', sans-serif; font-weight: 500; line-height: 1.3; margin-top: 3px; }
.about-content .section-header { text-align: left; margin-bottom: 24px; }
.about-content .section-divider { margin-left: 0; }
.about-content p { color: var(--gray); line-height: 1.95; margin-bottom: 16px; font-size: 15px; }
.credentials { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.credential-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--navy); font-weight: 500; }
.credential-item i { color: var(--gold); font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.about-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ========== STATS ========== */
.stats-section { background: var(--navy); padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; color: #fff; }
.stat-circle { width: 130px; height: 130px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,.25); display: flex; flex-direction: column;
  align-items: center; justify-content: center; margin: 0 auto 18px;
  background: rgba(255,255,255,.04); position: relative; }
.stat-circle::after { content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--gold); border-bottom-color: transparent; border-left-color: transparent;
  transform: rotate(45deg); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700;
  color: var(--gold); line-height: 1; }
.stat-unit { font-size: 15px; color: var(--gold); font-weight: 600; display: inline; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; padding: 0 10px; }

/* ========== PRESALE CHEETAH ========== */
.presale-section { padding: 88px 0;
  background: linear-gradient(135deg, #0a1e33 0%, #1B3A5C 100%); position: relative; overflow: hidden; }
.presale-section::after { content: '🐆'; position: absolute; right: 3%; top: 50%;
  transform: translateY(-50%); font-size: 240px; opacity: .04; pointer-events: none; }
.presale-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.presale-text { color: #fff; }
.presale-text .section-label { color: var(--gold); }
.presale-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px; line-height: 1.2; }
.presale-text h2 .accent { color: var(--gold); }
.presale-text p { color: rgba(255,255,255,.72); line-height: 1.95; margin-bottom: 16px; font-size: 15px; }
.presale-features { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.presale-feature { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.82); font-size: 14px; }
.presale-feature i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.presale-cards { display: flex; flex-direction: column; gap: 16px; }
.presale-card { background: rgba(255,255,255,.07); border: 1px solid rgba(201,168,76,.2);
  border-left: 3px solid var(--gold); padding: 22px 24px; border-radius: 3px; transition: background .2s; }
.presale-card:hover { background: rgba(255,255,255,.1); }
.presale-card h4 { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.presale-card p { color: rgba(255,255,255,.65); font-size: 13px; margin: 0; line-height: 1.65; }

/* ========== RESOURCES ========== */
.resources-section { padding: 80px 0; background: var(--light); }
.resources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.resource-block { background: #fff; padding: 38px; border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.resource-block-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.resource-icon-wrap { width: 48px; height: 48px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 18px; flex-shrink: 0; }
.resource-block h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); }
.resource-block p { color: var(--gray); font-size: 14px; margin-bottom: 24px; line-height: 1.75; }
.resource-items { display: flex; flex-direction: column; gap: 10px; }
.resource-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 3px; cursor: pointer; transition: all .2s; color: var(--dark); }
.resource-item:hover { border-color: var(--gold); background: #fffbf0; }
.resource-item i { color: var(--gold); font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.resource-item span { font-size: 14px; font-weight: 500; }

/* ========== TESTIMONIALS ========== */
.testimonials-section { padding: 80px 0; background: #fff; }
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform .5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 16px; }
.testimonial-inner { max-width: 740px; margin: 0 auto; text-align: center;
  padding: 44px 40px; background: var(--light); border-radius: 4px; position: relative; }
.testimonial-inner::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 100px;
  color: var(--gold); opacity: .2; position: absolute; top: 0; left: 28px; line-height: 1.1; }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-text { font-size: 15px; color: #555; line-height: 1.95; margin-bottom: 26px; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 14px; }
.testimonial-role { color: var(--gold); font-size: 12px; margin-top: 3px; }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold);
  background: none; color: var(--gold); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all .2s; }
.carousel-btn:hover { background: var(--gold); color: #fff; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all .2s; }
.dot.active { background: var(--gold); transform: scale(1.2); }

/* ========== CONTACT ========== */
.contact-section { padding: 80px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); margin-bottom: 12px; }
.contact-info > p { color: var(--gray); font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon-wrap { width: 44px; height: 44px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 16px; flex-shrink: 0; }
.contact-detail label { display: block; font-size: 10px; color: var(--gold); font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.contact-detail span, .contact-detail a { font-size: 14px; color: var(--dark); font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }
.contact-form { background: #fff; padding: 40px; border-radius: 4px; box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11px; color: var(--gray); font-weight: 600;
  letter-spacing: .3px; margin-bottom: 5px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 3px; font-size: 14px;
  font-family: 'Montserrat', sans-serif; outline: none; transition: border .2s; background: #fafafa; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: #fff; }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; background: var(--gold); color: #fff; border: none;
  border-radius: 3px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'Montserrat', sans-serif; transition: all .2s; margin-top: 4px; }
.form-submit:hover { background: #b8943f; }

/* ========== FOOTER ========== */
.footer { background: #0f1e2d; color: rgba(255,255,255,.65); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-logo .logo-name { color: #fff; font-size: 17px; }
.footer-logo .logo-sub { color: rgba(255,255,255,.4); }
.footer-brand-text { font-size: 13px; margin-top: 16px; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6);
  font-size: 14px; transition: all .2s; }
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; width: 14px; }
.footer-contact-item a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.25); line-height: 1.7; max-width: 600px; }

/* ========== MLS STATUS BAR ========== */
.mls-bar { background: #0d2137; border-top: 2px solid var(--gold); padding: 10px 0;
  font-size: 13px; color: rgba(255,255,255,.7); }
.mls-bar .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mls-bar i { color: var(--gold); }
.mls-bar-link { margin-left: auto; color: var(--gold); font-weight: 600; font-size: 13px;
  white-space: nowrap; transition: opacity .2s; }
.mls-bar-link:hover { opacity: .75; }

/* ========== MORTGAGE CALCULATOR ========== */
.mortgage-section { padding: 80px 0; background: var(--light); }
.mortgage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mortgage-inputs { background: #fff; padding: 36px; border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: 11px; color: var(--gray); font-weight: 700;
  letter-spacing: .5px; margin-bottom: 5px; text-transform: uppercase; }
.input-prefix { display: flex; align-items: center; border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden; background: #fafafa; transition: border .2s; }
.input-prefix:focus-within { border-color: var(--gold); }
.input-prefix span { padding: 10px 12px; background: #f0f0ee; color: var(--gray); font-size: 13px;
  border-right: 1px solid var(--border); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.input-prefix input { border: none; padding: 10px 12px; font-size: 15px;
  font-family: 'Montserrat', sans-serif; outline: none; background: transparent; width: 100%; }
.input-prefix.pct { margin-left: 10px; }
.input-prefix.pct span { border-right: none; border-left: 1px solid var(--border); }
.input-prefix.pct input { text-align: right; width: 70px; }
.input-row { display: flex; }
.input-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 3px; font-size: 14px; font-family: 'Montserrat', sans-serif;
  outline: none; background: #fafafa; color: var(--dark); transition: border .2s; }
.input-group select:focus { border-color: var(--gold); }
.calculate-btn { width: 100%; padding: 14px; background: var(--gold); color: #fff; border: none;
  border-radius: 3px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'Montserrat', sans-serif; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.calculate-btn:hover { background: #b8943f; }
.mortgage-result { background: var(--navy); border-radius: 4px; padding: 36px; color: #fff; position: sticky; top: 90px; }
.result-label { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.result-amount { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 5px; }
.result-freq { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.result-breakdown { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.breakdown-item { display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: rgba(255,255,255,.7); }
.breakdown-item strong { color: #fff; font-size: 15px; }
.result-note { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.7; }
@media (max-width: 800px) { .mortgage-grid { grid-template-columns: 1fr; } .mortgage-result { position: static; } }

/* ========== FADE IN ANIMATION ========== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
section { scroll-margin-top: 72px; }

/* ========== LOADING PULSE ========== */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
  .search-grid { grid-template-columns: repeat(3, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 800px) {
  .about-grid, .presale-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .resources-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; bottom: -14px; width: 96px; height: 96px; }
  .about-badge .num { font-size: 26px; }
  .presale-section::after { display: none; }
  .contact-form { padding: 28px 20px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    box-shadow: 0 8px 24px rgba(0,0,0,.12); }
  .nav-menu.open { display: flex; }
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 13px 20px; border-bottom: 1px solid #f2f2f2; }
  .dropdown { position: static; box-shadow: none; border-top: none; background: #f9f9f9; min-width: auto; }
  .nav-cta { margin: 12px 20px 16px; width: calc(100% - 40px); justify-content: center; }
  .hamburger { display: flex; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .top-bar .container { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-circle { width: 110px; height: 110px; }
  .stat-num { font-size: 28px; }
}
