/*
 *  PropertyVisibles — Homepage Sections
 *  Source of truth: homepage-concept.html
 *  Only loaded on the homepage template
 */

/* ═══ HERO ═══ */
.hero {
  background: #141210;
  min-height: 600px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(230,126,34,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(230,126,34,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute; right: 6%; top: 10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,126,34,.06) 0%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{ transform: scale(1); opacity: 1 } 50%{ transform: scale(1.07); opacity: .65 } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(14,12,10,.75) 100%);
}

/* 2-column split layout */
.hero-split {
  position: relative; z-index: 2; width: 100%;
  max-width: 1280px; margin: 0 auto; padding: 2rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}
.hero-content { }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .62rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .9rem;
}
.hero-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--orange); flex-shrink: 0; }
h1.hero-title {
  font-size: 2.75rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
  color: #F0EDE8; margin-bottom: .9rem; max-width: 540px;
}
.hero-sub {
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 300;
  color: rgba(240,237,232,.55); line-height: 1.75; max-width: 400px; margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: .8rem; margin-bottom: 2.5rem; }
.btn-hero {
  border: none; padding: .72rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .74rem; font-weight: 500;
  cursor: pointer; border-radius: 3px; letter-spacing: .02em; transition: all .2s;
}
.btn-hero-primary { background: var(--orange); color: #fff !important; }
.btn-hero-primary:hover { background: var(--orange-dark); color: #fff !important; }
.btn-hero-ghost { background: transparent; color: rgba(240,237,232,.7) !important; border: 1px solid rgba(240,237,232,.2); }
.btn-hero-ghost:hover { border-color: rgba(240,237,232,.5); color: rgba(240,237,232,1) !important; }

/* Hero Stats */
.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(240,237,232,.08); }
.hs-num { font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; color: #F0EDE8; line-height: 1; }
.hs-num span { color: var(--orange); }
.hs-lbl { font-family: 'Inter', sans-serif; font-size: .6rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,237,232,.38); margin-top: .25rem; }

/* ═══ HERO SEARCH PANEL ═══ */
.hero-search-panel {
  position: relative;
}
.hsp-inner {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.hsp-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem; font-weight: 600; color: #F0EDE8;
  margin-bottom: 1.2rem;
}

/* ─── TYPE field: Checkbox-Grid verstecken, Select-Dropdown zeigen ─── */
/* Das JS in functions.php injiziert ein .pv-type-select */
.hsp-form-wrap .ert-field__es_type .es-field-row {
  display: none !important;
}
.hsp-form-wrap .pv-type-select {
  width: 100% !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  color: #F0EDE8 !important;
  padding: .65rem .9rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .78rem !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer !important;
  /* Pfeil-Icon */
  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='rgba(240,237,232,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 10px !important;
  padding-right: 2rem !important;
}
.hsp-form-wrap .pv-type-select:focus {
  border-color: var(--orange) !important;
  outline: none !important;
}
/* Option-Elemente dunkel (nur Webkit/Blink) */
.hsp-form-wrap .pv-type-select option {
  background: #1a1a1a;
  color: #F0EDE8;
}



/* Override ESTATIK form styles inside hero panel */
/* Force the form to be visible (ESTATIK hides it with display:none) */
.hsp-form-wrap { min-height: 50px; }
.hsp-form-wrap form.ert-search,
.hsp-form-wrap form.js-es-search {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  /* Estatik setzt inline style="width:80%; padding:30px 10%" — überschreiben */
  width: 100% !important;
}
/* Hide ESTATIK's own title (we render our own .hsp-title) */
.hsp-form-wrap .ert-search__title,
.hsp-form-wrap .es-search__title { display: none !important; }

/* Bedroom/Bathrooms Choice-Buttons — Labels sichtbar machen (Bug: weiß auf weiß) */
.hsp-form-wrap .ert-search-bedrooms .ert-option,
.hsp-form-wrap .ert-option,
.hsp-form-wrap [class*="ert-option"],
.hsp-form-wrap .es-radio--bordered span,
.hsp-form-wrap .es-radio--bordered {
  color: rgba(240,237,232,.75) !important;
}
.hsp-form-wrap .ert-search-bedrooms .ert-option.active,
.hsp-form-wrap .ert-search-bedrooms .ert-option:hover,
.hsp-form-wrap .ert-option.active,
.hsp-form-wrap .ert-option:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}

/* 1. ADVANCED SEARCH — ausblenden */
.hsp-form-wrap .js-es-search__collapse-link,
.hsp-form-wrap .es-search__collapse-link,
.hsp-form-wrap [class*="collapse-link"],
.hsp-form-wrap .js-es-search-nav__item--more,
.hsp-form-wrap .advanced-search-link,
.hsp-form-wrap [class*="advanced-search"] {
  display: none !important;
}

/* 2. RESET SEARCH — lesbare Farbe */
/* DOM zeigt: <input class="btn btn-light"> */
.hsp-form-wrap [data-type="reset"],
.hsp-form-wrap .ert-reset-btn,
.hsp-form-wrap button.reset,
.hsp-form-wrap [class*="reset"],
.hsp-form-wrap input.btn-light,
.hsp-form-wrap input.btn.btn-light {
  color: rgba(240,237,232,.85) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  background: rgba(255,255,255,.07) !important;
  border-radius: 8px !important;
}
.hsp-form-wrap [data-type="reset"]:hover,
.hsp-form-wrap .ert-reset-btn:hover,
.hsp-form-wrap [class*="reset"]:hover,
.hsp-form-wrap input.btn-light:hover {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.55) !important;
  color: #fff !important;
}

