/* ==========================================================================
   EN PAGES — Page-Specific Styles (migrated from inline <style> blocks)
   Each page uses a body class for scoping: .page-contact, .page-services,
   .about-page, .page-insights, .properties-page
   ========================================================================== */

/* ==========================================================================
   SHARED EN COMPONENTS
   ========================================================================== */

/* Section Tag (used on about + services pages) */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(196,144,74,0.08);
  border: 1px solid rgba(196,144,74,0.2);
  padding: 5px 14px;
  border-radius: 4px;
}

/* CTA Inner (used on about + services + properties) */
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

/* Form Success Message — moved to style.css (shared EN+HE) */

/* ==========================================================================
   EN CONTACT PAGE (.page-contact)
   ========================================================================== */

/* Contact Page Hero — matching properties/services style */
.page-contact .page-hero { min-height: 50vh; display: flex; align-items: center; padding: 120px 0 60px; background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%); position: relative; overflow: hidden; }
.page-contact .page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(196,144,74,0.07) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(196,144,74,0.05) 0%, transparent 40%); }
.page-contact .page-hero-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(196,144,74,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196,144,74,0.05) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.page-contact .page-hero-content { text-align: center; }
.page-contact .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; line-height: 1.15; }
.page-contact .page-hero h1::before { display: none; }
.page-contact .page-hero h1 span { color: var(--accent-gold-light); }
.page-contact .page-hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.page-contact .header-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(196,144,74,.08); border: 1px solid rgba(196,144,74,.2); padding: .5rem 1.25rem; border-radius: var(--radius-full); font-size: .85rem; color: var(--text-muted); margin-top: 20px; }
.page-contact .badge-dot { width: 8px; height: 8px; background: var(--accent-gold); border-radius: 50%; animation: pulse 2s infinite; }
.page-contact .breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.page-contact .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.page-contact .breadcrumb a:hover { color: var(--accent-gold); }
.page-contact .breadcrumb-sep { color: rgba(255,255,255,0.3); }
.page-contact .breadcrumb-current { color: var(--accent-gold); }

/* Contact Methods */
.contact-methods { padding: 60px 0; background: var(--bg-secondary); }
.contact-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-method-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-decoration: none; color: inherit;
}
.contact-method-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(12,30,60,0.1); border-color: var(--accent-gold); }
.contact-method-icon { width: 52px; height: 52px; background: rgba(196,144,74,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.contact-method-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--accent-navy); }
.contact-method-value { font-size: 1.05rem; color: var(--accent-gold); font-weight: 600; }
.contact-method-desc { font-size: 0.9rem; color: var(--text-muted); }

/* Contact Main Section */
.contact-main { padding: 80px 0; background: var(--bg-primary); }
.contact-main-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--accent-navy); margin-bottom: 20px; }
.contact-info p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon { width: 40px; height: 40px; background: rgba(196,144,74,0.08); border: 1px solid rgba(196,144,74,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.contact-detail-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.contact-detail-value { font-size: 1rem; color: var(--accent-navy); font-weight: 600; }
.contact-detail-value a { color: var(--accent-navy); text-decoration: none; transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--accent-gold); }

/* Contact Form Wrapper */
.contact-form-wrap { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 40px; }
.contact-form-wrap h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--accent-navy); margin-bottom: 8px; }
.contact-form-wrap p.form-subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.contact-form-wrap .form-group { margin-bottom: 20px; }
.contact-form-wrap .form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; text-transform: none; letter-spacing: normal; }
.form-required { color: var(--accent-gold); }
.contact-form-wrap .form-input,
.contact-form-wrap .form-select,
.contact-form-wrap .form-textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-primary); background: var(--bg-primary); transition: border-color 0.2s, box-shadow 0.2s; outline: none; transform: none; }
.contact-form-wrap .form-input:focus,
.contact-form-wrap .form-select:focus,
.contact-form-wrap .form-textarea:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(196,144,74,0.12); transform: none; }
.contact-form-wrap .form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.form-checkbox input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }
.form-checkbox-label { font-size: 0.88rem; color: var(--text-muted); }
.form-checkbox-label a { color: var(--accent-gold); text-decoration: none; }
/* .btn-submit-full removed — replaced by .btn .btn-primary .btn-lg .btn-full */

