/* ══════════════════════════════════════════════════
   N&V Property — Professional Stylesheet (LivingInsider inspired)
   ══════════════════════════════════════════════════ */
:root {
  --navy: #10233f;
  --blue: #1267b3;
  --gold: #d9a441;
  --cream: #f7f2e8;
  --ink: #1b2430;
  --muted: #667085;
  --white: #fff;
  --line: #e7eaf0;
  --shadow: 0 12px 30px rgba(16, 35, 63, 0.08);
  --green: #06d6a0;
  --red: #ef476f;
  --gray-bg: #f8f9fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Prompt', sans-serif; color: var(--ink); background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.skip-link { position: absolute; top: -100%; left: 16px; background: var(--navy); color: white; padding: 12px; z-index: 100; }
.skip-link:focus { top: 0; }
.container { width: min(1160px, 92%); margin: auto; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); z-index: 50; border-bottom: 1px solid var(--line); }
.nav { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 10px; align-items: center; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; display: grid; place-items: center; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 16px; border-left: 1px solid var(--line); padding-left: 24px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 10px 20px; font-weight: 500; border: 0; cursor: pointer; transition: 0.2s; }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #0e5494; }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-light { background: white; color: var(--navy); }
.btn-text { color: var(--muted); font-weight: 500; }
.btn-text:hover { color: var(--blue); }
.full { width: 100%; }

/* ── HERO & SEARCH ── */
.hero { background: var(--gray-bg); padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 0 0 16px; }
.hero-text { font-size: 18px; color: var(--muted); }