/* 3. SAVE SEARCH — ausblenden */
/* DOM zeigt: <input class="js-es-popup-link"> */
.hsp-form-wrap .es-save-search,
.hsp-form-wrap [class*="save-search"],
.hsp-form-wrap [class*="save_search"],
.hsp-form-wrap button[data-action*="save"],
.hsp-form-wrap .js-save-search,
.hsp-form-wrap .ert-save-btn,
.hsp-form-wrap .js-es-popup-link,
.hsp-form-wrap input.js-es-popup-link {
  display: none !important;
}




/* Field containers: stack vertically */
.hsp-form-wrap .ert-search .row,
.hsp-form-wrap .ert-search .es-search__wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: .6rem !important;
}
.hsp-form-wrap .ert-search-field,
.hsp-form-wrap .js-search-field-container {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Labels */
.hsp-form-wrap .ert-search-field label,
.hsp-form-wrap .es-field__label label,
.hsp-form-wrap .es-field__label {
  color: rgba(240,237,232,.55) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .62rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  margin-bottom: .25rem !important;
  display: block !important;
}

/* Select2 dropdowns — dark theme */
.hsp-form-wrap .select2-container .select2-selection {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  color: #F0EDE8 !important;
  min-height: 40px !important;
  padding: .35rem .5rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .78rem !important;
}
.hsp-form-wrap .select2-container .select2-selection:focus,
.hsp-form-wrap .select2-container--focus .select2-selection {
  border-color: var(--orange) !important;
  outline: none !important;
  box-shadow: none !important;
}
.hsp-form-wrap .select2-container .select2-selection__rendered,
.hsp-form-wrap .select2-container .select2-selection__placeholder {
  color: rgba(240,237,232,.45) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .78rem !important;
  line-height: 1.5 !important;
}
.hsp-form-wrap .select2-container .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.hsp-form-wrap .select2-container .select2-selection__arrow b {
  border-color: rgba(240,237,232,.4) transparent transparent transparent !important;
}

/* Native selects / inputs fallback */
.hsp-form-wrap select,
.hsp-form-wrap input[type="text"],
.hsp-form-wrap input[type="number"] {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  color: #F0EDE8 !important;
  padding: .65rem .9rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .78rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
}
.hsp-form-wrap select:focus,
.hsp-form-wrap input:focus {
  border-color: var(--orange) !important;
  outline: none !important;
}

/* Radio buttons (bedrooms) — dark theme */
/* Erhöhte Spezifität um Estatik-Plugin-CSS (#fff bg) zu überschreiben */
body .hsp-form-wrap .es-radio--bordered,
body .hsp-form-wrap label.es-radio--bordered,
body .hsp-form-wrap .es-radio .es-radio--bordered {
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 6px !important;
  color: #D4D0CB !important;
}
/* KRITISCH: Das innere label-Element hat white bg vom Plugin — transparent setzen */
body .hsp-form-wrap .es-radio--bordered label,
body .hsp-form-wrap .es-radio--bordered > label,
body .hsp-form-wrap .es-radio label,
body .hsp-form-wrap .ert-field__from_bedrooms label {
  background: transparent !important;
  color: #D4D0CB !important;
  cursor: pointer !important;
}
body .hsp-form-wrap .es-radio--bordered span,
body .hsp-form-wrap .ert-field__from_bedrooms span {
  background: transparent !important;
  color: #D4D0CB !important;
}
body .hsp-form-wrap .es-radio--bordered:hover,
body .hsp-form-wrap .es-radio--bordered.active,
body .hsp-form-wrap .es-radio--bordered.checked,
body .hsp-form-wrap .es-radio__input:checked ~ .es-radio--bordered,
body .hsp-form-wrap .es-radio__input:checked + .es-radio--bordered {
  background: rgba(212,98,10,.25) !important;
  border-color: var(--orange) !important;
  color: #F0EDE8 !important;
}
body .hsp-form-wrap .es-radio--bordered:hover label,
body .hsp-form-wrap .es-radio--bordered.active label,
body .hsp-form-wrap .es-radio__input:checked + .es-radio--bordered label {
  color: #F0EDE8 !important;
}



/* ─── BUTTON ROW: RESET + SEARCH nebeneinander ─── */
/* Wrapper um beide Buttons: flex-row */
.hsp-form-wrap .ert-search__buttons,
.hsp-form-wrap .es-search__buttons,
.hsp-form-wrap form > .row:last-child,
.hsp-form-wrap .js-search-buttons-wrap {
  /* Fallback falls Estatik einen eigenen wrapper hat */
}
/* Wir nutzen einen pseudo-row: beide Buttons direkt nebeneinander */
.hsp-form-wrap .ert-search .ert-search__button,
.hsp-form-wrap button[type="submit"],
.hsp-form-wrap input[type="submit"],
.hsp-form-wrap .es-btn-search {
  /* SEARCH — wie .btn-hero-primary */
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;          /* hero-button border-radius */
  padding: .72rem 1.75rem !important;     /* hero-button padding */
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .74rem !important;           /* hero-button font-size */
  font-weight: 500 !important;
  cursor: pointer !important;
  letter-spacing: .02em !important;
  transition: background .2s !important;
  width: auto !important;                 /* NICHT mehr 100% — nebeneinander */
  flex: 1 !important;
  height: auto !important;
  margin-top: 0 !important;
}
.hsp-form-wrap .ert-search .ert-search__button:hover,
.hsp-form-wrap button[type="submit"]:hover,
.hsp-form-wrap input[type="submit"]:hover {
  background: var(--orange-dark) !important;
  color: #fff !important;
}

/* RESET — wie .btn-hero-ghost */
.hsp-form-wrap [data-type="reset"],
.hsp-form-wrap .ert-reset-btn,
.hsp-form-wrap button.reset,
.hsp-form-wrap [class*="reset"],
.hsp-form-wrap input.btn-light,
.hsp-form-wrap input.btn.btn-light {
  background: transparent !important;
  color: rgba(240,237,232,.7) !important;
  border: 1px solid rgba(240,237,232,.2) !important;
  border-radius: 3px !important;
  padding: .72rem 1.75rem !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .74rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  letter-spacing: .02em !important;
  transition: all .2s !important;
  width: auto !important;
  flex: 1 !important;
  height: auto !important;
}
.hsp-form-wrap [data-type="reset"]:hover,
.hsp-form-wrap .ert-reset-btn:hover,
.hsp-form-wrap [class*="reset"]:hover,
.hsp-form-wrap input.btn-light:hover {
  border-color: rgba(240,237,232,.5) !important;
  color: rgba(240,237,232,1) !important;
  background: transparent !important;
}

/* ─── BUTTON ROW: .pv-btn-row (eigener Wrapper, kein Bootstrap) ─── */
.hsp-form-wrap .pv-btn-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: .8rem !important;
  margin-top: .75rem !important;
  width: 100% !important;
}
/* SEARCH: wächst nach links, füllt Platz */
.hsp-form-wrap .pv-btn-row input.btn-primary {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
/* RESET: nur so breit wie nötig */
.hsp-form-wrap .pv-btn-row input.btn-light {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* Altes .form-row Bootstrap-Grid: deaktivieren (falls JS noch nicht geladen) */
.hsp-form-wrap .form-row {
  display: none !important;
}











/* Min/max field pairs — side by side, kein Overflow */
/* Bootstrap .row hat margin-left/right: -15px — neutralisieren */
.hsp-form-wrap .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hsp-form-wrap .row > [class*="col-"],
.hsp-form-wrap .row > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.hsp-form-wrap .ert-search-field .row {
  display: flex !important;
  flex-direction: row !important;
  gap: .5rem !important;
  width: 100% !important;
}
/* min-width:0 verhindert, dass Flex-Kinder über ihren Container wachsen */
.hsp-form-wrap .ert-search-field .row > * {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
/* Select2 wird per JS mit fester px-Breite gesetzt — auf 100% erzwingen */
.hsp-form-wrap .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* Panel bleibt offen — KEIN overflow:hidden, das clippt den linken Rand */



/* Responsive: stack on mobile */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .hero-search-panel { order: 2; }
  .hsp-inner { max-width: 480px; }
}


/* ═══ SEARCH STRIP (legacy — search now in hero) ═══ */
.search-strip { display: none; }


/* ═══ PILLARS ═══ */
.pillars-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  grid-template-rows: 280px 190px;
  gap: 1rem;
}
.pillar {
  position: relative; overflow: hidden; border-radius: 5px;
  cursor: pointer; transition: box-shadow .3s;
}
.pillar:hover { box-shadow: var(--shadow-hover); }
.pillar:hover .pillar-bg { transform: scale(1.03); }
.pillar-bg {
  position: absolute; inset: 0;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.pillar-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,.82) 0%, rgba(14,12,10,.25) 60%, transparent 100%);
}
.pillar-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem 1.6rem;
}
.pillar-content-sm { padding: 1rem 1.2rem; }