/* Form success / error states (EN contact page) */
.contact-form-wrap .form-success,
.contact-form-wrap .form-error { border-radius: 12px; padding: 24px; text-align: center; }
.contact-form-wrap .form-success { background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.2); }
.contact-form-wrap .form-error { background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.2); }
.contact-form-wrap .success-icon { width: 48px; height: 48px; background: rgba(22,163,74,0.1); border: 2px solid #16A34A; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #16A34A; margin: 0 auto 16px; }
.contact-form-wrap .form-success h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--accent-navy); margin-bottom: 8px; }
.contact-form-wrap .form-success p,
.contact-form-wrap .form-error p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-form-wrap .form-error a { color: var(--accent-gold); }

/* Modal contact form styles */
.modal-contact-form .form-group input:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(196,144,74,0.12); }

/* FAQ Section */
.faq-section { padding: 80px 0; background: var(--bg-secondary); }
.faq-section h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--accent-navy); margin-bottom: 40px; text-align: center; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--accent-navy); transition: color 0.2s; background: none; border: none; width: 100%; text-align: start; font-family: inherit; font-size: inherit; }
.faq-question:hover { color: var(--accent-gold); }
.faq-question:active { opacity: 0.8; }
.faq-question:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: -2px; border-radius: 8px; }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; color: var(--accent-gold); }
.faq-answer { padding: 0 24px 20px; color: var(--text-secondary); line-height: 1.8; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-methods-grid { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ==========================================================================
   EN SERVICES PAGE (.page-services)
   ========================================================================== */

/* Services Hero Overrides (Light Theme) */
.page-services .page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-dark);
}
.page-services .page-hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(196,144,74,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196,144,74,0.05) 0%, transparent 40%);
}
.page-services .page-hero-pattern {
  background-image:
    linear-gradient(rgba(196,144,74,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,144,74,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-services .page-hero-content { text-align: center; }
.page-services .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; line-height: 1.15; }
.page-services .page-hero h1 span { color: var(--accent-gold-light); }
.page-services .page-hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.page-services .breadcrumb { display: inline-flex; color: var(--text-muted); }
.page-services .breadcrumb a { color: var(--text-muted); }
.page-services .breadcrumb a:hover { color: var(--accent-gold-text); }
.page-services .breadcrumb-sep { color: var(--bridge-gray); }
.page-services .breadcrumb-current { color: var(--accent-gold-text); }

/* Services Sticky Nav */
.services-nav { background: rgba(249,246,241,0.95); border-bottom: 1px solid var(--border-dark); position: sticky; top: 70px; z-index: 90; backdrop-filter: blur(12px); }
.services-nav-inner { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.services-nav-inner::-webkit-scrollbar { display: none; }
.services-nav-link { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 16px 24px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.services-nav-link:hover,
.services-nav-link.active { color: var(--accent-gold-text); border-bottom-color: var(--accent-gold); }

/* Service Sections */
.service-section { padding: 110px 0; position: relative; overflow: hidden; }
.service-section:nth-child(even) { background: var(--bg-secondary); }
.service-section:nth-child(odd) { background: var(--bg-primary); }
.service-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 50%, rgba(196,144,74,0.03) 0%, transparent 60%); pointer-events: none; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.service-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.service-icon-large { width: 280px; height: 280px; background: linear-gradient(135deg, rgba(196,144,74,0.08) 0%, rgba(196,144,74,0.03) 100%); border: 1px solid rgba(196,144,74,0.3); border-radius: 30px; display: flex; align-items: center; justify-content: center; font-size: 7rem; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(12,30,60,0.08); }
.service-stats-mini { position: absolute; bottom: -15px; right: -15px; display: flex; flex-direction: column; gap: 10px; }
.stat-mini { background: rgba(249,246,241,0.95); border: 1px solid rgba(196,144,74,0.25); border-radius: 10px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; backdrop-filter: blur(10px); box-shadow: 0 8px 20px rgba(12,30,60,0.08); }
.stat-mini-icon { font-size: 1.1rem; }
.stat-mini-value { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--accent-gold-text); }
.stat-mini-label { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-muted); }
.service-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-gold-text); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; background: rgba(196,144,74,0.08); border: 1px solid rgba(196,144,74,0.2); padding: 4px 12px; border-radius: 4px; }
.service-body h2 { font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--text-primary); margin-bottom: 8px; line-height: var(--lh-snug); }
.service-body h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 400; color: var(--text-muted); margin-bottom: 28px; }
.service-body p { font-family: var(--font-sans); font-size: 1rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }
.service-body p strong { color: var(--text-primary); font-weight: 700; }
.service-benefits { margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.benefit-item { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-secondary); }
.benefit-item .benefit-check { color: var(--accent-gold-text); font-weight: 900; font-size: 1rem; flex-shrink: 0; margin-top: 2px; width: auto; height: auto; background: none; border: none; border-radius: 0; display: inline; }
.page-services .section-header h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; }
.page-services .section-header p { font-family: var(--font-sans); font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* Process Section */
.process-section { padding: 110px 0; background: var(--bg-secondary); position: relative; overflow: hidden; }
.process-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(196,144,74,0.05) 0%, transparent 65%); pointer-events: none; }
.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-flow::before { content: ''; position: absolute; top: 50px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, rgba(196,144,74,0.5), rgba(196,144,74,0.2)); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.process-step-number { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(196,144,74,0.15), rgba(196,144,74,0.05)); border: 2px solid var(--accent-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; }
.process-step-icon { font-size: 1.5rem; line-height: 1; }
.process-step-bg { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(196,144,74,0.15); }
.process-step h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--accent-gold-text); margin-bottom: 10px; }
.process-step p { font-family: var(--font-sans); font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Services CTA Override */
.page-services .cta-section { padding: 100px 0; background: var(--accent-navy); text-align: center; }
.page-services .cta-section::before { background: radial-gradient(ellipse at center, rgba(196,144,74,0.07) 0%, transparent 65%); }
.page-services .cta-section h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: #FFFFFF; margin-bottom: 20px; }
.page-services .cta-section p { font-family: var(--font-sans); font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-bottom: 36px; line-height: 1.7; }

/* Services Responsive */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; gap: 50px; }
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-flow::before { display: none; }
}
@media (max-width: 768px) {
  .service-benefits { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .service-icon-large { width: 200px; height: 200px; font-size: 5rem; }
  .service-icon-large svg { width: 64px; height: 64px; }
  .stat-mini-icon svg { width: 16px; height: 16px; }
  .service-section { padding: 60px 0; }
}

/* ==========================================================================
   EN ABOUT PAGE (.about-page)
   ========================================================================== */

/* About Hero Overrides */
.about-page .page-hero { min-height: 50vh; background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%); display: flex; align-items: center; padding: 120px 0 60px; border-bottom: 1px solid var(--border-dark); }
.about-page .page-hero::before { background: radial-gradient(circle at 20% 50%, rgba(196,144,74,0.07) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(196,144,74,0.05) 0%, transparent 40%); }
.about-page .page-hero-pattern { background-image: linear-gradient(rgba(196,144,74,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196,144,74,0.05) 1px, transparent 1px); }
.about-page .page-hero-content { text-align: center; }
.about-page .breadcrumb { color: var(--text-muted); }
.about-page .breadcrumb a { color: var(--text-muted); }
.about-page .breadcrumb a:hover { color: var(--accent-gold-text); }
.about-page .breadcrumb-sep { color: var(--bridge-gray); }
.about-page .breadcrumb-current { color: var(--accent-gold-text); }
.about-page .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; line-height: 1.15; }
.about-page .page-hero h1 span { color: var(--accent-gold-light); }
.about-page .page-hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* Story Section */
.story-section { padding: 100px 0; background: var(--bg-primary); }
.story-grid { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.profile-photo-wrapper { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.profile-card { position: relative; width: 100%; }
.profile-card::before { content: ''; position: absolute; top: -8px; left: -8px; bottom: 8px; right: 8px; border: 1px solid rgba(196,144,74,0.4); border-radius: 14px; pointer-events: none; z-index: 0; }
.profile-photo { width: 100%; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; border: 1px solid rgba(196,144,74,0.55); box-shadow: 0 40px 80px rgba(12,30,60,0.18), 0 0 0 1px rgba(196,144,74,0.08) inset; position: relative; z-index: 1; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 2%; display: block; transition: transform 0.6s ease; }
.profile-photo:hover img { transform: scale(1.03); }
.profile-gold-line { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); margin: 20px auto 0; }
.profile-name-block { text-align: center; margin-top: 16px; padding: 0 8px; }
.profile-photo-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--accent-gold-text); display: block; margin-bottom: 4px; letter-spacing: 0.01em; }
.profile-photo-title { font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; display: block; }
.profile-badge { margin-top: 18px; background: rgba(196,144,74,0.08); border: 1px solid rgba(196,144,74,0.25); border-radius: 50px; padding: 7px 18px; font-family: var(--font-sans); font-size: 0.78rem; color: var(--accent-gold-text); display: inline-flex; align-items: center; gap: 6px; }
.story-content h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--text-primary); margin-bottom: 30px; line-height: var(--lh-heading); }
.story-content h2 span { color: var(--accent-gold-text); }
.story-paragraph { font-family: var(--font-sans); font-size: 1.05rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--bg-tertiary); }
.story-paragraph:last-of-type { border-bottom: none; }
.story-paragraph strong { color: var(--text-primary); }