.search-card { background: white; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.search-tabs { display: flex; border-bottom: 1px solid var(--line); }
.search-tab { flex: 1; padding: 16px; border: 0; background: #f1f3f6; font-size: 16px; font-weight: 600; cursor: pointer; color: var(--muted); transition: 0.2s; }
.search-tab.active { background: white; color: var(--blue); border-bottom: 2px solid var(--blue); }
.search-inputs { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-inputs label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; display: block; }
.search-inputs input, .search-inputs select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 15px; outline: none; }
.search-inputs input:focus, .search-inputs select:focus { border-color: var(--blue); }
.search-card .btn-primary { margin: 0 24px 24px; width: calc(100% - 48px); padding: 14px; font-size: 16px; border-radius: 8px; }

/* ── POPULAR ZONES ── */
.section { padding: 60px 0; }
.section.alt { background: var(--gray-bg); }
.section-head { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-head h2 { font-size: 32px; margin: 0; }
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zone-card { position: relative; border-radius: 16px; overflow: hidden; height: 240px; display: block; }
.zone-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.zone-card:hover img { transform: scale(1.05); }
.zone-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: white; }
.zone-overlay h3 { margin: 0 0 4px; font-size: 20px; }
.zone-overlay span { font-size: 13px; opacity: 0.8; }

/* ── PROPERTY GRID ── */
.filter-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: 0.2s; }
.chip.active { background: var(--navy); color: white; border-color: var(--navy); }
.sort-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort-select { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.property-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.property-img-wrap { position: relative; height: 200px; }
.property-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.property-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.badge-hot { background: var(--red); }
.badge-new { background: var(--green); }
.badge-sold { background: var(--muted); }
.btn-fav { position: absolute; top: 12px; right: 12px; background: white; border: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 18px; color: #ccc; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: 0.2s; }
.btn-fav.active { color: var(--red); }
.property-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.property-title { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--navy); }
.property-location { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.property-price { font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.property-features { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; color: var(--muted); font-size: 14px; }
.feature-item { display: flex; align-items: center; gap: 6px; }

/* ── SPLIT / SELL ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feature-list span { display: block; background: white; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); font-weight: 500; }

/* ── FEATURES ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.features article { padding: 40px 30px; background: white; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.features article:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.feature-icon { font-size: 48px; margin-bottom: 24px; line-height: 1; }
.features article b { display: block; font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.features article p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── CONTACT ── */
.contact { 
  background: linear-gradient(145deg, var(--navy) 0%, #1a2538 100%); 
  color: white; 
  border-radius: 32px; 
  padding: 60px 80px; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
  align-items: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.contact h2 { color: white; margin: 0 0 16px; font-size: 32px; }
.contact p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.6; }
.form-group { margin-bottom: 20px; }
.contact-form input, .contact-form select { 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.15); 
  color: white; 
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}
.contact-form input::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus, .contact-form select:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
  outline: none;
}
.contact-form select option { background: var(--navy); color: white; }
.contact-form .btn { 
  width: 100%; 
  padding: 14px; 
  font-size: 16px; 
  margin-top: 8px;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.contact-form .btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

/* ── FOOTER ── */
.footer { background: var(--ink); color: white; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin: 0 0 20px; color: var(--gold); }
.footer-col a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.footer-col a:hover { color: white; }
.social-links { display: flex; gap: 12px; }
.social-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 14px; text-align: center; }

/* ── FAB & MODAL ── */
.fab-line { position: fixed; bottom: 20px; right: 20px; background: #06c755; color: white; border-radius: 999px; padding: 12px 20px; display: flex; align-items: center; gap: 8px; font-weight: 600; box-shadow: 0 4px 12px rgba(6,199,85,0.3); z-index: 90; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.show { display: flex; }
.modal-card { background: white; padding: 30px; border-radius: 16px; width: 100%; max-width: 600px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; border: 0; background: #eee; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 20px; }

/* ── ANIMATIONS ── */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid, .split, .contact { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .property-grid, .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 20px; flex-direction: column; box-shadow: 0 10px 20px rgba(0,0,0,0.1); align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-actions { border-left: 0; padding-left: 0; margin-top: 10px; width: 100%; flex-direction: column; align-items: stretch; }
  .nav-toggle { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .filter-controls { align-items: flex-start; }
}

@media (max-width: 560px) {
  .property-grid, .features, .zone-grid, .footer-grid { grid-template-columns: 1fr; }
  .search-inputs { grid-template-columns: 1fr; }
  .fab-label { display: none; }
  .fab-line { padding: 12px; border-radius: 50%; }
}

/* ── FAQ Section ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item[open] { box-shadow: 0 4px 16px rgba(18,103,179,0.1); border-color: #c5d8f0; }
.faq-item summary { padding: 18px 24px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--navy); }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--blue); font-weight: 300; transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: #f0f6ff; }
.faq-answer { padding: 0 24px 20px; background: #fff; color: var(--muted); line-height: 1.8; }
.faq-answer ul { padding-left: 20px; margin: 10px 0; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer strong { color: var(--navy); }

/* ── NAV DROPDOWN ── */
.nav-item-dropdown { position: relative; display: inline-block; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-item-dropdown > a::after { content: '▾'; font-size: 14px; color: var(--muted); padding-top:2px; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; background: white; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 12px; padding: 12px 0; display: none; flex-direction: column; z-index: 100; border: 1px solid #f0f0f0; margin-top: 10px; }
.nav-item-dropdown:hover .nav-dropdown-menu { display: flex; animation: fadeUp 0.2s ease forwards; }
.nav-dropdown-menu a { padding: 10px 24px; color: var(--navy); font-weight: 400; text-decoration: none; transition: 0.2s; font-size: 15px; }
.nav-dropdown-menu a:hover { background: rgba(18,103,179,0.05); color: var(--blue); padding-left: 28px; }

@media (max-width: 900px) {
  .nav-item-dropdown { width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; background: transparent; display: none; margin-top: 0; }
  .nav-item-dropdown:hover .nav-dropdown-menu { display: flex; }
  .nav-item-dropdown > a::after { display: none; }
  .nav-dropdown-menu a { padding: 8px 12px; font-size: 14px; }
  .nav-dropdown-menu a:hover { background: transparent; padding-left: 12px; text-decoration: underline; }
}

/* ── BENTO GRID ── */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, auto); } }
.bento-card { position: relative; border-radius: 20px; overflow: hidden; background: #111; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; min-height: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.bento-card img.bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform 0.5s ease; z-index: 1; }
.bento-card:hover img.bg { transform: scale(1.05); }
.bento-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 80%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%); z-index: 2; }
.bento-content { position: relative; z-index: 3; }
.bento-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; color: white; letter-spacing: -0.3px; }
.bento-large h3 { font-size: 28px; }
.bento-card p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; font-weight: 300; }
.bento-card a.bento-link { color: #CAA53D; font-weight: 600; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.bento-large { min-height: 400px; height: 100%; }
.bento-right-col { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.bento-top-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .bento-top-row { grid-template-columns: 1fr 1fr; } }
.bento-num { position: absolute; top: 24px; left: 24px; z-index: 3; background: transparent; border: 1px solid rgba(255,255,255,0.4); padding: 4px 14px; border-radius: 30px; font-size: 12px; font-weight: 500; color: white; letter-spacing: 1px; }
.bento-icon { position: absolute; top: 24px; right: 24px; z-index: 3; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 1px solid rgba(255,255,255,0.25); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* ── CONTACT WIDGET MODAL ── */
.fab-widget-btn { position: fixed; bottom: 24px; right: 24px; width: 64px; height: 64px; border-radius: 32px; background: #eeb040; color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(238,176,64,0.4); cursor: pointer; z-index: 998; transition: transform 0.2s; border: none; font-weight: bold; }
.fab-widget-btn:hover { transform: scale(1.05); }
.fab-widget-btn svg { width: 28px; height: 28px; fill: currentColor; }
.contact-modal-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; display: none; }
.contact-modal-backdrop.show { display: block; }
.contact-modal { position: absolute; bottom: 95px; right: 24px; background: #fff; border-radius: 20px; width: 340px; max-width: calc(100vw - 48px); overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.2); transform: translateY(30px) scale(0.9); opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-origin: bottom right; pointer-events: none; }
.contact-modal-backdrop.show .contact-modal { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.contact-modal-header { background: #1a202c; color: white; padding: 24px; text-align: left; }
.contact-modal-header h3 { margin: 10px 0 5px; font-size: 20px; color: white; }
.contact-modal-header p { font-size: 14px; color: rgba(255,255,255,0.8); margin: 0; }
.contact-modal-logo { background: white; padding: 5px 15px; border-radius: 8px; display: inline-block; }
.contact-modal-logo img { height: 30px; }
.contact-modal-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.1); border: none; color: white; padding: 6px 12px; border-radius: 20px; cursor: pointer; font-size: 14px; }
.contact-modal-body { padding: 20px; background: #fafafa; }
.contact-modal-section-title { font-size: 12px; color: #888; margin-bottom: 10px; }
.contact-action-btn { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #eee; padding: 16px; border-radius: 12px; text-decoration: none; color: #333; margin-bottom: 10px; transition: border 0.2s; }
.contact-action-btn:hover { border-color: #ccc; }
.contact-action-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; color: #666; font-size: 18px; }
.contact-action-text { flex: 1; text-align: left; }
.contact-action-text strong { display: block; font-size: 15px; margin-bottom: 2px; color:#333; }
.contact-action-text span { font-size: 13px; color: #888; display:block; }
.contact-social-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; text-decoration: none; color: white; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.btn-line { background: #06C755; }
.btn-email { background: #fff5e6; color: #333; border: 1px solid #eee; }

/* ── LANGUAGE SWITCHER ── */
.lang-switch { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-right: 15px; margin-left: 10px; }
.lang-switch button { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; color: var(--muted); transition: 0.2s; padding: 0; outline: none; }
.lang-switch button:hover { color: var(--navy); }
.lang-switch button.active { color: var(--blue); font-weight: 700; }
.lang-sep { color: #ccc; font-size: 12px; }

/* Hide Google Translate Default UI completely */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon, .goog-te-gadget-simple, .goog-te-spinner-pos, .goog-logo-link { display: none !important; }
body { top: 0px !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { opacity: 0 !important; position: absolute !important; z-index: -1 !important; pointer-events: none !important; }