/* New Development — large left */
.p-newdev { grid-column: 1; grid-row: 1/3; }
.p-newdev .pillar-bg { background: linear-gradient(155deg, #2A2420 0%, #1A1210 100%); }
.p-newdev .pillar-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(230,126,34,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,126,34,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Residential — top right */
.p-resi { grid-column: 2/4; grid-row: 1; }
.p-resi .pillar-bg { background: linear-gradient(135deg, #2C2825 0%, #1E1C1A 100%); }

/* Commercial — bottom mid */
.p-comm { grid-column: 2; grid-row: 2; }
.p-comm .pillar-bg { background: linear-gradient(135deg, #221E1C 0%, #181614 100%); }

/* Plots — bottom right */
.p-plots { grid-column: 3; grid-row: 2; }
.p-plots .pillar-bg { background: linear-gradient(135deg, #1E2018 0%, #141612 100%); }

/* Pillar Text */
.pillar-weight {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(240,237,232,.4); margin-bottom: .4rem;
}
.pillar-name {
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: -.025em; line-height: 1.15;
  color: #F0EDE8; margin-bottom: .5rem;
}
.pillar-name-sm { font-size: 1rem; margin-bottom: .35rem; }
.pillar-desc {
  font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 300;
  color: rgba(240,237,232,.5); line-height: 1.65;
  max-width: 320px; margin-bottom: 1rem;
}
.pillar-desc-sm { font-size: .68rem; margin-bottom: .7rem; max-width: 200px; }
.pillar-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 500;
  color: var(--orange); letter-spacing: .03em;
  transition: gap .2s;
}
.pillar:hover .pillar-cta { gap: .6rem; }
.pillar-cta-sm { font-size: .63rem; }

/* Count badge */
.pillar-count {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(14,12,10,.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(240,237,232,.08);
  padding: .3rem .7rem; border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 500;
  color: rgba(240,237,232,.7); letter-spacing: .06em;
}
.pillar-priority {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--orange);
  transition: width .4s ease;
}
.p-newdev .pillar-priority  { width: 42%; }
.p-resi .pillar-priority    { width: 35%; }
.p-comm .pillar-priority    { width: 20%; }
.p-plots .pillar-priority   { width: 20%; }

.pillar-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: .04; pointer-events: none;
}


/* ═══ FEATURED SECTION ═══ */
.featured-section { padding: 3rem 0; border-bottom: 1px solid var(--border); transition: border-color .3s; overflow: hidden; }
.featured-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding: 0 2rem;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.featured-arrows { display: flex; gap: .5rem; }
.feat-track-wrap {
  overflow: hidden;
  padding: 0 2rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* feat-track: Slick übernimmt das horizontale Scroll */
.feat-track {
  display: block; /* Slick will set flex internally */
}

/* Slick-Item: padding für den gap-Look zwischen Karten */
.pv-feat-slide {
  padding: 0 .5rem;
  box-sizing: border-box;
}
.pv-feat-slide .feat-card {
  width: 100%; /* Füllt den Slick-Slide komplett */
  min-width: 0;
}




/* ═══ INSIGHTS GRID ═══ */
.insights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}


/* ═══ AI PROPERTY FINDER ═══ */
.ai-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  transition: background .3s, border-color .3s;
}
.ai-section-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 4rem; align-items: start;
}

/* AI Intro (left) */
.ai-intro { padding-top: .5rem; }
.ai-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--orange-soft);
  border: 1px solid rgba(230,126,34,.2);
  border-radius: 20px; padding: .3rem .85rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 1.1rem;
  transition: background .3s, color .3s, border-color .3s;
}
.ai-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.75); }
}
.ai-title {
  font-size: 1.65rem; font-weight: 600;
  letter-spacing: -.03em; line-height: 1.2;
  color: var(--text-primary); margin-bottom: .75rem;
  transition: color .3s;
}
.ai-title span { color: var(--orange); }
.ai-desc {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 300;
  color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 1.5rem; transition: color .3s;
}
.ai-capabilities { display: flex; flex-direction: column; gap: .55rem; }
.ai-cap {
  display: flex; align-items: center; gap: .7rem;
  font-family: 'Inter', sans-serif;
  font-size: .73rem; color: var(--text-secondary);
  transition: color .3s;
}
.ai-cap-icon {
  width: 28px; height: 28px; border-radius: 5px;
  background: var(--bg-primary); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}