/* Differentiators Section */
.differentiators-section { padding: 100px 0; background: var(--bg-secondary); }
.about-page .section-header h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; }
.about-page .section-header p { font-family: var(--font-sans); font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.diff-card { background: var(--bg-primary); border: 1px solid var(--border-dark); border-radius: 16px; padding: 36px 28px; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.diff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); opacity: 0; transition: opacity 0.3s; }
.diff-card:hover { transform: translateY(-6px); border-color: rgba(196,144,74,0.3); box-shadow: 0 20px 40px rgba(12,30,60,0.08); }
.diff-card:hover::before { opacity: 1; }
.diff-icon { font-size: 2.5rem; margin-bottom: 18px; display: block; }
.diff-card h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.diff-card p { font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* Timeline Section */
.timeline-section { padding: 100px 0; background: var(--bg-primary); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 2px; background: linear-gradient(180deg, transparent, rgba(196,144,74,0.4) 10%, rgba(196,144,74,0.4) 90%, transparent); }
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; margin-bottom: 50px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-content-right,
.timeline-content-left { padding: 28px 32px; background: var(--bg-primary); border: 1px solid var(--border-dark); border-radius: 14px; transition: border-color 0.3s, box-shadow 0.3s; }
.timeline-content-right:hover,
.timeline-content-left:hover { border-color: rgba(196,144,74,0.3); box-shadow: 0 10px 30px rgba(12,30,60,0.07); }
.timeline-item:nth-child(even) .timeline-content-right { opacity: 0; pointer-events: none; }
.timeline-item:nth-child(odd) .timeline-content-left { opacity: 0; pointer-events: none; }
.timeline-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.timeline-dot { width: 18px; height: 18px; background: var(--accent-gold); border-radius: 50%; border: 3px solid var(--bg-primary); box-shadow: 0 0 0 3px rgba(196,144,74,0.3); flex-shrink: 0; }
.timeline-year { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--accent-gold-text); white-space: nowrap; }
.timeline-emoji { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.timeline-content-right h3,
.timeline-content-left h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.timeline-content-right p,
.timeline-content-left p { font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* Values Section */
.values-section { padding: 100px 0; background: var(--bg-secondary); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { text-align: center; padding: 48px 32px; background: var(--bg-primary); border: 1px solid var(--border-dark); border-radius: 20px; transition: transform 0.3s, border-color 0.3s; position: relative; overflow: hidden; }
.value-card::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); opacity: 0; transition: opacity 0.3s; }
.value-card:hover { transform: translateY(-8px); border-color: rgba(196,144,74,0.25); }
.value-card:hover::after { opacity: 1; }
.value-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.value-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.value-card p { font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }

/* About CTA Overrides */
.about-page .cta-section { padding: 100px 0; background: var(--bg-darkest); text-align: center; }
.about-page .cta-section::before { background: radial-gradient(ellipse at center, rgba(196,144,74,0.07) 0%, transparent 65%); }
.about-page .cta-section h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--text-white); margin-bottom: 20px; }
.about-page .cta-section p { font-family: var(--font-sans); font-size: 1.05rem; color: rgba(255,255,255,0.6); margin-bottom: 36px; line-height: 1.7; }

/* About Responsive */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .profile-photo-wrapper { position: static; max-width: 320px; margin: 0 auto; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 48px 1fr; }
  .timeline-item:nth-child(even) .timeline-content-right,
  .timeline-item:nth-child(odd) .timeline-content-left { opacity: 1; pointer-events: auto; grid-column: 2; }
  .timeline-item:nth-child(odd) .timeline-content-left { display: none; }
  .timeline-item:nth-child(even) .timeline-content-right { display: none; }
  .timeline-center { grid-column: 1; }
}
@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .profile-photo-wrapper { max-width: 300px; }
  .story-section { padding: 60px 0; }
  .differentiators-section { padding: 60px 0; }
  .timeline-section { padding: 60px 0; }
  .values-section { padding: 60px 0; }
  .about-page .cta-section { padding: 60px 0; }
  .about-page .section-header { margin-bottom: 32px; }
  .diff-card { padding: 24px 20px; }
  .value-card { padding: 32px 20px; }
  .timeline-content-right,
  .timeline-content-left { padding: 20px; }
}

/* ==========================================================================
   EN INSIGHTS PAGE (.page-insights)
   ========================================================================== */

/* Insights Page Hero — matching properties/services hero style */
.page-insights .page-hero { min-height: 50vh; display: flex; align-items: center; padding: 120px 0 60px; background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%); position: relative; overflow: hidden; }
.page-insights .page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(196,144,74,0.07) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(196,144,74,0.05) 0%, transparent 40%); }
.page-insights .page-hero-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(196,144,74,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196,144,74,0.05) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.page-insights .page-hero-content { text-align: center; }
.page-insights .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; line-height: 1.15; }
.page-insights .page-hero h1::before { display: none; }
.page-insights .page-hero h1 span { color: var(--accent-gold-light); }
.page-insights .page-hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.page-insights .header-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(196,144,74,.08); border: 1px solid rgba(196,144,74,.2); padding: .5rem 1.25rem; border-radius: var(--radius-full); font-size: .85rem; color: var(--text-muted); margin-top: 20px; }
.page-insights .badge-dot { width: 8px; height: 8px; background: var(--accent-gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(196,144,74,.4); } 50% { box-shadow: 0 0 0 6px rgba(196,144,74,0); } }