/* AI Panel (right) */
.ai-panel {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: background .3s, border-color .3s;
}
[data-theme="dark"] .ai-panel { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.ai-panel-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  transition: background .3s, border-color .3s;
}
.ai-avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, #c86a10 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.ai-panel-name { font-size: .78rem; font-weight: 600; color: var(--text-primary); transition: color .3s; }
.ai-panel-status {
  font-family: 'Inter', sans-serif; font-size: .62rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .35rem; transition: color .3s;
}
.ai-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #22C55E; }
.ai-panel-langs { margin-left: auto; display: flex; gap: .25rem; }
.ai-panel-lang { font-size: .72rem; line-height: 1; opacity: .6; }

/* Chat messages */
.ai-messages {
  height: 320px; overflow-y: auto;
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .85rem;
  scroll-behavior: smooth;
}
.ai-messages::-webkit-scrollbar { width: 3px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.msg { display: flex; gap: .6rem; align-items: flex-start; }
.msg.msg-user { flex-direction: row-reverse; }
.msg-avatar {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0; margin-top: .1rem;
}
.msg-ai .msg-avatar   { background: linear-gradient(135deg, var(--orange), #c86a10); }
.msg-user .msg-avatar { background: var(--bg-secondary); border: 1px solid var(--border); font-size: .65rem; }
.msg-bubble {
  max-width: 78%; padding: .65rem .9rem;
  border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: .73rem; line-height: 1.65;
  transition: background .3s, color .3s;
}
.msg-ai   .msg-bubble { background: var(--bg-secondary); color: var(--text-primary); border-radius: 4px 10px 10px 10px; }
.msg-user .msg-bubble { background: var(--orange); color: #fff; border-radius: 10px 4px 10px 10px; }

.msg-cards { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.msg-prop-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 6px; padding: .7rem .9rem;
  display: flex; align-items: center; gap: .85rem;
  cursor: pointer; transition: all .2s;
}
.msg-prop-card:hover { border-color: var(--orange); box-shadow: 0 2px 8px rgba(230,126,34,.1); }
.msg-prop-thumb {
  width: 52px; height: 44px; border-radius: 4px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.msg-prop-info { flex: 1; min-width: 0; }
.msg-prop-title {
  font-size: .72rem; font-weight: 500; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s;
}
.msg-prop-meta { font-size: .63rem; color: var(--text-muted); margin-top: .1rem; transition: color .3s; }
.msg-prop-price { font-size: .75rem; font-weight: 600; color: var(--orange); white-space: nowrap; }

/* Typing indicator */
.typing-indicator { display: flex; gap: 3px; align-items: center; padding: .2rem 0; }
.typing-indicator span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce .9s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .30s; }
@keyframes typing-bounce {
  0%,80%,100% { transform: translateY(0); opacity: .4; }
  40%         { transform: translateY(-5px); opacity: 1; }
}

/* Prompt chips */
.ai-chips {
  padding: .65rem 1.25rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  transition: background .3s, border-color .3s;
}
.ai-chip {
  font-family: 'Inter', sans-serif;
  font-size: .63rem; font-weight: 400;
  padding: .28rem .75rem; border-radius: 20px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.ai-chip:hover { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-text); }

/* Input row */
.ai-input-row {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem; align-items: center;
  background: var(--bg-primary);
  transition: background .3s, border-color .3s;
}
.ai-input {
  flex: 1; padding: .6rem .9rem;
  border: 1px solid var(--border); border-radius: 5px;
  background: var(--bg-secondary); color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: .74rem;
  outline: none; transition: all .3s;
}
.ai-input:focus { border-color: var(--orange); background: var(--bg-primary); }
.ai-input::placeholder { color: var(--text-muted); }
.ai-send-btn {
  width: 36px; height: 36px; border-radius: 5px;
  background: var(--orange); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; flex-shrink: 0;
  transition: background .2s, transform .1s;
}
.ai-send-btn:hover { background: var(--orange-dark); }
.ai-send-btn:active { transform: scale(.93); }
.ai-send-btn:disabled { background: var(--bg-secondary); color: var(--text-muted); cursor: not-allowed; }
.ai-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; color: var(--text-muted);
  text-align: center;
  padding: .4rem 1.25rem .65rem;
  background: var(--bg-primary);
  transition: background .3s, color .3s;
}


/* ═══ AREA LINKS ═══ */
.area-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem;
}
.area-chip {
  padding: .7rem 1rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg-card); cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: space-between;
}
.area-chip:hover { border-color: var(--orange); color: var(--orange-text); }
.area-chip:hover .area-arrow { color: var(--orange); }
.area-name { font-size: .76rem; font-weight: 500; color: var(--text-primary); transition: color .2s; }
.area-chip:hover .area-name { color: var(--orange-text); }
.area-count { font-family: 'Inter', sans-serif; font-size: .62rem; color: var(--text-muted); transition: color .2s; }
.area-arrow { font-size: .7rem; color: var(--text-muted); transition: color .2s; }


/* ═══ SERVICES GRID ═══ */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 1.25rem;
}