/* Category Filter Bar */
.category-bar { background: var(--bg-secondary); border-bottom: 1px solid var(--border-dark); padding: 1rem 0; position: sticky; top: var(--navbar-height); z-index: 90; }
.category-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.cat-btn { padding: .4rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border-dark); background: transparent; color: var(--text-muted); font-family: var(--font-sans); font-size: .85rem; cursor: pointer; transition: all var(--transition-fast); }
.cat-btn:hover,
.cat-btn.active { background: rgba(196,144,74,.12); border-color: var(--accent-gold); color: var(--accent-gold); }
.cat-btn:active { background: rgba(196,144,74,.2); }
.cat-btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

/* Featured Article */
.featured-section { padding: 4rem 0 2rem; }
.featured-card { background: var(--bg-primary); border-radius: 20px; border: 1px solid var(--border-dark); box-shadow: 0 4px 24px rgba(0,0,0,.07); overflow: hidden; display: grid; grid-template-columns: 1fr 1.4fr; transition: border-color .3s, transform .3s; }
.featured-card:hover { border-color: rgba(196,144,74,.4); transform: translateY(-3px); }
.featured-image { background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-mid) 40%, var(--text-secondary) 70%, var(--accent-navy) 100%); display: flex; align-items: flex-end; justify-content: flex-start; font-size: 5rem; min-height: 280px; padding: 2rem; position: relative; overflow: hidden; }
.featured-image::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(196,144,74,0.06) 39px, rgba(196,144,74,0.06) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(196,144,74,0.06) 39px, rgba(196,144,74,0.06) 40px); pointer-events: none; }
.featured-image .thumb-emoji { font-size: 5rem; position: relative; z-index: 1; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5)); }
.featured-content { padding: 2.5rem; }
.featured-content h2 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; margin-bottom: 1rem; line-height: var(--lh-heading); }
.featured-content p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

/* Article Meta */
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.cat-tag { background: rgba(196,144,74,.15); color: var(--accent-gold); padding: .25rem .75rem; border-radius: var(--radius-full); font-size: .78rem; font-weight: 600; }
.article-date { font-size: .82rem; color: var(--text-muted); }
.read-time { font-size: .82rem; color: var(--text-muted); }
.read-more { color: var(--accent-gold); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; transition: gap .2s; }
.read-more:hover { gap: .75rem; }

/* Article Expand */
.article-expand { margin-top: 1.5rem; display: none; border-top: 1px solid var(--border-dark); padding-top: 1.5rem; }
.article-expand.open { display: block; }
.article-expand p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.9; font-size: .95rem; }
.article-expand h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin: 1.5rem 0 .75rem; }
.toggle-article { background: none; border: 1px solid var(--border-dark); color: var(--text-muted); padding: .5rem 1.25rem; border-radius: var(--radius-full); font-family: var(--font-sans); font-size: .85rem; cursor: pointer; transition: all .2s; margin-top: .5rem; }
.toggle-article:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* Articles Grid */
.articles-section { padding: 2rem 0 5rem; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.article-card { background: var(--bg-primary); border-radius: 16px; border: 1px solid var(--border-dark); box-shadow: 0 2px 12px rgba(0,0,0,.05); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.article-card:hover { border-color: rgba(196,144,74,.4); transform: translateY(-4px); }
.article-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; overflow: hidden; }
.article-thumb::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.04) 19px, rgba(255,255,255,0.04) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.04) 19px, rgba(255,255,255,0.04) 20px); pointer-events: none; z-index: 0; }
.article-thumb span { position: relative; z-index: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.article-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-body .article-meta { margin-bottom: .75rem; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.4; }
.article-body p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.article-body .read-more { margin-top: auto; }

/* Insights CTA */
.insights-cta { padding: 5rem 2rem; text-align: center; }
.insights-cta h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 1rem; }
.insights-cta p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

/* Insights Responsive */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 200px; }
}
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .page-insights .page-hero { padding: 80px 0 40px; min-height: auto; }
  .featured-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   EN PROPERTIES PAGE (.properties-page)
   ========================================================================== */

.properties-page .gold { color: var(--accent-gold); }

/* Properties Page Header */
.properties-page .page-header { padding: 140px 0 64px; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(196,144,74,0.08) 0%, transparent 70%), var(--bg-secondary); border-bottom: 1px solid var(--border-dark); position: relative; overflow: hidden; }
.properties-page .page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4904A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.properties-page .page-header .container { position: relative; }
.properties-page .breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.properties-page .breadcrumb a { color: var(--accent-gold); }
.properties-page .breadcrumb a:hover { text-decoration: underline; }
.properties-page .page-header h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--text-primary); margin-bottom: 16px; letter-spacing: var(--ls-tighter); }
.properties-page .page-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 540px; }
.properties-page .header-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 16px; background: rgba(196,144,74,0.1); border: 1px solid rgba(196,144,74,0.25); border-radius: 999px; font-size: 0.82rem; color: var(--accent-gold); font-family: var(--font-mono); }

/* Sticky Search Bar */
.search-bar-sticky { position: sticky; top: 72px; z-index: 900; background: var(--bg-primary); border-bottom: 1px solid var(--border-dark); padding: 14px 0; transition: box-shadow var(--transition-base); }
.search-bar-sticky.elevated { box-shadow: 0 4px 32px rgba(0,0,0,0.5); }
.search-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toggle-group { display: flex; background: var(--bg-tertiary); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.toggle-btn { padding: 9px 18px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all var(--transition-base); font-family: var(--font-sans); }
.toggle-btn.active { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: var(--accent-navy); }
.toggle-btn:not(.active):hover { color: var(--accent-gold); background: rgba(196,144,74,0.06); }
.toggle-btn:active { opacity: 0.8; }
.toggle-btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
.search-select { padding: 9px 14px; background: var(--bg-tertiary); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; font-family: var(--font-sans); outline: none; cursor: pointer; flex: 1; min-width: 140px; transition: border-color var(--transition-base); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.search-select:focus { border-color: var(--accent-gold); }
.search-select option { background: var(--bg-tertiary); }
.results-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; font-family: var(--font-mono); }
.results-count strong { color: var(--accent-gold); }

/* Properties Section */
.properties-section { padding: 48px 0 80px; }
.properties-page .properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

/* Skeleton Cards */
.property-skeleton { height: 420px; background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.property-skeleton::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent); animation: en-shimmer 1.6s infinite; }
@keyframes en-shimmer { from { left: -100%; } to { left: 200%; } }

/* Property Card (EN-specific class names) */
.properties-page .property-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.properties-page .property-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  z-index: 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.properties-page .property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(196,144,74,0.3);
}
.properties-page .property-card:hover::before { transform: scaleX(1); }