/* ═══ ABOUT US ═══ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 3rem; align-items: start;
}
.about-lang-tabs { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.lang-tab {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 2px;
  cursor: pointer; border: 1px solid var(--border);
  background: var(--bg-primary); color: var(--text-muted);
  transition: all .2s;
}
.lang-tab.active, .lang-tab:hover {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.about-text {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 300; line-height: 1.8;
  color: var(--text-secondary); transition: color .3s;
}
.about-text p + p { margin-top: .9rem; }
.about-meta {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .45rem;
  transition: border-color .3s;
}
.about-meta-item {
  font-family: 'Inter', sans-serif;
  font-size: .67rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .5rem;
  transition: color .3s;
}
.about-meta-item strong { color: var(--text-primary); font-weight: 500; transition: color .3s; }
.about-langs { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.about-portrait {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 5px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: background .3s, border-color .3s;
  position: relative;
}
.about-portrait-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem; opacity: .25;
}
.about-exp-badges {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-top: 1.5rem;
}
.exp-badge {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 4px; padding: 1rem 1.1rem;
  transition: background .3s, border-color .3s;
}
.exp-num {
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: -.03em; color: var(--text-primary);
  line-height: 1; transition: color .3s;
}
.exp-num span { color: var(--orange); }
.exp-lbl {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: var(--text-muted);
  margin-top: .25rem; letter-spacing: .04em;
  transition: color .3s;
}


/* ═══ NEWSLETTER ═══ */
.newsletter-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  transition: background .3s, border-color .3s;
}
.newsletter-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}
.nl-text { flex: 1; }
.nl-title {
  font-size: 1rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--text-primary); margin-bottom: .35rem; transition: color .3s;
}
.nl-sub { font-family: 'Inter', sans-serif; font-size: .75rem; color: var(--text-muted); transition: color .3s; }
.nl-form { display: flex; gap: 0; flex: 1; max-width: 560px; align-items: stretch; }
.nl-input {
  flex: 1; padding: 0 1.2rem;
  border: 1px solid var(--border); border-right: none;
  border-radius: 3px 0 0 3px;
  background: #fff; color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .82rem;
  outline: none; height: 43px !important; box-sizing: border-box;
  transition: background .3s, color .3s, border-color .3s;
  margin: 0;
}
[data-theme="dark"] .nl-input { background: #1a1a1a; }
.nl-input:focus { border-color: var(--orange); }
.nl-input::placeholder { color: var(--text-muted); }
.nl-btn {
  background: var(--orange); color: #fff !important; border: none;
  padding: 0 1.8rem; height: 43px !important; box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 500; cursor: pointer;
  border-radius: 0 3px 3px 0;
  transition: background .2s; white-space: nowrap;
  margin: 0;
}
.nl-btn:hover { background: var(--orange-dark); }


/* ═══ CONTACT / GET IN TOUCH ═══ */
.contact-section {
  position: relative; overflow: hidden;
  padding: 4rem 0;
  background: var(--bg-secondary);
  transition: background .3s;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(380px, 440px) 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form card (left) */
.contact-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: background .3s, border-color .3s;
}
.cfc-title {
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text-primary); margin-bottom: .4rem;
}
.cfc-sub {
  font-family: 'Inter', sans-serif;
  font-size: .75rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.cfc-form { display: flex; flex-direction: column; gap: .15rem; }
.cfc-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cfc-field { margin-bottom: .75rem; }
.cfc-label {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 500;
  color: var(--text-secondary); display: block;
  margin-bottom: .3rem;
}
.cfc-input, .cfc-select, .cfc-textarea {
  width: 100%; padding: .6rem .85rem;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg-secondary); color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .78rem;
  outline: none; box-sizing: border-box;
  transition: border-color .2s, background .3s;
}
.cfc-input:focus, .cfc-select:focus, .cfc-textarea:focus { border-color: var(--orange); }
.cfc-input::placeholder, .cfc-textarea::placeholder { color: var(--text-muted); }
.cfc-textarea { resize: none; min-height: 100px; }
.cfc-select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.cfc-submit {
  width: 100%; margin-top: .5rem;
  padding: .7rem 1.2rem;
}

/* Contact info (right) */
.contact-info-side { padding-top: .25rem; }
.cis-title {
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: -.025em; line-height: 1.25;
  color: var(--text-primary); margin-bottom: .6rem;
}
.cis-sub {
  font-family: 'Inter', sans-serif;
  font-size: .78rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 2rem;
}
.cis-details { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; }
.cis-row {
  display: flex; align-items: flex-start; gap: .75rem;
  font-family: 'Inter', sans-serif; font-size: .78rem;
  color: var(--text-secondary);
}
.cis-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.cis-row strong {
  color: var(--text-primary); font-weight: 500;
}
.cis-meta { font-size: .68rem; color: var(--text-muted); }

/* Map area with Google Maps */
.cis-map-area {
  position: relative;
  height: 280px; border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-primary);
}
.cis-map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: grayscale(.85) contrast(.95);
  transition: filter .4s;
}
.cis-map-area:hover .cis-map-iframe { filter: grayscale(0) contrast(1); }
.cis-map-labels {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.cis-map-label {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: .55rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); opacity: .6;
}


/* ═══ AGENTS GRID ═══ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}


/* ═══ AI FLOATING WIDGET ═══ */
.ai-fab { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9000; }
.ai-fab-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,126,34,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.ai-fab-btn:hover { background: var(--orange-dark); transform: scale(1.06); }
.ai-fab-btn.is-open { transform: scale(1); border-radius: 12px; }
.ai-fab-pulse {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #22C55E;
  border: 2px solid var(--bg-primary);
  transition: border-color .3s;
}
.ai-fab-tooltip {
  position: absolute; bottom: 68px; right: 0;
  background: var(--text-primary); color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 500;
  padding: .4rem .8rem; border-radius: 4px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateY(4px); transition: all .2s;
}
.ai-fab-btn:hover ~ .ai-fab-tooltip,
.ai-fab-btn:hover + .ai-fab-tooltip { opacity: 1; transform: translateY(0); }

/* Floating panel */
.ai-float-panel {
  position: absolute; bottom: 68px; right: 0;
  width: 380px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease;
}
[data-theme="dark"] .ai-float-panel { box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.ai-float-panel.is-open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

.ai-float-header {
  background: linear-gradient(135deg, #1A1510 0%, #2A1F10 100%);
  padding: 1rem 1.1rem .85rem;
  display: flex; align-items: center; gap: .75rem;
}
.ai-float-avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), #c86a10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.ai-float-name { font-size: .82rem; font-weight: 600; color: rgba(240,237,232,.9); }
.ai-float-sub {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: rgba(240,237,232,.45);
  margin-top: .1rem;
}
.ai-float-close {
  margin-left: auto; background: none; border: none;
  color: rgba(240,237,232,.4); font-size: 1.1rem;
  cursor: pointer; padding: .2rem; line-height: 1;
  transition: color .2s;
}
.ai-float-close:hover { color: rgba(240,237,232,.85); }


/* ═══ LAYOUT ANNOTATION (concept only, hidden in production) ═══ */
.annot, .layout-note { display: none; }

/* ═══════════════════════════════════════════════
   FULL-WIDTH SECTION BACKGROUNDS
   .wrap.section limits to 1280px — use ::before
   to bleed background color to viewport edges.
   ═══════════════════════════════════════════════ */
.wrap.section {
  position: relative;
  overflow: visible;
}
/* Sections that need full-width color bands */
.ai-section::before,
.section-pillars::before,
.section-areas::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
  pointer-events: none;
}
.ai-section::before {
  background: var(--bg-secondary);
}
.section-pillars::before {
  background: var(--bg-secondary);
}
.section-areas::before {
  background: var(--bg-secondary);
}

/* ═══════════════════════════════════════════════
   AI PROPERTY FINDER — Section Styles
   ═══════════════════════════════════════════════ */
.ai-section {
  padding: 4rem 0;
}

.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Left promo column ── */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .85rem;
  border-radius: 20px;
  border: 1px solid var(--orange);
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.ai-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}

.ai-title {
  font-size: 2rem; font-weight: 600;
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.ai-title span { color: var(--orange); }

.ai-desc {
  font-family: 'Inter', sans-serif;
  font-size: .82rem; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Capability list */
.ai-capabilities {
  display: flex; flex-direction: column; gap: .75rem;
}
.ai-cap {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Inter', sans-serif;
  font-size: .76rem; color: var(--text-secondary);
}
.ai-cap-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* ── Right panel (chat mockup) ── */
.ai-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ai-panel-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .75rem;
}
.ai-avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), #c86a10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-panel-name {
  font-size: .82rem; font-weight: 600; color: var(--text-primary);
}
.ai-panel-status {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .35rem;
}
.ai-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
}
.ai-panel-langs {
  margin-left: auto;
  font-size: .65rem;
  display: flex; gap: .25rem;
}
.ai-panel-lang { opacity: .6; }