/* Card entrance animation */
@keyframes en-cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-animate-in { animation: en-cardFadeIn 0.5s cubic-bezier(0.4,0,0.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .card-animate-in { animation: none; }
  .properties-page .property-card, .properties-page .property-card::before { transition: none; }
}

.card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--accent-navy); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.properties-page .property-card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.card-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 144, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 144, 74, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.card-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,144,74,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.card-image-placeholder .placeholder-icon {
  position: relative;
  z-index: 1;
  opacity: 0.75;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.card-image-placeholder .placeholder-icon svg { width: 52px; height: 52px; }
.card-image-placeholder .placeholder-type {
  font-size: 0.7rem;
  color: rgba(196,144,74,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.25);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196,144,74,0.12);
}
.card-badge-deal {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}
.properties-page .badge-rent { background: rgba(12,30,60,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.properties-page .badge-sale { background: rgba(196,144,74,0.9); color: #1a1a1a; border: 1px solid rgba(196,144,74,0.4); }
.card-score {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 1;
}
.score-dot { width: 7px; height: 7px; border-radius: 50%; }
.score-high { background: #22C55E; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.score-med { background: var(--accent-gold); box-shadow: 0 0 6px rgba(196,144,74,0.4); }
.score-low { background: #EF4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.card-new-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--accent-gold);
  color: #1a1a1a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(196,144,74,0.3);
}
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-type-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); margin-bottom: 6px; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-location { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 5px; }
.card-stats { display: flex; gap: 8px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.card-stat {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  background: rgba(196,144,74,0.04);
  border-radius: var(--radius-sm);
}
.card-stat .stat-value { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); display: block; }
.card-stat .stat-label { font-size: 0.65rem; color: var(--text-muted); display: block; margin-top: 2px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-price { font-size: 0.95rem; font-weight: 700; color: var(--accent-gold); font-family: var(--font-mono); transition: color 0.25s ease, text-shadow 0.25s ease; }
.card-price small { font-size: 0.68rem; font-weight: 400; color: var(--text-muted); font-family: var(--font-sans); }
.card-cta { font-size: 0.8rem; font-weight: 600; color: var(--accent-gold); display: flex; align-items: center; gap: 4px; transition: gap var(--transition-base), color var(--transition-base); }
.properties-page .property-card:hover .card-price { color: var(--accent-gold-light, #D4A85C); text-shadow: 0 0 16px rgba(196,144,74,0.2); }
.properties-page .property-card:hover .card-cta { gap: 8px; color: var(--accent-gold-light, #D4A85C); }

/* Empty State */
.empty-state { text-align: center; padding: 80px 0; grid-column: 1 / -1; }
.empty-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }
.empty-state h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.empty-state p { color: var(--text-secondary); }
.empty-state a { color: var(--accent-gold); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); background: var(--bg-primary); border: 1px solid var(--border-light); transition: all var(--transition-base); cursor: pointer; font-family: var(--font-sans); }
.page-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.page-btn:active { transform: scale(0.95); }
.page-btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
.page-btn.active { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: var(--accent-navy); border-color: transparent; }
.page-btn.disabled { opacity: 0.3; pointer-events: none; }
.page-ellipsis { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.88rem; }

/* Property Modal */
.property-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.property-modal.open { display: flex; }
.properties-page .modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.properties-page .modal-content { position: relative; z-index: 1; background: var(--bg-primary); border: 1px solid var(--border-dark); border-radius: var(--radius-xl); width: 92%; max-width: 680px; max-height: 90vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-dark) transparent; animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.properties-page .modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); color: var(--text-primary); border-radius: 50%; font-size: 0.9rem; z-index: 2; transition: background var(--transition-base), transform var(--transition-base); border: 1px solid var(--border-light); }
.properties-page .modal-close:hover { background: rgba(196,144,74,0.2); transform: rotate(90deg); }
.properties-page .modal-close:active { transform: scale(0.9); }
.properties-page .modal-close:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
.modal-image { height: 260px; overflow: hidden; border-radius: var(--radius-xl) var(--radius-xl) 0 0; position: relative; background: var(--bg-tertiary); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-image .modal-img-placeholder {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--border-dark));
}
.modal-image .modal-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 144, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 144, 74, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.modal-image .modal-placeholder-icon { opacity: 0.5; position: relative; z-index: 1; }
.modal-image .modal-placeholder-icon svg { width: 72px; height: 72px; }
.modal-body { padding: 28px 28px 32px; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.modal-badge { padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.modal-badge-type { background: rgba(196,144,74,0.12); border: 1px solid rgba(196,144,74,0.3); color: var(--accent-gold); }
.modal-badge-deal { background: rgba(12,30,60,0.08); border: 1px solid rgba(12,30,60,0.2); color: var(--text-secondary); }
.modal-badge-sale { background: rgba(196,144,74,0.12); border: 1px solid rgba(196,144,74,0.3); color: var(--accent-gold); }
.properties-page .modal-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.modal-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-secondary); font-family: var(--font-mono); }
.modal-meta-item .meta-icon { font-size: 0.95rem; }
#modalDescription { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.modal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.modal-feature { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--text-secondary); }
.modal-feature-check { width: 18px; height: 18px; background: rgba(196,144,74,0.15); border: 1px solid rgba(196,144,74,0.3); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--accent-gold); flex-shrink: 0; }
.modal-contact-form { background: var(--bg-tertiary); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; }
.modal-contact-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.properties-page .form-group { margin-bottom: 12px; }
.properties-page .form-group input,
.properties-page .form-group select,
.properties-page .form-group textarea { width: 100%; padding: 10px 14px; background: var(--border-dark); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.88rem; outline: none; transition: border-color var(--transition-base); }
.properties-page .form-group input:focus,
.properties-page .form-group select:focus,
.properties-page .form-group textarea:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(196,144,74,0.12); }
.properties-page .form-group input::placeholder,
.properties-page .form-group textarea::placeholder { color: var(--text-muted); }
.modal-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.modal-share span { font-size: 0.82rem; color: var(--text-muted); }
.share-btn { padding: 8px 16px; min-height: 36px; background: var(--bg-tertiary); border: 1px solid var(--border-light); border-radius: 999px; font-size: 0.78rem; color: var(--text-secondary); transition: all var(--transition-base); cursor: pointer; }
.share-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(196,144,74,0.06); }
.share-btn:active { transform: scale(0.95); }
.share-btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