/* Messages */
.ai-messages {
  padding: 1.25rem;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 1rem;
}
.msg {
  display: flex; gap: .65rem; align-items: flex-start;
}
.msg-avatar {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
}
.msg-ai .msg-avatar {
  background: linear-gradient(135deg, var(--orange), #c86a10);
}
.msg-user {
  flex-direction: row-reverse;
}
.msg-user .msg-avatar {
  background: var(--bg-secondary);
}
.msg-bubble {
  font-family: 'Inter', sans-serif;
  font-size: .74rem; line-height: 1.65;
  padding: .7rem 1rem;
  border-radius: 10px;
  max-width: 85%;
}
.msg-ai .msg-bubble {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-top-left-radius: 2px;
}
.msg-user .msg-bubble {
  background: var(--orange);
  color: #fff !important;
  border-top-right-radius: 2px;
}

/* Property cards inside messages */
.msg-cards { display: flex; flex-direction: column; gap: .5rem; margin-top: .65rem; }
.msg-prop-card {
  display: flex; gap: .65rem; align-items: center;
  padding: .55rem .75rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
}
.msg-prop-thumb {
  width: 36px; height: 36px; border-radius: 5px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.msg-prop-title {
  font-size: .7rem; font-weight: 500; color: var(--text-primary);
}

/* Input row */
.ai-panel-input {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem; align-items: center;
}
.ai-panel-input input {
  flex: 1; padding: .6rem .9rem;
  border: 1px solid var(--border); border-radius: 5px;
  background: var(--bg-secondary); color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: .74rem;
  outline: none;
}
.ai-panel-input input:focus { border-color: var(--orange); }
.ai-panel-input input::placeholder { color: var(--text-muted); }
.ai-panel-input button {
  width: 36px; height: 36px; border-radius: 5px;
  background: var(--orange); color: #fff !important; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; flex-shrink: 0;
}
.ai-panel-input button:hover { background: var(--orange-dark); }
.ai-panel-input button:disabled { background: var(--bg-secondary); color: var(--text-muted) !important; cursor: not-allowed; }

/* ═══════════════════════════════════════════════
   SERVICES — BEYOND LISTINGS
   Asymmetric: large left card + 3 stacked right
   ═══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Service card base */
.srv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.srv-card:hover { box-shadow: var(--shadow-hover); }

/* Large card spans full left column */
.srv-card--large {
  grid-row: 1 / -1;
}

/* Right column stacks */
.srv-right-col {
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* Card header */
.srv-header {
  padding: 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.srv-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  margin-bottom: .75rem;
}
.srv-title {
  font-size: .95rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .2rem;
}
.srv-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; color: var(--text-muted);
}

/* Card body */
.srv-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.srv-desc {
  font-family: 'Inter', sans-serif;
  font-size: .76rem; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* OUR PROCESS steps */
.srv-process-title {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.srv-steps {
  display: flex; flex-direction: column; gap: 0;
}
.srv-step {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.srv-step:last-child { border-bottom: none; }
.srv-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff !important;
  font-size: .7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.srv-step-title {
  font-size: .78rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .15rem;
}
.srv-step-desc {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; color: var(--text-secondary);
  line-height: 1.5;
}

/* Partner badge */
.srv-partner-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  background: var(--bg-secondary);
  font-family: 'Inter', sans-serif;
  font-size: .62rem; color: var(--text-secondary);
  margin-bottom: 1rem;
}
.srv-partner-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
}

/* CTA styles — matches .btn-cta token */
.srv-cta {
  display: inline-block;
  background: var(--orange); color: #fff !important;
  padding: .46rem 1.2rem;
  border-radius: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 500;
  transition: background .2s;
  margin-top: .75rem;
}
.srv-cta:hover { background: var(--orange-dark); }

.srv-cta-outline {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange) !important;
  padding: .55rem 1.2rem;
  border-radius: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 500;
  transition: all .2s;
}
.srv-cta-outline:hover {
  background: var(--orange); color: #fff !important;
}

.srv-cta-ghost {
  display: inline-block;
  color: var(--orange) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 500;
  transition: color .2s;
}
.srv-cta-ghost:hover { color: var(--orange-dark) !important; }

/* ═══════════════════════════════════════════════
   ABOUT US
   Photo left, text + contact right, stats row
   ═══════════════════════════════════════════════ */

/* Language tab switcher */
.about-lang-switch {
  display: flex; gap: .4rem;
}
.about-lang-btn {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 500;
  padding: .35rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  transition: all .2s;
}
.about-lang-btn--active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff !important;
}

/* Grid: photo left, text right */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

/* Portrait */
.about-portrait {
  width: 100%;
  min-height: 420px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-portrait-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

/* Text column */
.about-text {
  margin-bottom: 1.5rem;
}
.about-text p {
  font-family: 'Inter', sans-serif;
  font-size: .82rem; line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }

/* Language badges */
.about-lang-badges {
  display: flex; gap: .4rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.about-lang-badge {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 500;
  padding: .3rem .7rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Company contact block */
.about-company {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.about-company-name {
  font-size: .85rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .35rem;
}
.about-company-item {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .45rem;
}
.about-company-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Stats badges row */
.about-exp-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.exp-badge {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}
.exp-num {
  font-size: 1.6rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.exp-num span { color: var(--orange); }
.exp-lbl {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   MORTGAGE CALCULATOR
   Quick Estimate left + Plugin right
   ═══════════════════════════════════════════════ */
.mortgage-desc {
  font-family: 'Inter', sans-serif;
  font-size: .82rem; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.mortgage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Quick Estimate card */
.mortgage-quick {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
}
.mq-title {
  font-size: .95rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.mq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: .85rem;
}
.mq-field { display: flex; flex-direction: column; }
.mq-label {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: .3rem;
}
.mq-input {
  padding: .6rem .85rem;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg-secondary); color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem; font-weight: 500;
  outline: none; transition: border-color .2s;
}
.mq-input:focus { border-color: var(--orange); }

/* Result row */
.mq-result {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  margin-top: .5rem; margin-bottom: 1rem;
  border-radius: 5px;
  background: var(--orange-soft);
}
.mq-result-label {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; color: var(--text-secondary);
}
.mq-result-value {
  font-size: 1.15rem; font-weight: 700;
  color: var(--orange);
}

.mq-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; line-height: 1.5;
  color: var(--text-muted);
}

/* ─── Plugin area wrapper (right column) ─── */
.mortgage-plugin-area {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 420px;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  transition: background .3s, border-color .3s;
}

/* ═══════════════════════════════════════════════
   ESTATIK MORTGAGE CALCULATOR — Styleguide Overrides
   Klassen aus: wp-content/plugins/estatik-mortgage-calculator/
   ═══════════════════════════════════════════════ */

/* Global font reset */
.mortgage-plugin-area,
.mortgage-plugin-area * {
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-sizing: border-box;
}

/* Calculator wrapper */
.mortgage-plugin-area .es-mortgage-calculator {
  width: 100%;
}

/* ── Remove inner plugin border (double-border fix) ── */
/* .emc-calculator has its own border:1px solid #f0f0f0 + padding:25px — remove both */
.mortgage-plugin-area .emc-calculator {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
/* .emc-calculator form has margin: -25px to compensate for padding — reset that too */
.mortgage-plugin-area .emc-calculator form {
  margin: 0 !important;
}
/* .emc-field has margin:25px — reduce to reasonable internal spacing */
.mortgage-plugin-area .emc-field {
  margin: 0 0 1.1rem 0 !important;
}

/* ── Field label ── */
.mortgage-plugin-area .emc-field__label {
  font-family: 'Inter', sans-serif !important;
  font-size: .62rem !important;
  font-weight: 500 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  display: flex !important;
  align-items: center !important;
  gap: .35rem !important;
  margin-bottom: .4rem !important;
}

/* ── Info icon (ⓘ tooltip) ── */
.mortgage-plugin-area .emc-info svg {
  width: 13px !important; height: 13px !important;
}
.mortgage-plugin-area .emc-info svg g,
.mortgage-plugin-area .emc-info svg path,
.mortgage-plugin-area .emc-info svg circle {
  fill: var(--text-muted) !important;
}

/* ── Value display (the text input showing the number) ── */
.mortgage-plugin-area .emc-field--content input[type="text"],
.mortgage-plugin-area input[type="text"] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  width: auto !important;
  max-width: 140px !important;
}

/* ── Units text (year(s), %, per year) ── */
.mortgage-plugin-area .emc-field--content {
  display: flex !important;
  align-items: baseline !important;
  gap: .35rem !important;
  margin-bottom: .5rem !important;
}
.mortgage-plugin-area .emc-field--content span {
  font-family: 'Inter', sans-serif !important;
  font-size: .7rem !important;
  color: var(--text-muted) !important;
}

/* ── Range Slider track ── */
.mortgage-plugin-area input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 3px !important;
  background: var(--border) !important;
  border-radius: 2px !important;
  outline: none !important;
  cursor: pointer !important;
  margin: .4rem 0 1.25rem !important;
  border: none !important;
}

/* Filled part of slider (WebKit/Blink) */
.mortgage-plugin-area input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--orange) 0%,
    var(--orange) var(--slider-fill, 30%),
    var(--border) var(--slider-fill, 30%),
    var(--border) 100%
  ) !important;
  height: 3px !important;
  border-radius: 2px !important;
}

/* Slider thumb — triangle shape via clip-path */
.mortgage-plugin-area input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-top: 10px solid var(--orange) !important;
  background: transparent !important;
  margin-top: -3px !important;
  cursor: pointer !important;
}
.mortgage-plugin-area input[type="range"]::-moz-range-thumb {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--orange);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}
/* Firefox track */
.mortgage-plugin-area input[type="range"]::-moz-range-track {
  background: var(--border);
  height: 3px;
  border-radius: 2px;
}
.mortgage-plugin-area input[type="range"]::-moz-range-progress {
  background: var(--orange);
  height: 3px;
  border-radius: 2px;
}

/* ── Field wrapper spacing ── */
.mortgage-plugin-area .emc-field {
  margin-bottom: .85rem !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/* ── Calculate button ── */
.mortgage-plugin-area .emc-btn,
.mortgage-plugin-area .js-emc-submit {
  display: block !important;
  width: 100% !important;
  padding: .7rem 1.5rem !important;
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .78rem !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background .2s !important;
  text-decoration: none !important;
  margin-top: .5rem !important;
}
.mortgage-plugin-area .emc-btn:hover,
.mortgage-plugin-area .js-emc-submit:hover {
  background: var(--orange-dark) !important;
  color: #fff !important;
}

/* ── Submit wrapper: remove default border ── */
.mortgage-plugin-area .emc-field__submit {
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

/* ── Down payment % badge ── */
.mortgage-plugin-area .js-emc-down-payment-percent {
  font-family: 'Inter', sans-serif !important;
  font-size: .68rem !important;
  color: var(--text-muted) !important;
}

/* ── Result popup / overlay styles ── */
.mortgage-plugin-area .mfp-content {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ── Dark mode adjustments ── */
[data-theme="dark"] .mortgage-plugin-area {
  background: var(--bg-card);
}
[data-theme="dark"] .mortgage-plugin-area input[type="text"] {
  color: var(--text-primary) !important;
}

/* ═══════════════════════════════════════════════
   rangeslider.js plugin — Orange override
   The plugin replaces <input type=range> with
   .rangeslider > .rangeslider__fill + .rangeslider__handle
   ═══════════════════════════════════════════════ */

/* Slider track container */
.mortgage-plugin-area .rangeslider {
  background: var(--border) !important;
  box-shadow: none !important;
  height: 3px !important;
  border-radius: 2px !important;
  margin: .65rem 0 1.5rem !important;
  cursor: pointer !important;
}

/* Filled (left) portion of track */
.mortgage-plugin-area .rangeslider__fill {
  background: var(--orange) !important;
  box-shadow: none !important;
  border-radius: 2px !important;
  height: 100% !important;
}

/* Slider handle — orange downward triangle, blue plugin triangle eliminated */
.mortgage-plugin-area .rangeslider__handle {
  width: 0 !important;
  height: 0 !important;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-bottom: none !important;
  border-top: 11px solid var(--orange) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  top: -4px !important;
  cursor: grab !important;
  /* Reset any plugin inline styles for border-bottom */
  outline: none !important;
}
.mortgage-plugin-area .rangeslider__handle::after,
.mortgage-plugin-area .rangeslider__handle::before {
  display: none !important;
  content: none !important;
}
/* Hide SVG or inner elements the plugin might inject into the handle */
.mortgage-plugin-area .rangeslider__handle > * {
  display: none !important;
}
.mortgage-plugin-area .rangeslider__handle:active {
  cursor: grabbing !important;
}