/* Contact CTA */
.properties-page .contact-cta-section { padding: 64px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-dark); }
.cta-box { background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%); border: 1px solid rgba(196,144,74,0.25); border-radius: var(--radius-xl); padding: 48px; text-align: center; max-width: 640px; margin: 0 auto; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; background: radial-gradient(circle, rgba(196,144,74,0.12) 0%, transparent 70%); }
.cta-box-icon { font-size: 2.5rem; margin-bottom: 20px; }
.cta-box h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-box p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; font-size: 0.95rem; }
.cta-box .btn { margin: 0 auto; min-width: 200px; }

/* Properties Footer (uses different class names than global) */
.properties-page .footer { background: var(--bg-primary); border-top: 1px solid var(--border-dark); padding: 64px 0 0; }
.properties-page .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.properties-page .footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.properties-page .footer-social { display: flex; gap: 10px; margin-top: 20px; }
.properties-page .social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-tertiary); border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-muted); transition: all var(--transition-base); }
.properties-page .social-link:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(196,144,74,0.08); }
.properties-page .footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); margin-bottom: 16px; }
.properties-page .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.properties-page .footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition-base); }
.properties-page .footer-col ul li a:hover { color: var(--accent-gold); }
.properties-page .footer-bottom { border-top: 1px solid var(--border-light); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.properties-page .footer-bottom-text { font-size: 0.78rem; color: var(--text-muted); }
.properties-page .footer-bottom-links { display: flex; gap: 16px; }
.properties-page .footer-bottom-links a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition-base); }
.properties-page .footer-bottom-links a:hover { color: var(--accent-gold); }

/* Properties Toast */
.toast { position: fixed; bottom: 28px; left: 28px; z-index: 3000; background: var(--bg-primary); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 14px 20px; font-size: 0.88rem; color: var(--text-primary); box-shadow: var(--shadow-md); transform: translateY(20px); opacity: 0; transition: all 0.3s ease; pointer-events: none; max-width: 320px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-color: rgba(79,163,112,0.4); }
.toast-error { border-color: rgba(224,92,92,0.4); }

/* Properties Button Overrides — promote btn-primary to gold tier in properties context */
.properties-page .btn-primary { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: var(--accent-navy); border-color: transparent; font-weight: 700; box-shadow: 0 2px 8px rgba(139, 105, 20, 0.25); }
.properties-page .btn-primary:hover { background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold)); box-shadow: 0 6px 20px rgba(139, 105, 20, 0.35); }
.properties-page .btn-primary:active { background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold-deep)); box-shadow: 0 1px 4px rgba(139, 105, 20, 0.2); }
.properties-page .btn-outline { background: transparent; color: var(--accent-gold-text); border: 1.5px solid rgba(196, 144, 74, 0.4); }
.properties-page .btn-outline:hover { background: rgba(196,144,74,0.08); border-color: var(--accent-gold); color: var(--accent-gold-text); }

/* Properties Responsive */
@media (max-width: 1024px) {
  .properties-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .search-controls { gap: 8px; }
  .search-select { min-width: 120px; }
  .properties-page .properties-grid { grid-template-columns: 1fr; }
  .card-image { aspect-ratio: 16/9; }
  .card-body { padding: 16px; }
  .card-stats { gap: 6px; }
  .card-stat { padding: 5px 3px; }
  .properties-page .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-box { padding: 32px 24px; }
  .modal-features { grid-template-columns: 1fr; }
  .modal-body { padding: 20px 20px 24px; }
}
@media (max-width: 480px) {
  .search-controls { flex-direction: column; align-items: stretch; }
  .toggle-group { width: 100%; }
  .toggle-btn { flex: 1; }
  .search-select { min-width: unset; }
  .card-title { font-size: 0.95rem; }
  .card-stat .stat-value { font-size: 0.82rem; }
  .card-price { font-size: 0.88rem; }
}

/* ==========================================================================
   EN PAGES — Maps & Utility Inline Style Replacements
   ========================================================================== */

/* Map container (contact page) */
.maps-container { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.map-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.map-frame { border: 0; border-radius: 12px; display: block; }

/* Language toggle — now handled by .mobile-lang-toggle in style.css */
